curl.git
10 months agoMerge version 8.11.1-1+rpi1 and 8.12.0+git20250209.89ed161+ds-1 to produce 8.12.0... trixie-staging archive/raspbian/8.12.0+git20250209.89ed161+ds-1+rpi1 raspbian/8.12.0+git20250209.89ed161+ds-1+rpi1
Raspbian automatic forward porter [Fri, 14 Feb 2025 06:54:47 +0000 (06:54 +0000)]
Merge version 8.11.1-1+rpi1 and 8.12.0+git20250209.89ed161+ds-1 to produce 8.12.0+git20250209.89ed161+ds-1+rpi1

10 months agoMerge curl (8.12.0+git20250209.89ed161+ds-1) import into refs/heads/workingbranch
Carlos Henrique Lima Melara [Sat, 8 Feb 2025 23:08:26 +0000 (00:08 +0100)]
Merge curl (8.12.0+git20250209.89ed161+ds-1) import into refs/heads/workingbranch

10 months agoOmit directories embedding arch info from curl-config
Benjamin Moody [Wed, 27 Mar 2024 18:10:56 +0000 (18:10 +0000)]
Omit directories embedding arch info from curl-config

In order to (partially) multi-arch-ify curl-config, remove all
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.)

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: 2025-02-05

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

10 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

10 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

10 months agocurl (8.12.0+git20250209.89ed161+ds-1) unstable; urgency=medium
Carlos Henrique Lima Melara [Sat, 8 Feb 2025 23:08:26 +0000 (00:08 +0100)]
curl (8.12.0+git20250209.89ed161+ds-1) unstable; urgency=medium

  [ Samuel Henrique ]
  * d/curl.NEWS: Update wcurl's list of features

  [ Carlos Henrique Lima Melara ]
  * New upstream version 8.12.0+git20250209.89ed161+ds.
  * d/copyright: update maintainer's copyright years.
  * d/libcurl*.symbols: add symbols introduced in 8.12.0.
  * d/patches/: rebase patches against 8.12.0
      - async_thread_avoid_closing_eventfd_twice.patch: drop, present in 8.12.0.
      - sectransp_free_certificate_on_error.patch: drop, present in 8.12.0.

[dgit import unpatched curl 8.12.0+git20250209.89ed161+ds-1]

10 months agoImport curl_8.12.0+git20250209.89ed161+ds.orig.tar.xz
Carlos Henrique Lima Melara [Sat, 8 Feb 2025 23:08:26 +0000 (00:08 +0100)]
Import curl_8.12.0+git20250209.89ed161+ds.orig.tar.xz

[dgit import orig curl_8.12.0+git20250209.89ed161+ds.orig.tar.xz]

10 months agoImport curl_8.12.0+git20250209.89ed161+ds-1.debian.tar.xz
Carlos Henrique Lima Melara [Sat, 8 Feb 2025 23:08:26 +0000 (00:08 +0100)]
Import curl_8.12.0+git20250209.89ed161+ds-1.debian.tar.xz

[dgit import tarball curl 8.12.0+git20250209.89ed161+ds-1 curl_8.12.0+git20250209.89ed161+ds-1.debian.tar.xz]

10 months agoMerge curl (8.11.1-1+rpi1) import into refs/heads/workingbranch
Peter Michael Green [Fri, 24 Jan 2025 04:39:00 +0000 (04:39 +0000)]
Merge curl (8.11.1-1+rpi1) import into refs/heads/workingbranch

10 months ago[PATCH] sectransp: free certificate on error
Christian Schmitz [Wed, 11 Dec 2024 10:48:20 +0000 (11:48 +0100)]
[PATCH] sectransp: free certificate on error

Otherwise the certificate memory was leaked.

Closes #15721

Gbp-Pq: Name sectransp_free_certificate_on_error.patch

10 months ago[PATCH] async-thread: avoid closing eventfd twice
Andy Pan [Thu, 12 Dec 2024 12:48:56 +0000 (12:48 +0000)]
[PATCH] async-thread: avoid closing eventfd twice

When employing eventfd for socketpair, there is only one file
descriptor. Closing that fd twice might result in fd corruption.
Thus, we should avoid closing the eventfd twice, following the
pattern in lib/multi.c.

Fixes #15725
Closes #15727
Reported-by: Christian Heusel
Gbp-Pq: Name async_thread_avoid_closing_eventfd_twice.patch

10 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

10 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

10 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

10 months agocurl (8.11.1-1+rpi1) trixie-staging; urgency=medium
Peter Michael Green [Fri, 24 Jan 2025 04:39:00 +0000 (04:39 +0000)]
curl (8.11.1-1+rpi1) trixie-staging; urgency=medium

  * Disable testsuite.

[dgit import unpatched curl 8.11.1-1+rpi1]

10 months agoImport curl_8.11.1-1+rpi1.debian.tar.xz
Peter Michael Green [Fri, 24 Jan 2025 04:39:00 +0000 (04:39 +0000)]
Import curl_8.11.1-1+rpi1.debian.tar.xz

[dgit import tarball curl 8.11.1-1+rpi1 curl_8.11.1-1+rpi1.debian.tar.xz]

12 months agoMerge curl (8.11.1-1) import into refs/heads/workingbranch
Samuel Henrique [Thu, 12 Dec 2024 21:38:04 +0000 (21:38 +0000)]
Merge curl (8.11.1-1) import into refs/heads/workingbranch

12 months agoImport curl_8.11.1.orig.tar.gz
Samuel Henrique [Thu, 12 Dec 2024 21:38:04 +0000 (21:38 +0000)]
Import curl_8.11.1.orig.tar.gz

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

12 months ago[PATCH] sectransp: free certificate on error
Christian Schmitz [Wed, 11 Dec 2024 10:48:20 +0000 (11:48 +0100)]
[PATCH] sectransp: free certificate on error

Otherwise the certificate memory was leaked.

Closes #15721

Gbp-Pq: Name sectransp_free_certificate_on_error.patch

12 months ago[PATCH] async-thread: avoid closing eventfd twice
Andy Pan [Thu, 12 Dec 2024 12:48:56 +0000 (12:48 +0000)]
[PATCH] async-thread: avoid closing eventfd twice

When employing eventfd for socketpair, there is only one file
descriptor. Closing that fd twice might result in fd corruption.
Thus, we should avoid closing the eventfd twice, following the
pattern in lib/multi.c.

Fixes #15725
Closes #15727
Reported-by: Christian Heusel
Gbp-Pq: Name async_thread_avoid_closing_eventfd_twice.patch

12 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

12 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

12 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

12 months agocurl (8.11.1-1) unstable; urgency=medium
Samuel Henrique [Thu, 12 Dec 2024 21:38:04 +0000 (21:38 +0000)]
curl (8.11.1-1) unstable; urgency=medium

  [ Samuel Henrique ]
  * New upstream version 8.11.1
    - Fix CVE-2024-11053: netrc and redirect credential leak (closes: #1089682)
  * Update wcurl to 2024.12.08
  * New patches:
    - async_thread_avoid_closing_eventfd_twice: Fix file descriptor issue with eventfd
    - sectransp_free_certificate_on_error: Fix memory leak
  * Refresh patches:
    - ZZZgnutls-build
    - build-Divide-mit-krb5-gssapi-link-flags-between-LDFLAGS-a
  * d/p/11_omit-directories-from-config: Update patch
  * Drop merged patches:
    - cmdline_ech_md_formatting_cleanups
    - duphandle_also_init_netrc
    - libssh_when_using_IPv6_numerical_address_add_brackets
    - netrc_support_large_file_longer_lines_longer_tokens
    - setopt_fix_CURLOPT_HTTP_CONTENT_DECODING
  * d/p/Remove-curl-s-LDFLAGS-from-curl-config-static-libs: Remove patch, not needed anymore

  [ Carlos Henrique Lima Melara ]
  * d/t/upstream-tests-*: test gnutls backend against installed curl
  * d/t/control: install curl on upstream-tests-gnutls and remove on openssl

[dgit import unpatched curl 8.11.1-1]

12 months agoImport curl_8.11.1-1.debian.tar.xz
Samuel Henrique [Thu, 12 Dec 2024 21:38:04 +0000 (21:38 +0000)]
Import curl_8.11.1-1.debian.tar.xz

[dgit import tarball curl 8.11.1-1 curl_8.11.1-1.debian.tar.xz]

13 months agoMerge curl (8.11.0-1) import into refs/heads/workingbranch
Samuel Henrique [Sat, 9 Nov 2024 17:34:22 +0000 (17:34 +0000)]
Merge curl (8.11.0-1) import into refs/heads/workingbranch

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]

14 months agoMerge curl (8.10.1-2) import into refs/heads/workingbranch
Samuel Henrique [Thu, 10 Oct 2024 22:22:24 +0000 (23:22 +0100)]
Merge curl (8.10.1-2) import into refs/heads/workingbranch

14 months ago[PATCH] gtls: Add P12 format support
Tatsuhiro Tsujikawa [Fri, 20 Sep 2024 09:04:46 +0000 (18:04 +0900)]
[PATCH] gtls: Add P12 format support

This change adds P12 format support for GnuTLS backend.

Closes #14991

Gbp-Pq: Name gtls_add_p12_format_support.patch

14 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

14 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-09-11

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

14 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

14 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-09-12

Gbp-Pq: Name ZZZgnutls-build.patch

14 months agocurl (8.10.1-2) unstable; urgency=medium
Samuel Henrique [Thu, 10 Oct 2024 22:22:24 +0000 (23:22 +0100)]
curl (8.10.1-2) unstable; urgency=medium

  * d/patches/gtls_add_p12_format_support.patch: New upstream patch for P12
    support

[dgit import unpatched curl 8.10.1-2]

14 months agoImport curl_8.10.1-2.debian.tar.xz
Samuel Henrique [Thu, 10 Oct 2024 22:22:24 +0000 (23:22 +0100)]
Import curl_8.10.1-2.debian.tar.xz

[dgit import tarball curl 8.10.1-2 curl_8.10.1-2.debian.tar.xz]

15 months agoMerge curl (8.10.1-1) import into refs/heads/workingbranch
Samuel Henrique [Wed, 18 Sep 2024 06:27:29 +0000 (07:27 +0100)]
Merge curl (8.10.1-1) import into refs/heads/workingbranch

15 months agoImport curl_8.10.1.orig.tar.gz
Samuel Henrique [Wed, 18 Sep 2024 06:27:29 +0000 (07:27 +0100)]
Import curl_8.10.1.orig.tar.gz

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

15 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

15 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-09-11

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

15 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

15 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-09-12

Gbp-Pq: Name ZZZgnutls-build.patch

15 months agocurl (8.10.1-1) unstable; urgency=medium
Samuel Henrique [Wed, 18 Sep 2024 06:27:29 +0000 (07:27 +0100)]
curl (8.10.1-1) unstable; urgency=medium

  * New upstream version 8.10.1
  * d/p/ZZZgnutls-build.patch: Update patch

[dgit import unpatched curl 8.10.1-1]

15 months agoImport curl_8.10.1-1.debian.tar.xz
Samuel Henrique [Wed, 18 Sep 2024 06:27:29 +0000 (07:27 +0100)]
Import curl_8.10.1-1.debian.tar.xz

[dgit import tarball curl 8.10.1-1 curl_8.10.1-1.debian.tar.xz]

16 months agoMerge curl (8.9.1-2) import into refs/heads/workingbranch
Carlos Henrique Lima Melara [Fri, 9 Aug 2024 22:47:58 +0000 (19:47 -0300)]
Merge curl (8.9.1-2) import into refs/heads/workingbranch

16 months ago[PATCH] sigpipe: init the struct so that first apply ignores
Daniel Stenberg [Sun, 4 Aug 2024 22:17:17 +0000 (00:17 +0200)]
[PATCH] sigpipe: init the struct so that first apply ignores

Initializes 'no_signal' to TRUE, so that a call to sigpipe_apply() after
init ignores the signal (unless CURLOPT_NOSIGNAL) is set.

I have read the existing code multiple times now and I think it gets the
initial state reversed this missing to ignore.

Regression from 17e6f06ea37136c36d27

Reported-by: Rasmus Thomsen
Fixes #14344
Closes #14390

Bug: https://github.com/curl/curl/issues/14344
Bug-Debian: https://bugs.debian.org/1077854
Origin: upstream, https://github.com/curl/curl/commit/3eec5afbd0b6377eca893c392569b2faf094d970
Last-Update: 2024-08-09

Gbp-Pq: Name ignore-SIGPIPE-after-init.patch

16 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

16 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-07-05

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

16 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

16 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-08-05

Gbp-Pq: Name ZZZgnutls-build.patch

16 months agocurl (8.9.1-2) unstable; urgency=medium
Carlos Henrique Lima Melara [Fri, 9 Aug 2024 22:47:58 +0000 (19:47 -0300)]
curl (8.9.1-2) unstable; urgency=medium

  [ Steve McIntyre ]
  * Improve the patch for the gnutls build. Instead of calling quilt
    during the binary package build, use autotools to do the work we
    need when calling configure etc. Closes: #1077650

  [ Carlos Henrique Lima Melara ]
  * debian/control: bump Standards-Version to 4.7.0, no changes needed.
  * debian/patches/ignore-SIGPIPE-after-init.patch: add new patch from
    upstream. (Closes: #1077854)
  * debian/tests/build-using-libcurl*: add tests to check if libcurl headers
    and pkgconf info are correct.

[dgit import unpatched curl 8.9.1-2]

16 months agoImport curl_8.9.1-2.debian.tar.xz
Carlos Henrique Lima Melara [Fri, 9 Aug 2024 22:47:58 +0000 (19:47 -0300)]
Import curl_8.9.1-2.debian.tar.xz

[dgit import tarball curl 8.9.1-2 curl_8.9.1-2.debian.tar.xz]

16 months agoImport curl_8.9.1.orig.tar.gz
Carlos Henrique Lima Melara [Wed, 31 Jul 2024 13:12:06 +0000 (22:12 +0900)]
Import curl_8.9.1.orig.tar.gz

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

17 months agoMerge curl (8.8.0-4) import into refs/heads/workingbranch
Samuel Henrique [Wed, 10 Jul 2024 21:36:04 +0000 (22:36 +0100)]
Merge curl (8.8.0-4) import into refs/heads/workingbranch

17 months agoBuild with GnuTLS.
Ramakrishnan Muthukrishnan [Thu, 3 Aug 2023 22:35:34 +0000 (18:35 -0400)]
Build with GnuTLS.

Origin: vendor
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2018-05-23

Gbp-Pq: Name 90_gnutls.patch

17 months ago[PATCH] x509asn1: fallback to dotted OID representation
Bo Anderson [Sun, 2 Jun 2024 13:18:20 +0000 (14:18 +0100)]
[PATCH] x509asn1: fallback to dotted OID representation

Reported-by: Luke Hamburg
Fixes #13845
Closes #13858

Origin: upstream, https://github.com/curl/curl/commit/9aa1d412b814a40868558da51a6ab28ce1384a58
Bug: https://github.com/curl/curl/issues/13845
Bug-Debian: https://bugs.debian.org/1075796
Last-Update: 2024-07-05

Gbp-Pq: Name fix-x509asn1-fallback-to-dotted-OID-representation.patch

17 months ago[PATCH] docs/Makefile.am: make curl-config.1 install
Daniel Stenberg [Wed, 22 May 2024 06:43:43 +0000 (08:43 +0200)]
[PATCH] docs/Makefile.am: make curl-config.1 install

on "make install" like it should

Follow-up to 60971d665b9b1df87082

Closes #13741

Gbp-Pq: Name docs_makefile_am_make_curl_config_1_install.patch

17 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

17 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-07-05

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

17 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

17 months agocurl (8.8.0-4) unstable; urgency=medium
Samuel Henrique [Wed, 10 Jul 2024 21:36:04 +0000 (22:36 +0100)]
curl (8.8.0-4) unstable; urgency=medium

  [ Adrian Bunk ]
  * Revert "Temporarily disable build-time tests on 32-bit non-x86"
  * Don't use python3-impacket on non-Rust architectures that lack
    python-cryptography

  [ Lev Lazinskiy ]
  * Use SALSA_CI_DPKG_BUILDPACKAGE_ARGS in pipeline

  [ Samuel Henrique ]
  * Update wcurl to 2024.07.10

[dgit import unpatched curl 8.8.0-4]

17 months agoImport curl_8.8.0-4.debian.tar.xz
Samuel Henrique [Wed, 10 Jul 2024 21:36:04 +0000 (22:36 +0100)]
Import curl_8.8.0-4.debian.tar.xz

[dgit import tarball curl 8.8.0-4 curl_8.8.0-4.debian.tar.xz]

18 months agoMerge curl (8.8.0-1) import into refs/heads/workingbranch
Samuel Henrique [Wed, 22 May 2024 21:22:28 +0000 (22:22 +0100)]
Merge curl (8.8.0-1) import into refs/heads/workingbranch

18 months agoImport curl_8.8.0.orig.tar.gz
Samuel Henrique [Wed, 22 May 2024 21:22:28 +0000 (22:22 +0100)]
Import curl_8.8.0.orig.tar.gz

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

18 months agoBuild with GnuTLS.
Ramakrishnan Muthukrishnan [Thu, 3 Aug 2023 22:35:34 +0000 (18:35 -0400)]
Build with GnuTLS.

Origin: vendor
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2018-05-23

Gbp-Pq: Name 90_gnutls.patch

18 months ago[PATCH] docs/Makefile.am: make curl-config.1 install
Daniel Stenberg [Wed, 22 May 2024 06:43:43 +0000 (08:43 +0200)]
[PATCH] docs/Makefile.am: make curl-config.1 install

on "make install" like it should

Follow-up to 60971d665b9b1df87082

Closes #13741

Gbp-Pq: Name docs_makefile_am_make_curl_config_1_install.patch

18 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

18 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: http://bugs.debian.org/731998
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2017-01-10

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

18 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

18 months agoWork around libtool --as-needed reordering bug
Alessandro Ghedini [Wed, 27 Mar 2024 18:10:56 +0000 (18:10 +0000)]
Work around libtool --as-needed reordering bug

Origin: vendor
Bug-Debian: http://bugs.debian.org/347650
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2016-08-03

Gbp-Pq: Name 04_workaround_as_needed_bug.patch

18 months agocurl (8.8.0-1) unstable; urgency=medium
Samuel Henrique [Wed, 22 May 2024 21:22:28 +0000 (22:22 +0100)]
curl (8.8.0-1) unstable; urgency=medium

  * New upstream version 8.8.0
  * Refresh patches
  * Revert "Temporarily disable LDAP support on 32-bit non-x86"
  * d/patches: Drop merged patches
  * d/p/docs_makefile...: Upstream patch to fix curl-config regression
  * d/libcurl*.symbols: Add new symbol curl_multi_waitfds

[dgit import unpatched curl 8.8.0-1]

18 months agoImport curl_8.8.0-1.debian.tar.xz
Samuel Henrique [Wed, 22 May 2024 21:22:28 +0000 (22:22 +0100)]
Import curl_8.8.0-1.debian.tar.xz

[dgit import tarball curl 8.8.0-1 curl_8.8.0-1.debian.tar.xz]

19 months agoMerge curl (8.7.1-5) import into refs/heads/workingbranch
Samuel Henrique [Mon, 29 Apr 2024 17:28:54 +0000 (18:28 +0100)]
Merge curl (8.7.1-5) import into refs/heads/workingbranch

19 months agoBuild with GnuTLS.
Ramakrishnan Muthukrishnan [Thu, 3 Aug 2023 22:35:34 +0000 (18:35 -0400)]
Build with GnuTLS.

Origin: vendor
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2018-05-23

Gbp-Pq: Name 90_gnutls.patch

19 months ago[PATCH] content_encoding: brotli and others, pass through 0-length writes
Stefan Eissing [Thu, 28 Mar 2024 10:08:15 +0000 (11:08 +0100)]
[PATCH] content_encoding: brotli and others, pass through 0-length writes

- curl's transfer handling may write 0-length chunks at the end of the
  download with an EOS flag. (HTTP/2 does this commonly)

- content encoders need to pass-through such a write and not count this
  as error in case they are finished decoding

Fixes #13209
Fixes #13212
Closes #13219

Gbp-Pq: Name content_encoding_brotli_and_others_pass_through_0_length_writes.patch

19 months agohttp2 + ngtcp2: pass CURLcode errors from callbacks
Stefan Eissing [Mon, 29 Apr 2024 17:28:54 +0000 (18:28 +0100)]
http2 + ngtcp2: pass CURLcode errors from callbacks

Origin: https://github.com/curl/curl/issues/13474#issuecomment-2078933887

Gbp-Pq: Name curl-8_7_1-h2-ngtcp2-write-error-handling.diff

19 months ago[PATCH] CURLINFO_REQUEST_SIZE: fixed, add tests for transfer infos reported
Stefan Eissing [Thu, 4 Apr 2024 09:06:06 +0000 (11:06 +0200)]
[PATCH] CURLINFO_REQUEST_SIZE: fixed, add tests for transfer infos reported

- tests for 'size_request' and other stats reported, for
  presence and consistency

Reported-by: Jonatan Vela
Fixes #13269
Closes #13275

Origin: upstream, https://github.com/curl/curl/commit/8482ce53ddfd9daab46261e0f00a0032403ba917
Last-Update: 2024-04-19

Gbp-Pq: Name fix-regression-in-curlinfo.patch

19 months ago[PATCH] test1901: verify chunked POST from callback with CURLOPT_POSTFIELDSIZE set
Daniel Stenberg [Tue, 2 Apr 2024 13:27:54 +0000 (15:27 +0200)]
[PATCH] test1901: verify chunked POST from callback with CURLOPT_POSTFIELDSIZE set

Follow-up to 721941aadf4ad

Ref: #13257
Closes #13262

Gbp-Pq: Name test1901_verify_chunked_POST_from_callback_with_CURLOPT_POSTFIELDSIZ.patch

19 months agohttp: with chunked POST forced, disable length check on read callback
Stefan Eissing [Mon, 1 Apr 2024 13:41:18 +0000 (15:41 +0200)]
http: with chunked POST forced, disable length check on read callback

- when an application forces HTTP/1.1 chunked transfer encoding
  by setting the corresponding header and instructs curl to use
  the CURLOPT_READFUNCTION, disregard any POST length information.
- this establishes backward compatibility with previous curl versions

Applications are encouraged to not force "chunked", but rather
set length information for a POST. By setting -1, curl will
auto-select chunked on HTTP/1.1 and work properly on other HTTP
versions.

Reported-by: Jeff King
Origin: upstream, https://github.com/curl/curl/commit/721941aadf4adf4f6aeb3f4c0ab489bb89610c36
Last-Update: 2024-04-02

Gbp-Pq: Name fix-regression-on-chunked-post.patch

19 months agocd2nroff/manage: use UTC when SOURCE_DATE_EPOCH is set
Daniel Stenberg [Sat, 30 Mar 2024 23:59:55 +0000 (00:59 +0100)]
cd2nroff/manage: use UTC when SOURCE_DATE_EPOCH is set

Make them independent of the TZ setting. Also set a date string like
YYYY-MM-DD to avoid a local month name in the date.

Reported-by: Carlos Henrique Lima Melara
Fixes #13242
Closes #13243

Origin: upstream, https://github.com/curl/curl/commit/afdd1129166938a4ba952aa1a9503adf0ec1a7a3
Last-Update: 2024-03-31

Gbp-Pq: Name make-manpages-reproducible.patch

19 months agoopenldap: create ldap URLs correctly for IPv6 addresses
Daniel Stenberg [Sat, 30 Mar 2024 10:14:54 +0000 (11:14 +0100)]
openldap: create ldap URLs correctly for IPv6 addresses

Reported-by: Sergio Durigan Junior
Fixes #13228
Closes #13235

More context:

When the user specified an IPv6 address to be used as an LDAP server,
curl will fail to properly enclose it in square brackets, which causes
the connection to fail because the host address cannot be
distinguished from the port:

$ curl -v ldap://[fd42:be5:e632:a6b3:216:3eff:feb1:5bc4]:389
...
* LDAP local: Cannot connect to ldap://fd42:be5:e632:a6b3:216:3eff:feb1:5bc4:389, Bad parameter to an ldap routine
...

Fix this by always enclosing the IPv6 address in square brackets.

Origin: upstream, https://github.com/curl/curl/commit/56935a7dada6975d5a46aa494de0af195e4e8659
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053643

Gbp-Pq: Name openldap-create-ldap-URLs-correctly-for-IPv6-addresses.patch

19 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

19 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: http://bugs.debian.org/731998
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2017-01-10

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

19 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

19 months agoWork around libtool --as-needed reordering bug
Alessandro Ghedini [Wed, 27 Mar 2024 18:10:56 +0000 (18:10 +0000)]
Work around libtool --as-needed reordering bug

Origin: vendor
Bug-Debian: http://bugs.debian.org/347650
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2016-08-03

Gbp-Pq: Name 04_workaround_as_needed_bug.patch

19 months agocurl (8.7.1-5) unstable; urgency=high
Samuel Henrique [Mon, 29 Apr 2024 17:28:54 +0000 (18:28 +0100)]
curl (8.7.1-5) unstable; urgency=high

  * d/p/content_encoding_brotli_and_others...patch: New patch to fix an
    encoding regression. Thank you to Jeroen Ooms and the curl developers
    (Daniel Stenberg and Stefan Eissing) for reporting and pointing out the
    fix.

[dgit import unpatched curl 8.7.1-5]

19 months agoImport curl_8.7.1-5.debian.tar.xz
Samuel Henrique [Mon, 29 Apr 2024 17:28:54 +0000 (18:28 +0100)]
Import curl_8.7.1-5.debian.tar.xz

[dgit import tarball curl 8.7.1-5 curl_8.7.1-5.debian.tar.xz]

20 months agoImport curl_8.7.1.orig.tar.gz
Samuel Henrique [Wed, 27 Mar 2024 19:02:14 +0000 (19:02 +0000)]
Import curl_8.7.1.orig.tar.gz

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

21 months agoMerge curl (8.6.0-3) import into refs/heads/workingbranch
Samuel Henrique [Mon, 19 Feb 2024 22:16:17 +0000 (22:16 +0000)]
Merge curl (8.6.0-3) import into refs/heads/workingbranch

21 months agoBuild with GnuTLS.
Ramakrishnan Muthukrishnan [Thu, 3 Aug 2023 22:35:34 +0000 (18:35 -0400)]
Build with GnuTLS.

Origin: vendor
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2018-05-23

Gbp-Pq: Name 90_gnutls.patch