Page MenuHomeFreeBSD

D25296.id.diff
No OneTemporary

D25296.id.diff

Index: head/sysutils/bsdstats/Makefile
===================================================================
--- head/sysutils/bsdstats/Makefile
+++ head/sysutils/bsdstats/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bsdstats
-PORTVERSION= 7.0
+PORTVERSION= 7.1
CATEGORIES= sysutils
DISTFILES=
Index: head/sysutils/bsdstats/files/300.statistics.in
===================================================================
--- head/sysutils/bsdstats/files/300.statistics.in
+++ head/sysutils/bsdstats/files/300.statistics.in
@@ -392,7 +392,7 @@
;;
*)
report_uri="/scripts/report_ports_v2.php"
- if [ -f %%PREFIX%%/etc/bsdstats.conf -a "0" = "0`grep ^all-ports /usr/local/etc/bsdstats.conf`" ]; then
+ if [ -f %%PREFIX%%/etc/bsdstats.conf ] && [ "0" = "0`grep ^all-ports /usr/local/etc/bsdstats.conf`" ]; then
query_string=$( pkg query %n:%v:%o | fgrep -f %%PREFIX%%/etc/bsdstats.conf | awk -F\/ '{print $1}' | sed -E -e 's/\+/%2b/g' -e 's/,/%2c/g' | awk '{printf"&port[]=%s", $1}' )
else
query_string=$( pkg query %n:%v:%o | awk -F\/ '{print $1}' | sed -E -e 's/\+/%2b/g' -e 's/,/%2c/g' | awk '{printf"&port[]=%s", $1}' )

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 26, 5:00 AM (22 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37268626
Default Alt Text
D25296.id.diff (1 KB)

Event Timeline