Gentoo Archives: gentoo-commits

From: "Sebastian Pipping (sping)" <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: ChangeLog aria2-1.10.5.ebuild
Date: Fri, 29 Oct 2010 04:55:46
Message-Id: 20101029045536.4FDD220051@flycatcher.gentoo.org
1 sping 10/10/29 04:55:36
2
3 Modified: ChangeLog
4 Added: aria2-1.10.5.ebuild
5 Log:
6 net-misc/aria2: Bump to 1.10.5 (bug #342355)
7
8 (Portage version: 2.1.9.23/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.67 net-misc/aria2/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.67&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.67&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/ChangeLog?r1=1.66&r2=1.67
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v
20 retrieving revision 1.66
21 retrieving revision 1.67
22 diff -u -r1.66 -r1.67
23 --- ChangeLog 1 Sep 2010 16:27:14 -0000 1.66
24 +++ ChangeLog 29 Oct 2010 04:55:36 -0000 1.67
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/aria2
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.66 2010/09/01 16:27:14 dev-zero Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.67 2010/10/29 04:55:36 sping Exp $
30 +
31 +*aria2-1.10.5 (29 Oct 2010)
32 +
33 + 29 Oct 2010; Sebastian Pipping <sping@g.o> +aria2-1.10.5.ebuild:
34 + Bumping myself, bump looks trivial (bug #342355)
35
36 *aria2-1.10.2 (01 Sep 2010)
37
38
39
40
41 1.1 net-misc/aria2/aria2-1.10.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/aria2-1.10.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/aria2-1.10.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: aria2-1.10.5.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/aria2-1.10.5.ebuild,v 1.1 2010/10/29 04:55:36 sping Exp $
51
52 EAPI="2"
53
54 DESCRIPTION="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP/BitTorrent support."
55 HOMEPAGE="http://aria2.sourceforge.net/"
56 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
57 LICENSE="GPL-2"
58 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
59 SLOT="0"
60 IUSE="ares bittorrent expat gnutls metalink nls scripts sqlite ssl test xmlrpc"
61
62 CDEPEND="sys-libs/zlib
63 ssl? (
64 gnutls? ( >=net-libs/gnutls-1.2.9 )
65 !gnutls? ( dev-libs/openssl ) )
66 ares? ( >=net-dns/c-ares-1.5.0 )
67 bittorrent? (
68 gnutls? ( >=net-libs/gnutls-1.2.9 >=dev-libs/libgcrypt-1.2.2 )
69 !gnutls? ( dev-libs/openssl ) )
70 metalink? (
71 !expat? ( >=dev-libs/libxml2-2.6.26 )
72 expat? ( dev-libs/expat ) )
73 sqlite? ( dev-db/sqlite:3 )
74 xmlrpc? (
75 !expat? ( >=dev-libs/libxml2-2.6.26 )
76 expat? ( dev-libs/expat ) )"
77 DEPEND="${CDEPEND}
78 dev-util/pkgconfig
79 nls? ( sys-devel/gettext )
80 test? ( >=dev-util/cppunit-1.12.0 )"
81 RDEPEND="${CDEPEND}
82 scripts? ( dev-lang/ruby )
83 nls? ( virtual/libiconv virtual/libintl )"
84
85 RESTRICT="test"
86
87 pkg_setup() {
88 if use scripts && use !xmlrpc && use !metalink; then
89 ewarn "Please also enable the 'xmlrpc' USE flag to actually use the additional scripts"
90 fi
91 }
92
93 src_prepare() {
94 sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
95 }
96
97 src_configure() {
98 local myconf="--without-gnutls --without-openssl"
99 use ssl && \
100 myconf="$(use_with gnutls) $(use_with !gnutls openssl)"
101
102 local xmllib="--without-libexpat --without-libxml2"
103 if use metalink || use xmlrpc ; then
104 xmllib="$(use_with expat libexpat) $(use_with !expat libxml2)"
105 fi
106
107 # Note:
108 # - depends on libgcrypt only when using gnutls
109 # - if --without-libexpat or --without-libxml2 are not given, it links against
110 # one of them to provide xmlrpc-functionality
111 # - always enable gzip/http compression since zlib should always be available anyway
112 # - always enable epoll since we can assume kernel 2.6.x
113 # - other options for threads: solaris, pth, win32
114 econf \
115 --enable-epoll \
116 --enable-threads=posix \
117 --with-libz \
118 $(use_enable nls) \
119 $(use_enable metalink) \
120 $(use_with sqlite sqlite3) \
121 $(use_enable bittorrent) \
122 $(use_with ares libcares) \
123 ${xmllib} \
124 ${myconf}
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "emake install failed"
129
130 rm -rf "${D}/usr/share/doc/aria2"
131 dodoc ChangeLog README AUTHORS NEWS
132 dohtml README.html doc/aria2c.1.html
133
134 use scripts && dobin doc/xmlrpc/aria2{mon,rpc}
135 }