[arch-commits] Commit in testssl.sh/trunk (PKGBUILD set-install-dir.patch)

Levente Polyak anthraxx at archlinux.org
Sun Jan 26 22:16:04 UTC 2020


    Date: Sunday, January 26, 2020 @ 22:16:04
  Author: anthraxx
Revision: 555768

upgpkg: testssl.sh 3.0-1

Modified:
  testssl.sh/trunk/PKGBUILD
  testssl.sh/trunk/set-install-dir.patch

-----------------------+
 PKGBUILD              |   10 ++++++----
 set-install-dir.patch |   14 +++++++-------
 2 files changed, 13 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-26 22:14:20 UTC (rev 555767)
+++ PKGBUILD	2020-01-26 22:16:04 UTC (rev 555768)
@@ -2,7 +2,7 @@
 # Contributor: Johannes Schleifenbaum <johannes [at] js-webcoding [dot] de>
 
 pkgname=testssl.sh
-_pkgver=2.9.5-8
+_pkgver=3.0
 pkgver=${_pkgver/-/.}
 pkgrel=1
 pkgdesc='Testing TLS/SSL encryption'
@@ -11,10 +11,12 @@
 license=('GPL2')
 depends=('bash' 'coreutils' 'util-linux' 'openssl' 'inetutils' 'bind-tools' 'procps-ng')
 makedepends=('perl' 'perl-data-dump' 'perl-json' 'perl-test-base')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/drwetter/testssl.sh/archive/v${_pkgver}.tar.gz
+source=(https://github.com/drwetter/testssl.sh/archive/${_pkgver}/${pkgname}-${pkgver}.tar.gz
         set-install-dir.patch)
-sha512sums=('4c0fd1faa8978f85b46a6ae41471e16c8ab2d5651bdb6e009478aeed7b363a3648ff44e6e7689ccf421bd5e6374a2b5bfe9e5a13f7284c3a46371ed58ce4e5fb'
-            'a02a7f1cfe62ee13b07af6a5e4ff2fbd2c346ae47fb416de84e7448ba89e5be5fe66870f749a9cc0cbd614c06a1419fe56595da9ad710799a837be4be99bea40')
+sha512sums=('a5e65d3145bc422cf03b49087cc24cadca367206a06dda61d114b0a6afd7c4921204e23cdc3ade2f5d7e9ce4adf17b54691b9d33d46b75b296111663e9cf063a'
+            '82bb83a5553bdc8d02cb655c76163ac9c86b0fc1cff9c5627cb035eae016c5a8b76a3a9e278de4578779bf63a35548815a53911288872530d65c1100c065f621')
+b2sums=('56f13cb58bc930e0c70ef1ff4734dd7e363f362397ebe354c446f1fd6e73a0774a6eb84326a405a5aab224b058754e03fcecda254617eee2fde4d9566ada4e15'
+        '26f90e385085e0c50bd877b37e85f489177bcef0be90baad096c6f3e95732542e2adcaf2aa03ba75d264607d869ea479b768834ba476e258eea291c452f4f3b9')
 
 prepare() {
   cd ${pkgname}-${_pkgver}

Modified: set-install-dir.patch
===================================================================
--- set-install-dir.patch	2020-01-26 22:14:20 UTC (rev 555767)
+++ set-install-dir.patch	2020-01-26 22:16:04 UTC (rev 555768)
@@ -1,11 +1,11 @@
 --- testssl.sh.orig	2017-09-21 11:49:04.161576009 +0200
 +++ testssl.sh	2017-09-21 11:49:28.451753722 +0200
 @@ -116,7 +116,7 @@
- 
- readonly PROG_NAME="$(basename "$0")"
- readonly RUN_DIR="$(dirname "$0")"
--TESTSSL_INSTALL_DIR="${TESTSSL_INSTALL_DIR:-""}"  # if you run testssl.sh from a different path you can set either TESTSSL_INSTALL_DIR
-+TESTSSL_INSTALL_DIR="${TESTSSL_INSTALL_DIR:-"/usr/share/testssl.sh"}"  # 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
+ declare -r SYSTEM="$(uname -s)"
+ declare -r SYSTEMREV="$(uname -r)"
+ SYSTEM2=""                                        # currently only being used for WSL = bash on windows
+-TESTSSL_INSTALL_DIR="${TESTSSL_INSTALL_DIR:-""}"  # If you run testssl.sh and it doesn't find it necessary file automagically set TESTSSL_INSTALL_DIR
++TESTSSL_INSTALL_DIR="${TESTSSL_INSTALL_DIR:-"/usr/share/testssl.sh"}"  # If you run testssl.sh and it doesn't find it necessary file automagically set TESTSSL_INSTALL_DIR
+ CA_BUNDLES_PATH="${CA_BUNDLES_PATH:-""}"          # You can have your stores some place else
+ ADDITIONAL_CA_FILES="${ADDITIONAL_CA_FILES:-""}"  # single file with a CA in PEM format or comma separated lists of them
  CIPHERS_BY_STRENGTH_FILE=""
- TLS_DATA_FILE=""                                  # mandatory file for socket based handdhakes



More information about the arch-commits mailing list