commit: a1ca4301b36e46b43ad34589272337d14c2f05b7 Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org> AuthorDate: Wed Jul 23 12:56:47 2025 +0000 Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org> CommitDate: Wed Jul 23 13:19:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ca4301
net-libs/neon: drop 0.32.4-r1, 0.33.0 Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org> net-libs/neon/Manifest | 2 - net-libs/neon/files/neon-0.32.4-dash.patch | 43 ---------- net-libs/neon/files/neon-0.32.4-libressl.patch | 61 -------------- net-libs/neon/neon-0.32.4-r1.ebuild | 112 ------------------------- net-libs/neon/neon-0.33.0.ebuild | 111 ------------------------ 5 files changed, 329 deletions(-) diff --git a/net-libs/neon/Manifest b/net-libs/neon/Manifest index 1b9be53c1808..b84589ccef00 100644 --- a/net-libs/neon/Manifest +++ b/net-libs/neon/Manifest @@ -1,3 +1 @@ -DIST neon-0.32.4.tar.gz 895482 BLAKE2B 917f17739976e159bf91f7c594e59c96bb8b92e39c19f5c881354c11951233d3157f6871e4ebc073d493170844e516acc36be4787dbe2005c33b1ec84ae0d364 SHA512 82bcd1555f047d26cc5ccd67d2fef8dea4eb5a4cc45ca8030d2f3c356eee03fd78efd7ef45f516948e89f1089686731046b3fe48e73b3d84c65848ef6d86bd7a -DIST neon-0.33.0.tar.gz 912146 BLAKE2B 8457e0203fcfbd9209718d139169780898f823d71b950f370f8880c5ec97c7bc5d300b8485803f75e2531a3f58fe6eb78ac5d7a82f57f12078513a3bfd0223b3 SHA512 b214ed34cd832dfaf3af08d4bdbe459c3e791f691548a6d44ee0cdc9811856185522bcbd6c2aca9a536fc021a2ed6329bd093cb3435cc40e3cfd9f5af8b92644 DIST neon-0.34.0.tar.gz 928587 BLAKE2B 1dedf044b4da1a08b1da14db4b5e6873482f101a2105b7753539795b5e61d1b92fd8b25fc54b82083c7f78cabc476b264f3d22bc9c2f28314f6acd205243e8b0 SHA512 3ac77f6964bda3d3bb6190d982e0573f4e1a3e611afa40be7d79829419a2a1bc787905f12057aa30a4bbe80e8b8efd39408fd886e2e36fc4f7cae12b47ed8f29 diff --git a/net-libs/neon/files/neon-0.32.4-dash.patch b/net-libs/neon/files/neon-0.32.4-dash.patch deleted file mode 100644 index cba1660ec62c..000000000000 --- a/net-libs/neon/files/neon-0.32.4-dash.patch +++ /dev/null @@ -1,43 +0,0 @@ -https://bugs.gentoo.org/832851 -https://github.com/notroj/neon/pull/115 -https://github.com/notroj/neon/commit/e02ead4d990e49c912ef053c46b55713685119ee - -From e1bcf0e83012e0c1ff81c573d2650e1a4e40d955 Mon Sep 17 00:00:00 2001 -From: orbea <[email protected]> -Date: Sat, 6 May 2023 20:50:50 -0700 -Subject: [PATCH 1/2] test/makekeys.sh: fix POSIX compliance - -Not all shells provide 'echo -e' and using printf is more portable. - -One shell that will fail is dash(1). - -ssl................... 10/63 FAIL - dname_readable (certificate subject dname was `-e H\0350llo World, Neon Hackers Ltd, Cambridge, Cambridgeshire, GB' not `Hèllo World, Neon Hackers Ltd, Cambridge, Cambridgeshire, GB' - -Gentoo-Issue: https://bugs.gentoo.org/832851 ---- - test/makekeys.sh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/test/makekeys.sh b/test/makekeys.sh -index 88dc7b3..8ee90ae 100755 ---- a/test/makekeys.sh -+++ b/test/makekeys.sh -@@ -123,15 +123,15 @@ csr_fields "Self-Signed" | \ - ${MKCERT} -key server.key -out ssigned.pem - - # default => T61String --csr_fields "`echo -e 'H\0350llo World'`" localhost | -+csr_fields "$(printf 'H%bllo World\n' '\0350')" localhost | - ${REQ} -new -key server.key -out t61subj.csr - - STRMASK=pkix # => BMPString --csr_fields "`echo -e 'H\0350llo World'`" localhost | -+csr_fields "$(printf 'H%bllo World\n' '\0350')" localhost | - ${REQ} -new -key server.key -out bmpsubj.csr - - STRMASK=utf8only # => UTF8String --csr_fields "`echo -e 'H\0350llo World'`" localhost | -+csr_fields "$(printf 'H%bllo World\n' '\0350')" localhost | - ${REQ} -new -key server.key -out utf8subj.csr - - STRMASK=default diff --git a/net-libs/neon/files/neon-0.32.4-libressl.patch b/net-libs/neon/files/neon-0.32.4-libressl.patch deleted file mode 100644 index 7c69ad6abfd8..000000000000 --- a/net-libs/neon/files/neon-0.32.4-libressl.patch +++ /dev/null @@ -1,61 +0,0 @@ -https://bugs.gentoo.org/903001 -https://github.com/notroj/neon/pull/113 -https://github.com/notroj/neon/commit/18e868e4449cd46d494944ced798f9dcd01f65c5 -https://github.com/notroj/neon/pull/116 -https://github.com/notroj/neon/commit/231a1d3f3f427b823753dc2e53adcf9cafda619b -https://github.com/notroj/neon/pull/118 -https://github.com/notroj/neon/commit/6f98a9c9bdd76fb3d367e3b01bcc45bea574c3d1 - -From 233f17b86ebc2cd99d9deede484f4b0be586730f Mon Sep 17 00:00:00 2001 -From: orbea <[email protected]> -Date: Mon, 27 Mar 2023 14:58:49 -0700 -Subject: [PATCH] ne_openssl: Fix the build with libressl - -* Libressl 3.7 currently doesn't provide EVP_sha512_256(). -* Libressl 3.4 added SSL_CTX_set_post_handshake_auth(). ---- - src/ne_openssl.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -From 392e1380e1fa07675934ed25e8980ae18d0bccb4 Mon Sep 17 00:00:00 2001 -From: Joe Orton <[email protected]> -Date: Tue, 9 May 2023 16:26:55 +0100 -Subject: [PATCH] * src/ne_openssl.c: Fix GCC warning with OpenSSL build. - ---- - src/ne_openssl.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -From 1e9483dbb43e82dde06bc84434c8b7124602adbc Mon Sep 17 00:00:00 2001 -From: orbea <[email protected]> -Date: Mon, 29 May 2023 10:07:52 -0700 -Subject: [PATCH] ne_openssl: Update for LibreSSL 3.8.0 - -EVP_sha512_256() was added in LibreSSL 3.8.0. ---- - src/ne_openssl.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/ne_openssl.c b/src/ne_openssl.c -index d13c25a..bdb73e9 100644 ---- a/src/ne_openssl.c -+++ b/src/ne_openssl.c -@@ -581,7 +581,7 @@ ne_ssl_context *ne_ssl_context_create(int mode) - /* enable workarounds for buggy SSL server implementations */ - SSL_CTX_set_options(ctx->ctx, SSL_OP_ALL); - SSL_CTX_set_verify(ctx->ctx, SSL_VERIFY_PEER, verify_callback); --#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10101000L -+#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x3040000fL || (!defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10101000L) - SSL_CTX_set_post_handshake_auth(ctx->ctx, 1); - #endif - } else if (mode == NE_SSL_CTX_SERVER) { -@@ -1122,7 +1122,9 @@ static const EVP_MD *hash_to_md(unsigned int flags) - case NE_HASH_SHA256: return EVP_sha256(); - #ifdef HAVE_OPENSSL11 - case NE_HASH_SHA512: return EVP_sha512(); -+#if !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER >= 0x3080000fL - case NE_HASH_SHA512_256: return EVP_sha512_256(); -+#endif - #endif - default: break; - } diff --git a/net-libs/neon/neon-0.32.4-r1.ebuild b/net-libs/neon/neon-0.32.4-r1.ebuild deleted file mode 100644 index 0ea0a85f7351..000000000000 --- a/net-libs/neon/neon-0.32.4-r1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 2001-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -inherit autotools libtool multilib-minimal - -DESCRIPTION="HTTP and WebDAV client library" -HOMEPAGE="https://notroj.github.io/neon/ https://github.com/notroj/neon" -SRC_URI="https://notroj.github.io/neon/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/27" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="doc +expat gnutls kerberos libproxy nls pkcs11 ssl test zlib" -RESTRICT="!test? ( test )" - -BDEPEND="virtual/pkgconfig - test? ( - ssl? ( - dev-libs/openssl:0 - pkcs11? ( dev-libs/nss ) - ) - )" -DEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) - !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) - libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] ) - nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] ) - ssl? ( - gnutls? ( - app-misc/ca-certificates - net-libs/gnutls:0=[${MULTILIB_USEDEP}] - ) - !gnutls? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] ) - ) - zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )" -RDEPEND="${DEPEND}" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/neon-config -) - -DOCS=( AUTHORS BUGS NEWS README.md THANKS TODO ) - -PATCHES=( - "${FILESDIR}"/${PN}-0.32.4-dash.patch #832851 - "${FILESDIR}"/${PN}-0.32.4-libressl.patch #903001 -) - -src_prepare() { - if use gnutls; then - # Ignore failure of test pkcs11. - # https://github.com/notroj/neon/issues/72 - sed -e "s/T(pkcs11)/T_XFAIL(pkcs11)/" -i test/ssl.c || die - fi - - default - - AT_M4DIR="macros" eautoreconf - - elibtoolize - - multilib_copy_sources -} - -multilib_src_configure() { - local myconf=() - - if has_version sys-libs/glibc; then - einfo "Enabling SSL library thread-safety using POSIX threads..." - myconf+=(--enable-threadsafe-ssl=posix) - fi - - if use expat; then - myconf+=(--with-expat) - else - myconf+=(--with-libxml2) - fi - - if use ssl; then - if use gnutls; then - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt") - else - myconf+=(--with-ssl=openssl) - fi - fi - - econf \ - --enable-shared \ - $(use_with kerberos gssapi) \ - $(use_with libproxy) \ - $(use_enable nls) \ - $(use_with pkcs11 pakchois) \ - $(use_with zlib) \ - "${myconf[@]}" -} - -multilib_src_install() { - emake DESTDIR="${D}" install-{config,headers,lib,man,nls} - - if multilib_is_native_abi && use doc; then - dodoc -r doc/html - fi -} - -multilib_src_install_all() { - find "${ED}" -name "*.la" -delete || die - - einstalldocs -} diff --git a/net-libs/neon/neon-0.33.0.ebuild b/net-libs/neon/neon-0.33.0.ebuild deleted file mode 100644 index bbec229b4844..000000000000 --- a/net-libs/neon/neon-0.33.0.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 2001-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools libtool multilib-minimal - -DESCRIPTION="HTTP and WebDAV client library" -HOMEPAGE="https://notroj.github.io/neon/ https://github.com/notroj/neon" -SRC_URI="https://notroj.github.io/neon/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/27" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="+expat gnutls kerberos libproxy nls pkcs11 ssl test zlib" -RESTRICT="!test? ( test )" - -DEPEND=" - expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) - !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) - kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) - libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] ) - nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] ) - ssl? ( - gnutls? ( - app-misc/ca-certificates - net-libs/gnutls:0=[${MULTILIB_USEDEP}] - ) - !gnutls? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] ) - ) - zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - virtual/pkgconfig - test? ( - ssl? ( - dev-libs/openssl:0 - pkcs11? ( dev-libs/nss ) - ) - ) -" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/neon-config -) - -DOCS=( AUTHORS BUGS NEWS README.md THANKS TODO ) -HTML_DOCS=( doc/html/. ) - -src_prepare() { - if use gnutls; then - # Ignore failure of test pkcs11. - # https://github.com/notroj/neon/issues/72 - sed -e "s/T(pkcs11)/T_XFAIL(pkcs11)/" -i test/ssl.c || die - fi - - default - - AT_M4DIR="macros" eautoreconf - - elibtoolize - - multilib_copy_sources -} - -multilib_src_configure() { - local myconf=( - --enable-shared - $(use_with kerberos gssapi) - $(use_with libproxy) - $(use_enable nls) - $(use_with pkcs11 pakchois) - $(use_with zlib) - ) - - if has_version sys-libs/glibc; then - einfo "Enabling SSL library thread-safety using POSIX threads..." - myconf+=( --enable-threadsafe-ssl=posix ) - fi - - if use expat; then - myconf+=( --with-expat ) - else - myconf+=( --with-libxml2 ) - fi - - if use ssl; then - if use gnutls; then - myconf+=( - --with-ssl=gnutls - --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" - ) - else - myconf+=( --with-ssl=openssl ) - fi - fi - - econf "${myconf[@]}" -} - -multilib_src_install() { - emake DESTDIR="${D}" install-{config,headers,lib,man,nls} -} - -multilib_src_install_all() { - find "${ED}" -name "*.la" -delete || die - - einstalldocs -}
