aboutsummaryrefslogtreecommitdiff
path: root/www/pwebstats
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-08-09 12:10:22 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-08-09 12:10:22 +0000
commit74f011850a0b3d8523a17bba2d9bf5396b66218a (patch)
tree8aeabd2bb92c6d768382d1291edc38bf71fae24c /www/pwebstats
parent2a9ccd0d35c0f48dd714fedcffb5ed07d6e391e8 (diff)
downloadports-74f011850a0b3d8523a17bba2d9bf5396b66218a.tar.gz
ports-74f011850a0b3d8523a17bba2d9bf5396b66218a.zip
Notes
Diffstat (limited to 'www/pwebstats')
-rw-r--r--www/pwebstats/Makefile30
-rw-r--r--www/pwebstats/distinfo1
-rw-r--r--www/pwebstats/files/patch-aa49
-rw-r--r--www/pwebstats/pkg-descr5
-rw-r--r--www/pwebstats/pkg-message4
-rw-r--r--www/pwebstats/pkg-plist94
6 files changed, 183 insertions, 0 deletions
diff --git a/www/pwebstats/Makefile b/www/pwebstats/Makefile
new file mode 100644
index 000000000000..35b44a3ae13a
--- /dev/null
+++ b/www/pwebstats/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: pwebstats
+# Date created: 13.07.2003
+# Whom: HSIN-HSIUNG CHANG <sexbear@tmu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pwebstats
+PORTVERSION= 1.3.8
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.psg.com/pub/pwebstats/
+
+MAINTAINER= sexbear@tmu.edu.tw
+COMMENT= Analyse a web server log
+
+RUN_DEPENDS= fly:${PORTSDIR}/graphics/fly
+
+USE_PERL5= yes
+
+NO_BUILD= yes
+
+do-install:
+ ${MKDIR} ${PREFIX}/etc/pwebstats/
+ ${CP} -R ${WRKSRC}/* ${PREFIX}/etc/pwebstats/
+ ${MV} "${PREFIX}/etc/pwebstats/templates/images/'.gif" ${PREFIX}/etc/pwebstats/templates/images/10.gif
+ ${MV} "${PREFIX}/etc/pwebstats/templates/images/dates/'.gif" ${PREFIX}/etc/pwebstats/templates/images/dates/10.gif
+ ${RM} ${PREFIX}/etc/pwebstats/pwebstats.orig
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/pwebstats/distinfo b/www/pwebstats/distinfo
new file mode 100644
index 000000000000..e1c75f30a12d
--- /dev/null
+++ b/www/pwebstats/distinfo
@@ -0,0 +1 @@
+MD5 (pwebstats-1.3.8.tar.gz) = f7d0bbc56b701dbd129cbb1c00ff6c57
diff --git a/www/pwebstats/files/patch-aa b/www/pwebstats/files/patch-aa
new file mode 100644
index 000000000000..65fe6cec4823
--- /dev/null
+++ b/www/pwebstats/files/patch-aa
@@ -0,0 +1,49 @@
+--- pwebstats.orig Tue Jul 15 01:35:07 2003
++++ pwebstats Tue Jul 15 01:35:59 2003
+@@ -414,8 +414,8 @@
+ $date_num_size{$num} = &get_width("$image_templates/dates/$num.gif");
+ }
+
+- $num_size{'\''} = &get_width("$image_templates/\'.gif");
+- $date_num_size{'\''} = &get_width("$image_templates/dates/\'.gif");
++ $num_size{'\''} = &get_width("$image_templates/10.gif");
++ $date_num_size{'\''} = &get_width("$image_templates/dates/10.gif");
+
+ foreach $mon ( keys(%months) ) {
+ $mon_size{$mon} = &get_width("$image_templates/$mon.gif");
+@@ -2264,7 +2264,7 @@
+ print "copy 10,214,0,0,24,16,$image_templates/dates/$mon.gif\n";
+ ($y1,$y2) = $yea =~ m/^\d\d(.)(.)$/;
+ $x = 34;
+- printf "copy $x,214,0,0,%s,16,$image_templates/dates/'.gif\n", $date_num_size{"'"};
++ printf "copy $x,214,0,0,%s,16,$image_templates/dates/10.gif\n", $date_num_size{"'"};
+ $x += $date_num_size{"'"};
+ printf "copy $x,214,0,0,%s,16,$image_templates/dates/$y1.gif\n", $date_num_size{"$y1"};
+ $x += $date_num_size{$y1};
+@@ -2276,7 +2276,7 @@
+ print "copy 397,214,0,0,24,16,$image_templates/dates/$mon.gif\n";
+ ($y1,$y2) = $yea =~ m/^\d\d(.)(.)$/;
+ $x = 423;
+- printf "copy $x,214,0,0,%s,16,$image_templates/dates/'.gif\n", $date_num_size{"'"};
++ printf "copy $x,214,0,0,%s,16,$image_templates/dates/10101010101010101010.gif\n", $date_num_size{"'"};
+ $x += $date_num_size{"'"};
+ printf "copy $x,214,0,0,%s,16,$image_templates/dates/$y1.gif\n", $date_num_size{"$y1"};
+ $x += $date_num_size{$y1};
+@@ -2456,7 +2456,7 @@
+ print "copy 10,214,0,0,24,16,$image_templates/dates/$mon.gif\n";
+ ($y1,$y2) = $yea =~ m/^\d\d(.)(.)$/;
+ $x = 34;
+- printf "copy $x,214,0,0,%s,16,$image_templates/dates/'.gif\n", $date_num_size{"'"};
++ printf "copy $x,214,0,0,%s,16,$image_templates/dates/10.gif\n", $date_num_size{"'"};
+ $x += $date_num_size{"'"};
+ printf "copy $x,214,0,0,%s,16,$image_templates/dates/$y1.gif\n", $date_num_size{"$y1"};
+ $x += $date_num_size{$y1};
+@@ -2468,7 +2468,7 @@
+ print "copy 397,214,0,0,24,16,$image_templates/dates/$mon.gif\n";
+ ($y1,$y2) = $yea =~ m/^\d\d(.)(.)$/;
+ $x = 423;
+- printf "copy $x,214,0,0,%s,16,$image_templates/dates/'.gif\n", $date_num_size{"'"};
++ printf "copy $x,214,0,0,%s,16,$image_templates/dates/10.gif\n", $date_num_size{"'"};
+ $x += $date_num_size{"'"};
+ printf "copy $x,214,0,0,%s,16,$image_templates/dates/$y1.gif\n", $date_num_size{"$y1"};
+ $x += $date_num_size{$y1};
diff --git a/www/pwebstats/pkg-descr b/www/pwebstats/pkg-descr
new file mode 100644
index 000000000000..b11438a90ada
--- /dev/null
+++ b/www/pwebstats/pkg-descr
@@ -0,0 +1,5 @@
+pwebstats will analyse a web server log in Common Log Format, or proxy server
+log, producing a variety of statistics. The output is a series of HTML pages
+and graphs.
+
+-- HSIN-HSIUNG CHANG <sexbear@tmu.edu.tw>
diff --git a/www/pwebstats/pkg-message b/www/pwebstats/pkg-message
new file mode 100644
index 000000000000..399ab1fdba89
--- /dev/null
+++ b/www/pwebstats/pkg-message
@@ -0,0 +1,4 @@
+---------------------------------------------------------------
+You need to configure the conf/pwebstats.conf.
+http://martin.gleeson.com/pwebstats/running.html#config
+---------------------------------------------------------------
diff --git a/www/pwebstats/pkg-plist b/www/pwebstats/pkg-plist
new file mode 100644
index 000000000000..83bab8cbf53c
--- /dev/null
+++ b/www/pwebstats/pkg-plist
@@ -0,0 +1,94 @@
+etc/pwebstats/README
+etc/pwebstats/conf/proxy.conf
+etc/pwebstats/conf/pwebstats.conf
+etc/pwebstats/conf/pwebstats.pages
+etc/pwebstats/conf/squid-proxy.conf
+etc/pwebstats/pwebstats
+etc/pwebstats/templates/domains/domains.txt
+etc/pwebstats/templates/footer.html
+etc/pwebstats/templates/images/10.gif
+etc/pwebstats/templates/images/0.gif
+etc/pwebstats/templates/images/1.gif
+etc/pwebstats/templates/images/2.gif
+etc/pwebstats/templates/images/3.gif
+etc/pwebstats/templates/images/4.gif
+etc/pwebstats/templates/images/5.gif
+etc/pwebstats/templates/images/6.gif
+etc/pwebstats/templates/images/7.gif
+etc/pwebstats/templates/images/8.gif
+etc/pwebstats/templates/images/9.gif
+etc/pwebstats/templates/images/Apr.gif
+etc/pwebstats/templates/images/Aug.gif
+etc/pwebstats/templates/images/Dec.gif
+etc/pwebstats/templates/images/Feb.gif
+etc/pwebstats/templates/images/Jan.gif
+etc/pwebstats/templates/images/Jul.gif
+etc/pwebstats/templates/images/Jun.gif
+etc/pwebstats/templates/images/Mar.gif
+etc/pwebstats/templates/images/May.gif
+etc/pwebstats/templates/images/Nov.gif
+etc/pwebstats/templates/images/Oct.gif
+etc/pwebstats/templates/images/Sep.gif
+etc/pwebstats/templates/images/dates/10.gif
+etc/pwebstats/templates/images/dates/0.gif
+etc/pwebstats/templates/images/dates/1.gif
+etc/pwebstats/templates/images/dates/2.gif
+etc/pwebstats/templates/images/dates/3.gif
+etc/pwebstats/templates/images/dates/4.gif
+etc/pwebstats/templates/images/dates/5.gif
+etc/pwebstats/templates/images/dates/6.gif
+etc/pwebstats/templates/images/dates/7.gif
+etc/pwebstats/templates/images/dates/8.gif
+etc/pwebstats/templates/images/dates/9.gif
+etc/pwebstats/templates/images/dates/apr.gif
+etc/pwebstats/templates/images/dates/aug.gif
+etc/pwebstats/templates/images/dates/dec.gif
+etc/pwebstats/templates/images/dates/feb.gif
+etc/pwebstats/templates/images/dates/jan.gif
+etc/pwebstats/templates/images/dates/jul.gif
+etc/pwebstats/templates/images/dates/jun.gif
+etc/pwebstats/templates/images/dates/mar.gif
+etc/pwebstats/templates/images/dates/may.gif
+etc/pwebstats/templates/images/dates/nov.gif
+etc/pwebstats/templates/images/dates/oct.gif
+etc/pwebstats/templates/images/dates/sep.gif
+etc/pwebstats/templates/images/domain_template.gif
+etc/pwebstats/templates/images/growth_template.gif
+etc/pwebstats/templates/images/growth_template_proxy.gif
+etc/pwebstats/templates/images/hourly_template.gif
+etc/pwebstats/templates/images/i_daily.gif
+etc/pwebstats/templates/images/i_monthly.gif
+etc/pwebstats/templates/images/i_quarterly.gif
+etc/pwebstats/templates/images/i_weekly.gif
+etc/pwebstats/templates/images/r_day.gif
+etc/pwebstats/templates/images/r_fortnight.gif
+etc/pwebstats/templates/images/r_month.gif
+etc/pwebstats/templates/images/r_quarter.gif
+etc/pwebstats/templates/images/r_week.gif
+etc/pwebstats/templates/images/r_year.gif
+etc/pwebstats/templates/images/requests_per_day.gif
+etc/pwebstats/templates/images/valid_html.gif
+etc/pwebstats/templates/old-images/0.gif
+etc/pwebstats/templates/old-images/1.gif
+etc/pwebstats/templates/old-images/2.gif
+etc/pwebstats/templates/old-images/3.gif
+etc/pwebstats/templates/old-images/4.gif
+etc/pwebstats/templates/old-images/5.gif
+etc/pwebstats/templates/old-images/6.gif
+etc/pwebstats/templates/old-images/7.gif
+etc/pwebstats/templates/old-images/8.gif
+etc/pwebstats/templates/old-images/9.gif
+etc/pwebstats/utilities/ftp-log-convert
+etc/pwebstats/utilities/log-splitter.pl
+etc/pwebstats/utilities/ns-splitter.pl
+etc/pwebstats/utilities/rotatelogs.sh
+etc/pwebstats/utilities/run-up.sh
+etc/pwebstats/utilities/squid2common.pl
+@dirrm etc/pwebstats/utilities
+@dirrm etc/pwebstats/templates/old-images
+@dirrm etc/pwebstats/templates/images/dates
+@dirrm etc/pwebstats/templates/images
+@dirrm etc/pwebstats/templates/domains
+@dirrm etc/pwebstats/templates
+@dirrm etc/pwebstats/conf
+@dirrm etc/pwebstats