summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-06-27 09:31:26 +0200
committerMichał Górny <mgorny@gentoo.org>2019-06-27 10:17:49 +0200
commit01d7096ca1ab0c79e5bbf442188d13ab6aadefff (patch)
tree2ce52135b722d7dcc6e070bc0832cd8b8e4b677d /net-misc/aria2/metadata.xml
parentnet-misc/aria2: Correct LICENSE (diff)
downloadgentoo-01d7096ca1ab0c79e5bbf442188d13ab6aadefff.tar.gz
gentoo-01d7096ca1ab0c79e5bbf442188d13ab6aadefff.tar.bz2
gentoo-01d7096ca1ab0c79e5bbf442188d13ab6aadefff.zip
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 <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/aria2/metadata.xml')
-rw-r--r--net-misc/aria2/metadata.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-misc/aria2/metadata.xml b/net-misc/aria2/metadata.xml
index e5e58f42b404..27fefc927194 100644
--- a/net-misc/aria2/metadata.xml
+++ b/net-misc/aria2/metadata.xml
@@ -11,10 +11,11 @@
</maintainer>
<use>
<flag name="bittorrent">Enable support for the bittorrent protocol.</flag>
+ <flag name="gnutls">Use <pkg>net-libs/gnutls</pkg> as TLS provider (preferred). Otherwise, <pkg>dev-libs/openssl</pkg> will be used as TLS provider. Both apply only with USE=ssl.</flag>
<flag name="libuv">Use <pkg>dev-libs/libuv</pkg> backend.</flag>
<flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> for XML parsing (preferred) instead of <pkg>dev-libs/expat</pkg>.</flag>
- <flag name="nettle">Use <pkg>dev-libs/nettle</pkg> and <pkg>dev-libs/gmp</pkg> for bittorrent/metalink crypto instead of <pkg>dev-libs/libgcrypt</pkg> (when <pkg>dev-libs/openssl</pkg> is not being used).</flag>
<flag name="metalink">Enable support for metalink.</flag>
+ <flag name="nettle">Use <pkg>dev-libs/nettle</pkg> for message digests, plus <pkg>dev-libs/gmp</pkg> for bittorrent (if enabled). If this flag is disabled, <pkg>dev-libs/libgcrypt</pkg> is used instead. This flag is ignored if <pkg>dev-libs/openssl</pkg> is used.</flag>
<flag name="scripts">Install additional scripts which use aria2's xmlrpc functionality.</flag>
<flag name="ssh">Enable SFTP support.</flag>
</use>