AWStats is short for Advanced Web Statistics. It's a free tool that
generates advanced web (but also ftp or mail) server statistics,
graphically.
This log analyzer works as a CGI or from command line and shows you
all possible information that your logs contain, in a 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 most of all web, proxy, WAP, and streaming servers (and FTP
servers or mail logs).
===> The following configuration options are available for awstats-8.0_1,1:
DOCS=on: Build and/or install documentation
GEOIPFREE=off: Country lookups via Geo::IPfree
IPV6=on: IPv6 protocol support
====> Plugin support not present in Perl CORE
DECODEUTFKEYS=off: DecodeUTFKeys (requires p5-URI)
HOSTINFO=on: HostInfo (requires p5-Net-XWhois)
JSON=off: JSON (requires p5-JSON-XS, p5-Try-Tiny)
===> Use 'make config' to modify these settings
www/awstats: Remove awdownloadcsv.pl (security vuln)
Problem:
awdownloadcsv.pl is vulnerable to command injection and path traversal,
ref [1] and [2].
The GitHub issue [1] mentions that it is deprecated, and the readme does
not list this file among the files that are (supposed to be) part of the
distribution.
Solution:
This commit prevents awdownloadcsv.pl to be installed, thus removing the
vulnerability.
[1] https://github.com/eldy/AWStats/issues/276
[2] https://www.openwall.com/lists/oss-security/2026/03/08/8
While here, clean up sorting of IPV6_RUN_DEPENDS.
PR: 293698
MFH: 2026Q1
www/awstats: Replace post-patch-JSON-on with post-patch-JSON-off
We have to remove these 2 lines if JSON is disabled.
PR: 289419
Fixes: ddc678c6a7e2 (Update 7.9 => 8.0)
www/awstats: Update 7.9 => 8.0
Changelog:
- Better CSS
- Update robots.pm
- Fixes #248
- Update Traditional Chinese translation and migrate it to UTF-8
- Sorting tree: Check if the key exists. Do not care about its value.
- Allow processing logs in json
- Fix default setup for NotPageList
- Add report about request time
- Fix bad link into doc
- Remove native Android and native iOS/OSX Browser's User Agents from robots.pm
- GPTBot not being properly identified due to error in robots.pm
- Incorrect encoding for Ukrainian Translation
(Only the first 15 lines of the commit message are shown above )
www/awstats: update to 7.9
ChangeLog: https://awstats.sourceforge.io/docs/awstats_changelog.txt
* Add Windows 11 and Android 13 operating systems
* Update Hungarian translation and migrate it to UTF-8.
* fix cross site scripting
* Replace hard coded text with $Message ( Monthly, Daily, Hourly )
* Android 11 + 12, MacOS 11 ( Big Sur ) + 12 ( Monterey )
* Catch up german translations
* Change the substitution that replaces newlines with BR elements so that
the syntax works for both HTML and XHTML.
* Added a few robots and 1 phone browser. Also corrected some errors in
devlop robots.pm
* Only look for configuration in dedicated awstats directories
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org>
(Only the first 15 lines of the commit message are shown above )
Update to 7.5. While here, completely rewrite the Makefile. Use sed
instead of hard patches to minimize maintainership, and drastically
simplify the installation process. Add some OPTIONS to handle
dependencies on country lookups.
Previously, the path to the icons was being manually changed from
".../icon" to ".../icons". With this update, the port now installs
into the default location (.../icon). The awstatsicons alias will
need to be manually updated for existing installations; this is
explained in UPDATING.
Also, I am taking this port from the previous maintainer. It has
been over two years since he responded to a PR, and this is the
third in a row that has had no response. Under section 5.5 of the
PHB, I am considering this port to be abandoned. I'd like to thank
Alex for all the time that he did spend maintaining this port.
PR: 210821
Approved by: maintainer timeout (2 weeks)
Update to 7.1.1.
CHANGES:
- Add windows 8 detection
- Add support of %time5 for iso date times.
- Fix problems with Perl 5.14
PR: ports/177757
Submitted by: Frank Wall <fw@moov.de>
Approved by: maintainer timeout (38 days)
- Perl 5.14 changes format of compiled regexps.
This update amends the pattern awstats uses to parse
compiled regexps to cater for the new 5.14 format
PR: ports/158837
Submitted by: Jase Thew <freebsd@beardz.net>
Approved by: Alex Samorukov <samm@os2.kiev.ua> (maintainer)
- Tweak upstream configure script to run on FreeBSD [1]
- Replace spaces with tabs to pacify portlint
PR: ports/153449 [1]
Submitted by: Chris Petrik <c.petrik.sosa@gmail.com>
Approved by: Alex Samorukov <samm@os2.kiev.ua> (maintainer)
Feature safe: yes
- Update to 6.9
Changes 6.9:
New features/improvements:
- 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.
(Only the first 15 lines of the commit message are shown above )
- revert earlier commit, as version 6.6 is not a stable version,
and developer is continuesly re-rolling tarball.
In addition, the application fails to run.
Requested by: maintainer
- Tarball has been rerolled (cosmetic changes and small bug fixes)
- bump PORTREVISION
PR: 61918
Submitted by: Xin LI <delphij@frontfree.net>
Approved by: Chris Stuart <webmaster@lightningfire.net> (maintainer)
- Update to 6.0 [1]
- Take maintainership for safe-keeping, since maintainer email address bounces.
I'll retry within two weeks, if it still bounces, I'll ask submitter if he
wants
to maintain this port.
PR: 61795 [1]
Submitted by: Xin LI <delphij@frontfree.net>