rm testssl patch, update category

This commit is contained in:
Florian Tham
2016-12-23 16:54:53 +01:00
parent 6a7eb2f259
commit 56ba2c264b
3 changed files with 0 additions and 28 deletions

View File

@@ -1,2 +0,0 @@
AUX follow_symlinks.patch 1294 SHA256 f7d6ca114a3c18cc2e64272f846e827261f0918ab302cd031c5b4fd3f07f5259 SHA512 7171777e0efe07fbb0219a18f4271157cde6225ccc98d7948a14ec78e62e73cdb10d4bfb5f6c99d9f67fee593254b76b3e23067acf057014620f61840336b854 WHIRLPOOL 19b178abb29b8289a59f1e58e3be6d844bc1da8361497778565dc6b86b4c64e77e98332852acfe0dafd1de09fe2a8924f5dc1e7eaab4fbffe32132ff023ad2fa
EBUILD testssl-9999.ebuild 873 SHA256 b450eb3faf053a407e77e46129c836757ebe85784baedbdcc2226eb9adf8e2d1 SHA512 9d5e9ae5c0a6b42a7d3d2701f4a4a7fa37366eeb634aac4d953f1ba6982fae9e3d805bf0bd1cb284e2f5e3f979dd6d0bcf7547d0433efcc0bb71baefd86d3e8d WHIRLPOOL 39799ab075020640903290348f9323909a31fe40758f1eb7db49f40d751d7e5f12fe502709a2a3c9ea7c2400cbef3929b5d20ddcb0cf3e8b78bc4361396b94fe

View File

@@ -1,22 +0,0 @@
diff --git a/testssl.sh b/testssl.sh
index 04b2cf4..02d246b 100755
--- a/testssl.sh
+++ b/testssl.sh
@@ -90,7 +90,7 @@
SWURL="https://testssl.sh/ "
readonly PROG_NAME=$(basename "$0")
-readonly RUN_DIR=$(dirname "$0")
+readonly RUN_DIR=$(dirname "$(readlink -e $0)")
TESTSSL_INSTALL_DIR="${TESTSSL_INSTALL_DIR:-""}" # if you run testssl.sh from a different path you can set either TESTSSL_INSTALL_DIR
CA_BUNDLES_PATH="${CA_BUNDLES_PATH:-""}" # or CA_BUNDLES_PATH to find the CA BUNDLES. TESTSSL_INSTALL_DIR helps you to find the RFC mapping also
CIPHERS_BY_STRENGTH_FILE=""
@@ -9442,7 +9442,7 @@
# TESTSSL_INSTALL_DIR can be supplied via environment so that the cipher mapping and CA bundles can be found
# www.carbonwind.net/TLS_Cipher_Suites_Project/tls_ssl_cipher_suites_simple_table_all.htm
get_install_dir() {
- [[ -z "$TESTSSL_INSTALL_DIR" ]] && TESTSSL_INSTALL_DIR="$(dirname ${BASH_SOURCE[0]})"
+ [[ -z "$TESTSSL_INSTALL_DIR" ]] && TESTSSL_INSTALL_DIR="$(dirname "$(readlink -e ${BASH_SOURCE[0]})")"
[[ -r "$RUN_DIR/etc/cipher-mapping.txt" ]] && CIPHERS_BY_STRENGTH_FILE="$RUN_DIR/etc/cipher-mapping.txt"
[[ -r "$TESTSSL_INSTALL_DIR/etc/cipher-mapping.txt" ]] && CIPHERS_BY_STRENGTH_FILE="$TESTSSL_INSTALL_DIR/etc/cipher-mapping.txt"

View File

@@ -1,46 +0,0 @@
# 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_prepare() {
for patch in "${PATCHES[@]}"; do
epatch "$patch"
done
}
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
}