Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2005 15:07:14 +0800 (CST)
From:      Xin LI <delphij@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        cperciva@FreeBSD.org
Subject:   ports/88879: [PATCH] Don't build portsnap on systems newer than 600034
Message-ID:  <200511120707.jAC77Etu031630@tarsier.delphij.net>
Resent-Message-ID: <200511120710.jAC7AG5u004008@freefall.freebsd.org>

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

>Number:         88879
>Category:       ports
>Synopsis:       [PATCH] Don't build portsnap on systems newer than 600034
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 12 07:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD tarsier.delphij.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 2 14:39:40 CST 2005 delphij@tarsier.delphij.net:/usr/obj/usr/src/sys/TARSIER i386


>Description:
>How-To-Repeat:
	use "make" in ports/sysutils/portsnap
>Fix:

	The following patch would mark portsnap as IGNORE on newer
systems.  The OSVERSION chosen was 600034, as no __FreeBSDversion
bump was done after the MFC, and 600034 was the nearest.

--- patch-portsnap begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/portsnap/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	17 Sep 2005 16:09:55 -0000	1.12
+++ Makefile	12 Nov 2005 07:03:38 -0000
@@ -21,6 +21,10 @@
 RUN_DEPENDS+=	sha256:${PORTSDIR}/sysutils/freebsd-sha256
 .endif
 
+.if (${OSVERSION} >= 600034)
+IGNORE=		"portsnap is now contained in the base system"
+.endif
+
 MAN5=		portsnap.conf.5
 MAN8=		portsnap.8
 PLIST_FILES=	etc/portsnap.conf.sample sbin/portsnap		\
--- patch-portsnap ends here ---


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



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