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