mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-analyzer/testssl: remove 2.6
Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST testssl-2.6.tar.gz 12296414 SHA256 286b3285f096a5d249de1507eee88b14848514696bc5bbc4faceffa46b563ebd SHA512 c09ef82a8062cac484df956ea68d459dcedaa9e96301f5d5108323eb482dd4ef226e6a41446eb230cdb459404357e3fb3ec02a386697e335a58a2b14db327780 WHIRLPOOL 290c4202358ac647ca7ed2ce0d17cf5ace6c533f7c79cee066d599193f9e77cfdd1e440e7670c5216fec9b1f882986dcf26f5cad638384b8b7a278fbcbe5eace
|
||||
DIST testssl-2.8.tar.gz 8529038 SHA256 2e4588bfcd5f4e6b30b2e250d51b39e4209131a5366f1e75354aaa4a5ee6a22d SHA512 9c30a0640c4c516bb6fd776d6d7d76af4f86be51ec2c282fad01b8ac14161d29732caf08ed64a0a93ad53c3afabe6641f423bc73f0323bd9526a4283fccad584 WHIRLPOOL 04564912e3e0ed3afac283da994edc032bc3b23c2c003ea02f531da25555dbb758f76e8ab04be38c6af8df340f7400545072f33dbb074586144bc2258d0de5e0
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
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
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
QA_PREBUILT="opt/${PN}/*"
|
||||
|
||||
pkg_setup() {
|
||||
use amd64 && BUNDLED_OPENSSL="openssl.Linux.x86_64"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s|MAPPING_FILE_RFC=\"\"|MAPPING_FILE_RFC=\"/usr/share/${PN}/mapping-rfc.txt\"|" ${PN}.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGELOG.stable-releases.txt CREDITS.md Readme.md
|
||||
dodoc openssl-rfc.mappping.html
|
||||
|
||||
dobin ${PN}.sh
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins mapping-rfc.txt
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user