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.15.1.ebuild aria2-0.15.0.ebuild
Date: Thu, 31 Jul 2008 19:25:58
Message-Id: E1KOdmd-0003DM-8T@stork.gentoo.org
1 dev-zero 08/07/31 19:25:55
2
3 Modified: ChangeLog
4 Added: aria2-0.15.1.ebuild
5 Removed: aria2-0.15.0.ebuild
6 Log:
7 Version bump. Dropped buggy version. Upstream included our patch.
8 (Portage version: 2.2_rc5/cvs/Linux 2.6.26-gentoo x86_64)
9
10 Revision Changes Path
11 1.27 net-misc/aria2/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.27&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.27&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/ChangeLog?r1=1.26&r2=1.27
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v
20 retrieving revision 1.26
21 retrieving revision 1.27
22 diff -u -r1.26 -r1.27
23 --- ChangeLog 26 Jul 2008 15:30:56 -0000 1.26
24 +++ ChangeLog 31 Jul 2008 19:25:54 -0000 1.27
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.26 2008/07/26 15:30:56 dev-zero Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.27 2008/07/31 19:25:54 dev-zero Exp $
30 +
31 +*aria2-0.15.1 (31 Jul 2008)
32 +
33 + 31 Jul 2008; Tiziano Müller <dev-zero@g.o>
34 + -files/0.15.0-tests.patch, -aria2-0.15.0.ebuild, +aria2-0.15.1.ebuild:
35 + Version bump. Dropped buggy version. Upstream included our patch.
36
37 *aria2-0.15.0 (26 Jul 2008)
38
39
40
41
42 1.1 net-misc/aria2/aria2-0.15.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/aria2-0.15.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/aria2/aria2-0.15.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: aria2-0.15.1.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.15.1.ebuild,v 1.1 2008/07/31 19:25:54 dev-zero Exp $
52
53 MY_P="aria2c-${PV/_p/+}"
54
55 DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support."
56 HOMEPAGE="http://aria2.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
58 LICENSE="GPL-2"
59 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
60 SLOT="0"
61 IUSE="ares bittorrent expat gnutls metalink nls ssl test"
62
63 CDEPEND="sys-libs/zlib
64 ssl? (
65 gnutls? ( >=net-libs/gnutls-1.2.9 )
66 !gnutls? ( dev-libs/openssl ) )
67 ares? ( >=net-dns/c-ares-1.3.1 )
68 bittorrent? ( gnutls? ( >=dev-libs/libgcrypt-1.2.0 ) )
69 metalink? (
70 !expat? ( >=dev-libs/libxml2-2.6.26 )
71 expat? ( dev-libs/expat )
72 )"
73 DEPEND="${CDEPEND}
74 nls? ( sys-devel/gettext )
75 test? ( >=dev-util/cppunit-1.12.0 )"
76 RDEPEND="${CDEPEND}
77 nls? ( virtual/libiconv virtual/libintl )"
78
79 S="${WORKDIR}/${MY_P}"
80
81 src_unpack() {
82 unpack ${A}
83 cd "${S}"
84
85 sed -i -e "s|/tmp|${T}|" test/*.cc || die "sed failed"
86 }
87
88 src_compile() {
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 econf \
99 --enable-epoll \
100 --with-libz \
101 $(use_enable nls) \
102 $(use_enable metalink) \
103 $(use_with expat libexpat) \
104 $(use_with !expat libxml2) \
105 $(use_enable bittorrent) \
106 --without-ares \
107 $(use_with ares libcares) \
108 ${myconf} \
109 || die "econf failed"
110 emake || die "emake failed"
111 }
112
113 src_install() {
114 emake DESTDIR="${D}" install || die "emake install failed"
115 dodoc ChangeLog README AUTHORS TODO NEWS
116 }