diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-03-28 09:37:17 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-03-28 09:37:17 +0000 |
commit | f2f74db18e224b2a51bdb503b54c2b02225a236e (patch) | |
tree | 21500a615bee6e7b7464da2c58247f19f607e9ca /net-misc | |
parent | Version bump. The new version introduces support for UDP trackers. (diff) | |
download | gentoo-2-f2f74db18e224b2a51bdb503b54c2b02225a236e.tar.gz gentoo-2-f2f74db18e224b2a51bdb503b54c2b02225a236e.tar.bz2 gentoo-2-f2f74db18e224b2a51bdb503b54c2b02225a236e.zip |
Drop old and ancient.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/aria2/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/aria2/aria2-1.12.1.ebuild | 94 | ||||
-rw-r--r-- | net-misc/aria2/aria2-1.14.1.ebuild | 103 | ||||
-rw-r--r-- | net-misc/aria2/aria2-1.15.0.ebuild | 112 | ||||
-rw-r--r-- | net-misc/aria2/aria2-1.16.0.ebuild | 133 | ||||
-rw-r--r-- | net-misc/aria2/aria2-1.16.1.ebuild | 135 | ||||
-rw-r--r-- | net-misc/aria2/aria2-1.9.3.ebuild | 85 | ||||
-rw-r--r-- | net-misc/aria2/metadata.xml | 1 |
8 files changed, 6 insertions, 664 deletions
diff --git a/net-misc/aria2/ChangeLog b/net-misc/aria2/ChangeLog index ae0bbeed87d3..17c7d2f4c7e4 100644 --- a/net-misc/aria2/ChangeLog +++ b/net-misc/aria2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/aria2 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.89 2013/03/28 09:13:25 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.90 2013/03/28 09:37:17 mgorny Exp $ + + 28 Mar 2013; Michał Górny <mgorny@gentoo.org> -aria2-1.12.1.ebuild, + -aria2-1.14.1.ebuild, -aria2-1.15.0.ebuild, -aria2-1.16.0.ebuild, + -aria2-1.16.1.ebuild, -aria2-1.9.3.ebuild, metadata.xml: + Drop old and ancient. *aria2-1.16.5 (28 Mar 2013) diff --git a/net-misc/aria2/aria2-1.12.1.ebuild b/net-misc/aria2/aria2-1.12.1.ebuild deleted file mode 100644 index d3a45918caa4..000000000000 --- a/net-misc/aria2/aria2-1.12.1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-1.12.1.ebuild,v 1.3 2012/11/11 16:56:18 jlec Exp $ - -EAPI="2" - -inherit bash-completion - -DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support." -HOMEPAGE="http://aria2.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -SLOT="0" -IUSE="ares bash-completion bittorrent expat gnutls metalink nls scripts sqlite ssl test xmlrpc" - -CDEPEND="sys-libs/zlib - ssl? ( - gnutls? ( >=net-libs/gnutls-1.2.9 ) - !gnutls? ( dev-libs/openssl ) ) - ares? ( >=net-dns/c-ares-1.5.0 ) - bittorrent? ( - gnutls? ( >=net-libs/gnutls-2.2.0 >=dev-libs/libgcrypt-1.2.2 ) - !gnutls? ( dev-libs/openssl ) ) - metalink? ( - !expat? ( >=dev-libs/libxml2-2.6.26 ) - expat? ( dev-libs/expat ) ) - sqlite? ( dev-db/sqlite:3 ) - xmlrpc? ( - !expat? ( >=dev-libs/libxml2-2.6.26 ) - expat? ( dev-libs/expat ) )" -DEPEND="${CDEPEND} - app-text/asciidoc - virtual/pkgconfig - nls? ( sys-devel/gettext ) - test? ( >=dev-util/cppunit-1.12.0 )" -RDEPEND="${CDEPEND} - scripts? ( dev-lang/ruby ) - nls? ( virtual/libiconv virtual/libintl )" - -RESTRICT="test" - -pkg_setup() { - if use scripts && use !xmlrpc && use !metalink; then - ewarn "Please also enable the 'xmlrpc' USE flag to actually use the additional scripts" - fi -} - -src_prepare() { - sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed" -} - -src_configure() { - local myconf="--without-gnutls --without-openssl" - use ssl && \ - myconf="$(use_with gnutls) $(use_with !gnutls openssl)" - - local xmllib="--without-libexpat --without-libxml2" - if use metalink || use xmlrpc ; then - xmllib="$(use_with expat libexpat) $(use_with !expat libxml2)" - fi - - # Note: - # - depends on libgcrypt only when using gnutls - # - if --without-libexpat or --without-libxml2 are not given, it links against - # one of them to provide xmlrpc-functionality - # - always enable gzip/http compression since zlib should always be available anyway - # - always enable epoll since we can assume kernel 2.6.x - # - other options for threads: solaris, pth, win32 - econf \ - --enable-epoll \ - --enable-threads=posix \ - --with-libz \ - $(use_enable nls) \ - $(use_enable metalink) \ - $(use_with sqlite sqlite3) \ - $(use_enable bittorrent) \ - $(use_with ares libcares) \ - ${xmllib} \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - rm -rf "${D}/usr/share/doc/aria2" - dodoc ChangeLog README AUTHORS NEWS - dohtml README.html doc/aria2c.1.html - - use bash-completion && dobashcompletion doc/bash_completion/aria2c - - use scripts && dobin doc/xmlrpc/aria2{mon,rpc} -} diff --git a/net-misc/aria2/aria2-1.14.1.ebuild b/net-misc/aria2/aria2-1.14.1.ebuild deleted file mode 100644 index 2d387b39f89d..000000000000 --- a/net-misc/aria2/aria2-1.14.1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-1.14.1.ebuild,v 1.5 2012/11/11 16:56:18 jlec Exp $ - -EAPI="4" - -inherit bash-completion-r1 - -DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support." -HOMEPAGE="http://aria2.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -SLOT="0" -IUSE="ares bash-completion bittorrent doc expat gnutls metalink nls scripts sqlite ssl test xmlrpc" -#IUSE="nettle" - -CDEPEND="sys-libs/zlib - ssl? ( - gnutls? ( >=net-libs/gnutls-1.2.9 ) - !gnutls? ( dev-libs/openssl ) ) - ares? ( >=net-dns/c-ares-1.5.0 ) - bittorrent? ( - gnutls? ( >=net-libs/gnutls-2.2.0 >=dev-libs/libgcrypt-1.2.2 ) - !gnutls? ( dev-libs/openssl ) ) - metalink? ( - !expat? ( >=dev-libs/libxml2-2.6.26 ) - expat? ( dev-libs/expat ) ) - sqlite? ( dev-db/sqlite:3 ) - xmlrpc? ( - !expat? ( >=dev-libs/libxml2-2.6.26 ) - expat? ( dev-libs/expat ) )" -#CDEPEND="bittorrent? ( -# nettle? ( >=dev-libs/nettle-2.4 >=dev-libs/gmp-5 ) -# !nettle? ( -# gnutls? ( >=net-libs/gnutls-2.2.0 >=dev-libs/libgcrypt-1.2.2 ) -# !gnutls? ( dev-libs/openssl ) ) )" - -DEPEND="${CDEPEND} - virtual/pkgconfig - doc? ( app-text/asciidoc ) - nls? ( sys-devel/gettext ) - test? ( >=dev-util/cppunit-1.12.0 )" -RDEPEND="${CDEPEND} - scripts? ( dev-lang/ruby ) - nls? ( virtual/libiconv virtual/libintl )" - -pkg_setup() { - if use scripts && use !xmlrpc && use !metalink; then - ewarn "Please also enable the 'xmlrpc' USE flag to actually use the additional scripts" - fi -} - -src_prepare() { - sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed" -} - -src_configure() { - local myconf="--without-gnutls --without-libgcrypt --without-openssl" - use ssl && \ - myconf="$(use_with gnutls) $(use_with gnutls libgcrypt) $(use_with !gnutls openssl)" - - local xmllib="--without-libexpat --without-libxml2" - if use metalink || use xmlrpc ; then - xmllib="$(use_with expat libexpat) $(use_with !expat libxml2)" - fi - - use doc || export ac_cv_path_ASCIIDOC= - - # Note: - # - depends on libgcrypt only when using gnutls - # - if --without-libexpat or --without-libxml2 are not given, it links against - # one of them to provide xmlrpc-functionality - # - always enable gzip/http compression since zlib should always be available anyway - # - always enable epoll since we can assume kernel 2.6.x - # - other options for threads: solaris, pth, win32 - econf \ - --enable-epoll \ - --enable-threads=posix \ - --with-libz \ - $(use_enable nls) \ - $(use_enable metalink) \ - $(use_with sqlite sqlite3) \ - $(use_enable bittorrent) \ - $(use_with ares libcares) \ - --without-libnettle --without-libgmp \ - ${xmllib} \ - ${myconf} -# $(use_with nettle libnettle) \ -# $(use_with nettle libgmp) \ -} - -src_install() { - default - - rm -rf "${D}/usr/share/doc/aria2" - dohtml README.html doc/aria2c.1.html - - use bash-completion && dobashcomp doc/bash_completion/aria2c - - use scripts && dobin doc/xmlrpc/aria2{mon,rpc} -} diff --git a/net-misc/aria2/aria2-1.15.0.ebuild b/net-misc/aria2/aria2-1.15.0.ebuild deleted file mode 100644 index 970addaa1863..000000000000 --- a/net-misc/aria2/aria2-1.15.0.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-1.15.0.ebuild,v 1.3 2012/11/11 16:56:18 jlec Exp $ - -EAPI="4" - -inherit bash-completion-r1 - -DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support." -HOMEPAGE="http://aria2.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -SLOT="0" -IUSE="ares bash-completion bittorrent doc expat gnutls metalink nettle nls scripts sqlite ssl test xmlrpc" - -REQUIRED_USE="gnutls? ( ssl )" - -CDEPEND="sys-libs/zlib - ssl? ( - gnutls? ( >=net-libs/gnutls-1.2.9 ) - !gnutls? ( dev-libs/openssl ) ) - ares? ( >=net-dns/c-ares-1.5.0 ) - bittorrent? ( - ssl? ( gnutls? ( - nettle? ( >=dev-libs/nettle-2.4[gmp] >=dev-libs/gmp-5 ) - !nettle? ( >=dev-libs/libgcrypt-1.2.2 ) ) ) - !ssl? ( nettle? ( >=dev-libs/nettle-2.4[gmp] >=dev-libs/gmp-5 ) - !nettle? ( >=dev-libs/libgcrypt-1.2.2 ) ) ) - metalink? ( - !expat? ( >=dev-libs/libxml2-2.6.26 ) - expat? ( dev-libs/expat ) ) - sqlite? ( dev-db/sqlite:3 ) - xmlrpc? ( - !expat? ( >=dev-libs/libxml2-2.6.26 ) - expat? ( dev-libs/expat ) )" - -DEPEND="${CDEPEND} - virtual/pkgconfig - doc? ( app-text/asciidoc ) - nls? ( sys-devel/gettext ) - test? ( >=dev-util/cppunit-1.12.0 )" -RDEPEND="${CDEPEND} - scripts? ( dev-lang/ruby ) - nls? ( virtual/libiconv virtual/libintl )" - -pkg_setup() { - if use scripts && use !xmlrpc && use !metalink; then - ewarn "Please also enable the 'xmlrpc' USE flag to actually use the additional scripts" - fi -} - -src_prepare() { - sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed" -} - -src_configure() { - local myconf="--without-gnutls --without-openssl" - use ssl && \ - myconf="$(use_with gnutls) $(use_with !gnutls openssl)" - - # according to upstream: - # * only link against one of the crypto-libs if bittorrent-support is requested - # * if openssl is available, it's crypto-api is used for everything, thus: - # * if SSL support is requested and openssl is used, disable all other - # crypto libs - # * if no SSL support is requested or SSL via GnuTLS is requested, enable - # crypto libs as requested - if (use bittorrent && ((use ssl && use gnutls) || use !ssl)); then - myconf+=" $(use_with !nettle libgcrypt) $(use_with nettle libnettle) $(use_with nettle libgmp)" - else - myconf+=" --without-libgcrypt --without-libnettle -without-libgmp" - fi - - if use metalink || use xmlrpc ; then - myconf+=" $(use_with expat libexpat) $(use_with !expat libxml2)" - else - myconf+=" --without-libexpat --without-libxml2" - fi - - use doc || export ac_cv_path_ASCIIDOC= - - # Note: - # - depends on libgcrypt only when using gnutls - # - if --without-libexpat or --without-libxml2 are not given, it links against - # one of them to provide xmlrpc-functionality - # - always enable gzip/http compression since zlib should always be available anyway - # - always enable epoll since we can assume kernel 2.6.x - # - other options for threads: solaris, pth, win32 - econf \ - --enable-epoll \ - --enable-threads=posix \ - --with-libz \ - $(use_enable nls) \ - $(use_enable metalink) \ - $(use_with sqlite sqlite3) \ - $(use_enable bittorrent) \ - $(use_with ares libcares) \ - ${myconf} -} - -src_install() { - default - - rm -rf "${ED}/usr/share/doc/aria2" - dohtml README.html doc/aria2c.1.html - - use bash-completion && dobashcomp doc/bash_completion/aria2c - - use scripts && dobin doc/xmlrpc/aria2{mon,rpc} -} diff --git a/net-misc/aria2/aria2-1.16.0.ebuild b/net-misc/aria2/aria2-1.16.0.ebuild deleted file mode 100644 index 0d2ee20f16d2..000000000000 --- a/net-misc/aria2/aria2-1.16.0.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-1.16.0.ebuild,v 1.1 2012/12/03 09:53:47 mgorny Exp $ - -EAPI="4" - -inherit bash-completion-r1 eutils - -DESCRIPTION="A download utility with segmented downloading with BitTorrent support" -HOMEPAGE="http://aria2.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -SLOT="0" -IUSE="adns bittorrent +gnutls +libxml2 metalink +nettle nls sqlite scripts ssl test xmlrpc" - -CDEPEND="sys-libs/zlib - ssl? ( - gnutls? ( >=net-libs/gnutls-1.2.9 ) - !gnutls? ( dev-libs/openssl ) ) - adns? ( >=net-dns/c-ares-1.5.0 ) - bittorrent? ( - ssl? ( - gnutls? ( - nettle? ( >=dev-libs/nettle-2.4[gmp] >=dev-libs/gmp-5 ) - !nettle? ( >=dev-libs/libgcrypt-1.2.2 ) ) ) - !ssl? ( - nettle? ( >=dev-libs/nettle-2.4[gmp] >=dev-libs/gmp-5 ) - !nettle? ( >=dev-libs/libgcrypt-1.2.2 ) ) ) - metalink? ( - libxml2? ( >=dev-libs/libxml2-2.6.26 ) - !libxml2? ( dev-libs/expat ) ) - sqlite? ( dev-db/sqlite:3 ) - xmlrpc? ( - libxml2? ( >=dev-libs/libxml2-2.6.26 ) - !libxml2? ( dev-libs/expat ) )" - -DEPEND="${CDEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext ) - test? ( >=dev-util/cppunit-1.12.0 )" -RDEPEND="${CDEPEND} - nls? ( virtual/libiconv virtual/libintl ) - scripts? ( dev-lang/ruby )" - -pkg_setup() { - if use scripts && use !xmlrpc && use !metalink; then - ewarn "Please note that you may need to enable USE=xmlrpc to run the aria2rpc" - ewarn "and aria2mon scripts against the local aria2." - fi -} - -src_prepare() { - epatch_user - sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed" -} - -src_configure() { - # Notes: - # - always enable gzip/http compression since zlib should always be available anyway - # - always enable epoll since we can assume kernel 2.6.x - # - other options for threads: solaris, pth, win32 - local myconf=( - --enable-epoll - --enable-threads=posix - --with-libz - $(use_enable nls) - $(use_enable metalink) - $(use_with sqlite sqlite3) - $(use_enable bittorrent) - $(use_with adns libcares) - ) - - # SSL := gnutls / openssl - # USE=ssl - # + USE=gnutls -> gnutls - # + USE=-gnutls -> openssl - - if use ssl; then - myconf+=( $(use_with gnutls) $(use_with !gnutls openssl) ) - else - myconf+=( --without-gnutls --without-openssl ) - fi - - # message-digest := nettle / gcrypt / openssl - # bignum := nettle+gmp / gcrypt / openssl - # bittorrent := message-digest + bignum - # USE=bittorrent - # + USE=(ssl -gnutls) -> openssl - # + USE=nettle -> nettle+gmp - # + USE=-nettle -> gcrypt - - if use !bittorrent || use ssl && use !gnutls; then - myconf+=( --without-libgcrypt --without-libnettle --without-libgmp ) - else - myconf+=( $(use_with !nettle libgcrypt) - $(use_with nettle libnettle) $(use_with nettle libgmp) ) - fi - - # metalink+xmlrpc := libxml2 / expat - # USE=(metalink || xmlrpc) - # + USE=libxml2 -> libxml2 - # + USE=-libxml2 -> expat - - if use metalink || use xmlrpc; then - myconf+=( $(use_with !libxml2 libexpat) $(use_with libxml2) ) - else - myconf+=( --without-libexpat --without-libxml2 ) - fi - - # Note: - # - always enable gzip/http compression since zlib should always be available anyway - # - always enable epoll since we can assume kernel 2.6.x - # - other options for threads: solaris, pth, win32 - econf "${myconf[@]}" -} - -src_install() { - default - rm -rf "${D}"/usr/share/doc/aria2 \ - "${D}"/usr/share/doc/${PF}/README{,.html} - - dobashcomp doc/bash_completion/aria2c - use scripts && dobin doc/xmlrpc/aria2{mon,rpc} -} - -pkg_postinst() { - if use xmlrpc || use metalink; then - elog "If you would like to use the additional aria2mon and aria2rpc tools," - elog "you need to have \033[1mdev-lang/ruby\033[0m installed." - fi -} diff --git a/net-misc/aria2/aria2-1.16.1.ebuild b/net-misc/aria2/aria2-1.16.1.ebuild deleted file mode 100644 index 313e0ad6f6af..000000000000 --- a/net-misc/aria2/aria2-1.16.1.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-1.16.1.ebuild,v 1.1 2012/12/28 09:58:14 dev-zero Exp $ - -EAPI="5" - -inherit bash-completion-r1 eutils - -DESCRIPTION="A download utility with segmented downloading with BitTorrent support" -HOMEPAGE="http://aria2.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -SLOT="0" -IUSE="adns bittorrent +gnutls +libxml2 metalink +nettle nls sqlite scripts ssl test xmlrpc" - -CDEPEND="sys-libs/zlib - ssl? ( - app-misc/ca-certificates - gnutls? ( >=net-libs/gnutls-1.2.9 ) - !gnutls? ( dev-libs/openssl ) ) - adns? ( >=net-dns/c-ares-1.5.0 ) - bittorrent? ( - ssl? ( - gnutls? ( - nettle? ( >=dev-libs/nettle-2.4[gmp] >=dev-libs/gmp-5 ) - !nettle? ( >=dev-libs/libgcrypt-1.2.2 ) ) ) - !ssl? ( - nettle? ( >=dev-libs/nettle-2.4[gmp] >=dev-libs/gmp-5 ) - !nettle? ( >=dev-libs/libgcrypt-1.2.2 ) ) ) - metalink? ( - libxml2? ( >=dev-libs/libxml2-2.6.26 ) - !libxml2? ( dev-libs/expat ) ) - sqlite? ( dev-db/sqlite:3 ) - xmlrpc? ( - libxml2? ( >=dev-libs/libxml2-2.6.26 ) - !libxml2? ( dev-libs/expat ) )" - -DEPEND="${CDEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext ) - test? ( >=dev-util/cppunit-1.12.0 )" -RDEPEND="${CDEPEND} - nls? ( virtual/libiconv virtual/libintl ) - scripts? ( dev-lang/ruby )" - -pkg_setup() { - if use scripts && use !xmlrpc && use !metalink; then - ewarn "Please note that you may need to enable USE=xmlrpc to run the aria2rpc" - ewarn "and aria2mon scripts against the local aria2." - fi -} - -src_prepare() { - epatch_user - sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed" -} - -src_configure() { - # Notes: - # - always enable gzip/http compression since zlib should always be available anyway - # - always enable epoll since we can assume kernel 2.6.x - # - other options for threads: solaris, pth, win32 - local myconf=( - --enable-epoll - --enable-threads=posix - --with-libz - --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" - $(use_enable nls) - $(use_enable metalink) - $(use_with sqlite sqlite3) - $(use_enable bittorrent) - $(use_with adns libcares) - ) - - # SSL := gnutls / openssl - # USE=ssl - # + USE=gnutls -> gnutls - # + USE=-gnutls -> openssl - - if use ssl; then - myconf+=( $(use_with gnutls) $(use_with !gnutls openssl) ) - else - myconf+=( --without-gnutls --without-openssl ) - fi - - # message-digest := nettle / gcrypt / openssl - # bignum := nettle+gmp / gcrypt / openssl - # bittorrent := message-digest + bignum - # USE=bittorrent - # + USE=(ssl -gnutls) -> openssl - # + USE=nettle -> nettle+gmp - # + USE=-nettle -> gcrypt - - if use !bittorrent || use ssl && use !gnutls; then - myconf+=( --without-libgcrypt --without-libnettle --without-libgmp ) - else - myconf+=( $(use_with !nettle libgcrypt) - $(use_with nettle libnettle) $(use_with nettle libgmp) ) - fi - - # metalink+xmlrpc := libxml2 / expat - # USE=(metalink || xmlrpc) - # + USE=libxml2 -> libxml2 - # + USE=-libxml2 -> expat - - if use metalink || use xmlrpc; then - myconf+=( $(use_with !libxml2 libexpat) $(use_with libxml2) ) - else - myconf+=( --without-libexpat --without-libxml2 ) - fi - - # Note: - # - always enable gzip/http compression since zlib should always be available anyway - # - always enable epoll since we can assume kernel 2.6.x - # - other options for threads: solaris, pth, win32 - econf "${myconf[@]}" -} - -src_install() { - default - rm -rf "${D}"/usr/share/doc/aria2 \ - "${D}"/usr/share/doc/${PF}/README{,.html} - - dobashcomp doc/bash_completion/aria2c - use scripts && dobin doc/xmlrpc/aria2{mon,rpc} -} - -pkg_postinst() { - if use xmlrpc || use metalink; then - elog "If you would like to use the additional aria2mon and aria2rpc tools," - elog "you need to have \033[1mdev-lang/ruby\033[0m installed." - fi -} diff --git a/net-misc/aria2/aria2-1.9.3.ebuild b/net-misc/aria2/aria2-1.9.3.ebuild deleted file mode 100644 index b5eb983c07f4..000000000000 --- a/net-misc/aria2/aria2-1.9.3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-1.9.3.ebuild,v 1.3 2010/05/23 14:23:01 phajdan.jr Exp $ - -EAPI="2" - -DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support." -HOMEPAGE="http://aria2.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" -LICENSE="GPL-2" -KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86" -SLOT="0" -IUSE="ares bittorrent expat gnutls metalink nls scripts sqlite ssl test xmlrpc" - -CDEPEND="sys-libs/zlib - ssl? ( - gnutls? ( >=net-libs/gnutls-1.2.9 ) - !gnutls? ( dev-libs/openssl ) ) - ares? ( >=net-dns/c-ares-1.5.0 ) - bittorrent? ( - gnutls? ( >=net-libs/gnutls-1.2.9 >=dev-libs/libgcrypt-1.2.2 ) - !gnutls? ( dev-libs/openssl ) ) - metalink? ( - !expat? ( >=dev-libs/libxml2-2.6.26 ) - expat? ( dev-libs/expat ) ) - sqlite? ( dev-db/sqlite:3 ) - xmlrpc? ( - !expat? ( >=dev-libs/libxml2-2.6.26 ) - expat? ( dev-libs/expat ) )" -DEPEND="${CDEPEND} - nls? ( sys-devel/gettext ) - test? ( >=dev-util/cppunit-1.12.0 )" -RDEPEND="${CDEPEND} - scripts? ( dev-lang/ruby ) - nls? ( virtual/libiconv virtual/libintl )" - -pkg_setup() { - if use scripts && use !xmlrpc && use !metalink; then - ewarn "Please also enable the 'xmlrpc' USE flag to actually use the additional scripts" - fi -} - -src_prepare() { - sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed" -} - -src_configure() { - local myconf="--without-gnutls --without-openssl" - use ssl && \ - myconf="$(use_with gnutls) $(use_with !gnutls openssl)" - - local xmllib="--without-libexpat --without-libxml2" - if use metalink || use xmlrpc ; then - xmllib="$(use_with expat libexpat) $(use_with !expat libxml2)" - fi - - # Note: - # - depends on libgcrypt only when using gnutls - # - if --without-libexpat or --without-libxml2 are not given, it links against - # one of them to provide xmlrpc-functionality - # - always enable gzip/http compression since zlib should always be available anyway - # - always enable epoll since we can assume kernel 2.6.x - # - other options for threads: solaris, pth, win32 - econf \ - --enable-epoll \ - --enable-threads=posix \ - --with-libz \ - $(use_enable nls) \ - $(use_enable metalink) \ - $(use_with sqlite sqlite3) \ - $(use_enable bittorrent) \ - $(use_with ares libcares) \ - ${xmllib} \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - rm -rf "${D}/usr/share/doc/aria2" - dodoc ChangeLog README AUTHORS NEWS - dohtml README.html doc/aria2c.1.html - - use scripts && dobin doc/xmlrpc/aria2{mon,rpc} -} diff --git a/net-misc/aria2/metadata.xml b/net-misc/aria2/metadata.xml index 39f54f45efd6..03456e5c75f4 100644 --- a/net-misc/aria2/metadata.xml +++ b/net-misc/aria2/metadata.xml @@ -10,7 +10,6 @@ <name>Michał Górny</name> </maintainer> <use> - <flag name="ares">Enables support for asynchronous DNS using the c-ares library</flag> <flag name="bittorrent">Enable support for the bittorrent protocol.</flag> <flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> for XML parsing (preferred) instead of <pkg>dev-libs/expat</pkg>.</flag> <flag name="nettle">Use <pkg>dev-libs/nettle</pkg> and <pkg>dev-libs/gmp</pkg> for bittorrent/metalink crypto instead of <pkg>dev-libs/libgcrypt</pkg> (when <pkg>dev-libs/openssl</pkg> is not being used).</flag> |