diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-13 22:21:26 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-13 22:21:26 -0500 |
| commit | f997c3ee588099e4f43e9ec845935868e3e60b8e (patch) | |
| tree | 07f0967cda575ee2edf2d62ed8c0f67855ae6bd3 /net-libs/neon | |
| parent | b589bc93e15b300c3e5318fe97241d57e464bea1 (diff) | |
| download | baldeagleos-repo-f997c3ee588099e4f43e9ec845935868e3e60b8e.tar.gz baldeagleos-repo-f997c3ee588099e4f43e9ec845935868e3e60b8e.tar.xz baldeagleos-repo-f997c3ee588099e4f43e9ec845935868e3e60b8e.zip | |
Adding metadata
Diffstat (limited to 'net-libs/neon')
| -rw-r--r-- | net-libs/neon/Manifest | 3 | ||||
| -rw-r--r-- | net-libs/neon/metadata.xml | 19 | ||||
| -rw-r--r-- | net-libs/neon/neon-0.34.0.ebuild | 105 | ||||
| -rw-r--r-- | net-libs/neon/neon-0.37.0.ebuild | 122 | ||||
| -rw-r--r-- | net-libs/neon/neon-0.37.1.ebuild | 122 |
5 files changed, 260 insertions, 111 deletions
diff --git a/net-libs/neon/Manifest b/net-libs/neon/Manifest index b84589ccef00..8c7b45934d5c 100644 --- a/net-libs/neon/Manifest +++ b/net-libs/neon/Manifest @@ -1 +1,2 @@ -DIST neon-0.34.0.tar.gz 928587 BLAKE2B 1dedf044b4da1a08b1da14db4b5e6873482f101a2105b7753539795b5e61d1b92fd8b25fc54b82083c7f78cabc476b264f3d22bc9c2f28314f6acd205243e8b0 SHA512 3ac77f6964bda3d3bb6190d982e0573f4e1a3e611afa40be7d79829419a2a1bc787905f12057aa30a4bbe80e8b8efd39408fd886e2e36fc4f7cae12b47ed8f29 +DIST neon-0.37.0.tar.gz 978545 BLAKE2B 15f1f2f6a531ccaeef5f671a5101a3466408625d5406fef9c5effefe0b5f5f34871c39f5929b2e28dd937a3a330ec932e73d2399c921c739877bae737faf6f74 SHA512 c3c41c90d29bb93375e88d56288b4e4044324ace4b4e10dd2ae6ddea33f0223d024c07c366ab1da2f32fa2625b1462cc3ed3fceb694626409e0d42a9a8a63bdb +DIST neon-0.37.1.tar.gz 979090 BLAKE2B cad5dd6edcb32be2f68f15f750e1443e52e03f198249382c11aa0636afd2fb60a43e62fee7f7463c806c6802a0e0f5ec9bcd8fd6c6e14cea43695e6908ca3c57 SHA512 3d3e369b91f2aad336c682f5cc47ec25726409c29bf85ff407ae5ad3a81300fd227df82877efc2a6d461301dafcd3a40ee3556ce803e5e766b18b5dca2d35500 diff --git a/net-libs/neon/metadata.xml b/net-libs/neon/metadata.xml index c0848996b039..846f8ba241f3 100644 --- a/net-libs/neon/metadata.xml +++ b/net-libs/neon/metadata.xml @@ -1,6 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + <maintainer type="person"> + <email>arfrever.fta@gmail.com</email> + </maintainer> + <maintainer type="person"> + <email>floppym@gentoo.org</email> + <name>Mike Gilbert</name> + </maintainer> <longdescription> Neon is an HTTP and WebDAV client library for Unix systems, with a C language API. It provides high-level interfaces to HTTP/1.1 and WebDAV @@ -14,16 +25,14 @@ 低い視点でのインターフェイス、簡単に実装できるようにした新しいメソッド といったものを提供します。 </longdescription> + <upstream> + <remote-id type="cpe">cpe:/a:neon:neon</remote-id> + </upstream> <use> <flag name="libproxy">Add support for <pkg>net-libs/libproxy</pkg> </flag> <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> - </upstream> <origin>baldeagleos-repo</origin> </pkgmetadata> diff --git a/net-libs/neon/neon-0.34.0.ebuild b/net-libs/neon/neon-0.34.0.ebuild deleted file mode 100644 index 1d9b2b29f14f..000000000000 --- a/net-libs/neon/neon-0.34.0.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# 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 ~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? ( virtual/zlib:=[${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 -} diff --git a/net-libs/neon/neon-0.37.0.ebuild b/net-libs/neon/neon-0.37.0.ebuild new file mode 100644 index 000000000000..b32ce2572dd7 --- /dev/null +++ b/net-libs/neon/neon-0.37.0.ebuild @@ -0,0 +1,122 @@ +# Copyright 2021-2026 Liguros 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/" +# Tar files from github don't work, as they don't contain the gmo files +SRC_URI="https://notroj.github.io/neon/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/37" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" +RESTRICT="test" + +RDEPEND="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}] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + app-text/xmlto +" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/neon-config +) + +src_prepare() { + # Use CHOST-prefixed version of xml2-config for cross-compilation. + sed -e "s/AC_CHECK_PROG(XML2_CONFIG,/AC_CHECK_TOOL(XML2_CONFIG,/" -i macros/neon-xml-parser.m4 || die "sed failed" + + # Fix compatibility with OpenSSL >=1.1. + sed -e "s/RSA_F_RSA_PRIVATE_ENCRYPT/RSA_F_RSA_OSSL_PRIVATE_ENCRYPT/" -i src/ne_pkcs11.c || die "sed failed" + + # Support LibreSSL. + # Functions RSA_meth_get0_app_data() and RSA_meth_set0_app_data() are not implemented in LibreSSL 2.9.2. + sed -e "1202s/#if OPENSSL_VERSION_NUMBER < 0x10100000L/& || defined(LIBRESSL_VERSION_NUMBER)/" -i src/ne_openssl.c || die "sed failed" + sed -e "97a #if defined(LIBRESSL_VERSION_NUMBER)\nstatic void *RSA_meth_get0_app_data(const RSA_METHOD *meth)\n{\n return meth->app_data;\n}\nstatic int RSA_meth_set0_app_data(RSA_METHOD *meth, void *app_data)\n{\n meth->app_data = app_data;\n return 1;\n}\n#endif" -i src/ne_pkcs11.c || die "sed failed" + fi + + eapply_user + + if test ! -f ${S}/.version; then + # Building from SVN rather than in a release + echo 0.0.0-dev > ${S}/.version + # for the documentation: + date +"%e %B %Y" | tr -d '\n' > ${S}/doc/date.xml + echo 0.0.0-dev > ${S}/doc/version.xml + fi + + 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_enable static-libs static) \ + $(use_with zlib) \ + "${myconf[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install-{config,headers,lib,man,nls} + + if multilib_is_native_abi && use doc; then + ( + docinto html + dodoc -r doc/html/* + ) + fi +} + +multilib_src_install_all() { + find "${D}" -name "*.la" -type f -delete || die + + dodoc AUTHORS NEWS README.md THANKS TODO +} diff --git a/net-libs/neon/neon-0.37.1.ebuild b/net-libs/neon/neon-0.37.1.ebuild new file mode 100644 index 000000000000..b32ce2572dd7 --- /dev/null +++ b/net-libs/neon/neon-0.37.1.ebuild @@ -0,0 +1,122 @@ +# Copyright 2021-2026 Liguros 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/" +# Tar files from github don't work, as they don't contain the gmo files +SRC_URI="https://notroj.github.io/neon/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/37" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" +RESTRICT="test" + +RDEPEND="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}] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + app-text/xmlto +" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/neon-config +) + +src_prepare() { + # Use CHOST-prefixed version of xml2-config for cross-compilation. + sed -e "s/AC_CHECK_PROG(XML2_CONFIG,/AC_CHECK_TOOL(XML2_CONFIG,/" -i macros/neon-xml-parser.m4 || die "sed failed" + + # Fix compatibility with OpenSSL >=1.1. + sed -e "s/RSA_F_RSA_PRIVATE_ENCRYPT/RSA_F_RSA_OSSL_PRIVATE_ENCRYPT/" -i src/ne_pkcs11.c || die "sed failed" + + # Support LibreSSL. + # Functions RSA_meth_get0_app_data() and RSA_meth_set0_app_data() are not implemented in LibreSSL 2.9.2. + sed -e "1202s/#if OPENSSL_VERSION_NUMBER < 0x10100000L/& || defined(LIBRESSL_VERSION_NUMBER)/" -i src/ne_openssl.c || die "sed failed" + sed -e "97a #if defined(LIBRESSL_VERSION_NUMBER)\nstatic void *RSA_meth_get0_app_data(const RSA_METHOD *meth)\n{\n return meth->app_data;\n}\nstatic int RSA_meth_set0_app_data(RSA_METHOD *meth, void *app_data)\n{\n meth->app_data = app_data;\n return 1;\n}\n#endif" -i src/ne_pkcs11.c || die "sed failed" + fi + + eapply_user + + if test ! -f ${S}/.version; then + # Building from SVN rather than in a release + echo 0.0.0-dev > ${S}/.version + # for the documentation: + date +"%e %B %Y" | tr -d '\n' > ${S}/doc/date.xml + echo 0.0.0-dev > ${S}/doc/version.xml + fi + + 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_enable static-libs static) \ + $(use_with zlib) \ + "${myconf[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install-{config,headers,lib,man,nls} + + if multilib_is_native_abi && use doc; then + ( + docinto html + dodoc -r doc/html/* + ) + fi +} + +multilib_src_install_all() { + find "${D}" -name "*.la" -type f -delete || die + + dodoc AUTHORS NEWS README.md THANKS TODO +} |
