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='=