Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: ChangeLog aria2-0.16.0.ebuild aria2-0.15.2.ebuild
Date: Mon, 06 Oct 2008 16:09:23
Message-Id: E1Kmse9-00062n-Rz@stork.gentoo.org
1 dev-zero 08/10/06 16:09:21
2
3 Modified: ChangeLog
4 Added: aria2-0.16.0.ebuild
5 Removed: aria2-0.15.2.ebuild
6 Log:
7 Version bump. Keeping old for stabilization.
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc6 x86_64)
9
10 Revision Changes Path
11 1.31 net-misc/aria2/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 7 Sep 2008 10:06:51 -0000 1.30
24 +++ ChangeLog 6 Oct 2008 16:09:21 -0000 1.31
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/aria2
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.30 2008/09/07 10:06:51 dev-zero Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.31 2008/10/06 16:09:21 dev-zero Exp $
30 +
31 +*aria2-0.16.0 (06 Oct 2008)
32 +
33 + 06 Oct 2008; Tiziano Müller <dev-zero@g.o> -aria2-0.15.2.ebuild,
34 + +aria2-0.16.0.ebuild:
35 + Version bump. Keeping old for stabilization.
36
37 *aria2-0.15.3 (07 Sep 2008)
38
39
40
41
42 1.1 net-misc/aria2/aria2-0.16.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/aria2-0.16.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/aria2-0.16.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: aria2-0.16.0.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-0.16.0.ebuild,v 1.1 2008/10/06 16:09:21 dev-zero Exp $
52
53 EAPI="2"
54
55 MY_P="aria2c-${PV/_p/+}"
56
57 DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support."
58 HOMEPAGE="http://aria2.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
60 LICENSE="GPL-2"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
62 SLOT="0"
63 IUSE="ares bittorrent expat gnutls metalink nls sqlite3 ssl test"
64
65 CDEPEND="sys-libs/zlib
66 ssl? (
67 gnutls? ( >=net-libs/gnutls-1.2.9 )
68 !gnutls? ( dev-libs/openssl ) )
69 ares? ( >=net-dns/c-ares-1.3.1 )
70 bittorrent? ( gnutls? ( >=dev-libs/libgcrypt-1.2.0 ) )
71 metalink? (
72 !expat? ( >=dev-libs/libxml2-2.6.26 )
73 expat? ( dev-libs/expat )
74 )
75 sqlite3? ( dev-db/sqlite:3 )"
76 DEPEND="${CDEPEND}
77 nls? ( sys-devel/gettext )
78 test? ( >=dev-util/cppunit-1.12.0 )"
79 RDEPEND="${CDEPEND}
80 nls? ( virtual/libiconv virtual/libintl )"
81
82 S="${WORKDIR}/${MY_P}"
83
84 src_prepare() {
85 sed -i -e "s|/tmp|${T}|" test/*.cc || die "sed failed"
86 }
87
88 src_configure() {
89 use ssl && \
90 myconf="${myconf} $(use_with gnutls) $(use_with !gnutls openssl)"
91
92 # Note:
93 # - we don't have ares, only libcares
94 # - depends on libgcrypt only when using openssl
95 # - links only against libxml2 and libexpat when metalink is enabled
96 # - always enable gzip/http compression since zlib should always be anyway
97 # - always enable epoll since we can assume kernel 2.6.x
98 # - other options for threads: solaris, pth, win32
99 econf \
100 --enable-epoll \
101 --enable-threads=posix \
102 --with-libz \
103 $(use_enable nls) \
104 $(use_enable metalink) \
105 $(use_with expat libexpat) \
106 $(use_with !expat libxml2) \
107 $(use_with sqlite3) \
108 $(use_enable bittorrent) \
109 --without-ares \
110 $(use_with ares libcares) \
111 ${myconf} \
112 || die "econf failed"
113 }
114
115 src_install() {
116 emake DESTDIR="${D}" install || die "emake install failed"
117
118 rm -rf "${D}/usr/share/doc/aria2c"
119 dodoc ChangeLog README AUTHORS TODO NEWS
120 dohtml README.html doc/aria2c.1.html
121 }