--- awstats-6.9~dfsg.orig/debian/README.cdbs-tweaks +++ awstats-6.9~dfsg/debian/README.cdbs-tweaks @@ -0,0 +1,128 @@ +CDBS tweak +========== + +CDBS is great. In some corner cases, however, some parts of CDBS +sometimes needs a few tweaks to work optimally. + +This is a collection of such tweaks. The goal is for these tweaks to be +absorbed into upstream CDBS. We just haven't found time yet to discuss +them at the CDBS developers' mailinglist. And possible we do not all +agree that the tweaks are so great - therefore this "staging area". + +If you found this file below debian/ subdir in a source package, most +probably only a subset of the below mentioned tweaks are relevant and +have been shipped with the package. The repository of all these tweaks +is here: svn://svn.debian.org/build-common/people/js/overlay/ + +Web access: http://svn.debian.org/wsvn/build-common/people/js/overlay/ + + + +New buildinfo rule +------------------ + +See package description for "buildinfo" for more info. + + + +Improved support for multiple compilations +------------------------------------------ + +Create and clean builddir _after_ resolving per-package DEB_BUILDDIR. + +Honour per-package DEB_BUILDDIR in makefile and autotools classes. + +Support multiple build flavors in makefile and autotools classes. + + + +Various improvements to python-distutils class +---------------------------------------------- + +Use full path to Python interpreter (Python Policy section 1.3.2). + +Add CDBS_BUILD_DEPENDS to old policy method. + +Fix CDBS_BUILD_DEPENDS in new policy methods to only depend on debhelper +when actually used. + +Fix DEB_PYTHON_SIMPLE_PACKAGES sometimes installed twice (and only one +of them honouring DEB_PYTHON_COMPILE_VERSION). + +Unify install path using new DEB_PYTHON_DESTDIR. + +Quote install path. + + + +New python-autotools class +-------------------------- + +Handle autotools-based Python packaging. + + + +New python-sugar class +---------------------- + +Handle packaging of Sugar activities. + + + +New perl-build class +-------------------- + +Handle Perl modules using Module::Build. + + + +New copyright-check rule +------------------------ + +Refuse to build if the source is found to contain different copyright +info than earlier builds. + + + +New kernelpatches rule +---------------------- + +Small wrapper around dh-kpatches, taking care of build-dependencies too. + + + +New package-relations rule +-------------------------- + +Improved build-dependency handling (merging multiple dependencies on +same packages), and add dependency handling for binary packages (to ease +maintaining identical build-dependencies and dependencies for eg. Perl +modules meeding runtime stuff for buildtime tests). + + + +New routines for handling upstream tarball +------------------------------------------ + +Rules and variables to help downloading, validating and repackaging +upstream tarball. + +Implements the rules print-version and get-orig-source commonly used +for group-maintained packages with Debian-specific patches maintained in +SVN or some other VCS, and automated fetching virgin upstream tarball +(possibly massaged after download e.g. to strip non-DFSG material). + + + +Support for custom BTS info +--------------------------- + +Include BTS control info found in debian/*.bts files, or alternatively +redirect bug reports to the email address defined in DEB_BTS_EMAIL. + + + +New dict class +-------------- + +Rules for packaging ispell, aspell, myspell and wordlist dictionaries. --- awstats-6.9~dfsg.orig/debian/TODO.Debian +++ awstats-6.9~dfsg/debian/TODO.Debian @@ -0,0 +1,3 @@ + * Package relevant extra modules + * Get rid of the last uses of $DIR in main script + * Switch to only do static pages per default --- awstats-6.9~dfsg.orig/debian/awstats.postinst +++ awstats-6.9~dfsg/debian/awstats.postinst @@ -0,0 +1,29 @@ +#! /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 + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +#DEBHELPER# + +exit 0 --- awstats-6.9~dfsg.orig/debian/awstats.install +++ awstats-6.9~dfsg/debian/awstats.install @@ -0,0 +1,9 @@ +debian/awstats.conf* etc/awstats/ +docs/* 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/icons/firefox.png usr/share/awstats/icon/browser/ --- awstats-6.9~dfsg.orig/debian/README.Debian +++ awstats-6.9~dfsg/debian/README.Debian @@ -0,0 +1,98 @@ +awstats for Debian +================== + +Quick'n'dirty setup +------------------- + +Do the following for a simple setup of a single website with Apache 1.3.x: + + * Edit /etc/logrotate.d/apache to permit www-data access to logfiles + * copy /usr/share/doc/awstats/examples/apache.conf to /etc/apache/conf.d/ + +The above is _NOT_ supported or recommended! Please read the rest of this +document instead... + + +No stats are generated +---------------------- + +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 in /etc/logrotate.d/apache so that + www-data has at least read access. + + 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 (add a "prerotate" +in /etc/logrotate.d/apache for Apache). + + +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/apache/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 configs in /etc/awstats. + + 2) Name the configs "awstats." + whatever you want - ".conf" (eg. + awstats.www.debian.org.conf"). But avoid "awstats.awstats.conf. + + 3) Run awstats.pl with each config one by one (have a look at the scripts + awstats-update and awstats_updateall.pl in + /usr/share/doc/awstats/examples). + + +Browser and referer stats are missing +------------------------------------- + +Apache uses CLF (Common Log Format) by default, which doesn't include info +about browser types and referer. + +It is recommended to use "combined" logfiles instead (remember to change +awstats.conf accordingly). + + +Where is configure.pl? +---------------------- + +The main script may tell you to use /usr/lib/cgi-bin/tools/configure.pl. +That script, however, is not available as a CGI script on Debian. +Instead, it is located at /usr/share/doc/awstats/examples/awstats_configure.pl. + + + -- Jonas Smedegaard Fri, 8 Oct 2004 12:28:31 +0200 --- awstats-6.9~dfsg.orig/debian/rules +++ awstats-6.9~dfsg/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2003-2009 Jonas Smedegaard +# Description: Main Debian packaging script for AWStats +# +# 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 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +# NB! Local CDBS tweaks in use. More info in README.cdbs-tweaks +ifneq (,$(DEB_MAINTAINER_MODE)) + # Enable stuff not policy compliant (eg. unsuitable for build daemons) + DEB_COPYRIGHT_CHECK_STRICT = yes + DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes +endif +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include debian/cdbs/1/rules/buildinfo.mk +include debian/cdbs/1/rules/copyright-check.mk +include debian/cdbs/1/rules/upstream-tarball.mk + +DEB_UPSTREAM_URL = http://prdownloads.sourceforge.net/awstats +DEB_UPSTREAM_TARBALL_MD5 = fc19dbb8449eccf3300efb30ca3376cb + +DEB_UPSTREAM_REPACKAGE_EXCLUDE = wwwroot/icon/browser/firefox.png + +DEB_INSTALL_CHANGELOGS_ALL = docs/awstats_changelog.txt +DEB_INSTALL_DOCS_ALL = README.TXT + +awstats_example_scripts = $(wildcard tools/*.pl) $(wildcard debian/examples/*.sh) debian/examples/awstats-update + +DEB_INSTALL_EXAMPLES_awstats = $(awstats_example_scripts) debian/examples/apache.conf debian/examples/awstats-update.8 wwwroot/cgi-bin/awstats.model.conf wwwroot/cgi-bin/plugins/example/* wwwroot/css wwwroot/js tools/xslt +DEB_COMPRESS_EXCLUDE = $(notdir $(awstats_example_scripts)) awstats.ico + +pre-build:: + (cd debian/icons && uudecode firefox.png.uu) + +common-configure-indep:: + # Use perl rather than a diff here, to make sure all relevant + # options are checked (upstream defaults have moved around in + # the past) +# Perl in shell in make requires extra care: +# * Single-quoting ('...') protects against shell expansion +# * Double-dollar ($$) expands to plain dollar ($) in make + perl -wpe \ + 's,^(LogFile\s*=\s*).*,$$1"/var/log/apache2/access.log",;'\ + 's,^(DirData\s*=\s*).*,$$1"/var/lib/awstats",;'\ + 's,^(LogFormat\s*=\s*).*,$${1}4,;'\ + 's,^(DNSLookup\s*=\s*).*,$${1}1,;'\ + 's,^(DirIcons\s*=\s*).*,$$1"/awstats-icon",;'\ + 's,^(HostAliases\s*=\s*).*,$$1"localhost 127.0.0.1",;'\ + 's,^(DirLang\s*=\s*).*,$$1"/usr/share/awstats/lang",;'\ + 's,^#(LoadPlugin\s*=\s*"hashfiles"),$$1,;'\ + 's,^#(Include\s*)"",$$1"/etc/awstats/awstats.conf.local",;'\ + 's,^(#LoadPlugin\s*=\s*"geoip\s*GEOIP_STANDARD\s*).*,$$1/usr/share/GeoIP/GeoIP.dat",;'\ + 's,^(#LoadPlugin\s*=\s*"geoip_city_maxmind\s*GEOIP_STANDARD\s*).*,$$1/usr/share/GeoIP/GeoIPCity.dat",;'\ + < wwwroot/cgi-bin/awstats.model.conf > debian/awstats.conf + +clean:: + rm -f debian/awstats.conf debian/icons/firefox.png + +# Remove badly coded PDF, and .cvsignore +binary-post-install/awstats:: + find $(DEB_DESTDIR) -type f -name *.pdf | xargs -r rm + find $(DEB_DESTDIR) -type f -name .cvsignore | xargs -r rm + +# Debian stores the GPL at one single spot +binary-post-install/awstats:: + find $(DEB_DESTDIR) -name COPYING.TXT -o -name LICENSE.TXT | xargs -r rm + +# Set scripts executable - and unset other files +binary-fixup/awstats:: + find $(DEB_DESTDIR)/usr/share/awstats -type f | xargs -r chmod -x + find $(DEB_DESTDIR)/usr/share/doc/awstats/examples -name *.pl -o -name *.sh | xargs -r chmod +x + +# Set example scripts executable - and unset for remaining example files +binary-fixup/awstats:: + chmod -x,+X -R $(DEB_DESTDIR)/usr/share/doc/awstats/examples/ + chmod +x $(addprefix $(DEB_DESTDIR)/usr/share/doc/awstats/examples/,$(notdir $(awstats_example_scripts))) + +binary-predep/awstats:: + dh_perl -p$(DEB_CURPACKAGE) + +# Needed for our packaging +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), sharutils + +# Resolve, cleanup and apply CDBS-declared dependencies +include debian/cdbs/1/rules/package-relations.mk --- awstats-6.9~dfsg.orig/debian/NEWS +++ awstats-6.9~dfsg/debian/NEWS @@ -0,0 +1,59 @@ +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 --- awstats-6.9~dfsg.orig/debian/changelog +++ awstats-6.9~dfsg/debian/changelog @@ -0,0 +1,836 @@ +awstats (6.9~dfsg-1ubuntu3.10.04.1) lucid-security; urgency=low + + * SECURITY UPDATE: directory traversal via crafted LoadPlugin directory + - debian/patches/3000_CVE-2010-4369.patch: properly sanitize plugin + name in wwwroot/cgi-bin/awstats.pl. + - CVE-2010-4369 + + -- Marc Deslauriers Tue, 11 Jan 2011 17:05:56 -0600 + +awstats (6.9~dfsg-1ubuntu3) karmic; urgency=low + + * debian/patches/fix-awstats-spelling.patch: Fix spelling errors. + Taken from upstream (LP: #358715) + + -- Chuck Short Fri, 11 Sep 2009 13:57:57 -0400 + +awstats (6.9~dfsg-1ubuntu2) karmic; urgency=low + + * debian/awstats.cron.d: Use /var/log/apache2 rather than /var/log/apache. + (LP: #386246) + + -- Chuck Short Tue, 18 Aug 2009 10:01:10 -0400 + +awstats (6.9~dfsg-1ubuntu1) karmic; urgency=low + + * debian/rules: Use apache2 rather than apache. (LP: #386246) + * Update maintainer according to spec. + + -- Chuck Short Wed, 12 Aug 2009 12:25:51 -0400 + +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: --- awstats-6.9~dfsg.orig/debian/compat +++ awstats-6.9~dfsg/debian/compat @@ -0,0 +1 @@ +5 --- awstats-6.9~dfsg.orig/debian/control.in +++ awstats-6.9~dfsg/debian/control.in @@ -0,0 +1,24 @@ +Source: awstats +Section: web +Priority: optional +Maintainer: Debian AWStats Team +Uploaders: Andreas Henriksson , Charles Fry , Jonas Smedegaard , Sergey B Kirpichev +Build-Depends: @cdbs@ +Vcs-Git: git://git.debian.org/git/collab-maint/awstats.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/awstats.git;a=summary +Standards-Version: 3.7.3 +Homepage: http://awstats.sourceforge.net/ + +Package: awstats +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} +Recommends: libnet-xwhois-perl +Suggests: apache | httpd, libnet-dns-perl, libnet-ip-perl, libgeo-ipfree-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. --- awstats-6.9~dfsg.orig/debian/copyright +++ awstats-6.9~dfsg/debian/copyright @@ -0,0 +1,39 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=440 +Upstream-Name: AWStats +Upstream-Maintainer: Laurent Destailleur +Upstream-Source: http://awstats.sourceforge.net + +Files: * +Copyright: 2000-2007, Laurent Destailleur +License: GPL-2 + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 2 as published by the Free Software Foundation. + . + On Debian GNU/Linux systems, the complete text of the GNU General + Public License (GPL) version 2 can be found at + /usr/share/common-licenses/GPL-2. + +Files: wwwroot/icon/mime/archive.png + wwwroot/icon/mime/html.png + wwwroot/icon/mime/text.png +Copyright: 1995, Kevin Hughes +License: other-PD + This art is in the public domain. + +Files: wwwroot/cgi-bin/plugins/export_to_csv.pm +Copyright: 2005, Pim Snel +License: GPL + This AWStats plugin is a free software distributed under the GNU General + Public License. + . + On Debian GNU/Linux systems, the complete text of a recent version of + the GNU General Public License (GPL) can be found at + /usr/share/common-licenses/GPL. + +Files: debian/* +Copyright: © 2003-2009, Jonas Smedegaard +License: GPL-2+ + On Debian GNU/Linux systems, the complete text of the GNU General + Public License (GPL) version 2 can be found at + /usr/share/common-licenses/GPL-2. --- awstats-6.9~dfsg.orig/debian/awstats.doc-base +++ awstats-6.9~dfsg/debian/awstats.doc-base @@ -0,0 +1,10 @@ +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/* --- awstats-6.9~dfsg.orig/debian/watch +++ awstats-6.9~dfsg/debian/watch @@ -0,0 +1,8 @@ +# Run the "uscan" command to check for upstream updates and more. +version=3 +# use qa.debian.org redirector; see man uscan +opts=dversionmangle=s/.dfsg// \ + http://sf.net/awstats/awstats-(.*).tar.gz debian svn-upgrade + +# remeber to run: +# % rm wwwroot/icon/browser/firefox.png --- awstats-6.9~dfsg.orig/debian/gbp.conf +++ awstats-6.9~dfsg/debian/gbp.conf @@ -0,0 +1,4 @@ +# Configuration file for git-buildpackage and friends + +[DEFAULT] +pristine-tar = True --- awstats-6.9~dfsg.orig/debian/awstats.conf.local +++ awstats-6.9~dfsg/debian/awstats.conf.local @@ -0,0 +1,4 @@ +# 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. --- awstats-6.9~dfsg.orig/debian/control +++ awstats-6.9~dfsg/debian/control @@ -0,0 +1,25 @@ +Source: awstats +Section: web +Priority: optional +Maintainer: Ubuntu Core Develoers +XSBC-Original-Maintainer: Debian AWStats Team +Uploaders: Andreas Henriksson , Charles Fry , Jonas Smedegaard , Sergey B Kirpichev +Build-Depends: debhelper (>= 5), quilt, patchutils (>= 0.2.25), dh-buildinfo, devscripts (>= 2.10.7), cdbs (>= 0.4.39), sharutils +Vcs-Git: git://git.debian.org/git/collab-maint/awstats.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/awstats.git;a=summary +Standards-Version: 3.7.3 +Homepage: http://awstats.sourceforge.net/ + +Package: awstats +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} +Recommends: libnet-xwhois-perl +Suggests: apache | httpd, libnet-dns-perl, libnet-ip-perl, libgeo-ipfree-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. --- awstats-6.9~dfsg.orig/debian/awstats.cron.d +++ awstats-6.9~dfsg/debian/awstats.cron.d @@ -0,0 +1 @@ +0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache2/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null --- awstats-6.9~dfsg.orig/debian/copyright_hints +++ awstats-6.9~dfsg/debian/copyright_hints @@ -0,0 +1,825 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=XXX +Upstream-Name: Untrusted draft - double-check copyrights yourself! + +Files: README.TXT + debian/NEWS + debian/README.Debian + debian/README.cdbs-tweaks + debian/TODO.Debian + debian/awstats.conf.local + debian/awstats.cron.d + debian/awstats.doc-base + debian/awstats.install + debian/awstats.postinst + debian/awstats.postrm + debian/compat + debian/control + debian/control.in + debian/examples/apache.conf + debian/examples/awstats-update + debian/examples/awstats-update.8 + debian/examples/redostats.sh + debian/examples/staticpages.sh + debian/gbp.conf + debian/icons/firefox.png.uu + debian/patches/1002_disable_configdir.patch + debian/patches/1003_redirect_to_STDERR.patch + debian/patches/1004_perl_version.patch + debian/patches/1006_more_xss.patch + debian/patches/1007_russian_lang.patch + debian/patches/1008_extrasections_with_top.patch + debian/patches/1009_hurd_url.patch + debian/patches/1010_dirdata_permissions.patch + debian/patches/1011_geoipfree.patch + debian/patches/2001_hide_days_charts.patch + debian/patches/README + debian/patches/series + debian/watch + docs/awstats_benchmark.html + docs/awstats_changelog.txt + docs/awstats_compare.html + docs/awstats_config.html + docs/awstats_contrib.html + docs/awstats_extra.html + docs/awstats_faq.html + docs/awstats_glossary.html + docs/awstats_license.html + docs/awstats_security.html + docs/awstats_setup.html + docs/awstats_tools.html + docs/awstats_upgrade.html + docs/awstats_webmin.html + docs/awstats_what.html + docs/images/awstats.gif + docs/images/awstats.ico + docs/images/awstats.png + docs/images/awstats_logo1.gif + docs/images/awstats_logo1.png + docs/images/awstats_logo2.gif + docs/images/awstats_logo2.png + docs/images/awstats_logo3.gif + docs/images/awstats_logo3.png + docs/images/awstats_logo4.gif + docs/images/awstats_logo4.png + docs/images/awstats_logo5.png + docs/images/awstats_logo6.png + docs/images/license_chart.png + docs/images/screen_shot_1.jpg + docs/images/screen_shot_1.png + docs/images/screen_shot_3.png + docs/images/screen_shot_4.png + docs/images/screen_shot_5.png + docs/images/screen_shot_large_2.jpg + docs/images/screen_shot_large_3.jpg + docs/images/screen_shot_large_4.jpg + docs/images/screen_shot_large_5.jpg + docs/images/star.png + docs/index.html + docs/pad_awstats.htm + docs/pad_awstats.xml + docs/styles.css + tools/awstats_buildstaticpages.pl + tools/awstats_configure.pl + tools/awstats_exportlib.pl + tools/awstats_updateall.pl + tools/httpd_conf + tools/logresolvemerge.pl + tools/maillogconvert.pl + tools/urlaliasbuilder.pl + tools/webmin/awstats-1.8.wbm + tools/xslt/README.txt + tools/xslt/awstats.datademo1.xml + tools/xslt/awstats.datademo1.xslt + tools/xslt/awstats.datademo2.xml + tools/xslt/awstats.datademo2.xslt + tools/xslt/awstats.xsd + wwwroot/cgi-bin/awredir.pl + wwwroot/cgi-bin/awstats.model.conf + wwwroot/cgi-bin/awstats.pl + wwwroot/cgi-bin/lang/awstats-al.txt + wwwroot/cgi-bin/lang/awstats-ar.txt + wwwroot/cgi-bin/lang/awstats-ba.txt + wwwroot/cgi-bin/lang/awstats-be.txt + wwwroot/cgi-bin/lang/awstats-bg.txt + wwwroot/cgi-bin/lang/awstats-br.txt + wwwroot/cgi-bin/lang/awstats-ca.txt + wwwroot/cgi-bin/lang/awstats-cn.txt + wwwroot/cgi-bin/lang/awstats-cy.txt + wwwroot/cgi-bin/lang/awstats-cz.txt + wwwroot/cgi-bin/lang/awstats-de.txt + wwwroot/cgi-bin/lang/awstats-dk.txt + wwwroot/cgi-bin/lang/awstats-en.txt + wwwroot/cgi-bin/lang/awstats-es.txt + wwwroot/cgi-bin/lang/awstats-et.txt + wwwroot/cgi-bin/lang/awstats-eu.txt + wwwroot/cgi-bin/lang/awstats-fi.txt + wwwroot/cgi-bin/lang/awstats-gl.txt + wwwroot/cgi-bin/lang/awstats-gr.txt + wwwroot/cgi-bin/lang/awstats-he.txt + wwwroot/cgi-bin/lang/awstats-hr.txt + wwwroot/cgi-bin/lang/awstats-hu.txt + wwwroot/cgi-bin/lang/awstats-id.txt + wwwroot/cgi-bin/lang/awstats-is.txt + wwwroot/cgi-bin/lang/awstats-it.txt + wwwroot/cgi-bin/lang/awstats-jp.txt + wwwroot/cgi-bin/lang/awstats-ko.txt + wwwroot/cgi-bin/lang/awstats-lt.txt + wwwroot/cgi-bin/lang/awstats-lv.txt + wwwroot/cgi-bin/lang/awstats-mk.txt + wwwroot/cgi-bin/lang/awstats-nb.txt + wwwroot/cgi-bin/lang/awstats-nl.txt + wwwroot/cgi-bin/lang/awstats-nn.txt + wwwroot/cgi-bin/lang/awstats-pl.txt + wwwroot/cgi-bin/lang/awstats-pt.txt + wwwroot/cgi-bin/lang/awstats-ro.txt + wwwroot/cgi-bin/lang/awstats-ru.txt + wwwroot/cgi-bin/lang/awstats-se.txt + wwwroot/cgi-bin/lang/awstats-si.txt + wwwroot/cgi-bin/lang/awstats-sr.txt + wwwroot/cgi-bin/lang/awstats-th.txt + wwwroot/cgi-bin/lang/awstats-tr.txt + wwwroot/cgi-bin/lang/awstats-tw.txt + wwwroot/cgi-bin/lang/awstats-ua.txt + wwwroot/cgi-bin/lang/tooltips_f/awstats-tt-br.txt + wwwroot/cgi-bin/lang/tooltips_f/awstats-tt-cz.txt + wwwroot/cgi-bin/lang/tooltips_f/awstats-tt-en.txt + wwwroot/cgi-bin/lang/tooltips_f/awstats-tt-gr.txt + wwwroot/cgi-bin/lang/tooltips_f/awstats-tt-is.txt + wwwroot/cgi-bin/lang/tooltips_f/awstats-tt-it.txt + wwwroot/cgi-bin/lang/tooltips_m/awstats-tt-br.txt + wwwroot/cgi-bin/lang/tooltips_m/awstats-tt-en.txt + wwwroot/cgi-bin/lang/tooltips_m/awstats-tt-gr.txt + wwwroot/cgi-bin/lang/tooltips_m/awstats-tt-is.txt + wwwroot/cgi-bin/lang/tooltips_m/awstats-tt-it.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-al.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-ba.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-bg.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-br.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-ca.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-cn.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-cz.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-de.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-dk.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-en.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-es.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-fi.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-gl.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-gr.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-hu.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-is.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-it.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-jp.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-nb.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-nl.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-nn.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-pl.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-ro.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-ru.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-se.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-sr.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-tr.txt + wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-ua.txt + wwwroot/cgi-bin/lib/blacklist.txt + wwwroot/cgi-bin/lib/browsers.pm + wwwroot/cgi-bin/lib/browsers_phone.pm + wwwroot/cgi-bin/lib/domains.pm + wwwroot/cgi-bin/lib/mime.pm + wwwroot/cgi-bin/lib/operating_systems.pm + wwwroot/cgi-bin/lib/referer_spam.pm + wwwroot/cgi-bin/lib/robots.pm + wwwroot/cgi-bin/lib/search_engines.pm + wwwroot/cgi-bin/lib/status_http.pm + wwwroot/cgi-bin/lib/status_smtp.pm + wwwroot/cgi-bin/lib/worms.pm + wwwroot/cgi-bin/plugins/clusterinfo.pm + wwwroot/cgi-bin/plugins/decodeutfkeys.pm + wwwroot/cgi-bin/plugins/example/example.pm + wwwroot/cgi-bin/plugins/geoip.pm + wwwroot/cgi-bin/plugins/geoip_city_maxmind.pm + wwwroot/cgi-bin/plugins/geoip_isp_maxmind.pm + wwwroot/cgi-bin/plugins/geoip_org_maxmind.pm + wwwroot/cgi-bin/plugins/geoip_region_maxmind.pm + wwwroot/cgi-bin/plugins/geoipfree.pm + wwwroot/cgi-bin/plugins/graphapplet.pm + wwwroot/cgi-bin/plugins/hashfiles.pm + wwwroot/cgi-bin/plugins/hostinfo.pm + wwwroot/cgi-bin/plugins/ipv6.pm + wwwroot/cgi-bin/plugins/rawlog.pm + wwwroot/cgi-bin/plugins/timehires.pm + wwwroot/cgi-bin/plugins/timezone.pm + wwwroot/cgi-bin/plugins/tooltips.pm + wwwroot/cgi-bin/plugins/urlalias.pm + wwwroot/cgi-bin/plugins/userinfo.pm + wwwroot/classes/awgraphapplet.jar + wwwroot/classes/src/AWGraphApplet.java + wwwroot/classes/src/Makefile.pl + wwwroot/css/awstats_bw.css + wwwroot/css/awstats_default.css + wwwroot/icon/browser/abilon.png + wwwroot/icon/browser/adobe.png + wwwroot/icon/browser/akregator.png + wwwroot/icon/browser/alcatel.png + wwwroot/icon/browser/amaya.png + wwwroot/icon/browser/amigavoyager.png + wwwroot/icon/browser/analogx.png + wwwroot/icon/browser/apt.png + wwwroot/icon/browser/avant.png + wwwroot/icon/browser/aweb.png + wwwroot/icon/browser/bpftp.png + wwwroot/icon/browser/bytel.png + wwwroot/icon/browser/chimera.png + wwwroot/icon/browser/chrome.png + wwwroot/icon/browser/cyberdog.png + wwwroot/icon/browser/da.png + wwwroot/icon/browser/dillo.png + wwwroot/icon/browser/doris.png + wwwroot/icon/browser/dreamcast.png + wwwroot/icon/browser/ecatch.png + wwwroot/icon/browser/encompass.png + wwwroot/icon/browser/epiphany.png + wwwroot/icon/browser/ericsson.png + wwwroot/icon/browser/feeddemon.png + wwwroot/icon/browser/feedreader.png + wwwroot/icon/browser/flashget.png + wwwroot/icon/browser/fpexpress.png + wwwroot/icon/browser/fresco.png + wwwroot/icon/browser/freshdownload.png + wwwroot/icon/browser/frontpage.png + wwwroot/icon/browser/galeon.png + wwwroot/icon/browser/getright.png + wwwroot/icon/browser/gnome.png + wwwroot/icon/browser/gnus.png + wwwroot/icon/browser/gozilla.png + wwwroot/icon/browser/hotjava.png + wwwroot/icon/browser/httrack.png + wwwroot/icon/browser/ibrowse.png + wwwroot/icon/browser/icab.png + wwwroot/icon/browser/java.png + wwwroot/icon/browser/jetbrains_omea.png + wwwroot/icon/browser/kmeleon.png + wwwroot/icon/browser/konqueror.png + wwwroot/icon/browser/leechget.png + wwwroot/icon/browser/lg.png + wwwroot/icon/browser/lotusnotes.png + wwwroot/icon/browser/lynx.png + wwwroot/icon/browser/macweb.png + wwwroot/icon/browser/mediaplayer.png + wwwroot/icon/browser/motorola.png + wwwroot/icon/browser/mozilla.png + wwwroot/icon/browser/mplayer.png + wwwroot/icon/browser/msie.png + wwwroot/icon/browser/msie_large.png + wwwroot/icon/browser/multizilla.png + wwwroot/icon/browser/ncsa_mosaic.png + wwwroot/icon/browser/neon.png + wwwroot/icon/browser/netnewswire.png + wwwroot/icon/browser/netpositive.png + wwwroot/icon/browser/netscape.png + wwwroot/icon/browser/netscape_large.png + wwwroot/icon/browser/netshow.png + wwwroot/icon/browser/newsfire.png + wwwroot/icon/browser/newsgator.png + wwwroot/icon/browser/newzcrawler.png + wwwroot/icon/browser/nokia.png + wwwroot/icon/browser/notavailable.png + wwwroot/icon/browser/omniweb.png + wwwroot/icon/browser/opera.png + wwwroot/icon/browser/panasonic.png + wwwroot/icon/browser/pdaphone.png + wwwroot/icon/browser/phoenix.png + wwwroot/icon/browser/pluck.png + wwwroot/icon/browser/pulpfiction.png + wwwroot/icon/browser/real.png + wwwroot/icon/browser/rss.png + wwwroot/icon/browser/rssbandit.png + wwwroot/icon/browser/rssowl.png + wwwroot/icon/browser/rssreader.png + wwwroot/icon/browser/rssxpress.png + wwwroot/icon/browser/safari.png + wwwroot/icon/browser/sagem.png + wwwroot/icon/browser/samsung.png + wwwroot/icon/browser/sharp.png + wwwroot/icon/browser/sharpreader.png + wwwroot/icon/browser/shrook.png + wwwroot/icon/browser/siemens.png + wwwroot/icon/browser/sony.png + wwwroot/icon/browser/staroffice.png + wwwroot/icon/browser/subversion.png + wwwroot/icon/browser/teleport.png + wwwroot/icon/browser/trium.png + wwwroot/icon/browser/unknown.png + wwwroot/icon/browser/w3c.png + wwwroot/icon/browser/webcopier.png + wwwroot/icon/browser/webreaper.png + wwwroot/icon/browser/webtv.png + wwwroot/icon/browser/webzip.png + wwwroot/icon/browser/winxbox.png + wwwroot/icon/browser/wizz.png + wwwroot/icon/clock/hr1.png + wwwroot/icon/clock/hr10.png + wwwroot/icon/clock/hr11.png + wwwroot/icon/clock/hr12.png + wwwroot/icon/clock/hr2.png + wwwroot/icon/clock/hr3.png + wwwroot/icon/clock/hr4.png + wwwroot/icon/clock/hr5.png + wwwroot/icon/clock/hr6.png + wwwroot/icon/clock/hr7.png + wwwroot/icon/clock/hr8.png + wwwroot/icon/clock/hr9.png + wwwroot/icon/cpu/digital.png + wwwroot/icon/cpu/hp.png + wwwroot/icon/cpu/ibm.png + wwwroot/icon/cpu/intel.png + wwwroot/icon/cpu/java.png + wwwroot/icon/cpu/mips.png + wwwroot/icon/cpu/motorola.png + wwwroot/icon/cpu/sun.png + wwwroot/icon/cpu/unknown.png + wwwroot/icon/flags/a2.png + wwwroot/icon/flags/ac.png + wwwroot/icon/flags/ad.png + wwwroot/icon/flags/ae.png + wwwroot/icon/flags/aero.png + wwwroot/icon/flags/af.png + wwwroot/icon/flags/ag.png + wwwroot/icon/flags/ai.png + wwwroot/icon/flags/al.png + wwwroot/icon/flags/am.png + wwwroot/icon/flags/an.png + wwwroot/icon/flags/ao.png + wwwroot/icon/flags/aq.png + wwwroot/icon/flags/ar.png + wwwroot/icon/flags/arpa.png + wwwroot/icon/flags/as.png + wwwroot/icon/flags/at.png + wwwroot/icon/flags/au.png + wwwroot/icon/flags/aw.png + wwwroot/icon/flags/az.png + wwwroot/icon/flags/ba.png + wwwroot/icon/flags/bb.png + wwwroot/icon/flags/bd.png + wwwroot/icon/flags/be.png + wwwroot/icon/flags/bf.png + wwwroot/icon/flags/bg.png + wwwroot/icon/flags/bh.png + wwwroot/icon/flags/bi.png + wwwroot/icon/flags/biz.png + wwwroot/icon/flags/bj.png + wwwroot/icon/flags/bm.png + wwwroot/icon/flags/bn.png + wwwroot/icon/flags/bo.png + wwwroot/icon/flags/br.png + wwwroot/icon/flags/bs.png + wwwroot/icon/flags/bt.png + wwwroot/icon/flags/bv.png + wwwroot/icon/flags/bw.png + wwwroot/icon/flags/by.png + wwwroot/icon/flags/bz.png + wwwroot/icon/flags/ca.png + wwwroot/icon/flags/cc.png + wwwroot/icon/flags/cd.png + wwwroot/icon/flags/cf.png + wwwroot/icon/flags/cg.png + wwwroot/icon/flags/ch.png + wwwroot/icon/flags/ci.png + wwwroot/icon/flags/ck.png + wwwroot/icon/flags/cl.png + wwwroot/icon/flags/cm.png + wwwroot/icon/flags/cn.png + wwwroot/icon/flags/co.png + wwwroot/icon/flags/com.png + wwwroot/icon/flags/coop.png + wwwroot/icon/flags/cr.png + wwwroot/icon/flags/cs.png + wwwroot/icon/flags/cu.png + wwwroot/icon/flags/cv.png + wwwroot/icon/flags/cx.png + wwwroot/icon/flags/cy.png + wwwroot/icon/flags/cz.png + wwwroot/icon/flags/de.png + wwwroot/icon/flags/dj.png + wwwroot/icon/flags/dk.png + wwwroot/icon/flags/dm.png + wwwroot/icon/flags/do.png + wwwroot/icon/flags/dz.png + wwwroot/icon/flags/ec.png + wwwroot/icon/flags/edu.png + wwwroot/icon/flags/ee.png + wwwroot/icon/flags/eg.png + wwwroot/icon/flags/eh.png + wwwroot/icon/flags/en.png + wwwroot/icon/flags/er.png + wwwroot/icon/flags/es.png + wwwroot/icon/flags/es_cat.png + wwwroot/icon/flags/es_eu.png + wwwroot/icon/flags/et.png + wwwroot/icon/flags/eu.png + wwwroot/icon/flags/fi.png + wwwroot/icon/flags/fj.png + wwwroot/icon/flags/fk.png + wwwroot/icon/flags/fm.png + wwwroot/icon/flags/fo.png + wwwroot/icon/flags/fr.png + wwwroot/icon/flags/fx.png + wwwroot/icon/flags/ga.png + wwwroot/icon/flags/gb.png + wwwroot/icon/flags/gd.png + wwwroot/icon/flags/ge.png + wwwroot/icon/flags/gf.png + wwwroot/icon/flags/gh.png + wwwroot/icon/flags/gi.png + wwwroot/icon/flags/gl.png + wwwroot/icon/flags/glg.png + wwwroot/icon/flags/gm.png + wwwroot/icon/flags/gn.png + wwwroot/icon/flags/gov.png + wwwroot/icon/flags/gp.png + wwwroot/icon/flags/gq.png + wwwroot/icon/flags/gr.png + wwwroot/icon/flags/gs.png + wwwroot/icon/flags/gt.png + wwwroot/icon/flags/gu.png + wwwroot/icon/flags/gw.png + wwwroot/icon/flags/gy.png + wwwroot/icon/flags/hk.png + wwwroot/icon/flags/hm.png + wwwroot/icon/flags/hn.png + wwwroot/icon/flags/hr.png + wwwroot/icon/flags/ht.png + wwwroot/icon/flags/hu.png + wwwroot/icon/flags/i0.png + wwwroot/icon/flags/id.png + wwwroot/icon/flags/ie.png + wwwroot/icon/flags/il.png + wwwroot/icon/flags/im.png + wwwroot/icon/flags/in.png + wwwroot/icon/flags/info.png + wwwroot/icon/flags/int.png + wwwroot/icon/flags/io.png + wwwroot/icon/flags/ip.png + wwwroot/icon/flags/iq.png + wwwroot/icon/flags/ir.png + wwwroot/icon/flags/is.png + wwwroot/icon/flags/it.png + wwwroot/icon/flags/jm.png + wwwroot/icon/flags/jo.png + wwwroot/icon/flags/jp.png + wwwroot/icon/flags/ke.png + wwwroot/icon/flags/kg.png + wwwroot/icon/flags/kh.png + wwwroot/icon/flags/ki.png + wwwroot/icon/flags/km.png + wwwroot/icon/flags/kn.png + wwwroot/icon/flags/kp.png + wwwroot/icon/flags/kr.png + wwwroot/icon/flags/kw.png + wwwroot/icon/flags/ky.png + wwwroot/icon/flags/kz.png + wwwroot/icon/flags/la.png + wwwroot/icon/flags/lb.png + wwwroot/icon/flags/lc.png + wwwroot/icon/flags/li.png + wwwroot/icon/flags/lk.png + wwwroot/icon/flags/lr.png + wwwroot/icon/flags/ls.png + wwwroot/icon/flags/lt.png + wwwroot/icon/flags/lu.png + wwwroot/icon/flags/lv.png + wwwroot/icon/flags/ly.png + wwwroot/icon/flags/ma.png + wwwroot/icon/flags/mc.png + wwwroot/icon/flags/md.png + wwwroot/icon/flags/mg.png + wwwroot/icon/flags/mil.png + wwwroot/icon/flags/mk.png + wwwroot/icon/flags/ml.png + wwwroot/icon/flags/mm.png + wwwroot/icon/flags/mn.png + wwwroot/icon/flags/mo.png + wwwroot/icon/flags/mp.png + wwwroot/icon/flags/mq.png + wwwroot/icon/flags/mr.png + wwwroot/icon/flags/ms.png + wwwroot/icon/flags/mt.png + wwwroot/icon/flags/mu.png + wwwroot/icon/flags/museum.png + wwwroot/icon/flags/mv.png + wwwroot/icon/flags/mw.png + wwwroot/icon/flags/mx.png + wwwroot/icon/flags/my.png + wwwroot/icon/flags/mz.png + wwwroot/icon/flags/na.png + wwwroot/icon/flags/name.png + wwwroot/icon/flags/nato.png + wwwroot/icon/flags/nb.png + wwwroot/icon/flags/nc.png + wwwroot/icon/flags/ne.png + wwwroot/icon/flags/net.png + wwwroot/icon/flags/ng.png + wwwroot/icon/flags/ni.png + wwwroot/icon/flags/nl.png + wwwroot/icon/flags/nn.png + wwwroot/icon/flags/no.png + wwwroot/icon/flags/np.png + wwwroot/icon/flags/nt.png + wwwroot/icon/flags/nu.png + wwwroot/icon/flags/nz.png + wwwroot/icon/flags/om.png + wwwroot/icon/flags/org.png + wwwroot/icon/flags/pa.png + wwwroot/icon/flags/pe.png + wwwroot/icon/flags/pf.png + wwwroot/icon/flags/pg.png + wwwroot/icon/flags/ph.png + wwwroot/icon/flags/pk.png + wwwroot/icon/flags/pl.png + wwwroot/icon/flags/pr.png + wwwroot/icon/flags/pro.png + wwwroot/icon/flags/ps.png + wwwroot/icon/flags/pt.png + wwwroot/icon/flags/py.png + wwwroot/icon/flags/qa.png + wwwroot/icon/flags/re.png + wwwroot/icon/flags/ro.png + wwwroot/icon/flags/ru.png + wwwroot/icon/flags/rw.png + wwwroot/icon/flags/sa.png + wwwroot/icon/flags/sb.png + wwwroot/icon/flags/sc.png + wwwroot/icon/flags/sd.png + wwwroot/icon/flags/se.png + wwwroot/icon/flags/sg.png + wwwroot/icon/flags/si.png + wwwroot/icon/flags/sk.png + wwwroot/icon/flags/sm.png + wwwroot/icon/flags/sn.png + wwwroot/icon/flags/sr.png + wwwroot/icon/flags/st.png + wwwroot/icon/flags/su.png + wwwroot/icon/flags/sv.png + wwwroot/icon/flags/sy.png + wwwroot/icon/flags/sz.png + wwwroot/icon/flags/tc.png + wwwroot/icon/flags/td.png + wwwroot/icon/flags/tf.png + wwwroot/icon/flags/tg.png + wwwroot/icon/flags/th.png + wwwroot/icon/flags/tk.png + wwwroot/icon/flags/tm.png + wwwroot/icon/flags/tn.png + wwwroot/icon/flags/to.png + wwwroot/icon/flags/tr.png + wwwroot/icon/flags/tt.png + wwwroot/icon/flags/tv.png + wwwroot/icon/flags/tw.png + wwwroot/icon/flags/tz.png + wwwroot/icon/flags/ua.png + wwwroot/icon/flags/ug.png + wwwroot/icon/flags/uk.png + wwwroot/icon/flags/um.png + wwwroot/icon/flags/unknown.png + wwwroot/icon/flags/us.png + wwwroot/icon/flags/uy.png + wwwroot/icon/flags/uz.png + wwwroot/icon/flags/va.png + wwwroot/icon/flags/vc.png + wwwroot/icon/flags/ve.png + wwwroot/icon/flags/vg.png + wwwroot/icon/flags/vi.png + wwwroot/icon/flags/vn.png + wwwroot/icon/flags/vu.png + wwwroot/icon/flags/wf.png + wwwroot/icon/flags/wlk.png + wwwroot/icon/flags/ws.png + wwwroot/icon/flags/ye.png + wwwroot/icon/flags/yt.png + wwwroot/icon/flags/yu.png + wwwroot/icon/flags/za.png + wwwroot/icon/flags/ze.png + wwwroot/icon/flags/zm.png + wwwroot/icon/flags/zw.png + wwwroot/icon/mime/ai.png + wwwroot/icon/mime/audio.png + wwwroot/icon/mime/css.png + wwwroot/icon/mime/doc.png + wwwroot/icon/mime/flash.png + wwwroot/icon/mime/glasses.png + wwwroot/icon/mime/image.png + wwwroot/icon/mime/jscript.png + wwwroot/icon/mime/lit.png + wwwroot/icon/mime/notavailable.png + wwwroot/icon/mime/other.png + wwwroot/icon/mime/pdf.png + wwwroot/icon/mime/php.png + wwwroot/icon/mime/phshop.png + wwwroot/icon/mime/pl.png + wwwroot/icon/mime/ppt.png + wwwroot/icon/mime/quicktime.png + wwwroot/icon/mime/rar.png + wwwroot/icon/mime/real.png + wwwroot/icon/mime/script.png + wwwroot/icon/mime/svg.png + wwwroot/icon/mime/ttf.png + wwwroot/icon/mime/unknown.png + wwwroot/icon/mime/video.png + wwwroot/icon/mime/wmv.png + wwwroot/icon/mime/xls.png + wwwroot/icon/os/aix.png + wwwroot/icon/os/amigaos.png + wwwroot/icon/os/apple.png + wwwroot/icon/os/atari.png + wwwroot/icon/os/beos.png + wwwroot/icon/os/bsd.png + wwwroot/icon/os/bsdfreebsd.png + wwwroot/icon/os/bsdi.png + wwwroot/icon/os/bsdnetbsd.png + wwwroot/icon/os/bsdopenbsd.png + wwwroot/icon/os/commodore.png + wwwroot/icon/os/cpm.png + wwwroot/icon/os/debian.png + wwwroot/icon/os/digital.png + wwwroot/icon/os/dos.png + wwwroot/icon/os/dreamcast.png + wwwroot/icon/os/freebsd.png + wwwroot/icon/os/gnu.png + wwwroot/icon/os/hpux.png + wwwroot/icon/os/ibm.png + wwwroot/icon/os/imode.png + wwwroot/icon/os/irix.png + wwwroot/icon/os/java.png + wwwroot/icon/os/kfreebsd.png + wwwroot/icon/os/linux.png + wwwroot/icon/os/linuxcentos.png + wwwroot/icon/os/linuxdebian.png + wwwroot/icon/os/linuxfedora.png + wwwroot/icon/os/linuxgentoo.png + wwwroot/icon/os/linuxmandr.png + wwwroot/icon/os/linuxredhat.png + wwwroot/icon/os/linuxsuse.png + wwwroot/icon/os/linuxubuntu.png + wwwroot/icon/os/mac.png + wwwroot/icon/os/macintosh.png + wwwroot/icon/os/macosx.png + wwwroot/icon/os/netbsd.png + wwwroot/icon/os/next.png + wwwroot/icon/os/openbsd.png + wwwroot/icon/os/os2.png + wwwroot/icon/os/osf.png + wwwroot/icon/os/psp.png + wwwroot/icon/os/qnx.png + wwwroot/icon/os/riscos.png + wwwroot/icon/os/sco.png + wwwroot/icon/os/sunos.png + wwwroot/icon/os/symbian.png + wwwroot/icon/os/unix.png + wwwroot/icon/os/unknown.png + wwwroot/icon/os/vms.png + wwwroot/icon/os/webtv.png + wwwroot/icon/os/win.png + wwwroot/icon/os/win16.png + wwwroot/icon/os/win2000.png + wwwroot/icon/os/win2003.png + wwwroot/icon/os/win95.png + wwwroot/icon/os/win98.png + wwwroot/icon/os/wince.png + wwwroot/icon/os/winlong.png + wwwroot/icon/os/winme.png + wwwroot/icon/os/winnt.png + wwwroot/icon/os/winunknown.png + wwwroot/icon/os/winxbox.png + wwwroot/icon/os/winxp.png + wwwroot/icon/other/awstats_logo1.png + wwwroot/icon/other/awstats_logo5.png + wwwroot/icon/other/awstats_logo6.png + wwwroot/icon/other/backleft.png + wwwroot/icon/other/button.gif + wwwroot/icon/other/he.png + wwwroot/icon/other/hh.png + wwwroot/icon/other/hk.png + wwwroot/icon/other/hp.png + wwwroot/icon/other/ht.png + wwwroot/icon/other/hx.png + wwwroot/icon/other/menu1.png + wwwroot/icon/other/menu2.png + wwwroot/icon/other/menu3.png + wwwroot/icon/other/menu4.png + wwwroot/icon/other/menu5.png + wwwroot/icon/other/menu6.png + wwwroot/icon/other/menu7.png + wwwroot/icon/other/menu8.png + wwwroot/icon/other/page.png + wwwroot/icon/other/vh.png + wwwroot/icon/other/vk.png + wwwroot/icon/other/vp.png + wwwroot/icon/other/vu.png + wwwroot/icon/other/vv.png + wwwroot/js/awstats_misc_tracker.js +Copyright: *No copyright* +License: UNKNOWN + +Files: wwwroot/icon/mime/archive.png + wwwroot/icon/mime/html.png + wwwroot/icon/mime/text.png +Copyright: *No copyright* +License: Public domain + +Files: docs/COPYING.TXT + docs/LICENSE.TXT +Copyright: 1989, 1991, Free Software Foundation, Inc + the software, and +License: UNKNOWN + +Files: debian/rules +Copyright: 2003-2009, Jonas Smedegaard +License: GPL + +Files: debian/cdbs/1/rules/buildinfo.mk +Copyright: 2004-2007, Jonas Smedegaard +License: GPL + +Files: debian/cdbs/1/rules/upstream-tarball.mk +Copyright: 2007-2008, Jonas Smedegaard +License: GPL + +Files: debian/cdbs/1/rules/package-relations.mk +Copyright: 2008, Jonas Smedegaard +License: GPL + +Files: debian/cdbs/1/rules/copyright-check.mk +Copyright: \s*(\S.*?)\s*\ +License: GPL + +Files: wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-kr.txt +Copyright: ) . +License: UNKNOWN + +Files: wwwroot/icon/os/netware.png +Copyright: )TwIDATxc`2tebpdtScx{ew/Pofc0so70{w20T%v}+``(, (=z*^IENDB` +License: UNKNOWN + +Files: docs/awstats.pdf +Copyright: 1997-2004, Easy Software Products, All Rights Reserved.)/CreationDate(D:20081228143223+0100)/Title(AWStats logfile analyzer Documentation)/Author(Laurent Destailleur)/Keywords(awstats, awstat, log, logs, file, analyzer, analysis, web, server, reporting, reports, geoip, index, main, page, faq, doc, documentation, docs, setup, manual, instructions, questions, support, help, problems)>>endobj +License: UNKNOWN + +Files: wwwroot/cgi-bin/plugins/export_to_csv.pm +Copyright: 2005, Pim Snel for Lingewoud B.V. # This AWStats plugin is a free software distributed under the GNU General # Public License. #-----------------------------------------------------------------------------# Perl Required Modules: None#-----------------------------------------------------------------------------# This plugin does not work when Tooltips are loaded or any other plugin that# uses the debug function.## TODO# 1. make all year work# 2. add more export types# 3. cleanup code# 4. fix htmlentities?## $Id: export_to_csv.pm,v 1.1 2008/11/15 15:14:06 eldy Exp $ # <-----# ENTER HERE THE USE COMMAND FOR ALL REQUIRED PERL MODULES.# -----> use strict;no strict "refs";use HTML::Entities; #-----------------------------------------------------------------------------# PLUGIN VARIABLES#-----------------------------------------------------------------------------# <-----# ENTER HERE THE MINIMUM AWSTATS VERSION REQUIRED BY YOUR PLUGIN# AND THE NAME OF ALL FUNCTIONS THE PLUGIN MANAGE.my $PluginNeedAWStatsVersion="6.9";my $PluginHooksFunctions="BuildFullHTMLOutput TabHeadHTML";# -----> # <-----# IF YOUR PLUGIN NEED GLOBAL VARIABLES, THEY MUST BE DECLARED HERE.use vars qw/$fld_termd $fld_enclosed $fld_escaped $ln_termd$MAXLINE $max_v $max_p $max_h $max_k$total_u $total_v $total_p $total_h $total_k$average_nb $average_u $average_v $average_p $average_h $average_k$total_e $total_x $rest_p $rest_e $rest_k $rest_x$firstdaytoshowtime $lastdaytoshowtime$firstdaytocountaverage $lastdaytocountaverage/;# -----> $fld_termd=',';$fld_enclosed='"';$fld_escaped='\\';$ln_termd="\n"; #-----------------------------------------------------------------------------# PLUGIN FUNCTION: Init_pluginname#-----------------------------------------------------------------------------sub Init_export_to_csv { my $InitParams=shift; my $checkversion=&Check_Plugin_Version($PluginNeedAWStatsVersion); #$EXPORTCSVON=1; if ($QueryString =~ /exportcsv=([^& +License: UNKNOWN + +Files: docs/images/screen_shot_2.png +Copyright: 53#F;n8$x{tdd`@4aVs-?xX``VcYd}}~\.S5`TQ3H^^PUgUK>wCY +License: UNKNOWN + +Files: wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-tw.txt +Copyright: +License: UNKNOWN + +Files: wwwroot/cgi-bin/lang/tooltips_m/awstats-tt-fr.txt +Copyright: transfr avec succs.
+License: UNKNOWN + +Files: wwwroot/icon/browser/philips.png +Copyright: KQ+yTk\[i)')s:(`f52_7a>R>:hN+ +License: UNKNOWN + +Files: docs/images/screen_shot_1.gif +Copyright: Mm@ +License: UNKNOWN + +Files: docs/images/screen_shot_large_1.jpg +Copyright: S[e^wc +License: UNKNOWN + +Files: wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-fr.txt +Copyright: comme cible sensible du vers, vous pouvez ignorer de tel hits.
+ dans les dernires #VisitTimeOut# mn + titre indicatif, le compteur "pages" etant prfr + la derniere heure (aprs 23:00) du dernier jour du mois (Un raison technique empche #PROG# de calculer la dure des visites de telles sessions) +License: UNKNOWN + +Files: wwwroot/cgi-bin/lang/awstats-fr.txt +Copyright: diffrents +License: UNKNOWN + +Files: wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-sk.txt +Copyright: miesto s datami a odeslane. + z vyhledva nejsou zaazeny, nebo je obsahuje jin daj + byly pouity jako odkaz na tento server (Je zobrazeno jen #MaxNbOfRefererShown# nejastjch) + boly zadvane vo vyhladvaoch k najdeniu tohoto serveru +License: UNKNOWN + +Files: wwwroot/cgi-bin/lang/awstats-sk.txt +Copyright: slov + kdy HTTP + strnky + URL (HTTP 404) + vrazy + (Bookmark) + vo vyhadvai +License: UNKNOWN + +Files: docs/images/awstats_logo5.gif +Copyright: xw^ChevnlBYkZ + DUo^Ng5ovs\=h\+~wmh+&2 + exit 1 + ;; + +esac + +#DEBHELPER# + +exit 0 --- awstats-6.9~dfsg.orig/debian/patches/series +++ awstats-6.9~dfsg/debian/patches/series @@ -0,0 +1,12 @@ +1002_disable_configdir.patch +1003_redirect_to_STDERR.patch +1004_perl_version.patch +1006_more_xss.patch +1007_russian_lang.patch +1008_extrasections_with_top.patch +1009_hurd_url.patch +1010_dirdata_permissions.patch +1011_geoipfree.patch +2001_hide_days_charts.patch +fix-awstats-spelling.patch +3000_CVE-2010-4369.patch --- awstats-6.9~dfsg.orig/debian/patches/2001_hide_days_charts.patch +++ awstats-6.9~dfsg/debian/patches/2001_hide_days_charts.patch @@ -0,0 +1,21 @@ +Index: awstats-6.9/wwwroot/cgi-bin/awstats.pl +=================================================================== +--- awstats-6.9.orig/wwwroot/cgi-bin/awstats.pl 2009-01-26 17:03:56.000000000 +0300 ++++ awstats-6.9/wwwroot/cgi-bin/awstats.pl 2009-01-26 17:11:01.000000000 +0300 +@@ -16385,6 +16385,7 @@ + \@valaverage, \@valdata + ); + } ++=cut + else { + print "\n"; + print "\n"; +@@ -16552,7 +16553,7 @@ + print "
\n"; + } + print "
\n"; +- ++=cut + # Show data array for days + if ($AddDataArrayShowDaysOfMonthStats) { + print "\n"; --- awstats-6.9~dfsg.orig/debian/patches/1002_disable_configdir.patch +++ awstats-6.9~dfsg/debian/patches/1002_disable_configdir.patch @@ -0,0 +1,29 @@ +Index: awstats-6.9/wwwroot/cgi-bin/awstats.pl +=================================================================== +--- awstats-6.9.orig/wwwroot/cgi-bin/awstats.pl 2008-11-30 18:42:46.000000000 +0300 ++++ awstats-6.9/wwwroot/cgi-bin/awstats.pl 2009-01-26 16:36:02.000000000 +0300 +@@ -1628,17 +1628,13 @@ + my @PossibleConfigDir = (); + + if ($configdir) { +- +-# If from CGI, overwriting of configdir is only possible if AWSTATS_ENABLE_CONFIG_DIR defined +-#if ($ENV{'GATEWAY_INTERFACE'} && ! $ENV{"AWSTATS_ENABLE_CONFIG_DIR"}) +-#{ +-# error("Sorry, to allow overwriting of configdir parameter from an AWStats CGI usage, environment variable AWSTATS_ENABLE_CONFIG_DIR must be set to 1"); +-#} +-#else +-#{ +- @PossibleConfigDir = ("$configdir"); +- +- #} ++ # If from CGI, overwriting of configdir is only possible if AWSTATS_ENABLE_CONFIG_DIR defined ++ if ($ENV{'GATEWAY_INTERFACE'} && ! $ENV{"AWSTATS_ENABLE_CONFIG_DIR"}) { ++ error("Sorry, to allow overwriting of configdir parameter from an AWStats CGI usage, environment variable AWSTATS_ENABLE_CONFIG_DIR must be set to 1"); ++ } ++ else { ++ @PossibleConfigDir = ("$configdir"); ++ } + } + else { + @PossibleConfigDir = ( --- awstats-6.9~dfsg.orig/debian/patches/1011_geoipfree.patch +++ awstats-6.9~dfsg/debian/patches/1011_geoipfree.patch @@ -0,0 +1,13 @@ +Index: awstats/wwwroot/cgi-bin/plugins/geoipfree.pm +=================================================================== +--- awstats.orig/wwwroot/cgi-bin/plugins/geoipfree.pm 2009-03-03 17:48:51.000000000 +0300 ++++ awstats/wwwroot/cgi-bin/plugins/geoipfree.pm 2009-03-03 17:49:11.000000000 +0300 +@@ -51,7 +51,7 @@ + # ENTER HERE CODE TO DO INIT PLUGIN ACTIONS + debug(" Plugin geoipfree: InitParams=$InitParams",1); + %TmpDomainLookup=(); +- $gi = Geo::IPfree::new(); ++ $gi = Geo::IPfree->new(); + # $gi->Faster; # Do not enable Faster as the Memoize module is rarely available + # -----> + --- awstats-6.9~dfsg.orig/debian/patches/1006_more_xss.patch +++ awstats-6.9~dfsg/debian/patches/1006_more_xss.patch @@ -0,0 +1,16 @@ +Florian Weimer discovered that upstreams cross-site scripting fix +(0001_awstats69beta_xss.patch) is not enough. +We should strip off both " and ', not just " (%22). + +Index: awstats-6.7.dfsg/wwwroot/cgi-bin/awstats.pl +=================================================================== +--- awstats-6.7.dfsg.orig/wwwroot/cgi-bin/awstats.pl 2008-12-09 22:56:45.000000000 +0100 ++++ awstats-6.7.dfsg/wwwroot/cgi-bin/awstats.pl 2008-12-09 22:58:41.000000000 +0100 +@@ -7514,6 +7514,7 @@ + $stringtodecode =~ tr/\+/ /s; + $stringtodecode =~ s/%22//g; + $stringtodecode =~ s/%([A-F0-9][A-F0-9])/pack("C", hex($1))/ieg; ++ $stringtodecode =~ s/["']//g; + return $stringtodecode; + } + --- awstats-6.9~dfsg.orig/debian/patches/1003_redirect_to_STDERR.patch +++ awstats-6.9~dfsg/debian/patches/1003_redirect_to_STDERR.patch @@ -0,0 +1,98 @@ +Index: awstats-6.9/tools/awstats_buildstaticpages.pl +=================================================================== +--- awstats-6.9.orig/tools/awstats_buildstaticpages.pl 2008-09-25 21:08:26.000000000 +0400 ++++ awstats-6.9/tools/awstats_buildstaticpages.pl 2009-01-26 16:45:39.000000000 +0300 +@@ -79,7 +79,7 @@ + # Return: None + #------------------------------------------------------------------------------ + sub error { +- print "Error: $_[0].\n"; ++ print STDERR "Error: $_[0].\n"; + exit 1; + } + +@@ -99,7 +99,7 @@ + # print "$messagestring
\n"; + # } + # else { +- print "$messagestring\n"; ++ print STDERR "$messagestring\n"; + # } + # } + } +Index: awstats-6.9/tools/awstats_configure.pl +=================================================================== +--- awstats-6.9.orig/tools/awstats_configure.pl 2008-04-06 17:45:24.000000000 +0400 ++++ awstats-6.9/tools/awstats_configure.pl 2009-01-26 16:45:39.000000000 +0300 +@@ -88,7 +88,7 @@ + # error + #------------------------------------------------------- + sub error { +- print "Error: $_[0].\n"; ++ print STDERR "Error: $_[0].\n"; + exit 1; + } + +Index: awstats-6.9/tools/awstats_exportlib.pl +=================================================================== +--- awstats-6.9.orig/tools/awstats_exportlib.pl 2008-04-27 20:47:20.000000000 +0400 ++++ awstats-6.9/tools/awstats_exportlib.pl 2009-01-26 16:47:29.000000000 +0300 +@@ -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; + } + +Index: awstats-6.9/tools/awstats_updateall.pl +=================================================================== +--- awstats-6.9.orig/tools/awstats_updateall.pl 2006-07-24 02:57:48.000000000 +0400 ++++ awstats-6.9/tools/awstats_updateall.pl 2009-01-26 16:45:39.000000000 +0300 +@@ -37,7 +37,7 @@ + # Return: None + #------------------------------------------------------------------------------ + sub error { +- print "Error: $_[0].\n"; ++ print STDERR "Error: $_[0].\n"; + exit 1; + } + +Index: awstats-6.9/tools/logresolvemerge.pl +=================================================================== +--- awstats-6.9.orig/tools/logresolvemerge.pl 2008-11-15 17:58:02.000000000 +0300 ++++ awstats-6.9/tools/logresolvemerge.pl 2009-01-26 16:45:39.000000000 +0300 +@@ -107,7 +107,7 @@ + # Return: None + #------------------------------------------------------------------------------ + sub error { +- print "Error: $_[0].\n"; ++ print STDERR "Error: $_[0].\n"; + exit 1; + } + +@@ -136,7 +136,7 @@ + sub warning { + my $messagestring=shift; + if ($Debug) { debug("$messagestring",1); } +- print "$messagestring\n"; ++ print STDERR "$messagestring\n"; + } + + #----------------------------------------------------------------------------- +Index: awstats-6.9/tools/maillogconvert.pl +=================================================================== +--- awstats-6.9.orig/tools/maillogconvert.pl 2008-09-05 02:29:24.000000000 +0400 ++++ awstats-6.9/tools/maillogconvert.pl 2009-01-26 16:45:39.000000000 +0300 +@@ -56,7 +56,7 @@ + #------------------------------------------------------- + + sub error { +- print "Error: $_[0].\n"; ++ print STDERR "Error: $_[0].\n"; + exit 1; + } + --- awstats-6.9~dfsg.orig/debian/patches/1004_perl_version.patch +++ awstats-6.9~dfsg/debian/patches/1004_perl_version.patch @@ -0,0 +1,16 @@ +Index: awstats-6.9/wwwroot/cgi-bin/awstats.pl +=================================================================== +--- awstats-6.9.orig/wwwroot/cgi-bin/awstats.pl 2009-01-26 16:48:20.000000000 +0300 ++++ awstats-6.9/wwwroot/cgi-bin/awstats.pl 2009-01-26 16:48:27.000000000 +0300 +@@ -1750,11 +1750,6 @@ + $includeFile = "$1$includeFile"; + } + } +- if ( $level > 1 ) { +- warning( "Warning: Perl versions before 5.6 cannot handle nested includes" +- ); +- next; +- } + if ( open( CONFIG_INCLUDE, $includeFile ) ) { + &Parse_Config( *CONFIG_INCLUDE, $level + 1, $includeFile ); + close(CONFIG_INCLUDE); --- awstats-6.9~dfsg.orig/debian/patches/1007_russian_lang.patch +++ awstats-6.9~dfsg/debian/patches/1007_russian_lang.patch @@ -0,0 +1,553 @@ +Index: awstats-6.9/wwwroot/cgi-bin/lang/awstats-ru.txt +=================================================================== +--- awstats-6.9.orig/wwwroot/cgi-bin/lang/awstats-ru.txt 2009-01-27 14:49:45.000000000 +0300 ++++ awstats-6.9/wwwroot/cgi-bin/lang/awstats-ru.txt 2009-01-27 14:50:54.000000000 +0300 +@@ -1,174 +1,176 @@ + # Russian message file +-# $Revision: 1.13 $ - $Date: 2006/03/14 23:49:17 $ +-PageCode=windows-1251 +-message0= +-message1= +-message2= +-message3= +-message4= +-message5= +-message6= +-message7= +-message8= +-message9= +-message10= +-message11= +-message12= +-message13= +-message14= +-message15= +-message16= +-message17=/ +-message18= +-message19= +-message20= +-message21= ++# $Revision$ - $Date$ ++PageCode=utf-8 ++message0=Неизвестный ++message1=Неизвестный ++message2=Остальные ++message3=Показать подробности ++message4=День ++message5=Месяц ++message6=Год ++message7=Статистика за ++message8=Первый визит ++message9=Последний визит ++message10=Количество визитов ++message11=Уникальные посетители ++message12=Визит ++message13=различные ключевые слова ++message14=Поиск ++message15=Процент ++message16=Трафик ++message17=Домены/Страны ++message18=Посетители ++message19=Адрес страницы ++message20=Часы ++message21=Браузеры + message22= +-message23= +-message24= ( '/' awstats_setup.html) +-message25= / +-message26= +-message27= +-message28= url +-message29= +-message30= +-message31= +-message32= HTTP +-message33= Netscape +-message34= IE +-message35= +-message36= +-message37= +-message38= / +-message39= +-message40= +-message41= ( web ) +-message42= ( ) +-message43= +-message44= +-message45= IP +-message46= ( useragent) +-message47= URL (HTTP code 404) +-message48=IP +-message49=  +-message50= ( useragent) +-message51= +-message52=/ +-message53=/ +-message54= - Web . +-message55= +-message56= +-message57= +-message58= +-message59= +-message60= +-message61= +-message62= +-message63= +-message64= +-message65= +-message66= +-message67= +-message68= +-message69= +-message70= +-message71= +-message72= +-message73= +-message74= +-message75= +-message76= +-message77= ++message23=Рефереры ++message24=Необновленный (Смотрите 'Создать/Обновить' на странице awstats_setup.html) ++message25=Посетители домены/страны ++message26=хосты ++message27=страницы ++message28=Различные url ++message29=Просмотров ++message30=Остальные слова ++message31=Страницы не найдены ++message32=Статусы ошибок HTTP ++message33=Версии Netscape ++message34=Версии IE ++message35=Последнее обновление ++message36=Соединение с сайтом из ++message37=Происхождение ++message38=Прямой адрес / Закладки ++message39=Неизвестное происхождение ++message40=Ссылки из поисковых систем ++message41=Ссылки из внешней страницы (остальные web сайты исключая поисковые системы) ++message42=Ссылки из внутренней страницы (остальные страницы на том же сайте) ++message43=Ключевые фразы использующиеся поисковыми машинами ++message44=Ключевые слова использующиеся поисковыми машинами ++message45=Неразрешенный IP адрес ++message46=Неизвестные Операционные системы (поле useragent) ++message47=Требуемые но не найденные URL (HTTP code 404) ++message48=IP адрес ++message49=Ошибка Хиты ++message50=Неизвестные браузеры (поле useragent) ++message51=различные роботы ++message52=Визитов/Посетитель ++message53=Роботы/Пауки посетители ++message54=Бесплтаный анализатор лог-файлов для расширенной Web статистики. ++message55=от ++message56=Страницы ++message57=Хиты ++message58=Версии ++message59=Операционные системы ++message60=Январь ++message61=Февраль ++message62=Март ++message63=Апрель ++message64=Май ++message65=Июнь ++message66=Июль ++message67=Август ++message68=Сентябрь ++message69=Октябрь ++message70=Ноябрь ++message71=Декабрь ++message72=Навигация ++message73=Тип файла ++message74=Обновить сейчас ++message75=Объем ++message76=Вернуться на главную страницу ++message77=Топ + message78=dd mmm yyyy - HH:MM +-message79= +-message80= +-message81= +-message82= +-message83= +-message84= +-message85= +-message86= +-message87= +-message88= +-message89= +-message90= +-message91= +-message92= +-message93= +-message94= +-message95= +-message96= +-message97= +-message98=Web +-message99= +-message100= +-message101= ++message79=Фильтр ++message80=Полный список ++message81=Хосты ++message82=Известные ++message83=Роботы ++message84=Воскресенье ++message85=Понедельник ++message86=Вторник ++message87=Среда ++message88=Четверг ++message89=Пятница ++message90=Суббота ++message91=День недели ++message92=Кто ++message93=Когда ++message94=Авторизованные пользователи ++message95=Минимальное ++message96=Среднее ++message97=Максимальное ++message98=Web компрессия ++message99=Сохраненная величина ++message100=Компрессия включена ++message101=Результат компрессии + message102=Total +-message103= +-message104= +-message105= +-message106= +-message107= +-message108= +-message109= +-message110= +-message111= +-message112= +-message113= +-message114=. ++message103=Различные ключевые фразы ++message104=Вхождение ++message105=Код ++message106=Средний размер ++message107=Ссылки из новостных групп ++message108=КБ ++message109=МБ ++message110=ГБ ++message111=Грабер ++message112=Да ++message113=Нет ++message114=Инфо. + message115=OK +-message116= +-message117= +-message118= +-message119= +-message120=  +-message121=  +-message122= +-message123= +-message124= +-message125= (/ ) +-message126= +-message127= +-message128= +-message129= 'Year' +-message130= +-message131= EMail +-message132= EMail +-message133= +-message134=/ +-message135= +-message136= +-message137= () +-message138= +-message139= +-message140= Java support +-message141= Macromedia Director +-message142= Flash Support +-message143= Real audio playing +-message144= Quicktime audio playing +-message145= Windows Media audio playing +-message146= PDF +-message147= SMTP +-message148= +-message149= +-message150= +-message151= +-message152= +-message153= +-message154= , . +-message155= +-message156= , . +-message157= + "robots.txt" +-message158= , . +-message159= , HTTP . +-message160= +-message161= +-message162= +-message163= +-message164= +-message165= +-message166= +-message167= +-message168=Javascript +-message169= +-message170= +\ No newline at end of file ++message116=Выход ++message117=Продолжительность визитов ++message118=Закрыть окно ++message119=Байты ++message120=Поисковые Ключевые фразы ++message121=Поисковые Ключевые слова ++message122=различные ссылающиеся поисковые машины ++message123=различные ссылающиеся сайты ++message124=Остальные фразы ++message125=Отстальные логины (и/или анонимные пользователи) ++message126=Ссылающиеся поисковые машины ++message127=Ссылающиеся сайты ++message128=Общее ++message129=Точное значение не доступно в виде 'Year' ++message130=Массивы данных ++message131=Отправитель EMail ++message132=Получатель EMail ++message133=Отчетный период ++message134=Дополнительно/Маркетинг ++message135=Разрешение экрана ++message136=Атаки вредоностных программ ++message137=Добавить в закладки (предполагаемый) ++message138=День месяца ++message139=Смешанные ++message140=Браузеры с поддержкой Java support ++message141=Браузеры с поддержкой Macromedia Director ++message142=Браузеры с поддержкой Flash Support ++message143=Браузеры с поддержкой Real audio playing ++message144=Браузеры с поддержкой Quicktime audio playing ++message145=Браузеры с поддержкой Windows Media audio playing ++message146=Браузеры с поддержкой PDF ++message147=Коды ошибок SMTP ++message148=Страны ++message149=Почта ++message150=Размер ++message151=Первый ++message152=Последний ++message153=Фильтр исключений ++message154=Коды отображенные здесь генерируют трафик не отображаемый посетителям, поэтому они не включены в остальную статистику. ++message155=Кластер ++message156=Роботы отображенные здесь генерируют трафик не отображаемый посетителям, поэтому они не включены в остальную статистику. ++message157=Числа после + хиты успешно защитанные для файла "robots.txt" ++message158=Вирусы отображенные здесь генерируют трафик не отображаемый посетителям, поэтому они не включены в остальную статистику. ++message159=Не отображаемый трафик влючает в себя трафик сгенерированный роботами, вирусами или ответом сервера со специальным HTTP кодом. ++message160=Отображаемый трафик ++message161=Не отображаемый трафик ++message162=История за месяц ++message163=Вирусы ++message164=Различные вирусы ++message165=Почта успешно отправлена ++message166=Отправка почты неудалась ++message167=Чувствительность целей ++message168=Javascript отключен ++message169=Создано ++message170=плагины ++message171=Регионы ++message172=Города +Index: awstats-6.9/wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-ru.txt +=================================================================== +--- awstats-6.9.orig/wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-ru.txt 2009-01-27 14:49:45.000000000 +0300 ++++ awstats-6.9/wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-ru.txt 2009-01-27 14:50:37.000000000 +0300 +@@ -1,53 +1,53 @@ + + +
+- , #VisitTimeOut# . ++Новым посетителем считается пришедший посетитель, которого не было на сайте более #VisitTimeOut# минут. +
+
+- (IP ), ( ).
+- , . ++Количество хостов (IP адресов), которые посетили сайт (кто просмотрел как минимум одну страницу).
++Данная цифра отражает количество различных посетителей, зашедших на сайт в течении одного дня. +
+
+- ( ).
+- "", HTML- . ++Количество просмотренных страниц сайта (сумма всех посетителей).
++Эти данные отличаются от "хитов", так как здесь учтены только HTML-страницы без учета графики и прочих файлов. +
+
+- , , .
+- , .. "" . ++Количество страниц, изображений и файлов сайта, которые были просмотрены или скачаны посетителями.
++Эти данные приведены только для сравнения, т.к. количество просмотренных "страниц" кораздо важнее для исследования трафика сайта. +
+
+- , , . ++Здесь отражен объем всех страниц, изображений и файлов, скачанных с сайта. +
+
+-#PROG# #SearchEnginesArray# (, Yahoo, Altavista, Lycos, Google, Yandex, ...). ++#PROG# распознает каждое посещение посетителя после поиска в #SearchEnginesArray# наиболее популярных поисковых серверах и каталогах (таких, как Yahoo, Altavista, Lycos, Google, Yandex, и пр...). +
+
+- , ( #MaxNbOfRefererShown# ). . ++Список всех внешних страниц, на которых была размещена ссылка на данный сайт (показано только #MaxNbOfRefererShown# наиболее популярных внешних страниц). Ссылки с поисковых серверов здесь не отображены. +
+
+- , . +-(#PROG# #SearchEnginesArray# ). ++Здесь указаны наиболее распространенные ключевые слова, использованные для поиска в поисковых машинах и каталогах. ++(#PROG# распознает ключевые слова с #SearchEnginesArray# поисковых серверов и каталогов). +
+
+- ( ) - , , (1) , (2) / (3) , on-line.
+-#PROG# #RobotArray# . ++Роботы (иногда называемые пауками) - это автоматические компьютерные посетители, используемые многими поисковыми системами для того, чтобы (1) индексировать и ранжировать страницу, (2) собирать статистику по сайтам и/или (3) смотреть, доступна ли до сих пор ваша страница on-line.
++#PROG# распознает до #RobotArray# роботов. +
+ +-
.
+-
, .
+-
, .
+-
.
+-
, .
+-
.
+-
, .
+-
URL +-/ .
, (, ) .
+-
URL ( ) ( , , "browsable").
+-
URL. .
+-
. CGI , , , .
+-
. CGI , .
+-
.
+-
, HTTP , proxy ,
+-
.
+-
- .
+-
HTTP .
++
Для данной ошибки нет описания.
++
Данный запрос был понят сервером, но будет обработан позднее.
++
Сервер обработал запрос, но не обнаружил данных для отправки посетителю.
++
Частичное содержание.
++
Документ был перемещен и находится по адресу, находящемуся в ответе.
++
Для данной ошибки нет описания.
++
Синтаксическая ошибка, сервер не может обработать запрос.
++
Попытка доступа к URL где ++логин/пароль обязательны.
Большое количество данных ошибок говорит о том, что некто (например, хакер) пытался проникнуть в закрытую область сайта с помощью перебора различных вариантов логина и пароля.
++
Попытка доступа к URL который не был настроен для доступа (даже с указанием логина и пароля) (к примеру, дирректория, которая не была помечена как "browsable").
++
Попытка доступа к несуществующему URL. Данная ошибка говорит о неправильном указании ссылки на данном сайте или устаревшей ссылке с внешнего сайта.
++
Сервер затратил слишком много времени на подготовку ответа на запрос. Эта ошибка возникает в случает либо медленного CGI скрипта, который сервер завершает, не дождавшись ответа, либо при сильно загруженном сервере.
++
Внутренняя ошибка. Такая ошибка появляется после CGI скриптов, которые завершаются с ошибкой.
++
Неизвестное требуемое действие.
++
Код, возвращенный HTTP сервером, который работает в качестве proxy или шлюза, когда настояший сервер неправильно ответил на запрос клиента
++
Внутренняя ошибка сервера.
++
Тайм-аут шлюза.
++
Данная версия HTTP не поддерживается.
+Index: awstats-6.9/wwwroot/cgi-bin/lang/tooltips_f/awstats-tt-ru.txt +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ awstats-6.9/wwwroot/cgi-bin/lang/tooltips_f/awstats-tt-ru.txt 2009-01-27 14:50:37.000000000 +0300 +@@ -0,0 +1,34 @@ ++ ++ ++
++
++
++Число различных хостов (разных IP адресов), соединявшихся с FTP-сервером. ++
++
++
++
++
++
++Это общее количество данных, переданых по протоколу FTP.
++Единицы указаны в Kb, Mb или Gb (килобайты, мегабайты или гигабайты). ++
++
++
++
++
++
++
++
++
++
++Отраженное в статистике время это серверное время.
++
++
++Здесь, приведенные данные: средние значения ++
++
++Здесь, приведенные данные: кумулятивные суммы ++
++
++
+Index: awstats-6.9/wwwroot/cgi-bin/lang/tooltips_m/awstats-tt-ru.txt +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ awstats-6.9/wwwroot/cgi-bin/lang/tooltips_m/awstats-tt-ru.txt 2009-01-27 14:50:37.000000000 +0300 +@@ -0,0 +1,68 @@ ++ ++ ++
++
++
++Число различных хостов (разные IP адреса), отправлявших письма. ++
++
++
++
++Число успешных доставок email.
++
++
++Это общий объем почтовой корреспонденции.
++Единицы указываются в Kb, Mb или Gb (килобайты, мегабайты или гигабайты). ++
++
++
++
++
++
++
++
++
++
++Отраженное в статистике время это серверное время.
++
++
++Здесь, приведенные значения: средние значения (вычисленные по всем данным между первым и последним email в проанализированном диапазоне) ++
++
++Здесь, приведенные значения: кумулятивные суммы (вычисленные по всем данным между первым и последним email в проанализированном диапазоне) ++
++
++
++ ++
Успешно: Нестандартный ответ.
++
Успешно: Ответ о состоянии системы или помощь.
++
Успешно: Сообщение-подсказка (помощь).
++
Успешно: служба готова к работе.
++
Успешно: служба закрывает канал связи.
++
Успешно: Запрошенное действие почтовой транзакции успешно завершилось.
++
Успешно: Адресат сообщения не обслуживается принимающим сервером, однако почтовый сервер знает по какому маршруту отправить сообщение дальше, поэтому принял его.
++
Успешно: Адресат сообщения не может быть проверен принимающим сервером сейчас, но сервер принял сообщение и попытается его доставить.
++ ++
Еще не завершено: Почтовый сервер готов принять сообщение и инструктирует почтовый клиент.
++ ++
Временная ошибка: Может быть ответом на любую команду, если обслуживание клиентов почтовым сервером будет вскоре прервано.
++
Временная ошибка: Запрошенная команда почтовой транзакции не выполнена, так как почтовый ящик недоступен. Может указывать также на фильтрацию принимающим сервером клиента по каким-либо признакам (IP адрес, заголовки From, To и т. п.).
++
Временная ошибка: Запрошенная команда не выполнена; произошла локальная ошибка при обработке сообщения. Например, принимающий сервер перегружен входящими сообщениями.
++
Временная ошибка: Запрошенная команда не выполнена; системе не хватило ресурсов.
++
Временная ошибка: Принимающий сервер имеет ограничения числа одновременных соещинений и/или числа отправляемых сообщений в течение одной SMTP-сессии.
++ ++
Ошибка: Синтаксическая ошибка в тексте команды; команда не опознана.
++
Ошибка: Синтаксическая ошибка в аргументах или параметрах команды.
++
Ошибка: Данная команда не реализована.
++
Ошибка: Неверная последовательность команд.
++
Ошибка: У данной команды не может быть аргументов.
++
Ошибка: Вы должны авторизоваться перед использованием SMTP-сервера (используя POP3 протокол) и указать Ваш почтовый адрес в поле From.
++
Ошибка: Доступ запрещен. (сендмализм?)
++
Ошибка: Запрошенная команда не выполнена, так как почтовый ящик недоступен.
++
Ошибка: Данный адресат не является местным: попробуйте передать сообщение по маршруту или неправильный адрес: запрос на передачу сообщения отклонен.
++
Ошибка: Запрошенная команда почтовой транзакции прервана; дисковое пространство, доступное системе, переполнилось.
++
Ошибка: Запрошенная команда не выполнена; указано недопустимое имя почтового ящика.
++
Ошибка: Транзакция не выполнена.
++
Ошибка: Указывает (вероятно) на фильтрацию сообщения какой-либо антиспам-системой на принимающем сервере, учитывающей содержимое письма.
++ ++
Неизвестная ошибка. Данный код генерирует утилита maillogconvert.pl, когда парсинг почтового журнала указывает на неуспешную доставку сообщения, хотя строки с SMTP-ошибкой нет.
--- awstats-6.9~dfsg.orig/debian/patches/1009_hurd_url.patch +++ awstats-6.9~dfsg/debian/patches/1009_hurd_url.patch @@ -0,0 +1,13 @@ +Index: awstats-6.9/wwwroot/cgi-bin/lib/operating_systems.pm +=================================================================== +--- awstats-6.9.orig/wwwroot/cgi-bin/lib/operating_systems.pm 2009-02-17 11:11:32.000000000 +0300 ++++ awstats-6.9/wwwroot/cgi-bin/lib/operating_systems.pm 2009-02-17 11:12:41.000000000 +0300 +@@ -201,7 +201,7 @@ + 'linux','Linux (Unknown/unspecified)', + 'linux','GNU Linux (Unknown or unspecified distribution)', + # Hurd +-'gnu','GNU Hurd', ++'gnu','GNU Hurd', + # BSDs + 'bsdi','BSDi', + 'bsdkfreebsd','GNU/kFreeBSD', --- awstats-6.9~dfsg.orig/debian/patches/1010_dirdata_permissions.patch +++ awstats-6.9~dfsg/debian/patches/1010_dirdata_permissions.patch @@ -0,0 +1,13 @@ +Index: awstats-6.9/wwwroot/cgi-bin/awstats.pl +=================================================================== +--- awstats-6.9.orig/wwwroot/cgi-bin/awstats.pl 2009-02-17 11:36:14.000000000 +0300 ++++ awstats-6.9/wwwroot/cgi-bin/awstats.pl 2009-02-17 11:36:33.000000000 +0300 +@@ -2841,7 +2841,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)." + ); --- awstats-6.9~dfsg.orig/debian/patches/3000_CVE-2010-4369.patch +++ awstats-6.9~dfsg/debian/patches/3000_CVE-2010-4369.patch @@ -0,0 +1,35 @@ +Description: fix directory traversal via crafted LoadPlugin directory +Origin: upstream, http://awstats.cvs.sourceforge.net/viewvc/awstats/awstats/wwwroot/cgi-bin/awstats.pl?r1=1.966&r2=1.967 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606263 +Bug: http://sourceforge.net/tracker/?func=detail&aid=2537928&group_id=13764&atid=113764 + +diff -Nur awstats-6.9~dfsg/wwwroot/cgi-bin/awstats.pl awstats-6.9~dfsg.new/wwwroot/cgi-bin/awstats.pl +--- awstats-6.9~dfsg/wwwroot/cgi-bin/awstats.pl 2011-01-11 17:05:32.000000000 -0600 ++++ awstats-6.9~dfsg.new/wwwroot/cgi-bin/awstats.pl 2011-01-11 17:05:48.000000000 -0600 +@@ -2931,10 +2931,10 @@ + my ( $pluginfile, $pluginparam ) = split( /\s+/, $plugininfo, 2 ); + $pluginparam ||= + ""; # If split has only on part, pluginparam is not initialized +- $pluginfile =~ s/\.pm$//i; ++ $pluginfile =~ s/\.pm$//i; + $pluginfile =~ /([^\/\\]+)$/; +- my $pluginname = $1; # pluginname is pluginfile without any path +- # Check if plugin is not disabled ++ $pluginfile = Sanitize($1); # pluginfile is cleaned from any path for security reasons and from .pm ++ my $pluginname = $pluginfile; + if ( $NoLoadPlugin{$pluginname} && $NoLoadPlugin{$pluginname} > 0 ) { + if ($Debug) { + debug( " Plugin load for '$pluginfile' has been disabled from parameters" +@@ -7541,10 +7541,10 @@ + my $stringtoclean = shift; + my $full = shift || 0; + if ($full) { +- $stringtoclean =~ s/[^\w]//g; ++ $stringtoclean =~ s/[^\w\d]//g; + } + else { +- $stringtoclean =~ s/[^\w\-\\\/\.:\s]//g; ++ $stringtoclean =~ s/[^\w\d\-\\\/\.:\s]//g; + } + return $stringtoclean; + } --- awstats-6.9~dfsg.orig/debian/patches/fix-awstats-spelling.patch +++ awstats-6.9~dfsg/debian/patches/fix-awstats-spelling.patch @@ -0,0 +1,21 @@ +diff -Naurp awstats_6.9~dfsg.orig/wwwroot/cgi-bin/lib/search_engines.pm awstats_6.9~dfsg/wwwroot/cgi-bin/lib/search_engines.pm +--- awstats_6.9~dfsg.orig/wwwroot/cgi-bin/lib/search_engines.pm 2008-11-15 09:58:02.000000000 -0500 ++++ awstats_6.9~dfsg/wwwroot/cgi-bin/lib/search_engines.pm 2009-09-11 13:57:08.000000000 -0400 +@@ -1050,7 +1050,7 @@ + 'shinyseek\.it','Shinyseek.it', + 'teecnoit','Teecno', + # Minor Japanese search engines +-'askjp','Ask Japan', ++'askjp','Ask Japan', + 'sagool','Sagool', + # Minor Norwegian search engines + 'start','start.no', 'eniro','Eniro', +@@ -1063,7 +1063,7 @@ + 'hogapl','Hoga.pl', + 'netsprintpl','NetSprint.pl', + 'interiapl','Interia.pl', +-'katalogonetpl','Katalog.Onet.pl', ++'katalogonetpl','Katalog.Onet.pl', + 'o2pl','o2.pl', + 'polskapl','Polska', + 'szukaczpl','Szukacz', --- awstats-6.9~dfsg.orig/debian/patches/README +++ awstats-6.9~dfsg/debian/patches/README @@ -0,0 +1,3 @@ +0xxx: Grabbed from upstream development. +1xxx: Possibly relevant for upstream adoption. +2xxx: Only relevant for official Debian release. --- awstats-6.9~dfsg.orig/debian/patches/1008_extrasections_with_top.patch +++ awstats-6.9~dfsg/debian/patches/1008_extrasections_with_top.patch @@ -0,0 +1,22 @@ +Index: awstats-6.9/wwwroot/cgi-bin/awstats.pl +=================================================================== +--- awstats-6.9.orig/wwwroot/cgi-bin/awstats.pl 2009-01-26 18:27:55.000000000 +0300 ++++ awstats-6.9/wwwroot/cgi-bin/awstats.pl 2009-01-26 18:28:24.000000000 +0300 +@@ -15473,7 +15473,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 ""; + +@@ -19050,7 +19050,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] . "
" . $ExtraFirstColumnTitle[$extranum]; + print "  -   + +AWSTATS="/usr/lib/cgi-bin/awstats.pl -config=/etc/awstats/awstats.conf" +TARGET=/var/www + +# source user's overrides (TODO: provide commented out template file) + +[ -f /etc/awstats/awstats-static.conf ] && . /etc/awstats/awstats-static.conf + +$AWSTATS -update +$AWSTATS -output -staticlinks > $TARGET/awstats.html + +for detail in allhosts lasthosts unknownip urldetail unknownreferer unknownrefererbrowser browserdetail allkeyphrases errors404; do + $AWSTATS -output=$detail -staticlinks > $TARGET/awstats.$detail.html +done --- awstats-6.9~dfsg.orig/debian/examples/redostats.sh +++ awstats-6.9~dfsg/debian/examples/redostats.sh @@ -0,0 +1,40 @@ +#! /bin/bash + +CONFDIR=/etc/awstats +DATADIR=/var/cache/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=/tmp/access.log +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/apache/access.log|s||$TMPLOG|" > $CONFFILE +mv -f $CRONORIG $TMPCRON +/etc/init.d/cron reload + +ls -rt /var/log/apache/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 --- awstats-6.9~dfsg.orig/debian/examples/awstats-update.8 +++ awstats-6.9~dfsg/debian/examples/awstats-update.8 @@ -0,0 +1,29 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH AWSTATS-UPDATE 8 "August 2001" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +awstats-update \- update awstats statistics +.SH SYNOPSIS +.B awstats-update +.SH DESCRIPTION +This program is called by cron jobs and in webserver's pre-rotate +script to update the statistics of AwStats, which is a featureful +web server log analyzer. If you don't know what you do, you shouldn't +use this program, it is used by your system. +.SH AUTHOR +This manual page was written by RISKO Gergely , +for the Debian GNU/Linux system (but may be used by others). --- awstats-6.9~dfsg.orig/debian/examples/awstats-update +++ awstats-6.9~dfsg/debian/examples/awstats-update @@ -0,0 +1,6 @@ +#!/bin/sh + +[ -f /etc/awstats/awstats.conf ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null +for cfg in `find /etc/awstats -name 'awstats.*.conf' -printf '%f\n' | sed 's/^awstats\.\(.*\)\.conf/\1/'`; do + /usr/lib/cgi-bin/awstats.pl -config=$cfg -update >/dev/null +done --- awstats-6.9~dfsg.orig/debian/examples/apache.conf +++ awstats-6.9~dfsg/debian/examples/apache.conf @@ -0,0 +1,30 @@ +# 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 in the directory +# Security concerns: none known +Alias /awstats-icon/ /usr/share/awstats/icon/ + +# 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/ --- awstats-6.9~dfsg.orig/debian/cdbs/1/rules/buildinfo.mk +++ awstats-6.9~dfsg/debian/cdbs/1/rules/buildinfo.mk @@ -0,0 +1,40 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2004-2007 Jonas Smedegaard +# Description: Generate and include build information +# +# 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 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_buildinfo +_cdbs_rules_buildinfo = 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), dh-buildinfo + +common-install-arch common-install-indep:: debian/stamp-buildinfo + +debian/stamp-buildinfo: + dh_buildinfo + touch debian/stamp-buildinfo + +clean:: + rm -f debian/stamp-buildinfo + +endif --- awstats-6.9~dfsg.orig/debian/cdbs/1/rules/upstream-tarball.mk +++ awstats-6.9~dfsg/debian/cdbs/1/rules/upstream-tarball.mk @@ -0,0 +1,137 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2007-2008 Jonas Smedegaard +# Description: Convenience rules for dealing with upstream tarballs +# +# 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 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_upstream_tarball +_cdbs_rules_upstream_tarball := 1 + +include $(_cdbs_rules_path)/buildvars.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.39) + +# Prefix for upstream location of all upstream tarballs (mandatory!) +#DEB_UPSTREAM_URL = + +DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE) +DEB_UPSTREAM_TARBALL_VERSION = $(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_VERSION:$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG)=),$(DEB_UPSTREAM_VERSION)) +DEB_UPSTREAM_TARBALL_EXTENSION = tar.gz +# Checksum to ensure integrity of downloadeds using get-orig-source (optional) +#DEB_UPSTREAM_TARBALL_MD5 = + +DEB_UPSTREAM_WORKDIR = ../tarballs + +# Base filename (without extension) as used in upstream URL +DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_PACKAGE)-$(DEB_UPSTREAM_TARBALL_VERSION) + +# Perl regexp to change locally used string into that in upstream URL and srcdir +#DEB_UPSTREAM_TARBALL_BASENAME_MANGLE = + +# Base directory within tarball +DEB_UPSTREAM_TARBALL_SRCDIR = $(cdbs_upstream_tarball_basename) + +# Space-delimited list of directories and files to strip (optional) +#DEB_UPSTREAM_REPACKAGE_EXCLUDE = CVS .cvsignore doc/rfc*.txt doc/draft*.txt +DEB_UPSTREAM_REPACKAGE_TAG = dfsg +DEB_UPSTREAM_REPACKAGE_DELIMITER = ~ + +cdbs_upstream_tarball_basename = $(if $(strip $(DEB_UPSTREAM_TARBALL_BASENAME_MANGLE)),$(shell echo '$(DEB_UPSTREAM_TARBALL_BASENAME)' | perl -pe '$(DEB_UPSTREAM_TARBALL_BASENAME_MANGLE)'),$(DEB_UPSTREAM_TARBALL_BASENAME)) +cdbs_upstream_tarball = $(cdbs_upstream_tarball_basename).$(DEB_UPSTREAM_TARBALL_EXTENSION) +cdbs_upstream_received_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).orig.$(if $(findstring $(DEB_UPSTREAM_TARBALL_EXTENSION),tgz),tar.gz,$(DEB_UPSTREAM_TARBALL_EXTENSION)) +cdbs_upstream_local_basename = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION)$(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG)) +cdbs_upstream_local_srcdir = $(cdbs_upstream_tarball_basename)$(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG)) + +# # These variables are deprecated +_cdbs_deprecated_vars += DEB_UPSTREAM_TARBALL DEB_UPSTREAM_LOCAL_TARBALL DEB_UPSTREAM_REPACKAGE_TARBALL DEB_UPSTREAM_TARBALL_VERSION_MANGLE +_cdbs_deprecated_vars += DEB_UPSTREAM_REPACKAGE_EXCLUDES +DEB_UPSTREAM_REPACKAGE_EXCLUDE += $(DEB_UPSTREAM_REPACKAGE_EXCLUDES) + +print-version: + @@echo "Debian version: $(DEB_VERSION)" + @@echo "Upstream version: $(DEB_UPSTREAM_TARBALL_VERSION)" + +get-orig-source: + @@dh_testdir + @@mkdir -p "$(DEB_UPSTREAM_WORKDIR)" + + @if [ ! -s "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ] ; then \ + if [ -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ] ; then \ + rm "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ; \ + fi ; \ + echo "Downloading $(cdbs_upstream_received_tarball) from $(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball) ..." ; \ + wget -nv -T10 -t3 -O "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" "$(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball)" ; \ + else \ + echo "Upstream source tarball have been already downloaded: $(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ; \ + fi + + @md5current=`md5sum "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" | sed -e 's/ .*//'`; \ + if [ -n "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \ + if [ "$$md5current" != "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \ + echo "Expecting upstream tarball md5sum $(DEB_UPSTREAM_TARBALL_MD5), but $$md5current found" ; \ + echo "Upstream tarball md5sum is NOT trusted! Possible upstream tarball forge!" ; \ + echo "Purging downloaded file. Try new download." ; \ + rm -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ; \ + false ; \ + else \ + echo "Upstream tarball is trusted!" ; \ + fi; \ + else \ + echo "Upstream tarball NOT trusted (current md5sum is $$md5current)!" ; \ + fi + +# TODO: Rewrite using make variables like cdbs_upstream_unpack_cmd and +# DEB_UPSTREAM_SUPPORTED_COMPRESSIONS (recent dpkg supports bz2) +# TODO: Add .orig suffix to top folder inside tarball when only +# recompressing (when $uncompress set and ...REPACKAGE_EXCLUDE unset) + @untar="tar -x -C"; \ + case "$(cdbs_upstream_received_tarball)" in \ + *.tar.gz) unpack="gunzip -c";; \ + *.tar.bz2) unpack="bunzip2 -c"; uncompress="bunzip2";; \ + *.tar.Z) unpack="uncompress -c"; uncompress="uncompress";; \ + *.zip) unpack="unzip -q"; uncompress="false"; untar="-d"; nopipe="true";; \ + *.tar) unpack="cat"; uncompress="true";; \ + *) echo "Unknown extension for upstream tarball $(cdbs_upstream_received_tarball)"; false;; \ + esac && \ + if [ -n "$(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE))" ] || [ "$$uncompress" = "false" ]; then \ + echo "Repackaging tarball ..." && \ + mkdir -p "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" && \ + if [ -n "$$nopipe" ]; then \ + $$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" \ + $$untar "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)); \ + else \ + $$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" \ + | $$untar "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)); \ + fi && \ + if [ "$(DEB_UPSTREAM_TARBALL_SRCDIR)" != "$(cdbs_upstream_local_srcdir)" ]; then \ + mv -T "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)/$(DEB_UPSTREAM_TARBALL_SRCDIR)" "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)/$(cdbs_upstream_local_srcdir)"; \ + fi && \ + GZIP=-9 tar -b1 -czf "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_basename).orig.tar.gz" -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" "$(cdbs_upstream_local_srcdir)" && \ + echo "Cleaning up" && \ + rm -rf "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)"; \ + elif [ -n "$$uncompress" ]; then \ + echo "Recompressing tarball ..." && \ + $$uncompress "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)"; \ + gzip -9 "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_basename).orig.tar"; \ + fi + +DEB_PHONY_RULES += print-version get-orig-source + +endif --- awstats-6.9~dfsg.orig/debian/cdbs/1/rules/package-relations.mk +++ awstats-6.9~dfsg/debian/cdbs/1/rules/package-relations.mk @@ -0,0 +1,50 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2008 Jonas Smedegaard +# Description: Resolve, cleanup and apply package relationships +# +# 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 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_package_relations +_cdbs_rules_package_relations = 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +# Merge build-dependencies on same packages +# TODO: rewrite (in perl, probably) to be more generic +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.43)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\|0.4.27\|0.4.39\)) *,* */, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\|0.4.27\)) *,* */, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.27)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\)) *,* */, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 5.0.44)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\|5\|5.0.37.2\)) *,* */, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 5.0.37.2)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\|5\)) *,* */, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 5)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\)) *,* */, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 4.2.28)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\|4.2.21\)) *,* */, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 4.2.21)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\)) *,* */, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 4.2.0)/ s/ *,* *\bdebhelper (>= \(4.1.60\)) *,* */, /g') + +# Cleanup superfluous commas +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//') + +# Apply CDBS-declared dependencies to binary packages +$(patsubst %,binary-predeb/%,$(DEB_PACKAGES)) :: binary-predeb/%: + echo 'cdbs:Depends=$(CDBS_DEPENDS_ALL), $(or $(CDBS_DEPENDS_$(cdbs_curpkg)),$(CDBS_DEPENDS))' \ + | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//' \ + >> debian/$(cdbs_curpkg).substvars + +endif --- awstats-6.9~dfsg.orig/debian/cdbs/1/rules/copyright-check.mk +++ awstats-6.9~dfsg/debian/cdbs/1/rules/copyright-check.mk @@ -0,0 +1,113 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2005-2008 Jonas Smedegaard +# Description: Check for changes to copyright notices in source +# +# 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 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_copyright_check +_cdbs_rules_copyright_check := 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), devscripts (>= 2.10.7) + +# Set to yes to fail on changed/new hints are found +#DEB_COPYRIGHT_CHECK_STRICT := yes + +# Single regular expression for files to include or ignore +DEB_COPYRIGHT_CHECK_REGEX = .* +#DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(debian/.*|(.*/)?config\.(guess|sub|rpath)(\..*)?)$ +DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^debian/(changelog|copyright(|_hints|_newhints))$ + +pre-build:: debian/stamp-copyright-check + +debian/stamp-copyright-check: + @echo 'Scanning upstream source for new/changed copyright notices...' + @echo licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \ + "| some-output-filtering..." + +# Perl in shell in make requires extra care: +# * Single-quoting ('...') protects against shell expansion +# * Double-dollar ($$) expands to plain dollar ($) in make + @licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \ + | LC_ALL=C perl -e \ + 'print "Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=XXX\n";'\ + 'print "Upstream-Name: Untrusted draft - double-check copyrights yourself!\n\n";'\ + '$$n=0; while (<>) {'\ + ' s/[^[:print:]]//g;'\ + ' if (/^([^:\s][^:]+):[\s]+(\S.*?)\s*$$/) {'\ + ' $$files[$$n]{name}=$$1;'\ + ' $$files[$$n]{license}=$$2;'\ + ' };'\ + ' if (/^\s*\[Copyright:\s*(\S.*?)\s*\]/) {'\ + ' $$files[$$n]{copyright}=$$1;'\ + ' };'\ + ' /^$$/ and $$n++;'\ + '};'\ + 'foreach $$file (@files) {'\ + ' $$file->{license} =~ s/\s*\(with incorrect FSF address\)//;'\ + ' $$file->{license} =~ s/\s+\(v([^)]+) or later\)/-$$1+/;'\ + ' $$file->{license} =~ s/\s+\(v([^)]+)\)/-$$1/;'\ + ' $$file->{license} =~ s/\s*(\*No copyright\*)\s*// and $$file->{copyright} = $$1;'\ + ' $$file->{license} =~ s/^\s*(GENERATED FILE)/UNKNOWN ($$1)/;'\ + ' $$file->{license} =~ s/\s+(GENERATED FILE)/ ($$1)/;'\ + ' $$file->{copyright} =~ s/(?<=(\b\d{4}))(?{$$y=$$^N})\s*[,-]\s*((??{$$y+1}))\b/-$$2/g;'\ + ' $$file->{copyright} =~ s/(?<=\b\d{4})\s*-\s*\d{4}(?=\s*-\s*(\d{4})\b)//g;'\ + ' $$file->{copyright} =~ s/\b(\d{4})\s+([\S^\d])/$$1, $$2/g;'\ + ' $$file->{copyright} =~ s/^\W*\s+\/\s+//g;'\ + ' $$file->{copyright} =~ s/\s+\/\s+\W*$$//;'\ + ' $$file->{copyright} =~ s/\s+\/\s+/\n\t/g;'\ + ' $$pattern = "$$file->{license} [$$file->{copyright}]";'\ + ' push @{ $$patternfiles{"$$pattern"} }, $$file->{name};'\ + '};'\ + 'foreach $$pattern ( sort {'\ + ' @{$$patternfiles{$$b}} <=> @{$$patternfiles{$$a}}'\ + ' ||'\ + ' $$a cmp $$b'\ + ' } keys %patternfiles ) {'\ + ' ($$license, $$copyright) = $$pattern =~ /(.*) \[(.*)\]/s;'\ + ' print "Files: ", join("\n\t", sort @{ $$patternfiles{$$pattern} }), "\n";'\ + ' print "Copyright: $$copyright\n";'\ + ' print "License: $$license\n\n";'\ + '};'\ + > debian/copyright_newhints + @patterncount="`cat debian/copyright_newhints | sed 's/^[^:]*://' | LANG=C sort -u | grep . -c -`"; \ + echo "Found $$patterncount different copyright and licensing combinations." + @if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi + @newstrings=`diff -u debian/copyright_hints debian/copyright_newhints | sed '1,2d' | egrep '^\+' - | sed 's/^\+//'`; \ + if [ -n "$$newstrings" ]; then \ + echo "$(if $(DEB_COPYRIGHT_CHECK_STRICT),ERROR,WARNING): The following new or changed copyright notices discovered:"; \ + echo; \ + echo "$$newstrings"; \ + echo; \ + echo "To fix the situation please do the following:"; \ + echo " 1) Investigate the above changes and update debian/copyright as needed"; \ + echo " 2) Replace debian/copyright_hints with debian/copyright_newhints"; \ + $(if $(DEB_COPYRIGHT_CHECK_STRICT),exit 1,:); \ + else \ + echo 'No new copyright notices found - assuming no news is good news...'; \ + rm -f debian/copyright_newhints; \ + fi + touch $@ + +clean:: + rm -f debian/stamp-copyright-check + +endif --- awstats-6.9~dfsg.orig/debian/icons/firefox.png.uu +++ awstats-6.9~dfsg/debian/icons/firefox.png.uu @@ -0,0 +1,22 @@ +begin 644 firefox.png +MB5!.1PT*&@H````-24A$4@````X````."`8````?2"W1````!F)+1T0````` +M``#Y0[M_````"7!(67,```L3```+$P$`FIP8```"V$E$050HSRW2S4\49P`' +MX-]\SWZQR\[JK"Z"1N)'6*HV*"3-EO1$Q#36D&B;>,`FUM13O6J;ZL%K$S7: +M6C7QQD42XJ&]]-"+6()0M`HEJ!"799EU/V:&W7UG9]]YWQ[L\S<\`O[G*":R +MW_X*LU**L%WI_G@FE17#FD:LQFK-\S4_L&]F>N;<].$:EX +M["O<_V/YD-49?R!VQKJCF6T(]YC00BI8LX7:NQ((:6&K6%6(F1RHB7)^8=^! +MO^45_:6PH[;_G&L:>W@R"C<>@=YJ0Q"`UJJ%:K$*M2N%&.,(-%6O-]L71J:G +M?Y=6/Q[/+#KL!T):)BU7P$H5\':`(!8&E40$N@)N=(#*$KSJ%EJ.E^C@P:S< +M%L0T+6RFX-00"!Q.1Q3,WH(7BR`S:+Y>`2,NCQI')+FO._0^KH;> +MUS33A%\!7`N,430@P4L8$#450B&/X-5+!&X%L:A&>KJ2;^4+YW/KDX^79_+O +MZMG`:P&D##1LH+R)(!Q%D$@#8@P(.,`;R'1EW@P/9Y])\_/AX+-/NYW5Q?5< +MU;*3H!80>$"K#A`?("I`9*!)D(CQ^NCHX(WOKWSSFS0U]1-.GAPI%#?^K6]N +MK!RR[8TXY[(`[@*<`[X,-`HP.ID[>OSHPXL7C]^) +.<(X`````245.1*Y"8((` +` +end