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