ports/106446: [PATCH] sysutils/bsdstats: Add net/netcat to RUN_DEPENDS only when base system does not have nc(1).
KIMURA Yasuhiro
yasu at utahime.org
Thu Dec 7 14:30:45 UTC 2006
>Number: 106446
>Category: ports
>Synopsis: [PATCH] sysutils/bsdstats: Add net/netcat to RUN_DEPENDS only when base system does not have nc(1).
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 07 14:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: KIMURA Yasuhiro
>Release: FreeBSD 6.1-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD eastasia.home.utahime.org 6.1-RELEASE-p11 FreeBSD 6.1-RELEASE-p11 #0: Wed Dec 6 21:28:24 JST 2006 root at eastasia.home.utahime.org:/usr/obj/usr1/freebsd/src/releng_6_1/src/sys/EASTASIA i386
>Description:
Add net/netcat to RUN_DEPENDS only when base system does not have nc(1).
>How-To-Repeat:
>Fix:
--- patch-bsdstats begins here ---
Index: Makefile
===================================================================
RCS file: /usr1/freebsd/cvsroot/ports/sysutils/bsdstats/Makefile,v
retrieving revision 1.46
diff -u -r1.46 Makefile
--- Makefile 5 Dec 2006 13:49:45 -0000 1.46
+++ Makefile 7 Dec 2006 14:22:02 -0000
@@ -13,15 +13,17 @@
MAINTAINER= scrappy at freebsd.org
COMMENT= Monthly script for reporting anonymous statistics about your machine
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 503102 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600010)
RUN_DEPENDS= nc:${PORTSDIR}/net/netcat
+.endif
NO_BUILD= yes
PLIST_FILES= etc/periodic/monthly/300.statistics
PLIST_DIRS= etc/periodic/monthly \
etc/periodic
-.include <bsd.port.pre.mk>
-
do-install:
${MKDIR} ${LOCALBASE}/etc/periodic/monthly
${CP} ${FILESDIR}/300.statistics ${LOCALBASE}/etc/periodic/monthly
--- patch-bsdstats ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list