Commit graph

35 commits

Author SHA1 Message Date
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
xtraeme
7ef55264b0 Update to 5.9
Changes:

	o Several fixes in maillogconvert.pl
	  Fixed wrong parsing for qmail log files.
	  Support mail errors in qmail log files.
	  Return code for postfix log were all reported in error for mails
	  sent to several recipients when one recipient was in error.
	o Fixed wrong percentage in cluster report.
	o Return code for postfix log were all reported in error for mails
	  sent to several recipients when one recipient was in error.
	o Fix a not closing HTML TR tag in full list of hosts.
	o awstats_buildstaticpages.pl can accept month on 1 digit.
	o awstats_buildstaticpages.pl no more try to build pages
	  awstats.misc.html and awstats.filetypes.html that does not
	  exists.

And more... review the website to see a full list of changes.
2004-01-12 23:53:50 +00:00
cjep
4f5c2da66c Use 75 ='s 2003-12-30 16:36:57 +00:00
seb
d50920b668 Fix REPLACE_PERL: pathnames listed should be relative to ${WRKSRC}. 2003-09-10 13:07:20 +00:00
xtraeme
252d9f7253 Change my email address to the NetBSD one, ok'ed by wiz@ 2003-08-28 20:05:13 +00:00
jschauma
0213d64a18 Initial import of www/awstats into pkgsrc, based on the package submitted
by juan at xtraeme dot dyndns dot org in PR pkg/19608:

AWStats is a short for Advanced Web Statistics. It's a free tool that
generates advanced web server access statistics graphically.

This web server log analyzer works as a CGI or from command line and
shows you all possible information your log contains, in few graphical
web pages. It uses a partial information file to be able to process
large log files, often and quickly.

It can analyze log files from IIS (W3C log format), Apache log files
(NCSA combined/XLF/ELF log format or common/CLF log format), WebStar
and some other web, proxy or WAP servers (and even some FTP servers).
2003-07-31 03:18:20 +00:00