pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/bind918 Fix shell portability (from taca@)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fee612776a2f
branches:  trunk
changeset: 389870:fee612776a2f
user:      sekiya <sekiya%pkgsrc.org@localhost>
date:      Sun Dec 11 21:17:53 2022 +0000

description:
Fix shell portability (from taca@)

diffstat:

 net/bind918/distinfo                                             |   3 +-
 net/bind918/patches/patch-bin_tests_system_keyfromlabel_tests.sh |  24 ++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 3aed76ce72e2 -r fee612776a2f net/bind918/distinfo
--- a/net/bind918/distinfo      Sun Dec 11 21:16:56 2022 +0000
+++ b/net/bind918/distinfo      Sun Dec 11 21:17:53 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2022/12/11 01:57:55 sekiya Exp $
+$NetBSD: distinfo,v 1.2 2022/12/11 21:17:53 sekiya Exp $
 
 BLAKE2s (bind-9.18.9.tar.xz) = 8c3f2dcb57205959f78c02fd32a12d0897050897af9136b58972fde41468ec55
 SHA512 (bind-9.18.9.tar.xz) = 7d9bca47e29e8634416ab52819d78ce4ec6196c0dcbd9fe95a24687337f71c69b6472cf20bf49ea0ae1751a861944f354f9122acfb01780f51278ad4a3fdd817
@@ -6,6 +6,7 @@
 SHA1 (patch-bin_named_main.c) = 4e4a763c478f1fcecb7e65968cf6ca20dacf01f1
 SHA1 (patch-bin_named_os.c) = 5ecb0883076575d8ac5fcad68f9daad6c9be0d0b
 SHA1 (patch-bin_named_server.c) = 6e59d3f637ebb829eec2f76ba7c350fb5cf9be6d
+SHA1 (patch-bin_tests_system_keyfromlabel_tests.sh) = 63a1516b573adabe6ff2719532fd58bcf3ecd65b
 SHA1 (patch-config.h.in) = 6072793048cdf590863046355eeffa1d93524c36
 SHA1 (patch-configure.ac) = 7eecb2c390168566b2320791cd185530c7896c21
 SHA1 (patch-lib_dns_byaddr.c) = 647ddaaaf040233e18d1a87d83bc2bd63d2a20e3
diff -r 3aed76ce72e2 -r fee612776a2f net/bind918/patches/patch-bin_tests_system_keyfromlabel_tests.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind918/patches/patch-bin_tests_system_keyfromlabel_tests.sh  Sun Dec 11 21:17:53 2022 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-bin_tests_system_keyfromlabel_tests.sh,v 1.1 2022/12/11 21:17:54 sekiya Exp $
+
+Fix shell portability.
+
+--- bin/tests/system/keyfromlabel/tests.sh.orig        2022-12-12 06:14:48.274390564 +0900
++++ bin/tests/system/keyfromlabel/tests.sh     2022-12-12 06:15:20.826375239 +0900
+@@ -59,7 +59,7 @@
+               status=$((status+ret))
+ 
+               # Skip dnssec-keyfromlabel if key generation failed.
+-              test $ret == 0 || continue
++              test $ret = 0 || continue
+ 
+               echo_i "Get ZSK $alg $zone $type:$bits"
+               ret=0
+@@ -76,7 +76,7 @@
+               status=$((status+ret))
+ 
+               # Skip signing if dnssec-keyfromlabel failed.
+-              test $ret == 0 || continue
++              test $ret = 0 || continue
+ 
+               echo_i "Sign zone with $ksk $zsk"
+               ret=0



Home | Main Index | Thread Index | Old Index