Date: Tue, 6 Oct 2020 23:28:13 +0000 (UTC) From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r551609 - head/security/openvpn/files Message-ID: <202010062328.096NSDCl076731@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010062328.096NSDCl076731>