aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdstats
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>2006-09-06 00:33:26 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>2006-09-06 00:33:26 +0000
commit353ee209ab6e9dfab57000b8cb500080f12ee08d (patch)
tree023e0e4c88553ea7aef31cae953710074eaba2da /sysutils/bsdstats
parent23d25c21175cd9c12fd580e26f04a5098ba39767 (diff)
downloadports-353ee209ab6e9dfab57000b8cb500080f12ee08d.tar.gz
ports-353ee209ab6e9dfab57000b8cb500080f12ee08d.zip
Notes
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r--sysutils/bsdstats/Makefile3
-rw-r--r--sysutils/bsdstats/files/300.statistics5
-rw-r--r--sysutils/bsdstats/files/300.statistics.in5
3 files changed, 9 insertions, 4 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile
index 0ea8076ad47c..b6f949f48047 100644
--- a/sysutils/bsdstats/Makefile
+++ b/sysutils/bsdstats/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= bsdstats
-PORTVERSION= 3.4
-PORTREVISION= 1
+PORTVERSION= 3.5
CATEGORIES= sysutils
DISTFILES=
diff --git a/sysutils/bsdstats/files/300.statistics b/sysutils/bsdstats/files/300.statistics
index 3036ef957efd..1705bca9b488 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.17 2006-09-04 22:40:56 scrappy Exp $
+# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.18 2006-09-06 00:33:26 scrappy Exp $
#
# If there is a global system configuration file, suck it in.
@@ -22,6 +22,8 @@ id_token_file='/var/db/bsdstats'
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
export PATH
+unset HTTP_USER_AGENT
+
IFS="
"
@@ -118,6 +120,7 @@ uri_escape () {
do_fetch () {
url="http://$checkin_server/scripts/$1"
+ sleep `openssl rand -base64 1 | hexdump -n 1 -e '"%u"'`
case $(uname) in
NetBSD) /usr/bin/ftp -V -o - "$url" ;;
FreeBSD | *) /usr/bin/fetch -q -o - "$url" ;;
diff --git a/sysutils/bsdstats/files/300.statistics.in b/sysutils/bsdstats/files/300.statistics.in
index 76cac2f59104..7ca8e22f7c86 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.17 2006-09-04 22:40:56 scrappy Exp $
+# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.18 2006-09-06 00:33:26 scrappy Exp $
#
# If there is a global system configuration file, suck it in.
@@ -22,6 +22,8 @@ id_token_file='/var/db/bsdstats'
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
export PATH
+unset HTTP_USER_AGENT
+
IFS="
"
@@ -118,6 +120,7 @@ uri_escape () {
do_fetch () {
url="http://$checkin_server/scripts/$1"
+ sleep `openssl rand -base64 1 | hexdump -n 1 -e '"%u"'`
case $(uname) in
NetBSD) /usr/bin/ftp -V -o - "$url" ;;
FreeBSD | *) /usr/bin/fetch -q -o - "$url" ;;