1 |
sping 11/06/30 19:27:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: aria2-1.12.0.ebuild |
5 |
Log: |
6 |
net-misc/aria2: Bump to 1.12.0, looks trivial |
7 |
|
8 |
(Portage version: 2.1.10.3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.74 net-misc/aria2/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.74&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/ChangeLog?rev=1.74&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/ChangeLog?r1=1.73&r2=1.74 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v |
20 |
retrieving revision 1.73 |
21 |
retrieving revision 1.74 |
22 |
diff -u -r1.73 -r1.74 |
23 |
--- ChangeLog 22 May 2011 17:13:59 -0000 1.73 |
24 |
+++ ChangeLog 30 Jun 2011 19:27:42 -0000 1.74 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/aria2 |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.73 2011/05/22 17:13:59 sping Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/aria2/ChangeLog,v 1.74 2011/06/30 19:27:42 sping Exp $ |
30 |
+ |
31 |
+*aria2-1.12.0 (30 Jun 2011) |
32 |
+ |
33 |
+ 30 Jun 2011; Sebastian Pipping <sping@g.o> +aria2-1.12.0.ebuild: |
34 |
+ Bump to 1.12.0, looks trivial |
35 |
|
36 |
*aria2-1.11.2 (22 May 2011) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/aria2/aria2-1.12.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/aria2-1.12.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aria2/aria2-1.12.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: aria2-1.12.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 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.12.0.ebuild,v 1.1 2011/06/30 19:27:42 sping Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit bash-completion |
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 scripts sqlite ssl test xmlrpc" |
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-2.2.0 >=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 |
sqlite? ( dev-db/sqlite:3 ) |
76 |
xmlrpc? ( |
77 |
!expat? ( >=dev-libs/libxml2-2.6.26 ) |
78 |
expat? ( dev-libs/expat ) )" |
79 |
DEPEND="${CDEPEND} |
80 |
app-text/asciidoc |
81 |
dev-util/pkgconfig |
82 |
nls? ( sys-devel/gettext ) |
83 |
test? ( >=dev-util/cppunit-1.12.0 )" |
84 |
RDEPEND="${CDEPEND} |
85 |
scripts? ( dev-lang/ruby ) |
86 |
nls? ( virtual/libiconv virtual/libintl )" |
87 |
|
88 |
RESTRICT="test" |
89 |
|
90 |
pkg_setup() { |
91 |
if use scripts && use !xmlrpc && use !metalink; then |
92 |
ewarn "Please also enable the 'xmlrpc' USE flag to actually use the additional scripts" |
93 |
fi |
94 |
} |
95 |
|
96 |
src_prepare() { |
97 |
sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed" |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
local myconf="--without-gnutls --without-openssl" |
102 |
use ssl && \ |
103 |
myconf="$(use_with gnutls) $(use_with !gnutls openssl)" |
104 |
|
105 |
local xmllib="--without-libexpat --without-libxml2" |
106 |
if use metalink || use xmlrpc ; then |
107 |
xmllib="$(use_with expat libexpat) $(use_with !expat libxml2)" |
108 |
fi |
109 |
|
110 |
# Note: |
111 |
# - depends on libgcrypt only when using gnutls |
112 |
# - if --without-libexpat or --without-libxml2 are not given, it links against |
113 |
# one of them to provide xmlrpc-functionality |
114 |
# - always enable gzip/http compression since zlib should always be available anyway |
115 |
# - always enable epoll since we can assume kernel 2.6.x |
116 |
# - other options for threads: solaris, pth, win32 |
117 |
econf \ |
118 |
--enable-epoll \ |
119 |
--enable-threads=posix \ |
120 |
--with-libz \ |
121 |
$(use_enable nls) \ |
122 |
$(use_enable metalink) \ |
123 |
$(use_with sqlite sqlite3) \ |
124 |
$(use_enable bittorrent) \ |
125 |
$(use_with ares libcares) \ |
126 |
${xmllib} \ |
127 |
${myconf} |
128 |
} |
129 |
|
130 |
src_install() { |
131 |
emake DESTDIR="${D}" install || die "emake install failed" |
132 |
|
133 |
rm -rf "${D}/usr/share/doc/aria2" |
134 |
dodoc ChangeLog README AUTHORS NEWS |
135 |
dohtml README.html doc/aria2c.1.html |
136 |
|
137 |
use bash-completion && dobashcompletion doc/bash_completion/aria2c |
138 |
|
139 |
use scripts && dobin doc/xmlrpc/aria2{mon,rpc} |
140 |
} |