svn commit: r551609 - head/security/openvpn/files
Matthias Andree
mandree at FreeBSD.org
Tue Oct 6 23:28:14 UTC 2020
Author: mandree
Date: Tue Oct 6 23:28:13 2020
New Revision: 551609
URL: https://svnweb.freebsd.org/changeset/ports/551609
Log:
security/openvpn: fix test suite when ifconfig emits ::1/128 address format
Some systems apparently format output of ifconfig lo0 similar to
"inet6 ::1/128" instead of 12.1's "inet6 ::1 prefixlen 128". This
confuses the test script, so strip the slash and trailing prefixlen
off.
Since that bug affects the build-time test suite and its occurrence
breaks the build, no PORTREVISION bump needed.
Reported by: des@
Modified:
head/security/openvpn/files/patch-tests__t_cltsrv.sh
Modified: head/security/openvpn/files/patch-tests__t_cltsrv.sh
==============================================================================
--- head/security/openvpn/files/patch-tests__t_cltsrv.sh Tue Oct 6 23:18:42 2020 (r551608)
+++ head/security/openvpn/files/patch-tests__t_cltsrv.sh Tue Oct 6 23:28:13 2020 (r551609)
@@ -40,7 +40,7 @@
+ add='proto udp6 '
+fi
+for i in server client ; do
-+ sed -e "s/localhost/$2/" -e "/^remote /a\\
++ sed -e "s|localhost|${2%/*}|" -e "/^remote /a\\
+$add" ${root}/sample-config-files/loopback-$i \
+ >${root}/sample-config-files/loopback-$i.test
+done
More information about the svn-ports-head
mailing list