diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-12 06:32:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-12 06:32:46 +0100 |
commit | 28e3d252dc8ac8a5635206dfefe1cfe05058d1db (patch) | |
tree | e75bce604750fb72e53ed3684059e2e5d2094509 /net-analyzer/testssl/testssl-2.9.5.ebuild | |
parent | f625b9919a60a30f1bd860f7d1b2eac183ced593 (diff) |
gentoo resync : 12.08.2018
Diffstat (limited to 'net-analyzer/testssl/testssl-2.9.5.ebuild')
-rw-r--r-- | net-analyzer/testssl/testssl-2.9.5.ebuild | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/net-analyzer/testssl/testssl-2.9.5.ebuild b/net-analyzer/testssl/testssl-2.9.5.ebuild deleted file mode 100644 index e5a5559d687f..000000000000 --- a/net-analyzer/testssl/testssl-2.9.5.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PN="${PN}.sh" - -DESCRIPTION="Tool to check TLS/SSL cipher support" -HOMEPAGE="https://testssl.sh/" -SRC_URI="https://github.com/drwetter/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2 bundled-openssl? ( openssl )" -SLOT="0" -KEYWORDS="amd64" -IUSE="bundled-openssl" - -RDEPEND=" - dev-libs/openssl:0 - net-dns/bind-tools - sys-apps/util-linux - sys-libs/ncurses:0 - sys-process/procps -" - -S=${WORKDIR}/${MY_PN}-${PV} - -QA_PREBUILT="opt/${PN}/*" - -pkg_setup() { - use amd64 && BUNDLED_OPENSSL="openssl.Linux.x86_64" -} - -src_prepare() { - default - sed -i ${PN}.sh \ - -e 's|TESTSSL_INSTALL_DIR="${TESTSSL_INSTALL_DIR:-""}"|TESTSSL_INSTALL_DIR="/"|' \ - -e 's|$TESTSSL_INSTALL_DIR/etc/|&testssl/|g' || die -} - -src_install() { - dodoc CHANGELOG.stable-releases.txt CREDITS.md Readme.md - dodoc openssl-rfc.mappping.html - - dobin ${PN}.sh - - insinto /etc/${PN} - doins etc/* - - if use bundled-openssl; then - exeinto /opt/${PN} - use amd64 && doexe bin/${BUNDLED_OPENSSL} - fi -} - -pkg_postinst() { - if use bundled-openssl; then - einfo "A precompiled version of OpenSSL has been installed into /opt/${PN}," - einfo "configured to enable a wider range of features to allow better testing." - einfo "" - einfo "To use it, call ${PN} appropriately:" - einfo "${MY_PN} --openssl /opt/${PN}/${BUNDLED_OPENSSL} example.com" - fi -} |