mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-25 00:01:15 +02:00
testssl: 2.9.5.8 ebuild
This commit is contained in:
parent
980a63e6a7
commit
4f1bbb4f41
2 changed files with 50 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
DIST testssl-2.9.5.7.tar.gz 8955971 BLAKE2B 6ca3bc60445c9448c3dc24ee7262e57bc03a2c686bbeebcc1cc850edfa652538c1ba5365189c27e78f0cb977e68d2ea1a9f940d47cd0a53402d1fa9a31a33483 SHA512 35ab900b84db8a0a210cb9ce8bb794ff7e8cddd5c85a151083bc76eba834dce37597b29b6235fcf2ce37b004dd295b1756e01374a4943e1e2ed0d2a8cf8761f6
|
||||
DIST testssl-2.9.5.8.tar.gz 8956035 BLAKE2B 692e08e6ff3dedf52dad5ba960291043740fa4e8e8f117b5dff93adfe1a620add3a34660fcbc1c68b53e23b0df5a0ff1862a33b12a50e78312c65791e0a55b42 SHA512 4c0fd1faa8978f85b46a6ae41471e16c8ab2d5651bdb6e009478aeed7b363a3648ff44e6e7689ccf421bd5e6374a2b5bfe9e5a13f7284c3a46371ed58ce4e5fb
|
||||
DIST testssl-3.0_rc3.tar.gz 9018638 BLAKE2B 4877dd8489aa9fe9d0db2e20900fd806922a448dc9234dd1a65fce71ff8083c9cc55a9610023861e18e3cfa9ab98303a7b756d9173ccfb49d8875c1e1c1ceedc SHA512 c22441fc28f27b3af8a72dca2f091ab61a23870fa01a54c5a7cb0c961cf35a0c10c36b435cae6efdf5791958b7ec499bf91cfb3264fc93b63429c32852d7cde9
|
||||
DIST testssl-3.0_rc4.tar.gz 10563736 BLAKE2B a8cf908402811c93f6c10549974edbb6d371ea1c50107eccefd6071ccfcf8fc4eff5308a29e34760c9bb0563a5a80e45cd526e7d42982aeaebc76d8fe23c4c50 SHA512 1b775fa9ebfe04a71024ff9ab7a8d31b59a1387525001ad9b27f65417571e1fb135801de0f9c524f23de6d2ec31e5d283c257ad2d829bbf0ccf3d59a81f8fa3b
|
||||
|
|
|
|||
49
net-analyzer/testssl/testssl-2.9.5.8.ebuild
Normal file
49
net-analyzer/testssl/testssl-2.9.5.8.ebuild
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="${PN}.sh"
|
||||
MY_PV="$(ver_rs 3 -)"
|
||||
|
||||
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"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
app-shells/bash[net]
|
||||
dev-libs/openssl-bad
|
||||
net-dns/bind-tools
|
||||
sys-apps/util-linux
|
||||
sys-libs/ncurses:0
|
||||
sys-process/procps
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${MY_PV}
|
||||
|
||||
QA_PREBUILT="opt/${PN}/*"
|
||||
|
||||
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
|
||||
|
||||
sed -i ${PN}.sh \
|
||||
-e 's|OPENSSL="$1/openssl"|OPENSSL="$1/openssl-bad"|' || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGELOG.md CREDITS.md Readme.md
|
||||
dodoc openssl-rfc.mappping.html
|
||||
|
||||
dobin ${PN}.sh
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins etc/*
|
||||
}
|
||||
Loading…
Reference in a new issue