summaryrefslogtreecommitdiff
path: root/www/wwwcount/files
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-05-14 22:05:23 +0000
committertron <tron@pkgsrc.org>1999-05-14 22:05:23 +0000
commit499ba6244b79bbc0dd23511edc0928c32e2afa08 (patch)
tree55282fd45311879155d8fe023f075028c595f484 /www/wwwcount/files
parentadd40a0b2fc14221349cc956d19a01bd34b0ba31 (diff)
downloadpkgsrc-499ba6244b79bbc0dd23511edc0928c32e2afa08.tar.gz
Adapt this package to NetBSD. Patches supplied by Greg A. Woods in
PR pkg/7561.
Diffstat (limited to 'www/wwwcount/files')
-rw-r--r--www/wwwcount/files/md54
-rw-r--r--www/wwwcount/files/wwwcount.conf70
2 files changed, 73 insertions, 1 deletions
diff --git a/www/wwwcount/files/md5 b/www/wwwcount/files/md5
index 8aa8d55b794..54f547d33dd 100644
--- a/www/wwwcount/files/md5
+++ b/www/wwwcount/files/md5
@@ -1 +1,3 @@
-MD5 (wwwcount2.4.tar.gz) = b9efab88431a1fd32f3908ba278d9375
+$NetBSD: md5,v 1.2 1999/05/14 22:05:23 tron Exp $
+
+MD5 (wwwcount2.5.tar.gz) = 90002b94a199f8d57ccabd0b89176e79
diff --git a/www/wwwcount/files/wwwcount.conf b/www/wwwcount/files/wwwcount.conf
new file mode 100644
index 00000000000..04a27ba3c20
--- /dev/null
+++ b/www/wwwcount/files/wwwcount.conf
@@ -0,0 +1,70 @@
+###-----------------------------------------------------------------------
+### configuration file for Count 2.5
+###
+### Note: Configuration file format for Count 2.5 is different than
+### older versions. -- mm
+### The format of the file is described below:
+### - Any line starts with # or ; is considered comment and ignored.
+### - A section in the file is inside left and right bracket.
+### - Each section has parameters below the section.
+###
+### Please read the Configuration section in the counter webpage for details.
+### The official counter homepage is at URL:
+### http://www.fccc.edu/users/muquit/Count.html
+###----------------------------------------------------------------------
+
+[version]
+ 2.5
+
+##-- options section
+; If auto_file_creation=Yes, then the users can create data files. It IS
+; dangerous to set this option to Yes.
+#
+; strict_mode=Yes or No. Run the program in strict mode or not. It's a good
+; idea to set this option to Yes.
+#
+; allow_rgb_database=Yes or No. Convenient to use because colorname e.g., red,
+; gold etc can be used instead of rgb components of the color, however it is
+; very inefficient to lookup. If your site is busy, set this option to No.
+#
+; count_reload=Yes or No. It is a good idea to set this option to No. But
+; you've to set this option to Yes if you are running a proxy server.
+; Normally set this option to Yes.
+#
+; log_error_messages=Yes or No. If your site is extremely busy and if the
+; counter generates lots of logs, set this option to No. Normally set this
+; option to Yes.
+#
+; show_error_messages_to_browsers=Yes or No. Set this option to No if you're
+; concerned with privacy and you're sure that the counter works perfectly.
+; If you set this option to No, you will not see error messages.
+
+[options]
+ auto_file_creation=No
+ strict_mode=Yes
+ allow_rgb_database=No
+ count_reload=Yes
+ log_error_messages=Yes
+ show_error_messages_to_browsers=Yes
+
+; You can specify IP address of the hosts you want to ignore from
+; counting. Netmasks can be used to ignore a entire network or a
+; specific range of hosts in the network. Read the counter
+; documentation to know about netmasks. Wild card can be used as
+; well. One item per line.
+;
+[ignore IPs]
+ 10.10.0.0 255.0.0.0
+ 172.16.0.0 255.255.0.0
+ 192.168.0.0 255.255.0.0
+
+; All possible names and IP addresses by which your host can be
+; referred. These hosts can access the counter remotely or locally.
+; Host running the http server must exist here. Wild cards can be
+; used. One item per line. NOTE: 192.0.2.0/24 is listed as the
+; TEST-NET.
+;
+[authorized]
+ www.your.domain
+ www
+ 192.0.2.1