aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-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
5 files changed, 31 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 3f3449849b4c..d7f3a28cd1c3 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -419,6 +419,7 @@
SUBDIR += ruby-tmpl
SUBDIR += ruby-webrick
SUBDIR += ruby-webunit
+ SUBDIR += sarg
SUBDIR += scout
SUBDIR += screem
SUBDIR += sidplug
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