summaryrefslogtreecommitdiff
path: root/security/nss/files/patch-tests
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-09-09 18:27:42 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-09-09 18:27:42 +0000
commit57605e2424af65960e9fccca186e869e72c7e56f (patch)
tree08aa5528afdefe726d61860b9f896c3c1f481683 /security/nss/files/patch-tests
parentdevel/nspr: regen patches (diff)
security/nss: regen patches
Only BSD patch(1) warns about the following: No such line 52 in input file, ignoring No such line -11 in input file, ignoring No such line 118 in input file, ignoring https://svnweb.freebsd.org/changeset/base/253689 Reported by: sunpoet
Diffstat (limited to 'security/nss/files/patch-tests')
-rw-r--r--security/nss/files/patch-tests12
1 files changed, 7 insertions, 5 deletions
diff --git a/security/nss/files/patch-tests b/security/nss/files/patch-tests
index 2ff07f35a788..a5b9a3f4e38f 100644
--- a/security/nss/files/patch-tests
+++ b/security/nss/files/patch-tests
@@ -1,10 +1,12 @@
---- tests/common/init.sh Mon Apr 11 22:24:17 2005
-+++ tests/common/init.sh Fri Jul 22 16:55:36 2005
-@@ -197,5 +197,6 @@
- case $HOST in
- *\.*)
+--- tests/common/init.sh.orig 2018-08-31 12:55:53 UTC
++++ tests/common/init.sh
+@@ -366,7 +366,8 @@ if [ -z "${INIT_SOURCED}" -o "${INIT_SOURCED}" != "TRU
+ if [ -z "${DOMSUF}" ]; then
+ DOMSUF=`echo $HOST | sed -e "s/^[^.]*\.//"`
+ fi
- HOST=`echo $HOST | sed -e "s/\..*//"`
+ DOMSUF=${HOST#*.} # remove Smallest Prefix matching ``*.''
+ HOST=${HOST%%.*} # remove Largest Suffix ``.*''. See sh(1)
;;
?*)
+ ;;