aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdstats
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>2006-12-04 01:44:24 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>2006-12-04 01:44:24 +0000
commit2d45776e21aaf4f687a2f3f16b4a5f3d87adc071 (patch)
tree5a9e4c7986fc9df6b07e44513107556b2f187514 /sysutils/bsdstats
parent5c261d66af96e426e298ee04032494b1636f5c2a (diff)
downloadports-2d45776e21aaf4f687a2f3f16b4a5f3d87adc071.tar.gz
ports-2d45776e21aaf4f687a2f3f16b4a5f3d87adc071.zip
Notes
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r--sysutils/bsdstats/Makefile2
-rw-r--r--sysutils/bsdstats/files/300.statistics6
-rw-r--r--sysutils/bsdstats/files/300.statistics.in6
-rw-r--r--sysutils/bsdstats/pkg-install4
4 files changed, 9 insertions, 9 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile
index 360297a58d8d..438d012343f4 100644
--- a/sysutils/bsdstats/Makefile
+++ b/sysutils/bsdstats/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bsdstats
-PORTVERSION= 5.0
+PORTVERSION= 5.1
CATEGORIES= sysutils
DISTFILES=
diff --git a/sysutils/bsdstats/files/300.statistics b/sysutils/bsdstats/files/300.statistics
index d3b4c704474a..57e58581f01c 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.34 2006-12-01 13:30:45 scrappy Exp $
+# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.35 2006-12-04 01:44:24 scrappy Exp $
#
# If there is a global system configuration file, suck it in.
@@ -22,7 +22,7 @@ fi
oldmask=$(umask)
umask 066
-version="5.0"
+version="5.1"
checkin_server=${monthly_statistics_checkin_server:-"rpt.bsdstats.org"}
bsdstats_log=${monthly_statistics_logfile:-"/var/log/bsdstats"}
id_token_file='/var/db/bsdstats'
@@ -402,7 +402,7 @@ case "$monthly_statistics_enable" in
ARCH=`/usr/bin/uname -m`
OS=`/usr/bin/uname -s`
get_id_token
- sleep `random`
+ test X"$1" = X-nodelay || sleep `random`
enable_token
report_system
echo "Posting monthly OS statistics to $checkin_server"
diff --git a/sysutils/bsdstats/files/300.statistics.in b/sysutils/bsdstats/files/300.statistics.in
index c3b5bb3df5a6..142c7de26167 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.34 2006-12-01 13:30:45 scrappy Exp $
+# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.35 2006-12-04 01:44:24 scrappy Exp $
#
# If there is a global system configuration file, suck it in.
@@ -22,7 +22,7 @@ fi
oldmask=$(umask)
umask 066
-version="5.0"
+version="5.1"
checkin_server=${monthly_statistics_checkin_server:-"rpt.bsdstats.org"}
bsdstats_log=${monthly_statistics_logfile:-"/var/log/bsdstats"}
id_token_file='/var/db/bsdstats'
@@ -402,7 +402,7 @@ case "$monthly_statistics_enable" in
ARCH=`/usr/bin/uname -m`
OS=`/usr/bin/uname -s`
get_id_token
- sleep `random`
+ test X"$1" = X-nodelay || sleep `random`
enable_token
report_system
echo "Posting monthly OS statistics to $checkin_server"
diff --git a/sysutils/bsdstats/pkg-install b/sysutils/bsdstats/pkg-install
index 5f452f804c01..0d667932620e 100644
--- a/sysutils/bsdstats/pkg-install
+++ b/sysutils/bsdstats/pkg-install
@@ -44,7 +44,7 @@ if [ ":$2" = ":POST-INSTALL" ]; then
echo "monthly_statistics_report_ports=\"YES\"" >> /etc/periodic.conf
fi
if yesno "Would you like to run it now" y; then
- /usr/local/etc/periodic/monthly/300.statistics
+ /usr/local/etc/periodic/monthly/300.statistics -nodelay
fi
fi
fi
@@ -58,7 +58,7 @@ if [ ":$2" = ":POST-INSTALL" ]; then
echo "monthly_statistics_report_ports=\"YES\"" >> /etc/periodic.conf
fi
if yesno "Would you like to run it now" y; then
- /usr/local/etc/periodic/monthly/300.statistics
+ /usr/local/etc/periodic/monthly/300.statistics -nodelay
fi
fi
fi