From f03b4b4e03967edc4a9355c75c6ed17a9ce7c963 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Tue, 5 Dec 2006 13:26:32 +0000 Subject: [PATCH] on FreeBSD 4x the port sysutils/bsdstats should depend on net/netcat PR: ports/106373 Submitted by: George L. Yermulnik" --- sysutils/bsdstats/Makefile | 2 ++ sysutils/bsdstats/files/300.statistics | 4 ++-- sysutils/bsdstats/files/300.statistics.in | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile index 438d012343f4..da7321c9cc5e 100644 --- a/sysutils/bsdstats/Makefile +++ b/sysutils/bsdstats/Makefile @@ -13,6 +13,8 @@ DISTFILES= MAINTAINER= scrappy@freebsd.org COMMENT= Monthly script for reporting anonymous statistics about your machine +RUN_DEPENDS= nc:${PORTSDIR}/net/netcat + NO_BUILD= yes PLIST_FILES= etc/periodic/monthly/300.statistics PLIST_DIRS= etc/periodic/monthly \ diff --git a/sysutils/bsdstats/files/300.statistics b/sysutils/bsdstats/files/300.statistics index 57e58581f01c..3f76e6bc9c90 100644 --- a/sysutils/bsdstats/files/300.statistics +++ b/sysutils/bsdstats/files/300.statistics @@ -1,6 +1,6 @@ #!/bin/sh - # -# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.35 2006-12-04 01:44:24 scrappy Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.36 2006-12-05 13:26:32 scrappy Exp $ # # If there is a global system configuration file, suck it in. @@ -181,7 +181,7 @@ ${proxy_auth}Content-Type: application/x-www-form-urlencoded Content-Length: ${string_length} token=${TOKEN}&key=${KEY}${query_string}" | \ - /usr/bin/nc $nc_host $nc_port | \ + nc $nc_host $nc_port | \ grep STATUS= | { local IFS IFS='= diff --git a/sysutils/bsdstats/files/300.statistics.in b/sysutils/bsdstats/files/300.statistics.in index 142c7de26167..2e4b7af3a2a4 100644 --- a/sysutils/bsdstats/files/300.statistics.in +++ b/sysutils/bsdstats/files/300.statistics.in @@ -1,6 +1,6 @@ #!/bin/sh - # -# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.35 2006-12-04 01:44:24 scrappy Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.36 2006-12-05 13:26:32 scrappy Exp $ # # If there is a global system configuration file, suck it in. @@ -181,7 +181,7 @@ ${proxy_auth}Content-Type: application/x-www-form-urlencoded Content-Length: ${string_length} token=${TOKEN}&key=${KEY}${query_string}" | \ - /usr/bin/nc $nc_host $nc_port | \ + nc $nc_host $nc_port | \ grep STATUS= | { local IFS IFS='=