[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2024-03-11 Thread Sam James
commit: 3bb9037a37c6b0cf4e721e9bb209bf2f8f76c3ca
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Mar 10 04:07:54 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 11 14:22:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bb9037a

net-misc/aria2: make sure elibtoolize is applied

Needed to e.g. pass LTO warning flags through to the linker.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-misc/aria2/aria2-1.37.0.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-misc/aria2/aria2-1.37.0.ebuild 
b/net-misc/aria2/aria2-1.37.0.ebuild
index cb760629dbc7..c22966b826cd 100644
--- a/net-misc/aria2/aria2-1.37.0.ebuild
+++ b/net-misc/aria2/aria2-1.37.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit bash-completion-r1
+inherit bash-completion-r1 libtool
 
 DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
 HOMEPAGE="https://aria2.github.io/";
@@ -112,6 +112,8 @@ src_prepare() {
-e '/^@ENABLE_BITTORRENT_TRUE@  LpdMessageDispatcherTest/d' \
-e '/^@ENABLE_BITTORRENT_TRUE@  LpdMessageReceiverTest/d' \
test/Makefile.in || die
+
+   elibtoolize
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2023-12-22 Thread Michał Górny
commit: df87988e7797fac665aae852855305eb9da29381
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 22 08:07:31 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 22 08:30:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df87988e

net-misc/aria2: Delete .la files

Closes: https://bugs.gentoo.org/841872
Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/aria2-1.37.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-misc/aria2/aria2-1.37.0.ebuild 
b/net-misc/aria2/aria2-1.37.0.ebuild
index 39236f9eb903..cb760629dbc7 100644
--- a/net-misc/aria2/aria2-1.37.0.ebuild
+++ b/net-misc/aria2/aria2-1.37.0.ebuild
@@ -185,6 +185,7 @@ src_configure() {
 
 src_install() {
default
+   find "${D}" -name '*.la' -delete || die
rm -r "${ED}"/usr/share/doc/${PF}/README{,.html} || die
 
dobashcomp doc/bash_completion/aria2c



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2023-12-02 Thread Michał Górny
commit: 02f5e65750345471a1f5b5bff34fc73ff994a201
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  2 12:30:05 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  2 12:30:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f5e657

net-misc/aria2: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/Manifest   |   1 -
 net-misc/aria2/aria2-1.36.0-r1.ebuild | 199 --
 2 files changed, 200 deletions(-)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 35240d12d207..eab5c84fe4d4 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,2 +1 @@
-DIST aria2-1.36.0.tar.xz 1619036 BLAKE2B 
7894ec705f6fefdbc6c4844efa8a645b3e7674e36d04535ac96b9daf5098a453d047109bad0db16e6fd656f63a3ec0bab5746e8ba7d549149e2364395a94399f
 SHA512 
8203dbb75274455a78c50dd4f894e631de6931ac889f26896dceed78ec38c98cdbcf07e164744f308f2bfffeae1016beec1bfdbe8cad7f3280d11376aa0c2542
 DIST aria2-1.37.0.tar.xz 1705256 BLAKE2B 
4714dd0806fb7693f45e854d544dadd87312a98eef93518f8e8ea5f3332d362724dead16c7ebfdbe594b8403ef7b44e09f4180629894506e333ec2a423828244
 SHA512 
df3b8b4de8fa8d78f203ea00c059e43585e18a229009f202e42e6a9e59db67d09df0dbba8a016e99ed73c82f59e4f8b26f86c2288afdbb96a6807cbe2c56e6b3

diff --git a/net-misc/aria2/aria2-1.36.0-r1.ebuild 
b/net-misc/aria2/aria2-1.36.0-r1.ebuild
deleted file mode 100644
index 39236f9eb903..
--- a/net-misc/aria2/aria2-1.36.0-r1.ebuild
+++ /dev/null
@@ -1,199 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1
-
-DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
-HOMEPAGE="https://aria2.github.io/";
-SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
-
-LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
-SLOT="0"
-IUSE="
-   adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle
-   nls sqlite scripts ssh ssl tcmalloc test xmlrpc
-"
-# xmlrpc has no explicit switch, it's turned out by any XML library
-# so metalink implicitly forces it on
-REQUIRED_USE="
-   ?? ( jemalloc tcmalloc )
-   metalink? ( xmlrpc )
-"
-RESTRICT="!test? ( test )"
-
-# Crazy GnuTLS/OpenSSL/etc. logic below:
-# 1. Those libraries are used for two purposes: TLS & MD.
-# 2. Upstream preferences are:
-#1) gnutls [tls]
-#2) !gnutls? -> openssl [tls+md]
-#3) !openssl? -> nettle [md]
-#4) !openssl? !nettle? -> gcrypt [md]
-#5) !*? -> bundled md routines (we don't use them)
-# 3. There's also gmp usage for bittorrent with nettle.
-# 4. You can't really control features, just dependencies.
-# (we are skipping native Apple/Windows TLS support)
-#
-# We map this into:
-# ssl? -> openssl || (gnutls + (nettle || libgcrypt ))
-# !ssl? -> nettle || libgcrypt
-RDEPEND="
-   sys-libs/zlib:0=
-   adns? ( >=net-dns/c-ares-1.5.0:0= )
-   jemalloc? ( dev-libs/jemalloc )
-   libuv? ( >=dev-libs/libuv-1.13:0= )
-   metalink? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= )
-   )
-   sqlite? ( dev-db/sqlite:3= )
-   ssh? ( net-libs/libssh2:= )
-   ssl? (
-   app-misc/ca-certificates
-   gnutls? (
-   >=net-libs/gnutls-1.2.9:0=
-   nettle? (
-   >=dev-libs/nettle-2.4:0=
-   bittorrent? (
-   >=dev-libs/nettle-2.4:0=[gmp]
-   >=dev-libs/gmp-6:0=
-   )
-   )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
-   )
-   !gnutls? (
-   dev-libs/openssl:0=
-   )
-   )
-   !ssl? (
-   nettle? (
-   >=dev-libs/nettle-2.4:0=
-   bittorrent? (
-   >=dev-libs/nettle-2.4:0=[gmp]
-   >=dev-libs/gmp-6:0=
-   )
-   )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
-   )
-   tcmalloc? ( dev-util/google-perftools )
-   xmlrpc? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= )
-   )
-"
-
-DEPEND="
-   ${RDEPEND}
-   test? ( >=dev-util/cppunit-1.12.0:0 )
-"
-RDEPEND+="
-   nls? ( virtual/libiconv virtual/libintl )
-   scripts? ( dev-lang/ruby )
-"
-BDEPEND="app-arch/xz-utils
-   virtual/pkgconfig
-   nls? ( sys-devel/gettext )
-"
-
-pkg_setup() {
-   if use scripts && ! use xmlrpc; then
-   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the a

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2023-12-02 Thread Michał Górny
commit: 11b0760f01699e40f2af4a4b0a2da49c37630850
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  2 12:28:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  2 12:28:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11b0760f

net-misc/aria2: Stabilize 1.37.0 amd64, #919026

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/aria2-1.37.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.37.0.ebuild 
b/net-misc/aria2/aria2-1.37.0.ebuild
index 292fac4464f6..39236f9eb903 100644
--- a/net-misc/aria2/aria2-1.37.0.ebuild
+++ b/net-misc/aria2/aria2-1.37.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 SLOT="0"
 IUSE="
adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2023-12-02 Thread Arthur Zamarin
commit: a3fc80d8eadf24e7a96821f0d67c12a7ffae05a8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  2 10:35:26 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  2 10:35:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3fc80d8

net-misc/aria2: Stabilize 1.37.0 arm64, #919026

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-misc/aria2/aria2-1.37.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.37.0.ebuild 
b/net-misc/aria2/aria2-1.37.0.ebuild
index 78fff1276a73..292fac4464f6 100644
--- a/net-misc/aria2/aria2-1.37.0.ebuild
+++ b/net-misc/aria2/aria2-1.37.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 SLOT="0"
 IUSE="
adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2023-12-02 Thread Arthur Zamarin
commit: ad8e7a05f2928bea75ef2aad206c20feeb732e5d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  2 10:27:34 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  2 10:27:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad8e7a05

net-misc/aria2: Stabilize 1.37.0 x86, #919026

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-misc/aria2/aria2-1.37.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.37.0.ebuild 
b/net-misc/aria2/aria2-1.37.0.ebuild
index 5aad543edb93..78fff1276a73 100644
--- a/net-misc/aria2/aria2-1.37.0.ebuild
+++ b/net-misc/aria2/aria2-1.37.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 SLOT="0"
 IUSE="
adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2023-11-15 Thread Michał Górny
commit: 1063ae0ae466733e90a930c8a6a696009eb979b7
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 15 14:49:43 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 15 14:49:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1063ae0a

net-misc/aria2: Bump to 1.37.0

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.37.0.ebuild | 199 +
 2 files changed, 200 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 1fcb359d651b..35240d12d207 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1 +1,2 @@
 DIST aria2-1.36.0.tar.xz 1619036 BLAKE2B 
7894ec705f6fefdbc6c4844efa8a645b3e7674e36d04535ac96b9daf5098a453d047109bad0db16e6fd656f63a3ec0bab5746e8ba7d549149e2364395a94399f
 SHA512 
8203dbb75274455a78c50dd4f894e631de6931ac889f26896dceed78ec38c98cdbcf07e164744f308f2bfffeae1016beec1bfdbe8cad7f3280d11376aa0c2542
+DIST aria2-1.37.0.tar.xz 1705256 BLAKE2B 
4714dd0806fb7693f45e854d544dadd87312a98eef93518f8e8ea5f3332d362724dead16c7ebfdbe594b8403ef7b44e09f4180629894506e333ec2a423828244
 SHA512 
df3b8b4de8fa8d78f203ea00c059e43585e18a229009f202e42e6a9e59db67d09df0dbba8a016e99ed73c82f59e4f8b26f86c2288afdbb96a6807cbe2c56e6b3

diff --git a/net-misc/aria2/aria2-1.37.0.ebuild 
b/net-misc/aria2/aria2-1.37.0.ebuild
new file mode 100644
index ..5aad543edb93
--- /dev/null
+++ b/net-misc/aria2/aria2-1.37.0.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2+-with-openssl-exception"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="
+   adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle
+   nls sqlite scripts ssh ssl tcmalloc test xmlrpc
+"
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="
+   ?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )
+"
+RESTRICT="!test? ( test )"
+
+# Crazy GnuTLS/OpenSSL/etc. logic below:
+# 1. Those libraries are used for two purposes: TLS & MD.
+# 2. Upstream preferences are:
+#1) gnutls [tls]
+#2) !gnutls? -> openssl [tls+md]
+#3) !openssl? -> nettle [md]
+#4) !openssl? !nettle? -> gcrypt [md]
+#5) !*? -> bundled md routines (we don't use them)
+# 3. There's also gmp usage for bittorrent with nettle.
+# 4. You can't really control features, just dependencies.
+# (we are skipping native Apple/Windows TLS support)
+#
+# We map this into:
+# ssl? -> openssl || (gnutls + (nettle || libgcrypt ))
+# !ssl? -> nettle || libgcrypt
+RDEPEND="
+   sys-libs/zlib:0=
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( >=dev-libs/libuv-1.13:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= )
+   )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? (
+   >=net-libs/gnutls-1.2.9:0=
+   nettle? (
+   >=dev-libs/nettle-2.4:0=
+   bittorrent? (
+   >=dev-libs/nettle-2.4:0=[gmp]
+   >=dev-libs/gmp-6:0=
+   )
+   )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
+   )
+   !gnutls? (
+   dev-libs/openssl:0=
+   )
+   )
+   !ssl? (
+   nettle? (
+   >=dev-libs/nettle-2.4:0=
+   bittorrent? (
+   >=dev-libs/nettle-2.4:0=[gmp]
+   >=dev-libs/gmp-6:0=
+   )
+   )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
+   )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= )
+   )
+"
+
+DEPEND="
+   ${RDEPEND}
+   test? ( >=dev-util/cppunit-1.12.0:0 )
+"
+RDEPEND+="
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )
+"
+BDEPEND="app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2023-07-20 Thread WANG Xuerui
commit: bcbcdd3a252fa3cf161dad83c8cf3297c77a8df6
Author: WANG Xuerui  gentoo  org>
AuthorDate: Wed Jul 19 06:14:18 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Jul 20 09:52:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbcdd3a

net-misc/aria2: keyword 1.36.0-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-misc/aria2/aria2-1.36.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.36.0-r1.ebuild 
b/net-misc/aria2/aria2-1.36.0-r1.ebuild
index 3b2ecbe4c67d..39236f9eb903 100644
--- a/net-misc/aria2/aria2-1.36.0-r1.ebuild
+++ b/net-misc/aria2/aria2-1.36.0-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 SLOT="0"
 IUSE="
adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2023-01-14 Thread Sam James
commit: d8960672c33f4941ae882c64ef02217fa7223db7
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 15 02:17:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 15 02:17:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8960672

net-misc/aria2: Stabilize 1.36.0-r1 arm64, #890861

Signed-off-by: Sam James  gentoo.org>

 net-misc/aria2/aria2-1.36.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/aria2/aria2-1.36.0-r1.ebuild 
b/net-misc/aria2/aria2-1.36.0-r1.ebuild
index c5eb810cec54..3b2ecbe4c67d 100644
--- a/net-misc/aria2/aria2-1.36.0-r1.ebuild
+++ b/net-misc/aria2/aria2-1.36.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 SLOT="0"
 IUSE="
adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2022-09-22 Thread Michał Górny
commit: de8927c7212b2d04caaf110f2d5d52d29be5fe44
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Sep 22 16:21:08 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Sep 22 18:23:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de8927c7

net-misc/aria2: Disable websocket support that requires bundled libs

Closes: https://bugs.gentoo.org/872191
Signed-off-by: Michał Górny  gentoo.org>

 ...{aria2-1.36.0.ebuild => aria2-1.36.0-r1.ebuild} | 38 +++---
 1 file changed, 27 insertions(+), 11 deletions(-)

diff --git a/net-misc/aria2/aria2-1.36.0.ebuild 
b/net-misc/aria2/aria2-1.36.0-r1.ebuild
similarity index 90%
rename from net-misc/aria2/aria2-1.36.0.ebuild
rename to net-misc/aria2/aria2-1.36.0-r1.ebuild
index 88356647df78..c5eb810cec54 100644
--- a/net-misc/aria2/aria2-1.36.0.ebuild
+++ b/net-misc/aria2/aria2-1.36.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,11 +12,16 @@ 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar
 LICENSE="GPL-2+-with-openssl-exception"
 KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 SLOT="0"
-IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+IUSE="
+   adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle
+   nls sqlite scripts ssh ssl tcmalloc test xmlrpc
+"
 # xmlrpc has no explicit switch, it's turned out by any XML library
 # so metalink implicitly forces it on
-REQUIRED_USE="?? ( jemalloc tcmalloc )
-   metalink? ( xmlrpc )"
+REQUIRED_USE="
+   ?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )
+"
 RESTRICT="!test? ( test )"
 
 # Crazy GnuTLS/OpenSSL/etc. logic below:
@@ -34,13 +39,15 @@ RESTRICT="!test? ( test )"
 # We map this into:
 # ssl? -> openssl || (gnutls + (nettle || libgcrypt ))
 # !ssl? -> nettle || libgcrypt
-RDEPEND="sys-libs/zlib:0=
+RDEPEND="
+   sys-libs/zlib:0=
adns? ( >=net-dns/c-ares-1.5.0:0= )
jemalloc? ( dev-libs/jemalloc )
libuv? ( >=dev-libs/libuv-1.13:0= )
metalink? (
libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )
+   !libxml2? ( dev-libs/expat:0= )
+   )
sqlite? ( dev-db/sqlite:3= )
ssh? ( net-libs/libssh2:= )
ssl? (
@@ -73,16 +80,22 @@ RDEPEND="sys-libs/zlib:0=
tcmalloc? ( dev-util/google-perftools )
xmlrpc? (
libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )"
+   !libxml2? ( dev-libs/expat:0= )
+   )
+"
 
-DEPEND="${RDEPEND}
-   test? ( >=dev-util/cppunit-1.12.0:0 )"
+DEPEND="
+   ${RDEPEND}
+   test? ( >=dev-util/cppunit-1.12.0:0 )
+"
 RDEPEND+="
nls? ( virtual/libiconv virtual/libintl )
-   scripts? ( dev-lang/ruby )"
+   scripts? ( dev-lang/ruby )
+"
 BDEPEND="app-arch/xz-utils
virtual/pkgconfig
-   nls? ( sys-devel/gettext )"
+   nls? ( sys-devel/gettext )
+"
 
 pkg_setup() {
if use scripts && ! use xmlrpc; then
@@ -123,6 +136,9 @@ src_configure() {
$(use_with sqlite sqlite3)
$(use_with ssh libssh2)
$(use_with tcmalloc)
+
+   # forces bundled wslay
+   --disable-websocket
)
 
# See TLS/MD logic described above deps.



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2021-10-10 Thread Michał Górny
commit: bcaaf3d6c31913fe389dc6ac01b6af1c0601db5b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 10 16:21:54 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 10 16:21:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcaaf3d6

net-misc/aria2: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/Manifest|   1 -
 net-misc/aria2/aria2-1.35.0.ebuild | 183 -
 2 files changed, 184 deletions(-)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 1875fe6ca07..1fcb359d651 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,2 +1 @@
-DIST aria2-1.35.0.tar.xz 1534460 BLAKE2B 
fc207ad0054e211b79ee1c6302c6bf83d0638fd5659d19dbd63d7cfb31101feb7d1a661b989ec42552c9a5c072dd660d2f7203063c3c1e14f53d5ce4c5a3c317
 SHA512 
82b49cecd61064ae33b4a422a2320d533f54afea8fab0f014072a46afdc05972d2e9c603e843960c097410adf87290df65849f4ee05e047403618ae50db151ef
 DIST aria2-1.36.0.tar.xz 1619036 BLAKE2B 
7894ec705f6fefdbc6c4844efa8a645b3e7674e36d04535ac96b9daf5098a453d047109bad0db16e6fd656f63a3ec0bab5746e8ba7d549149e2364395a94399f
 SHA512 
8203dbb75274455a78c50dd4f894e631de6931ac889f26896dceed78ec38c98cdbcf07e164744f308f2bfffeae1016beec1bfdbe8cad7f3280d11376aa0c2542

diff --git a/net-misc/aria2/aria2-1.35.0.ebuild 
b/net-misc/aria2/aria2-1.35.0.ebuild
deleted file mode 100644
index 49c783dfe04..000
--- a/net-misc/aria2/aria2-1.35.0.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit bash-completion-r1
-
-DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
-HOMEPAGE="https://aria2.github.io/";
-SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
-
-LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
-# xmlrpc has no explicit switch, it's turned out by any XML library
-# so metalink implicitly forces it on
-REQUIRED_USE="?? ( jemalloc tcmalloc )
-   metalink? ( xmlrpc )"
-RESTRICT="!test? ( test )"
-
-# Crazy GnuTLS/OpenSSL/etc. logic below:
-# 1. Those libraries are used for two purposes: TLS & MD.
-# 2. Upstream preferences are:
-#1) gnutls [tls]
-#2) !gnutls? -> openssl [tls+md]
-#3) !openssl? -> nettle [md]
-#4) !openssl? !nettle? -> gcrypt [md]
-#5) !*? -> bundled md routines (we don't use them)
-# 3. There's also gmp usage for bittorrent with nettle.
-# 4. You can't really control features, just dependencies.
-# (we are skipping native Apple/Windows TLS support)
-#
-# We map this into:
-# ssl? -> openssl || (gnutls + (nettle || libgcrypt ))
-# !ssl? -> nettle || libgcrypt
-RDEPEND="sys-libs/zlib:0=
-   adns? ( >=net-dns/c-ares-1.5.0:0= )
-   jemalloc? ( dev-libs/jemalloc )
-   libuv? ( >=dev-libs/libuv-1.13:0= )
-   metalink? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )
-   sqlite? ( dev-db/sqlite:3= )
-   ssh? ( net-libs/libssh2:= )
-   ssl? (
-   app-misc/ca-certificates
-   gnutls? (
-   >=net-libs/gnutls-1.2.9:0=
-   nettle? (
-   >=dev-libs/nettle-2.4:0=
-   bittorrent? (
-   >=dev-libs/nettle-2.4:0=[gmp]
-   >=dev-libs/gmp-6:0=
-   )
-   )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
-   )
-   !gnutls? (
-   dev-libs/openssl:0=
-   )
-   )
-   !ssl? (
-   nettle? (
-   >=dev-libs/nettle-2.4:0=
-   bittorrent? (
-   >=dev-libs/nettle-2.4:0=[gmp]
-   >=dev-libs/gmp-6:0=
-   )
-   )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
-   )
-   tcmalloc? ( dev-util/google-perftools )
-   xmlrpc? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )"
-
-DEPEND="${RDEPEND}
-   test? ( >=dev-util/cppunit-1.12.0:0 )"
-RDEPEND+="
-   nls? ( virtual/libiconv virtual/libintl )
-   scripts? ( dev-lang/ruby )"
-BDEPEND="app-arch/xz-utils
-   virtual/pkgconfig
-   nls? ( sys-devel/gettext )"
-
-pkg_setup() {
-   if use scripts && ! use xmlrpc; then
-   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
-   ewarn "and aria2mon scripts against the local aria2."
-   fi
-}
-
-src

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2021-10-10 Thread Agostino Sarubbo
commit: f6071dc5e9375edc63881624dd3d7fbd68a4e5c8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Oct 10 15:37:02 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Oct 10 15:37:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6071dc5

net-misc/aria2: x86 stable wrt bug #817125

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/aria2/aria2-1.36.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.36.0.ebuild 
b/net-misc/aria2/aria2-1.36.0.ebuild
index 0797baf9c85..88356647df7 100644
--- a/net-misc/aria2/aria2-1.36.0.ebuild
+++ b/net-misc/aria2/aria2-1.36.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 # xmlrpc has no explicit switch, it's turned out by any XML library



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2021-10-10 Thread Agostino Sarubbo
commit: b19a48b96d02ce196b57c8d05bddbfa14e4b54be
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Oct 10 15:31:50 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Oct 10 15:31:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b19a48b9

net-misc/aria2: amd64 stable wrt bug #817125

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/aria2/aria2-1.36.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.36.0.ebuild 
b/net-misc/aria2/aria2-1.36.0.ebuild
index d47f746e8ee..0797baf9c85 100644
--- a/net-misc/aria2/aria2-1.36.0.ebuild
+++ b/net-misc/aria2/aria2-1.36.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 # xmlrpc has no explicit switch, it's turned out by any XML library



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2021-09-07 Thread Yixun Lan
commit: 236b2fc7de974759c57de5ea183ea7f0c90d03d3
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Sep  7 09:32:38 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Sep  7 09:32:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=236b2fc7

net-misc/aria2: keyword ~riscv

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 net-misc/aria2/aria2-1.36.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.36.0.ebuild 
b/net-misc/aria2/aria2-1.36.0.ebuild
index 288141a977b..d47f746e8ee 100644
--- a/net-misc/aria2/aria2-1.36.0.ebuild
+++ b/net-misc/aria2/aria2-1.36.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 # xmlrpc has no explicit switch, it's turned out by any XML library



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2021-08-22 Thread Michał Górny
commit: f950d9e39396c836028e5794fd7905ef619612ae
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 22 07:13:36 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 22 08:01:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f950d9e3

net-misc/aria2: Bump to 1.36.0

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.36.0.ebuild | 183 +
 2 files changed, 184 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 5ab609cb29b..1875fe6ca07 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1 +1,2 @@
 DIST aria2-1.35.0.tar.xz 1534460 BLAKE2B 
fc207ad0054e211b79ee1c6302c6bf83d0638fd5659d19dbd63d7cfb31101feb7d1a661b989ec42552c9a5c072dd660d2f7203063c3c1e14f53d5ce4c5a3c317
 SHA512 
82b49cecd61064ae33b4a422a2320d533f54afea8fab0f014072a46afdc05972d2e9c603e843960c097410adf87290df65849f4ee05e047403618ae50db151ef
+DIST aria2-1.36.0.tar.xz 1619036 BLAKE2B 
7894ec705f6fefdbc6c4844efa8a645b3e7674e36d04535ac96b9daf5098a453d047109bad0db16e6fd656f63a3ec0bab5746e8ba7d549149e2364395a94399f
 SHA512 
8203dbb75274455a78c50dd4f894e631de6931ac889f26896dceed78ec38c98cdbcf07e164744f308f2bfffeae1016beec1bfdbe8cad7f3280d11376aa0c2542

diff --git a/net-misc/aria2/aria2-1.36.0.ebuild 
b/net-misc/aria2/aria2-1.36.0.ebuild
new file mode 100644
index 000..288141a977b
--- /dev/null
+++ b/net-misc/aria2/aria2-1.36.0.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2+-with-openssl-exception"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+# Crazy GnuTLS/OpenSSL/etc. logic below:
+# 1. Those libraries are used for two purposes: TLS & MD.
+# 2. Upstream preferences are:
+#1) gnutls [tls]
+#2) !gnutls? -> openssl [tls+md]
+#3) !openssl? -> nettle [md]
+#4) !openssl? !nettle? -> gcrypt [md]
+#5) !*? -> bundled md routines (we don't use them)
+# 3. There's also gmp usage for bittorrent with nettle.
+# 4. You can't really control features, just dependencies.
+# (we are skipping native Apple/Windows TLS support)
+#
+# We map this into:
+# ssl? -> openssl || (gnutls + (nettle || libgcrypt ))
+# !ssl? -> nettle || libgcrypt
+RDEPEND="sys-libs/zlib:0=
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( >=dev-libs/libuv-1.13:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? (
+   >=net-libs/gnutls-1.2.9:0=
+   nettle? (
+   >=dev-libs/nettle-2.4:0=
+   bittorrent? (
+   >=dev-libs/nettle-2.4:0=[gmp]
+   >=dev-libs/gmp-6:0=
+   )
+   )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
+   )
+   !gnutls? (
+   dev-libs/openssl:0=
+   )
+   )
+   !ssl? (
+   nettle? (
+   >=dev-libs/nettle-2.4:0=
+   bittorrent? (
+   >=dev-libs/nettle-2.4:0=[gmp]
+   >=dev-libs/gmp-6:0=
+   )
+   )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
+   )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${RDEPEND}
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND+="
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+BDEPEND="app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+sr

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/files/, net-misc/aria2/

2021-02-19 Thread Michał Górny
commit: b8ec393f4635857ab08ff0f43955baef6f56606e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 19 16:39:24 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 19 16:39:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8ec393f

net-misc/aria2: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/Manifest|   1 -
 net-misc/aria2/aria2-1.34.0-r2.ebuild  | 184 -
 .../aria2/files/aria2-1.34.0-make_unique.patch |  44 -
 .../aria2/files/aria2-1.34.0-mask-headers.patch|  46 --
 4 files changed, 275 deletions(-)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 342c6842d3e..5ab609cb29b 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,2 +1 @@
-DIST aria2-1.34.0.tar.xz 1525908 BLAKE2B 
479145af229f5fe864e54c511197bedb306199dbda608416aa295930a8392c7a118993b5a1634db20b380ab448cc8a397a351b6b64560ca263a0818d47a1ae64
 SHA512 
80bc43e242c06acc95030021cb347b4ec230729f3d7e512ca1932941b34ef95c312a34007a226869e5d720839a400e66cdb072ccab5d42228d8cf3d828723dcc
 DIST aria2-1.35.0.tar.xz 1534460 BLAKE2B 
fc207ad0054e211b79ee1c6302c6bf83d0638fd5659d19dbd63d7cfb31101feb7d1a661b989ec42552c9a5c072dd660d2f7203063c3c1e14f53d5ce4c5a3c317
 SHA512 
82b49cecd61064ae33b4a422a2320d533f54afea8fab0f014072a46afdc05972d2e9c603e843960c097410adf87290df65849f4ee05e047403618ae50db151ef

diff --git a/net-misc/aria2/aria2-1.34.0-r2.ebuild 
b/net-misc/aria2/aria2-1.34.0-r2.ebuild
deleted file mode 100644
index ec3bc5903b4..000
--- a/net-misc/aria2/aria2-1.34.0-r2.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit bash-completion-r1
-
-DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
-HOMEPAGE="https://aria2.github.io/";
-SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
-
-LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
-
-# Crazy GnuTLS/OpenSSL/etc. logic below:
-# 1. Those libraries are used for two purposes: TLS & MD.
-# 2. Upstream preferences are:
-#1) gnutls [tls]
-#2) !gnutls? -> openssl [tls+md]
-#3) !openssl? -> nettle [md]
-#4) !openssl? !nettle? -> gcrypt [md]
-#5) !*? -> bundled md routines (we don't use them)
-# 3. There's also gmp usage for bittorrent with nettle.
-# 4. You can't really control features, just dependencies.
-# (we are skipping native Apple/Windows TLS support)
-#
-# We map this into:
-# ssl? -> openssl || (gnutls + (nettle || libgcrypt ))
-# !ssl? -> nettle || libgcrypt
-
-CDEPEND="sys-libs/zlib:0=
-   adns? ( >=net-dns/c-ares-1.5.0:0= )
-   jemalloc? ( dev-libs/jemalloc )
-   libuv? ( >=dev-libs/libuv-1.13:0= )
-   metalink? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )
-   sqlite? ( dev-db/sqlite:3= )
-   ssh? ( net-libs/libssh2:= )
-   ssl? (
-   app-misc/ca-certificates
-   gnutls? (
-   >=net-libs/gnutls-1.2.9:0=
-   nettle? (
-   >=dev-libs/nettle-2.4:0=
-   bittorrent? (
-   >=dev-libs/nettle-2.4:0=[gmp]
-   >=dev-libs/gmp-6:0=
-   )
-   )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
-   )
-   !gnutls? (
-   dev-libs/openssl:0=
-   )
-   )
-   !ssl? (
-   nettle? (
-   >=dev-libs/nettle-2.4:0=
-   bittorrent? (
-   >=dev-libs/nettle-2.4:0=[gmp]
-   >=dev-libs/gmp-6:0=
-   )
-   )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
-   )
-   tcmalloc? ( dev-util/google-perftools )
-   xmlrpc? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )"
-
-DEPEND="${CDEPEND}
-   app-arch/xz-utils
-   virtual/pkgconfig
-   nls? ( sys-devel/gettext )
-   test? ( >=dev-util/cppunit-1.12.0:0 )"
-RDEPEND="${CDEPEND}
-   nls? ( virtual/libiconv virtual/libintl )
-   scripts? ( dev-lang/ruby )"
-
-# xmlrpc has no explicit switch, it's turned out by any XML library
-# so metalink implicitly forces it on
-REQUIRED_USE="?? ( jemalloc tcmalloc )
-   metalink? ( xmlrpc )"
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
-   if use scripts && ! use xmlrpc; then
-   ewarn 

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2021-02-19 Thread Sam James
commit: 4b82aeee8019554a41c02af500fc247ef136fd20
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 19 16:08:56 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 19 16:08:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b82aeee

net-misc/aria2: Stabilize 1.35.0 amd64, #771522

Signed-off-by: Sam James  gentoo.org>

 net-misc/aria2/aria2-1.35.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.35.0.ebuild 
b/net-misc/aria2/aria2-1.35.0.ebuild
index 9309bee2a7f..49c783dfe04 100644
--- a/net-misc/aria2/aria2-1.35.0.ebuild
+++ b/net-misc/aria2/aria2-1.35.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 # xmlrpc has no explicit switch, it's turned out by any XML library



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2021-02-18 Thread Thomas Deutschmann
commit: 61c03245008a70eea1f31905e3222b1d8ed5fd3a
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Feb 19 01:39:34 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Feb 19 01:39:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c03245

net-misc/aria2: x86 stable (bug #771522)

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-misc/aria2/aria2-1.35.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/aria2/aria2-1.35.0.ebuild 
b/net-misc/aria2/aria2-1.35.0.ebuild
index a1e3b996fae..9309bee2a7f 100644
--- a/net-misc/aria2/aria2-1.35.0.ebuild
+++ b/net-misc/aria2/aria2-1.35.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 # xmlrpc has no explicit switch, it's turned out by any XML library



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2020-12-17 Thread Michał Górny
commit: 3a114d8b4b367c0bbb8989f52b4b9ac461581498
Author: Peter Alfredsen  icloud  com>
AuthorDate: Thu Dec 17 16:49:49 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec 17 17:36:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a114d8b

net-misc/aria2: bump to 1.35.0

Bump EAPI while we're at it.

Closes: https://bugs.gentoo.org/704086
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Peter Alfredsen  icloud.com>
Closes: https://github.com/gentoo/gentoo/pull/18694
Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.35.0.ebuild | 183 +
 2 files changed, 184 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index f26538b13aa..342c6842d3e 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1 +1,2 @@
 DIST aria2-1.34.0.tar.xz 1525908 BLAKE2B 
479145af229f5fe864e54c511197bedb306199dbda608416aa295930a8392c7a118993b5a1634db20b380ab448cc8a397a351b6b64560ca263a0818d47a1ae64
 SHA512 
80bc43e242c06acc95030021cb347b4ec230729f3d7e512ca1932941b34ef95c312a34007a226869e5d720839a400e66cdb072ccab5d42228d8cf3d828723dcc
+DIST aria2-1.35.0.tar.xz 1534460 BLAKE2B 
fc207ad0054e211b79ee1c6302c6bf83d0638fd5659d19dbd63d7cfb31101feb7d1a661b989ec42552c9a5c072dd660d2f7203063c3c1e14f53d5ce4c5a3c317
 SHA512 
82b49cecd61064ae33b4a422a2320d533f54afea8fab0f014072a46afdc05972d2e9c603e843960c097410adf87290df65849f4ee05e047403618ae50db151ef

diff --git a/net-misc/aria2/aria2-1.35.0.ebuild 
b/net-misc/aria2/aria2-1.35.0.ebuild
new file mode 100644
index 000..a1e3b996fae
--- /dev/null
+++ b/net-misc/aria2/aria2-1.35.0.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2+-with-openssl-exception"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+# Crazy GnuTLS/OpenSSL/etc. logic below:
+# 1. Those libraries are used for two purposes: TLS & MD.
+# 2. Upstream preferences are:
+#1) gnutls [tls]
+#2) !gnutls? -> openssl [tls+md]
+#3) !openssl? -> nettle [md]
+#4) !openssl? !nettle? -> gcrypt [md]
+#5) !*? -> bundled md routines (we don't use them)
+# 3. There's also gmp usage for bittorrent with nettle.
+# 4. You can't really control features, just dependencies.
+# (we are skipping native Apple/Windows TLS support)
+#
+# We map this into:
+# ssl? -> openssl || (gnutls + (nettle || libgcrypt ))
+# !ssl? -> nettle || libgcrypt
+RDEPEND="sys-libs/zlib:0=
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( >=dev-libs/libuv-1.13:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? (
+   >=net-libs/gnutls-1.2.9:0=
+   nettle? (
+   >=dev-libs/nettle-2.4:0=
+   bittorrent? (
+   >=dev-libs/nettle-2.4:0=[gmp]
+   >=dev-libs/gmp-6:0=
+   )
+   )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
+   )
+   !gnutls? (
+   dev-libs/openssl:0=
+   )
+   )
+   !ssl? (
+   nettle? (
+   >=dev-libs/nettle-2.4:0=
+   bittorrent? (
+   >=dev-libs/nettle-2.4:0=[gmp]
+   >=dev-libs/gmp-6:0=
+   )
+   )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
+   )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${RDEPEND}
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND+="
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+BDEPEND="app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+   if us

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2020-12-17 Thread Michał Górny
commit: 74e1f73dd59bba4b175850590ccbe9fbdafc17a5
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Dec 17 17:32:14 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec 17 17:36:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e1f73d

net-misc/aria2: Update remote-id

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/metadata.xml b/net-misc/aria2/metadata.xml
index 19197a13c24..22e0dd50cb1 100644
--- a/net-misc/aria2/metadata.xml
+++ b/net-misc/aria2/metadata.xml
@@ -17,6 +17,6 @@


aria2
-   tatsuhiro-t/aria2
+   aria2/aria2

 



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2020-07-17 Thread Sam James
commit: cfcc22e2b9b7fc64fcec9473135d78484f61792e
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 17 22:12:36 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 17 23:24:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfcc22e2

net-misc/aria2: arm64 keyworded (bug #732736)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-misc/aria2/aria2-1.34.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/aria2/aria2-1.34.0-r2.ebuild 
b/net-misc/aria2/aria2-1.34.0-r2.ebuild
index c7f2ec04cd9..ec3bc5903b4 100644
--- a/net-misc/aria2/aria2-1.34.0-r2.ebuild
+++ b/net-misc/aria2/aria2-1.34.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2019-09-07 Thread Michał Górny
commit: 9b7de936170bfb0f8234659b293010bf9c373290
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep  8 06:19:31 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep  8 06:19:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7de936

net-misc/aria2: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/aria2-1.34.0-r1.ebuild | 155 --
 1 file changed, 155 deletions(-)

diff --git a/net-misc/aria2/aria2-1.34.0-r1.ebuild 
b/net-misc/aria2/aria2-1.34.0-r1.ebuild
deleted file mode 100644
index 39d7cfca73a..000
--- a/net-misc/aria2/aria2-1.34.0-r1.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit bash-completion-r1
-
-DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
-HOMEPAGE="https://aria2.github.io/";
-SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
-
-LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
-
-CDEPEND="sys-libs/zlib:0=
-   ssl? (
-   app-misc/ca-certificates
-   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
-   !gnutls? ( dev-libs/openssl:0= ) )
-   adns? ( >=net-dns/c-ares-1.5.0:0= )
-   bittorrent? (
-   ssl? (
-   gnutls? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   !ssl? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   jemalloc? ( dev-libs/jemalloc )
-   libuv? ( >=dev-libs/libuv-1.13:0= )
-   metalink? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )
-   sqlite? ( dev-db/sqlite:3= )
-   ssh? ( net-libs/libssh2:= )
-   tcmalloc? ( dev-util/google-perftools )
-   xmlrpc? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )"
-
-DEPEND="${CDEPEND}
-   app-arch/xz-utils
-   virtual/pkgconfig
-   nls? ( sys-devel/gettext )
-   test? ( >=dev-util/cppunit-1.12.0:0 )"
-RDEPEND="${CDEPEND}
-   nls? ( virtual/libiconv virtual/libintl )
-   scripts? ( dev-lang/ruby )"
-
-# xmlrpc has no explicit switch, it's turned out by any XML library
-# so metalink implicitly forces it on
-REQUIRED_USE="?? ( jemalloc tcmalloc )
-   metalink? ( xmlrpc )"
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
-   if use scripts && ! use xmlrpc; then
-   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
-   ewarn "and aria2mon scripts against the local aria2."
-   fi
-}
-
-src_prepare() {
-   eapply "${FILESDIR}"/${P}-make_unique.patch
-   # https://bugs.gentoo.org/674622 (CVE-2019-3500)
-   eapply "${FILESDIR}"/${P}-mask-headers.patch
-   default
-   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
-}
-
-src_configure() {
-   local myconf=(
-   # threads, epoll: check for best portability
-
-   # do not try to compile and run a test LIBXML program
-   --disable-xmltest
-   # enable the shared library
-   --enable-libaria2
-   # zlib should always be available anyway
-   --with-libz
-   --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
-
-   # optional features
-   $(use_enable bittorrent)
-   $(use_enable metalink)
-   $(use_enable nls)
-   $(use_with adns libcares)
-   $(use_with jemalloc)
-   $(use_with libuv)
-   $(use_with sqlite sqlite3)
-   $(use_with ssh libssh2)
-   $(use_with tcmalloc)
-   )
-
-   # SSL := gnutls / openssl
-   # USE=ssl
-   #  + USE=gnutls -> gnutls
-   #  + USE=-gnutls -> openssl
-
-   if use ssl; then
-   myconf+=( $(use_with gnutls) $(use_with !gnutls openssl) )
-   else
-   myconf+=( --without-gnutls --without-openssl )
-   fi
-
-   # message-digest := nettle / gcrypt / openssl
-   # bignum := nettle+gmp / gcrypt / openssl
-   # bittorrent := message-digest + bignum
-   # USE=bittorrent
-   #  + USE=(ssl -gnutls) -> openssl
-   #  + USE=nettle -> nettle+gmp
-   #  + USE=-nettle -> gcrypt
-
-   if use !bittorrent || use ssl && use !gnutls; then
-   myconf+=( --without-libgcrypt --without-libn

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2019-07-31 Thread Agostino Sarubbo
commit: 1c9fd4dba7b0b906f7f8db1e4c961c3d22cb3d4c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jul 31 11:02:31 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jul 31 11:02:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c9fd4db

net-misc/aria2: x86 stable wrt bug #690888

Package-Manager: Portage-2.3.66, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/aria2/aria2-1.34.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.34.0-r2.ebuild 
b/net-misc/aria2/aria2-1.34.0-r2.ebuild
index e47d3165518..c7f2ec04cd9 100644
--- a/net-misc/aria2/aria2-1.34.0-r2.ebuild
+++ b/net-misc/aria2/aria2-1.34.0-r2.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2019-07-31 Thread Agostino Sarubbo
commit: 64f48c30a4957f2797ecaba9cdcc0bcff94a83d4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jul 31 10:57:22 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jul 31 10:57:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64f48c30

net-misc/aria2: amd64 stable wrt bug #690888

Package-Manager: Portage-2.3.66, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/aria2/aria2-1.34.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.34.0-r2.ebuild 
b/net-misc/aria2/aria2-1.34.0-r2.ebuild
index 025e6d10b73..e47d3165518 100644
--- a/net-misc/aria2/aria2-1.34.0-r2.ebuild
+++ b/net-misc/aria2/aria2-1.34.0-r2.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2019-06-27 Thread Michał Górny
commit: 01d7096ca1ab0c79e5bbf442188d13ab6aadefff
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 27 07:31:26 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 27 08:17:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d7096c

net-misc/aria2: Attempt to correct crazy crypto-lib logic

Attempt to rework crypto-lib dependencies to correctly indicate
libraries needed for program operation.  The new logic involves using
OpenSSL only with USE=ssl+!gnutls but using it both for TLS & MD.
In all other circumstances, GnuTLS is used for TLS (if USE=ssl),
and nettle/libgcrypt is used for MD.  The latter is needed independently
of bittorrent support; it only affects additional libgmp dependency.

Closes: https://bugs.gentoo.org/688780
Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/aria2-1.34.0-r2.ebuild | 184 ++
 net-misc/aria2/metadata.xml   |   3 +-
 2 files changed, 186 insertions(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.34.0-r2.ebuild 
b/net-misc/aria2/aria2-1.34.0-r2.ebuild
new file mode 100644
index 000..025e6d10b73
--- /dev/null
+++ b/net-misc/aria2/aria2-1.34.0-r2.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2+-with-openssl-exception"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+# Crazy GnuTLS/OpenSSL/etc. logic below:
+# 1. Those libraries are used for two purposes: TLS & MD.
+# 2. Upstream preferences are:
+#1) gnutls [tls]
+#2) !gnutls? -> openssl [tls+md]
+#3) !openssl? -> nettle [md]
+#4) !openssl? !nettle? -> gcrypt [md]
+#5) !*? -> bundled md routines (we don't use them)
+# 3. There's also gmp usage for bittorrent with nettle.
+# 4. You can't really control features, just dependencies.
+# (we are skipping native Apple/Windows TLS support)
+#
+# We map this into:
+# ssl? -> openssl || (gnutls + (nettle || libgcrypt ))
+# !ssl? -> nettle || libgcrypt
+
+CDEPEND="sys-libs/zlib:0=
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( >=dev-libs/libuv-1.13:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? (
+   >=net-libs/gnutls-1.2.9:0=
+   nettle? (
+   >=dev-libs/nettle-2.4:0=
+   bittorrent? (
+   >=dev-libs/nettle-2.4:0=[gmp]
+   >=dev-libs/gmp-6:0=
+   )
+   )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
+   )
+   !gnutls? (
+   dev-libs/openssl:0=
+   )
+   )
+   !ssl? (
+   nettle? (
+   >=dev-libs/nettle-2.4:0=
+   bittorrent? (
+   >=dev-libs/nettle-2.4:0=[gmp]
+   >=dev-libs/gmp-6:0=
+   )
+   )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= )
+   )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   eapply "${FILESDIR}"/${P}-make_unique.patch
+   # https://bugs.gentoo.org/674622 (CVE-2019-3500)
+   eapply "${FILESDIR}"/${P}-mask-headers.patch
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2019-06-27 Thread Michał Górny
commit: 709e1b5e86c4becb4f295daa500a33a6ac38d444
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 27 06:15:51 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 27 08:17:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=709e1b5e

net-misc/aria2: Correct LICENSE

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/aria2-1.34.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.34.0-r1.ebuild 
b/net-misc/aria2/aria2-1.34.0-r1.ebuild
index b12d839f52e..39d7cfca73a 100644
--- a/net-misc/aria2/aria2-1.34.0-r1.ebuild
+++ b/net-misc/aria2/aria2-1.34.0-r1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A download utility with segmented downloading with 
BitTorrent suppo
 HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+-with-openssl-exception"
 KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2019-04-10 Thread Michał Górny
commit: ae0ceffc856fe9b039b5db5c464b2495b039a04f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 10 14:33:30 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 10 15:07:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae0ceffc

net-misc/aria2: Drop old

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/aria2-1.34.0.ebuild | 153 -
 1 file changed, 153 deletions(-)

diff --git a/net-misc/aria2/aria2-1.34.0.ebuild 
b/net-misc/aria2/aria2-1.34.0.ebuild
deleted file mode 100644
index 8da582d6b7b..000
--- a/net-misc/aria2/aria2-1.34.0.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit bash-completion-r1
-
-DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
-HOMEPAGE="https://aria2.github.io/";
-SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
-
-CDEPEND="sys-libs/zlib:0=
-   ssl? (
-   app-misc/ca-certificates
-   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
-   !gnutls? ( dev-libs/openssl:0= ) )
-   adns? ( >=net-dns/c-ares-1.5.0:0= )
-   bittorrent? (
-   ssl? (
-   gnutls? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   !ssl? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   jemalloc? ( dev-libs/jemalloc )
-   libuv? ( >=dev-libs/libuv-1.13:0= )
-   metalink? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )
-   sqlite? ( dev-db/sqlite:3= )
-   ssh? ( net-libs/libssh2:= )
-   tcmalloc? ( dev-util/google-perftools )
-   xmlrpc? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )"
-
-DEPEND="${CDEPEND}
-   app-arch/xz-utils
-   virtual/pkgconfig
-   nls? ( sys-devel/gettext )
-   test? ( >=dev-util/cppunit-1.12.0:0 )"
-RDEPEND="${CDEPEND}
-   nls? ( virtual/libiconv virtual/libintl )
-   scripts? ( dev-lang/ruby )"
-
-# xmlrpc has no explicit switch, it's turned out by any XML library
-# so metalink implicitly forces it on
-REQUIRED_USE="?? ( jemalloc tcmalloc )
-   metalink? ( xmlrpc )"
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
-   if use scripts && ! use xmlrpc; then
-   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
-   ewarn "and aria2mon scripts against the local aria2."
-   fi
-}
-
-src_prepare() {
-   eapply "${FILESDIR}"/${P}-make_unique.patch
-   default
-   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
-}
-
-src_configure() {
-   local myconf=(
-   # threads, epoll: check for best portability
-
-   # do not try to compile and run a test LIBXML program
-   --disable-xmltest
-   # enable the shared library
-   --enable-libaria2
-   # zlib should always be available anyway
-   --with-libz
-   --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
-
-   # optional features
-   $(use_enable bittorrent)
-   $(use_enable metalink)
-   $(use_enable nls)
-   $(use_with adns libcares)
-   $(use_with jemalloc)
-   $(use_with libuv)
-   $(use_with sqlite sqlite3)
-   $(use_with ssh libssh2)
-   $(use_with tcmalloc)
-   )
-
-   # SSL := gnutls / openssl
-   # USE=ssl
-   #  + USE=gnutls -> gnutls
-   #  + USE=-gnutls -> openssl
-
-   if use ssl; then
-   myconf+=( $(use_with gnutls) $(use_with !gnutls openssl) )
-   else
-   myconf+=( --without-gnutls --without-openssl )
-   fi
-
-   # message-digest := nettle / gcrypt / openssl
-   # bignum := nettle+gmp / gcrypt / openssl
-   # bittorrent := message-digest + bignum
-   # USE=bittorrent
-   #  + USE=(ssl -gnutls) -> openssl
-   #  + USE=nettle -> nettle+gmp
-   #  + USE=-nettle -> gcrypt
-
-   if use !bittorrent || use ssl && use !gnutls; then
-   myconf+=( --without-libgcrypt --without-libnettle 
--without-libgmp )
-   else
-   myconf+=( $(use_with !nettle libgcrypt)
-   $(use_with nettle lib

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2019-04-07 Thread Agostino Sarubbo
commit: a23a62f53b885eeb69a1ae7b59c36e00caea245f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Apr  7 14:44:13 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Apr  7 14:44:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23a62f5

net-misc/aria2: amd64 stable wrt bug #674622

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 net-misc/aria2/aria2-1.34.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/aria2/aria2-1.34.0-r1.ebuild 
b/net-misc/aria2/aria2-1.34.0-r1.ebuild
index 1522945364e..9e7514eee9b 100644
--- a/net-misc/aria2/aria2-1.34.0-r1.ebuild
+++ b/net-misc/aria2/aria2-1.34.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/files/, net-misc/aria2/

2019-04-05 Thread Michał Górny
commit: e0e0415382f55c1c392facd407a21555b6b55c8c
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Apr  5 17:13:34 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr  5 17:13:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0e04153

net-misc/aria2: Backport the fix for CVE-2019-3500

Backport fix for potential password leakage in logs (CVE-2019-3500).
Ideally this would be a fresh snapshot but autoreconf fails on aria2
git.

Bug: https://bugs.gentoo.org/674622
Signed-off-by: Michał Górny  gentoo.org>

 net-misc/aria2/aria2-1.34.0-r1.ebuild  | 155 +
 .../aria2/files/aria2-1.34.0-mask-headers.patch|  46 ++
 2 files changed, 201 insertions(+)

diff --git a/net-misc/aria2/aria2-1.34.0-r1.ebuild 
b/net-misc/aria2/aria2-1.34.0-r1.ebuild
new file mode 100644
index 000..1522945364e
--- /dev/null
+++ b/net-misc/aria2/aria2-1.34.0-r1.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( >=dev-libs/libuv-1.13:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   eapply "${FILESDIR}"/${P}-make_unique.patch
+   # https://bugs.gentoo.org/674622 (CVE-2019-3500)
+   eapply "${FILESDIR}"/${P}-mask-headers.patch
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+   # threads, epoll: check for best portability
+
+   # do not try to compile and run a test LIBXML program
+   --disable-xmltest
+   # enable the shared library
+   --enable-libaria2
+   # zlib should always be available anyway
+   --with-libz
+   --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
+
+   # optional features
+   $(use_enable bittorrent)
+   $(use_enable metalink)
+   $(use_enable nls)
+   $(use_with adns libcares)
+   $(use_with jemalloc)
+   $(use_with libuv)
+   $(use_with sqlite sqlite3)
+   $(use_with ssh libssh2)
+   $(use_with tcmalloc)
+   )
+
+   # SSL := gnutls / openssl
+   # USE=ssl
+   #  + USE=gnutls -> gnutls
+   #  + USE=-gnutls -> openssl
+
+   if use ssl; then
+   myconf+=( $(use_with gnutls) $(use_with !gnutls openssl) )
+   else
+   myconf+=( --without-gnutls --without-openssl )
+   fi
+
+   # message-digest := nettle / gcrypt / openssl
+   # bignum := nettle+gmp / gcrypt / openssl
+   # bittorrent := message-digest + bignum
+   # U

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/, dev-db/mysql-cluster/, sci-physics/root/, ...

2018-10-19 Thread Michał Górny
commit: 4385ff6c19a6e178c88997ecdfffd3e06c266c22
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 20 06:49:49 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 20 06:49:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4385ff6c

*/*: remove redundant local descriptions of 'jemalloc' flag

Signed-off-by: Michał Górny  gentoo.org>

 app-admin/rsyslog/metadata.xml   | 1 -
 app-editors/neovim/metadata.xml  | 1 -
 app-office/libreoffice/metadata.xml  | 1 -
 app-text/groonga/metadata.xml| 1 -
 dev-db/mariadb-galera/metadata.xml   | 1 -
 dev-db/mariadb/metadata.xml  | 1 -
 dev-db/mysql-cluster/metadata.xml| 1 -
 dev-db/mysql/metadata.xml| 1 -
 dev-db/percona-server/metadata.xml   | 1 -
 dev-db/redis/metadata.xml| 3 ---
 dev-db/rethinkdb/metadata.xml| 3 ---
 dev-lang/ruby/metadata.xml   | 1 -
 dev-lang/rust/metadata.xml   | 2 --
 dev-libs/bitset/metadata.xml | 1 -
 mail-client/thunderbird/metadata.xml | 1 -
 mail-filter/rspamd/metadata.xml  | 1 -
 media-gfx/blender/metadata.xml   | 3 ---
 net-analyzer/bro/metadata.xml| 1 -
 net-libs/nghttp2/metadata.xml| 1 -
 net-misc/aria2/metadata.xml  | 1 -
 sci-libs/tensorflow/metadata.xml | 1 -
 sci-physics/root/metadata.xml| 1 -
 sys-cluster/ceph/metadata.xml| 1 -
 sys-cluster/hpx/metadata.xml | 1 -
 www-client/firefox/metadata.xml  | 1 -
 www-client/seamonkey/metadata.xml| 1 -
 www-servers/uwsgi/metadata.xml   | 1 -
 www-servers/varnish/metadata.xml | 3 ---
 28 files changed, 37 deletions(-)

diff --git a/app-admin/rsyslog/metadata.xml b/app-admin/rsyslog/metadata.xml
index 6abc65f4fb4..ba4e59d215c 100644
--- a/app-admin/rsyslog/metadata.xml
+++ b/app-admin/rsyslog/metadata.xml
@@ -12,7 +12,6 @@
Add support for encrypted log files using 
dev-libs/libgcrypt
Build the GnuTLS network stream driver 
(requires net-libs/gnutls)
Build the grok modify module (requires 
dev-libs/grok)
-   Use dev-libs/jemalloc for 
allocations.
Build the Apache Kafka input/output module 
(requires dev-libs/librdkafka)
Build the GSSAPI input and output module 
(requires virtual/krb5)
Build the kubernetes modify plugin 
(requires net-misc/curl)

diff --git a/app-editors/neovim/metadata.xml b/app-editors/neovim/metadata.xml
index 57f11481bec..d9da9e93722 100644
--- a/app-editors/neovim/metadata.xml
+++ b/app-editors/neovim/metadata.xml
@@ -8,7 +8,6 @@
   
 Enable clipboard support through a provider
 Install nvimpager symlink to less.sh macro
-Use dev-libs/jemalloc for 
allocations
 Enable support for remote options using nvr
 Build the neovim unix tui
   

diff --git a/app-office/libreoffice/metadata.xml 
b/app-office/libreoffice/metadata.xml
index b63d524dac8..103556859a0 100644
--- a/app-office/libreoffice/metadata.xml
+++ b/app-office/libreoffice/metadata.xml
@@ -14,7 +14,6 @@ version
 Use sci-libs/coinor-mp as alternative solver
 Enable support for remote files on Google 
Drive
 Enable legacy gtk2 frontend
-Use dev-libs/jemalloc for 
allocations
 Build the Office Development Kit
 Enable PDF import via the Poppler library
 Use media-video/vlc for video embedding

diff --git a/app-text/groonga/metadata.xml b/app-text/groonga/metadata.xml
index 3bf71ce09a1..6c69341e576 100644
--- a/app-text/groonga/metadata.xml
+++ b/app-text/groonga/metadata.xml
@@ -11,7 +11,6 @@
Atomic counting for memory alloc count
Make memory allocation failed in specified condition 
for debug
Use futex
-   Enable dev-libs/jemalloc for memory 
management
Enable dev-libs/libevent used for 
suggestion
Use app-text/mecab for morphological 
analysis
Enable dev-libs/msgpack used for 
suggestion

diff --git a/dev-db/mariadb-galera/metadata.xml 
b/dev-db/mariadb-galera/metadata.xml
index 2e7afd2663c..85ebf9880ac 100644
--- a/dev-db/mariadb-galera/metadata.xml
+++ b/dev-db/mariadb-galera/metadata.xml
@@ -9,7 +9,6 @@
   Build the client libraries from the server package 
instead of the C Connector packages
   Add support for alternative storage engines 
(Archive, CSV, Blackhole, Federated(X), Partition)
   Enable the CONNECT engine to access foreign databases via 
JDBC
-  Use dev-libs/jemalloc for 
allocations.
   Use LATIN1 encoding instead of UTF8
   Enable SSL connections and crypto functions using 
dev-libs/libressl
   Enable NUMA support using sys-process/numactl 
(NUMA kernel support is also required)

diff --git a/dev-db/mariadb/metadata.xml b/dev-db/mariadb/metadata.xml
index e58332a7acb..3419b52226e 100644
--- a/dev-db/mariadb/metadata.xml
+++ b/dev-db/mariadb/metadata.xml
@@ -14,7 +14,6 @@
   Enables lzo compression methods for 
InnoDB/XtraDB
   Enables snappy compression methods for 
InnoDB/XtraDB using app-arch/snappy
   Enable th

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2018-09-11 Thread Michał Górny
commit: 68dd9bd19b34df53bc3fcd1ed6277aa6cf5dafdc
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 11 07:58:11 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 11 08:17:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68dd9bd1

net-misc/aria2: Clean old up

 net-misc/aria2/Manifest|   1 -
 net-misc/aria2/aria2-1.33.1.ebuild | 152 -
 2 files changed, 153 deletions(-)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index f52cd5671d1..f26538b13aa 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,2 +1 @@
-DIST aria2-1.33.1.tar.xz 1505208 BLAKE2B 
fb74add042d0cda81ca1b9c9d9b27b559ba859829c681520d6ece6322411f139667a1eaddc6f8aef23931e301ba4aab599ab17595df8d6ef477000f5e8fa83f0
 SHA512 
5379768a0960e46ed616a2540508d0dda4172c8d1a05021e50243241adb64448f5fa01878868ea206ec6b462fea39fa82284bb0f78ceec299eb289f94815b94a
 DIST aria2-1.34.0.tar.xz 1525908 BLAKE2B 
479145af229f5fe864e54c511197bedb306199dbda608416aa295930a8392c7a118993b5a1634db20b380ab448cc8a397a351b6b64560ca263a0818d47a1ae64
 SHA512 
80bc43e242c06acc95030021cb347b4ec230729f3d7e512ca1932941b34ef95c312a34007a226869e5d720839a400e66cdb072ccab5d42228d8cf3d828723dcc

diff --git a/net-misc/aria2/aria2-1.33.1.ebuild 
b/net-misc/aria2/aria2-1.33.1.ebuild
deleted file mode 100644
index 2acce9e8fd7..000
--- a/net-misc/aria2/aria2-1.33.1.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit bash-completion-r1
-
-DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
-HOMEPAGE="https://aria2.github.io/";
-SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
-
-CDEPEND="sys-libs/zlib:0=
-   ssl? (
-   app-misc/ca-certificates
-   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
-   !gnutls? ( dev-libs/openssl:0= ) )
-   adns? ( >=net-dns/c-ares-1.5.0:0= )
-   bittorrent? (
-   ssl? (
-   gnutls? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   !ssl? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   jemalloc? ( dev-libs/jemalloc )
-   libuv? ( >=dev-libs/libuv-1.13:0= )
-   metalink? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )
-   sqlite? ( dev-db/sqlite:3= )
-   ssh? ( net-libs/libssh2:= )
-   tcmalloc? ( dev-util/google-perftools )
-   xmlrpc? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )"
-
-DEPEND="${CDEPEND}
-   app-arch/xz-utils
-   virtual/pkgconfig
-   nls? ( sys-devel/gettext )
-   test? ( >=dev-util/cppunit-1.12.0:0 )"
-RDEPEND="${CDEPEND}
-   nls? ( virtual/libiconv virtual/libintl )
-   scripts? ( dev-lang/ruby )"
-
-# xmlrpc has no explicit switch, it's turned out by any XML library
-# so metalink implicitly forces it on
-REQUIRED_USE="?? ( jemalloc tcmalloc )
-   metalink? ( xmlrpc )"
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
-   if use scripts && ! use xmlrpc; then
-   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
-   ewarn "and aria2mon scripts against the local aria2."
-   fi
-}
-
-src_prepare() {
-   default
-   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
-}
-
-src_configure() {
-   local myconf=(
-   # threads, epoll: check for best portability
-
-   # do not try to compile and run a test LIBXML program
-   --disable-xmltest
-   # enable the shared library
-   --enable-libaria2
-   # zlib should always be available anyway
-   --with-libz
-   --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
-
-   # optional features
-   $(use_enable bittorrent)
-   $(use_enable metalink)
-   $(use_enable nls)
-   $(use_with adns libcares)
-   $(use_with jemalloc)
-   $(use_with libuv)
-   $(use_with sqlite sqlite3)
-   $(use_with ssh libssh2)
-   $(use_with tcmalloc)
-   )
-
-   # SSL := gnutls / openssl
-   # USE=ssl
-   #  + USE=gnutls -> gnutls
-   #  + USE=-gnutls -> o

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2018-09-07 Thread Mikle Kolyada
commit: e01142846da0a11d9582240ec1b229a531a56d68
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Sep  7 14:53:22 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Sep  7 14:53:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0114284

net-misc/aria2: amd64 stable wrt bug #665414

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-misc/aria2/aria2-1.34.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.34.0.ebuild 
b/net-misc/aria2/aria2-1.34.0.ebuild
index aa58515c9fb..f941e79d8c0 100644
--- a/net-misc/aria2/aria2-1.34.0.ebuild
+++ b/net-misc/aria2/aria2-1.34.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2018-09-06 Thread Michał Górny
commit: f5f8ab0541b5fb0c42faca10dfa5b5d71a2e9517
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Sep  6 20:51:19 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Sep  6 21:21:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f8ab05

net-misc/aria2: Clean old up

 net-misc/aria2/Manifest|   1 -
 net-misc/aria2/aria2-1.30.0.ebuild | 152 -
 2 files changed, 153 deletions(-)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index fa6823e8615..f52cd5671d1 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,3 +1,2 @@
-DIST aria2-1.30.0.tar.xz 1497124 BLAKE2B 
99bce103f1bd89b94e202cb7b2d9dc427398e0dec3517b25a3870515433b7be35fe2841b5ace049771181e6ce44acb82f8715c72347e7069acd6b003e33522ac
 SHA512 
8c3deb4b58b9db9e8de52f48f6e863e07743ae4af14e2b2d64ddcac94b6aec16ff8d4f27e7d6076426d597af9e6e0988289f3a1c156796c9d79ee7f60f5edc38
 DIST aria2-1.33.1.tar.xz 1505208 BLAKE2B 
fb74add042d0cda81ca1b9c9d9b27b559ba859829c681520d6ece6322411f139667a1eaddc6f8aef23931e301ba4aab599ab17595df8d6ef477000f5e8fa83f0
 SHA512 
5379768a0960e46ed616a2540508d0dda4172c8d1a05021e50243241adb64448f5fa01878868ea206ec6b462fea39fa82284bb0f78ceec299eb289f94815b94a
 DIST aria2-1.34.0.tar.xz 1525908 BLAKE2B 
479145af229f5fe864e54c511197bedb306199dbda608416aa295930a8392c7a118993b5a1634db20b380ab448cc8a397a351b6b64560ca263a0818d47a1ae64
 SHA512 
80bc43e242c06acc95030021cb347b4ec230729f3d7e512ca1932941b34ef95c312a34007a226869e5d720839a400e66cdb072ccab5d42228d8cf3d828723dcc

diff --git a/net-misc/aria2/aria2-1.30.0.ebuild 
b/net-misc/aria2/aria2-1.30.0.ebuild
deleted file mode 100644
index fd1ac628d47..000
--- a/net-misc/aria2/aria2-1.30.0.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit bash-completion-r1
-
-DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
-HOMEPAGE="https://aria2.github.io/";
-SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
-
-CDEPEND="sys-libs/zlib:0=
-   ssl? (
-   app-misc/ca-certificates
-   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
-   !gnutls? ( dev-libs/openssl:0= ) )
-   adns? ( >=net-dns/c-ares-1.5.0:0= )
-   bittorrent? (
-   ssl? (
-   gnutls? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   !ssl? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   jemalloc? ( dev-libs/jemalloc )
-   libuv? ( dev-libs/libuv:0= )
-   metalink? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )
-   sqlite? ( dev-db/sqlite:3= )
-   ssh? ( net-libs/libssh2:= )
-   tcmalloc? ( dev-util/google-perftools )
-   xmlrpc? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )"
-
-DEPEND="${CDEPEND}
-   app-arch/xz-utils
-   virtual/pkgconfig
-   nls? ( sys-devel/gettext )
-   test? ( >=dev-util/cppunit-1.12.0:0 )"
-RDEPEND="${CDEPEND}
-   nls? ( virtual/libiconv virtual/libintl )
-   scripts? ( dev-lang/ruby )"
-
-# xmlrpc has no explicit switch, it's turned out by any XML library
-# so metalink implicitly forces it on
-REQUIRED_USE="?? ( jemalloc tcmalloc )
-   metalink? ( xmlrpc )"
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
-   if use scripts && ! use xmlrpc; then
-   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
-   ewarn "and aria2mon scripts against the local aria2."
-   fi
-}
-
-src_prepare() {
-   default
-   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
-}
-
-src_configure() {
-   local myconf=(
-   # threads, epoll: check for best portability
-
-   # do not try to compile and run a test LIBXML program
-   --disable-xmltest
-   # enable the shared library
-   --enable-libaria2
-   # zlib should always be available anyway
-   --with-libz
-   --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
-
-   # optional features
-   $(use_enable bittorrent)
-   $(use_enable metalink)
-   $(use_enable nls)
-   $(use_with adns libcares)
-

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/, net-misc/aria2/files/

2018-05-29 Thread Michał Górny
commit: c3d0fdfb770b1c5d4ffdba023b7085cf7ff3b5a6
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 30 06:36:04 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 30 06:38:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d0fdfb

net-misc/aria2: Backport make_unique fix

Closes: https://bugs.gentoo.org/655892

 net-misc/aria2/aria2-1.34.0.ebuild |  1 +
 .../aria2/files/aria2-1.34.0-make_unique.patch | 44 ++
 2 files changed, 45 insertions(+)

diff --git a/net-misc/aria2/aria2-1.34.0.ebuild 
b/net-misc/aria2/aria2-1.34.0.ebuild
index 330ad0add54..aa58515c9fb 100644
--- a/net-misc/aria2/aria2-1.34.0.ebuild
+++ b/net-misc/aria2/aria2-1.34.0.ebuild
@@ -63,6 +63,7 @@ pkg_setup() {
 }
 
 src_prepare() {
+   eapply "${FILESDIR}"/${P}-make_unique.patch
default
sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
 }

diff --git a/net-misc/aria2/files/aria2-1.34.0-make_unique.patch 
b/net-misc/aria2/files/aria2-1.34.0-make_unique.patch
new file mode 100644
index 000..448d6cfe775
--- /dev/null
+++ b/net-misc/aria2/files/aria2-1.34.0-make_unique.patch
@@ -0,0 +1,44 @@
+From e8e04d6f22a507e8374651d3d2343cd9fb986993 Mon Sep 17 00:00:00 2001
+From: Tatsuhiro Tsujikawa 
+Date: Thu, 17 May 2018 18:39:44 +0900
+Subject: [PATCH] Fix build failure when InternalDHKeyExchange is used
+
+---
+ src/bignum.h | 10 ++
+ 1 file changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/src/bignum.h b/src/bignum.h
+index e59ab6bbf..5fb4402bc 100644
+--- a/src/bignum.h
 b/src/bignum.h
+@@ -19,6 +19,8 @@
+ #include 
+ #include 
+ 
++#include "a2functional.h"
++
+ namespace bignum {
+ 
+ template  class ulong {
+@@ -31,17 +33,17 @@ template  class ulong {
+   std::unique_ptr buf_;
+ 
+ public:
+-  inline ulong() : buf_(make_unique(dim)) {}
+-  inline ulong(size_t t) : buf_(make_unique(dim))
++  inline ulong() : buf_(aria2::make_unique(dim)) {}
++  inline ulong(size_t t) : buf_(aria2::make_unique(dim))
+   {
+ memcpy(buf_.get(), (char_t*)&t, sizeof(t));
+   }
+-  inline ulong(const ulong& rhs) : buf_(make_unique(dim))
++  inline ulong(const ulong& rhs) : 
buf_(aria2::make_unique(dim))
+   {
+ memcpy(buf_.get(), rhs.buf_.get(), dim);
+   }
+   explicit inline ulong(const char_t* data, size_t size)
+-  : buf_(make_unique(dim))
++  : buf_(aria2::make_unique(dim))
+   {
+ if (size > dim) {
+   throw std::bad_alloc();



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2018-05-16 Thread Michał Górny
commit: 1f43e7f35600e96f99a0adb57c6f88094c788010
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 16 06:35:58 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 16 07:26:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f43e7f3

net-misc/aria2: Bump to 1.34.0

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.34.0.ebuild | 152 +
 2 files changed, 153 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 6cf1f36cc38..fa6823e8615 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,2 +1,3 @@
 DIST aria2-1.30.0.tar.xz 1497124 BLAKE2B 
99bce103f1bd89b94e202cb7b2d9dc427398e0dec3517b25a3870515433b7be35fe2841b5ace049771181e6ce44acb82f8715c72347e7069acd6b003e33522ac
 SHA512 
8c3deb4b58b9db9e8de52f48f6e863e07743ae4af14e2b2d64ddcac94b6aec16ff8d4f27e7d6076426d597af9e6e0988289f3a1c156796c9d79ee7f60f5edc38
 DIST aria2-1.33.1.tar.xz 1505208 BLAKE2B 
fb74add042d0cda81ca1b9c9d9b27b559ba859829c681520d6ece6322411f139667a1eaddc6f8aef23931e301ba4aab599ab17595df8d6ef477000f5e8fa83f0
 SHA512 
5379768a0960e46ed616a2540508d0dda4172c8d1a05021e50243241adb64448f5fa01878868ea206ec6b462fea39fa82284bb0f78ceec299eb289f94815b94a
+DIST aria2-1.34.0.tar.xz 1525908 BLAKE2B 
479145af229f5fe864e54c511197bedb306199dbda608416aa295930a8392c7a118993b5a1634db20b380ab448cc8a397a351b6b64560ca263a0818d47a1ae64
 SHA512 
80bc43e242c06acc95030021cb347b4ec230729f3d7e512ca1932941b34ef95c312a34007a226869e5d720839a400e66cdb072ccab5d42228d8cf3d828723dcc

diff --git a/net-misc/aria2/aria2-1.34.0.ebuild 
b/net-misc/aria2/aria2-1.34.0.ebuild
new file mode 100644
index 000..330ad0add54
--- /dev/null
+++ b/net-misc/aria2/aria2-1.34.0.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( >=dev-libs/libuv-1.13:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+   # threads, epoll: check for best portability
+
+   # do not try to compile and run a test LIBXML program
+   --disable-xmltest
+   # enable the shared library
+   --enable-libaria2
+   # zlib should always be available anyway
+   --with-libz
+   --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
+
+   # optional features
+   $(use_enable bittorrent)
+   $(use_enable metalink)
+   $(use_enable nls)
+   $(use_with adns libcares)
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2018-04-20 Thread Michał Górny
commit: 8d09a8f798caed21e9667f6e96853d597b45fbef
Author: everpcpc  everpcpc  com>
AuthorDate: Thu Apr 19 04:12:14 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr 20 07:22:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d09a8f7

net-misc/aria2: fix libuv version depend

aria2-1.33 requires >=libuv-1.13

Closes: https://bugs.gentoo.org/652228
Closes: https://github.com/gentoo/gentoo/pull/7783
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/aria2/aria2-1.33.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.33.1.ebuild 
b/net-misc/aria2/aria2-1.33.1.ebuild
index 2253873519f..2acce9e8fd7 100644
--- a/net-misc/aria2/aria2-1.33.1.ebuild
+++ b/net-misc/aria2/aria2-1.33.1.ebuild
@@ -29,7 +29,7 @@ CDEPEND="sys-libs/zlib:0=
nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
!nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
jemalloc? ( dev-libs/jemalloc )
-   libuv? ( dev-libs/libuv:0= )
+   libuv? ( >=dev-libs/libuv-1.13:0= )
metalink? (
libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
!libxml2? ( dev-libs/expat:0= ) )



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2018-03-31 Thread Aaron Bauman
commit: 70d01988fc78a57299ba5a95ad9a2a95d364b4f6
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Mar 31 22:10:29 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Mar 31 23:41:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d01988

net-misc/aria2: amd64 stable

Bug: https://bugs.gentoo.org/651594
Package-Manager: Portage-2.3.27, Repoman-2.3.9

 net-misc/aria2/aria2-1.33.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/aria2/aria2-1.33.1.ebuild 
b/net-misc/aria2/aria2-1.33.1.ebuild
index de956e8d169..0ac749fc276 100644
--- a/net-misc/aria2/aria2-1.33.1.ebuild
+++ b/net-misc/aria2/aria2-1.33.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -10,7 +10,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2018-01-01 Thread Michał Górny
commit: 65ce2d2ac043552fe6b7acd0912f16dbb2fdce6d
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan  1 22:09:03 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan  2 06:18:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65ce2d2a

net-misc/aria2: Clean old up

 net-misc/aria2/Manifest|   3 -
 net-misc/aria2/aria2-1.31.0.ebuild | 152 -
 net-misc/aria2/aria2-1.32.0.ebuild | 152 -
 net-misc/aria2/aria2-1.33.0.ebuild | 152 -
 4 files changed, 459 deletions(-)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index e923de0c261..6cf1f36cc38 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,5 +1,2 @@
 DIST aria2-1.30.0.tar.xz 1497124 BLAKE2B 
99bce103f1bd89b94e202cb7b2d9dc427398e0dec3517b25a3870515433b7be35fe2841b5ace049771181e6ce44acb82f8715c72347e7069acd6b003e33522ac
 SHA512 
8c3deb4b58b9db9e8de52f48f6e863e07743ae4af14e2b2d64ddcac94b6aec16ff8d4f27e7d6076426d597af9e6e0988289f3a1c156796c9d79ee7f60f5edc38
-DIST aria2-1.31.0.tar.xz 1501388 BLAKE2B 
6decd9a1ba658e27ada5137747a36764cedd37dd9caccd609dcfeb284f040d72a021a0bf79731a65e33a29cea0dc0e31f3e08dd633d6d0c44e95bea60a7c7182
 SHA512 
a0a1312522324dc0bc24cf1a5cceaef49d40445668ed0bd98dc3cdd5e2edb428552e97504c8c072f5d1180d6bbd252de01d290ef5c94d1803b8ade330bc2710f
-DIST aria2-1.32.0.tar.xz 1502192 BLAKE2B 
8b515cb91dc30ee598bdae0f96c53448b22af73983fdc105e85e9a2feb68c33fcb3f3440c1808cedbba421d145f37022e876af9f0ab12dfaec5a59aa87f43787
 SHA512 
7c14c395fab3024191145b5c965c6c89211cd36ce405cafeef350aa6df9850bee9de65e756eab7d0bdeccb9409b829ea21552b9aac0166f50dcc17501b3dca8b
-DIST aria2-1.33.0.tar.xz 1526936 BLAKE2B 
69012e3221afe6e510a3fabe68236526fa64c982b84b2894c61a847084bd151b607bbfc46ac8b4e802ff796e1a2d4d056209e36e9273f20d3acd22e6cc5db978
 SHA512 
6b28282b5688444c99c3219d185c5c87f1760300f47fb9a87f9ee5eb62dd366d55a7706bb6edb16957f0a6926b354b0c6cbbe9887c94980c3027775d06589fea
 DIST aria2-1.33.1.tar.xz 1505208 BLAKE2B 
fb74add042d0cda81ca1b9c9d9b27b559ba859829c681520d6ece6322411f139667a1eaddc6f8aef23931e301ba4aab599ab17595df8d6ef477000f5e8fa83f0
 SHA512 
5379768a0960e46ed616a2540508d0dda4172c8d1a05021e50243241adb64448f5fa01878868ea206ec6b462fea39fa82284bb0f78ceec299eb289f94815b94a

diff --git a/net-misc/aria2/aria2-1.31.0.ebuild 
b/net-misc/aria2/aria2-1.31.0.ebuild
deleted file mode 100644
index b0c010ec863..000
--- a/net-misc/aria2/aria2-1.31.0.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit bash-completion-r1
-
-DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
-HOMEPAGE="https://aria2.github.io/";
-SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
-
-CDEPEND="sys-libs/zlib:0=
-   ssl? (
-   app-misc/ca-certificates
-   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
-   !gnutls? ( dev-libs/openssl:0= ) )
-   adns? ( >=net-dns/c-ares-1.5.0:0= )
-   bittorrent? (
-   ssl? (
-   gnutls? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   !ssl? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   jemalloc? ( dev-libs/jemalloc )
-   libuv? ( dev-libs/libuv:0= )
-   metalink? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )
-   sqlite? ( dev-db/sqlite:3= )
-   ssh? ( net-libs/libssh2:= )
-   tcmalloc? ( dev-util/google-perftools )
-   xmlrpc? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )"
-
-DEPEND="${CDEPEND}
-   app-arch/xz-utils
-   virtual/pkgconfig
-   nls? ( sys-devel/gettext )
-   test? ( >=dev-util/cppunit-1.12.0:0 )"
-RDEPEND="${CDEPEND}
-   nls? ( virtual/libiconv virtual/libintl )
-   scripts? ( dev-lang/ruby )"
-
-# xmlrpc has no explicit switch, it's turned out by any XML library
-# so metalink implicitly forces it on
-REQUIRED_USE="?? ( jemalloc tcmalloc )
-   metalink? ( xmlrpc )"
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
-   if use scripts && ! use xmlrpc; then
-   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
-   ewarn "and aria2mon scripts against the local aria2."
-

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2017-11-09 Thread Sebastian Pipping
commit: c01c40a2835dc2c4bea97c389236d3752f27a7e3
Author: Sebastian Pipping  gentoo  org>
AuthorDate: Thu Nov  9 16:54:18 2017 +
Commit: Sebastian Pipping  gentoo  org>
CommitDate: Thu Nov  9 16:54:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01c40a2

net-misc/aria2: 1.33.1

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.33.1.ebuild | 152 +
 2 files changed, 153 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 7ebc69433be..019ddcc3b10 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -2,3 +2,4 @@ DIST aria2-1.30.0.tar.xz 1497124 SHA256 
bf6c5366d11d2a6038c8e19f01f9b874041793aa
 DIST aria2-1.31.0.tar.xz 1501388 SHA256 
7b85619048b23406f241e38a5b1b8b0bc2cae9e80fd117810c2a71ecca813f8c SHA512 
a0a1312522324dc0bc24cf1a5cceaef49d40445668ed0bd98dc3cdd5e2edb428552e97504c8c072f5d1180d6bbd252de01d290ef5c94d1803b8ade330bc2710f
 WHIRLPOOL 
0b5af6d2f9f7e62a2620003a0aa44e842517cb33be00a7e1b0f7ac2720823c5d32deafd91ae096d8ef028f89885c08f459a03955ee349fd6d21dade190895596
 DIST aria2-1.32.0.tar.xz 1502192 SHA256 
546e9194a9135d665fce572cb93c88f30fb5601d113bfa19951107ced682dc50 SHA512 
7c14c395fab3024191145b5c965c6c89211cd36ce405cafeef350aa6df9850bee9de65e756eab7d0bdeccb9409b829ea21552b9aac0166f50dcc17501b3dca8b
 WHIRLPOOL 
763188033573b5928c7935229505cd82f39009952aa78b7871c1c1579dde54b46185a0d378e3d7241230d0611ba1b7d96c04ed4c09049d38d89b6b550391a0aa
 DIST aria2-1.33.0.tar.xz 1526936 SHA256 
996e3fc2fd07ce2dd517e20a1f79b8b3dbaa5c7e27953b5fc19dae38f3874b8c SHA512 
6b28282b5688444c99c3219d185c5c87f1760300f47fb9a87f9ee5eb62dd366d55a7706bb6edb16957f0a6926b354b0c6cbbe9887c94980c3027775d06589fea
 WHIRLPOOL 
16bf3179f15830cfbfbe8f44781aa1a2fb0a500f650dd342aff114b13a6b3280045036cf5acc937bc22a0eeef95c83165e4cb9c3dd05032b7bed511e8d7b3bcd
+DIST aria2-1.33.1.tar.xz 1505208 SHA256 
2539e4844f55a1f1f5c46ad42744335266053a69162e964d9a2d80a362c75e1b SHA512 
5379768a0960e46ed616a2540508d0dda4172c8d1a05021e50243241adb64448f5fa01878868ea206ec6b462fea39fa82284bb0f78ceec299eb289f94815b94a
 WHIRLPOOL 
cb9ce23e733e7075a7ecb27a2574bd821bf4109c9900235df5d49e85ba4d6ded7ea17c7d912ccf8cbb6b43ea74b90db257f84013d6a307852c3071cc523ab5a9

diff --git a/net-misc/aria2/aria2-1.33.1.ebuild 
b/net-misc/aria2/aria2-1.33.1.ebuild
new file mode 100644
index 000..de956e8d169
--- /dev/null
+++ b/net-misc/aria2/aria2-1.33.1.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   def

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2017-10-17 Thread Michał Górny
commit: 4a38945cf51cba53fbb7c12800b533cfb4bb1b46
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 14:57:26 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 15:12:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a38945c

net-misc/aria2: Bump to 1.33.0

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.33.0.ebuild | 152 +
 2 files changed, 153 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 9bf92af126d..7ebc69433be 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,3 +1,4 @@
 DIST aria2-1.30.0.tar.xz 1497124 SHA256 
bf6c5366d11d2a6038c8e19f01f9b874041793aaf317e0206120e3e8c9c431f6 SHA512 
8c3deb4b58b9db9e8de52f48f6e863e07743ae4af14e2b2d64ddcac94b6aec16ff8d4f27e7d6076426d597af9e6e0988289f3a1c156796c9d79ee7f60f5edc38
 WHIRLPOOL 
c3613212226c1fe6db20b45dce021441fceaf26970e8773064ef254e3a1272550c9c8e69d2fa677d249a70c853d6ba65c91fa1a42c33009127177b496fcbda0a
 DIST aria2-1.31.0.tar.xz 1501388 SHA256 
7b85619048b23406f241e38a5b1b8b0bc2cae9e80fd117810c2a71ecca813f8c SHA512 
a0a1312522324dc0bc24cf1a5cceaef49d40445668ed0bd98dc3cdd5e2edb428552e97504c8c072f5d1180d6bbd252de01d290ef5c94d1803b8ade330bc2710f
 WHIRLPOOL 
0b5af6d2f9f7e62a2620003a0aa44e842517cb33be00a7e1b0f7ac2720823c5d32deafd91ae096d8ef028f89885c08f459a03955ee349fd6d21dade190895596
 DIST aria2-1.32.0.tar.xz 1502192 SHA256 
546e9194a9135d665fce572cb93c88f30fb5601d113bfa19951107ced682dc50 SHA512 
7c14c395fab3024191145b5c965c6c89211cd36ce405cafeef350aa6df9850bee9de65e756eab7d0bdeccb9409b829ea21552b9aac0166f50dcc17501b3dca8b
 WHIRLPOOL 
763188033573b5928c7935229505cd82f39009952aa78b7871c1c1579dde54b46185a0d378e3d7241230d0611ba1b7d96c04ed4c09049d38d89b6b550391a0aa
+DIST aria2-1.33.0.tar.xz 1526936 SHA256 
996e3fc2fd07ce2dd517e20a1f79b8b3dbaa5c7e27953b5fc19dae38f3874b8c SHA512 
6b28282b5688444c99c3219d185c5c87f1760300f47fb9a87f9ee5eb62dd366d55a7706bb6edb16957f0a6926b354b0c6cbbe9887c94980c3027775d06589fea
 WHIRLPOOL 
16bf3179f15830cfbfbe8f44781aa1a2fb0a500f650dd342aff114b13a6b3280045036cf5acc937bc22a0eeef95c83165e4cb9c3dd05032b7bed511e8d7b3bcd

diff --git a/net-misc/aria2/aria2-1.33.0.ebuild 
b/net-misc/aria2/aria2-1.33.0.ebuild
new file mode 100644
index 000..de956e8d169
--- /dev/null
+++ b/net-misc/aria2/aria2-1.33.0.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2017-10-04 Thread Michał Górny
commit: 6975af5dc44961179b8d4fe6341728b633d12d54
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 08:10:34 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 08:12:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6975af5d

net-misc/aria2: Require dev-libs/gmp-6

Bump the minimum dev-libs/gmp version to 6 since issues were reported
with gmp-5, and 5 is no longer available anyway.

Closes: https://bugs.gentoo.org/632716

 net-misc/aria2/aria2-1.32.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/aria2/aria2-1.32.0.ebuild 
b/net-misc/aria2/aria2-1.32.0.ebuild
index b0c010ec863..de956e8d169 100644
--- a/net-misc/aria2/aria2-1.32.0.ebuild
+++ b/net-misc/aria2/aria2-1.32.0.ebuild
@@ -23,10 +23,10 @@ CDEPEND="sys-libs/zlib:0=
bittorrent? (
ssl? (
gnutls? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
!nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
!ssl? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-6:0= )
!nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
jemalloc? ( dev-libs/jemalloc )
libuv? ( dev-libs/libuv:0= )



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2017-06-29 Thread Michał Górny
commit: 0ab2cc38f42df609a9b4d6bec412f373b49a42fb
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 29 16:22:22 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 29 22:22:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ab2cc38

net-misc/aria2: Bump to 1.32.0

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.32.0.ebuild | 152 +
 2 files changed, 153 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 34af613fe10..9bf92af126d 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,2 +1,3 @@
 DIST aria2-1.30.0.tar.xz 1497124 SHA256 
bf6c5366d11d2a6038c8e19f01f9b874041793aaf317e0206120e3e8c9c431f6 SHA512 
8c3deb4b58b9db9e8de52f48f6e863e07743ae4af14e2b2d64ddcac94b6aec16ff8d4f27e7d6076426d597af9e6e0988289f3a1c156796c9d79ee7f60f5edc38
 WHIRLPOOL 
c3613212226c1fe6db20b45dce021441fceaf26970e8773064ef254e3a1272550c9c8e69d2fa677d249a70c853d6ba65c91fa1a42c33009127177b496fcbda0a
 DIST aria2-1.31.0.tar.xz 1501388 SHA256 
7b85619048b23406f241e38a5b1b8b0bc2cae9e80fd117810c2a71ecca813f8c SHA512 
a0a1312522324dc0bc24cf1a5cceaef49d40445668ed0bd98dc3cdd5e2edb428552e97504c8c072f5d1180d6bbd252de01d290ef5c94d1803b8ade330bc2710f
 WHIRLPOOL 
0b5af6d2f9f7e62a2620003a0aa44e842517cb33be00a7e1b0f7ac2720823c5d32deafd91ae096d8ef028f89885c08f459a03955ee349fd6d21dade190895596
+DIST aria2-1.32.0.tar.xz 1502192 SHA256 
546e9194a9135d665fce572cb93c88f30fb5601d113bfa19951107ced682dc50 SHA512 
7c14c395fab3024191145b5c965c6c89211cd36ce405cafeef350aa6df9850bee9de65e756eab7d0bdeccb9409b829ea21552b9aac0166f50dcc17501b3dca8b
 WHIRLPOOL 
763188033573b5928c7935229505cd82f39009952aa78b7871c1c1579dde54b46185a0d378e3d7241230d0611ba1b7d96c04ed4c09049d38d89b6b550391a0aa

diff --git a/net-misc/aria2/aria2-1.32.0.ebuild 
b/net-misc/aria2/aria2-1.32.0.ebuild
new file mode 100644
index 000..b0c010ec863
--- /dev/null
+++ b/net-misc/aria2/aria2-1.32.0.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+   # threads, epoll: check for best portability
+
+   # do not try to compile and run a test LIBXML program
+   --disable-xmltest
+   # enable the shared library
+   --enable-libaria2
+   # zlib should always be available anyway
+   --with-libz
+   --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2017-01-19 Thread Lars Wendler
commit: d0f30ee857510a5411ce5e0f13ec25e6b6d5fa2d
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jan 19 18:10:38 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jan 19 18:12:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0f30ee8

net-misc/aria2: Bump to version 1.31.0

with kind permission from mgorny.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.31.0.ebuild | 153 +
 2 files changed, 154 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 0b729af..5899099 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -8,3 +8,4 @@ DIST aria2-1.27.1.tar.xz 1489132 SHA256 
c09627ef31602cfdfa7c9925a6c3b05fe7d2097d
 DIST aria2-1.28.0.tar.xz 1495984 SHA256 
e0a125a557b9aacf23468374f63215e9b1d6165c990bd8ecb0603cdc1d5d72f0 SHA512 
d0a534eadfa7c522fc709a7b54849990e6346263ac9997d15945c0949bee468829b000807fc1ef3a1289fa13eb092461f4c9c7da5b64792078e683bd5942f135
 WHIRLPOOL 
60110a72accdd9fbde534cad929ed70adff9c837d8cf6be40d1a59c78a22e1ee75318acee1a422b58365567fb38c68f3cabe383f0f02190e54ad2ea88bf5776d
 DIST aria2-1.29.0.tar.xz 1496804 SHA256 
1a64d023e75bf61c751609ef0df198596f785f1abc371672a75d5b09bd91c82e SHA512 
d48ba8793b664ba663071759f9bbaedd3d557d836db271bef35063733c230c02f6fd59021039a30154c37ecd7b0e793087f8b9226d8a4c9ed01380d6f578c8da
 WHIRLPOOL 
4c41ddcf3230aec01f4086152838bc4ada90127b554f16613f102d97ccb89ade4c9e36a25e8b5c17a9e99478e143fcc2744f9b86f5ae695adf2d837f05f9c6af
 DIST aria2-1.30.0.tar.xz 1497124 SHA256 
bf6c5366d11d2a6038c8e19f01f9b874041793aaf317e0206120e3e8c9c431f6 SHA512 
8c3deb4b58b9db9e8de52f48f6e863e07743ae4af14e2b2d64ddcac94b6aec16ff8d4f27e7d6076426d597af9e6e0988289f3a1c156796c9d79ee7f60f5edc38
 WHIRLPOOL 
c3613212226c1fe6db20b45dce021441fceaf26970e8773064ef254e3a1272550c9c8e69d2fa677d249a70c853d6ba65c91fa1a42c33009127177b496fcbda0a
+DIST aria2-1.31.0.tar.xz 1501388 SHA256 
7b85619048b23406f241e38a5b1b8b0bc2cae9e80fd117810c2a71ecca813f8c SHA512 
a0a1312522324dc0bc24cf1a5cceaef49d40445668ed0bd98dc3cdd5e2edb428552e97504c8c072f5d1180d6bbd252de01d290ef5c94d1803b8ade330bc2710f
 WHIRLPOOL 
0b5af6d2f9f7e62a2620003a0aa44e842517cb33be00a7e1b0f7ac2720823c5d32deafd91ae096d8ef028f89885c08f459a03955ee349fd6d21dade190895596

diff --git a/net-misc/aria2/aria2-1.31.0.ebuild 
b/net-misc/aria2/aria2-1.31.0.ebuild
new file mode 100644
index ..9abfaf2
--- /dev/null
+++ b/net-misc/aria2/aria2-1.31.0.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2017-01-19 Thread Lars Wendler
commit: c4e77b71f6ade29049c715cc687d18990bfa9d17
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jan 19 18:11:37 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jan 19 18:12:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4e77b71

net-misc/aria2: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/aria2/Manifest|   9 ---
 net-misc/aria2/aria2-1.15.2.ebuild | 135 
 net-misc/aria2/aria2-1.23.0.ebuild | 150 
 net-misc/aria2/aria2-1.24.0.ebuild | 150 
 net-misc/aria2/aria2-1.25.0.ebuild | 150 
 net-misc/aria2/aria2-1.26.0.ebuild | 150 
 net-misc/aria2/aria2-1.26.1.ebuild | 150 
 net-misc/aria2/aria2-1.27.1.ebuild | 150 
 net-misc/aria2/aria2-1.28.0.ebuild | 150 
 net-misc/aria2/aria2-1.29.0.ebuild | 153 -
 10 files changed, 1347 deletions(-)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 5899099..34af613 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,11 +1,2 @@
-DIST aria2-1.15.2.tar.bz2 2043212 SHA256 
6400431f4248f7a779ae8216ec2711b56ad7481fc659f06db1f22ed97b260836 SHA512 
6fc09ba1f682d13db829a3f5881a06ea0d0d2c1622511408f149cc109a12a01b19cec34caeeac10982061e9633bbb67e9ec40c23ee39a418fec6fb604af23bbe
 WHIRLPOOL 
b9544bb5359fc22dca5ba4e5328086deb0cf7d40fc69e7528ed57f14a89b30ffa6022ab7bfbe5f2fbd150b3974272286ff2f26d011bccaf5f973ccca00f2a44e
-DIST aria2-1.23.0.tar.xz 1493704 SHA256 
585185866415bf1120e4bf0a484e7dfec2e9e7c5305023b15ad0f66f90391f93 SHA512 
c64877f5d2a2fd9c45b0a592af508dab25c4f4610fb56243db77f660a004c48e567f0c6be707c8f44b8f6b1a3e7f90e0d1be77b421e56957b5a24b1252ffc5fd
 WHIRLPOOL 
5a6ab2a6b002b3279a9a96071f878029928d19c29f4442fa1c1fb26099976443bb8d260105fdafe59020749e1f9f481a81ca7c80af96fb0d49f3de4d0b3e14f1
-DIST aria2-1.24.0.tar.xz 1495632 SHA256 
35a496d2704ffb07e0b0dcac16c6d9b2854327967f984218517403d187f7bf37 SHA512 
3e7f3fc2cd30edb5813b0d0fe6742671000730aa8d7e41e5396ab673912b8492885273de740985517b4a16efccedb1bdffb9bfdc235aa0d5fc31d2b547ae61e7
 WHIRLPOOL 
31a22233c5aacfaf8ee93da4bc13af0138ab6bc6eec6a458cb846834d61ddf2f1082a69a1eb24ee8feaad65d426a8fd4c235ffd886dbee44fb8749ecf79c3f0e
-DIST aria2-1.25.0.tar.xz 1493880 SHA256 
ff89eb4c76cfc816a6f5abc7dfd416cc3f339e7d02c761f822fa965a18cf0d35 SHA512 
d7a58ff895a6c2adfb80ef3a21419ebb18a5539290d11df4a8023dc46289f71a80a07ce15b4f146c1640fb4065f48d38c0a065437f5a36098c99e3350c4993ab
 WHIRLPOOL 
783bafee91742d5f093a52bb3a792b55c37f920faff386ec80589f203a3e2df291efd83c8f3c9fa15bd5b982ca4b93bd25c8af227e68fe710d6d797a922aec21
-DIST aria2-1.26.0.tar.xz 1496396 SHA256 
c828f3375e9ab251239747fbbbf747e5027339080b9fdec29ac746a0b8c6088d SHA512 
f87875c0740df054f44018431cff6e215f48a2458278be740b4cd7baa5723e8ed52215ea8c7c54944324f942bfe5c0ca7a532a9eb39eca3428a2f2d58e0ca0f0
 WHIRLPOOL 
4bfe87985775c547d86ad99ae1315e45c466b5ba00ea49e4a2b851621ae332833e55f86af764f96e3b408302ad8eccdeb00313b34b95a9e90f86503569f3cf88
-DIST aria2-1.26.1.tar.xz 1494864 SHA256 
f4e64e9754af5e1c0ee1ee2a50c5fa5acbc180855909209c2ce0111e86c9a801 SHA512 
1a96451ed72a557cddd605f2362c40b0db40878f3a40ce6898c95257178a2c04d5570354ac28dd4d451ed2931eb6bc86fb9addab6b0fd60857d026aae691e683
 WHIRLPOOL 
2e551bbd1af6d14ba396b26ee650dab7b89f258ca9cf84b90e09365fef80f944933fa1c0b1cf1bc5e3154c780b9fa3b08427c4efb9e4eded6c6c5559024a002b
-DIST aria2-1.27.1.tar.xz 1489132 SHA256 
c09627ef31602cfdfa7c9925a6c3b05fe7d2097d83f42dcfdef68664bd106f08 SHA512 
baeb637a231907c3f0f752c46038442745cb2cf224d696727ff567d20f3a9a6a002fca3604a90030dfd4d19ff306fe47d27d37a1e32e55fa0e9cd350c2c624a3
 WHIRLPOOL 
35620a2057394f8cd21479011f7ad6d663eab1aa230778707b0c5feca46f23a4f80922181fb186464b3b0ed5de4807df5b53e2b9226d110118ce647dc8b2a2f5
-DIST aria2-1.28.0.tar.xz 1495984 SHA256 
e0a125a557b9aacf23468374f63215e9b1d6165c990bd8ecb0603cdc1d5d72f0 SHA512 
d0a534eadfa7c522fc709a7b54849990e6346263ac9997d15945c0949bee468829b000807fc1ef3a1289fa13eb092461f4c9c7da5b64792078e683bd5942f135
 WHIRLPOOL 
60110a72accdd9fbde534cad929ed70adff9c837d8cf6be40d1a59c78a22e1ee75318acee1a422b58365567fb38c68f3cabe383f0f02190e54ad2ea88bf5776d
-DIST aria2-1.29.0.tar.xz 1496804 SHA256 
1a64d023e75bf61c751609ef0df198596f785f1abc371672a75d5b09bd91c82e SHA512 
d48ba8793b664ba663071759f9bbaedd3d557d836db271bef35063733c230c02f6fd59021039a30154c37ecd7b0e793087f8b9226d8a4c9ed01380d6f578c8da
 WHIRLPOOL 
4c41ddcf3230aec01f4086152838bc4ada90127b554f16613f102d97ccb89ade4c9e36a25e8b5c17a9e99478e143fcc2744f9b86f5ae695adf2d837f05f9c6af
 DIST aria2-1.30.0.tar.xz 1497124 SHA256 
bf6c5366d11d2a6038c8e19f01f9b874041793aaf317e0206120e3e8c9c431f6 SHA512 
8c3deb4b58b9db9e8de52f48f6e863e07743ae4af14e2b2d64ddcac94b6aec16ff8d4f27e7d6076426d597a

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-12-20 Thread Thomas Deutschmann
commit: bf37b47389e4a90356961d981b21a3bcb6571e46
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Dec 20 16:49:28 2016 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Dec 20 16:50:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf37b473

net-misc/aria2: x86 stable (bug #591254)

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 net-misc/aria2/aria2-1.30.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.30.0.ebuild 
b/net-misc/aria2/aria2-1.30.0.ebuild
index a4ab5ae..ce3d1c9 100644
--- a/net-misc/aria2/aria2-1.30.0.ebuild
+++ b/net-misc/aria2/aria2-1.30.0.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-12-20 Thread Tobias Klausmann
commit: f06f1294d31c0af8ea8b8b64d014eb56ef243071
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Dec 20 14:08:49 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Dec 20 14:29:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06f1294

net-misc/aria2-1.30.0-r0: stable on amd64

Gentoo-Bug: 591254

 net-misc/aria2/aria2-1.30.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/aria2/aria2-1.30.0.ebuild 
b/net-misc/aria2/aria2-1.30.0.ebuild
index abf92e3..a4ab5ae 100644
--- a/net-misc/aria2/aria2-1.30.0.ebuild
+++ b/net-misc/aria2/aria2-1.30.0.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://aria2.github.io/";
 
SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-12-18 Thread Michał Górny
commit: ca375fd411897ae66f0691c9f8b257ed364e6e05
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 18 13:29:13 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 18 13:35:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca375fd4

net-misc/aria2: Bump to 1.30.0

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.30.0.ebuild | 153 +
 2 files changed, 154 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index c5df5c8..0b729af 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -7,3 +7,4 @@ DIST aria2-1.26.1.tar.xz 1494864 SHA256 
f4e64e9754af5e1c0ee1ee2a50c5fa5acbc18085
 DIST aria2-1.27.1.tar.xz 1489132 SHA256 
c09627ef31602cfdfa7c9925a6c3b05fe7d2097d83f42dcfdef68664bd106f08 SHA512 
baeb637a231907c3f0f752c46038442745cb2cf224d696727ff567d20f3a9a6a002fca3604a90030dfd4d19ff306fe47d27d37a1e32e55fa0e9cd350c2c624a3
 WHIRLPOOL 
35620a2057394f8cd21479011f7ad6d663eab1aa230778707b0c5feca46f23a4f80922181fb186464b3b0ed5de4807df5b53e2b9226d110118ce647dc8b2a2f5
 DIST aria2-1.28.0.tar.xz 1495984 SHA256 
e0a125a557b9aacf23468374f63215e9b1d6165c990bd8ecb0603cdc1d5d72f0 SHA512 
d0a534eadfa7c522fc709a7b54849990e6346263ac9997d15945c0949bee468829b000807fc1ef3a1289fa13eb092461f4c9c7da5b64792078e683bd5942f135
 WHIRLPOOL 
60110a72accdd9fbde534cad929ed70adff9c837d8cf6be40d1a59c78a22e1ee75318acee1a422b58365567fb38c68f3cabe383f0f02190e54ad2ea88bf5776d
 DIST aria2-1.29.0.tar.xz 1496804 SHA256 
1a64d023e75bf61c751609ef0df198596f785f1abc371672a75d5b09bd91c82e SHA512 
d48ba8793b664ba663071759f9bbaedd3d557d836db271bef35063733c230c02f6fd59021039a30154c37ecd7b0e793087f8b9226d8a4c9ed01380d6f578c8da
 WHIRLPOOL 
4c41ddcf3230aec01f4086152838bc4ada90127b554f16613f102d97ccb89ade4c9e36a25e8b5c17a9e99478e143fcc2744f9b86f5ae695adf2d837f05f9c6af
+DIST aria2-1.30.0.tar.xz 1497124 SHA256 
bf6c5366d11d2a6038c8e19f01f9b874041793aaf317e0206120e3e8c9c431f6 SHA512 
8c3deb4b58b9db9e8de52f48f6e863e07743ae4af14e2b2d64ddcac94b6aec16ff8d4f27e7d6076426d597af9e6e0988289f3a1c156796c9d79ee7f60f5edc38
 WHIRLPOOL 
c3613212226c1fe6db20b45dce021441fceaf26970e8773064ef254e3a1272550c9c8e69d2fa677d249a70c853d6ba65c91fa1a42c33009127177b496fcbda0a

diff --git a/net-misc/aria2/aria2-1.30.0.ebuild 
b/net-misc/aria2/aria2-1.30.0.ebuild
new file mode 100644
index ..abf92e3
--- /dev/null
+++ b/net-misc/aria2/aria2-1.30.0.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.tx

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-11-22 Thread Michał Górny
commit: 7ba367cdee829064c319c8cc953efd3a4973f678
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 22 15:03:14 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 22 15:06:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ba367cd

net-misc/aria2: Bump to 1.29.0, fix respecting USE=ssh, minor cleanup

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.29.0.ebuild | 153 +
 2 files changed, 154 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 5854fad7..c5df5c8 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -6,3 +6,4 @@ DIST aria2-1.26.0.tar.xz 1496396 SHA256 
c828f3375e9ab251239747fbbbf747e502733908
 DIST aria2-1.26.1.tar.xz 1494864 SHA256 
f4e64e9754af5e1c0ee1ee2a50c5fa5acbc180855909209c2ce0111e86c9a801 SHA512 
1a96451ed72a557cddd605f2362c40b0db40878f3a40ce6898c95257178a2c04d5570354ac28dd4d451ed2931eb6bc86fb9addab6b0fd60857d026aae691e683
 WHIRLPOOL 
2e551bbd1af6d14ba396b26ee650dab7b89f258ca9cf84b90e09365fef80f944933fa1c0b1cf1bc5e3154c780b9fa3b08427c4efb9e4eded6c6c5559024a002b
 DIST aria2-1.27.1.tar.xz 1489132 SHA256 
c09627ef31602cfdfa7c9925a6c3b05fe7d2097d83f42dcfdef68664bd106f08 SHA512 
baeb637a231907c3f0f752c46038442745cb2cf224d696727ff567d20f3a9a6a002fca3604a90030dfd4d19ff306fe47d27d37a1e32e55fa0e9cd350c2c624a3
 WHIRLPOOL 
35620a2057394f8cd21479011f7ad6d663eab1aa230778707b0c5feca46f23a4f80922181fb186464b3b0ed5de4807df5b53e2b9226d110118ce647dc8b2a2f5
 DIST aria2-1.28.0.tar.xz 1495984 SHA256 
e0a125a557b9aacf23468374f63215e9b1d6165c990bd8ecb0603cdc1d5d72f0 SHA512 
d0a534eadfa7c522fc709a7b54849990e6346263ac9997d15945c0949bee468829b000807fc1ef3a1289fa13eb092461f4c9c7da5b64792078e683bd5942f135
 WHIRLPOOL 
60110a72accdd9fbde534cad929ed70adff9c837d8cf6be40d1a59c78a22e1ee75318acee1a422b58365567fb38c68f3cabe383f0f02190e54ad2ea88bf5776d
+DIST aria2-1.29.0.tar.xz 1496804 SHA256 
1a64d023e75bf61c751609ef0df198596f785f1abc371672a75d5b09bd91c82e SHA512 
d48ba8793b664ba663071759f9bbaedd3d557d836db271bef35063733c230c02f6fd59021039a30154c37ecd7b0e793087f8b9226d8a4c9ed01380d6f578c8da
 WHIRLPOOL 
4c41ddcf3230aec01f4086152838bc4ada90127b554f16613f102d97ccb89ade4c9e36a25e8b5c17a9e99478e143fcc2744f9b86f5ae695adf2d837f05f9c6af

diff --git a/net-misc/aria2/aria2-1.29.0.ebuild 
b/net-misc/aria2/aria2-1.29.0.ebuild
new file mode 100644
index ..abf92e3
--- /dev/null
+++ b/net-misc/aria2/aria2-1.29.0.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+# xmlrpc has no explicit switch, it's turned out by any XML library
+# so metalink implicitly forces it on
+REQUIRED_USE="?? ( jemalloc tcmalloc )
+   metalink? ( xmlrpc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && ! use xmlrpc; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed 

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-11-12 Thread Michał Górny
commit: 9895ab69af4b836dc08efea8b71e53ed4074503a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 12 20:24:40 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 12 20:28:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9895ab69

net-misc/aria2: Update HOMEPAGE & SRC_URI

 net-misc/aria2/aria2-1.28.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/aria2/aria2-1.28.0.ebuild 
b/net-misc/aria2/aria2-1.28.0.ebuild
index 38d2f53..0d37d73 100644
--- a/net-misc/aria2/aria2-1.28.0.ebuild
+++ b/net-misc/aria2/aria2-1.28.0.ebuild
@@ -7,8 +7,8 @@ EAPI="6"
 inherit bash-completion-r1
 
 DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
-HOMEPAGE="http://aria2.sourceforge.net/";
-SRC_URI="https://github.com/tatsuhiro-t/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+HOMEPAGE="https://aria2.github.io/";
+SRC_URI="https://github.com/aria2/${PN}/releases/download/release-${PV}/${P}.tar.xz";
 
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-10-16 Thread Michał Górny
commit: 3387da4a4749a0665868d51100773c1576a893a5
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 16 14:33:44 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 16 15:12:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3387da4a

net-misc/aria2: Bump to 1.28.0

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.28.0.ebuild | 150 +
 2 files changed, 151 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index d330168..5854fad7 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -5,3 +5,4 @@ DIST aria2-1.25.0.tar.xz 1493880 SHA256 
ff89eb4c76cfc816a6f5abc7dfd416cc3f339e7d
 DIST aria2-1.26.0.tar.xz 1496396 SHA256 
c828f3375e9ab251239747fbbbf747e5027339080b9fdec29ac746a0b8c6088d SHA512 
f87875c0740df054f44018431cff6e215f48a2458278be740b4cd7baa5723e8ed52215ea8c7c54944324f942bfe5c0ca7a532a9eb39eca3428a2f2d58e0ca0f0
 WHIRLPOOL 
4bfe87985775c547d86ad99ae1315e45c466b5ba00ea49e4a2b851621ae332833e55f86af764f96e3b408302ad8eccdeb00313b34b95a9e90f86503569f3cf88
 DIST aria2-1.26.1.tar.xz 1494864 SHA256 
f4e64e9754af5e1c0ee1ee2a50c5fa5acbc180855909209c2ce0111e86c9a801 SHA512 
1a96451ed72a557cddd605f2362c40b0db40878f3a40ce6898c95257178a2c04d5570354ac28dd4d451ed2931eb6bc86fb9addab6b0fd60857d026aae691e683
 WHIRLPOOL 
2e551bbd1af6d14ba396b26ee650dab7b89f258ca9cf84b90e09365fef80f944933fa1c0b1cf1bc5e3154c780b9fa3b08427c4efb9e4eded6c6c5559024a002b
 DIST aria2-1.27.1.tar.xz 1489132 SHA256 
c09627ef31602cfdfa7c9925a6c3b05fe7d2097d83f42dcfdef68664bd106f08 SHA512 
baeb637a231907c3f0f752c46038442745cb2cf224d696727ff567d20f3a9a6a002fca3604a90030dfd4d19ff306fe47d27d37a1e32e55fa0e9cd350c2c624a3
 WHIRLPOOL 
35620a2057394f8cd21479011f7ad6d663eab1aa230778707b0c5feca46f23a4f80922181fb186464b3b0ed5de4807df5b53e2b9226d110118ce647dc8b2a2f5
+DIST aria2-1.28.0.tar.xz 1495984 SHA256 
e0a125a557b9aacf23468374f63215e9b1d6165c990bd8ecb0603cdc1d5d72f0 SHA512 
d0a534eadfa7c522fc709a7b54849990e6346263ac9997d15945c0949bee468829b000807fc1ef3a1289fa13eb092461f4c9c7da5b64792078e683bd5942f135
 WHIRLPOOL 
60110a72accdd9fbde534cad929ed70adff9c837d8cf6be40d1a59c78a22e1ee75318acee1a422b58365567fb38c68f3cabe383f0f02190e54ad2ea88bf5776d

diff --git a/net-misc/aria2/aria2-1.28.0.ebuild 
b/net-misc/aria2/aria2-1.28.0.ebuild
new file mode 100644
index ..38d2f53
--- /dev/null
+++ b/net-misc/aria2/aria2-1.28.0.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="http://aria2.sourceforge.net/";
+SRC_URI="https://github.com/tatsuhiro-t/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+REQUIRED_USE="jemalloc? ( !tcmalloc )
+   tcmalloc? ( !jemalloc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && use !xmlrpc && use !metalink; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-09-17 Thread Michał Górny
commit: 96374ed0bdf232077625dc7101a9426ab9b5a31c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep 18 04:29:58 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep 18 04:45:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96374ed0

net-misc/aria2: Bump to 1.27.1

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.27.1.ebuild | 150 +
 2 files changed, 151 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index c043b5a..d330168 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -4,3 +4,4 @@ DIST aria2-1.24.0.tar.xz 1495632 SHA256 
35a496d2704ffb07e0b0dcac16c6d9b285432796
 DIST aria2-1.25.0.tar.xz 1493880 SHA256 
ff89eb4c76cfc816a6f5abc7dfd416cc3f339e7d02c761f822fa965a18cf0d35 SHA512 
d7a58ff895a6c2adfb80ef3a21419ebb18a5539290d11df4a8023dc46289f71a80a07ce15b4f146c1640fb4065f48d38c0a065437f5a36098c99e3350c4993ab
 WHIRLPOOL 
783bafee91742d5f093a52bb3a792b55c37f920faff386ec80589f203a3e2df291efd83c8f3c9fa15bd5b982ca4b93bd25c8af227e68fe710d6d797a922aec21
 DIST aria2-1.26.0.tar.xz 1496396 SHA256 
c828f3375e9ab251239747fbbbf747e5027339080b9fdec29ac746a0b8c6088d SHA512 
f87875c0740df054f44018431cff6e215f48a2458278be740b4cd7baa5723e8ed52215ea8c7c54944324f942bfe5c0ca7a532a9eb39eca3428a2f2d58e0ca0f0
 WHIRLPOOL 
4bfe87985775c547d86ad99ae1315e45c466b5ba00ea49e4a2b851621ae332833e55f86af764f96e3b408302ad8eccdeb00313b34b95a9e90f86503569f3cf88
 DIST aria2-1.26.1.tar.xz 1494864 SHA256 
f4e64e9754af5e1c0ee1ee2a50c5fa5acbc180855909209c2ce0111e86c9a801 SHA512 
1a96451ed72a557cddd605f2362c40b0db40878f3a40ce6898c95257178a2c04d5570354ac28dd4d451ed2931eb6bc86fb9addab6b0fd60857d026aae691e683
 WHIRLPOOL 
2e551bbd1af6d14ba396b26ee650dab7b89f258ca9cf84b90e09365fef80f944933fa1c0b1cf1bc5e3154c780b9fa3b08427c4efb9e4eded6c6c5559024a002b
+DIST aria2-1.27.1.tar.xz 1489132 SHA256 
c09627ef31602cfdfa7c9925a6c3b05fe7d2097d83f42dcfdef68664bd106f08 SHA512 
baeb637a231907c3f0f752c46038442745cb2cf224d696727ff567d20f3a9a6a002fca3604a90030dfd4d19ff306fe47d27d37a1e32e55fa0e9cd350c2c624a3
 WHIRLPOOL 
35620a2057394f8cd21479011f7ad6d663eab1aa230778707b0c5feca46f23a4f80922181fb186464b3b0ed5de4807df5b53e2b9226d110118ce647dc8b2a2f5

diff --git a/net-misc/aria2/aria2-1.27.1.ebuild 
b/net-misc/aria2/aria2-1.27.1.ebuild
new file mode 100644
index ..38d2f53
--- /dev/null
+++ b/net-misc/aria2/aria2-1.27.1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="http://aria2.sourceforge.net/";
+SRC_URI="https://github.com/tatsuhiro-t/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+REQUIRED_USE="jemalloc? ( !tcmalloc )
+   tcmalloc? ( !jemalloc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && use !xmlrpc && use !metalink; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-09-03 Thread Michał Górny
commit: f5729bf9f598b341be093fe6e94499651f18c24a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep  3 11:41:58 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep  3 12:07:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5729bf9

net-misc/aria2: Version bump to 1.26.1 (assertion fix)

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.26.1.ebuild | 150 +
 2 files changed, 151 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 8280284..c043b5a 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -3,3 +3,4 @@ DIST aria2-1.23.0.tar.xz 1493704 SHA256 
585185866415bf1120e4bf0a484e7dfec2e9e7c5
 DIST aria2-1.24.0.tar.xz 1495632 SHA256 
35a496d2704ffb07e0b0dcac16c6d9b2854327967f984218517403d187f7bf37 SHA512 
3e7f3fc2cd30edb5813b0d0fe6742671000730aa8d7e41e5396ab673912b8492885273de740985517b4a16efccedb1bdffb9bfdc235aa0d5fc31d2b547ae61e7
 WHIRLPOOL 
31a22233c5aacfaf8ee93da4bc13af0138ab6bc6eec6a458cb846834d61ddf2f1082a69a1eb24ee8feaad65d426a8fd4c235ffd886dbee44fb8749ecf79c3f0e
 DIST aria2-1.25.0.tar.xz 1493880 SHA256 
ff89eb4c76cfc816a6f5abc7dfd416cc3f339e7d02c761f822fa965a18cf0d35 SHA512 
d7a58ff895a6c2adfb80ef3a21419ebb18a5539290d11df4a8023dc46289f71a80a07ce15b4f146c1640fb4065f48d38c0a065437f5a36098c99e3350c4993ab
 WHIRLPOOL 
783bafee91742d5f093a52bb3a792b55c37f920faff386ec80589f203a3e2df291efd83c8f3c9fa15bd5b982ca4b93bd25c8af227e68fe710d6d797a922aec21
 DIST aria2-1.26.0.tar.xz 1496396 SHA256 
c828f3375e9ab251239747fbbbf747e5027339080b9fdec29ac746a0b8c6088d SHA512 
f87875c0740df054f44018431cff6e215f48a2458278be740b4cd7baa5723e8ed52215ea8c7c54944324f942bfe5c0ca7a532a9eb39eca3428a2f2d58e0ca0f0
 WHIRLPOOL 
4bfe87985775c547d86ad99ae1315e45c466b5ba00ea49e4a2b851621ae332833e55f86af764f96e3b408302ad8eccdeb00313b34b95a9e90f86503569f3cf88
+DIST aria2-1.26.1.tar.xz 1494864 SHA256 
f4e64e9754af5e1c0ee1ee2a50c5fa5acbc180855909209c2ce0111e86c9a801 SHA512 
1a96451ed72a557cddd605f2362c40b0db40878f3a40ce6898c95257178a2c04d5570354ac28dd4d451ed2931eb6bc86fb9addab6b0fd60857d026aae691e683
 WHIRLPOOL 
2e551bbd1af6d14ba396b26ee650dab7b89f258ca9cf84b90e09365fef80f944933fa1c0b1cf1bc5e3154c780b9fa3b08427c4efb9e4eded6c6c5559024a002b

diff --git a/net-misc/aria2/aria2-1.26.1.ebuild 
b/net-misc/aria2/aria2-1.26.1.ebuild
new file mode 100644
index ..38d2f53
--- /dev/null
+++ b/net-misc/aria2/aria2-1.26.1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="http://aria2.sourceforge.net/";
+SRC_URI="https://github.com/tatsuhiro-t/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+REQUIRED_USE="jemalloc? ( !tcmalloc )
+   tcmalloc? ( !jemalloc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && use !xmlrpc && use !metalink; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   l

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-08-20 Thread Michał Górny
commit: 097526483f5a39c887b7fec60a0310db92598be6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 20 12:06:51 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 20 12:24:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09752648

net-misc/aria2: Bump to 1.26.0

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.26.0.ebuild | 150 +
 2 files changed, 151 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 2e860cc..8280284 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -2,3 +2,4 @@ DIST aria2-1.15.2.tar.bz2 2043212 SHA256 
6400431f4248f7a779ae8216ec2711b56ad7481
 DIST aria2-1.23.0.tar.xz 1493704 SHA256 
585185866415bf1120e4bf0a484e7dfec2e9e7c5305023b15ad0f66f90391f93 SHA512 
c64877f5d2a2fd9c45b0a592af508dab25c4f4610fb56243db77f660a004c48e567f0c6be707c8f44b8f6b1a3e7f90e0d1be77b421e56957b5a24b1252ffc5fd
 WHIRLPOOL 
5a6ab2a6b002b3279a9a96071f878029928d19c29f4442fa1c1fb26099976443bb8d260105fdafe59020749e1f9f481a81ca7c80af96fb0d49f3de4d0b3e14f1
 DIST aria2-1.24.0.tar.xz 1495632 SHA256 
35a496d2704ffb07e0b0dcac16c6d9b2854327967f984218517403d187f7bf37 SHA512 
3e7f3fc2cd30edb5813b0d0fe6742671000730aa8d7e41e5396ab673912b8492885273de740985517b4a16efccedb1bdffb9bfdc235aa0d5fc31d2b547ae61e7
 WHIRLPOOL 
31a22233c5aacfaf8ee93da4bc13af0138ab6bc6eec6a458cb846834d61ddf2f1082a69a1eb24ee8feaad65d426a8fd4c235ffd886dbee44fb8749ecf79c3f0e
 DIST aria2-1.25.0.tar.xz 1493880 SHA256 
ff89eb4c76cfc816a6f5abc7dfd416cc3f339e7d02c761f822fa965a18cf0d35 SHA512 
d7a58ff895a6c2adfb80ef3a21419ebb18a5539290d11df4a8023dc46289f71a80a07ce15b4f146c1640fb4065f48d38c0a065437f5a36098c99e3350c4993ab
 WHIRLPOOL 
783bafee91742d5f093a52bb3a792b55c37f920faff386ec80589f203a3e2df291efd83c8f3c9fa15bd5b982ca4b93bd25c8af227e68fe710d6d797a922aec21
+DIST aria2-1.26.0.tar.xz 1496396 SHA256 
c828f3375e9ab251239747fbbbf747e5027339080b9fdec29ac746a0b8c6088d SHA512 
f87875c0740df054f44018431cff6e215f48a2458278be740b4cd7baa5723e8ed52215ea8c7c54944324f942bfe5c0ca7a532a9eb39eca3428a2f2d58e0ca0f0
 WHIRLPOOL 
4bfe87985775c547d86ad99ae1315e45c466b5ba00ea49e4a2b851621ae332833e55f86af764f96e3b408302ad8eccdeb00313b34b95a9e90f86503569f3cf88

diff --git a/net-misc/aria2/aria2-1.26.0.ebuild 
b/net-misc/aria2/aria2-1.26.0.ebuild
new file mode 100644
index 000..38d2f53
--- /dev/null
+++ b/net-misc/aria2/aria2-1.26.0.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="http://aria2.sourceforge.net/";
+SRC_URI="https://github.com/tatsuhiro-t/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+REQUIRED_USE="jemalloc? ( !tcmalloc )
+   tcmalloc? ( !jemalloc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && use !xmlrpc && use !metalink; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+  

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-07-15 Thread Michał Górny
commit: 65461771b22b947294b548fc328a7250a677de94
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 15 14:56:39 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 15 14:57:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65461771

net-misc/aria2: Bump to 1.25.0 (bugfix release)

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.25.0.ebuild | 150 +
 2 files changed, 151 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 18e16be..2e860cc 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,3 +1,4 @@
 DIST aria2-1.15.2.tar.bz2 2043212 SHA256 
6400431f4248f7a779ae8216ec2711b56ad7481fc659f06db1f22ed97b260836 SHA512 
6fc09ba1f682d13db829a3f5881a06ea0d0d2c1622511408f149cc109a12a01b19cec34caeeac10982061e9633bbb67e9ec40c23ee39a418fec6fb604af23bbe
 WHIRLPOOL 
b9544bb5359fc22dca5ba4e5328086deb0cf7d40fc69e7528ed57f14a89b30ffa6022ab7bfbe5f2fbd150b3974272286ff2f26d011bccaf5f973ccca00f2a44e
 DIST aria2-1.23.0.tar.xz 1493704 SHA256 
585185866415bf1120e4bf0a484e7dfec2e9e7c5305023b15ad0f66f90391f93 SHA512 
c64877f5d2a2fd9c45b0a592af508dab25c4f4610fb56243db77f660a004c48e567f0c6be707c8f44b8f6b1a3e7f90e0d1be77b421e56957b5a24b1252ffc5fd
 WHIRLPOOL 
5a6ab2a6b002b3279a9a96071f878029928d19c29f4442fa1c1fb26099976443bb8d260105fdafe59020749e1f9f481a81ca7c80af96fb0d49f3de4d0b3e14f1
 DIST aria2-1.24.0.tar.xz 1495632 SHA256 
35a496d2704ffb07e0b0dcac16c6d9b2854327967f984218517403d187f7bf37 SHA512 
3e7f3fc2cd30edb5813b0d0fe6742671000730aa8d7e41e5396ab673912b8492885273de740985517b4a16efccedb1bdffb9bfdc235aa0d5fc31d2b547ae61e7
 WHIRLPOOL 
31a22233c5aacfaf8ee93da4bc13af0138ab6bc6eec6a458cb846834d61ddf2f1082a69a1eb24ee8feaad65d426a8fd4c235ffd886dbee44fb8749ecf79c3f0e
+DIST aria2-1.25.0.tar.xz 1493880 SHA256 
ff89eb4c76cfc816a6f5abc7dfd416cc3f339e7d02c761f822fa965a18cf0d35 SHA512 
d7a58ff895a6c2adfb80ef3a21419ebb18a5539290d11df4a8023dc46289f71a80a07ce15b4f146c1640fb4065f48d38c0a065437f5a36098c99e3350c4993ab
 WHIRLPOOL 
783bafee91742d5f093a52bb3a792b55c37f920faff386ec80589f203a3e2df291efd83c8f3c9fa15bd5b982ca4b93bd25c8af227e68fe710d6d797a922aec21

diff --git a/net-misc/aria2/aria2-1.25.0.ebuild 
b/net-misc/aria2/aria2-1.25.0.ebuild
new file mode 100644
index 000..38d2f53
--- /dev/null
+++ b/net-misc/aria2/aria2-1.25.0.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="http://aria2.sourceforge.net/";
+SRC_URI="https://github.com/tatsuhiro-t/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+REQUIRED_USE="jemalloc? ( !tcmalloc )
+   tcmalloc? ( !jemalloc )"
+RESTRICT="!test? ( test )"
+
+pkg_setup() {
+   if use scripts && use !xmlrpc && use !metalink; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+   # threads, epoll: check for best portability
+
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-07-02 Thread Michał Górny
commit: dbfaeace2be21407130871a926e5fd648a3fef8a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  2 21:15:51 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  2 21:19:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbfaeace

net-misc/aria2: Add missing cond RESTRICT=test

 net-misc/aria2/aria2-1.15.2.ebuild | 2 ++
 net-misc/aria2/aria2-1.23.0.ebuild | 1 +
 net-misc/aria2/aria2-1.24.0.ebuild | 1 +
 3 files changed, 4 insertions(+)

diff --git a/net-misc/aria2/aria2-1.15.2.ebuild 
b/net-misc/aria2/aria2-1.15.2.ebuild
index 53100fa..374b9f3 100644
--- a/net-misc/aria2/aria2-1.15.2.ebuild
+++ b/net-misc/aria2/aria2-1.15.2.ebuild
@@ -44,6 +44,8 @@ RDEPEND="${CDEPEND}
nls? ( virtual/libiconv virtual/libintl )
scripts? ( dev-lang/ruby )"
 
+RESTRICT="!test? ( test )"
+
 pkg_setup() {
if use scripts && use !xmlrpc && use !metalink; then
ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"

diff --git a/net-misc/aria2/aria2-1.23.0.ebuild 
b/net-misc/aria2/aria2-1.23.0.ebuild
index 72e117f..38d2f53 100644
--- a/net-misc/aria2/aria2-1.23.0.ebuild
+++ b/net-misc/aria2/aria2-1.23.0.ebuild
@@ -52,6 +52,7 @@ RDEPEND="${CDEPEND}
 
 REQUIRED_USE="jemalloc? ( !tcmalloc )
tcmalloc? ( !jemalloc )"
+RESTRICT="!test? ( test )"
 
 pkg_setup() {
if use scripts && use !xmlrpc && use !metalink; then

diff --git a/net-misc/aria2/aria2-1.24.0.ebuild 
b/net-misc/aria2/aria2-1.24.0.ebuild
index 72e117f..38d2f53 100644
--- a/net-misc/aria2/aria2-1.24.0.ebuild
+++ b/net-misc/aria2/aria2-1.24.0.ebuild
@@ -52,6 +52,7 @@ RDEPEND="${CDEPEND}
 
 REQUIRED_USE="jemalloc? ( !tcmalloc )
tcmalloc? ( !jemalloc )"
+RESTRICT="!test? ( test )"
 
 pkg_setup() {
if use scripts && use !xmlrpc && use !metalink; then



[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-07-02 Thread Michał Górny
commit: 70085e39cdb961b4af4e415e36f897b81c4e618f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  2 21:14:51 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  2 21:19:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70085e39

net-misc/aria2: Drop old

 net-misc/aria2/Manifest|   3 -
 net-misc/aria2/aria2-1.19.0.ebuild | 148 
 net-misc/aria2/aria2-1.19.2.ebuild | 149 -
 net-misc/aria2/aria2-1.21.0.ebuild | 149 -
 4 files changed, 449 deletions(-)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index caa4a65..18e16be 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,6 +1,3 @@
 DIST aria2-1.15.2.tar.bz2 2043212 SHA256 
6400431f4248f7a779ae8216ec2711b56ad7481fc659f06db1f22ed97b260836 SHA512 
6fc09ba1f682d13db829a3f5881a06ea0d0d2c1622511408f149cc109a12a01b19cec34caeeac10982061e9633bbb67e9ec40c23ee39a418fec6fb604af23bbe
 WHIRLPOOL 
b9544bb5359fc22dca5ba4e5328086deb0cf7d40fc69e7528ed57f14a89b30ffa6022ab7bfbe5f2fbd150b3974272286ff2f26d011bccaf5f973ccca00f2a44e
-DIST aria2-1.19.0.tar.bz2 2155310 SHA256 
ae2b6fce7a0974c9156415cccf2395cd258580ab34eec2b34a8e76120b7240ce SHA512 
ba505b45f84266543cb403752cc3592469545dea806e77bd7b7fec1fbe7ed5baf14372cf6dea840ccbdd054cd0c92cdeb4516eb52b167aca03909000f02aec95
 WHIRLPOOL 
b13502f9dd646832799af6a0db199e87abae042c0e48b778f9b782d56d838c5b9d36bc04c487534f3fe1c59e970dc34702facc5508927325e34bcffa39946519
-DIST aria2-1.19.2.tar.xz 1377356 SHA256 
3605486dd495cd8c2f672b7d0b763397989d831396862f15730697ebcf0ad53e SHA512 
ae3fb231fa9f989a8c4f8015d7e64db2b62b922548839a884454ef1fc6dc024363b482268200efa234ac71a1dba969aaefbeb81c811223e2e117f3adae9a8468
 WHIRLPOOL 
10f4ad709e26f29685b05e5db4fde687c733404a994649d4f5c5a8f66bf60142ae3bc65179db7b83766e32663100b5c7c58f1b6e4a6f6a4d2f089176604a8c95
-DIST aria2-1.21.0.tar.xz 1438608 SHA256 
225c5f2c8acc899e0a802cdf198f82bd0d3282218e80cdce251b1f9ffacf6580 SHA512 
2862d82f064de160b64705ee5ae9180e7402859c7c0d9bc5421b1368cebd143e0a0e2e971713cd27f11efbeffe6618e801309ff34b12aeb00060b9de58652251
 WHIRLPOOL 
07030ec26b002c98f8a76984bec1594b76dba404c40dbda8d4d80d682ee41ac7667c45c9fb723fa335906ebf0f462f4d2bd924ce64422a26d23d7da4ae5b62d9
 DIST aria2-1.23.0.tar.xz 1493704 SHA256 
585185866415bf1120e4bf0a484e7dfec2e9e7c5305023b15ad0f66f90391f93 SHA512 
c64877f5d2a2fd9c45b0a592af508dab25c4f4610fb56243db77f660a004c48e567f0c6be707c8f44b8f6b1a3e7f90e0d1be77b421e56957b5a24b1252ffc5fd
 WHIRLPOOL 
5a6ab2a6b002b3279a9a96071f878029928d19c29f4442fa1c1fb26099976443bb8d260105fdafe59020749e1f9f481a81ca7c80af96fb0d49f3de4d0b3e14f1
 DIST aria2-1.24.0.tar.xz 1495632 SHA256 
35a496d2704ffb07e0b0dcac16c6d9b2854327967f984218517403d187f7bf37 SHA512 
3e7f3fc2cd30edb5813b0d0fe6742671000730aa8d7e41e5396ab673912b8492885273de740985517b4a16efccedb1bdffb9bfdc235aa0d5fc31d2b547ae61e7
 WHIRLPOOL 
31a22233c5aacfaf8ee93da4bc13af0138ab6bc6eec6a458cb846834d61ddf2f1082a69a1eb24ee8feaad65d426a8fd4c235ffd886dbee44fb8749ecf79c3f0e

diff --git a/net-misc/aria2/aria2-1.19.0.ebuild 
b/net-misc/aria2/aria2-1.19.0.ebuild
deleted file mode 100644
index 367eb2b..000
--- a/net-misc/aria2/aria2-1.19.0.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit bash-completion-r1 eutils
-
-DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
-HOMEPAGE="http://aria2.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
-SLOT="0"
-IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
-
-CDEPEND="sys-libs/zlib:0=
-   ssl? (
-   app-misc/ca-certificates
-   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
-   !gnutls? ( dev-libs/openssl:0= ) )
-   adns? ( >=net-dns/c-ares-1.5.0:0= )
-   bittorrent? (
-   ssl? (
-   gnutls? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   !ssl? (
-   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
-   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
-   jemalloc? ( dev-libs/jemalloc )
-   libuv? ( dev-libs/libuv:0= )
-   metalink? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( dev-libs/expat:0= ) )
-   sqlite? ( dev-db/sqlite:3= )
-   ssh? ( net-libs/libssh2:= )
-   tcmalloc? ( dev-util/google-perftools )
-   xmlrpc? (
-   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
-   !libxml2? ( de

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-06-23 Thread Michał Górny
commit: 4a3e0b835452b1d291ed0661e6a4a9f0b9f5278c
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 23 12:10:51 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 23 12:47:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a3e0b83

net-misc/aria2: Bump to 1.24.0

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.24.0.ebuild | 149 +
 2 files changed, 150 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index b0c6112..caa4a65 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -3,3 +3,4 @@ DIST aria2-1.19.0.tar.bz2 2155310 SHA256 
ae2b6fce7a0974c9156415cccf2395cd258580a
 DIST aria2-1.19.2.tar.xz 1377356 SHA256 
3605486dd495cd8c2f672b7d0b763397989d831396862f15730697ebcf0ad53e SHA512 
ae3fb231fa9f989a8c4f8015d7e64db2b62b922548839a884454ef1fc6dc024363b482268200efa234ac71a1dba969aaefbeb81c811223e2e117f3adae9a8468
 WHIRLPOOL 
10f4ad709e26f29685b05e5db4fde687c733404a994649d4f5c5a8f66bf60142ae3bc65179db7b83766e32663100b5c7c58f1b6e4a6f6a4d2f089176604a8c95
 DIST aria2-1.21.0.tar.xz 1438608 SHA256 
225c5f2c8acc899e0a802cdf198f82bd0d3282218e80cdce251b1f9ffacf6580 SHA512 
2862d82f064de160b64705ee5ae9180e7402859c7c0d9bc5421b1368cebd143e0a0e2e971713cd27f11efbeffe6618e801309ff34b12aeb00060b9de58652251
 WHIRLPOOL 
07030ec26b002c98f8a76984bec1594b76dba404c40dbda8d4d80d682ee41ac7667c45c9fb723fa335906ebf0f462f4d2bd924ce64422a26d23d7da4ae5b62d9
 DIST aria2-1.23.0.tar.xz 1493704 SHA256 
585185866415bf1120e4bf0a484e7dfec2e9e7c5305023b15ad0f66f90391f93 SHA512 
c64877f5d2a2fd9c45b0a592af508dab25c4f4610fb56243db77f660a004c48e567f0c6be707c8f44b8f6b1a3e7f90e0d1be77b421e56957b5a24b1252ffc5fd
 WHIRLPOOL 
5a6ab2a6b002b3279a9a96071f878029928d19c29f4442fa1c1fb26099976443bb8d260105fdafe59020749e1f9f481a81ca7c80af96fb0d49f3de4d0b3e14f1
+DIST aria2-1.24.0.tar.xz 1495632 SHA256 
35a496d2704ffb07e0b0dcac16c6d9b2854327967f984218517403d187f7bf37 SHA512 
3e7f3fc2cd30edb5813b0d0fe6742671000730aa8d7e41e5396ab673912b8492885273de740985517b4a16efccedb1bdffb9bfdc235aa0d5fc31d2b547ae61e7
 WHIRLPOOL 
31a22233c5aacfaf8ee93da4bc13af0138ab6bc6eec6a458cb846834d61ddf2f1082a69a1eb24ee8feaad65d426a8fd4c235ffd886dbee44fb8749ecf79c3f0e

diff --git a/net-misc/aria2/aria2-1.24.0.ebuild 
b/net-misc/aria2/aria2-1.24.0.ebuild
new file mode 100644
index 000..72e117f
--- /dev/null
+++ b/net-misc/aria2/aria2-1.24.0.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="http://aria2.sourceforge.net/";
+SRC_URI="https://github.com/tatsuhiro-t/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+REQUIRED_USE="jemalloc? ( !tcmalloc )
+   tcmalloc? ( !jemalloc )"
+
+pkg_setup() {
+   if use scripts && use !xmlrpc && use !metalink; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+   # threads, epoll: check

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-05-24 Thread Michał Górny
commit: 32e8c8a7a8ac141cb6a1101cb36052cf6403703b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 24 12:24:49 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 24 12:45:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32e8c8a7

net-misc/aria2: Bump to 1.23.0

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.23.0.ebuild | 149 +
 2 files changed, 150 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index bc99f8e..b0c6112 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -2,3 +2,4 @@ DIST aria2-1.15.2.tar.bz2 2043212 SHA256 
6400431f4248f7a779ae8216ec2711b56ad7481
 DIST aria2-1.19.0.tar.bz2 2155310 SHA256 
ae2b6fce7a0974c9156415cccf2395cd258580ab34eec2b34a8e76120b7240ce SHA512 
ba505b45f84266543cb403752cc3592469545dea806e77bd7b7fec1fbe7ed5baf14372cf6dea840ccbdd054cd0c92cdeb4516eb52b167aca03909000f02aec95
 WHIRLPOOL 
b13502f9dd646832799af6a0db199e87abae042c0e48b778f9b782d56d838c5b9d36bc04c487534f3fe1c59e970dc34702facc5508927325e34bcffa39946519
 DIST aria2-1.19.2.tar.xz 1377356 SHA256 
3605486dd495cd8c2f672b7d0b763397989d831396862f15730697ebcf0ad53e SHA512 
ae3fb231fa9f989a8c4f8015d7e64db2b62b922548839a884454ef1fc6dc024363b482268200efa234ac71a1dba969aaefbeb81c811223e2e117f3adae9a8468
 WHIRLPOOL 
10f4ad709e26f29685b05e5db4fde687c733404a994649d4f5c5a8f66bf60142ae3bc65179db7b83766e32663100b5c7c58f1b6e4a6f6a4d2f089176604a8c95
 DIST aria2-1.21.0.tar.xz 1438608 SHA256 
225c5f2c8acc899e0a802cdf198f82bd0d3282218e80cdce251b1f9ffacf6580 SHA512 
2862d82f064de160b64705ee5ae9180e7402859c7c0d9bc5421b1368cebd143e0a0e2e971713cd27f11efbeffe6618e801309ff34b12aeb00060b9de58652251
 WHIRLPOOL 
07030ec26b002c98f8a76984bec1594b76dba404c40dbda8d4d80d682ee41ac7667c45c9fb723fa335906ebf0f462f4d2bd924ce64422a26d23d7da4ae5b62d9
+DIST aria2-1.23.0.tar.xz 1493704 SHA256 
585185866415bf1120e4bf0a484e7dfec2e9e7c5305023b15ad0f66f90391f93 SHA512 
c64877f5d2a2fd9c45b0a592af508dab25c4f4610fb56243db77f660a004c48e567f0c6be707c8f44b8f6b1a3e7f90e0d1be77b421e56957b5a24b1252ffc5fd
 WHIRLPOOL 
5a6ab2a6b002b3279a9a96071f878029928d19c29f4442fa1c1fb26099976443bb8d260105fdafe59020749e1f9f481a81ca7c80af96fb0d49f3de4d0b3e14f1

diff --git a/net-misc/aria2/aria2-1.23.0.ebuild 
b/net-misc/aria2/aria2-1.23.0.ebuild
new file mode 100644
index 000..72e117f
--- /dev/null
+++ b/net-misc/aria2/aria2-1.23.0.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit bash-completion-r1
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="http://aria2.sourceforge.net/";
+SRC_URI="https://github.com/tatsuhiro-t/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+REQUIRED_USE="jemalloc? ( !tcmalloc )
+   tcmalloc? ( !jemalloc )"
+
+pkg_setup() {
+   if use scripts && use !xmlrpc && use !metalink; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   default
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+   # threads, epoll: chec

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/, net-misc/aria2/files/

2016-05-24 Thread Michał Górny
commit: 5641a2af8c6942e3db3699665f5e56219ded1016
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 24 11:59:25 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 24 12:45:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5641a2af

net-misc/aria2: Clean up old

 net-misc/aria2/Manifest|   6 -
 net-misc/aria2/aria2-1.16.3.ebuild | 135 ---
 net-misc/aria2/aria2-1.16.5.ebuild | 136 ---
 net-misc/aria2/aria2-1.18.0.ebuild | 140 ---
 net-misc/aria2/aria2-1.18.5.ebuild | 148 -
 net-misc/aria2/aria2-1.18.7.ebuild | 147 
 net-misc/aria2/aria2-1.18.9.ebuild | 147 
 ...aria2-1.18.5-fix-gnutls-2.x-compatibility.patch |  37 --
 8 files changed, 896 deletions(-)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index af146cb..bc99f8e 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -1,10 +1,4 @@
 DIST aria2-1.15.2.tar.bz2 2043212 SHA256 
6400431f4248f7a779ae8216ec2711b56ad7481fc659f06db1f22ed97b260836 SHA512 
6fc09ba1f682d13db829a3f5881a06ea0d0d2c1622511408f149cc109a12a01b19cec34caeeac10982061e9633bbb67e9ec40c23ee39a418fec6fb604af23bbe
 WHIRLPOOL 
b9544bb5359fc22dca5ba4e5328086deb0cf7d40fc69e7528ed57f14a89b30ffa6022ab7bfbe5f2fbd150b3974272286ff2f26d011bccaf5f973ccca00f2a44e
-DIST aria2-1.16.3.tar.bz2 2082238 SHA256 
989f8eb5599394681d75e18acf3d4261870cc2dce70b813ce84305dc3c9e50a2 SHA512 
c9d09a8f45df6e3a472709460ec42ed5db189a72652b2dbdb515b84e1acd221bffb151baf0b2036b180e07a5b6a82350327cb6dbad9268cf5eaeed9c47abe21e
 WHIRLPOOL 
60523ce102dac5e6e4bbd1a8eecf8fcf6059aed5e8d7b01db551e64bc9244fcd75efc14a29840ffdb84b74d5809bed494fb707eba9f5189ff613f54b4d2bf6b3
-DIST aria2-1.16.5.tar.bz2 2152749 SHA256 
06aee1f296b984a8aed54ac7d7bc52eb2b4315273ec555bf3b06c10214528eed SHA512 
44544daad15b0f9fb63eccff855d0775bad7131f427d7ad75326cd875392a445ca36e1f1cb1a870276d554e708dd1850b20be1b4bbcf8e7fc9874478c848a754
 WHIRLPOOL 
e49383afd04a5d7d55152cdfb9026885cea39d843b49d864d78c372559bd3706391d2748931da5b96839a92826775292c5e925e947d500653899f8eb1d9be819
-DIST aria2-1.18.0.tar.bz2 2080003 SHA256 
ad811508d5153d138de2c43228c36fa046574bf2e94e108af558db7722f6513a SHA512 
bb52ef1c6963db6649fbcde2110d6ba659a7f8f5851c7f5d9bdbebbdff7e68cc5e435a8a1ae32c5e78bb812d6e84caab9d14ee8cc435c24902c6499a3df1aca8
 WHIRLPOOL 
0e6f022719c05991033ef4651c8d58cafcd14a6a81d7e476aa168e3d52293abe148958ed00b92552d6e9a4fb7ffd10634658e6c2820c2c8654b493ea14a4e82a
-DIST aria2-1.18.5.tar.bz2 2102797 SHA256 
25e21f94bb278a8624e0e4e131e740d105f7d5570290053beb8ae6c33fb9ce3f SHA512 
bb08305026db77c9e58d7b059d7b68a0bfbffcbdcf2898117ed37f7e23b95675c9744de50b789658cc9cad81f40ef422f0936499ccdbeb37eaa2f7281c8adff9
 WHIRLPOOL 
483a75d4efb28839b85de06dc18b5ed05f3e49b91f24dde189add4ce9a5912d7587b3ba2309b2a394addf7676ed121f9707da240e5c33e8a4757341f27c6efde
-DIST aria2-1.18.7.tar.bz2 2141933 SHA256 
358bda2a7b1d5aca1acc4b528f32bd01f5db819c067e7a4bbfab08d23500368f SHA512 
d8b70d0235eb96289ebeb4adc4c5a917785dcd15ebae884b367b3645717bc969ded9c0f520be773fc80ed5dd112fd5937bee6cb0e8c238dc39debbf8862b25a3
 WHIRLPOOL 
714c2d88ef5a66e3d08970aa02dfa1a2da284042faf5e6e8ad6bb6f6706c8c4ba1d44681ef0f6c58ced052debb000cebcc0266b45226f31983bb3e3790149d7c
-DIST aria2-1.18.9.tar.bz2 2151923 SHA256 
e24bca91edbe8fff52615420085317ce22faec4a0a9c34843f86dbcc2a79c4b2 SHA512 
6a701f23167255a8ea135c6c9455a11d0eddf007fbcc1c3af663dd98825c0812d7db0214be963a06740e60d8b6fdae92bee5062aa4864b212b959e97ac857d74
 WHIRLPOOL 
0996dbbcd9828e8a977275f889e14a0e5a8fc0dc5d1a05a7550542cab27de252597389a796da98590935d02a81fdf302f9d078c8c0068af0587a2437ee01e85a
 DIST aria2-1.19.0.tar.bz2 2155310 SHA256 
ae2b6fce7a0974c9156415cccf2395cd258580ab34eec2b34a8e76120b7240ce SHA512 
ba505b45f84266543cb403752cc3592469545dea806e77bd7b7fec1fbe7ed5baf14372cf6dea840ccbdd054cd0c92cdeb4516eb52b167aca03909000f02aec95
 WHIRLPOOL 
b13502f9dd646832799af6a0db199e87abae042c0e48b778f9b782d56d838c5b9d36bc04c487534f3fe1c59e970dc34702facc5508927325e34bcffa39946519
 DIST aria2-1.19.2.tar.xz 1377356 SHA256 
3605486dd495cd8c2f672b7d0b763397989d831396862f15730697ebcf0ad53e SHA512 
ae3fb231fa9f989a8c4f8015d7e64db2b62b922548839a884454ef1fc6dc024363b482268200efa234ac71a1dba969aaefbeb81c811223e2e117f3adae9a8468
 WHIRLPOOL 
10f4ad709e26f29685b05e5db4fde687c733404a994649d4f5c5a8f66bf60142ae3bc65179db7b83766e32663100b5c7c58f1b6e4a6f6a4d2f089176604a8c95
 DIST aria2-1.21.0.tar.xz 1438608 SHA256 
225c5f2c8acc899e0a802cdf198f82bd0d3282218e80cdce251b1f9ffacf6580 SHA512 
2862d82f064de160b64705ee5ae9180e7402859c7c0d9bc5421b1368cebd143e0a0e2e971713cd27f11efbeffe6618e801309ff34b12aeb00060b9de58652251
 WHIRLPOOL 
07030ec26b002c98f8a76984bec1594b76dba404c40dbda8d4d80d682ee41ac7667c45c9fb723fa335906ebf0f462f4d2bd924ce64422a26d23d7da4ae5b62d9

diff --git a/ne

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2016-04-09 Thread Michał Górny
commit: c07a10fee955bc389b8ada0db44fbd82d25397d4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  9 10:42:14 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  9 11:14:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c07a10fe

net-misc/aria2: Bump to 1.21.0, #579022

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.21.0.ebuild | 149 +
 2 files changed, 150 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index c5769b6..af146cb 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -7,3 +7,4 @@ DIST aria2-1.18.7.tar.bz2 2141933 SHA256 
358bda2a7b1d5aca1acc4b528f32bd01f5db819
 DIST aria2-1.18.9.tar.bz2 2151923 SHA256 
e24bca91edbe8fff52615420085317ce22faec4a0a9c34843f86dbcc2a79c4b2 SHA512 
6a701f23167255a8ea135c6c9455a11d0eddf007fbcc1c3af663dd98825c0812d7db0214be963a06740e60d8b6fdae92bee5062aa4864b212b959e97ac857d74
 WHIRLPOOL 
0996dbbcd9828e8a977275f889e14a0e5a8fc0dc5d1a05a7550542cab27de252597389a796da98590935d02a81fdf302f9d078c8c0068af0587a2437ee01e85a
 DIST aria2-1.19.0.tar.bz2 2155310 SHA256 
ae2b6fce7a0974c9156415cccf2395cd258580ab34eec2b34a8e76120b7240ce SHA512 
ba505b45f84266543cb403752cc3592469545dea806e77bd7b7fec1fbe7ed5baf14372cf6dea840ccbdd054cd0c92cdeb4516eb52b167aca03909000f02aec95
 WHIRLPOOL 
b13502f9dd646832799af6a0db199e87abae042c0e48b778f9b782d56d838c5b9d36bc04c487534f3fe1c59e970dc34702facc5508927325e34bcffa39946519
 DIST aria2-1.19.2.tar.xz 1377356 SHA256 
3605486dd495cd8c2f672b7d0b763397989d831396862f15730697ebcf0ad53e SHA512 
ae3fb231fa9f989a8c4f8015d7e64db2b62b922548839a884454ef1fc6dc024363b482268200efa234ac71a1dba969aaefbeb81c811223e2e117f3adae9a8468
 WHIRLPOOL 
10f4ad709e26f29685b05e5db4fde687c733404a994649d4f5c5a8f66bf60142ae3bc65179db7b83766e32663100b5c7c58f1b6e4a6f6a4d2f089176604a8c95
+DIST aria2-1.21.0.tar.xz 1438608 SHA256 
225c5f2c8acc899e0a802cdf198f82bd0d3282218e80cdce251b1f9ffacf6580 SHA512 
2862d82f064de160b64705ee5ae9180e7402859c7c0d9bc5421b1368cebd143e0a0e2e971713cd27f11efbeffe6618e801309ff34b12aeb00060b9de58652251
 WHIRLPOOL 
07030ec26b002c98f8a76984bec1594b76dba404c40dbda8d4d80d682ee41ac7667c45c9fb723fa335906ebf0f462f4d2bd924ce64422a26d23d7da4ae5b62d9

diff --git a/net-misc/aria2/aria2-1.21.0.ebuild 
b/net-misc/aria2/aria2-1.21.0.ebuild
new file mode 100644
index 000..40ee99f
--- /dev/null
+++ b/net-misc/aria2/aria2-1.21.0.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit bash-completion-r1 eutils
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="http://aria2.sourceforge.net/";
+SRC_URI="https://github.com/tatsuhiro-t/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+REQUIRED_USE="jemalloc? ( !tcmalloc )
+   tcmalloc? ( !jemalloc )"
+
+pkg_setup() {
+   if use scripts && use !xmlrpc && use !metalink; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_prepare() {
+   epatch_user
+   sed -i -e "s|/tmp|${T}|" test/*.cc test/*.txt || die "sed failed"
+}
+
+src_configure() {
+   local myconf=(
+   #

[gentoo-commits] repo/gentoo:master commit in: net-misc/aria2/

2015-11-21 Thread Michał Górny
commit: 1ac46041db8c84deccc8e45bcb0fa819f73b9d9e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 21 21:55:16 2015 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 21 22:23:54 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ac46041

net-misc/aria2: Bump to 1.19.2, #566408

Bump to version 1.19.2 which contains quite a large list of bugfixes.
Most importantly, RSA-SHA1 was reenabled in TLS since it caused many
interoperability problems.

 net-misc/aria2/Manifest|   1 +
 net-misc/aria2/aria2-1.19.2.ebuild | 149 +
 2 files changed, 150 insertions(+)

diff --git a/net-misc/aria2/Manifest b/net-misc/aria2/Manifest
index 8d0df88..c5769b6 100644
--- a/net-misc/aria2/Manifest
+++ b/net-misc/aria2/Manifest
@@ -6,3 +6,4 @@ DIST aria2-1.18.5.tar.bz2 2102797 SHA256 
25e21f94bb278a8624e0e4e131e740d105f7d55
 DIST aria2-1.18.7.tar.bz2 2141933 SHA256 
358bda2a7b1d5aca1acc4b528f32bd01f5db819c067e7a4bbfab08d23500368f SHA512 
d8b70d0235eb96289ebeb4adc4c5a917785dcd15ebae884b367b3645717bc969ded9c0f520be773fc80ed5dd112fd5937bee6cb0e8c238dc39debbf8862b25a3
 WHIRLPOOL 
714c2d88ef5a66e3d08970aa02dfa1a2da284042faf5e6e8ad6bb6f6706c8c4ba1d44681ef0f6c58ced052debb000cebcc0266b45226f31983bb3e3790149d7c
 DIST aria2-1.18.9.tar.bz2 2151923 SHA256 
e24bca91edbe8fff52615420085317ce22faec4a0a9c34843f86dbcc2a79c4b2 SHA512 
6a701f23167255a8ea135c6c9455a11d0eddf007fbcc1c3af663dd98825c0812d7db0214be963a06740e60d8b6fdae92bee5062aa4864b212b959e97ac857d74
 WHIRLPOOL 
0996dbbcd9828e8a977275f889e14a0e5a8fc0dc5d1a05a7550542cab27de252597389a796da98590935d02a81fdf302f9d078c8c0068af0587a2437ee01e85a
 DIST aria2-1.19.0.tar.bz2 2155310 SHA256 
ae2b6fce7a0974c9156415cccf2395cd258580ab34eec2b34a8e76120b7240ce SHA512 
ba505b45f84266543cb403752cc3592469545dea806e77bd7b7fec1fbe7ed5baf14372cf6dea840ccbdd054cd0c92cdeb4516eb52b167aca03909000f02aec95
 WHIRLPOOL 
b13502f9dd646832799af6a0db199e87abae042c0e48b778f9b782d56d838c5b9d36bc04c487534f3fe1c59e970dc34702facc5508927325e34bcffa39946519
+DIST aria2-1.19.2.tar.xz 1377356 SHA256 
3605486dd495cd8c2f672b7d0b763397989d831396862f15730697ebcf0ad53e SHA512 
ae3fb231fa9f989a8c4f8015d7e64db2b62b922548839a884454ef1fc6dc024363b482268200efa234ac71a1dba969aaefbeb81c811223e2e117f3adae9a8468
 WHIRLPOOL 
10f4ad709e26f29685b05e5db4fde687c733404a994649d4f5c5a8f66bf60142ae3bc65179db7b83766e32663100b5c7c58f1b6e4a6f6a4d2f089176604a8c95

diff --git a/net-misc/aria2/aria2-1.19.2.ebuild 
b/net-misc/aria2/aria2-1.19.2.ebuild
new file mode 100644
index 000..512ee76
--- /dev/null
+++ b/net-misc/aria2/aria2-1.19.2.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit bash-completion-r1 eutils
+
+DESCRIPTION="A download utility with segmented downloading with BitTorrent 
support"
+HOMEPAGE="http://aria2.sourceforge.net/";
+SRC_URI="https://github.com/tatsuhiro-t/${PN}/releases/download/release-${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls 
sqlite scripts ssh ssl tcmalloc test xmlrpc"
+
+CDEPEND="sys-libs/zlib:0=
+   ssl? (
+   app-misc/ca-certificates
+   gnutls? ( >=net-libs/gnutls-1.2.9:0= )
+   !gnutls? ( dev-libs/openssl:0= ) )
+   adns? ( >=net-dns/c-ares-1.5.0:0= )
+   bittorrent? (
+   ssl? (
+   gnutls? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   !ssl? (
+   nettle? ( >=dev-libs/nettle-2.4:0=[gmp] 
>=dev-libs/gmp-5:0= )
+   !nettle? ( >=dev-libs/libgcrypt-1.2.2:0= ) ) )
+   jemalloc? ( dev-libs/jemalloc )
+   libuv? ( dev-libs/libuv:0= )
+   metalink? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )
+   sqlite? ( dev-db/sqlite:3= )
+   ssh? ( net-libs/libssh2:= )
+   tcmalloc? ( dev-util/google-perftools )
+   xmlrpc? (
+   libxml2? ( >=dev-libs/libxml2-2.6.26:2= )
+   !libxml2? ( dev-libs/expat:0= ) )"
+
+DEPEND="${CDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )
+   test? ( >=dev-util/cppunit-1.12.0:0 )"
+RDEPEND="${CDEPEND}
+   nls? ( virtual/libiconv virtual/libintl )
+   scripts? ( dev-lang/ruby )"
+
+REQUIRED_USE="jemalloc? ( !tcmalloc )
+   tcmalloc? ( !jemalloc )"
+
+pkg_setup() {
+   if use scripts && use !xmlrpc && use !metalink; then
+   ewarn "Please note that you may need to enable USE=xmlrpc to 
run the aria2rpc"
+   ewarn "and aria2mon scripts against the local aria2."
+   fi
+}
+
+src_pr