Package Details: testssl.sh-git 3.0rc1.r73.gde68488-1

Git Clone URL: https://aur.archlinux.org/testssl.sh-git.git (read-only)
Package Base: testssl.sh-git
Description: Testing TLS/SSL encryption (git version)
Upstream URL: https://github.com/drwetter/testssl.sh
Licenses: GPL2
Conflicts: testssl.sh
Provides: testssl.sh
Submitter: jojosch
Maintainer: jojosch
Last Packager: jojosch
Votes: 4
Popularity: 0.000000
First Submitted: 2015-07-18 10:03
Last Updated: 2018-11-04 12:04

Latest Comments

muhviehstarr commented on 2018-01-31 23:53

here on pastebin:

testssl.sh-git.install: https://pastebin.com/rS30KpnQ

bashrc.sh: https://pastebin.com/dbuaWgtt

PKGBUILD:

https://pastebin.com/bhd8gJCL

PKGBUILD.patch if needed:

https://pastebin.com/xUhRpmBK

muhviehstarr commented on 2018-01-31 23:47

latest dev version needs some files like mappings etc

this patch will include the files and env var needed, create bashrc.sh and testssl.sh-git.install manualy

create:

testssl.sh-git.install:

newest dev need some files

post_install(){ echo -e "***********" echo -e " " echo -e " " echo -e " please add export TESTSSL_INSTALL_DIR=/etc/testssl.sh to your .bashrc " echo -e " this is done for root by the /etc/testssl.sh/bashrc.sh script " echo -e " user bashrc.sh to add this for the current user " echo -e " use as root like sudo -u USERNAME /etc/testssl.sh/bashrc.sh " echo -e " or execute directly with the user " echo -e " " echo -e " *" echo -e "**************" etc/testssl.sh/bashrc.sh }

bashrc.sh:

!/bin/bash
test if user has variable already set

grep TESTSSL_INSTALL_DIR $HOME/.bashrc >> /dev/null

if [ $? -eq 0 ] then echo "already set for current user" exit 0 else echo "export TESTSSL_INSTALL_DIR=/root/testssl.sh" >> $HOME/.bashrc fi exit 0

patch PKGBUILD :

patch -Np0 -i PKGBUILD.patch

PKGBUILD.patch:

--- PKGBUILD 2018-02-01 00:41:44.231427265 +0100 +++ PKGBUILD 2018-02-01 00:38:33.880138636 +0100 @@ -2,8 +2,8 @@ # Please report issues at https://github.com/jojosch/pkgbuilds

pkgname='testssl.sh-git' -pkgver=v2.4.r243.g6406e18 -pkgrel=1 +pkgver=v2.4.r2097.g7585ab6 +pkgrel=2 pkgdesc="Testing TLS/SSL encryption (git version)" arch=('any') url="https://github.com/drwetter/testssl.sh" @@ -12,8 +12,11 @@ makedepends=('git') conflicts=('testssl.sh') provides=('testssl.sh') -source=("${pkgname}::git+https://github.com/drwetter/${pkgname/-git/}.git") -sha256sums=('SKIP') +source=("${pkgname}::git+https://github.com/drwetter/${pkgname/-git/}.git" + "bashrc.sh") +install=testssl.sh-git.install +sha256sums=('SKIP' + '4c546c59f782524c13095b6c9beac2f8176e9fbb76cecb3cd1b6f47d46ca3d4e')

pkgver () { cd "${srcdir}/${pkgname}" @@ -24,4 +27,16 @@ cd "${srcdir}/${pkgname}"

install -D -m755 "testssl.sh" "${pkgdir}/usr/bin/testssl.sh" + install -d -m755 "etc" "${pkgdir}/etc/testssl.sh" + install -D -m755 "etc/Apple.pem" "${pkgdir}/etc/testssl.sh/Apple.pem" + install -D -m755 "etc/ca_hashes.txt" "${pkgdir}/etc/testssl.sh/ca_hashes.txt" + install -D -m755 "etc/cipher-mapping.txt" "${pkgdir}/etc/testssl.sh/cipher-mapping.txt" + install -D -m755 "etc/client_simulation.txt" "${pkgdir}/etc/testssl.sh/client_simulation.txt" + install -D -m755 "etc/common-primes.txt" "${pkgdir}/etc/testssl.sh/common-primes.txt" + install -D -m755 "etc/curves.txt" "${pkgdir}/etc/testssl.sh/curves.txt" + install -D -m755 "etc/Linux.pem" "${pkgdir}/etc/testssl.sh/Linux.pem" + install -D -m755 "etc/Microsoft.pem" "${pkgdir}/etc/testssl.sh/Microsoft.pem" + install -D -m755 "etc/Mozilla.pem" "${pkgdir}/etc/testssl.sh/Mozilla.pem" + install -D -m755 "etc/tls_data.txt" "${pkgdir}/etc/testssl.sh/tls_data.txt" + install -D -m755 "${srcdir}/bashrc.sh" "${pkgdir}/etc/testssl.sh/bashrc.sh" }