ports/93833: [MAINTAINER] security/openvpn: fix FreeBSD 4 jail build
Matthias Andree
matthias.andree at gmx.de
Sat Feb 25 17:50:04 UTC 2006
>Number: 93833
>Category: ports
>Synopsis: [MAINTAINER] security/openvpn: fix FreeBSD 4 jail build
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 25 17:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Matthias Andree
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #13: Wed Feb 22 20:05:07 CET 2006
>Description:
- fix build in FreeBSD 4 jails
Patch by: Dirk Meyer (dinoex)
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- openvpn-2.0.5_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/openvpn/files/patch-tests-for-jail /usr/home/emma/ports/security/openvpn/files/patch-tests-for-jail
--- /usr/ports/security/openvpn/files/patch-tests-for-jail Thu Nov 10 16:05:42 2005
+++ /usr/home/emma/ports/security/openvpn/files/patch-tests-for-jail Sat Feb 25 18:35:29 2006
@@ -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 $$ | tail -n1 | grep -q J; then
+ addopts="--float"
+ if test "x`ifconfig | grep inet`" = x ; then
+ echo "###"
--- openvpn-2.0.5_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list