Skip site navigation (1)Skip section navigation (2)
Date:      8 Mar 2004 23:39:55 -0000
From:      Max Laier <max@love2party.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63951: Maintainer-update: mail/spamd, sysutils/pf{stat,top} - update dependencies for pf in base
Message-ID:  <20040308233955.86525.qmail@vampire.homelinux.org>
Resent-Message-ID: <200403082340.i28NeDmg006959@freefall.freebsd.org>

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

>Number:         63951
>Category:       ports
>Synopsis:       Maintainer-update: mail/spamd, sysutils/pf{stat,top} - update dependencies for pf in base
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 08 15:40:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Max Laier
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD router.laiers.local 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #1: Sun Oct 5 17:38:55 CEST 2003 root@router.laiers.local:/usr/obj/usr/src/sys/ALTQ i386


	
>Description:
	Update dependencies as pf is now part of the base system.
>How-To-Repeat:
	
>Fix:
	Note: portlint WARNS about this, but I don't know how to do it
	another/better way. Open to suggestions. It builds okay however.
	
	Sorry for the bulk update, but this just belongs together.

--- pfstat.diff begins here ---
Index: sysutils/pfstat/Makefile
===================================================================
RCS file: /cvsdrop/mlaier/fcvs/ports/sysutils/pfstat/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- sysutils/pfstat/Makefile	6 Feb 2004 13:12:27 -0000	1.3
+++ sysutils/pfstat/Makefile	8 Mar 2004 22:56:15 -0000
@@ -14,8 +14,6 @@
 MAINTAINER=	max@love2party.net
 COMMENT=	Utility to render grafical statistics for pf
 
-BUILD_DEPENDS=	${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
-RUN_DEPENDS=	${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
 .if defined(WITH_GD1)
 LIB_DEPENDS=	gd1.2:${PORTSDIR}/graphics/gd1
 CFLAGS+=	-I${LOCALBASE}/include/gd
@@ -32,12 +30,17 @@
 MANCOMPRESSED=	no
 PLIST_FILES=	bin/pfstat
 
-CFLAGS+=	-I${LOCALBASE}/include/pf
-
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 500000
 IGNORE=		"Only for 5.0 and above"
+.endif
+
+.if ${OSVERSION} < 502106
+BUILD_DEPENDS=	${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
+RUN_DEPENDS=	${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
+
+CFLAGS+=	-I${LOCALBASE}/include/pf
 .endif
 
 post-patch:
--- pfstat.diff ends here ---

--- pftop.diff begins here ---
Index: sysutils/pftop/Makefile
===================================================================
RCS file: /cvsdrop/mlaier/fcvs/ports/sysutils/pftop/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- sysutils/pftop/Makefile	6 Feb 2004 13:12:27 -0000	1.2
+++ sysutils/pftop/Makefile	8 Mar 2004 23:09:49 -0000
@@ -14,17 +14,10 @@
 MAINTAINER=	max@love2party.net
 COMMENT=	Utility for real-time display of statistics for pf
 
-BUILD_DEPENDS=	${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
-.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
-BUILD_DEPENDS+=${LOCALBASE}/include/pf/altq/altq.h:${PORTSDIR}/security/pf
-.endif
-RUN_DEPENDS=	${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
-
 MAN8=		pftop.8
 
 MANCOMPRESSED=	no
 
-CFLAGS+=	-I${LOCALBASE}/include/pf
 MAKE_ARGS=	LOCALBASE="${PREFIX}" OSLEVEL=34
 .if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
 CFLAGS+=	-DHAVE_ALTQ=1
@@ -34,6 +27,16 @@
 
 .if ${OSVERSION} < 500000
 IGNORE=		"Only for 5.0 and above"
+.endif
+
+.if ${OSVERSION} < 502106
+BUILD_DEPENDS=	${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
+.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
+BUILD_DEPENDS+=${LOCALBASE}/include/pf/altq/altq.h:${PORTSDIR}/security/pf
+.endif
+RUN_DEPENDS=	${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
+
+CFLAGS+=	-I${LOCALBASE}/include/pf
 .endif
 
 PLIST_FILES=	sbin/pftop
--- pftop.diff ends here ---

--- spamd.diff begins here ---
Index: mail/spamd/Makefile
===================================================================
RCS file: /cvsdrop/mlaier/fcvs/ports/mail/spamd/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- mail/spamd/Makefile	29 Sep 2003 23:01:21 -0000	1.1
+++ mail/spamd/Makefile	8 Mar 2004 22:53:48 -0000
@@ -14,8 +14,6 @@
 MAINTAINER=	max@love2party.net
 COMMENT=	Traps spammers with a very slow smtp-login and return 4xx error
 
-RUN_DEPENDS=	${LOCALBASE}/sbin/pfctl:${PORTSDIR}/security/pf
-
 .if !defined(BATCH) && !defined(PACKAGE_BUILDING)
 IS_INTERACTIVE= yes
 .endif
@@ -34,6 +32,10 @@
 
 .if ${OSVERSION} < 500000
 IGNORE=		"Only for 5.0 and above"
+.endif
+
+.if ${OSVERSION} < 502106
+RUN_DEPENDS=	${LOCALBASE}/sbin/pfctl:${PORTSDIR}/security/pf
 .endif
 
 post-patch:
--- spamd.diff ends here ---


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



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