Commit graph

55 commits

Author SHA1 Message Date
gls
bfba5293e5 Fix behavior with perl 5.14.
From Nils Ratusznik per PR pkg/45743.
2012-02-13 22:34:38 +00:00
minskim
ba8818e422 Fix XSS vulnerabilities in awstats.
Patch from awstat's CVS repo.
2012-02-05 23:58:07 +00:00
hauke
fd967e7a1a Set DIST_SUBDIR, to avoid problems for those who already have the old
distfile.
2011-05-30 09:31:25 +00:00
hauke
567fe5b621 Since the PLIST has changed minimally, bump the nb version. 2011-05-27 15:04:19 +00:00
hauke
53aee51e46 The specified distfile, as identified by the distinfo checksum and
mirrored by NetBSD.org, had completely hosed file permissions; plus,
it differed in size (but not version) from the distfile available from
the sourceforge project site.

Since the latter actually works, I updated the checksum to use it.
2011-05-27 15:02:03 +00:00
adam
26ee08aff5 Changes 7.0:
New features/improvements:
- Detect Windows 7.
- Can format numbers according to language.
- More mime types.
- Added geoip_asn_maxmind plugin.
- Geoip Maxmind city plugin have now override file capabilities to complete
  missing entries in geoip maxmind database.
- Added graphgooglechartapi to use online Google chart api to build graph.
- Can show map of country to report countries when using graphgooglechartapi.
- Part of codes was change to use more functions and have a cleaner code.
- Added parameter to ignore missing log files when merging for a site on
  multiple servers where a single server may not have created a log for a given day.
- Update robots database.
- Added Download tracking where certain mime types are defined as downloads
  and HTTP status 206 is tracked as download continuation
- Can use wrapper with parameters in WrapperScript parameter.
- Change to allow usage of AWStats inside a plugin
  for Opensource Dolibarr ERP & CRM software (http://www.dolibarr.org).
Fixes:
- Webmin module works with new version of webmin.
- Security fix (Traverse directory of LoadPlugin)
- Security fix (Limit config to defined directory to avoid access to external
  config file via a nfs or webdav link).
2010-11-09 07:14:48 +00:00
fhajny
afc08b62b3 Updated awstats to 6.96.
New features/improvements:
* Fix security in awredir.pl script by adding a security key required by
  default.
* Enhance security of parameter sanitizing function.
* Add name of config file used to build data files inside data files header.
* Added details of version for Chrome, Opera, Safari and Konqueror browsers.
* Add AdobeAir detection.
* Major update of browsers, robots and search_engines databases (among them,
  the Bing search engine).
* Increase seriously bot detection.
* Add Brezhoneg language.
* Add a better way to detect Safari versions.
* Added subpages for geoip maxmind modules in awstats_buildstaticpages.

Fixes:
* Fix typo in polish language file
* awstats emmits ton of warnings with new geoipfree - ID: 2794728
* Fix: can detect robots with robots.txt url even if file is not root.
* Other minor fixes.

pkgsrc changes:
* Patch XML encoding problem when the AT&T searchbot is encountered.
2010-02-02 11:20:29 +00:00
minskim
345d110326 Make awstats work with the recent version of p5-Geo-IPfree.
Patch from awstats-6.95beta.
2009-09-19 00:05:02 +00:00
joerg
e031855e4a Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +00:00
adam
018949743d Changes 6.9:
* With postfix that support DSN (Delivery Status Notifications) we exclude
  some lines to avoid counting mails twice in maillogconvert.pl script.
* Logresolvemerge.pl support FreeRADIUS logs or anything else using
  (the fixed length!) ctime format timestamp.
* Add option stoponfirsteof in logresolvemerge tool.
* Add patch to support host_proxy tag in LogFormat (for Apache LogFormat
  containing %{X-Forwarded-For}i)
* Renamed Add to favourites on "Hit on favicon".
* Increase robots, search engines database (Added Google Chrome browser,
  better Vista, WII, detection, ...)
* Update languages files.
* Added a lot of patch from sourceforge.
* Bug fixes.
2009-01-15 12:12:04 +00:00
adam
81f63756a0 Changes 6.8:
New features/improvements:
- Added OnlyUsers option.
- Can track RPC request.
- HTMLHeadSection can accept \n in string.
- Add option MetaRobot.
- Increase seriously bot detection.
- Better detection of windows OS.
- Add condition HOSTINLOG in extra sections.
- Can show a full list for extrasection.

Fixes:
- Fixed pb in xml output for history files.
- Fixed a bug in awstats_configure.pl script.

Other/Documentation:
- Updated some language files.
- Updated documentation.
- Updated browsers database.
- Added a more complete xslt example.
- Remove some deprecated code.
- Update status of GeoIP City plugin database. A free version is
  now available like GeoIP Country database.
2008-09-11 10:37:11 +00:00
minskim
ca7a2c024f Fix XSS (http://secunia.com/advisories/31519/). Bump PKGREVISION. 2008-08-20 21:20:33 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
joerg
a8a3c01339 Explicitly add pax dependency in those Makefiles that use it (or have
patches to add it). Drop pax from the default USE_TOOLS list.
Make bsdtar the default for those places that wanted gtar to extract
long links etc, as bsdtar can be built of the tree.
2008-05-25 21:42:20 +00:00
adam
cb1303f426 Changes 6.7:
New features/improvements:
- Full support for -day option. To build different report for each day
- Added virtualenamequot tag
- Added option NotPageList
- Addes .jobs and .mobi domains
Fixes:
- Minor bug in awstats_configure.pl
Other/Documentation:
- Updated some language files.
- Updated browsers database.
2008-04-07 07:21:00 +00:00
adrianp
e34d778df6 Add in an options.mk for Geo IP Free 2008-01-03 12:37:06 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
minskim
bbf3fbc199 Update awstats for the new distfile with the same version number. Changes
include recognizing more search engines and documentation improvements.

Bump PKGREVISION.
2007-02-20 18:29:49 +00:00
joerg
4a620384cf Revert to PKGNAME as DISTDIR. 2007-02-20 16:44:50 +00:00
rillig
e184fb13d7 Fixed pkglint warnings and cleaned up the Makefile. 2007-02-15 15:00:21 +00:00
adrianp
a77041ab58 Update DIST_SUBDIR as it looks like the tarball on the awstats site
has been re-generated.
2006-07-29 05:50:35 +00:00
minskim
34b02718be Fix more hardcoded paths. Based on patches submitted by Yoshito Komatsu
in PR pkg/33514.  Bump PKGREVISION.
2006-06-13 17:02:04 +00:00
minskim
beffbbba82 Set DIST_SUBDIR due to distfile changes. Mainly documentation and warning message changes. The browsers database was also updated.
Bump PKGREVISION.
2006-06-05 18:04:25 +00:00
adrianp
e8ff705807 Fix a problem with perl warnings and static page generation.
ok'ed minskim@
2006-05-30 19:50:25 +00:00
minskim
b6cd93276a Fix http://www.debian.org/security/2006/dsa-1075. Patch from Debian
GNU/Linux.

Bump PKGREVISION.
2006-05-30 04:33:12 +00:00
minskim
43653612d0 Correct file names. Reported by Yoshito Komatsu in PR pkg/33501. 2006-05-17 16:39:47 +00:00
minskim
f261deaa76 Update awstats to 6.6.
Major changes since 6.4:
- Fixed CVE-2006-2237.
- All geoip plugins support the PurePerl version.
- Possible use of vhost in extra section.
- Support IPv6 in AllowAccessFromWebToFollowingIPAddresses parameter.
- Added svn family to browsers detection.
- RSS catcher/readers in robot database.
- LogFormat=2 can now change its value dynamically if logformat change.
- More new features and bug fixes.
2006-05-16 18:13:55 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
rillig
0328a3975c Fixed pkglint warnings. 2005-09-28 12:11:29 +00:00
adrianp
e649d47090 - awstats_configure.pl now works
- awstats.pl will now look in @PKG_SYSCONFDIR@/awstats for config  files
- create datadir with correct permissions under @VARBASE@/awstats
- update MESSAGE telling user than can now use @PKG_SYSCONFDIR@ awstats
- fix location of apache log dirs so they match the pkgsrc default
- fix location of apache conf dirs so they match the pkgsrc default
- bump PKGREVISION
2005-08-26 20:22:56 +00:00
adrianp
2c71fcdac1 Patch from awstats CVS for CAN-2005-1527
Bump to nb1
2005-08-20 14:28:03 +00:00
minskim
30ae8921c8 Update awstats to 6.4.
Changes:
- Add option ShowSummary.
- If Geoip plugin is enabled, add a column in Host report.
- Other minor changes on geoip and hostinfo plugins to enhance look.
- If LogFormat is 2, AWStats autodetect log format change.
- Add a way to set ArchiveLogRecords with same tags than LogFile to
  add suffix to archived log files.
- 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.
- Fix errors for setup to analyze media servers.
- If there is no referer field in the log format, do not use them in the
  errors reports.
- Label of real player ("media player", not "audio player")
- configdir option was broken on windows servers (Pb on Sanitize function
  on windows local use).
- Minor fixes.
- Fix: [ 1094056 ] Bad html-output for maillogs
- Fix: [ 1094060 ] More bad html/xml output
- Fix: [ 1100550 ] Missing flag icon for euskera
- Fix: [ 1111817 ] AllowToUpdateStatsFromBrowser defaults to 1 contrary
  to docs
2005-08-14 15:33:44 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
snj
7919071dc9 Drop trailing whitespace. 2005-02-15 21:13:34 +00:00
minskim
5c3f0ccfa5 Security fix for http://www.securityfocus.com/archive/1/390368.
Patches from awstats CVS.

Bump PKGREVISION.
2005-02-15 15:55:25 +00:00
minskim
2e6e30d6e7 Bump PKGREVISION due to distfile change.
This fixes PR pkg/29210.
2005-02-13 15:29:15 +00:00
minskim
4b02653377 Distfile changed without bumping the version number. Noted by adrianp@.
diff(1) shows that some default values have been changed.

Set DIST_SUBDIR and bump PKGREVISION.
2005-01-26 15:55:41 +00:00
minskim
13586a79d7 Correct PLIST and file permission. Noted by salo@.
Bump PKGREVISION.
2005-01-19 12:49:33 +00:00
minskim
4ac59a8964 Update awstats to 6.3.
Changes:

New features/improvements:
- Added the geoip_isp_maxmind and geoip_org_maxmind plugin.
- Details firefox versions.

Fixes:
- The geoip_city_maxmind plugin was sometimes bind and towns with
  space in names are reported correctly.
- Removed an unknown security hole.
- Removed an other unknown security hole (found by iDEFENSE).
- Restart of apache works correctly on debian.

Other/Documentation:
- Updated documentation
- Updated language files
2005-01-18 13:37:26 +00:00
minskim
8740efec0a Update awstats to 6.2 and take maintainership.
Changes:
- awstats_updateall.pl: Added -excludeconf option
- Allow plugins to add entry in menu.
- Allow plugins to add charts with its own way to compile data inside
the update process.
- Added the geoip_region_maxmind and geoip_city_maxmind plugins.
- maillogconvert.pl: Support postfix 2.1 that change its log
format using NOQUEUE string instead of a number for mails that are
rejected before being queued.
- Little speed improvments.
- Counts javascript disabled browsers (A new MiscTracker feature).
- When a direct access to last line is successfull, awstats is directly
in mode "NewLine". No need to find a more recent record for this. This
means the NotSortedRecordTolerance works even between end and start
of updates.
- You can use a particular not used field in your log file to build
a personalized report with the ExtraSection feature. Just use a personalized
log format and use the tag %extraX (where X is a number) to name field you
want to use, then, in ExtraSection parmaters, you can use extraX to tell
wich info to use to extract data for building the chart.
- Support method "put" when analyzing ftp log files.
- Added a bold style around current day/month in label of charts.
- Bug fixes and documentation improvements.
2004-12-29 10:22:27 +00:00
minskim
01b4c803c6 Update awstats to 6.1.
Changes:
New features/improvements:
- The BuildHistoryFormat can now accept xml to build the AWStats
  database in xml. The XML schema is available in tools/xslt directory.
- Added an example of xslt style sheet to use AWStats XML database.
- Added %time4 flag for LogFormat to support unix timestamp date format.
- Added Firefox to browser database.
- Added option IncludeInternalLinksInOriginSection (defined to 0
  by default).
- Added field to choose size of list limit (rawlog plugin).
- Added ExtraSectionCodeFilterX parameters.
- PDF detection works also for browsers that support PDF 6 only.
- maillogconvert.pl:
  Added an automatic year adjustment for sendmail/postfix log
  files that does not store the log. This solve problems for mail
  analyses around new year.
- Added tooltips for mail reports (tooltips plugin).
  Changed look of the summary report to prepare add of new informations.
- Added failed mails number in the summary.
- AllowAccessFromWebToFollowingAuthenticatedUsers is no more case
  sensitive.
- Added new functions for plugins: AddHTMLMenuHeader, AddHTMLMenuFooter,
  AddHTMLContentHeader, AddHTMLContentFooter
- Added detection of Camino web browser (old Chimera).
- Full updated robots database.

Fixes:
- Removed warning "Bizarre copy of ARRAY" with new Perl 5.8.4.
- Fixed syntax error in Year view when xhtml output is selected.
- Fixed a problem of not working misc feature when using IIS and
  when URLWithQuery was set to 0.
- Now all non ISO-8859-1 languages are shown correctly even with
  Apache2, whatever is the value of the AddDefaultCharset directive.
- Some plugins broke the xhtml output.
- Fixed wrong results for compression ratios when using mod_gzip and
  %gzip_ratio tag.
- Fixed old bug showing string "SCALAR(0x8badae4)" inside html reports
  when using mod_perl.
- Fixed the not allowed GET method when LogType=S.
- maillogconvert.pl: Better management of error records with sendmail
  and postfix (some "reject" records were discarded).
- maillogconvert.pl: Fixed important bug where records were discarded
  when server name was a FQDN.
- configure.pl: Now works also on Mac OS X
- configure.pl: If /etc/awstats directory does not exist, try to
  create it. If /etc/awstats.model.conf not found on Linux, try to
  find it in cgi-bin directory.
- Fixed some bugs when BuildReportOutput is set to xhtml (rawlog plugin)
  plugin.
- Number of shown lines were one more than required (rawlog plugin).
- xhtml output broken for some 404 reports.

Other/Documentation:
- BuildReportOutput=xml renamed into BuildReportOutput=xhtml
- Added arabic language file.
- Updated language file.
- Updated documentation.
- maillogconvert.pl:
  Update value of NBOFENTRYFOFLUSH
2004-06-23 18:40:41 +00:00
xtraeme
8d2bb7dcb6 Drop maintainership; I don't have the enough free time to maintain
all these packages.
2004-05-07 01:14:46 +00:00
snj
744218de39 Convert to buildlink3. 2004-04-30 05:25:59 +00:00
recht
f29386a6e4 update to 6.0
Fixes:
- Fixed bug 599388: Search engines are not detected if domain is IP
  address.
- Fixed bug 711758.
- Fixed bug 812681: bad case for ENV expansion in awstats.conf.
- Fixed bug 813908: Incomplete documentation
- Fixed bug 816267: onedigit dayofmonth breaks syslog regex
- Fixed bug 817287,830458: wrong regexp in Read_DNS_Cache subroutine
- Fixed bug 817388: lib/referer_spam.pm & lib/robots.pm
- Fixed bug 818704: Warning in IPv6 plugin when no reverse DNS
- Fixed bug 841877: regex bug for parsing log lines
- Fixed bug 846365: relative path not working for DirData.
- Fixed value for ValueSMTPCodes if not defined in config file.
- Fixed pb when country code is not same than lang code (example:
  estonian has lang code 'et' and country code 'ee').
- Replaced Kb/visits to Kb/mails for mail log analysis.
- Remove some warnings that appears when running perl -W
- Other minor bugs (814970,823064,823323,831438,836315).
- Fixed bug in counting hits for miscellanous and clusters chart when
  a temporary flush was done on disk during a long update.
- ExtraSections now works on all records whatever is the status code.
- Click on "Summary" now returns to top of page even with rawlog plugin.
- Fix in log parsing that should reduce dropped records to only records
  that match a dropping criteria (SkipFiles, Skip..., Only...).
- Click on "Summary" now returns to top of page even with rawlog plugin.
- Fixed AmigaVoyager detection.
- Fixed bug in SkipHosts filter for mail log files.
- Fixed not working link for search keywords/keyphrase in menu with FireBird.
- Fixed pb in loading plugins with mod_perl2.
- Fixed not found relative DirData path with some Perl/OS versions.
- Fixed error in awstats_updateall.pl when current directory, while running
  it, is where awstats.pl is stored.

New features/improvements:
- Increased speed by 10 to 20%.
- Added a Worms report (Added LevelForWormsDetection and
  ShowWormsStats parameter).
- Added report for "not viewed" traffic in Summary report.
- Monthly history report has been extracted from the Summary report.
- Some changes to make AWStats to be XML compliant ready.
  Need to set the new parameter BuildReportFormat to 'xml' in config file.
  Added also the BuildHistoryFormat parameter (Even if only 'text' is
  supported for the moment).
- A lot of part of codes have been rewritten to make code more easy to
  understand and reduce unknown bugs.
- The link to whois informations for a host, provided by hostinfo plugin,
  has been replaced by an internal 'whois' showing in a popup window full
  whois informations whatever is the TLD of IP or host name.
- A new search engine database to allow several "match id" for same
  search engine. Example: All google ip referer id are recognised.
- Can use UA and HOST fields to build personalized ExtraSection reports.
- Added support for AND conditions in personalized ExtraSection config.
- Support for right to left languages. Added 'he' language.
- Added LevelForSearchEnginesDetection parameter to choose between 2 possible
  levels of detection for search engines (like LevelForRobotsDetection).
  Also, added LevelForFileTypesDetection parameter (2 possible levels).
- Added percent column for file types.
- The robot chart now shows details between hits on robots.txt file and
  other hits.
- Count of keywords/keyphrases does not increment counter for hits made
  on images from a google cached page.
- Added patch 857319: Allow several IPs and IP ranges in
  AllowAccessFromWebToFollowingIPAddresses parameter.
- Added experimental graphapplet plugin (graph are built by applet).
- Webmin module updated to 1.210 to integrate all new parameters.
- Better setup error messages for newbie.
- Reports look better on Mozilla browsers.
- Added decodeUTFkeys plugin to AWStats to show correctly (in language
  charset) keywords/keyphrases strings even if they were UTF8 coded by
  the referer search engine.
- Added/updated a lot of os, browser and country icons.
- Added Hebrew and Galician language.
- configure.pl: A new script to configure AWStats and Apache and
  build a simple config file.
- awstats_buildstaticpages.pl: The -date option has been replaced
  by the -buildate=%YY%MM%DD option so you can choose your own date format.
- awstats_buildstaticpages.pl: Added the -configdir option.
- awstats_exportlib.pl: Changes to be compatible with new AWStats databases.
- logresolvemerge.pl: can use several threads for reverse DNS lookup
  with Perl 5.8.
- maillogconvert.pl: Allow to process qmail log preprocessed by
  tai64nlocal tool.
- maillogconvert.pl: Added support for MDaemon mail server log files.

Other/Documentation:
- A httpd.conf sample to configure AWStats is provided.
- Added example for analyzing awredir.pl hits by ExtraSections.
- Updated database:
  wget is known as a "grabber" browser, no more as a robots.
  netcaptor and apt-get added in browser database.
  asmx and aspx added in mime.pm file.
  Microsoft URL Control added in robot list.
- Documentation seriously updated.
- FAQ updated.
2004-03-12 21:50:54 +00:00
grant
fee65a86fd fix incorrect usage of ${LOWER_OPSYS} in PLIST. 2004-02-11 12:18:10 +00:00
xtraeme
f4c01882a5 Use `*.pl' instead of specify every file to REPLACE_PERL. 2004-01-12 23:58:43 +00:00