summaryrefslogtreecommitdiff
path: root/net-analyzer/sslscan
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-19 23:39:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-19 23:39:38 +0000
commitcc5ddec0bbae3bf2151f62ef22d19b5e85cb8f35 (patch)
tree0ecbd113fafef1c07a494eb72954a4768ea4040a /net-analyzer/sslscan
parent9aa795a0179b29f7489bd04584bc8d2914da467b (diff)
gentoo auto-resync : 19:02:2024 - 23:39:38
Diffstat (limited to 'net-analyzer/sslscan')
-rw-r--r--net-analyzer/sslscan/Manifest2
-rw-r--r--net-analyzer/sslscan/sslscan-2.1.3-r1.ebuild82
2 files changed, 84 insertions, 0 deletions
diff --git a/net-analyzer/sslscan/Manifest b/net-analyzer/sslscan/Manifest
index d74f43ee5be4..2fd5bd8b570b 100644
--- a/net-analyzer/sslscan/Manifest
+++ b/net-analyzer/sslscan/Manifest
@@ -4,7 +4,9 @@ DIST sslscan-2.1.2.tar.gz 113842 BLAKE2B b4c297b9b8619f559bae28debaeab5fae89ba60
DIST sslscan-2.1.3.tar.gz 113917 BLAKE2B 2c3dd21838bca82035dc4d1c48869d4d2c2a18ea603b947d39040744d2f51c4946e6ca6681d734aafc62cf71b6e380b31f6f29c7164c14c2d75e0d1ab5925245 SHA512 62dbb8c97598cdc5bf22cb8311eaba6cff186f6b874d8eb4165a80d0577cd0a13837222fe6ee4e015c353acef2691ff044f4538c04044869805b5455abf36155
DIST sslscan-openssl-3.0.11.tar.gz 15347070 BLAKE2B e9b0d6c53b66fc66b1dfe46b042adb9bad770fa60555eea65748ef59bd7231ea8882f16ddff7e5ebdd1c164a83264a5d7da37a4f0207a3bd88045cabcebe0ea8 SHA512 4dd485720a335879bd52d0045edf65fd8397b6f6b6afb3e2c756230937304975b3bd95f67933cadde175cae81d420a692fcf7e96b9f9d2b059ea387a8d9ac305
DIST sslscan-openssl-3.0.12.tar.gz 15352880 BLAKE2B 55a321609e97636173421e738bfb745b6e9a912744fba6d83bfecba199f8684b5625b8547e29305dacda91735cd329fc4c3f5c1f0f919d362a81995073781796 SHA512 8eb6141c1f3d43aa7dd5a5570c99302910feae0d25ab872c58432e5d11d3e330a069715fd4a0cd03234f3fb3e5e9fba38ef59977f7ecf162a2b048476dbb14c6
+DIST sslscan-openssl-3.0.13.tar.gz 15440228 BLAKE2B 00f66b5940b494c36ea8731f05691bf85206c7a93f6313f3ff2cea36d35ce99e71dadc9620188eee8ea0d7be523721af432d7fd74aa59e34634796cd0e4899a6 SHA512 272223fefae76759de40219dd05ff119b99688a807c1af01360470ac5f390426e45463c1445988bf0a6e4cca23a6e0b1649a78121f9d6f69f92563e307a7fd70
EBUILD sslscan-2.1.1.ebuild 2054 BLAKE2B cc60cef80ffa7bbffab581cfc75fc25bf0531967672454f289dffe39f6737d7be183739d245fd66f01f91fb26f70fe4d21d8ee78097c8ef4ccfb59bfdd4c2375 SHA512 8b9061f2b329aea77a9d14ad039b9d34ce41912f87c66e3dbe2c3c8857955f6ead1bd640ed0cc60618ab105cbc52ad253242a106152a280055b06e5c17a549e6
EBUILD sslscan-2.1.2.ebuild 2054 BLAKE2B ca7d408a6ea867bb24f64f5165128e00a40a70cb15b53001197fff0e8d0cf0f9ad4ab1594afa625072584326a4ad1c35e4cbf71d14f9d3e0cb706aaa077c8c8a SHA512 a8a028449e53b8945d666427f8f2da1627b956115f05704501547e573afe447fe10d772697e82f460381e7f6cc8e0a9422526ecf7f343d195875e0ee8b297e61
+EBUILD sslscan-2.1.3-r1.ebuild 2063 BLAKE2B 8ef178e75a73ee1242980ee512b501c135f3aca609b6e6d6c7e397878e4ff0f52c14558d92f23367966d55f52afcedde4ad16eeb1be8d2ff2620b52d2d9f29b4 SHA512 befe40ece5b58a429788405a63d6a18d3fae860e8cc0f2a7d6ec8ad0f67367b2ad23865f3a2035518ff626960028515d1ef6b2588397522b377e48d14d8967e3
EBUILD sslscan-2.1.3.ebuild 2056 BLAKE2B e043448c24637e3aae4df69da11e9ac40f1230c84ee181a543dd8d1328c393942f496ae1f25c46852f95a61046c84645fdb7f2a93fc614cd5e99c36ce2489ff4 SHA512 dd4082509a209df30b01d2c9e3a3bb24fdd1b341fba55e7233f718a6aaca7787dc8cb6196c6505ec9b4afe6315927a467e3ab6dad2f902b464799b712e70e2bf
MISC metadata.xml 296 BLAKE2B b16b4e5a187d36ca8495bd63c691f67ae420fcc4cc742cdd8e477534edbe36414cef5eaa60eca31bdb62b9fbd7a6922754ea0d3d2adeb6d0d4181fefcbe3cb81 SHA512 650f60a88d140869a64a7287d094832e0e553f5d0093d248c3b94f9f3565bed26784ba2e6629128b602c3fcb56496fc4a92d1cd5148acf3b00b72aae22f16780
diff --git a/net-analyzer/sslscan/sslscan-2.1.3-r1.ebuild b/net-analyzer/sslscan/sslscan-2.1.3-r1.ebuild
new file mode 100644
index 000000000000..85086045d0da
--- /dev/null
+++ b/net-analyzer/sslscan/sslscan-2.1.3-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+# sslscan builds against a static openssl library to allow weak ciphers
+# to be enabled so that they can be tested.
+OPENSSL_RELEASE_TAG="openssl-3.0.13"
+
+DESCRIPTION="Fast SSL configuration scanner"
+HOMEPAGE="https://github.com/rbsec/sslscan"
+SRC_URI="https://github.com/rbsec/sslscan/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/openssl/openssl/archive/${OPENSSL_RELEASE_TAG}.tar.gz -> ${PN}-${OPENSSL_RELEASE_TAG}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+# Requires a docker environment
+RESTRICT="test"
+
+# S="${WORKDIR}/${P}-${MY_FORK}"
+
+src_prepare() {
+ ln -s ../openssl-${OPENSSL_RELEASE_TAG} openssl || die
+ touch .openssl_is_fresh || die
+ sed -i -e '/openssl\/.git/,/fi/d' \
+ -e '/openssl test/d' Makefile || die
+
+ # Copied from dev-libs/openssl
+ # allow openssl to be cross-compiled
+ cp "${FILESDIR}"/gentoo.config-1.0.2 gentoo.config || die
+ chmod a+rx gentoo.config || die
+
+ default
+}
+
+src_configure() {
+ # Copied from dev-libs/openssl
+ unset APPS #197996
+ unset SCRIPTS #312551
+ unset CROSS_COMPILE #311473
+
+ tc-export CC AR RANLIB RC
+
+ local sslout=$(./gentoo.config)
+ einfo "Use configuration ${sslout:-(openssl knows best)}"
+ local config="Configure"
+ [[ -z ${sslout} ]] && config="config"
+
+ # Clean out hardcoded flags that openssl uses
+ local DEFAULT_CFLAGS=$(grep ^CFLAGS= Makefile | LC_ALL=C sed \
+ -e 's:^CFLAGS=::' \
+ -e 's:\(^\| \)-fomit-frame-pointer::g' \
+ -e 's:\(^\| \)-O[^ ]*::g' \
+ -e 's:\(^\| \)-march=[^ ]*::g' \
+ -e 's:\(^\| \)-mcpu=[^ ]*::g' \
+ -e 's:\(^\| \)-m[^ ]*::g' \
+ -e 's:^ *::' \
+ -e 's: *$::' \
+ -e 's: \+: :g' \
+ -e 's:\\:\\\\:g'
+ )
+
+ # Now insert clean default flags with user flags
+ sed -i \
+ -e "/^CFLAGS=/s|=.*|=${DEFAULT_CFLAGS} ${CFLAGS}|" \
+ -e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" \
+ Makefile || die
+}
+
+src_compile() {
+ emake static
+}
+
+src_install() {
+ DESTDIR="${D}" emake install
+
+ dodoc Changelog README.md
+}