commit:     30bae6c2c3298e7661a7794153e125493f305edf
Author:     Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx>
AuthorDate: Thu Jul 31 16:03:16 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  3 00:24:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30bae6c2

net-analyzer/testssl: handle new required tools with optfeature

* `net-misc/socat`: used to check for STARTTLS injections
* `/usr/bin/xxd` (from app-editors/vim-core): faster hexdump->binary conversions

Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx>
Part-of: https://github.com/gentoo/gentoo/pull/43268
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/testssl/testssl-3.2.2.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/net-analyzer/testssl/testssl-3.2.2.ebuild 
b/net-analyzer/testssl/testssl-3.2.2.ebuild
index 33b5c12af1c5..c04d77aeee47 100644
--- a/net-analyzer/testssl/testssl-3.2.2.ebuild
+++ b/net-analyzer/testssl/testssl-3.2.2.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit optfeature
+
 MY_PN="${PN}.sh"
 MY_PV="${PV/_p/-}"
 
@@ -63,3 +65,8 @@ src_install() {
                doexe bin/${BUNDLED_OPENSSL}
        fi
 }
+
+pkg_postinst() {
+       optfeature "Check for STARTTLS injection issues" net-misc/socat
+       optfeature "Faster conversions from hexdump to binary" 
app-editors/vim-core
+}

Reply via email to