head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.12 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.10 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.8 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.6 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.4 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.2 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.2.0.12 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.10 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.8 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.6 pkgsrc-2008Q1:1.2.0.4 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.2 pkgsrc-2007Q4-base:1.2; locks; strict; comment @# @; 1.3 date 2008.12.01.09.45.55; author tonnerre; state dead; branches; next 1.2; 1.2 date 2007.11.22.15.26.15; author martti; state Exp; branches; next 1.1; 1.1 date 2007.11.16.11.50.49; author martin; state Exp; branches; next ; desc @@ 1.3 log @Update webalizer to version 2.20-01. Other than 2.01-10, this version actually still exists. Changes since 2.01-10: * Fixed problem with timing totals. * Fixed referrer linking to avoid possible xss injection. * Fixed month change detection error that caused incorrect report dates when logs had a 'gap' longer than a year. * Fixed buffer overrun possibility in parsing code and user agent mangle logic. * Added symbolic link checks for file I/O to prevent possible privilege escalation exploits. Disallows reading from or writing to any file that is a symlink. Thanks to Julien Danjou. * Added code to preserve the history and incremental data files in the event of a crash before writing to them completely. Thanks to Robert Millan for the idea and initial code. * Added native geolocation services, which fully supports both IPv4 and IPv6 lookups. Adds the configuration keywords 'GeoDB' and 'GeoDBDatabase' along with the '-j' and '-J' command line options. * Added 'wcmgr', "The Webalizer (DNS) Cache file Manager" to the distribution to provide cache file maintenance. See the supplied man page for a description and usage information. * Changed history code and main index page to allow for more than 12 months of reports to be displayed. Added the config keywords 'IndexMonths' (-K command line option), 'GraphMonths' (-k command line option) and 'YearHeaders' to control how index is displayed. * Changed Berkeley DB code to use current 4.x APIs. * Added support for bzip2 compressed log files (.bz2) as a compile time option (--enable-bz2). If enabled, bzipped files will be decompressed automatically during processing. * Added support for W3C formatted logs. Based on code submitted by Klaus Reimer. * Added GeoIP support as compile time option (--enable-geoip). Adds 'GeoIP' and 'GeoIPDatabase' config keywords, '-w' and '-W' command line options. (http://www.maxmind.com/) * Added IPv6 support. Based on initial code by Jose Carlos Meneiros and modified to support Solaris and other problematic platforms. * Added 'CacheIPs' config option to allow saving unresolved addresses in the DNS cache. * Added 'CacheTTL' config option which allows the DNS cache time to live (TTL) value to be specified at run-time. * Added 'SearchCaseI' config option to specify if search strings should be treated as case insensitive or not. The default value, 'yes', causes search strings to be treated as case insensitive. * Added 'HTAccess' config option. Allows writing a default .htaccess file to the output directory. * Added ability to display flags in the top country table. Adds the config keywords 'CountryFlags' and 'FlagDir', and -z command line option. * Added 'StripCGI' config option to configure how CGI variables on the end of URLs are treated (can now be stripped or left in place). * Added 'DefaultIndex' config option to enable/disable the use of "index." as a default index name to be stripped from the end of URLs. * Added 'TrimSquidURL' config option to allow squid log URLs to be reduced in granularity by a user definable amount. Thanks to code submitted by Stuart Gall. * Added 'OmitPage' config option (and the '-O' command line switch) to prevent specified URLs from being counted as pages even if they otherwise would be. Thanks to code submitted by Adam Morton. * Added 'IgnoreState' config option (and the -b command line switch) to allow ignoring any existing incremental data file (similar to the IgnoreHist/-i option). * Changed logic to always generate summary report (index.html), even if no records were processed. * Added color support to allow changing graph colors. Based on the Webalizer-usecolor code submitted by Benoit Rouits. Adds 11 new config options, see the README file for complete descriptions. * Added language 'lang=' specification in generated HTML files. * Added 'LinkReferrer' config option to allow/disallow links in the top referrers table. * Added 'PagePrefix' config option to allow URL prefix matches to be counted as pages, regardless of file extension or type. Thanks to code submitted by Remco Van de Meent. * Enabled large file support (LFS) to support logs greater than 2Gb in size on systems that support LFS. Also increased the size of most internal counters to handle larger sites. * Minor changes to generated HTML output * Updated language files country codes for current IANA TLDs * Changed the meaning of the -v command line switch. It now causes verbose information to be displayed at run-time (Informational and Debug messages). * Changed Group* config options to allow a quoted string for the match string. This allows spaces to be embedded in the string. * Changed log record parsing logic to allow spaces in URLs. * Made configuration keywords, boolean configuration values (yes/no), and log file types case insensitive. Also fixed defaults for invalid values to reflect documented defaults. * Changed configure script to use --sysconfdir to specify the location of the default webalizer.conf configuration file. Also added support for DESTDIR during install to aid binary package builds. @ text @$NetBSD: patch-af,v 1.2 2007/11/22 15:26:15 martti Exp $ --- configure.orig 2000-10-06 10:51:48.000000000 +0300 +++ configure 2007-11-22 10:52:18.000000000 +0200 @@@@ -1216,8 +1216,8 @@@@ cat conftest.$ac_ext >&5 fi rm -f conftest* -test "$ac_cv_search_dbopen" = "no" && for i in db db1; do -LIBS="-l$i $ac_func_search_save_LIBS" +if test "$ac_cv_search_dbopen" = "no"; then +LIBS="${BDB_LIBS} $ac_func_search_save_LIBS" cat > conftest.$ac_ext <&5 fi rm -f conftest* -done +fi LIBS="$ac_func_search_save_LIBS" fi @ 1.2 log @Regenerated patch-af @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2007/11/16 11:50:49 martin Exp $ @ 1.1 log @The pkg did not fully work on archs with no db1 builtin, as discussed on tech-pkg. Thanks to various people for all the input. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- configure.orig 2007-11-16 11:46:40.000000000 +0100 +++ configure 2007-11-16 11:49:51.000000000 +0100 @@@@ -1243,8 +1243,8 @@@@ d14 1 a14 1 #line 1250 "configure" d16 1 a16 1 @@@@ -1266,7 +1266,7 @@@@ @