diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/neon | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/neon')
-rw-r--r-- | net-libs/neon/Manifest | 2 | ||||
-rw-r--r-- | net-libs/neon/files/neon-0.30.1-xml2-config.patch | 15 | ||||
-rw-r--r-- | net-libs/neon/metadata.xml | 25 | ||||
-rw-r--r-- | net-libs/neon/neon-0.30.0-r1.ebuild | 108 | ||||
-rw-r--r-- | net-libs/neon/neon-0.30.0.ebuild | 96 | ||||
-rw-r--r-- | net-libs/neon/neon-0.30.1.ebuild | 110 |
6 files changed, 356 insertions, 0 deletions
diff --git a/net-libs/neon/Manifest b/net-libs/neon/Manifest new file mode 100644 index 000000000000..ec1be1836ca4 --- /dev/null +++ b/net-libs/neon/Manifest @@ -0,0 +1,2 @@ +DIST neon-0.30.0.tar.gz 909989 SHA256 2962cfcb5d30f3272e3d2fa0e473434419770a3801afe3d46e5d1650787990c2 SHA512 67f8a6c5549c37d984d8a0af88cd93c8c51593fa995662fd686e47acb630143d7b0c02c09d3c19f6a0181e0ff82940618cf72a76f9cb17bb964293f4118f013e WHIRLPOOL 75df16aae54410e97887ad1b1d45a17e58868cffff7d929f511c4840179ace1500c33228b02de7a038b9620d729e5153e1e14cc916ed1af9ce90bf4c49fb4b71 +DIST neon-0.30.1.tar.gz 911414 SHA256 00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd SHA512 4a9e45c886e04c5e1a1c781f7c2544b73724e09745097b1e8dc9adf9acd79af1762d668d4f18c295d7b4148d57af797834dd3c1203f2529089f7d1972ca71e63 WHIRLPOOL 747385544f0fbacc6c39fa5911ee5a21654ac21ecea89f297c17b43c21a7a649ae47b08b155733e9da0286a24024f4e54dcff3c9c2d678d9abe27f83054d718b diff --git a/net-libs/neon/files/neon-0.30.1-xml2-config.patch b/net-libs/neon/files/neon-0.30.1-xml2-config.patch new file mode 100644 index 000000000000..1290101844ca --- /dev/null +++ b/net-libs/neon/files/neon-0.30.1-xml2-config.patch @@ -0,0 +1,15 @@ +locate the $CHOST prefixed version of xml2-config by default + +would be better to use pkg-config here, but this patch is minimally invasive + +--- a/macros/neon-xml-parser.m4 ++++ b/macros/neon-xml-parser.m4 +@@ -44,7 +44,7 @@ AC_CHECK_HEADER(expat.h, + + dnl Find libxml2: run $1 if found, else $2 + AC_DEFUN([NE_XML_LIBXML2], [ +-AC_CHECK_PROG(XML2_CONFIG, xml2-config, xml2-config) ++AC_CHECK_TOOL(XML2_CONFIG, xml2-config, xml2-config) + if test -n "$XML2_CONFIG"; then + neon_xml_parser_message="libxml `$XML2_CONFIG --version`" + AC_DEFINE(HAVE_LIBXML, 1, [Define if you have libxml]) diff --git a/net-libs/neon/metadata.xml b/net-libs/neon/metadata.xml new file mode 100644 index 000000000000..25503b43cd02 --- /dev/null +++ b/net-libs/neon/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>arfrever.fta@gmail.com</email> + </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 + 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> +</pkgmetadata> diff --git a/net-libs/neon/neon-0.30.0-r1.ebuild b/net-libs/neon/neon-0.30.0-r1.ebuild new file mode 100644 index 000000000000..592d0b4f0e39 --- /dev/null +++ b/net-libs/neon/neon-0.30.0-r1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit autotools eutils libtool multilib-minimal + +DESCRIPTION="HTTP and WebDAV client library" +HOMEPAGE="http://www.webdav.org/neon/" +SRC_URI="http://www.webdav.org/neon/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/27" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" +IUSE_LINGUAS="cs de fr ja nn pl ru tr zh_CN" +for lingua in ${IUSE_LINGUAS}; do + IUSE+=" linguas_${lingua}" +done +unset lingua +RESTRICT="test" + +RDEPEND="expat? ( >=dev-libs/expat-2.1.0-r3:0=[${MULTILIB_USEDEP}] ) + !expat? ( >=dev-libs/libxml2-2.9.1-r4:2=[${MULTILIB_USEDEP}] ) + gnutls? ( + app-misc/ca-certificates + >=net-libs/gnutls-2.12.23-r6:0=[${MULTILIB_USEDEP}] + pkcs11? ( >=dev-libs/pakchois-0.4-r1:0=[${MULTILIB_USEDEP}] ) + ) + !gnutls? ( ssl? ( + >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] + pkcs11? ( >=dev-libs/pakchois-0.4-r1:0=[${MULTILIB_USEDEP}] ) + ) ) + kerberos? ( >=virtual/krb5-0-r1:0=[${MULTILIB_USEDEP}] ) + libproxy? ( >=net-libs/libproxy-0.4.11-r1:0=[${MULTILIB_USEDEP}] ) + nls? ( >=virtual/libintl-0-r1:0=[${MULTILIB_USEDEP}] ) + zlib? ( >=sys-libs/zlib-1.2.8-r1:0=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" +RDEPEND="${RDEPEND} + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140508-r8 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/neon-config +) + +src_prepare() { + local lingua linguas + for lingua in ${IUSE_LINGUAS}; do + use linguas_${lingua} && linguas+=" ${lingua}" + done + sed -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/" -i configure.in + + AT_M4DIR="macros" eautoreconf + + elibtoolize +} + +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 gnutls; then + myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt") + elif use ssl; then + myconf+=(--with-ssl=openssl) + fi + + ECONF_SOURCE=${S} \ + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --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 use doc; then + emake DESTDIR="${D}" install-html + fi +} + +multilib_src_install_all() { + prune_libtool_files --all + + dodoc AUTHORS BUGS NEWS README THANKS TODO +} diff --git a/net-libs/neon/neon-0.30.0.ebuild b/net-libs/neon/neon-0.30.0.ebuild new file mode 100644 index 000000000000..79e3aa4a03d6 --- /dev/null +++ b/net-libs/neon/neon-0.30.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit autotools libtool + +DESCRIPTION="HTTP and WebDAV client library" +HOMEPAGE="http://www.webdav.org/neon/" +SRC_URI="http://www.webdav.org/neon/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/27" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" +IUSE_LINGUAS="cs de fr ja nn pl ru tr zh_CN" +for lingua in ${IUSE_LINGUAS}; do + IUSE+=" linguas_${lingua}" +done +unset lingua +RESTRICT="test" + +RDEPEND="expat? ( dev-libs/expat:0= ) + !expat? ( dev-libs/libxml2:2= ) + gnutls? ( + app-misc/ca-certificates + net-libs/gnutls:0= + pkcs11? ( dev-libs/pakchois:0= ) + ) + !gnutls? ( ssl? ( + dev-libs/openssl:0= + pkcs11? ( dev-libs/pakchois:0= ) + ) ) + kerberos? ( virtual/krb5:0= ) + libproxy? ( net-libs/libproxy:0= ) + nls? ( virtual/libintl:0= ) + zlib? ( sys-libs/zlib:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + local lingua linguas + for lingua in ${IUSE_LINGUAS}; do + use linguas_${lingua} && linguas+=" ${lingua}" + done + sed -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/" -i configure.in + + AT_M4DIR="macros" eautoreconf + + elibtoolize +} + +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 gnutls; then + myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt") + elif use ssl; then + myconf+=(--with-ssl=openssl) + fi + + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --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[@]}" +} + +src_install() { + emake DESTDIR="${D}" install-{config,headers,lib,man,nls} + + find "${ED}" -name "*.la" -delete + + if use doc; then + emake DESTDIR="${D}" install-html + fi + + dodoc AUTHORS BUGS NEWS README THANKS TODO +} diff --git a/net-libs/neon/neon-0.30.1.ebuild b/net-libs/neon/neon-0.30.1.ebuild new file mode 100644 index 000000000000..3a4f5a69caec --- /dev/null +++ b/net-libs/neon/neon-0.30.1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit autotools libtool multilib-minimal + +DESCRIPTION="HTTP and WebDAV client library" +HOMEPAGE="http://www.webdav.org/neon/" +SRC_URI="http://www.webdav.org/neon/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/27" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib" +IUSE_LINGUAS="cs de fr ja nn pl ru tr zh_CN" +for lingua in ${IUSE_LINGUAS}; do + IUSE+=" linguas_${lingua}" +done +unset lingua +RESTRICT="test" + +RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] ) + !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) + gnutls? ( + app-misc/ca-certificates + net-libs/gnutls:0=[${MULTILIB_USEDEP}] + pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] ) + ) + !gnutls? ( ssl? ( + dev-libs/openssl:0=[${MULTILIB_USEDEP}] + pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] ) + ) ) + kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] ) + libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] ) + nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] ) + zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}]" +RDEPEND="${RDEPEND} + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140508-r8 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/neon-config +) + +src_prepare() { + local lingua linguas + for lingua in ${IUSE_LINGUAS}; do + use linguas_${lingua} && linguas+=" ${lingua}" + done + sed -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/" -i configure.ac || die + + epatch "${FILESDIR}"/${P}-xml2-config.patch + 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 gnutls; then + myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt") + elif use ssl; then + myconf+=(--with-ssl=openssl) + fi + + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --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 + dohtml -r doc/html/ + fi +} + +multilib_src_install_all() { + find "${ED}" -name "*.la" -delete + + dodoc AUTHORS BUGS NEWS README THANKS TODO +} |