41 lines
796 B
Bash
41 lines
796 B
Bash
# 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://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_install() {
|
|
dodir "${INSTALLDIR}"
|
|
dodir "${INSTALLDIR}/bin"
|
|
dodir "${INSTALLDIR}/etc"
|
|
exeinto "${INSTALLDIR}"
|
|
doexe testssl.sh
|
|
insinto "${INSTALLDIR}/etc"
|
|
doins etc/*
|
|
exeinto "${INSTALLDIR}/bin"
|
|
doexe bin/openssl.*
|
|
dosym "${INSTALLDIR}/testssl.sh" /usr/bin/testssl
|
|
}
|