mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 11:00:48 +02:00
testssl: remove bundle section
This commit is contained in:
parent
5072692d80
commit
187a402637
1 changed files with 2 additions and 21 deletions
|
|
@ -10,10 +10,10 @@ DESCRIPTION="Tool to check TLS/SSL cipher support"
|
|||
HOMEPAGE="https://testssl.sh/"
|
||||
SRC_URI="https://github.com/drwetter/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 bundled-openssl? ( openssl )"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="bundled-openssl"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
app-shells/bash[net]
|
||||
|
|
@ -28,10 +28,6 @@ S=${WORKDIR}/${MY_PN}-${MY_PV}
|
|||
|
||||
QA_PREBUILT="opt/${PN}/*"
|
||||
|
||||
pkg_setup() {
|
||||
use amd64 && BUNDLED_OPENSSL="openssl.Linux.x86_64"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i ${PN}.sh \
|
||||
|
|
@ -50,19 +46,4 @@ src_install() {
|
|||
|
||||
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue