pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/mit-krb5 mit-krb5: Remediate bashism



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34a1aff291ec
branches:  trunk
changeset: 440303:34a1aff291ec
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Oct 05 23:24:44 2020 +0000

description:
mit-krb5: Remediate bashism

(I don't know how this built before, but it's in a test file, so no
PKGREVISION bump is necessary.)

diffstat:

 security/mit-krb5/distinfo                                |   3 +-
 security/mit-krb5/patches/patch-ccapi_test_test__ccapi.sh |  20 +++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r f9cd509a0241 -r 34a1aff291ec security/mit-krb5/distinfo
--- a/security/mit-krb5/distinfo        Mon Oct 05 23:22:04 2020 +0000
+++ b/security/mit-krb5/distinfo        Mon Oct 05 23:24:44 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.70 2020/04/09 10:57:04 adam Exp $
+$NetBSD: distinfo,v 1.71 2020/10/05 23:24:44 gdt Exp $
 
 SHA1 (krb5-1.18.tar.gz) = 95573bea40844bba1032b7d8a7c3c43ccc44fdb1
 RMD160 (krb5-1.18.tar.gz) = 6595de6f7dc77746c986e3dad6a016d206efe4d9
@@ -7,6 +7,7 @@
 SHA1 (patch-Makefile.in) = 24f915d7a4340b9a4a454b9b67c94147fdc49c34
 SHA1 (patch-aclocal.m4) = 07b5d9ae38c74eaea6ba62aed9062dca1bf7f3fb
 SHA1 (patch-build-tools_krb5-config.in) = 4ab922df1d86d86f9ef043f2c5cdf048c0477d3a
+SHA1 (patch-ccapi_test_test__ccapi.sh) = 7018e102a41255ae16cb3a60ac7f20126f7afa1d
 SHA1 (patch-config_lib.in) = 974db26486b3239e4fcd53be7280b32c802f6007
 SHA1 (patch-config_libnover.in) = 9337e06792e2dcc50c610503ef842ebfc18fc08b
 SHA1 (patch-config_libobj.in) = c7395b9de5baf6612b8787fad55dbc051a680bfd
diff -r f9cd509a0241 -r 34a1aff291ec security/mit-krb5/patches/patch-ccapi_test_test__ccapi.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mit-krb5/patches/patch-ccapi_test_test__ccapi.sh Mon Oct 05 23:24:44 2020 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ccapi_test_test__ccapi.sh,v 1.1 2020/10/05 23:24:45 gdt Exp $
+
+--- ccapi/test/test_ccapi.sh.orig      2020-02-12 17:21:58.000000000 +0000
++++ ccapi/test/test_ccapi.sh
+@@ -6,7 +6,7 @@ TEST_DIR="tests"
+ failure_count=0
+ 
+ function run_test {
+-      if [[ -e $TEST_DIR/$1 ]]; then
++      if [ -e "$TEST_DIR/$1" ]; then
+               ./$TEST_DIR/$1
+               failure_count=`expr $failure_count + $?`
+       fi
+@@ -73,4 +73,4 @@ run_test test_cc_get_NC_info
+ 
+ printf "\nFinished testing CCAPI. $failure_count failures in total.\n"
+ 
+-exit 0
+\ No newline at end of file
++exit 0



Home | Main Index | Thread Index | Old Index