ports/131511: [patch] unbreak devel/py-freebsd after jail MFC

Bjoern A. Zeeb bzeeb+freebsdports at zabbadoz.net
Sun Feb 8 21:40:05 UTC 2009


>Number:         131511
>Category:       ports
>Synopsis:       [patch] unbreak devel/py-freebsd after jail MFC
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 08 21:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bjoern A. Zeeb
>Release:        FreeBSD 7-STABLE amd64
>Organization:
Zabbadoz.NeT
>Environment:

>Description:
	The MFC of multi-IPv4/v6/no-IP jails broke the API as it had
	for the commit to HEAD end of last year.

>How-To-Repeat:
	Build the port on an up-to-date stable and it will fail.

>Fix:

Index: devel/py-freebsd/Makefile
===================================================================
RCS file: /shared/mirror/FreeBSD/r/pcvs/ports/devel/py-freebsd/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- devel/py-freebsd/Makefile	23 Dec 2008 21:15:20 -0000	1.16
+++ devel/py-freebsd/Makefile	8 Feb 2009 12:19:14 -0000
@@ -32,7 +32,9 @@ PLIST_FILES=	%%PYTHON_SITELIBDIR%%/freeb
 .if ${OSVERSION} >= 700000
 EXTRA_PATCHES+=	${FILESDIR}/freebsd7_patch-src-netstat.c
 .endif
-.if ${OSVERSION} >= 800056
+# Multi-IPv4/v6/no-IP jails.
+.if ${OSVERSION} >= 800056 || \
+    (${OSVERSION} < 800000 && ${OSVERSION} >= 701103)
 EXTRA_PATCHES+=	${FILESDIR}/freebsd8_patch-src-jail.c
 .endif
 

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list