[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
[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
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
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
Build with GnuTLS.
Origin: vendor
Forwarded: not-needed
Last-Update: 2024-11-06
Gbp-Pq: Name ZZZgnutls-build.patch
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]