aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvpn
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2011-08-08 02:05:35 +0800
committermandree <mandree@FreeBSD.org>2011-08-08 02:05:35 +0800
commita4cabe6e21975bf41199c45489dde4136bfaa3d3 (patch)
tree641ffaffc7014dd0666a3830a382d20917d4e4d7 /security/openvpn
parent9d3e42d6af62b6d524267c27bbf39cc0630631f2 (diff)
downloadfreebsd-ports-gnome-a4cabe6e21975bf41199c45489dde4136bfaa3d3.tar.gz
freebsd-ports-gnome-a4cabe6e21975bf41199c45489dde4136bfaa3d3.tar.zst
freebsd-ports-gnome-a4cabe6e21975bf41199c45489dde4136bfaa3d3.zip
Skip self-test more readily without addresses.
Diffstat (limited to 'security/openvpn')
-rw-r--r--security/openvpn/Makefile4
-rw-r--r--security/openvpn/files/patch-t_cltsrv.sh17
2 files changed, 13 insertions, 8 deletions
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index 6134cac3e4aa..b00fa188895e 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -38,10 +38,6 @@ USE_LDCONFIG= ${PREFIX}/lib
SUB_FILES= pkg-message
SUB_LIST+= OSVERSION=${OSVERSION}
-.if defined(PACKAGE_BUILDING)
-WITHOUT_CHECK= yes
-.endif
-
.include <bsd.port.pre.mk>
.ifdef (LOG_OPENVPN)
diff --git a/security/openvpn/files/patch-t_cltsrv.sh b/security/openvpn/files/patch-t_cltsrv.sh
index c5deea6254de..388450ba80dc 100644
--- a/security/openvpn/files/patch-t_cltsrv.sh
+++ b/security/openvpn/files/patch-t_cltsrv.sh
@@ -1,8 +1,17 @@
---- ./t_cltsrv.sh.orig 2011-07-20 22:10:38.000000000 +0200
-+++ ./t_cltsrv.sh 2011-07-20 22:10:52.000000000 +0200
-@@ -33,7 +33,7 @@
+--- ./t_cltsrv.sh.orig 2011-05-16 14:21:55.000000000 +0200
++++ ./t_cltsrv.sh 2011-08-07 20:03:27.000000000 +0200
+@@ -26,14 +26,13 @@
+ FreeBSD)
+ # FreeBSD jails map the outgoing IP to the jail IP - we need to
+ # allow the real IP unless we want the test to run forever.
+- if test "`sysctl 2>/dev/null -n security.jail.jailed`" = 1 \
+- || ps -ostate= -p $$ | grep -q J; then
++ if true ; then
+ addopts="--float"
+ if test "x`ifconfig | grep inet`" = x ; then
echo "###"
- echo "### To run the test in a FreeBSD jail, you MUST add an IP alias for the jail's IP."
+- echo "### To run the test in a FreeBSD jail, you MUST add an IP alias for the jail's IP."
++ echo "### To run this test, it needs an IPv4 address. Skipping."
echo "###"
- exit 1
+ exit 77