Merge pull request #143 from brenard/debian
Add initial Debian package build files
This commit is contained in:
commit
21b60a17cd
|
@ -0,0 +1,4 @@
|
|||
squidanalyzer
|
||||
*.debhelper*
|
||||
squidanalyzer.substvars
|
||||
files
|
|
@ -0,0 +1,5 @@
|
|||
squidanalyzer (6.5-1) experimental; urgency=low
|
||||
|
||||
- Initial Debian package release
|
||||
|
||||
-- Benjamin Renard <brenard@easter-eggs.com> Thu, 11 Aug 2016 12:09:18 +0200
|
|
@ -0,0 +1 @@
|
|||
7
|
|
@ -0,0 +1,18 @@
|
|||
Source: squidanalyzer
|
||||
Section: admin
|
||||
Priority: extra
|
||||
Maintainer: Gilles Darold <gilles@darold.net>
|
||||
|
||||
Package: squidanalyzer
|
||||
Architecture: all
|
||||
Description: Squid proxy log analyzer and report generator
|
||||
Squid proxy native log analyzer and reports generator with full
|
||||
statistics about times, hits, bytes, users, networks, top URLs and
|
||||
top domains. Statistic reports are oriented toward user and
|
||||
bandwidth control; this is not a pure cache statistics generator.
|
||||
.
|
||||
SquidAnalyzer uses flat files to store data and doesn't need any SQL,
|
||||
SQL Lite or Berkeley databases.
|
||||
.
|
||||
This log analyzer is incremental and should be run in a daily cron,
|
||||
or more often with heavy proxy usage.
|
|
@ -0,0 +1,4 @@
|
|||
Copyright (c) 2001-2016 Gilles DAROLD
|
||||
|
||||
This package is free software and published under the GPL v3 or above
|
||||
license.
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@ --with apache2
|
||||
|
||||
override_dh_auto_configure:
|
||||
perl Makefile.PL \
|
||||
LOGFILE=/var/log/squid3/access.log \
|
||||
BINDIR=/usr/bin \
|
||||
CONFDIR=/etc/squidanalyzer \
|
||||
HTMLDIR=/var/lib/squidanalyzer \
|
||||
BASEURL=/squidreport \
|
||||
MANDIR=/usr/share/man/man3 \
|
||||
DOCDIR=/usr/share/doc/squidanalyzer \
|
||||
DESTDIR=$(CURDIR)/debian/squidanalyzer
|
|
@ -0,0 +1 @@
|
|||
conf debian/squidanalyzer.conf
|
|
@ -0,0 +1,6 @@
|
|||
Alias /squidreport /var/lib/squidanalyzer
|
||||
<Directory /var/lib/squidanalyzer>
|
||||
Options -Indexes +FollowSymLinks +MultiViews
|
||||
AllowOverride None
|
||||
Require ip 127.0.0.1
|
||||
</Directory>
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
/usr/bin/squid-analyzer
|
Loading…
Reference in New Issue