aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2024-01-15 22:28:34 -0800
committerorbea <orbea@riseup.net>2024-01-15 22:28:34 -0800
commit9e6c18dc76a29ca82b22573004240ec1befb7e36 (patch)
tree7f3551fd8bc5165c430fe788111e68189511d3ef /dev-libs
parentdev-lang/python: sync ::gentoo (diff)
downloadlibressl-9e6c18dc76a29ca82b22573004240ec1befb7e36.tar.gz
libressl-9e6c18dc76a29ca82b22573004240ec1befb7e36.tar.bz2
libressl-9e6c18dc76a29ca82b22573004240ec1befb7e36.zip
dev-libs/libressl: new use, netcat
Enable installing a TLS-enabled nc(1). Signed-off-by: orbea <orbea@riseup.net>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libressl/libressl-3.8.2.ebuild8
-rw-r--r--dev-libs/libressl/metadata.xml1
2 files changed, 8 insertions, 1 deletions
diff --git a/dev-libs/libressl/libressl-3.8.2.ebuild b/dev-libs/libressl/libressl-3.8.2.ebuild
index 8ecef4b..78f16c0 100644
--- a/dev-libs/libressl/libressl-3.8.2.ebuild
+++ b/dev-libs/libressl/libressl-3.8.2.ebuild
@@ -18,11 +18,16 @@ LICENSE="ISC openssl"
# versions, we have to change the subslot to trigger rebuild of consumers.
SLOT="0/55"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="+asm static-libs test"
+IUSE="+asm netcat static-libs test"
RESTRICT="!test? ( test )"
PDEPEND="app-misc/ca-certificates"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-libressl )"
+RDEPEND="netcat? (
+ !net-analyzer/netcat
+ !net-analyzer/nmap[symlink]
+ !net-analyzer/openbsd-netcat
+)"
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libressl.asc
@@ -53,6 +58,7 @@ multilib_src_configure() {
local args=(
$(use_enable asm)
$(use_enable static-libs static)
+ $(use_enable netcat nc)
$(use_enable test tests)
)
econf "${args[@]}"
diff --git a/dev-libs/libressl/metadata.xml b/dev-libs/libressl/metadata.xml
index a7201a6..f497ca7 100644
--- a/dev-libs/libressl/metadata.xml
+++ b/dev-libs/libressl/metadata.xml
@@ -11,6 +11,7 @@
</longdescription>
<use>
<flag name="asm">Enables assembly</flag>
+ <flag name="netcat">Enable installing TLS-enabled nc(1)</flag>
</use>
<upstream>
<changelog>http://www.libressl.org/releases.html</changelog>