aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdstats
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>2006-12-05 13:26:32 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>2006-12-05 13:26:32 +0000
commitf03b4b4e03967edc4a9355c75c6ed17a9ce7c963 (patch)
tree73315ff09e46d054916622d56437e4fb58d6e996 /sysutils/bsdstats
parentc86deb6ba6d8aa2ae87e3333b3fa3944a0b44eb1 (diff)
downloadports-f03b4b4e03967edc4a9355c75c6ed17a9ce7c963.tar.gz
ports-f03b4b4e03967edc4a9355c75c6ed17a9ce7c963.zip
on FreeBSD 4x the port sysutils/bsdstats should depend on net/netcat
PR: ports/106373 Submitted by: George L. Yermulnik"<yz@yz.kiev.ua>
Notes
Notes: svn path=/head/; revision=178936
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r--sysutils/bsdstats/Makefile2
-rw-r--r--sysutils/bsdstats/files/300.statistics4
-rw-r--r--sysutils/bsdstats/files/300.statistics.in4
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='=