diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /net-libs/neon | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'net-libs/neon')
| -rw-r--r-- | net-libs/neon/Manifest | 1 | ||||
| -rw-r--r-- | net-libs/neon/metadata.xml | 29 | ||||
| -rw-r--r-- | net-libs/neon/neon-0.34.0.ebuild | 105 |
3 files changed, 135 insertions, 0 deletions
diff --git a/net-libs/neon/Manifest b/net-libs/neon/Manifest new file mode 100644 index 000000000000..b84589ccef00 --- /dev/null +++ b/net-libs/neon/Manifest @@ -0,0 +1 @@ +DIST neon-0.34.0.tar.gz 928587 BLAKE2B 1dedf044b4da1a08b1da14db4b5e6873482f101a2105b7753539795b5e61d1b92fd8b25fc54b82083c7f78cabc476b264f3d22bc9c2f28314f6acd205243e8b0 SHA512 3ac77f6964bda3d3bb6190d982e0573f4e1a3e611afa40be7d79829419a2a1bc787905f12057aa30a4bbe80e8b8efd39408fd886e2e36fc4f7cae12b47ed8f29 diff --git a/net-libs/neon/metadata.xml b/net-libs/neon/metadata.xml new file mode 100644 index 000000000000..c0848996b039 --- /dev/null +++ b/net-libs/neon/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <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 + methods, and a low-level interface to HTTP request/response handling, + allowing new methods to be easily implemented. + </longdescription> + <longdescription lang="ja"> + neon は Unix システムにおける HTTP 及び WebDAV クライアント・ライブラリ + であり、C言語 API です。HTTP/1.1 及び WebDAV のメソッドという高い視点 + でのインターフェイス、HTTP リクエスト/レスポンス のハンドリングという + 低い視点でのインターフェイス、簡単に実装できるようにした新しいメソッド + といったものを提供します。 + </longdescription> + <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 new file mode 100644 index 000000000000..1d9b2b29f14f --- /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 ~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 +} |
