diff options
author | vd <vd@FreeBSD.org> | 2006-03-01 00:25:43 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2006-03-01 00:25:43 +0800 |
commit | 50043c2aeb886bd59e59bc458d36f315643346a6 (patch) | |
tree | 307e310c4491ff1b36c063f7da54c5de5a968dd3 /security/openvpn | |
parent | d9f320024e22cd487c41d7e0ae3a889fb9b3cfbe (diff) | |
download | freebsd-ports-gnome-50043c2aeb886bd59e59bc458d36f315643346a6.tar.gz freebsd-ports-gnome-50043c2aeb886bd59e59bc458d36f315643346a6.tar.zst freebsd-ports-gnome-50043c2aeb886bd59e59bc458d36f315643346a6.zip |
Fix FreeBSD 4 jail build
PR: ports/93833
Patch by: dinoex
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Approved by: portmgr (marcus)
Diffstat (limited to 'security/openvpn')
-rw-r--r-- | security/openvpn/files/patch-tests-for-jail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/openvpn/files/patch-tests-for-jail b/security/openvpn/files/patch-tests-for-jail index c7a2c0d203cb..6a0e72746ab6 100644 --- a/security/openvpn/files/patch-tests-for-jail +++ b/security/openvpn/files/patch-tests-for-jail @@ -30,7 +30,7 @@ + # 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 $$ | tail -n1 | grep >/dev/null J` ; then ++ || ps -ostate= -p $$ | grep -q J; then + addopts="--float" + if test "x`ifconfig | grep inet`" = x ; then + echo "###" |