summaryrefslogtreecommitdiff
path: root/www/sarg
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-05-13 11:19:19 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-05-13 11:19:19 +0000
commitfd298c171adac8fbbf165dfe25ff935e2780e8ab (patch)
treefd269c32dac30a4c5427f23d1e75f35e5b7c0604 /www/sarg
parentUpgrade to version 0.5.3. (diff)
Add sarg 1.2.2.1, squid log analyzer and HTML report generator.
PR: 48600 Submitted by: mt@primats.org.ua
Notes
Notes: svn path=/head/; revision=80903
Diffstat (limited to 'www/sarg')
-rw-r--r--www/sarg/Makefile19
-rw-r--r--www/sarg/distinfo1
-rw-r--r--www/sarg/pkg-descr6
-rw-r--r--www/sarg/pkg-plist4
4 files changed, 30 insertions, 0 deletions
diff --git a/www/sarg/Makefile b/www/sarg/Makefile
new file mode 100644
index 000000000000..52de1fa3e591
--- /dev/null
+++ b/www/sarg/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: sarg
+# Date created: 23.02.2003
+# Whom: mt@primats.org.ua
+#
+# $FreeBSD$
+#
+
+PORTNAME= sarg
+PORTVERSION= 1.2.2.1
+CATEGORIES= www
+MASTER_SITES= http://web.onda.com.br/orso/
+
+MAINTAINER= mt@primats.org.ua
+COMMENT= Squid log analyzer and HTML report generator
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --prefix=${PREFIX} --exec-prefix=${PREFIX} --enable-bindir="${PREFIX}/bin" --enable-sysconfdir="${PREFIX}/etc/${PORTNAME}" --with-gcc
+
+.include <bsd.port.mk>
diff --git a/www/sarg/distinfo b/www/sarg/distinfo
new file mode 100644
index 000000000000..c943c1bc9134
--- /dev/null
+++ b/www/sarg/distinfo
@@ -0,0 +1 @@
+MD5 (sarg-1.2.2.1.tar.gz) = f8b78d13d96793eb1c9a024bf9d816a5
diff --git a/www/sarg/pkg-descr b/www/sarg/pkg-descr
new file mode 100644
index 000000000000..7d209c0340ba
--- /dev/null
+++ b/www/sarg/pkg-descr
@@ -0,0 +1,6 @@
+sqmgrlog is a Squid analisys report generator that allow you to
+view "where" your users are going through squid. sqmgrlog generates
+reports in html, with many fields including users, IP addresses, bytes,
+sites and times.
+
+WWW: http://web.onda.com.br/orso/sqmgrlog.html
diff --git a/www/sarg/pkg-plist b/www/sarg/pkg-plist
new file mode 100644
index 000000000000..74c50569a785
--- /dev/null
+++ b/www/sarg/pkg-plist
@@ -0,0 +1,4 @@
+bin/sarg
+@unexec if cmp -s %D/etc/sarg/sarg.conf.default %D/etc/sarg/sarg.conf; then rm -f %D/etc/sarg.conf; fi
+etc/sarg/sarg.conf.default
+@exec if [ ! -f %D/etc/sarg/sarg.conf ]; then cp %D/etc/sarg/%f %D/etc/sarg/sarg.conf; fi