debian/0000755000000000000000000000000012257621604007173 5ustar debian/default/0000755000000000000000000000000012241647665010627 5ustar debian/default/awstats0000644000000000000000000000142312241647665012240 0ustar # AWStats configuration options # This variable controls the scheduling priority for updating AWStats # datafiles and for generating static html reports. Normal priority # is 0 and a lower priority is 10. See "man nice" for more info. AWSTATS_NICE=10 # This variable controls whether to create static html reports every # night in /var/cache/awstats/. Set to "yes" or "no". # To enable this you should also set AWSTATS_ENABLE_CRONTABS to "yes". AWSTATS_ENABLE_BUILDSTATICPAGES="yes" # This variable controls the language of all static html reports. Set # one to appropriate two-letter language code (default to en). AWSTATS_LANG="en" # This variable controls whether to run regular cron jobs for awstats. Set # to "yes" or "no" (default to "yes"). AWSTATS_ENABLE_CRONTABS="yes" debian/gbp.conf0000644000000000000000000000014612241647665010623 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/source/0000755000000000000000000000000012241647665010503 5ustar debian/source/format0000644000000000000000000000001412241647665011711 0ustar 3.0 (quilt) debian/source/include-binaries0000644000000000000000000000003112241647665013635 0ustar debian/icons/firefox.png debian/watch0000644000000000000000000000030112241647665010226 0ustar version=3 # use qa.debian.org redirector; see man uscan opts=dversionmangle=s/.dfsg//,uversionmangle=s/7\.(\d)/7.$1/ \ http://sf.net/awstats/awstats-(.*).tar.gz debian \ debian/orig-tar.sh debian/orig-tar.sh0000755000000000000000000000060312241647665011265 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' PKG=awstats DIR=$PKG-$2 TAR=../${PKG}_$2+dfsg.orig.tar.gz # clean up the upstream tarball tar xvf $3 tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR rm -rf $DIR $3 # move to directory 'tarballs' if [ -r .svn/deb-layout ] then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi exit 0 debian/TODO.Debian0000644000000000000000000000041612241647665011055 0ustar * Package relevant extra modules * Get rid of the last uses of $DIR in main script * use own user (e.g., awstats) instead of www-data in cronjobs * and then add EnableLockForUpdate=1 as default * add an example index script for #302210 (e.g. "AWStats Totals") debian/NEWS0000644000000000000000000000474112241647665007710 0ustar awstats (6.5-2) unstable; urgency=low For security purposes, the confdir parameter is disabled by default. To enable it, set the AWSTATS_ENABLE_CONFIG_DIR environmental variable in the web environment. Allowing confdir to be set opens the door for a code injection attack, as explained in bug #365910. Note that upstream will fix this in the 6.6 release, but has not yet decided how they will address the issue (though they suggested the current patch). -- Charles Fry Mon, 8 May 2006 11:04:54 -0400 awstats (6.0-3) unstable; urgency=low Cache files are now located at /var/lib/awstats by default. Old files are automatically moved from /var/cache/awstats. Exception: If the directory /var/lib/awstats exists already then no attempts on upgrading are done. -- Jonas Smedegaard Tue, 4 May 2004 13:44:47 +0200 awstats (6.0-1) unstable; urgency=low If you use the ExtraSections feature, you must check that the parameter(s) ExtraSectionConditionX use a full REGEX syntax (with 5.x series, this parameter could contain simple string values). If not, feature will be broken. If you use the Misc feature, you must check that your ShowMiscStats parameter is set to "ajdfrqwp", if you want to have all miscellanous info reported (you must also have added the awstats_misc_tracker.js script in your home page as described in MiscTrackerUrl parameter description). Otherwise the new default value "a" will be used (only the "Add to favourites" will be reported). MaxLengthOfURL parameter has been renamed into MaxLengthOfShownURL. To enable the new worm detection, you must add parameter LevelForWormsDetection=2 in your config file. If you used the urlalias or userinfo plugin, you must move the urlalias.*.txt or userinfo.*.txt file from Plugins directory to DirData directory. -- Jonas Smedegaard Sun, 28 Mar 2004 14:04:53 +0200 awstats (5.0-1) unstable; urgency=low AWStats 5.0 is compatible with previous versions (3.x or 4.x). However if you use awstats 5.0 runtime to read statistics for old month build with 3.x or 4.x, speed will be a little bit reduce but data will be reported correctly. To benefit the speed/memory improvement of 5.0 (2 to 8 times faster when reading stats, less memory use) you can migrate your history files with the command: awstats.pl -migrate="/fullpath/awstatsMMYYYY.configval.txt" -- Jonas Smedegaard Sun, 6 Oct 2002 18:03:46 +0200 debian/awstats.cron.d0000644000000000000000000000037612241647665012004 0ustar MAILTO=root */10 * * * * www-data [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh # Generate static reports: 10 03 * * * www-data [ -x /usr/share/awstats/tools/buildstatic.sh ] && /usr/share/awstats/tools/buildstatic.sh debian/buildstatic.sh0000755000000000000000000000263412241647665012056 0ustar #!/bin/sh ## ## buildstatic.sh, written by Sergey B Kirpichev ## ## Build all static html reports from AWStats data (Debian specific) ## set -e DEFAULT=/etc/default/awstats AWSTATS=/usr/lib/cgi-bin/awstats.pl BUILDSTATICPAGES=/usr/share/awstats/tools/awstats_buildstaticpages.pl ERRFILE=`mktemp --tmpdir awstats.XXXXXXXXXX` YEAR=`date +%Y` MONTH=`date +%m` trap 'rm -f $ERRFILE' INT QUIT TERM EXIT [ -f $AWSTATS -a -f $BUILDSTATICPAGES ] || exit 1 # Set default AWSTATS_NICE=10 AWSTATS_ENABLE_BUILDSTATICPAGES="yes" AWSTATS_LANG="en" [ ! -r "$DEFAULT" ] || . "$DEFAULT" # For compatibility: handle empty AWSTATS_ENABLE_CRONTABS as "yes": [ "${AWSTATS_ENABLE_CRONTABS:-yes}" = "yes" -a \ "$AWSTATS_ENABLE_BUILDSTATICPAGES" = "yes" ] || exit 0 cd /etc/awstats for c in `/bin/ls -1 awstats.*.conf 2>/dev/null | \ /bin/sed 's/^awstats\.\(.*\)\.conf/\1/'` \ `[ -f /etc/awstats/awstats.conf ] && echo awstats` do mkdir -p /var/cache/awstats/$c/$YEAR/$MONTH/ if ! nice -n $AWSTATS_NICE $BUILDSTATICPAGES \ -config=$c \ -year=$YEAR \ -month=$MONTH \ -lang=$AWSTATS_LANG \ -staticlinksext=${AWSTATS_LANG}.html \ -dir=/var/cache/awstats/$c/$YEAR/$MONTH/ >$ERRFILE 2>&1 then cat $ERRFILE >&2 # an error occurred else ln -fs /var/cache/awstats/$c/$YEAR/$MONTH/awstats.$c.$AWSTATS_LANG.html \ /var/cache/awstats/$c/$YEAR/$MONTH/index.$AWSTATS_LANG.html fi done debian/awstats.examples0000644000000000000000000000043212241647665012430 0ustar tools/awstats_configure.pl tools/awstats_exportlib.pl tools/awstats_updateall.pl tools/geoip_generator.pl tools/maillogconvert.pl tools/urlaliasbuilder.pl debian/examples/apache.conf debian/examples/redostats.sh wwwroot/cgi-bin/plugins/example/* wwwroot/css wwwroot/js tools/xslt debian/awstats.conf.local0000644000000000000000000000036012241647665012630 0ustar # You can overrides config directives here. # This is particularly useful for users with several configs for # different virtual servers, who want to reuse common parameters. # Also, this file is not updated with each new upstream release. debian/changelog0000644000000000000000000012721312241647665011063 0ustar awstats (7.2+dfsg-1) unstable; urgency=low * Repackage upstream sources with uscan * Adopt README.source for new release * Imported Upstream version 7.2+dfsg * Refresh patches * Upgrade licences (upstream and debian/) to GPL v3+. * Fix lintian error: vcs-field-not-canonical -- Sergey B Kirpichev Sat, 16 Nov 2013 14:57:22 +0400 awstats (7.1.1~dfsg-2) unstable; urgency=low * Remove unsupported copyright_hints (autogenerated) * Use patch (not perl) to apply Debian-specific configuration changes * Add debian/awstats.examples * Drop absoleted binary-post-install/awstats target * drop binary-fixup target * Add patch with build.xml * Drop obsoleted control.in * Transition to dh build system, drop CDBS dependence * Override dh_compress * Fix permissions on doc/awstats/examples/*.pl -- Sergey B Kirpichev Mon, 07 Oct 2013 20:43:11 +0400 awstats (7.1.1~dfsg-1) unstable; urgency=low * New upstream release (Closes: #703596) -- Sergey B Kirpichev Fri, 29 Mar 2013 01:06:00 +0400 awstats (7.1~dfsg-1) unstable; urgency=low * Ensure that backwards compatible Java bytecode is built (Closes: #687414) * Add option to easy switch off awstats crontabs. Install symlink for awstats binary to /usr/bin. Closes: #641481. * Drop deprecated DMUA flag * Link missing mime-icons to notavailable.png (Closes: #690379) * Fix lintian unused-license-paragraph-in-dep5-copyright (Add comment for Files: wwwroot/icon/mime/*) * Fix lintian copyright-refers-to-symlink-license (GPL -> GPL-1+) * Install manpage * Imported Upstream version 7.1~dfsg * Update patches for new release * Fix executable bit on awstats.pl * Bump up Standards-Version (to 3.9.4) * Change license for wwwroot/icon/mime/* icons (Closes: #698921) * Update watch file for 7.x * Add debian/icons/firefox.png to include-binaries * Update DEB_UPSTREAM_TARBALL* stuff in rules -- Sergey B Kirpichev Fri, 22 Feb 2013 19:33:53 +0400 awstats (7.0~dfsg-7) unstable; urgency=low * Document -configdir option in README.Debian (Closes: #280067) * Show config name on error in update.sh (Closes: #675174, thanks to laurent@bearteam.org) * Create an index.$lang.html file in buildstatic.sh (Closes: #673317, thanks to Antoine Beaupré) -- Sergey B Kirpichev Wed, 13 Jun 2012 21:44:08 +0400 awstats (7.0~dfsg-6) unstable; urgency=low * Document pipe's usage in LogFile directive (Closes: #435028) * Reformat debian/copyright according to accepted DEP5 spec * Bump up Standards-Version to 3.9.3 (no changes) -- Sergey B Kirpichev Mon, 05 Mar 2012 15:38:42 +0400 awstats (7.0~dfsg-5) unstable; urgency=low * Add MAILTO=root to awstats.cron.d (Closes: #652665, thanks to Dominique Brazziel) * Add todo for #302210 * 1019_allow_frame_resize.patch: Allow resize of mainleft/right frames (Closes: #293218) -- Sergey B Kirpichev Wed, 28 Dec 2011 17:14:12 +0400 awstats (7.0~dfsg-4) unstable; urgency=low * Apply some compatibility fixes for perl 5.14: introduce 1018_perl5- 14.patch (Closes: #650492, #652070, thanks to Atsuhito Kohda) * Fixed Bug-Debian info for 016_downloads_list_page.patch -- Sergey B Kirpichev Wed, 14 Dec 2011 22:36:06 +0400 awstats (7.0~dfsg-3) unstable; urgency=low * Bump up Standards-Version (to 3.9.2) * Removed .gitignore * Replace /usr/share/doc/awstats/html/awstats_changelog.txt.gz by symlink to avoid lintian warning * Include patches/1016_downloads_list_page.patch to generate "Downloads Full list" page (Closes: #638857) * Refresh patches with --no-index --no-timestamps -pab --diffstat * Include patches/1017_fix_html_output_markup.patch to fix some output issues (Closes: #630943) * Update copyright for debian/* files * Minor tweaks of debian/README.Debian * Add some hints to restrict access to /cgi-bin/awstats.pl (Closes: #590953) -- Sergey B Kirpichev Sat, 29 Oct 2011 16:43:28 +0400 awstats (7.0~dfsg-2) unstable; urgency=low [ Sergey B Kirpichev ] * Process the /etc/awstats/awstats.conf file in update.sh/buildstatic.sh only if it's exists (Closes: #613524) * Allow change $NBOFLASTUPDATELOOKUPTOSAVE via CGI/CLI arguments (Closes: #600225). [ Jonas Smedegaard ] * Remove myself as uploader. Thanks for all the fish. [ Sergey B Kirpichev ] * Drop Debian AWStats Team from Maintainer's -- Sergey B Kirpichev Wed, 06 Apr 2011 03:31:45 +0400 awstats (7.0~dfsg-1) unstable; urgency=low * New upstream release. Closes: bug#613447. [ Sergey B Kirpichev ] * Unfuzz patches. * Update patch 1008. * Drop obsolete patches. * Fix +x bit on *.js in docs/examples * Avoid asterisks in debian/NEWS entries, to please lintian. * Fix recode bulgarian tooltips file as utf-8. Closes: bug#610632. * Forward patches 0007 and 1015 upstream. * Allow DM (Debian Maintainer) uploads. [ Jonas Smedegaard ] * Update copyright file: + Rewrite using Subversion rev.173 of draft DEP5 format. + Add some previously missed authors and licenses. -- Jonas Smedegaard Sat, 12 Mar 2011 19:44:25 +0100 awstats (6.9.5~dfsg-5) unstable; urgency=high [ Sergey B Kirpichev ] * Bump up Standards-Version to 3.9.1. * Remove examples/staticpages.sh. * Take sucurity fixes from upstream CVS: - CVE-2010-4369: patch 0009 (closes directory traversal vulnerability via crafted LoadPlugin directory). - CVE-2010-4367(and CVE-2010-4368): update patch 1002 (sanitize configdir, disable overwriting of configdir parameter in cgi mode). Closes: bug#606263. [ Jonas Smedegaard ] * Unfuzz patches. * Ease building with git-buildpackage: + Add dpkg-source local-options. + Suppress .pc dir. -- Jonas Smedegaard Fri, 24 Dec 2010 00:05:07 +0100 awstats (6.9.5~dfsg-4) unstable; urgency=low [ Jonas Smedegaard ] * Fix bashism in buildstatic.sh. Closes: bug#582861. * Recommend versions of coreutils supporting mktemp --tmpdir. Closes: bug#582602, thanks to Vincent Danjean. [ Andreas Henriksson ] * Remove myself from uploaders. [ Sergey B Kirpichev ] * Install logresolvemerge.pl in tools. Closes: bug#275491. * Change order of configs parsing in update.sh and buildstatic.sh. Closes: bug#580699, thanks to Ken Neighbors. * Improve documentation. Logfile permissions, EnableLockForUpdate option, setup for multiple sites. Closes: bug#580702, thanks to Ken Neighbors. * Prevent nested includes from being prematurely closed. Closes: bug#575545, thanks to Ken Neighbors. * Rephrase steps needed for apache.conf installation. Closes: bug#590947. -- Jonas Smedegaard Fri, 06 Aug 2010 23:26:53 -0400 awstats (6.9.5~dfsg-3) unstable; urgency=low [ Sergey B Kirpichev ] * Show error messages from cron jobs. Closes: bug#580672, thanks to Ken Neighbors. * Add option to disable nightly generation of static html reports. Closes: bug#580692, thanks to Ken Neighbors. * Option to use "nice" to lower the priority of cron scripts. Closes: bug#580693, thanks to Ken Neighbors. * Set default language (en) for static reports generation * Cosmetic improvements to cron scripts. Closes: bug#580704. * Recognize method/protocol RTSP in uppercase. Closes: bug#350601, thanks to Lee Maguire. * Report permissions problem while reading awstats.custom.conf. Closes: bug#572353, thanks to Ken Neighbors. [ Jonas Smedegaard ] * Reverse test logic when sourcing /etc/default/awstats to not fail if missing. * Respect TMPDIR for temporary files (i.e. use mktemp --tmpdir). * Update patches: + Drop (unapplied) patch 0011: applied upstream at some point in the past. + Unfuzz (unapplied) patch 0006. + Refresh patches 0006, 1015 and 1016 with compacting quilt options --no-index --no-timestamps -pab. -- Jonas Smedegaard Wed, 19 May 2010 13:53:50 +0200 awstats (6.9.5~dfsg-2) unstable; urgency=low [ Sergey B Kirpichev ] * Fail on error in buildstatic.sh. * Clarify patch policy. * Set up executable bit on awstats_buildstaticpages.pl. Closes: bug#580523, thanks to Ken Neighbors and Laurent Bonnaud. [ Jonas Smedegaard ] * Tidy patch README a bit - stripping note related to a specific patch. * Refer to FSF website (not postal address) in licensing header of rules file. * Release to unstable. -- Jonas Smedegaard Thu, 06 May 2010 18:04:04 +0200 awstats (6.9.5~dfsg-1) experimental; urgency=low [ Sergey B Kirpichev ] * New upstream release. * Fix paths for all geoip plugins. * Rewrite patch 1004 to check full Perl version (not just minor version, and not just drop the check - see #440035), and to fix awstats_buildstaticpages.pl too. Closes: #519319, thanks to Andrew Ruthven. * Update patch 1007 (russian locale) to use abbreviated month and day of week names, and to fix dos->unix fileformat. * Drop patch 2001 (hiding charts in days of month statistics) as it breaks rounding of Averages. Closes: #522467, thanks to Jools Wills. * Add new patch 1012 to strip the trailing dot when making a reverse on ipv6 addresses. Closes: #397544, thanks to Laurent Bigonville. * Add new patch 1013 to fix wrong search engine logging from yahoo sites. Closes: #347426, thanks to Erik Jacobson. * Add new patch 1014 to add WebSec to robots list. Closes: #284149, thanks to Baruch Even. * Add new patch 2001 to fix awstats_buildstaticpages.pl path to awstats.pl. * Add/fix Description & Author fields for patches. * Submit 1xxx patches upstream * Renumber patches adopted upstream: + 1006 → 0006 + 1007 → 0007 (upstream #2540486) + 1011 → 0011 (upstream #2794728) * Improve cron job: + Drop log file checks. Closes: #294586, #439889, thanks to Ralf Neubauer and others. + Move update to new script update.sh supporting multiple configs. + Add new script buildstatic.sh to generate daily static reports. Drop TODO item about generating only static reports. * Update README.Debian: + Add multisite notes. Closes: #415334, thanks to Eric Wadsworth. + Fix note on combined log format (Apache2 uses CLF per default). + Cleanup configure.pl notes + Use Apache 2.x in examples. * Create /var/cache/awstats in postinst, for static html reports. * Change DATADIR to /var/lib/awstats in sample script redostats.sh. * Install awstats_buildstaticpages.pl as tool (not sample script). * Add /etc/default/awstats file. * Handle /etc/awstats/awstats.conf in update.sh and buildstatic.sh * Suggest liburi-perl. Closes: #558131. [ Jonas Smedegaard ] * Add README.source. Drop README.cdbs-tweaks. * Mention git-orig-source build target in watch file. * Bump standards-version to 3.8.4. * Bump debhelper compatibility level to 6. * Reformat debian/copyright to conform to proposal DEP5 rev. 135. * Include actual licensing text of GPL-2+ in debian/copyright. * Build java applet using Ant and in compliance with Debian Java Policy. * Fix set x bit on tools and examples (and unset elsewhere). * Fix cron jobs to not run scripts if missing (i.e. when awstats package is removed but not purged). * Fix explicitly exclude awstats_buildstaticpages.pl from getting installed as sample script. * Drop all local CDBS snippets: included with main cdbs package now. * Switch to source format "3.0 (quilt)". * Drop patchsys-quilt.mk snippet: superfluous with source format "3.0 (quilt)". * Drop invoking dh_perl explicitly (handled in cdbs since late 2003). * Drop no longer needed .cvsignore cleanup. * Fix fail on error uudecoding Firefox icon. [ Andreas Henriksson ] * Replace apache with apache2 as default config choice. Closes: #257832. * Fix insecure tempfile creation in example script redostats.sh. * Install awgraphapplet.jar (built from source, avoiding upstream shipped binary), thanks to Andreas Westwik. * Remove Charles Fry from uploaders on his request. Closes: #569474. -- Jonas Smedegaard Thu, 01 Apr 2010 14:27:16 +0200 awstats (6.9~dfsg-1) unstable; urgency=low [ Sergey B Kirpichev ] * New upstream release (Closes: #494676). * Add myself to Uploaders field. * Drop patches 0001 and 1005 (applied upstream). * Unfuzz patches 1002-1004. * Add new patch 1007 updating Russian translation. Thanks to Sergey Kirpichev at upstream tracker #2540486. * Add new patch 1008 enhancing the ExtraSection headings to include the words (Top XXX) for consistency with all other section headings. * Add new patch 1009 fixing URL to Hurd (Closes: #408086). * Add new patch 1010 fixing dirdata permissions (Closes: #299148). * Add new patch 1011 fixing Geo::IPfree warnings (Closes: #512373). * Add new patch 2001 hiding charts in days of month statistics. * Use debian defaults for geoip data files. [ Jonas Smedegaard ] * Repackage upstream tarball. * Packaging moved to Git (from Subversion). Update debian/control and git-buildpackage configfile, enabling pristine-tar support. * Use new local CDBS snippet package-relations.mk to resolve, cleanup and apply CDBS-declared (build-)dependencies. * Add DEB_MAINTAINER_MODE in debian/rules (thanks to Romain Beauxis). * Update local CDBS snippets: + upstream-tarball.mk: internal restructuring + buildinfo.mk: fix copyright years + copyright-check.mk: major rewrite, now generating hint file more readily usable as template for new proposed copyright format + Update README.cdbs-tweaks to also cover newly added package- relations.mk. * Rewrite debian/copyright using new proposed syntax (v440). Update copyright-hints. * Unfuzz patch 1006. * Depend on misc:depends (thanks to lintian) and cdbs:depends (currently unused, and drop superfluous dependencies (fulfilled by perl even in oldstable). -- Jonas Smedegaard Tue, 03 Mar 2009 18:19:24 +0100 awstats (6.7.dfsg-5.1) unstable; urgency=high * Non-maintainer upload by the Security Team. * Strip '"' characters during URL decoding, fixing a cross-site scripting attack (CVE-2008-3714; CVE-2008-5080; Closes: #495432). -- Nico Golde Wed, 10 Dec 2008 13:05:43 +0100 awstats (6.7.dfsg-5) unstable; urgency=low * Add debian/patches/0001_awstats69beta_xss.patch, upstream security fix from 6.9 beta to fix XSS. (Closes: #495432, upstream bug 2001151) -- Andreas Henriksson Sun, 17 Aug 2008 13:54:04 +0200 awstats (6.7.dfsg-4) unstable; urgency=low * Update local cdbs snippets: + Relax copyright-check to only warn about its discoveries. + Update dependency cleanup to strip cdbs 0.4.27 (not 0.4.27-1). -- Jonas Smedegaard Sun, 22 Jun 2008 21:30:28 +0200 awstats (6.7.dfsg-3) unstable; urgency=low * Update debian/copyright_hints (Closes: #487067) * Add dversionmangle to debian/watch to remove .dfsg from version string, as suggested by lintian. * Update to debian policy 3.8.0, no changes. -- Andreas Henriksson Sun, 22 Jun 2008 20:35:14 +0200 awstats (6.7.dfsg-2) unstable; urgency=low [ Andreas Henriksson ] * Add debian/patches/1005_at-amp-t.patch (Closes: #478968) * Add myself to Uploaders. * Fix lintian warnings: + doc-base: Apps/Net -> Network/Monitoring * Bump to debian-policy 3.7.3 [ Charles Fry ] * Disable warnings for Perl < 5.6 (Closes: #432096, #440035) [ Jonas Smedegaard ] * Move Homepage to own field (from pseudo-field in long description). * Use Vcs-* fields (and not XS-Vcs-* ones). * Update cdbs tweaks: + update-tarball needs cdbs 0.4.39 or newer (only relevant for backports). + Support zip in upstream-tarball.mk (unneeded here). + Use ~ as repackaging delimiter by default in upstream-tarball.mk to make room for point releases and cleaned up rerelease. + Rename top srcdir in repackaged tarball to $pkg-$ver.orig to comply with Developers Reference 6.7.8.2. + Support mangling upstream version string in upstream-tarball.mk. + Major rewrite of copyright-check.mk. Update copyright_hints. + Drop wget options broken with recent versions of wget in update-tarball.mk. + Drop buildcore.mk override (set DEB_AUTO_UPDATE_DEBIAN_CONTROL manually when needed instead) + Misc. updates to README.cdbs-tweaks. * Rewrite config tweak in debian/rules in perl (instead of sed). * Fix dollar signs in perl-in-shell-in-make code in debian/rules. * Update build-dependency cosmetics in debian/rules, and semi-auto- update debian/control: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules -- Andreas Henriksson Tue, 03 Jun 2008 22:20:45 +0200 awstats (6.7.dfsg-1.1) unstable; urgency=low * Non-maintainer upload during credativ BSP 2008 * Fix release goal: FTBFS if build twice in a row (Closes: #442500) -- Martin Zobel-Helas Sun, 06 Apr 2008 02:50:36 +0200 awstats (6.7.dfsg-1) unstable; urgency=low * New upstream release. Closes: bug#436572, thanks to Daniel Baumann. * Add XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control. * Fix standards-version in debian/control.in. * Update CDBS tweaks: + Replace auto-update.mk with overloading buildcore.mk. + Check copyright strings in pre-build target (not clean target) to fix race condition. + Add upstream-tarball.mk to implement get-orig-source target. + Fix applying buildinfo only once. + Add debian/README.cdbs-tweaks and advertise it in debian/rules. * Declare (and merge duplicate) build-dependencies in debian/rules. Declare all as Build-Depends (not Build-depends-Indep). * Semi-auto-update debian/control: DEB_BUILD_OPTIONS=cdbs-autoupdate fakeroot debian/rules pre-build * Update debian/copyright: + Include both copyright and licensing info verbatim. + Update to include the year 2007. + Refer explicitly to GPLv2. -- Jonas Smedegaard Mon, 27 Aug 2007 17:52:52 +0200 awstats (6.6+dfsg-1) unstable; urgency=low * New upstream release (Closes: #350987, #335865) -- Charles Fry Sat, 10 Feb 2007 11:11:02 -0500 awstats (6.5+dfsg-1) unstable; urgency=low [ Jonas Smedegaard ] * Add to 6.5-2 changelog entry that it fixed CVE-2006-1945 too. [ Charles Fry ] * Move cdbs and debhelper into Build-Depends * Don't distribute Firefox icon (Closes: #388571) -- Charles Fry Sat, 4 Nov 2006 15:47:46 -0500 awstats (6.5-2) unstable; urgency=high [ Charles Fry ] * Require AWSTATS_ENABLE_CONFIG_DIR environmental variable in order to enable configdir. Closes: #365910 (thanks to Hendrik Weimer ) * Integrated security patches from upstream: + Decode QueryString. Closes: #364443 (thanks to Micah Anderson ) + Sanitize migrate parameter. Closes: #365909 (thanks to Hendrik Weimer ) * Indent Homepage in long description, per debian reference guideline [ Jonas Smedegaard ] * Update local cdbs snippet copyright-check.mk: + Broaden scan to also look for "(c)" by default. + Make egrep options configurable. * Semi-auto-update debian/control: + Bump up versioned build-dependency on debhelper. * Semi-auto-update debian/copyright_hints (nothing remarkable). * Set urgency=high as this upload fixes security-related bugs (bug#365909: CVE-2006-2237, bug#364443: CVE-2006-1945). * Fix including a couple of example shell scripts ignored by mistake. -- Jonas Smedegaard Tue, 9 May 2006 23:10:43 +0200 awstats (6.5-1) unstable; urgency=low [ Jonas Smedegaard ] * New upstream release. + Recognizes GNUTLS from lynx User-Agent header. Closes: #306130 (thanks to Dmitry Baryshkov ). + Geoip shows countries for resolved hostnames. Closes: #317310 (thanks to Administrator ). * Simplify watch file to better work with parser used at qa.d.o. * Improve cdbs rules: + Use quilt (rather than cdbs-internal patch system). + Add and enable new local snippets copyright-check and auto-update. + Update local snippet buildinfo (fixing its namespace). * Auto-update debian/control: + Tightened build-dependency on cdbs. + Added build-dependencies on patchutils and quilt. * Package is now team-maintained: + New maintainer: Debian AWStats Team . + Add myself as uploader. [ Charles Fry ] * Use qa.debian.org SF redirector in watch file. * Use Homepage instead of Website in debian/control, per DDR 6.2.4. * Removed patches integrated upstream -- Jonas Smedegaard Sun, 15 Jan 2006 22:35:07 +0100 awstats (6.4-2) unstable; urgency=low [ Charles Fry ] * New co-maintainer. * Suggest libgeo-ipfree-perl. Closes: #316126 (thanks to Gunnar Wolf ). * Fixed README.Debian path to configure.pl. Closes: #313093 (thanks to Michael De Nil ). [ Jonas Smedegaard ] * Acknowledge NMU. Closes: bug#322591. * Bump up watch version, and adjust the default command (we have moved to SubVerSion). * Add proto to URL in long description. * User newer chown syntax in postinst (thanks to lintian). -- Jonas Smedegaard Mon, 19 Sep 2005 22:41:16 +0200 awstats (6.4-1.1) unstable; urgency=high * Non-maintainer upload * SECURITY UPDATE: Fix arbitrary command injection. (Closes: #322591) Thanks to Martin Pitt for reporting the issue and providing the patch. * Add debian/patches/03_remove_eval.patch: - Replace all eval() calls for dynamically constructed function names with soft references. This fixes arbitrary command injection with specially crafted referer URLs which contain Perl code. - Patch taken from upstream CVS, and contained in 6.5 release. * References: CAN-2005-1527 http://www.idefense.com/application/poi/display?id=290&type=vulnerabilities -- Frank Lichtenheld Sun, 4 Sep 2005 19:17:31 +0200 awstats (6.4-1) unstable; urgency=low * New upstream release. * Redirect errors of offline scripts to STDERR. Closes: bug#296435 (tanks to Charles Fry ). * Fix typo in README.Debian (thanks to Emmanuel Lacour ). -- Jonas Smedegaard Sat, 26 Mar 2005 06:51:21 +0100 awstats (6.3-1) unstable; urgency=high * New upstream release. Closes: bug#293702, #293668 (thanks to Nelson A. de Oliveira ). + Includes upstream fix for security bug fixed in 6.2-1.1. + Includes upstream fix for most of security bug fixed in 6.2-1.1. * Acknowledge NMUs. Closes: bug#291064, #294488 (thanks to Martin Schulze , Martin Pitt , Ubuntu, Joey Hess , Frank Lichtenheld and Steve Langasek ). * Include patch for last parts of security bug fixed in 6.2-1.1: 01_sanitize_more.patch. * Patch (02) to include snapshot of recent development: + Fix security hole that allowed a user to read log file content even when plugin rawlog was not enabled. + Fix a possible use of AWStats for a DoS attack. + configdir option was broken on windows servers. + DebugMessages is by default set to 0 for security reasons. + Minor fixes. * References: CAN-2005-0435 - read server logs via loadplugin and pluginmode CAN-2005-0436 - code injection via PluginMode CAN-2005-0437 - directory traversal via loadplugin CAN-2005-0438 - information leak via debug -- Jonas Smedegaard Sat, 5 Feb 2005 17:13:48 +0100 awstats (6.2-1.2) unstable; urgency=HIGH * NMU with the following patch from Ubuntu. Closes: #294488 * SECURITY UPDATE: fix more arbitrary command execution vulnerabilities * wwwroot/cgi-bin/awstats.pl: remove all non-path characters from the "config", "pluginmode", "loadplugin", and "noloadplugin" parameters (which are defined by the remote user) to prevent execution of arbitrary shell commands through shell metacharacters. * References: CAN-2005-0362 for *plugin* variables CAN-2005-0363 for the config variable -- Joey Hess Sun, 13 Feb 2005 14:02:07 -0500 awstats (6.2-1.1) unstable; urgency=HIGH * NMU with the following patch from Ubuntu. Closes: #291064 * SECURITY UPDATE: fix arbitrary command execution * awstats/wwwroot/cgi-bin/awstats.pl: remove all non-path characters from the "configdir" parameter and the SiteConfig variable to prevent execution of arbitrary shell commands when open()'ing them. * References: CAN-2005-0116 http://www.idefense.com/application/poi/display?id=185&type=vulnerabilities -- Joey Hess Thu, 20 Jan 2005 16:29:35 -0500 awstats (6.2-1) unstable; urgency=low * New upstream release. Closes: bug#282665. * Strip leading article from short description to please lintian. -- Jonas Smedegaard Mon, 3 Jan 2005 18:33:47 +0100 awstats (6.1-4) unstable; urgency=high * Add upstream website URL to long description. * Fix watch file. * Use generic (but unofficial) buildinfo cdbs snippet. * Recommend libnet-xwhois-perl. Closes: bug#261190 (thanks to Thilo Pfennig ). * No longer avoid GIFs - the evil patent has expired. This closes: bug#260345 (thanks to Charles Lepple ). * Set urgency=high to hopefully get this into sarge in time (the changes are small but valuable). -- Jonas Smedegaard Thu, 4 Nov 2004 00:56:58 +0100 awstats (6.1-3) unstable; urgency=low * Correct minor typos in README.Debian. * Add new section to README.Debian: "Quick'n'dirty setup". * Add example apache config snippet. -- Jonas Smedegaard Fri, 8 Oct 2004 12:34:15 +0200 awstats (6.1-2) unstable; urgency=low * Correct a build target so configuration file is properly included (arrgh!). This also closes: Bug#258883 (thanks to Raphael Hertzog ). -- Jonas Smedegaard Wed, 21 Jul 2004 22:58:03 +0200 awstats (6.1-1) unstable; urgency=low * New ustream release. Closes: Bug#251620, #257248 (except not ful- filling the wish of updating to 6.2 not yet stable upstream). + Misspelling ("trafic") corrected. Closes: Bug#240975 (thanks to Cristopher Price ). * Add new XSLT files as example files. * Make sure among example files that only scripts and direactories are executable. -- Jonas Smedegaard Fri, 2 Jul 2004 17:55:22 +0200 awstats (6.0-4) unstable; urgency=low * Really fix bug#247265. Really closes: Bug#247265 (thanks to Edward J. Shornock ). -- Jonas Smedegaard Wed, 5 May 2004 05:12:07 +0200 awstats (6.0-3) unstable; urgency=low * Avoid perl warning when declaring a set of empty variables. Closes: Bug#247265 (thanks to J.H.M. Dassen (Ray) ). * Explicitly favor perl 5.8 to libstorable-perl and libtime-hires-perl (not really a bug - the perl package satisfies this implicitly, but since the bugreporter took the time to file a bugreport about it, I'll manage to set it up explicitly). Closes: Bug#247267. * Added note about Debian location of configure.pl to README.Debian to deal with main script hardcoding its location. Closes: Bug#243047 (again, thanks to J.H.M. Dassen). * Move cache files to /var/lib/awstats and use that location from now on by default (as claimed in 5.6-2 - I wonder what went wrong then). Add note to NEWS about the change, and update README.Debian. Closes: Bug#232349 (thanks to Erik Jacobson ). * Standards-version 3.6.1. -- Jonas Smedegaard Tue, 4 May 2004 15:51:26 +0200 awstats (6.0-2) unstable; urgency=medium * Rename NEWS.Debian to NEWS, so that it gets installed. Thanks to Brock Rozen for spotting it. * Setting urgency=medium, as this is only a packaging correction, and is good to get into testing soon. -- Jonas Smedegaard Sat, 3 Apr 2004 00:21:38 +0200 awstats (6.0-1) unstable; urgency=low * New upstream release. Closes: Bug#211005 (at least the main part of it) * Acceptance of friendly takeover (mentioned in Bug#211005) withdrawn. * Suggest in README.Debian the upstream script awstats_updateall.pl as alternative to awstats-update (mentioned in Bug#211005 - please file a separate wishlist bug if interested in discussing this further). * Add NEWS.Debian + Move relevant stuff from README.Debian + Add new stuff about upgrade to 6.x. * Suggest libnet-dns-perl and libnet-ip-perl. Closes: Bug#220393 (thanks to Craig small ). * Drop patch to tighten paths possible to pass to main script: Current code is not as open to XSS flaws as earlier, and it makes the Debian package harder to maintain (leading to other more important bugfixes taking longer to reach Debian). * Remove Debian-specific notes in debian/changelog provided in debian/changelog as well. -- Jonas Smedegaard Sun, 28 Mar 2004 14:04:53 +0200 awstats (5.6-2) unstable; urgency=low * Use target common-configure-indep instead of common-configure for inclusion of awstats.conf. Closes: Bug#210351 (thanks to Georges Kesseler , Paul Slootman and Javier Fernândez-Sanguino Peña for solving this, and to Nathanael Nerode for waking me up). * Update 02_use_static_dirs.diff to not use "." as DirData default. Closes (the other part of) Bug#222694 (together with the above). * Use /var/lib/awstats instead of /var/cache/awstats (thanks to Paul Slootman for his notice in Bug#222694). -- Jonas Smedegaard Thu, 18 Dec 2003 16:23:15 +0100 awstats (5.6-1) unstable; urgency=low * New upstream release (closes: Bug#202006). + Upstream deals with compliant robots hitting stats page now (closes: Bug#195840 - the rest of the suggestion is questionable and can be implemented locally by standard editing config file). * Problem with mod_gzip possibly solved in version 5.4 (closes: Bug#165390 - please reopen if problem persist). * Remove patch 01_use_TableBG (upstream has improved/rearranged visual design). * Include sample JavaScript and CSS code as examples. * Include all tools as examples, not only explicit ones (adds awstats_exportlib.pl and new maillogconvert.pl). * Update watch file (use explicit server instead of sourceforge redirect crap, and add uupdate). * Standards-version 3.6.0. * Cleanup debian/rules a bit, thanks to newer cdbs (no need to tighten build-dependency as cdbs has not yet ever been part of an official Debian release). * Update 02_use_static_dirs.diff to match new upstream release. * Improve long description a bit (mention that more than 30 languages are supported). * Fix speling error and generally improve virtually empty awstats.conf.local (sorry folks - this won't happen often). * Use cdbs to add examples (instead of separate debhelper file), and make sure all example scripts are executable and not compressed. -- Jonas Smedegaard Fri, 1 Aug 2003 14:08:40 +0200 awstats (5.5-2) unstable; urgency=low * Build-depend on cdbs, and tighten build-dependency on debhelper (although I suspect this is actually not really needed for perl packages). -- Jonas Smedegaard Fri, 30 May 2003 12:02:19 +0200 awstats (5.5-1) unstable; urgency=low * New upstream release * Switch from cbs to cdbs. * Correct debian/watch. * Standards-Version 3.5.10 (no changes needed). * Avoid the example plugin without the use of 'rm -rf', and include it instead as, well, an example. -- Jonas Smedegaard Fri, 30 May 2003 11:23:40 +0200 awstats (5.4-1) unstable; urgency=low * New upstream release (closes: bug#170285, bug#175328). * Update patches. * Update debian/rules to latest version of CBS. * provide separate conffile for local tweaks (closes: Bug#179741, thanks to Francesco Potorti ). -- Jonas Smedegaard Sun, 16 Mar 2003 06:01:58 +0100 awstats (5.1-6) unstable; urgency=low * Fix wrongly placed quotes in /etc/awstats./awstats.conf (thanks to Wolfgang Karall . Closes bug#177857. -- Jonas Smedegaard Wed, 22 Jan 2003 13:31:10 +0100 awstats (5.1-5) unstable; urgency=low * Switch to using CBS (Colin's Build System). * Correct (and improve a bit) sed rules adjusting configfile. This closes: Bug#171698, thanks to Robert Millan (and to Amaya Rodrigo Sastre for clarifying). * Separate html documentation and register with doc-base. * Avoid all GIFs (PNGs are provided for them all). * Don't strip .ico file. * Quote the wording of the upstream license statement (instead of just telling that it is GPL) in debian/copyright, and properly refer to Debian location of the GPL. * Declare compliance with Policy version 3.5.8.0. -- Jonas Smedegaard Sun, 15 Dec 2002 21:31:14 +0100 awstats (5.1-4) unstable; urgency=low * Really take care of LogFile default. -- Jonas Smedegaard Fri, 15 Nov 2002 00:37:43 +0100 awstats (5.1-3) unstable; urgency=low * Change default DirData from . to /var/cache/awstats and make sure LogFile always defaults to /var/log/apache/access.log (currently the case, but not in 5.0 - who knows if it changes upstream again). Thanks to Atsuhito Kohda , this closes: Bug#165979. -- Jonas Smedegaard Thu, 14 Nov 2002 23:47:14 +0100 awstats (5.1-2) unstable; urgency=medium * Add debian/watch file. * Set urgency=medium (this really shouldn't harm anyone, and I don't want it to delay entering testing). -- Jonas Smedegaard Mon, 4 Nov 2002 19:54:06 +0100 awstats (5.1-1) unstable; urgency=low * New upstream release. -- Jonas Smedegaard Tue, 29 Oct 2002 01:52:02 +0100 awstats (5.0-1) unstable; urgency=low * New upstream release. * debian/README.Debian: Add note from changelog about upgrading older logfiles for speed. * Add a TODO. -- Jonas Smedegaard Sun, 6 Oct 2002 18:03:46 +0200 awstats (4.99.20020922-1) unstable; urgency=low * New upstream (pre)release. * Include and add dependencies for plugins, except the non-functional graph3d plugin. * Enable hashfiles plugin per default. -- Jonas Smedegaard Sun, 22 Sep 2002 14:53:07 +0200 awstats (4.1-1) unstable; urgency=low * New upstream release. * This is the newest stable release (5.0 is work-in-progress). Closes: #156589. -- Jonas Smedegaard Wed, 14 Aug 2002 01:29:49 +0200 awstats (4.0-3) unstable; urgency=low * Add example script provided by Francesco Potorti` (Closes: #153559). * I am giving *hints* of ways to integrate AWStats with a running webserver. There are too many ways to put it together - and I will not write a manual about it, sorry (but thanks for the suggestions!). Closes: #153561. * Remove TODO. Apache2 goes in interesting other ways... -- Jonas Smedegaard Tue, 23 Jul 2002 16:57:40 +0200 awstats (4.0-2) unstable; urgency=low * Add staticpages.sh, suggested by Cyrille Chepelov, as example script. -- Jonas Smedegaard Thu, 4 Jul 2002 00:08:33 +0200 awstats (4.0-1) unstable; urgency=low * Newer upstream version (closes: #133451, #150246). * Include the new common2combined.pl and awstats_buildstaticpages.pl scripts as tools. -- Jonas Smedegaard Wed, 3 Jul 2002 20:54:45 +0200 awstats (3.2-12) unstable; urgency=low * Do a s/OSArrayID/OSSearchIDOrder/g in awstats.pl to make it work with the new operating_systems.pl db (thanks to "Omniflux" ). This closes: #140115. -- Jonas Smedegaard Wed, 27 Mar 2002 14:14:13 +0100 awstats (3.2-11) unstable; urgency=low * Remove /var/cache/awstats on purge. Closes: #139292 (or half of it: The package should not purge configfiles not created by the package. Please reopen the bug if you disagree). * Backport translations (lots of updates and new languages latvian and brasilian portuguese), operating systems (cosmetic change to Amiga) and search engines (czech engines and correction to alltheweb.com). -- Jonas Smedegaard Tue, 26 Mar 2002 00:35:23 +0100 awstats (3.2-10) unstable; urgency=low * Talk about logrotate and not cron.conf in README.Debian (Apache cleaned that up in 1.3.22-6). Thanks to Unit3 for spotting it. -- Jonas Smedegaard Thu, 7 Feb 2002 23:09:40 +0100 awstats (3.2-9) unstable; urgency=low * The "Enough is enough..." release. * Ignore silently if /var/log/apache/access.log is not readable by www-data. * Use only awstats.conf in default cron job (as other configurations typically use separate logfiles and thus cannot be checked as simple as the above). * The above is a response to bugreport by Graeme , and closes: #132781. * Move awstats-update to examples now that it is no longer used (but - after much struggle - works as intended). * Move icon folder from /var/www to /usr/share as suggested by Emmanuel CHANTREAU . This closes: #131957. * Rewrite README.Debian to reflect the current situation. * Add a TODO... * Backport searchengines from 4.0 (add atlas.cz). * Backport languages from 4.0 (updates to br, fr, it and pt). -- Jonas Smedegaard Thu, 7 Feb 2002 21:40:04 +0100 awstats (3.2-8) unstable; urgency=low * Fix typo in awstats-update (Closes: 132656). -- Jonas Smedegaard Thu, 7 Feb 2002 16:58:14 +0100 awstats (3.2-7) unstable; urgency=low * Fix awstats-update again, thanks to Emil Soleyman-Zomalan . -- Jonas Smedegaard Tue, 5 Feb 2002 19:03:25 +0100 awstats (3.2-6) unstable; urgency=low * Rewrite awstats-update again (and make a note on the weird behavior in README.Debian. Closes: 131321). -- Jonas Smedegaard Fri, 1 Feb 2002 01:42:38 +0100 awstats (3.2-5) unstable; urgency=low * Revert awstats.pl path in awstats-update as well (thanks for a quick bugreport from Jens fix-your-bloody-address Bech. Closes: #131394). * I cannot reproduce the problem with recent awstats-update and believe it to be fixed, so closes: #131394. -- Jonas Smedegaard Wed, 30 Jan 2002 03:24:23 +0100 awstats (3.2-4) unstable; urgency=low * Rewrite awstats.conf to avoid (ba)sh-voodoo that might upset non- bash shells (Closes: #130713). * Hack awstats.pl to only use our default folders or those in config file. * Move db/* from cgi-bin to /usr/share/awstats. * Move logresolvemerge.pl out of cgi-bin to /usr/share/doc/awstats/examples (but keep it uncompressed). * Revert to using upstream script location /cgi-bin (no need for a separate folder now that non-executables are moved off of cgi-bin). * Switch to using upstream default for 'ShowFlagLinks'. * Comment out '/YourRelativeUrl' and 'myworkstation' in awstats.pl. -- Jonas Smedegaard Sun, 27 Jan 2002 22:08:05 +0100 awstats (3.2-3) unstable; urgency=low * New maintainer (thanks, Eric :-). Updating maintainer field and maintainer hint in debian/copyright. * Hack awstats.pl to use for tables instead of (Closes: #130449). * Acknowledge my own NMUs (Closes: #126250, 120517). * Recognize Galeon: Add it to browsers.pl and hack awstats.pl to separate it from Netscape (Closes: 130431). -- Jonas Smedegaard Thu, 24 Jan 2002 20:37:26 +0100 awstats (3.2-2.2) unstable; urgency=low * Another NMU (last one wasn't approved by maintainer - crossing my fingers about this one). * Correctly suggests httpd. * We have been at version 3.2 for a couple of builds now (maintainer asked me to close these, so closes: #126250, #120517). * Install only relevant documentation (avoid Windows-specific xml, virtually empty htm and lintian-triggering LICENSE). * README.Debian: Add note about default ownership of logfiles and access from CGI. * README.Debian: Clarify that the note about enabling logging of browsers and referers is apache-specific (AWStats runs with other httpd servers as well). * Install perl helper scripts non-executable (thanks, lintian). -- Jonas Smedegaard Thu, 17 Jan 2002 22:00:06 +0100 awstats (3.2-2.1) unstable; urgency=low * NMU permitted by maintainer (or at least it will be if this package happens to show up in sid). * Build default awstats.conf sed'ing upstream awstats.model.conf (to make sure added options in a new upstream version are included and deprecated ones silently ignored). * Add awstats.model.conf as an example file as well. * Change DirCgi option from "/usr/lib/cgi-bin/awstats/awstats.pl" to "/cgi-bin/awstats" (makes more sense according to documented behaviour). * Correctly install upstream changelog. * Remove practically empty preinst, prerm and postrm debhelper files. * Suggests: apache | httpd. -- Jonas Smedegaard Fri, 11 Jan 2002 01:56:27 +0100 awstats (3.2-2) unstable; urgency=low * I forgot to include cgi-bin/db, sorry (closes: #128113). -- Eric Van Buggenhaut Mon, 7 Jan 2002 20:22:10 +0100 awstats (3.2-1) unstable; urgency=low * New upstream release -- Eric Van Buggenhaut Sat, 5 Jan 2002 17:36:22 +0100 awstats (3.1build23-6) unstable; urgency=low * Included default config in awstats-update (closes: #122518). -- Eric Van Buggenhaut Thu, 6 Dec 2001 23:12:51 +0100 awstats (3.1build23-5) unstable; urgency=high * Corrected awstats-update (closes: #117762). -- Eric Van Buggenhaut Mon, 26 Nov 2001 23:22:31 +0100 awstats (3.1build23-4) unstable; urgency=low * Corrected typo in cronscript (closes: #118412). * Changed Architecture: to all -- Eric Van Buggenhaut Tue, 13 Nov 2001 13:43:00 +0100 awstats (3.1build23-3) unstable; urgency=low * Corrected bad translations in italian and spanish files (closes: #113046) * Use 'install' instead of 'cp' in debian/rules (closes: #115266). Patch * provided by Jonas Smedegaard . * Check for existence of /usr/sbin/awstats-update in cron script (closes: #117057). Patch * provided by Jonas Smedegaard . -- Eric Van Buggenhaut Tue, 30 Oct 2001 00:08:49 +0100 awstats (3.1build23-2) unstable; urgency=low * I (risko gergely) changed the maintainer field to Eric Van Buggenhaut , because he will be the sponsor of a new maintainer, who argued about the maintainership of this package, and we decided, that he will take it over. There are bugs, and it gets counted on bugs.debian.org/risko@debian.org, which is very very bad for me, because it's not my bug, simply the new maintainer can't upload a new version in 2-3 months. Sorry for any bandwidth wasting and inconvinence. Gergely -- RISKO Gergely Thu, 11 Oct 2001 21:34:32 +0200 awstats (3.1build23-1) unstable; urgency=low * new upstream version -- RISKO Gergely Fri, 24 Aug 2001 09:12:11 +0200 awstats (3.1build20-1) unstable; urgency=low * Initial Release. (closes: Bug#90955, Bug#90956) -- RISKO Gergely Tue, 21 Aug 2001 13:17:46 +0200 Local variables: mode: debian-changelog End: debian/awstats.manpages0000644000000000000000000000002112241647665012377 0ustar debian/awstats.1 debian/awstats.postinst0000644000000000000000000000113512241647665012476 0ustar #! /bin/sh set -e case "$1" in configure) if [ ! -d /var/lib/awstats ]; then if [ -d /var/cache/awstats ]; then mv /var/cache/awstats /var/lib/awstats fi mkdir -p /var/lib/awstats chown www-data:www-data /var/lib/awstats chmod 750 /var/lib/awstats fi if [ ! -d /var/cache/awstats ]; then mkdir -p /var/cache/awstats chown www-data:www-data /var/cache/awstats chmod 750 /var/cache/awstats fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac #DEBHELPER# exit 0 debian/awstats.install0000644000000000000000000000145512241647665012266 0ustar debian/default/* etc/default/ debian/awstats.conf* etc/awstats/ docs/*.html usr/share/doc/awstats/html/ docs/*.css usr/share/doc/awstats/html/ docs/images/ usr/share/doc/awstats/html/ docs/scripts/ usr/share/doc/awstats/html/ docs/*.xml usr/share/doc/awstats/html/ wwwroot/cgi-bin/awstats.pl usr/lib/cgi-bin/ wwwroot/cgi-bin/lang/* usr/share/awstats/lang/ wwwroot/cgi-bin/lib/* usr/share/awstats/lib/ wwwroot/cgi-bin/plugins/*.pm usr/share/awstats/plugins/ wwwroot/icon/* usr/share/awstats/icon/ debian/update.sh usr/share/awstats/tools/ tools/logresolvemerge.pl usr/share/awstats/tools/ tools/awstats_buildstaticpages.pl usr/share/awstats/tools/ debian/buildstatic.sh usr/share/awstats/tools/ debian/icons/firefox.png usr/share/awstats/icon/browser/ debian/compat0000644000000000000000000000000212241647665010401 0ustar 9 debian/awstats.docs0000644000000000000000000000001312241647665011535 0ustar README.TXT debian/copyright0000644000000000000000000004620412241647665011144 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: AWStats Upstream-Contact: Laurent Destailleur Source: http://awstats.sourceforge.net/ Files: * Copyright: 2000-2013, Laurent Destailleur License: GPL-3+ Files: wwwroot/icon/mime/* Copyright: Mark James License: CC-BY-3.0 Comment: Many of the icons in this directory were created by Mark James and are licensed under the Creative Commons Attribution 3.0 License . Find more of the Silk 1.3 series at: http://famfamfam.com/lab/icons/silk/ . http://creativecommons.org/licenses/by/3.0/ Files: docs/scripts/* Copyright: 2006,2008-2009, Google Inc. License: Apache-2.0 Files: docs/scripts/lang-apollo.js Copyright: 2009, Onno Hommes License: Apache-2.0 Files: wwwroot/cgi-bin/plugins/export_to_csv.pm Copyright: 2005, Pim Snel License: GPL-1+ Files: debian/* Copyright: 2003-2010, Jonas Smedegaard 2009-2013, Sergey B Kirpichev License: GPL-3+ License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. Comment: On Debian systems the GNU General Public License (GPL) version 3 is located in '/usr/share/common-licenses/GPL-3'. License: GPL-1+ This AWStats plugin is a free software distributed under the GNU General Public License. Comment: On Debian systems a recent version of the GNU General Public License (GPL) version 1 is located in '/usr/share/common-licenses/GPL-1'. License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Comment: On Debian systems the Apache License version 2 is located in '/usr/share/common-licenses/Apache-2.0'. License: CC-BY-3.0 THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. . BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. . 1. Definitions . a. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. . b. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License. . c. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. . d. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. . e. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. . f. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. . g. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. . h. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. . i. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. . 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. . 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: . a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; . b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; . c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, . d. to Distribute and Publicly Perform Adaptations. . e. For the avoidance of doubt: . i. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; . ii. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, . iii. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. . The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. . 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: . a. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested. . b. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. . c. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. . 5. Representations, Warranties and Disclaimer . UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. . 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. . 7. Termination . a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. . b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. . 8. Miscellaneous . a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. . b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. . c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. . d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. . e. This License may not be modified without the mutual written agreement of the Licensor and You. . f. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. debian/rules0000755000000000000000000000200612241647665010261 0ustar #!/usr/bin/make -f DEB_VERSION := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') %: dh $@ override_dh_installchangelogs: dh_installchangelogs docs/awstats_changelog.txt override_dh_auto_install: dh_auto_install dh_install \ wwwroot/classes/awgraphapplet-$(DEB_VERSION).jar \ usr/share/java/awstats/ cp wwwroot/cgi-bin/awstats.model.conf debian/awstats/etc/awstats/awstats.conf override_dh_link: dh_link dh_link \ usr/share/java/awstats/awgraphapplet-$(DEB_VERSION).jar \ usr/share/java/awstats/awgraphapplet.jar override_dh_compress: dh_compress -X.sh -X.pl -X.ico override_dh_fixperms: dh_fixperms chmod +x debian/awstats/usr/share/doc/awstats/examples/*.pl chmod +x debian/awstats/usr/share/doc/awstats/examples/*.sh override_dh_auto_build: dh_auto_build \ --buildsystem=ant \ --sourcedirectory=wwwroot/classes -- \ -Dversion=$(DEB_VERSION) bin-jar override_dh_auto_clean: -dh_auto_clean \ --buildsystem=ant \ --sourcedirectory=wwwroot/classes -- \ -Dversion=$(DEB_VERSION) debian/README.source0000644000000000000000000000102012241647665011353 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . Current upstream tarball can be prepared with uscan. debian/icons/0000755000000000000000000000000012241647665010316 5ustar debian/icons/firefox.png0000644000000000000000000000147012241647665012470 0ustar PNG  IHDRH-bKGDC pHYs  IDAT(-Og|~.FGX6($͖D4֐hx&Sjk5Z5E⡽ЋXP %eu?f}ggy7<(& R]x&ÚF*͗?&˃>'LzN6KOR;B$$nJa[w 4A3?>c1;"x<#AeRzf3SgmNx+c vƺmB*XڻiaXUr~a߁k{x2 7jC֪j +4U7FV?,:BZ&-WJv DntZ4-lNGނ !Eà[kE6C|r*"+r"*pZB:'h^#.G$;>4ӄ_\ Q4 K5B!KnFzo s듏gk 4l EHb 8te gIO\ղx@ *@dI|45N)7on8 4 0:;zËߜYhHoĉWވ" QjM%/N}1ȭٳg>\J}H"=<4P,Zj2X?xw>ZmNwSCljpIENDB`debian/awstats.doc-base0000644000000000000000000000046112241647665012271 0ustar Document: awstats Title: AWStats Documentation Author: Laurent Destailleur Abstract: This manual describes how to install, configure, use and extend the AWStats logfile analyzer. Section: Network/Monitoring Format: HTML Index: /usr/share/doc/awstats/html/index.html Files: /usr/share/doc/awstats/html/* debian/examples/0000755000000000000000000000000012241647665011021 5ustar debian/examples/redostats.sh0000644000000000000000000000155612241647665013374 0ustar #! /bin/bash CONFDIR=/etc/awstats DATADIR=/var/lib/awstats PROGRAM=/usr/lib/cgi-bin/awstats.pl if [ `id -u` != 0 ]; then exit 1 fi set -e cd $DATADIR OLDSTATS=`date -I` if mkdir $OLDSTATS 2> /dev/null; then mv *.txt *.bak $OLDSTATS fi rm -f *.txt *.bak TMPLOG=`mktemp --tmpdir access.log.XXXXXXXX` TMPCRON=$CONFDIR/awstats.cron CRONORIG=/etc/cron.d/awstats CONFORIG=$CONFDIR/conf.orig CONFFILE=$CONFDIR/awstats.conf trap 'rm $TMPLOG; mv -f $CONFORIG $CONFFILE; mv -f $TMPCRON $CRONORIG; /etc/init.d/cron reload' EXIT mv -f $CONFFILE $CONFORIG cat $CONFORIG | sed "\|/var/log/apache2/access.log|s||$TMPLOG|" > $CONFFILE mv -f $CRONORIG $TMPCRON /etc/init.d/cron reload ls -rt /var/log/apache2/access.log* | while read file do zcat -f $file > $TMPLOG echo Processing ${file}... sudo -u www-data $PROGRAM -config=awstats done rm -f $DATADIR/*.bak debian/examples/apache.conf0000644000000000000000000000264112241647665013114 0ustar # This provides worldwide access to everything below the directory # Security concerns: # * Raw log processing data is accessible too for everyone # * The directory is by default writable by the httpd daemon, so if # any PHP, CGI or other script can be tricked into copying or # symlinking stuff here, you have a looking glass into your server, # and if stuff can be uploaded to here, you have a public warez site! Options None AllowOverride None Order allow,deny Allow from all # This provides worldwide access to everything below the directory # Security concerns: none known Options None AllowOverride None Order allow,deny Allow from all # This provides worldwide access to everything below the directory # Security concerns: none known Options FollowSymLinks AllowOverride None Order allow,deny Allow from all # This provides worldwide access to everything in the directory # Security concerns: none known Alias /awstats-icon/ /usr/share/awstats/icon/ # This provides worldwide access to everything in the directory # Security concerns: none known Alias /awstatsclasses/ /usr/share/java/awstats/ # This (hopefully) enables _all_ CGI scripts in the default directory # Security concerns: Are you sure _all_ CGI scripts are safe? ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ debian/awstats.links0000644000000000000000000000211112241647665011726 0ustar usr/share/doc/awstats/changelog.gz usr/share/doc/awstats/html/awstats_changelog.txt.gz usr/lib/cgi-bin/awstats.pl usr/bin/awstats # Link missing image icons to notavailable.png, see #690379: usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/conf.png usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/csv.png usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/document.png usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/dtd.png usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/flv.png usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/fon.png usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/package.png usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/runtime.png usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/swf.png usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/vbs.png usr/share/awstats/icon/mime/notavailable.png usr/share/awstats/icon/mime/xsl.png debian/orig-tar.exclude0000644000000000000000000000004112241647665012275 0ustar wwwroot/icon/browser/firefox.png debian/awstats.10000644000000000000000000000271212241647665010755 0ustar .\" -*- nroff -*- .TH AWSTATS 1 "web server logfile analyzer" .SH NAME awstats \- a free web server logfile analyzer to show you advanced web statistics .SH SYNOPSIS .B awstats \fB-config\fR \fIvirtualhostname\fR .RI [\fB options \fP] .br .SH DESCRIPTION This runs awstats in command line to update statistics (\fB-update\fR option) of a web site, from the log file defined in AWStats config file, or build a HTML report (\fB-output\fR option). First, awstats tries to read awstats.\fIvirtualhostname\fR.conf as the config file. If not found, awstats tries to read awstats.conf, and finally the full path passed to \fB-config\fR option. Config files (awstats.virtualhostname.conf or awstats.conf) must be in /etc/awstats, /usr/local/etc/awstats or /etc. .SH OPTIONS A summary of options is included below. .TP .B \-update to update statistics (default) .TP .B \-output to output main HTML report (no update made except with \fB-update\fR) .TP .B \-h Display usage information. .SH ENVIRONMENT VARIABLES AWStats checks environment variable AWSTATS_FORCE_CONFIG; if defined, AWStats will use it as the "config" value, whatever is the value on command line. .SH SEE ALSO For more complete description of AWStats on the Debian system, look here: /usr/share/doc/awstats/ .SH AUTHOR AWStats was written by Laurent Destailleur . .PP This manual page was written by Sergey B Kirpichev , for the Debian project (but may be used by others). debian/awstats.postrm0000644000000000000000000000045412241647665012142 0ustar #! /bin/sh set -e case "$1" in purge) rm -rf /var/lib/awstats rm -rf /var/cache/awstats ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/update.sh0000755000000000000000000000172112241647665011025 0ustar #!/bin/sh ## ## update.sh, written by Sergey B Kirpichev ## ## Update AWStats data for all configs, awstats.*.conf (Debian specific) ## set -e DEFAULT=/etc/default/awstats AWSTATS=/usr/lib/cgi-bin/awstats.pl ERRFILE=`mktemp --tmpdir awstats.XXXXXXXXXX` trap 'rm -f $ERRFILE' INT QUIT TERM EXIT [ -f $AWSTATS ] || exit 1 # Set defaults. AWSTATS_NICE=10 [ ! -r "$DEFAULT" ] || . "$DEFAULT" # For compatibility: handle empty AWSTATS_ENABLE_CRONTABS as "yes": [ "${AWSTATS_ENABLE_CRONTABS:-yes}" = "yes" ] || exit 0 cd /etc/awstats for c in `/bin/ls -1 awstats.*.conf 2>/dev/null | \ /bin/sed 's/^awstats\.\(.*\)\.conf/\1/'` \ `[ -f /etc/awstats/awstats.conf ] && echo awstats` do if ! nice -n $AWSTATS_NICE $AWSTATS \ -config=$c \ -update >$ERRFILE 2>&1 then echo "Error while processing" \ "/etc/awstats/awstats$(test $c != awstats && echo .$c).conf" >&2 cat $ERRFILE >&2 # an error occurred fi done debian/control0000644000000000000000000000216412241647665010611 0ustar Source: awstats Section: web Priority: optional Maintainer: Sergey B Kirpichev Build-Depends: debhelper (>= 9), ant, default-jdk, sharutils Vcs-Git: git://anonscm.debian.org/collab-maint/awstats.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/awstats.git;a=summary Standards-Version: 3.9.4 Homepage: http://awstats.sourceforge.net/ Package: awstats Architecture: all Depends: ${perl:Depends}, ${misc:Depends} Recommends: libnet-xwhois-perl, coreutils (>= 7.4) Suggests: apache2 | httpd, libnet-dns-perl, libnet-ip-perl, libgeo-ipfree-perl, liburi-perl Description: powerful and featureful web server log analyzer Advanced Web Statistics (AWStats) is a powerful web server logfile analyzer written in perl that shows you all your web statistics including visits, unique visitors, pages, hits, rush hours, search engines, keywords used to find your site, robots, broken links and more. Gives more detailed information and better graphical charts than webalizer, and is easier to use. Works with several web server log format as a CGI and/or from command line. Supports more than 30 languages. debian/README.Debian0000644000000000000000000001427312241647665011253 0ustar awstats for Debian ================== Quick'n'dirty setup ------------------- Do the following for a simple setup of a single website with Apache: * Edit /etc/logrotate.d/apache2 to permit www-data access to logfiles * Copy /usr/share/doc/awstats/examples/apache.conf to /etc/apache2/conf.d/awstats.conf * Restrict access to Location /cgi-bin/awstats.pl with password-based authentication or via host access control. Please read "Authentication, Authorization and Access Control" HOWTO on the Apache docs website http://httpd.apache.org/docs/ to see available opportunities. Optionaly edit /etc/default/awstats to disable nightly build of static html reports (placed in /var/cache/awstats/). The above is _NOT_ supported or recommended! Please read the rest of this document instead... No stats are generated due to logfile permissions ------------------------------------------------- As AWStats is used both as a CGI-script and offline, it is by default run as uid=www-data in cron jobs so that generated files are accessible from CGI as well. By default Apache stores (since version 1.3.22-1) logfiles with uid=root and gid=adm, so you need to either... 1) Change the rights of the logfiles so that www-data has at least read access. For example: * change line in /etc/logrotate.d/apache2 to: "create 644 root adm" * change permissions of existing files: chmod 644 /var/log/apache2/*.log 2) As 1) but change to a specific user, and use the suEXEC feature of Apache to run as same user (and either change the right of /var/lib/awstats as well or use another directory). This is more complicated, but then the logs are not generally accessible to the server (which was probably the point of the Apache default). 3) Change awstats.pl to group adm (but beware that you are then taking the risk of allowing a CGI-script access to admin stuff on the machine!). With other webservers than Apache several things should probably be changed, like location and format of logfiles. A few minutes is lost each day/week/month ----------------------------------------- By default AWStats scans logfiles each 10 minutes. When Apache (and other webservers) rotate their logfiles, the last entries in the old logfile may not have been read by AWStats. Make sure to run AWStats right _before_ web logs are rotated. For example, insert the following lines in /etc/logrotate.d/apache2: prerotate if [ -x /usr/share/awstats/tools/update.sh ]; then su -l -c /usr/share/awstats/tools/update.sh www-data fi endscript Also consider enabling lock files in /etc/awstats/awstats.conf with EnableLockForUpdate=1 so that only one AWStats update process is running at a time. This will reduce system resources especially if the AWStats update process takes longer than 10 minutes to complete. This solution has some security drawbacks: lockfile with well-known name and writable by www-data user. The icons are missing --------------------- You should redirect requests for /awstats-icon/ to /usr/share/awstats/icon/. In Apache, this is done by adding the following to /etc/apache2/httpd.conf: Alias /awstats-icon/ /usr/share/awstats/icon/ For other webservers you should either do something similar, or make a symlink from /var/www/awstats-icon to /usr/share/awstats/icon/. Multiple stats -------------- To handle multiple stats (eg. using VirtualHosts in Apache) you should... 1) Place all additional configs in /etc/awstats/. 2) Name the new configs "awstats." + whatever you want + ".conf" (eg. "awstats.example.com.conf"). But avoid "awstats.awstats.conf". To retain use of a common config file containing defaults for all of your sites, consider a scheme such as the following: Make a bunch of awstats.[site_name_here].conf files, and have the first line include the parent awstats.conf file (which by default also includes awstats.conf.local). The remainder of the file should have your site-specific configuration settings, which override the defaults specified in awstats.conf and awstats.conf.local. Here is an example of an awstats.example.com.conf file (of course, tailor the file for your own configuration): Include "/etc/awstats/awstats.conf" SiteDomain="example.com" HostAliases="example.com www.example.com" DirData="/var/lib/awstats/example.com" LogFile="/var/log/apache2/example.com_access_log" This way you can leave awstats.conf alone, and put your server-specific settings into awstats.conf.local, and your site-specific settings into each awstats.[site_name_here].conf file. Note, that awstats package cannot safely handle upgrades to locally added config files -- if config options change then the main file is updated (with warnings if edited locally) but extra config files are silently ignored and possibly broken. 3) Default awstats crontabs in /etc/cron.d/awstats can handle generation of the raw statistics data and html reports for above config layout. But you can comment out defaults and edit /etc/cron.d/awstats for each site. Possibly add lines like this: 20 2 * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl ] && \ /usr/lib/cgi-bin/awstats.pl -config=example.com -update >/dev/null Browser and referer stats are missing ------------------------------------- Check, if the logfile has needed info about browser types and referer. It is recommended to use "combined" logfiles format (Apache in Debian uses one by default). Where is configure.pl? ---------------------- AWStats configure.pl script is not available as a CGI script on Debian. Instead, it is located as awstats_configure.pl in /usr/share/doc/awstats/examples/. Cannot run configs outside of /etc/awstats/ ------------------------------------------- You can. Please, use -configdir parameter for awstats.pl like this: /usr/lib/cgi-bin/awstats.pl -configdir=/home/user/ \ -config=example.com \ ... If awstats.pl is used as CGI script, overwriting of configdir with a value that differs from a default value is only possible if the environment variable AWSTATS_ENABLE_CONFIG_DIR is defined. debian/patches/0000755000000000000000000000000012241647665010632 5ustar debian/patches/1013_yahoo_search.patch0000644000000000000000000000107312241647665014764 0ustar Description: Fix wrong search engine logging from yahoo sites. Author: Bug-Debian: http://bugs.debian.org/347426 --- wwwroot/cgi-bin/lib/search_engines.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/wwwroot/cgi-bin/lib/search_engines.pm +++ b/wwwroot/cgi-bin/lib/search_engines.pm @@ -437,7 +437,7 @@ 'google\.'=>'translate\.google\.', 'msn\.'=>'hotmail\.msn\.', 'tiscali\.'=>'mail\.tiscali\.', -'yahoo\.'=>'mail\.yahoo\.', +'yahoo\.'=>'(?:picks|mail)\.yahoo\.|yahoo\.[^/]+/picks', 'yandex\.'=>'direct\.yandex\.' ); debian/patches/1008_extrasections_with_top.patch0000644000000000000000000000240612241647665017135 0ustar Description: Include the words (Top XXX) in the ExtraSection headings. Author: Patrick Collins Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1844793&group_id=13764&atid=313764 --- wwwroot/cgi-bin/awstats.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -11651,7 +11651,7 @@ if ($Debug) { debug( "ExtraName$extranum", 2 ); } print "$Center 
"; my $title = $ExtraName[$extranum]; - &tab_head( "$title", 19, 0, "extra$extranum" ); + &tab_head( "$title ($Message[77] $MaxNbOfExtra[$extranum])", 19, 0, "extra$extranum"); print ""; print "" . $ExtraFirstColumnTitle[$extranum] . ""; @@ -16687,7 +16687,7 @@ if ($Debug) { debug( "ExtraName$extranum", 2 ); } print "$Center 
"; my $title = $ExtraName[$extranum]; - &tab_head( "$title", 19, 0, "extra$extranum" ); + &tab_head( "$title ($Message[77] $MaxNbOfExtra[$extranum])", 19, 0, "extra$extranum"); print ""; print "" . $ExtraFirstColumnTitle[$extranum]; print "  -   Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3199735&group_id=13764&atid=113764 --- wwwroot/cgi-bin/lang/awstats-ru.txt | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) --- a/wwwroot/cgi-bin/lang/awstats-ru.txt +++ b/wwwroot/cgi-bin/lang/awstats-ru.txt @@ -1,5 +1,5 @@ # Russian message file -# $Revision: 1.15 $ - $Date: 2009/10/25 11:12:35 $ +# $Revision$ - $Date$ PageCode=utf-8 message0=Неизвестный message1=Неизвестный @@ -61,18 +61,18 @@ message57=Хиты message58=Версии message59=Операционные системы -message60=Январь -message61=Февраль -message62=Март -message63=Апрель +message60=Янв +message61=Фев +message62=Мар +message63=Апр message64=Май -message65=Июнь -message66=Июль -message67=Август -message68=Сентябрь -message69=Октябрь -message70=Ноябрь -message71=Декабрь +message65=Июн +message66=Июл +message67=Авг +message68=Сен +message69=Окт +message70=Ноя +message71=Дек message72=Навигация message73=Тип файла message74=Обновить сейчас @@ -85,13 +85,13 @@ message81=Хосты message82=Известные message83=Роботы -message84=Воскресенье -message85=Понедельник -message86=Вторник -message87=Среда -message88=Четверг -message89=Пятница -message90=Суббота +message84=Вск +message85=Пнд +message86=Втр +message87=Срд +message88=Чтв +message89=Птн +message90=Сбт message91=День недели message92=Кто message93=Когда @@ -103,7 +103,7 @@ message99=Сохраненная величина message100=Компрессия включена message101=Результат компрессии -message102=Total +message102=Всего message103=Различные ключевые фразы message104=Вхождение message105=Код debian/patches/1019_allow_frame_resize.patch0000644000000000000000000000170112241647665016175 0ustar Description: Allow resize of mainleft/right frames. Author: Sergey B Kirpichev Debian-Bug: http://bugs.debian.org/293218 --- wwwroot/cgi-bin/awstats.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -17575,10 +17575,10 @@ print "\n"; print "\n"; + . "\" frameborder=\"0\" />\n"; print "\n"; + . "\" scrolling=\"yes\" frameborder=\"0\" />\n"; print "<body>"; print "Your browser does not support frames.<br />\n"; print "You must set AWStats UseFramesWhenCGI parameter to 0\n"; ���������������������������������������������������������������debian/patches/2003_awstats.conf.patch��������������������������������������������������������������0000644�0000000�0000000�00000010327�12241647665�014734� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Author: Sergey B Kirpichev <skirpichev@gmail.com> Description: Debian-specific awstats config Forwarded: not-needed --- wwwroot/cgi-bin/awstats.model.conf | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) --- a/wwwroot/cgi-bin/awstats.model.conf +++ b/wwwroot/cgi-bin/awstats.model.conf @@ -48,7 +48,7 @@ # If there are several log files from load balancing servers : # Example: "/pathtotools/logresolvemerge.pl *.log |" # -LogFile="/var/log/httpd/mylog.log" +LogFile="/var/log/apache2/access.log" # Enter the log file type you want to analyze. @@ -120,7 +120,7 @@ # Example for IIS: # LogFormat = 2 # -LogFormat=1 +LogFormat=4 # If your log field's separator is not a space, you can change this parameter. @@ -166,7 +166,7 @@ # Note: You can also use @/mypath/myfile if list of aliases are in a file. # Example: "www.myserver.com localhost 127.0.0.1 REGEX[mydomain\.(net|org)$]" # -HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]" +HostAliases="localhost 127.0.0.1" # If you want to have hosts reported by name instead of ip address, AWStats @@ -186,7 +186,7 @@ # 2 - DNS Lookup is made only from static DNS cache file (if it exists) # Default: 2 # -DNSLookup=2 +DNSLookup=1 # When AWStats updates its statistics, it stores results of its analysis in @@ -201,7 +201,7 @@ # Example: "C:/awstats_data_dir" # Default: "." (means same directory as awstats.pl) # -DirData="." +DirData="/var/lib/awstats" # Relative or absolute web URL of your awstats cgi-bin directory. @@ -220,7 +220,7 @@ # Example: "../icon" # Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon") # -DirIcons="/icon" +DirIcons="/awstats-icon" # When this parameter is set to 1, AWStats adds a button on report page to @@ -917,7 +917,7 @@ # Example: "/usr/share/awstats/lang" # Default: "./lang" (means lang directory is in same location than awstats.pl) # -DirLang="./lang" +DirLang="/usr/share/awstats/lang" # Show menu header with reports' links @@ -1313,7 +1313,7 @@ # DESCRIPTION: AWStats DNS cache files are read/saved as native hash files. # This increases DNS cache files loading speed, above all for very large web sites. # -#LoadPlugin="hashfiles" +LoadPlugin="hashfiles" # PLUGIN: UserInfo @@ -1426,7 +1426,7 @@ # table with country name # Replace spaces in the path of geoip data file with string "%20". # -#LoadPlugin="geoip GEOIP_STANDARD /pathto/GeoIP.dat" +#LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat" # PLUGIN: GeoIP_City_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) @@ -1435,7 +1435,7 @@ # and hits by city including regions. # Replace spaces in the path of geoip data file with string "%20". # -#LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /pathto/GeoIPCity.dat" +#LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPCity.dat" # PLUGIN: GeoIP_ASN_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) @@ -1455,7 +1455,7 @@ # Canada can be detected. # Replace spaces in the path of geoip data file with string "%20". # -#LoadPlugin="geoip_region_maxmind GEOIP_STANDARD /pathto/GeoIPRegion.dat" +#LoadPlugin="geoip_region_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPRegion.dat" # PLUGIN: GeoIP_ISP_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) @@ -1463,7 +1463,7 @@ # DESCRIPTION: This plugin adds a chart of hits by ISP. # Replace spaces in the path of geoip data file with string "%20". # -#LoadPlugin="geoip_isp_maxmind GEOIP_STANDARD /pathto/GeoIPISP.dat" +#LoadPlugin="geoip_isp_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPISP.dat" # PLUGIN: GeoIP_Org_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) @@ -1471,7 +1471,7 @@ # DESCRIPTION: This plugin add a chart of hits by Organization name # Replace spaces in the path of geoip data file with string "%20". # -#LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /pathto/GeoIPOrg.dat" +#LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPOrg.dat" #----------------------------------------------------------------------------- @@ -1554,5 +1554,5 @@ # parameters that are lists of values. # -#Include "" +Include "/etc/awstats/awstats.conf.local" ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/2001_awstatsprog_path.patch����������������������������������������������������������0000644�0000000�0000000�00000001224�12241647665�015706� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Modify default path to awstats.pl in tools/. Author: Sergey B Kirpichev <skirpichev@gmail.com> --- tools/awstats_buildstaticpages.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/tools/awstats_buildstaticpages.pl +++ b/tools/awstats_buildstaticpages.pl @@ -308,8 +308,8 @@ # Check if AWSTATS prog is found my $AwstatsFound=0; if (-s "$Awstats") { $AwstatsFound=1; } -elsif (-s "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl") { - $Awstats="/usr/local/awstats/wwwroot/cgi-bin/awstats.pl"; +elsif (-s "/usr/lib/cgi-bin/awstats.pl") { + $Awstats="/usr/lib/cgi-bin/awstats.pl"; $AwstatsFound=1; } if (! $AwstatsFound) { ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/1020_LogFile_usage_docs.patch��������������������������������������������������������0000644�0000000�0000000�00000002504�12241647665�016033� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Document pipe's usage in LogFile directive. Author: Sergey B Kirpichev <skirpichev@gmail.com> Bug-Debian: http://bugs.debian.org/435028 --- docs/awstats_config.html | 2 +- wwwroot/cgi-bin/awstats.model.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/docs/awstats_config.html +++ b/docs/awstats_config.html @@ -274,7 +274,7 @@ <br># Example: "/var/log/access_log.%YYYY-0%MM-0%DD-0.log" <br># Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex%YY-24%MM-24%DD-24.log" <br># You can also use a pipe if log file come from a pipe. -<br># Example: "gzip -d &lt;/var/log/apache/access.log.gz |" +<br># Example: "gzip -cd /var/log/apache/access.log.gz |" <br># If there is several log files from load balancing servers : <br># Example: "/pathtotools/logresolvemerge.pl *.log |" <br># --- a/wwwroot/cgi-bin/awstats.model.conf +++ b/wwwroot/cgi-bin/awstats.model.conf @@ -44,7 +44,7 @@ # Example: "/var/log/access_log.%YYYY-0%MM-0%DD-0.log" # Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex%YY-24%MM-24%DD-24.log" # You can also use a pipe if log file come from a pipe : -# Example: "gzip -d </var/log/apache/access.log.gz |" +# Example: "gzip -cd /var/log/apache/access.log.gz |" # If there are several log files from load balancing servers : # Example: "/pathtotools/logresolvemerge.pl *.log |" # ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/2004_build.xml.patch�����������������������������������������������������������������0000644�0000000�0000000�00000002420�12241647665�014214� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Ant config Author: Jonas Smedegaard <dr@jones.dk> --- wwwroot/classes/build.xml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) --- /dev/null +++ b/wwwroot/classes/build.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project name="awgraphapplet" basedir="." default="build"> + + <target name="init"> + <property name="name" value="awgraphapplet"/> + <property name="version" value="0"/> + <property name="target.dir" value="."/> + <property name="debug" value="true"/> + </target> + + <target name="all" depends="build,bin-jar"/> + + <target name="dist" depends="clean,all" description="builds a distribution"/> + + <target name="build" depends="compile" description="build binaries"/> + + <target name="compile"> + <javac srcdir="src" debug="${debug}" source="1.5" target="1.5"/> + </target> + + <target name="clean" depends="init" description="clean up"> + <delete> + <fileset dir="src" includes="*.class"/> + </delete> + <delete dir="${name}${version}"/> + </target> + + <target name="bin-jar" depends="init,build" description="package binaries"> + <jar jarfile="${target.dir}/${name}-${version}.jar"> + <fileset dir="src" includes="*.class"/> + </jar> + </target> + +</project> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/1010_dirdata_permissions.patch�������������������������������������������������������0000644�0000000�0000000�00000001261�12241647665�016357� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Set $DirData permissions to 0755. Author: Charles Fry <debian@frogcircus.org> Bug-Debian: http://bugs.debian.org/299148 --- wwwroot/cgi-bin/awstats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -2993,7 +2993,7 @@ if ( !$MigrateStats && !-d $DirData ) { if ($CreateDirDataIfNotExists) { if ($Debug) { debug( " Make directory $DirData", 2 ); } - my $mkdirok = mkdir "$DirData", 0766; + my $mkdirok = mkdir "$DirData", 0755; if ( !$mkdirok ) { error( "$PROG failed to create directory DirData (DirData=\"$DirData\", CreateDirDataIfNotExists=$CreateDirDataIfNotExists)." �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/2002_nboflastupdatelookuptosave.patch������������������������������������������������0000644�0000000�0000000�00000001662�12241647665�020012� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Author: Sergey B Kirpichev <skirpichev@gmail.com> Description: Allow change $NBOFLASTUPDATELOOKUPTOSAVE via CGI/CLI arguments. Bug-Debian: http://bugs.debian.org/600225 --- wwwroot/cgi-bin/awstats.pl | 2 ++ 1 file changed, 2 insertions(+) --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -16926,6 +16926,7 @@ 'showsteps', 'showdropped', 'showcorrupted', 'showunknownorigin', 'showdirectorigin', 'limitflush', + 'nboflastupdatelookuptosave', 'confdir', 'updatefor', 'hostfilter', 'hostfilterex', 'urlfilter', 'urlfilterex', @@ -17141,6 +17142,7 @@ foreach ( split( /,/, $2 ) ) { $NoLoadPlugin{ &Sanitize( "$_", 1 ) } = 1; } } if ( $QueryString =~ /(^|&|&amp;)limitflush=(\d+)/i ) { $LIMITFLUSH = $2; } +if ( $QueryString =~ /(^|&|&amp;)nboflastupdatelookuptosave=(\d+)/i ) { $NBOFLASTUPDATELOOKUPTOSAVE = $2; } # Get/Define output if ( $QueryString =~ ������������������������������������������������������������������������������debian/patches/README�������������������������������������������������������������������������������0000644�0000000�0000000�00000000736�12241647665�011520� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. The point the the numbered patch naming scheme is for patches targeted for upstream adoption to not be "infected" by already-upstream or local-only changes. The series file can be (re)created with the following command from within the patches dir (and manually commenting out any disabled patches afterwards): ls -1 0* 1* 2* > series ����������������������������������debian/patches/1003_redirect_to_STDERR.patch��������������������������������������������������������0000644�0000000�0000000�00000004744�12241647665�015715� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Redirect errors of offline scripts to STDERR. Author: Charles Fry <debian@frogcircus.org> Bug-Debian: http://bugs.debian.org/296435 --- tools/awstats_buildstaticpages.pl | 4 ++-- tools/awstats_configure.pl | 2 +- tools/awstats_exportlib.pl | 4 ++-- tools/awstats_updateall.pl | 2 +- tools/logresolvemerge.pl | 4 ++-- tools/maillogconvert.pl | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) --- a/tools/awstats_buildstaticpages.pl +++ b/tools/awstats_buildstaticpages.pl @@ -80,7 +80,7 @@ # Return: None #------------------------------------------------------------------------------ sub error { - print "Error: $_[0].\n"; + print STDERR "Error: $_[0].\n"; exit 1; } @@ -100,7 +100,7 @@ # print "$messagestring<br />\n"; # } # else { - print "$messagestring\n"; + print STDERR "$messagestring\n"; # } # } } --- a/tools/awstats_configure.pl +++ b/tools/awstats_configure.pl @@ -88,7 +88,7 @@ # error #------------------------------------------------------- sub error { - print "Error: $_[0].\n"; + print STDERR "Error: $_[0].\n"; exit 1; } --- a/tools/awstats_exportlib.pl +++ b/tools/awstats_exportlib.pl @@ -93,8 +93,8 @@ my $thirdmessage=shift||""; my $donotshowsetupinfo=shift||0; if ($Debug) { debug("$message $secondmessage $thirdmessage",1); } - print "$message"; - print "\n"; + print STDERR "$message"; + print STDERR "\n"; exit 1; } --- a/tools/awstats_updateall.pl +++ b/tools/awstats_updateall.pl @@ -37,7 +37,7 @@ # Return: None #------------------------------------------------------------------------------ sub error { - print "Error: $_[0].\n"; + print STDERR "Error: $_[0].\n"; exit 1; } --- a/tools/logresolvemerge.pl +++ b/tools/logresolvemerge.pl @@ -131,7 +131,7 @@ # Return: None #------------------------------------------------------------------------------ sub error { - print "Error: $_[0].\n"; + print STDERR "Error: $_[0].\n"; exit 1; } @@ -160,7 +160,7 @@ sub warning { my $messagestring=shift; if ($Debug) { debug("$messagestring",1); } - print "$messagestring\n"; + print STDERR "$messagestring\n"; } #----------------------------------------------------------------------------- --- a/tools/maillogconvert.pl +++ b/tools/maillogconvert.pl @@ -56,7 +56,7 @@ #------------------------------------------------------- sub error { - print "Error: $_[0].\n"; + print STDERR "Error: $_[0].\n"; exit 1; } ����������������������������debian/patches/1012_ipv6_strip_trailing_dot.patch���������������������������������������������������0000644�0000000�0000000�00000001102�12241647665�017154� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Strip the trailing dot when making a reverse on IPv6 addresses. Author: Laurent Bigonville <bigon@debian.org> Bug-Debian: http://bugs.debian.org/397544 --- wwwroot/cgi-bin/plugins/ipv6.pm | 1 + 1 file changed, 1 insertion(+) --- a/wwwroot/cgi-bin/plugins/ipv6.pm +++ b/wwwroot/cgi-bin/plugins/ipv6.pm @@ -64,6 +64,7 @@ my $query = $resolver->query($reverseip, "PTR"); if (! defined($query)) { return; } my @result=split(/\s/, ($query->answer)[0]->string); + chop($result[4]); # Remove the trailing dot of the answer. return $result[4]; # -----> } ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/series�������������������������������������������������������������������������������0000644�0000000�0000000�00000000615�12241647665�012051� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������0007_russian_lang.patch 1003_redirect_to_STDERR.patch 1004_perl_version.patch 1008_extrasections_with_top.patch 1010_dirdata_permissions.patch 1012_ipv6_strip_trailing_dot.patch 1013_yahoo_search.patch 1014_websec_robot.patch 1019_allow_frame_resize.patch 1020_LogFile_usage_docs.patch 2001_awstatsprog_path.patch 2002_nboflastupdatelookuptosave.patch 2003_awstats.conf.patch 2004_build.xml.patch �������������������������������������������������������������������������������������������������������������������debian/patches/1014_websec_robot.patch��������������������������������������������������������������0000644�0000000�0000000�00000001646�12241647665�015004� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Add WebSec to robots list. Author: Sergey B Kirpichev <skirpichev@gmail.com> Bug-Debian: http://bugs.debian.org/284149 --- wwwroot/cgi-bin/lib/browsers.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/wwwroot/cgi-bin/lib/browsers.pm +++ b/wwwroot/cgi-bin/lib/browsers.pm @@ -255,7 +255,8 @@ 'POE\-Component\-Client\-HTTP', 'mozilla', # Must be at end because a lot of browsers contains mozilla in string 'libwww', # Must be at end because some browser have both 'browser id' and 'libwww' -'lwp' +'lwp', +'WebSec' ); # BrowsersHashIDLib @@ -483,7 +484,8 @@ 'POE\-Component\-Client\-HTTP','HTTP user-agent for POE (portable networking framework for Perl)', 'mozilla','Mozilla', 'libwww','LibWWW', -'lwp','LibWWW-perl' +'lwp','LibWWW-perl', +'WebSec', '<a href="http://baruch.ev-en.org/proj/websec/" title="Browser home page [new window]" target="_blank">Web Secretary</a>' ); ������������������������������������������������������������������������������������������debian/patches/1004_perl_version.patch��������������������������������������������������������������0000644�0000000�0000000�00000002047�12241647665�015031� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Description: Disable nested includes warnings for Perl < 5.6. Author: Nick Leverton <nick@leverton.org> Bug-Debian: http://bugs.debian.org/432096 Bug-Debian: http://bugs.debian.org/440035 Bug-Debian: http://bugs.debian.org/519319 --- tools/awstats_buildstaticpages.pl | 2 +- wwwroot/cgi-bin/awstats.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -1867,7 +1867,7 @@ $includeFile = "$1$includeFile"; } } - if ( $level > 1 ) { + if ( $level > 1 && $^V lt v5.6.0 ) { warning( "Warning: Perl versions before 5.6 cannot handle nested includes" ); --- a/tools/awstats_buildstaticpages.pl +++ b/tools/awstats_buildstaticpages.pl @@ -192,7 +192,7 @@ # Correct relative include files if ($FileConfig =~ /^(.*[\\\/])[^\\\/]*$/) { $includeFile = "$1$includeFile"; } } - if ($level > 1) { + if ( $level > 1 && $^V lt v5.6.0 ) { warning("Warning: Perl versions before 5.6 cannot handle nested includes"); next; } �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������