summaryrefslogtreecommitdiffstats
path: root/www/lightsquid
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-12-30 06:24:17 +0000
committerpav <pav@FreeBSD.org>2005-12-30 06:24:17 +0000
commit46034b6a6ad6f0341fc6373dfaaf1709a53b1c73 (patch)
treebfa7daabacfc34a7c848150848c5c3499147725f /www/lightsquid
parentdcce075d88e7ec8cdda1824b96a36ec6a1222b10 (diff)
downloadFreeBSD-ports-46034b6a6ad6f0341fc6373dfaaf1709a53b1c73.zip
FreeBSD-ports-46034b6a6ad6f0341fc6373dfaaf1709a53b1c73.tar.gz
Light Squid - light squid report parser and visualizer
fast and simple install fast log parser generate small per user data file perl based cgi script for dynamic generated report pages html template for design no database required no additional perl module varios reports user group support graphics report multilanguage interface PR: ports/91077 Submitted by: Alexander Logvinov <user@blg.akavia.ru>
Diffstat (limited to 'www/lightsquid')
-rw-r--r--www/lightsquid/Makefile48
-rw-r--r--www/lightsquid/distinfo3
-rw-r--r--www/lightsquid/files/pkg-message.in3
-rw-r--r--www/lightsquid/pkg-descr15
-rw-r--r--www/lightsquid/pkg-plist89
5 files changed, 158 insertions, 0 deletions
diff --git a/www/lightsquid/Makefile b/www/lightsquid/Makefile
new file mode 100644
index 0000000..2092ed90
--- /dev/null
+++ b/www/lightsquid/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: lightsquid
+# Date created: 24 Nov 2005
+# Whom: Alexander Logvinov <info@logvinov.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lightsquid
+PORTVERSION= 1.6
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-beta
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= lightsquid@logvinov.com
+COMMENT= A light and fast web based squid proxy traffic analyser
+
+.if !defined(WITHOUT_GD)
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
+.endif
+
+NO_BUILD= yes
+USE_PERL5= yes
+
+SUB_FILES= pkg-message
+
+DSTDIR?= ${PREFIX}/www/${PORTNAME}
+
+do-patch:
+ @${MV} ${WRKSRC}/lightsquid.cfg ${WRKSRC}/lightsquid.cfg.dist
+ @${MV} ${WRKSRC}/group.cfg ${WRKSRC}/group.cfg.dist
+ @${MV} ${WRKSRC}/realname.cfg ${WRKSRC}/realname.cfg.dist
+
+do-install:
+ @${MKDIR} ${DSTDIR}
+ @${CP} -R ${WRKSRC}/ ${DSTDIR}
+ @${CP} -n ${DSTDIR}/lightsquid.cfg.dist ${DSTDIR}/lightsquid.cfg
+ @${CP} -n ${DSTDIR}/group.cfg.dist ${DSTDIR}/group.cfg
+ @${CP} -n ${WRKSRC}/realname.cfg.dist ${DSTDIR}/realname.cfg
+ @${CHMOD} +x ${DSTDIR}/*.cgi
+ @${CHMOD} +x ${DSTDIR}/*.pl
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DSTDIR}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/lightsquid/distinfo b/www/lightsquid/distinfo
new file mode 100644
index 0000000..b2bf0f4
--- /dev/null
+++ b/www/lightsquid/distinfo
@@ -0,0 +1,3 @@
+MD5 (lightsquid-1.6-beta.tgz) = 7902c7eaa821cfc092f7c78f0db22f71
+SHA256 (lightsquid-1.6-beta.tgz) = f90a841c415859138cd717314e394320e613e68491a24f8c2303920c9c1c0ad3
+SIZE (lightsquid-1.6-beta.tgz) = 45727
diff --git a/www/lightsquid/files/pkg-message.in b/www/lightsquid/files/pkg-message.in
new file mode 100644
index 0000000..4722237
--- /dev/null
+++ b/www/lightsquid/files/pkg-message.in
@@ -0,0 +1,3 @@
+**************************************************************************
+Read the %%PREFIX%%/doc/install.txt to configure lightsquid
+**************************************************************************
diff --git a/www/lightsquid/pkg-descr b/www/lightsquid/pkg-descr
new file mode 100644
index 0000000..9b118d1
--- /dev/null
+++ b/www/lightsquid/pkg-descr
@@ -0,0 +1,15 @@
+Light Squid - light squid report parser and visualizer
+
+ fast and simple install
+ fast log parser generatesmall per user data file
+ perl based cgi script for dynamic generated report pages
+ html template for design
+ no database required
+ no additional perl module
+ varios reports
+ user group support
+ graphics report
+ multilanguage interface
+
+Author: Sergey Erokhin <lightsquid@gmail.com>
+WWW: http://lightsquid.sourceforge.net/
diff --git a/www/lightsquid/pkg-plist b/www/lightsquid/pkg-plist
new file mode 100644
index 0000000..c66f19b
--- /dev/null
+++ b/www/lightsquid/pkg-plist
@@ -0,0 +1,89 @@
+@unexec if cmp -s %D/www/lightsquid/group.cfg %D/www/lightsquid/group.cfg.dist; then rm -f %D/www/lightsquid/group.cfg; fi
+@unexec if cmp -s %D/www/lightsquid/realname.cfg %D/www/lightsquid/realname.cfg.dist; then rm -f %D/www/lightsquid/realname.cfg; fi
+@unexec if cmp -s %D/www/lightsquid/lightsquid.cfg %D/www/lightsquid/lightsquid.cfg.dist; then rm -f %D/www/lightsquid/lightsquid.cfg; fi
+www/lightsquid/doc/graph.txt
+www/lightsquid/doc/install.txt
+www/lightsquid/doc/logformat.txt
+www/lightsquid/doc/readme.txt
+www/lightsquid/doc/templates.txt
+www/lightsquid/doc/thanks.txt
+www/lightsquid/doc/version.txt
+www/lightsquid/ip2name/ip2name.demo
+www/lightsquid/ip2name/ip2name.dns
+www/lightsquid/ip2name/ip2name.list
+www/lightsquid/ip2name/ip2name.simple
+www/lightsquid/ip2name/ip2name.squidlist
+www/lightsquid/ip2name/ip2name.squidlist2
+www/lightsquid/lang/bg.lng
+www/lightsquid/lang/eng.lng
+www/lightsquid/lang/fr.lng
+www/lightsquid/lang/hu.lng
+www/lightsquid/lang/it.lng
+www/lightsquid/lang/pt_br.lng
+www/lightsquid/lang/ru.lng
+www/lightsquid/lang/sp.lng
+www/lightsquid/lang/check_lng.pl
+www/lightsquid/tpl/base/bigfiles.html
+www/lightsquid/tpl/base/day_detail.html
+www/lightsquid/tpl/base/graph.html
+www/lightsquid/tpl/base/group_detail.html
+www/lightsquid/tpl/base/index.html
+www/lightsquid/tpl/base/month_detail.html
+www/lightsquid/tpl/base/topsites.html
+www/lightsquid/tpl/base/user_detail.html
+www/lightsquid/tpl/base/user_month.html
+www/lightsquid/tpl/base/user_time.html
+www/lightsquid/tpl/base/whousesite.html
+www/lightsquid/tpl/base/images/datetime.png
+www/lightsquid/tpl/base/images/graph.png
+www/lightsquid/tpl/base/images/groups.png
+www/lightsquid/tpl/base/images/users.png
+www/lightsquid/tpl/ric_1.6b-0.2/print.css
+www/lightsquid/tpl/ric_1.6b-0.2/screen.css
+www/lightsquid/tpl/ric_1.6b-0.2/bigfiles.html
+www/lightsquid/tpl/ric_1.6b-0.2/day_detail.html
+www/lightsquid/tpl/ric_1.6b-0.2/graph.html
+www/lightsquid/tpl/ric_1.6b-0.2/group_detail.html
+www/lightsquid/tpl/ric_1.6b-0.2/index.html
+www/lightsquid/tpl/ric_1.6b-0.2/month_detail.html
+www/lightsquid/tpl/ric_1.6b-0.2/topsites.html
+www/lightsquid/tpl/ric_1.6b-0.2/user_detail.html
+www/lightsquid/tpl/ric_1.6b-0.2/user_month.html
+www/lightsquid/tpl/ric_1.6b-0.2/user_time.html
+www/lightsquid/tpl/ric_1.6b-0.2/whousesite.html
+www/lightsquid/tpl/ric_1.6b-0.2/images/datetime.png
+www/lightsquid/tpl/ric_1.6b-0.2/images/graph.png
+www/lightsquid/tpl/ric_1.6b-0.2/images/groups.png
+www/lightsquid/tpl/ric_1.6b-0.2/images/month.png
+www/lightsquid/tpl/ric_1.6b-0.2/images/users.png
+www/lightsquid/report/delete.me
+www/lightsquid/group.cfg.dist
+www/lightsquid/lightsquid.cfg.dist
+www/lightsquid/realname.cfg.dist
+www/lightsquid/bigfiles.cgi
+www/lightsquid/day_detail.cgi
+www/lightsquid/get.cgi
+www/lightsquid/graph.cgi
+www/lightsquid/group_detail.cgi
+www/lightsquid/index.cgi
+www/lightsquid/month_detail.cgi
+www/lightsquid/topsites.cgi
+www/lightsquid/user_detail.cgi
+www/lightsquid/user_month.cgi
+www/lightsquid/user_time.cgi
+www/lightsquid/whousesite.cgi
+www/lightsquid/.htaccess
+www/lightsquid/check-setup.pl
+www/lightsquid/common.pl
+www/lightsquid/lightparser.pl
+www/lightsquid/lightparser.pl.src
+@dirrm www/lightsquid/doc
+@dirrm www/lightsquid/tpl/base/images
+@dirrm www/lightsquid/tpl/base
+@dirrm www/lightsquid/tpl/ric_1.6b-0.2/images
+@dirrm www/lightsquid/tpl/ric_1.6b-0.2
+@dirrm www/lightsquid/tpl
+@dirrm www/lightsquid/lang
+@dirrm www/lightsquid/ip2name
+@dirrm www/lightsquid/report
+@dirrm www/lightsquid
OpenPOWER on IntegriCloud