Source: awstats-update
Section: web
Priority: optional
Maintainer: Ken Neighbors <ken@nsds.com>
Standards-Version: 3.6.1
Build-Depends-Indep: debhelper (>= 4)

Package: awstats-update
Architecture: all
Depends: awstats
Description: Cron Script and CGI Script for awstats
 This package contains a crontab entry and script for automatically
 updating the awstats database files.  This script gets the list of
 available sites by reading the list of configuration files in
 /etc/awstats and looking for files named "awstats.CONFIGNAME.conf",
 where CONFIGNAME is the name of a site.  For each such file found,
 the cron script updates the corresponding awstats database file.
 Also included is a CGI script to list all the available reports with
 links to awstats to display them.
 .
 You should install the package awstats-update-apache2 or
 awstats-update-apache to configure logrotate to make sure that the
 awstats database file is updated immediately after the logs are
 rotated.  Otherwise you will miss all the entries between 2:15am
 (when awstats-update is run) and 6:25am (when logrotate is run).
 .
 If you are using awstats to generate reports for another service that
 rotates its log files, then read instructions on configuring
 logrotate in /usr/share/doc/awstats-update/README.Debian.

Package: awstats-update-apache
Architecture: all
Depends: ${misc:Depends}, awstats-update, apache
Description: logrotate configuration for awstats and Apache
 This package updates Apache's logrotate configuration to run awstats
 immediately after the Apache logs are rotated.

Package: awstats-update-apache2
Architecture: all
Depends: ${misc:Depends}, awstats-update, apache2-common
Description: logrotate configurator for awstats and Apache2
 This package updates Apache2's logrotate configuration to run awstats
 immediately after the Apache2 logs are rotated.

