From 09fd0286e88229a1962683888822bd2134a29a47 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 2 Dec 2024 10:24:10 +0100 Subject: net-analyzer/sslscan: drop 2.1.1, 2.1.3 Signed-off-by: Hans de Graaff --- net-analyzer/sslscan/sslscan-2.1.3.ebuild | 82 ------------------------------- 1 file changed, 82 deletions(-) delete mode 100644 net-analyzer/sslscan/sslscan-2.1.3.ebuild (limited to 'net-analyzer/sslscan/sslscan-2.1.3.ebuild') diff --git a/net-analyzer/sslscan/sslscan-2.1.3.ebuild b/net-analyzer/sslscan/sslscan-2.1.3.ebuild deleted file mode 100644 index aa63120b6c89..000000000000 --- a/net-analyzer/sslscan/sslscan-2.1.3.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# 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.12" - -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 ~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 -} -- cgit v1.2.3-65-gdbad