Merge pull request #143 from brenard/debian

Add initial Debian package build files
This commit is contained in:
Darold 2016-08-16 21:30:36 +02:00 committed by GitHub
commit 21b60a17cd
9 changed files with 56 additions and 0 deletions

4
debian/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
squidanalyzer
*.debhelper*
squidanalyzer.substvars
files

5
debian/changelog vendored Normal file
View File

@ -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

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

18
debian/control vendored Normal file
View File

@ -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.

4
debian/copyright vendored Normal file
View File

@ -0,0 +1,4 @@
Copyright (c) 2001-2016 Gilles DAROLD
This package is free software and published under the GPL v3 or above
license.

15
debian/rules vendored Executable file
View File

@ -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

1
debian/squidanalyzer.apache2 vendored Normal file
View File

@ -0,0 +1 @@
conf debian/squidanalyzer.conf

6
debian/squidanalyzer.conf vendored Normal file
View File

@ -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>

2
debian/squidanalyzer.cron.daily vendored Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
/usr/bin/squid-analyzer