FreeBSD Bugzilla – Attachment 165083 Details for
Bug 205906
[NEW PORT] www/squidanalyzer: Squid access log report generation tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
squidanalyzer.shar
squidanalyzer.shar (text/plain), 3.36 KB, created by
dominique.goncalves
on 2016-01-04 22:58:25 UTC
(
hide
)
Description:
squidanalyzer.shar
Filename:
MIME Type:
Creator:
dominique.goncalves
Created:
2016-01-04 22:58:25 UTC
Size:
3.36 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># squidanalyzer ># squidanalyzer/Makefile ># squidanalyzer/distinfo ># squidanalyzer/pkg-descr ># squidanalyzer/pkg-plist ># squidanalyzer/pkg-message ># >echo c - squidanalyzer >mkdir -p squidanalyzer > /dev/null 2>&1 >echo x - squidanalyzer/Makefile >sed 's/^X//' >squidanalyzer/Makefile << 'c1fe955005200a0ecfda9bfdcb8cf6f3' >X# Created by: Dominique Goncalves <dominique.goncalves@gmail.com> >X# $FreeBSD$ >X >XPORTNAME= squidanalyzer >XPORTVERSION= 6.5 >XDISTVERSIONPREFIX= v >XCATEGORIES= www perl5 >X >XMAINTAINER= dominique.goncalves@gmail.com >XCOMMENT= Squid access log report generation tool >X >XLICENSE= GPLv3 >X >XEXTRACT_SUFFIX= .tar.gz >XUSE_GITHUB= yes >XGH_ACCOUNT= darold >X >XMAKE_JOBS_UNSAFE=yes >X >XUSE_PERL5= configure >XUSES= perl5 >XCONFIGURE_ARGS+=LOGFILE=/var/log/squid3/access.log \ >X BINDIR=${LOCALBASE}/bin \ >X CONFDIR=${LOCALBASE}/etc \ >X HTMLDIR=${LOCALBASE}/www/squidreport \ >X BASEURL=/squidreport \ >X MANDIR=${LOCALBASE}/man/man3 \ >X DOCDIR=${LOCALBASE}/share/doc/squidanalyzer \ >X INSTALLDIRS=site \ >X >X.include <bsd.port.mk> >c1fe955005200a0ecfda9bfdcb8cf6f3 >echo x - squidanalyzer/distinfo >sed 's/^X//' >squidanalyzer/distinfo << 'f3293510238a02e8a4bf843c230886dc' >XSHA256 (darold-squidanalyzer-v6.5_GH0.tar.gz) = 93c51de611beff47d49b1b46aef42d1f6028366ff46ec1617a2549c3baa26053 >XSIZE (darold-squidanalyzer-v6.5_GH0.tar.gz) = 157964 >f3293510238a02e8a4bf843c230886dc >echo x - squidanalyzer/pkg-descr >sed 's/^X//' >squidanalyzer/pkg-descr << 'b6ed058481a706c5ef561fae2b066495' >XSquid Analyzer parses Squid proxy access log and reports general statistics >Xabout hits, bytes, users, networks, top URLs, and top second level domains. >XStatistic reports are oriented toward user and bandwidth control. >X >XWWW: http://squidanalyzer.darold.net/ >b6ed058481a706c5ef561fae2b066495 >echo x - squidanalyzer/pkg-plist >sed 's/^X//' >squidanalyzer/pkg-plist << 'd0764bb3125dfc6911742e5164c93149' >Xbin/squid-analyzer >X%%SITE_PERL%%/SquidAnalyzer.pm >X%%PERL5_MAN3%%/SquidAnalyzer.3.gz >d0764bb3125dfc6911742e5164c93149 >echo x - squidanalyzer/pkg-message >sed 's/^X//' >squidanalyzer/pkg-message << 'b5c4956b4bfb535c9c616a823ba2ac62' >X----------------------------------------------------------------------------- >X1. Modify your httpd.conf to allow access to HTML output like follow: >X Alias /squidreport ${LOCALBASE}/www/squidreport >X <Directory ${LOCALBASE}/www/squidreport> >X Options -Indexes FollowSymLinks MultiViews >X AllowOverride None >X Order deny,allow >X Deny from all >X Allow from 127.0.0.1 >X </Directory> >X2. If necessary, give additional host access to SquidAnalyzer in httpd.conf. >X Restart and ensure that httpd is running. >X3. Browse to http://my.host.dom/squidreport/ to ensure that things are working >X properly. >X4. Setup a cronjob to run squid-analyzer daily: >X >X # SquidAnalyzer log reporting daily >X 0 2 * * * ${LOCALBASE}/bin/squid-analyzer > /dev/null 2>&1 >X >Xor run it manually. >XFor more information, see ${LOCALBASE}/share/doc/squidanalyzer/README file. >X----------------------------------------------------------------------------- >b5c4956b4bfb535c9c616a823ba2ac62 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 205906
:
165083
|
166248
|
166798
|
167131