testssl.sh dazu
This commit is contained in:
43
app-admin/testssl/testssl-9999.ebuild
Normal file
43
app-admin/testssl/testssl-9999.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="Testing TLS/SSL encryption"
|
||||
HOMEPAGE="https://github.com/drwetter/testssl.sh"
|
||||
EGIT_REPO_URI="https://github.com/drwetter/testssl.sh.git"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
# Don't strip debug symbols from the provided OpenSSL binaries.
|
||||
RESTRICT="strip"
|
||||
|
||||
INSTALLDIR="/usr/share/${PN}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/follow_symlinks.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
for patch in "${PATCHES[@]}"; do
|
||||
epatch "$patch"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir "${INSTALLDIR}"
|
||||
dodir "${INSTALLDIR}/bin"
|
||||
exeinto "${INSTALLDIR}"
|
||||
doexe testssl.sh
|
||||
exeinto "${INSTALLDIR}/bin"
|
||||
doexe bin/openssl.*
|
||||
dosym "${INSTALLDIR}/testssl.sh" /usr/bin/testssl.sh
|
||||
}
|
||||
Reference in New Issue
Block a user