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