Date: Sat, 25 Feb 2006 18:48:28 +0100 From: Matthias Andree <matthias.andree@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dinoex@FreeBSD.org Subject: ports/93833: [MAINTAINER] security/openvpn: fix FreeBSD 4 jail build Message-ID: <E1FD3Wu-000BXu-Qk@libertas.emma.line.org> Resent-Message-ID: <200602251750.k1PHo3NH007113@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FD3Wu-000BXu-Qk>