diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-22 18:21:08 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-22 20:23:32 +0200 |
commit | de8927c7212b2d04caaf110f2d5d52d29be5fe44 (patch) | |
tree | c74bf05f9eeebfb8247f2c3c3ba81ca5dd103f7e /net-misc/aria2 | |
parent | dev-python/pandas: Bump to 1.5.0 (diff) | |
download | gentoo-de8927c7212b2d04caaf110f2d5d52d29be5fe44.tar.gz gentoo-de8927c7212b2d04caaf110f2d5d52d29be5fe44.tar.bz2 gentoo-de8927c7212b2d04caaf110f2d5d52d29be5fe44.zip |
net-misc/aria2: Disable websocket support that requires bundled libs
Closes: https://bugs.gentoo.org/872191
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/aria2')
-rw-r--r-- | net-misc/aria2/aria2-1.36.0-r1.ebuild (renamed from net-misc/aria2/aria2-1.36.0.ebuild) | 38 |
1 files 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 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. |