curl.git
13 months ago[PATCH] libssh: when using IPv6 numerical address, add brackets
Daniel Stenberg [Fri, 8 Nov 2024 15:31:41 +0000 (16:31 +0100)]
[PATCH] libssh: when using IPv6 numerical address, add brackets

Reported-by: henrikjehgmti on github
Fixes #15522
Closes #15524

Gbp-Pq: Name libssh_when_using_IPv6_numerical_address_add_brackets.patch

13 months ago[PATCH] cmdline/ech.md: formatting cleanups
Daniel Stenberg [Thu, 7 Nov 2024 22:21:14 +0000 (23:21 +0100)]
[PATCH] cmdline/ech.md: formatting cleanups

Reported-by: Samuel Henrique
Fixes #15506
Closes #15517

Gbp-Pq: Name cmdline_ech_md_formatting_cleanups.patch

13 months ago[PATCH] netrc: support large file, longer lines, longer tokens
Daniel Stenberg [Thu, 7 Nov 2024 16:03:54 +0000 (17:03 +0100)]
[PATCH] netrc: support large file, longer lines, longer tokens

Regression from 3b43a05e000aa8f6 (shipped in 8.11.0)

Reported-by: Moritz
Fixes #15513
Closes #15514

Gbp-Pq: Name netrc_support_large_file_longer_lines_longer_tokens.patch

13 months ago[PATCH] setopt: fix CURLOPT_HTTP_CONTENT_DECODING
Jesus Malo Poyatos [Thu, 7 Nov 2024 13:00:53 +0000 (14:00 +0100)]
[PATCH] setopt: fix CURLOPT_HTTP_CONTENT_DECODING

Regression from 30da1f5974d34841b30c4f (shipped in 8.11.0)

Fixes #15511
Closes #15510

Gbp-Pq: Name setopt_fix_CURLOPT_HTTP_CONTENT_DECODING.patch

13 months ago[PATCH] duphandle: also init netrc
Daniel Stenberg [Thu, 7 Nov 2024 07:52:38 +0000 (08:52 +0100)]
[PATCH] duphandle: also init netrc

The netrc init was only done in the Curl_open, meaning that a duplicated
handle would not get inited properly.

Added test 2309 to verify. It does netrc auth with a duplicated handle.

Regression from 3b43a05e000aa8f65bda513f733a

Reported-by: tranzystorekk on github
Fixes #15496
Closes #15503

Gbp-Pq: Name duphandle_also_init_netrc.patch

13 months agoRemove curl's LDFLAGS from curl-config --static-libs
Simon McVittie [Tue, 22 Nov 2022 21:20:51 +0000 (21:20 +0000)]
Remove curl's LDFLAGS from curl-config --static-libs

On current Debian bookworm, the LDFLAGS consist of
-L/usr/lib/${triplet}/mit-krb5 originating from
`pkg-config --libs-only-L mit-krb5-gssapi` from krb5-multidev, plus
some linker options that are intended for curl itself rather than for
dependent packages. None of these are really desirable, and they create
divergence between architectures that would prevent libcurl-*-dev from
being Multi-Arch: same.

The -L flag is not really needed, for the same reason that -L@libdir@
isn't. curl Build-Depends on libkrb5-dev, which doesn't need a special
-L flag to find libgssapi_krb5, and the various libcurl-*-dev packages
have Suggests on libkrb5-dev rather than on krb5-multidev for static
linking.

The other options (currently `-Wl,-z-relro -Wl,-z,now`) are intended
for libcurl itself, and if dependent packages want those options then
they should set them from their own packaging.

Bug-Debian: https://bugs.debian.org/1024668
Forwarded: not-needed
Signed-off-by: Simon McVittie <smcv@collabora.com>
Gbp-Pq: Name Remove-curl-s-LDFLAGS-from-curl-config-static-libs.patch

13 months agoIn order to (partially) multi-arch-ify curl-config, remove all
Benjamin Moody [Wed, 27 Mar 2024 18:10:56 +0000 (18:10 +0000)]
In order to (partially) multi-arch-ify curl-config, remove all

Origin: vendor
Bug-Debian: https://bugs.debian.org/731998
Bug-Debian: https://bugs.debian.org/1075802
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2024-11-06

mention of @includedir@ and @libdir@ from the script.  On Debian, the actual
header and library directories are architecture-dependent, but will always be
in the C compiler's default search path, so -I and -L options are not
necessary (and may be harmful in multi-arch environments.)

Gbp-Pq: Name 11_omit-directories-from-config.patch

13 months agobuild: Divide mit-krb5-gssapi link flags between LDFLAGS and LIBS
Simon McVittie [Tue, 22 Nov 2022 20:43:41 +0000 (20:43 +0000)]
build: Divide mit-krb5-gssapi link flags between LDFLAGS and LIBS

From the comments nearby about not having --libs-only-L, it looks as
though the intention was to apply a split like this to all dependency
libraries where possible, and the only reason it was not done for
Kerberos is that krb5-config doesn't have that feature and pkg-config
was originally not supported here. For example, zlib, libssh and librtmp
all have their flags from pkg-config split in this way.

Now that pkg-config is supported here, we can do the intended split.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Gbp-Pq: Name build-Divide-mit-krb5-gssapi-link-flags-between-LDFLAGS-a.patch

13 months agoBuild with GnuTLS.
Steve McIntyre [Mon, 5 Aug 2024 10:51:56 +0000 (11:51 +0100)]
Build with GnuTLS.

Origin: vendor
Forwarded: not-needed
Last-Update: 2024-11-06

Gbp-Pq: Name ZZZgnutls-build.patch

13 months agocurl (8.11.0-1) unstable; urgency=medium
Samuel Henrique [Sat, 9 Nov 2024 17:34:22 +0000 (17:34 +0000)]
curl (8.11.0-1) unstable; urgency=medium

  [ Samuel Henrique ]
  * New upstream version 8.11.0
  * Fix CVE-2024-9681: HSTS subdomain overwrites parent cache entry
   (closes: #1086804)
  * Update patches for the new release
  * d/rules: Drop '--enable-websockets', it's enabled by default now
  * d/libcurl*.symbols: Remove HIDDEN@HIDDEN 7.16.2
  * Add 5 upstream patches to fix regressions:
    - cmdline_ech_md_formatting_cleanups.patch
    - duphandle_also_init_netrc.patch
    - libssh_when_using_IPv6_numerical_address_add_brackets.patch
    - netrc_support_large_file_longer_lines_longer_tokens.patch
    - setopt_fix_CURLOPT_HTTP_CONTENT_DECODING.patch

  [ Carlos Henrique Lima Melara ]
  * d/rules: add sed rule to make curl-config get CPPFLAGS in run-time
  * d/control: move libldap2-dev to Depends and use newer libldap-dev name
  * d/control: move libkrb5-dev from Suggests to Depends for -dev packages

[dgit import unpatched curl 8.11.0-1]

13 months agoImport curl_8.11.0.orig.tar.gz
Samuel Henrique [Sat, 9 Nov 2024 17:34:22 +0000 (17:34 +0000)]
Import curl_8.11.0.orig.tar.gz

[dgit import orig curl_8.11.0.orig.tar.gz]

13 months agoImport curl_8.11.0-1.debian.tar.xz
Samuel Henrique [Sat, 9 Nov 2024 17:34:22 +0000 (17:34 +0000)]
Import curl_8.11.0-1.debian.tar.xz

[dgit import tarball curl 8.11.0-1 curl_8.11.0-1.debian.tar.xz]