diff options
author | scrappy <scrappy@FreeBSD.org> | 2006-08-06 22:11:15 +0800 |
---|---|---|
committer | scrappy <scrappy@FreeBSD.org> | 2006-08-06 22:11:15 +0800 |
commit | 5ab21067df48cf4b5060dd701cb24df79683b855 (patch) | |
tree | 2e49e83f69fb13048d8ad622fb29e19917f13280 /sysutils/bsdstats | |
parent | 70be50a50ee55e7be9ada3d954119a62d4b22b49 (diff) | |
download | freebsd-ports-gnome-5ab21067df48cf4b5060dd701cb24df79683b855.tar.gz freebsd-ports-gnome-5ab21067df48cf4b5060dd701cb24df79683b855.tar.zst freebsd-ports-gnome-5ab21067df48cf4b5060dd701cb24df79683b855.zip |
Record Operating System itself, in case someone in the NetBSD,
OpenBSD or DragonflyBSD decides they want to add to the stats, so
that we know where the numbers belong ...
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r-- | sysutils/bsdstats/Makefile | 1 | ||||
-rw-r--r-- | sysutils/bsdstats/files/300.statistics | 5 | ||||
-rw-r--r-- | sysutils/bsdstats/files/300.statistics.in | 5 |
3 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile index 13a661fa41ae..13df6de2fc41 100644 --- a/sysutils/bsdstats/Makefile +++ b/sysutils/bsdstats/Makefile @@ -7,6 +7,7 @@ PORTNAME= bsdstats PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= sysutils DISTFILES= diff --git a/sysutils/bsdstats/files/300.statistics b/sysutils/bsdstats/files/300.statistics index 329a094e457f..22d8a2027f74 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.1 2006-08-06 03:34:08 scrappy Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.2 2006-08-06 14:11:15 scrappy Exp $ # # If there is a global system configuration file, suck it in. @@ -20,7 +20,8 @@ case "$monthly_statistics_enable" in HN=`/bin/hostname` SYS=`/usr/bin/uname -r` ARCH=`/usr/bin/uname -m` - /usr/bin/fetch -qo /tmp/getid http://bsdstats.hub.org/scripts/getid.php?hn=$HN\&sys=$SYS\&arch=$ARCH + OS=`/usr/bin/uname -s` + /usr/bin/fetch -qo /tmp/getid http://bsdstats.hub.org/scripts/getid.php?hn=$HN\&sys=$SYS\&arch=$ARCH\&opsys=$OS ;; *) rc=0;; esac diff --git a/sysutils/bsdstats/files/300.statistics.in b/sysutils/bsdstats/files/300.statistics.in index 8ba6cd4f8ceb..39cf4669d13d 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.1 2006-08-06 03:34:08 scrappy Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.2 2006-08-06 14:11:15 scrappy Exp $ # # If there is a global system configuration file, suck it in. @@ -20,7 +20,8 @@ case "$monthly_statistics_enable" in HN=`/bin/hostname` SYS=`/usr/bin/uname -r` ARCH=`/usr/bin/uname -m` - /usr/bin/fetch -qo /tmp/getid http://bsdstats.hub.org/scripts/getid.php?hn=$HN\&sys=$SYS\&arch=$ARCH + OS=`/usr/bin/uname -s` + /usr/bin/fetch -qo /tmp/getid http://bsdstats.hub.org/scripts/getid.php?hn=$HN\&sys=$SYS\&arch=$ARCH\&opsys=$OS ;; *) rc=0;; esac |