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
 * Unwrap SRS e-mail addresses
 * Fixes #195/CVE-2020-35176
 * As geoip2_country doesn't have AddHTMLGraph_geoip2_country, it should
   only generate subpage for geoip2_city.
 * added support for HaikuOS and Safari based WebPositive browser
 * Adding missing td-tag opening
 * Tajik Language Support

PR:		269051
Reported by:	vidar@karlsen.tech (maintainer)
MFH:		2023Q1 (security fixes)
Security:	CVE-2020-35176
This commit is contained in:
Vidar Karlsen 2023-01-21 18:06:39 +01:00 committed by Fernando Apesteguía
parent a889d31f36
commit dec81534f1
3 changed files with 19 additions and 11 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= awstats
PORTVERSION= 7.8
PORTVERSION= 7.9
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/AWStats/${PORTVERSION}
@ -13,30 +13,30 @@ LICENSE_FILE= ${WRKSRC}/docs/LICENSE.TXT
USES= cpe dos2unix perl5 shebangfix
CPE_VENDOR= laurent_destailleur
DOS2UNIX_GLOB= *.xml *.pm
USE_PERL5= run
SHEBANG_GLOB= *.pl *.pm
DOS2UNIX_GLOB= *.xml *.pm
NO_BUILD= yes
NO_ARCH= yes
USE_PERL5= run
NO_BUILD= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS GEOIPFREE IPV6
OPTIONS_GROUP= MODULES
OPTIONS_DEFAULT= HOSTINFO
OPTIONS_GROUP= MODULES
OPTIONS_GROUP_MODULES= DECODEUTFKEYS HOSTINFO
MODULES_DESC= Plugin support not present in Perl CORE
DECODEUTFKEYS_DESC= DecodeUTFKeys (requires p5-URI)
GEOIPFREE_DESC= Country lookups via Geo::IPfree
HOSTINFO_DESC= HostInfo (requires p5-Net-XWhois)
MODULES_DESC= Plugin support not present in Perl CORE
DECODEUTFKEYS_RUN_DEPENDS= p5-URI>0:net/p5-URI
GEOIPFREE_RUN_DEPENDS= p5-Geo-IPfree>=0:net/p5-Geo-IPfree
HOSTINFO_RUN_DEPENDS= p5-Net-XWhois>=0:net/p5-Net-XWhois
IPV6_RUN_DEPENDS= p5-Net-IP>=0:net-mgmt/p5-Net-IP \
p5-Net-DNS>=0:dns/p5-Net-DNS
DECODEUTFKEYS_RUN_DEPENDS= p5-URI>0:net/p5-URI
HOSTINFO_RUN_DEPENDS= p5-Net-XWhois>=0:net/p5-Net-XWhois
pre-patch:
# This file is so messed up, not even dos2unix can fix it

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1602848441
SHA256 (awstats-7.8.tar.gz) = 4a65867e01bef6a9bdba3e9e411fb2a0e0d87bc4c85ff02e3cbfca001a04d4b8
SIZE (awstats-7.8.tar.gz) = 2938878
TIMESTAMP = 1674072959
SHA256 (awstats-7.9.tar.gz) = 615178ed313d34315f15a522db1a5d12ca9c395e3785bb06280abff95d9a0546
SIZE (awstats-7.9.tar.gz) = 2948602

View File

@ -128,6 +128,7 @@
%%WWWDIR%%/cgi-bin/lang/awstats-si.txt
%%WWWDIR%%/cgi-bin/lang/awstats-sk.txt
%%WWWDIR%%/cgi-bin/lang/awstats-sr.txt
%%WWWDIR%%/cgi-bin/lang/awstats-tg.txt
%%WWWDIR%%/cgi-bin/lang/awstats-th.txt
%%WWWDIR%%/cgi-bin/lang/awstats-tr.txt
%%WWWDIR%%/cgi-bin/lang/awstats-tw.txt
@ -673,6 +674,9 @@
%%WWWDIR%%/icon/os/amigaos.png
%%WWWDIR%%/icon/os/android.png
%%WWWDIR%%/icon/os/android10.png
%%WWWDIR%%/icon/os/android11.png
%%WWWDIR%%/icon/os/android12.png
%%WWWDIR%%/icon/os/android13.png
%%WWWDIR%%/icon/os/androidcupcake.png
%%WWWDIR%%/icon/os/androiddonut.png
%%WWWDIR%%/icon/os/androideclair.png
@ -706,6 +710,7 @@
%%WWWDIR%%/icon/os/dreamcast.png
%%WWWDIR%%/icon/os/freebsd.png
%%WWWDIR%%/icon/os/gnu.png
%%WWWDIR%%/icon/os/haiku.png
%%WWWDIR%%/icon/os/hpux.png
%%WWWDIR%%/icon/os/ibm.png
%%WWWDIR%%/icon/os/imode.png
@ -734,6 +739,8 @@
%%WWWDIR%%/icon/os/linuxzenwalk.png
%%WWWDIR%%/icon/os/mac.png
%%WWWDIR%%/icon/os/macintosh.png
%%WWWDIR%%/icon/os/macos11.png
%%WWWDIR%%/icon/os/macos12.png
%%WWWDIR%%/icon/os/macosx.png
%%WWWDIR%%/icon/os/macosx10.png
%%WWWDIR%%/icon/os/macosx11.png
@ -768,6 +775,7 @@
%%WWWDIR%%/icon/os/wii.png
%%WWWDIR%%/icon/os/win.png
%%WWWDIR%%/icon/os/win10.png
%%WWWDIR%%/icon/os/win11.png
%%WWWDIR%%/icon/os/win16.png
%%WWWDIR%%/icon/os/win2000.png
%%WWWDIR%%/icon/os/win2003.png