diff options
Diffstat (limited to 'net-misc/curl')
-rw-r--r-- | net-misc/curl/Manifest | 3 | ||||
-rw-r--r-- | net-misc/curl/curl-7.87.0.ebuild | 16 | ||||
-rw-r--r-- | net-misc/curl/files/curl-7.87.0-gnutls-openssl-build.patch | 39 |
3 files changed, 50 insertions, 8 deletions
diff --git a/net-misc/curl/Manifest b/net-misc/curl/Manifest index 9e62e54cb30b..af0744a2a836 100644 --- a/net-misc/curl/Manifest +++ b/net-misc/curl/Manifest @@ -4,11 +4,12 @@ AUX curl-7.84.0-include-sched.patch 625 BLAKE2B 8c7ecdbc8ffd7cafac915c2d12db1ea9 AUX curl-7.86.0-noproxy-tailmatch-like-in-7.85.0-and-earlier.patch 3609 BLAKE2B 6f7e80c915d8592b93349d8aade7670f37bf37803ee02130245905636de30a70be51272b2d06392397ffcf76bfda78cfc2fbb671971ab3d18b20677239944544 SHA512 20999f12d5316be5854c9ab09a0f9e887edb7878f157069759c8404d31bfd23db352894c0dca6ce871618d0088f0320ebaa1b6166b54facce0e5faf74600232b AUX curl-7.86.0-proxy-noproxy-match-comma.patch 3143 BLAKE2B 1aa8d62e6082601eae9e3ae7690a1e7ddce7f12be4cf9f20010f32aa51cd5b1c4206be0b731935a9ddd45bb5654ceed3cba3eabb6a1b9dc60112052d7e79ffa7 SHA512 1a0c67bdabeb1ea8cba7a0f93c12ea626bdc329bbe8c3978f03cb25a78c74fa3257a36f2ed53c177b3a256bca2c0dd8081bab1536b0670e1ec9c0541ac23fc11 AUX curl-7.86.0-proxy-noproxy-tailmatching.patch 2302 BLAKE2B c4199bc1eb04c8c69f8c72397ce526df6c2186151f77d5e13551e589712e9032e1a52720bd1b946a1b5b984f49a01b297410f4cf74814a58bf4bf43701435c76 SHA512 aa211a5428cc746d07cfd37571169d59ccc97560a69e7c6d21cc8b4a133182366264470de540e1813eee51b376d9056ec8dd01f8e95957e58a83f33d37db0442 +AUX curl-7.87.0-gnutls-openssl-build.patch 1010 BLAKE2B 716760a38a7a61420e3e508f976c14776d5f3313c4305e8c2fcff9af1744bcaab61bae643546d625448cc613933f8a7137a783e6313a53799485f432d8b9791f SHA512 2a94cf409f33683ca53a347a99faec3c51ba05c4f531be4e784401e4ed977d1142b5d5bc153dd2444311cdeafd3c406ae4a27e515b875f978f5402487d177e9a AUX curl-respect-cflags-3.patch 406 BLAKE2B 1b533144858aff5566150c4a2648ad2e48e8ff29849ae285592edfee4b3332d06e750395dea7190ee6a01d2b5ee2c2c42c10400c2e5defa09963a90a1a10417d SHA512 3219e4e67d534e35012909243fc8d69d58989462db44dd507c502e7aaa299f1d9a01392e2c83797cc2bdb53d503470c5d6e7bf94572a6ccc6e5eafcc0466bc54 DIST curl-7.86.0.tar.xz 2518356 BLAKE2B a1de7feb229de42bf1deeb5017f97df3b1c10c75fac99bcd0cd21a5dc69b6d8b62520744106d6a113c7a86bd6731dba536a263aabfa22be50d520c43e894acce SHA512 18e03a3c00f22125e07bddb18becbf5acdca22baeb7b29f45ef189a5c56f95b2d51247813f7a9a90f04eb051739e9aa7d3a1c5be397bae75d763a2b918d1b656 DIST curl-7.86.0.tar.xz.asc 488 BLAKE2B a9abe2f3af801b3a48be7db09cb82b6bb83bd26a9d5caf51c0d5a4a2e6881fb478f1768a6b71efbd9283563e2c7e2badbc5a6d6df265013e14eee2ec7e9be148 SHA512 9e97d5f44b3c856f401fe30ba713e1ca1f74edfc693dc42f1ce8e43f9f6dd4bf6998c579bc9c5d0f749f475a7d67d232e92ab6f89b95141acdb53e149f2312f0 DIST curl-7.87.0.tar.xz 2547932 BLAKE2B b272ec928c5ef1728434630d8910f58834327a30570913df9d47921a2810d002bd88b81371005197db857d3a53386420c1e28b1e463e6241d46c1e50fbce0c13 SHA512 aa125991592667280dce3788aabe81487cf8c55b0afc59d675cc30b76055bb7114f5380b4a0e3b6461a8f81bf9812fa26d493a85f7e01d84263d484a0d699ee7 DIST curl-7.87.0.tar.xz.asc 488 BLAKE2B 031d8236b357bd3c519548b181254dc0aea1efc1375738bce04f4f331d35bafe99d1ca394ecf5943ede7cae040854b6d2b478fd305147eb7330f8d50e5d95c96 SHA512 0bcc12bafc4ae50d80128af2cf4bf1a1ec6018ebb8d5b9c49f52b51c0c25acc77e820858965656549ef43c1f923f4e5fe75b0a3523623154b4cfb9dc8a1d76e4 EBUILD curl-7.86.0-r3.ebuild 8775 BLAKE2B 22e521fddcf34f1ec259e3bea7daa4a3ac929355511b9798865bbf89e0c98b740d03a9dd7a4f6efacd7cc03f75a14bfc7456eb89f8507934b47bf9f72da579f6 SHA512 94041a785f6b361e8e23f9972c5dc329e5159fc7fca2f2d4c43c1fcc063f06c35ea138d3b556f73ac0a7e6da2bbd1470aba0bbb94ab7be44c4ff627ee69e2127 -EBUILD curl-7.87.0.ebuild 8607 BLAKE2B 4fd6158ba90ab8bd68c3bb36141636f518e2bfa4fad56988d9eb7c7046dad7b2c60babfd152b0d1ec0486e4a7e92464cfd7a54b6c7af4ed914ea8f64c7e44eab SHA512 b78df721b6832f5087b90bbc3b334e23cf6628ee1d5108ea4a3f05f88d9edf53577575c97ee15786a7acec6684c798595b182e1e81d4509ab91f858cd8db8b87 +EBUILD curl-7.87.0.ebuild 8635 BLAKE2B 28db1e893a3b2aa686c94181bf3bb0d6399e40e095525a031bb7456476c5ede31ea7dfb8fbb7e3c909e918f8cb35a83724fe308552ace30c25adae079073c324 SHA512 a30e4f15991869a2f9e4690dfd20bf39a84ccd95fe6584cfdf112475032967f3f2a4d0cdf4e9ebf634848996d2af77864a2a428fda6b10facd7249879d730e9f MISC metadata.xml 2158 BLAKE2B 2b99163e490c531d73aa8c62d428ff4e994537b140e159548d74d52a7c46a2b5e04c992a541298253464f7eaab447d7a680140aadc6b33ecd7d69c35b6aaf6c5 SHA512 a3313197aeedaa7f347e3b6b791d8e5e3bda4292225afcc457ec21cd883347c4cdccaeaa79a7c212e061fdb339be3706815d425d09d8511a4d984f9318164797 diff --git a/net-misc/curl/curl-7.87.0.ebuild b/net-misc/curl/curl-7.87.0.ebuild index f804460a11c1..128b0427d016 100644 --- a/net-misc/curl/curl-7.87.0.ebuild +++ b/net-misc/curl/curl-7.87.0.ebuild @@ -37,16 +37,16 @@ RDEPEND="ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) brotli? ( app-arch/brotli:=[${MULTILIB_USEDEP}] ) ssl? ( gnutls? ( - net-libs/gnutls:0=[static-libs?,${MULTILIB_USEDEP}] - dev-libs/nettle:0=[${MULTILIB_USEDEP}] + net-libs/gnutls:=[static-libs?,${MULTILIB_USEDEP}] + dev-libs/nettle:=[${MULTILIB_USEDEP}] app-misc/ca-certificates ) mbedtls? ( - net-libs/mbedtls:0=[${MULTILIB_USEDEP}] + net-libs/mbedtls:=[${MULTILIB_USEDEP}] app-misc/ca-certificates ) openssl? ( - dev-libs/openssl:0=[sslv3(-)=,static-libs?,${MULTILIB_USEDEP}] + dev-libs/openssl:=[sslv3(-)=,static-libs?,${MULTILIB_USEDEP}] ) nss? ( dev-libs/nss:0[${MULTILIB_USEDEP}] @@ -63,8 +63,8 @@ RDEPEND="ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) net-libs/ngtcp2[ssl,${MULTILIB_USEDEP}] ) quiche? ( >=net-libs/quiche-0.3.0[${MULTILIB_USEDEP}] ) - idn? ( net-dns/libidn2:0=[static-libs?,${MULTILIB_USEDEP}] ) - adns? ( net-dns/c-ares:0=[${MULTILIB_USEDEP}] ) + idn? ( net-dns/libidn2:=[static-libs?,${MULTILIB_USEDEP}] ) + adns? ( net-dns/c-ares:=[${MULTILIB_USEDEP}] ) kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] ) rtmp? ( media-video/rtmpdump[${MULTILIB_USEDEP}] ) ssh? ( net-libs/libssh2[${MULTILIB_USEDEP}] ) @@ -99,6 +99,8 @@ MULTILIB_CHOST_TOOLS=( PATCHES=( "${FILESDIR}"/${PN}-7.30.0-prefix.patch "${FILESDIR}"/${PN}-respect-cflags-3.patch + + "${FILESDIR}"/${P}-gnutls-openssl-build.patch ) src_prepare() { @@ -121,7 +123,7 @@ multilib_src_configure() { if use gnutls || use curl_ssl_gnutls; then einfo "SSL provided by gnutls" - myconf+=( --with-gnutls --with-nettle ) + myconf+=( --with-gnutls ) fi if use mbedtls || use curl_ssl_mbedtls; then einfo "SSL provided by mbedtls" diff --git a/net-misc/curl/files/curl-7.87.0-gnutls-openssl-build.patch b/net-misc/curl/files/curl-7.87.0-gnutls-openssl-build.patch new file mode 100644 index 000000000000..88463dc003f7 --- /dev/null +++ b/net-misc/curl/files/curl-7.87.0-gnutls-openssl-build.patch @@ -0,0 +1,39 @@ +https://bugs.gentoo.org/887833 +https://github.com/curl/curl/issues/10110 +https://github.com/curl/curl/commit/aef4dc892d012d990c85c7bad0d9d06c2ebfa775 + +From aef4dc892d012d990c85c7bad0d9d06c2ebfa775 Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg <daniel@haxx.se> +Date: Thu, 22 Dec 2022 17:40:26 +0100 +Subject: [PATCH] md4: fix build with GnuTLS + OpenSSL v1 + +Reported-by: Esdras de Morais da Silva + +Fixes #10110 +Closes #10142 +--- a/lib/md4.c ++++ b/lib/md4.c +@@ -86,11 +86,7 @@ + #include "memdebug.h" + + +-#if defined(USE_WOLFSSL) && !defined(WOLFSSL_NO_MD4) +- +-#elif defined(USE_OPENSSL) && !defined(OPENSSL_NO_MD4) +- +-#elif defined(USE_GNUTLS) ++#if defined(USE_GNUTLS) + + typedef struct md4_ctx MD4_CTX; + +@@ -109,6 +105,10 @@ static void MD4_Final(unsigned char *result, MD4_CTX *ctx) + md4_digest(ctx, MD4_DIGEST_SIZE, result); + } + ++#elif defined(USE_WOLFSSL) && !defined(WOLFSSL_NO_MD4) ++ ++#elif defined(USE_OPENSSL) && !defined(OPENSSL_NO_MD4) ++ + #elif defined(AN_APPLE_OS) + typedef CC_MD4_CTX MD4_CTX; + |