1 |
mgorny 13/03/28 09:13:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: aria2-1.16.5.ebuild |
5 |
Log: |
6 |
Version bump. The new version introduces support for UDP trackers. |
7 |
|
8 |
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.89 net-misc/aria2/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.89&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.89&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/ChangeLog?r1=1.88&r2=1.89 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v |
20 |
retrieving revision 1.88 |
21 |
retrieving revision 1.89 |
22 |
diff -u -r1.88 -r1.89 |
23 |
--- ChangeLog 28 Feb 2013 08:44:09 -0000 1.88 |
24 |
+++ ChangeLog 28 Mar 2013 09:13:25 -0000 1.89 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/aria2 |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.88 2013/02/28 08:44:09 mgorny Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.89 2013/03/28 09:13:25 mgorny Exp $ |
30 |
+ |
31 |
+*aria2-1.16.5 (28 Mar 2013) |
32 |
+ |
33 |
+ 28 Mar 2013; Michał Górny <mgorny@g.o> +aria2-1.16.5.ebuild: |
34 |
+ Version bump. The new version introduces support for UDP trackers. |
35 |
|
36 |
*aria2-1.16.3 (28 Feb 2013) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/aria2/aria2-1.16.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/aria2-1.16.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/aria2-1.16.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: aria2-1.16.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 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.16.5.ebuild,v 1.1 2013/03/28 09:13:25 mgorny Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
|
54 |
inherit bash-completion-r1 eutils |
55 |
|
56 |
DESCRIPTION="A download utility with segmented downloading with BitTorrent support" |
57 |
HOMEPAGE="http://aria2.sourceforge.net/" |
58 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
62 |
SLOT="0" |
63 |
IUSE="adns bittorrent +gnutls +libxml2 metalink +nettle nls sqlite scripts ssl test xmlrpc" |
64 |
|
65 |
CDEPEND="sys-libs/zlib |
66 |
ssl? ( |
67 |
app-misc/ca-certificates |
68 |
gnutls? ( >=net-libs/gnutls-1.2.9 ) |
69 |
!gnutls? ( dev-libs/openssl ) ) |
70 |
adns? ( >=net-dns/c-ares-1.5.0 ) |
71 |
bittorrent? ( |
72 |
ssl? ( |
73 |
gnutls? ( |
74 |
nettle? ( >=dev-libs/nettle-2.4[gmp] >=dev-libs/gmp-5 ) |
75 |
!nettle? ( >=dev-libs/libgcrypt-1.2.2 ) ) ) |
76 |
!ssl? ( |
77 |
nettle? ( >=dev-libs/nettle-2.4[gmp] >=dev-libs/gmp-5 ) |
78 |
!nettle? ( >=dev-libs/libgcrypt-1.2.2 ) ) ) |
79 |
metalink? ( |
80 |
libxml2? ( >=dev-libs/libxml2-2.6.26 ) |
81 |
!libxml2? ( dev-libs/expat ) ) |
82 |
sqlite? ( dev-db/sqlite:3 ) |
83 |
xmlrpc? ( |
84 |
libxml2? ( >=dev-libs/libxml2-2.6.26 ) |
85 |
!libxml2? ( dev-libs/expat ) )" |
86 |
|
87 |
DEPEND="${CDEPEND} |
88 |
virtual/pkgconfig |
89 |
nls? ( sys-devel/gettext ) |
90 |
test? ( >=dev-util/cppunit-1.12.0 )" |
91 |
RDEPEND="${CDEPEND} |
92 |
nls? ( virtual/libiconv virtual/libintl ) |
93 |
scripts? ( dev-lang/ruby )" |
94 |
|
95 |
pkg_setup() { |
96 |
if use scripts && use !xmlrpc && use !metalink; then |
97 |
ewarn "Please note that you may need to enable USE=xmlrpc to run the aria2rpc" |
98 |
ewarn "and aria2mon scripts against the local aria2." |
99 |
fi |
100 |
} |
101 |
|
102 |
src_prepare() { |
103 |
epatch_user |
104 |
sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed" |
105 |
} |
106 |
|
107 |
src_configure() { |
108 |
local myconf=( |
109 |
# threads, epoll: check for best portability |
110 |
|
111 |
# do not try to compile and run a test LIBXML program |
112 |
--disable-xmltest |
113 |
# zlib should always be available anyway |
114 |
--with-libz |
115 |
--with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" |
116 |
|
117 |
# optional features |
118 |
$(use_enable bittorrent) |
119 |
$(use_enable metalink) |
120 |
$(use_enable nls) |
121 |
$(use_with sqlite sqlite3) |
122 |
$(use_with adns libcares) |
123 |
) |
124 |
|
125 |
# SSL := gnutls / openssl |
126 |
# USE=ssl |
127 |
# + USE=gnutls -> gnutls |
128 |
# + USE=-gnutls -> openssl |
129 |
|
130 |
if use ssl; then |
131 |
myconf+=( $(use_with gnutls) $(use_with !gnutls openssl) ) |
132 |
else |
133 |
myconf+=( --without-gnutls --without-openssl ) |
134 |
fi |
135 |
|
136 |
# message-digest := nettle / gcrypt / openssl |
137 |
# bignum := nettle+gmp / gcrypt / openssl |
138 |
# bittorrent := message-digest + bignum |
139 |
# USE=bittorrent |
140 |
# + USE=(ssl -gnutls) -> openssl |
141 |
# + USE=nettle -> nettle+gmp |
142 |
# + USE=-nettle -> gcrypt |
143 |
|
144 |
if use !bittorrent || use ssl && use !gnutls; then |
145 |
myconf+=( --without-libgcrypt --without-libnettle --without-libgmp ) |
146 |
else |
147 |
myconf+=( $(use_with !nettle libgcrypt) |
148 |
$(use_with nettle libnettle) $(use_with nettle libgmp) ) |
149 |
fi |
150 |
|
151 |
# metalink+xmlrpc := libxml2 / expat |
152 |
# USE=(metalink || xmlrpc) |
153 |
# + USE=libxml2 -> libxml2 |
154 |
# + USE=-libxml2 -> expat |
155 |
|
156 |
if use metalink || use xmlrpc; then |
157 |
myconf+=( $(use_with !libxml2 libexpat) $(use_with libxml2) ) |
158 |
else |
159 |
myconf+=( --without-libexpat --without-libxml2 ) |
160 |
fi |
161 |
|
162 |
# Note: |
163 |
# - always enable gzip/http compression since zlib should always be available anyway |
164 |
# - always enable epoll since we can assume kernel 2.6.x |
165 |
# - other options for threads: solaris, pth, win32 |
166 |
econf "${myconf[@]}" |
167 |
} |
168 |
|
169 |
src_install() { |
170 |
default |
171 |
rm -rf "${D}"/usr/share/doc/aria2 \ |
172 |
"${D}"/usr/share/doc/${PF}/README{,.html} |
173 |
|
174 |
dobashcomp doc/bash_completion/aria2c |
175 |
use scripts && dobin doc/xmlrpc/aria2{mon,rpc} |
176 |
} |
177 |
|
178 |
pkg_postinst() { |
179 |
if use xmlrpc || use metalink; then |
180 |
elog "If you would like to use the additional aria2mon and aria2rpc tools," |
181 |
elog "you need to have \033[1mdev-lang/ruby\033[0m installed." |
182 |
fi |
183 |
} |