Import sarg 2.0.9
Sarg is a Squid Analysis Report Generator that allows to view "where" your users are going to on the Internet. Sarg generate reports in HTML, with many fields, like: users, IP addresses, bytes, sites and times. From Douglas Santos <dsantos@hydroxyl.org>
This commit is contained in:
parent
270c09686f
commit
24f1776a8d
58
www/sarg/Makefile
Normal file
58
www/sarg/Makefile
Normal file
@ -0,0 +1,58 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/27 13:03:45 alek Exp $
|
||||
|
||||
COMMENT= "Squid Analysis Report Generator"
|
||||
|
||||
DISTNAME= sarg-2.0.9
|
||||
CATEGORIES= www
|
||||
|
||||
HOMEPAGE= http://sarg.sourceforge.net/
|
||||
|
||||
MAINTAINER= Douglas Santos <dsantos@hydroxyl.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sarg/}
|
||||
|
||||
WANTLIB= c
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --enable-bindir=${LOCALBASE}/bin \
|
||||
--enable-sysconfdir=${SYSCONFDIR}/sarg \
|
||||
--enable-htmldir=/var/www/htdocs/sarg \
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/sarg
|
||||
|
||||
post-extract:
|
||||
@chmod 755 ${WRKSRC}/sarg-php/locale
|
||||
|
||||
post-build:
|
||||
@perl -pi -e \
|
||||
"s,/usr/local/sarg,${SYSCONFDIR}/sarg," \
|
||||
${WRKSRC}/sarg.1
|
||||
@perl -pi -e \
|
||||
"s,/usr/local/squid,/var/squid," ${WRKSRC}/sarg.1
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sarg ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/sarg.1 ${PREFIX}/man/man1/sarg.1
|
||||
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/images
|
||||
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/fonts
|
||||
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/languages
|
||||
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/sarg-php
|
||||
${INSTALL_DATA} ${WRKSRC}/css.tpl ${EXAMPLESDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/exclude_codes ${EXAMPLESDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/images/* ${EXAMPLESDIR}/images/
|
||||
${INSTALL_DATA} ${WRKSRC}/sarg.conf ${EXAMPLESDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/fonts/FreeSans.ttf ${EXAMPLESDIR}/fonts/
|
||||
${INSTALL_DATA} ${WRKSRC}/languages/* ${EXAMPLESDIR}/languages/
|
||||
${INSTALL_DATA} ${WRKSRC}/sarg-php/*php ${EXAMPLESDIR}/sarg-php/
|
||||
cp -R ${WRKSRC}/sarg-php/locale ${EXAMPLESDIR}/sarg-php/
|
||||
|
||||
.include <bsd.port.mk>
|
4
www/sarg/distinfo
Normal file
4
www/sarg/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (sarg-2.0.9.tar.gz) = 4d5a8eb6dd0c44dff446382ceacde31e
|
||||
RMD160 (sarg-2.0.9.tar.gz) = 9e47640565fe3391d06b0cd4e191ec37f14e0a86
|
||||
SHA1 (sarg-2.0.9.tar.gz) = 8a5d29a13a69541c90b4761b24b3d7fdad2d1bc6
|
||||
SIZE (sarg-2.0.9.tar.gz) = 404714
|
16
www/sarg/patches/patch-configure
Normal file
16
www/sarg/patches/patch-configure
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2005/09/27 13:03:45 alek Exp $
|
||||
--- configure.orig Tue Sep 27 13:48:07 2005
|
||||
+++ configure Tue Sep 27 13:48:21 2005
|
||||
@@ -2331,12 +2331,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
;;
|
||||
esac
|
||||
|
||||
-if test "${CC}" = "cc" ; then
|
||||
- CFLAGS="${CFLAGS} -w -g -O2 -Aa"
|
||||
-else
|
||||
- CFLAGS="${CFLAGS} -w"
|
||||
-fi
|
||||
-
|
||||
case "$host" in
|
||||
*-solaris*)
|
||||
LDFLAGS="${LDFLAGS} -lsocket -lnsl"
|
3
www/sarg/pkg/DESCR
Normal file
3
www/sarg/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Sarg is a Squid Analysis Report Generator that allows to view "where"
|
||||
your users are going to on the Internet. Sarg generate reports in HTML,
|
||||
with many fields, like: users, IP addresses, bytes, sites and times.
|
63
www/sarg/pkg/PLIST
Normal file
63
www/sarg/pkg/PLIST
Normal file
@ -0,0 +1,63 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/09/27 13:03:45 alek Exp $
|
||||
bin/sarg
|
||||
@man man/man1/sarg.1
|
||||
share/examples/sarg/
|
||||
@sample ${SYSCONFDIR}/sarg/
|
||||
share/examples/sarg/css.tpl
|
||||
share/examples/sarg/exclude_codes
|
||||
share/examples/sarg/fonts/
|
||||
share/examples/sarg/fonts/FreeSans.ttf
|
||||
share/examples/sarg/images/
|
||||
share/examples/sarg/images/datetime.png
|
||||
share/examples/sarg/images/graph.png
|
||||
share/examples/sarg/images/sarg-squidguard-block.png
|
||||
share/examples/sarg/images/sarg.png
|
||||
share/examples/sarg/languages/
|
||||
share/examples/sarg/languages/Bulgarian_windows1251
|
||||
share/examples/sarg/languages/Catalan
|
||||
share/examples/sarg/languages/Czech
|
||||
share/examples/sarg/languages/Dutch
|
||||
share/examples/sarg/languages/English
|
||||
share/examples/sarg/languages/French
|
||||
share/examples/sarg/languages/German
|
||||
share/examples/sarg/languages/Greek
|
||||
share/examples/sarg/languages/Hungarian
|
||||
share/examples/sarg/languages/Indonesian
|
||||
share/examples/sarg/languages/Italian
|
||||
share/examples/sarg/languages/Japanese
|
||||
share/examples/sarg/languages/Latvian
|
||||
share/examples/sarg/languages/Polish
|
||||
share/examples/sarg/languages/Portuguese
|
||||
share/examples/sarg/languages/Romanian
|
||||
share/examples/sarg/languages/Russian_koi8
|
||||
share/examples/sarg/languages/Russian_windows1251
|
||||
share/examples/sarg/languages/Serbian
|
||||
share/examples/sarg/languages/Slovak
|
||||
share/examples/sarg/languages/Spanish
|
||||
share/examples/sarg/languages/Turkish
|
||||
share/examples/sarg/languages/Ukrainian_windows1251
|
||||
share/examples/sarg/sarg-php/
|
||||
share/examples/sarg/sarg-php/language.php
|
||||
share/examples/sarg/sarg-php/locale/
|
||||
share/examples/sarg/sarg-php/locale/en_EN/
|
||||
share/examples/sarg/sarg-php/locale/en_EN/LC_MESSAGES/
|
||||
share/examples/sarg/sarg-php/locale/en_EN/LC_MESSAGES/messages.mo
|
||||
share/examples/sarg/sarg-php/locale/en_EN/LC_MESSAGES/messages.po
|
||||
share/examples/sarg/sarg-php/locale/fr/
|
||||
share/examples/sarg/sarg-php/locale/fr/LC_MESSAGES/
|
||||
share/examples/sarg/sarg-php/locale/fr/LC_MESSAGES/messages.mo
|
||||
share/examples/sarg/sarg-php/locale/fr/LC_MESSAGES/messages.po
|
||||
share/examples/sarg/sarg-php/locale/pt_BR/
|
||||
share/examples/sarg/sarg-php/locale/pt_BR/LC_MESSAGES/
|
||||
share/examples/sarg/sarg-php/locale/pt_BR/LC_MESSAGES/messages.mo
|
||||
share/examples/sarg/sarg-php/locale/pt_BR/LC_MESSAGES/messages.po
|
||||
share/examples/sarg/sarg-php/locale/ru/
|
||||
share/examples/sarg/sarg-php/locale/ru/LC_MESSAGES/
|
||||
share/examples/sarg/sarg-php/locale/ru/LC_MESSAGES/messages.mo
|
||||
share/examples/sarg/sarg-php/locale/ru/LC_MESSAGES/messages.po
|
||||
share/examples/sarg/sarg-php/sarg-block-it.php
|
||||
share/examples/sarg/sarg-php/sarg-squidguard-block.php
|
||||
share/examples/sarg/sarg-php/sarg-squidguard-block2.php
|
||||
share/examples/sarg/sarg-php/style.php
|
||||
share/examples/sarg/sarg.conf
|
||||
@sample ${SYSCONFDIR}/sarg/sarg.conf
|
Loading…
Reference in New Issue
Block a user