Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  8 Feb 2009 21:10:38 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
Subject:   ports/131511: [patch] unbreak devel/py-freebsd after jail MFC
Message-ID:  <20090208211038.036984899B6@storage.int.zabbadoz.net>
Resent-Message-ID: <200902082140.n18Le4YC056999@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090208211038.036984899B6>