summaryrefslogtreecommitdiff
path: root/net-libs/neon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-03 19:30:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-03 19:30:11 +0000
commiteab7afdf0fe1454220af1a74c5556855a937a819 (patch)
treeb5424216c7274a6e3453a259bcc732618d9dc488 /net-libs/neon
parent1c70934cf5610c0fecd25c223ec275afa3d6ebd0 (diff)
gentoo auto-resync : 03:03:2025 - 19:30:11
Diffstat (limited to 'net-libs/neon')
-rw-r--r--net-libs/neon/Manifest4
-rw-r--r--net-libs/neon/metadata.xml3
-rw-r--r--net-libs/neon/neon-0.34.0.ebuild105
3 files changed, 111 insertions, 1 deletions
diff --git a/net-libs/neon/Manifest b/net-libs/neon/Manifest
index 4abe97ef11e4..55801a162317 100644
--- a/net-libs/neon/Manifest
+++ b/net-libs/neon/Manifest
@@ -2,6 +2,8 @@ AUX neon-0.32.4-dash.patch 1623 BLAKE2B 2fd32e83980e666bfd00eb77e6862c31e32fd09c
AUX neon-0.32.4-libressl.patch 2504 BLAKE2B 9da49e993145110b798711b5059857d21a4f24ee3fa0cad290bd6773446716c3bbb29c4eca59c1c944ec461998ec230ea7f0689fdaf20d97967952e598e4d45f SHA512 e17d1d7ac3faa2faf25f541d20c6c21659d43d98db908076a246b6d39cabe520efac76f40df0f6a4162c6f36599a91318000d739b162a741cdbd846b97ab7875
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
EBUILD neon-0.32.4-r1.ebuild 2608 BLAKE2B f151404031836268857c3a32b342d0080e81b42e52731ae1a0ab8557f29100bf3e0501196feeef031ad28016d500956d123939e9bad3b53b150ec0fb16deb301 SHA512 a860d5430365516879b543c469c3c9a96b3980c0ced281b632125e926a8dffc8f29e4593a5ca4bfc11cbb8e06cad01688a7da269fc4b69fd86a4fde0d51cdf52
EBUILD neon-0.33.0.ebuild 2460 BLAKE2B 825f90a4d6d9ab90dc3238932140d617b3d5d65b161212199044c819e1e127a8d083139ebe28c5eb93bae73cb324704716034ea5ebdb6f5ed9f01ca9c677f506 SHA512 0750c138d69c5b59cf65f5a770b775328c720318552961e300c50ccf4e30b8983ed63889ae08b690ef8701961370e428a3a283747d386adf76191e726afd41f5
-MISC metadata.xml 1219 BLAKE2B 2d80de452aeeeae8734661146b0b648625b8a9b7e894d245f9369fa29e37beba2dc2296d5bb61d66c555cffb24efcb1b37bf0d43c7f84db5395e105380045570 SHA512 21b29abf1945d60aa9ab20916508c6800cb67823f8706bc4198279f727854c0a8956c3f223af30c5149a9f23c9ebedaabe26afe35712fda490f268fe954ec1dc
+EBUILD neon-0.34.0.ebuild 2523 BLAKE2B 6704c0d9fc35ce24d2a02e4e01d6a062d6abc4d3f8e49e651325d463326a5b71304c9a69bebb463c6e99fc4befb89edd9e28f2365927fe95c695f04fcdeb16c2 SHA512 32daacfad9c28bd126a81cc31bf2854582b5aa239b67e595bad24f004113e2152d19cfc064e1e94b9be1ae4f1f29d4679f6299fbedd11f0f91dd82624939d4e7
+MISC metadata.xml 1400 BLAKE2B 22e5b54fcd6d6f4055fe03d9e66f2e0643c50e1b8bb730e7493c21559e5f9f0f9bbecd235122a53d9fd3ccce735113ece5f0f0d4b6fd13388403d828a354963d SHA512 136ca502efcf1474ef2a0d3150366dac0fb02d10fd9d0a772950f3a15e72b0facef3c54245a8d96d4c5ce9bd824f794f313f910bd9a1dd27baa2fcc019571d26
diff --git a/net-libs/neon/metadata.xml b/net-libs/neon/metadata.xml
index e66c01f85a97..2f81aa4d6043 100644
--- a/net-libs/neon/metadata.xml
+++ b/net-libs/neon/metadata.xml
@@ -20,6 +20,9 @@
<flag name="pkcs11">Add support for PKCS#11 using <pkg>dev-libs/pakchois</pkg></flag>
</use>
<upstream>
+ <bugs-to>https://github.com/notroj/neon/issues</bugs-to>
+ <changelog>https://github.com/notroj/neon/blob/master/NEWS</changelog>
+ <doc>https://notroj.github.io/neon-docs/</doc>
<remote-id type="github">notroj/neon</remote-id>
</upstream>
</pkgmetadata>
diff --git a/net-libs/neon/neon-0.34.0.ebuild b/net-libs/neon/neon-0.34.0.ebuild
new file mode 100644
index 000000000000..bfb8680b5c7f
--- /dev/null
+++ b/net-libs/neon/neon-0.34.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 2001-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools 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+ LGPL-2+" # manpages+tests, core project
+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
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --enable-shared
+ $(use_enable nls)
+ $(use_with expat)
+ $(use_with kerberos gssapi)
+ $(use_with libproxy)
+ $(use_with pkcs11 pakchois)
+ $(use_with zlib)
+ )
+ use expat || myeconfargs+=( --with-libxml2 ) # add libxml if expat is not used
+
+ if has_version sys-libs/glibc; then
+ einfo "Enabling SSL library thread-safety using POSIX threads..."
+ myeconfargs+=( --enable-threadsafe-ssl=posix )
+ fi
+
+ if use ssl; then
+ if use gnutls; then
+ myeconfargs+=(
+ --with-ssl=gnutls
+ --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
+ )
+ else
+ myeconfargs+=( --with-ssl=openssl )
+ fi
+ fi
+
+ econf "${myeconfargs[@]}"
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install-{config,headers,lib,man,nls}
+}
+
+multilib_src_install_all() {
+ find "${ED}" -name "*.la" -delete || die
+
+ einstalldocs
+}