commit: 9e6c18dc76a29ca82b22573004240ec1befb7e36
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Jan 16 06:28:34 2024 +0000
Commit: orbea <orbea <AT> riseup <DOT> net>
CommitDate: Tue Jan 16 06:28:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=9e6c18dc
dev-libs/libressl: new use, netcat
Enable installing a TLS-enabled nc(1).
Signed-off-by: orbea <orbea <AT> riseup.net>
dev-libs/libressl/libressl-3.8.2.ebuild | 8 +++++++-
dev-libs/libressl/metadata.xml | 1 +
2 files changed, 8 insertions(+), 1 deletion(-)
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>