summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2009-12-09 19:12:31 +0000
committerTiziano Müller <dev-zero@gentoo.org>2009-12-09 19:12:31 +0000
commite2a27d68ff746e2f37e86e00ac3abeead2791647 (patch)
tree1ecbd80cc00aa09770951dd842b0692b2f5a84a1 /net-misc
parentversion bump, thanks Pavel (diff)
downloadhistorical-e2a27d68ff746e2f37e86e00ac3abeead2791647.tar.gz
historical-e2a27d68ff746e2f37e86e00ac3abeead2791647.tar.bz2
historical-e2a27d68ff746e2f37e86e00ac3abeead2791647.zip
Version bump.
Package-Manager: portage-2.2_rc56/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/aria2/ChangeLog7
-rw-r--r--net-misc/aria2/Manifest4
-rw-r--r--net-misc/aria2/aria2-1.7.0.ebuild85
3 files changed, 94 insertions, 2 deletions
diff --git a/net-misc/aria2/ChangeLog b/net-misc/aria2/ChangeLog
index 59614ff33e7e..2bf343d841fd 100644
--- a/net-misc/aria2/ChangeLog
+++ b/net-misc/aria2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/aria2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.52 2009/12/04 21:25:02 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.53 2009/12/09 19:12:31 dev-zero Exp $
+
+*aria2-1.7.0 (09 Dec 2009)
+
+ 09 Dec 2009; Tiziano Müller <dev-zero@gentoo.org> +aria2-1.7.0.ebuild:
+ Version bump.
*aria2-1.6.3-r1 (04 Dec 2009)
diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 5920758298ef..5bafacbf07e1 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,6 +1,8 @@
AUX 1.6.3-unaligned_pointers.patch 2252 RMD160 2f5112c335d8d4b71d6c0bc5cf978e8a514757c1 SHA1 9c3ccbb2176903ec2b0335fe4cfcb5472840a0fa SHA256 c0b6e645c07f00a175efc12ca6967289fa6345840a8aacc5ac18a776d96408bd
DIST aria2-1.6.3.tar.bz2 1334838 RMD160 4a2b0d88563a526e257248837d7517bbba9405fc SHA1 5a3afab9751dcc59a90c543c26a187f931b18325 SHA256 a5ecde46c8cf2bb3e17f0930c027c3a9f8907c1c2428b0827e5ef67fbfb3d022
+DIST aria2-1.7.0.tar.bz2 1365313 RMD160 bc8a2c7e04f8710f98a17c9a9f3f740515ac9bf4 SHA1 ba23a471b30952412964e72d9d0e844595df5337 SHA256 0bf9535f40f175e36314b7c5ae3d1cf502d9265ab42c3cadb89807e10a1ceedb
EBUILD aria2-1.6.3-r1.ebuild 2620 RMD160 74c45a276419b1677165807ded93fdac89830581 SHA1 5dc2399be195802edb98dcf375b4c4fdc59f3ae2 SHA256 6f8ecd5f014a00beacca19b9bf6dd8a29227fa82c2aeda3969cfab4fa6f73b80
EBUILD aria2-1.6.3.ebuild 2176 RMD160 1f33099a73e8ef123b5f7d3ddde732f7851cb9ed SHA1 e37db18d36893103323b14a098f23046eddb5554 SHA256 8c94005c0291a09d0b201661367abdf3bea5ca96a31c4ea7e7022a9de0893a07
-MISC ChangeLog 10891 RMD160 20e008e7e9e2bef67cf72f09624928fab47c0630 SHA1 0f2f16ff141b14962cf7398e19a9c0e701b5f16c SHA256 760a42a67b41715664feb73acf941d142183d6f4a5fe1c00b2c002af92bd1b23
+EBUILD aria2-1.7.0.ebuild 2604 RMD160 aab1bc855665ef2fefb020b321090766df7dbb44 SHA1 a9dc5499976cfe0757090e92140782454ce0230d SHA256 2c9bec8134e1d856a2d463353bb4c66f7cd813a59ff5aad5a107d2078238462d
+MISC ChangeLog 11010 RMD160 2ca17baf67f0ec9119ee8e7a08a542be6211d4f0 SHA1 fcafb1d777b9b4c45a7d71409ebf2448fc60a873 SHA256 e14a00a8dfcaf0e9d9529065577773d574b55cb1050598ef3443049818713f5b
MISC metadata.xml 612 RMD160 e0aebf17bcb8f0e46ddb8f79ba92843546fcf8ba SHA1 a3b90fb02e250404e0140c676aab838f71868027 SHA256 7770e300e9e5afefc7aab67ce7759324e5d04f87b80d335f4310f2fe90f28010
diff --git a/net-misc/aria2/aria2-1.7.0.ebuild b/net-misc/aria2/aria2-1.7.0.ebuild
new file mode 100644
index 000000000000..f92877f2f045
--- /dev/null
+++ b/net-misc/aria2/aria2-1.7.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-1.7.0.ebuild,v 1.1 2009/12/09 19:12:31 dev-zero 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/*
+}