diff options
author | Marc G. Fournier <scrappy@FreeBSD.org> | 2006-08-09 16:54:30 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@FreeBSD.org> | 2006-08-09 16:54:30 +0000 |
commit | c98f5c5f8fe7cb7e59c8c377cc95cb2115677c19 (patch) | |
tree | 178f482ffd9e94eb3274fecad83d48b6fc11e26d /sysutils/bsdstats | |
parent | 45f855e33e792d602ec0a0904113cc9989aaf037 (diff) | |
download | ports-c98f5c5f8fe7cb7e59c8c377cc95cb2115677c19.tar.gz ports-c98f5c5f8fe7cb7e59c8c377cc95cb2115677c19.zip |
Notes
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r-- | sysutils/bsdstats/Makefile | 3 | ||||
-rw-r--r-- | sysutils/bsdstats/files/300.statistics | 6 | ||||
-rw-r--r-- | sysutils/bsdstats/files/300.statistics.in | 6 |
3 files changed, 9 insertions, 6 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile index 34673cc8d251..bbfe0acd2f83 100644 --- a/sysutils/bsdstats/Makefile +++ b/sysutils/bsdstats/Makefile @@ -6,8 +6,7 @@ # PORTNAME= bsdstats -PORTVERSION= 2.1 -PORTREVISION= 1 +PORTVERSION= 2.2 CATEGORIES= sysutils DISTFILES= diff --git a/sysutils/bsdstats/files/300.statistics b/sysutils/bsdstats/files/300.statistics index 301c487fd209..4f515b4ba040 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.8 2006-08-09 16:21:30 scrappy Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.9 2006-08-09 16:54:30 scrappy Exp $ # # If there is a global system configuration file, suck it in. @@ -57,7 +57,9 @@ IFS=" DRIVER=`echo $line | awk -F\@ '{print $1}'` VEN=`echo $line | awk '{print $4}' | cut -c12-15` DEV=`echo $line | awk '{print $4}' | cut -c8-11` - do_fetch report_device.php?driver=$DRIVER\&vendor=$VEN\&device=$DEV\&hn=$HN + CLASS=`echo $line | awk '{print $2}' | cut -c9-10` + SUBCLASS=`echo $line | awk '{print $2}' | cut -c11-14` + do_fetch report_device.php?driver=$DRIVER\&vendor=$VEN\&device=$DEV\&class=$CLASS\&subclass=$SUBCLASS\&hn=$HN done echo "Posting monthly device statistics to $checkin_server" diff --git a/sysutils/bsdstats/files/300.statistics.in b/sysutils/bsdstats/files/300.statistics.in index fdcb0b3c0037..a01ebcb906bc 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.8 2006-08-09 16:21:30 scrappy Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.9 2006-08-09 16:54:30 scrappy Exp $ # # If there is a global system configuration file, suck it in. @@ -57,7 +57,9 @@ IFS=" DRIVER=`echo $line | awk -F\@ '{print $1}'` VEN=`echo $line | awk '{print $4}' | cut -c12-15` DEV=`echo $line | awk '{print $4}' | cut -c8-11` - do_fetch report_device.php?driver=$DRIVER\&vendor=$VEN\&device=$DEV\&hn=$HN + CLASS=`echo $line | awk '{print $2}' | cut -c9-10` + SUBCLASS=`echo $line | awk '{print $2}' | cut -c11-14` + do_fetch report_device.php?driver=$DRIVER\&vendor=$VEN\&device=$DEV\&class=$CLASS\&subclass=$SUBCLASS\&hn=$HN done echo "Posting monthly device statistics to $checkin_server" |