From 77f1c17f5328e59f3991203c579fbc85df6898a0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 5 Jun 2023 09:36:29 +0100 Subject: gentoo auto-resync : 05:06:2023 - 09:36:29 --- net-libs/Manifest.gz | Bin 32624 -> 32625 bytes net-libs/neon/Manifest | 2 +- net-libs/neon/neon-0.32.4-r1.ebuild | 112 ++++++++++++++++++++++++++++++++++++ net-libs/neon/neon-0.32.4.ebuild | 112 ------------------------------------ 4 files changed, 113 insertions(+), 113 deletions(-) create mode 100644 net-libs/neon/neon-0.32.4-r1.ebuild delete mode 100644 net-libs/neon/neon-0.32.4.ebuild (limited to 'net-libs') diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz index 1e89b3f2a5d2..1a5e49203b3e 100644 Binary files a/net-libs/Manifest.gz and b/net-libs/Manifest.gz differ diff --git a/net-libs/neon/Manifest b/net-libs/neon/Manifest index f3975ab89b74..ad7871e84056 100644 --- a/net-libs/neon/Manifest +++ b/net-libs/neon/Manifest @@ -1,5 +1,5 @@ AUX neon-0.32.4-dash.patch 1623 BLAKE2B 2fd32e83980e666bfd00eb77e6862c31e32fd09c7de96b67c1026949a8c71a3fcb8eda4e1d208bf066640c650aed0ba3c8370a261feb188e044e22d5a04cae52 SHA512 0abb34501dbed1d78a0b520528ad8aafd51be7413d99a5fbd41e7cd5fd97156b1d5de67f607f5943237d4a924247c0d45749bb05846fcdfc3f0ab5d38e97c326 AUX neon-0.32.4-libressl.patch 2504 BLAKE2B 9da49e993145110b798711b5059857d21a4f24ee3fa0cad290bd6773446716c3bbb29c4eca59c1c944ec461998ec230ea7f0689fdaf20d97967952e598e4d45f SHA512 e17d1d7ac3faa2faf25f541d20c6c21659d43d98db908076a246b6d39cabe520efac76f40df0f6a4162c6f36599a91318000d739b162a741cdbd846b97ab7875 DIST neon-0.32.4.tar.gz 895482 BLAKE2B 917f17739976e159bf91f7c594e59c96bb8b92e39c19f5c881354c11951233d3157f6871e4ebc073d493170844e516acc36be4787dbe2005c33b1ec84ae0d364 SHA512 82bcd1555f047d26cc5ccd67d2fef8dea4eb5a4cc45ca8030d2f3c356eee03fd78efd7ef45f516948e89f1089686731046b3fe48e73b3d84c65848ef6d86bd7a -EBUILD neon-0.32.4.ebuild 2618 BLAKE2B 5aad9b1a1c6b7ad603845bc41d71bb0d74bd190f7f3ea2e0ed5beb219ce0b8b2515b81f49c007231d435f5cf6d986cf05ee4959c1059648d4b9637bf5520598c SHA512 dd3517ad85b061836ce2ffd22e673c43136f3fcd57a29ee0f40cba06157ebf4cc80efa716f6316f5e44259ac7e4760cf0743a0624febe9958164d775b59bf3a3 +EBUILD neon-0.32.4-r1.ebuild 2614 BLAKE2B 78c2e82fe6d714ef6d6dc6b023eca24cbd8a8c4d1b8543c6c8d94a7a8cdb491f2a9fa834b4607b6027e9bfea6dcb2286a99e86f79119313be7e521af625fef23 SHA512 d72f53490b384de31f158a57af2de358c090d02ab1bc6ecaa8c59595cf01a078344841f8153bffe59cfa2014d3df0d1f01558ee2e3ca2f70903b1a9a899a086c MISC metadata.xml 1219 BLAKE2B 2d80de452aeeeae8734661146b0b648625b8a9b7e894d245f9369fa29e37beba2dc2296d5bb61d66c555cffb24efcb1b37bf0d43c7f84db5395e105380045570 SHA512 21b29abf1945d60aa9ab20916508c6800cb67823f8706bc4198279f727854c0a8956c3f223af30c5149a9f23c9ebedaabe26afe35712fda490f268fe954ec1dc diff --git a/net-libs/neon/neon-0.32.4-r1.ebuild b/net-libs/neon/neon-0.32.4-r1.ebuild new file mode 100644 index 000000000000..eb9b9acbed73 --- /dev/null +++ b/net-libs/neon/neon-0.32.4-r1.ebuild @@ -0,0 +1,112 @@ +# 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 ~ia64 ~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.32.4.ebuild b/net-libs/neon/neon-0.32.4.ebuild deleted file mode 100644 index 0f217f0a4475..000000000000 --- a/net-libs/neon/neon-0.32.4.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 ~ia64 ~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 - - eapply_user - - 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 -} -- cgit v1.2.3