summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/squidclients/Makefile30
-rw-r--r--www/squidclients/distinfo1
-rw-r--r--www/squidclients/pkg-comment1
-rw-r--r--www/squidclients/pkg-descr8
-rw-r--r--www/squidclients/pkg-message10
-rw-r--r--www/squidclients/pkg-plist1
6 files changed, 51 insertions, 0 deletions
diff --git a/www/squidclients/Makefile b/www/squidclients/Makefile
new file mode 100644
index 000000000000..45f8d5096d57
--- /dev/null
+++ b/www/squidclients/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: squidclients
+# Version required: 1.6
+# Date created: 05 January 1999
+# Whom: Dima Sivachenko
+#
+# $Id$
+#
+
+DISTNAME= squidclients-1.6-freebsd.bin
+PKGNAME= squidclients-1.6
+CATEGORIES= www
+MASTER_SITES= http://www.cineca.it/~nico/binaries/
+EXTRACT_SUFX=
+
+MAINTAINER= dima@chg.ru
+
+NO_BUILD= YES
+NO_WRKSUBDIR= YES
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= .
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/squidclients
+
+post-install:
+ @ ${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/www/squidclients/distinfo b/www/squidclients/distinfo
new file mode 100644
index 000000000000..28e6d9ddb849
--- /dev/null
+++ b/www/squidclients/distinfo
@@ -0,0 +1 @@
+MD5 (squidclients-1.6-freebsd.bin) = edc499583ff0fc545fbc4490b967a78f
diff --git a/www/squidclients/pkg-comment b/www/squidclients/pkg-comment
new file mode 100644
index 000000000000..5c9df86b29fd
--- /dev/null
+++ b/www/squidclients/pkg-comment
@@ -0,0 +1 @@
+Generate a summary of client usage from a Squid log.
diff --git a/www/squidclients/pkg-descr b/www/squidclients/pkg-descr
new file mode 100644
index 000000000000..9c8b9896fafe
--- /dev/null
+++ b/www/squidclients/pkg-descr
@@ -0,0 +1,8 @@
+Generate a summary of client usage (grouped by domain) from a Squid native
+log. SquidClients used in conjunction with Calamaris gives a complete
+information about usage of Squid.
+
+http://www.cineca.it/~nico/squidclients.html
+
+--Dima
+dima@Chg.RU
diff --git a/www/squidclients/pkg-message b/www/squidclients/pkg-message
new file mode 100644
index 000000000000..9f741bcb0eee
--- /dev/null
+++ b/www/squidclients/pkg-message
@@ -0,0 +1,10 @@
+--------------------------------------------------------------------------------
+Usage: squidclients [-o2bhHdi] < access.log > squidclients.{txt,html}
+-o = omit browsers hostnames (to protect users' privacy)
+-b = omit any client hostname (browser or server)
+-2 = group by second level domain
+-d # = number of domain name components to summarise by
+-i # = number of domain name components to summarise by (include hostnames if components < x)
+-H = html output
+-h = help
+--------------------------------------------------------------------------------
diff --git a/www/squidclients/pkg-plist b/www/squidclients/pkg-plist
new file mode 100644
index 000000000000..9ddb2b7d4761
--- /dev/null
+++ b/www/squidclients/pkg-plist
@@ -0,0 +1 @@
+bin/squidclients