commit:     23fad879002b02610bdaf76e403f123fc36a170e
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Jul 19 15:08:49 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 19 23:51:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23fad879

www-misc/awstats: remove unused patch

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16745
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-misc/awstats/files/awstats-perl-5.22.patch | 45 --------------------------
 1 file changed, 45 deletions(-)

diff --git a/www-misc/awstats/files/awstats-perl-5.22.patch 
b/www-misc/awstats/files/awstats-perl-5.22.patch
deleted file mode 100644
index 8f4e1cac2c0..00000000000
--- a/www-misc/awstats/files/awstats-perl-5.22.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 6ca56baf8e5819787c128e5ccd741701cb84bfdd Mon Sep 17 00:00:00 2001
-From: Laurent Destailleur <e...@destailleur.fr>
-Date: Tue, 18 Aug 2015 20:41:20 +0200
-Subject: [PATCH] Compatibility with Perl 5.22
-
----
- docs/awstats_changelog.txt |  1 +
- wwwroot/cgi-bin/awstats.pl | 12 ++++++------
- 2 files changed, 7 insertions(+), 6 deletions(-)
-
-diff --git a/docs/awstats_changelog.txt b/docs/awstats_changelog.txt
-index 1fcca7f..1b5e342 100644
---- a/docs/awstats_changelog.txt
-+++ b/docs/awstats_changelog.txt
-@@ -8,6 +8,7 @@ New features:
-   option nboflastupdatelookuptosave on command line.
- - #199 Added geoip6 plugin with support for IPv4 AND IPv6.
- - Work with Amazon AWS log files (using %time5 tag). 
-+- Compatibility with Perl 5.22
- 
- Fixes:
- - Fixes permission on some .pl scripts.
-diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl
-index c9dcee9..eb14fc0 100755
---- a/wwwroot/cgi-bin/awstats.pl
-+++ b/wwwroot/cgi-bin/awstats.pl
-@@ -9040,12 +9040,12 @@ sub DefinePerlParsingFormat {
-               $LogFormatString =~ s/%>s/%code/g;
-               $LogFormatString =~ s/%b(\s)/%bytesd$1/g;
-               $LogFormatString =~ s/%b$/%bytesd/g;
--              $LogFormatString =~ s/\"%{Referer}i\"/%refererquot/g;
--              $LogFormatString =~ s/\"%{User-Agent}i\"/%uaquot/g;
--              $LogFormatString =~ s/%{mod_gzip_input_size}n/%gzipin/g;
--              $LogFormatString =~ s/%{mod_gzip_output_size}n/%gzipout/g;
--              $LogFormatString =~ 
s/%{mod_gzip_compression_ratio}n/%gzipratio/g;
--              $LogFormatString =~ s/\(%{ratio}n\)/%deflateratio/g;
-+              $LogFormatString =~ s/\"%\{Referer}i\"/%refererquot/g;
-+              $LogFormatString =~ s/\"%\{User-Agent}i\"/%uaquot/g;
-+              $LogFormatString =~ s/%\{mod_gzip_input_size}n/%gzipin/g;
-+              $LogFormatString =~ s/%\{mod_gzip_output_size}n/%gzipout/g;
-+              $LogFormatString =~ 
s/%\{mod_gzip_compression_ratio}n/%gzipratio/g;
-+              $LogFormatString =~ s/\(%\{ratio}n\)/%deflateratio/g;
- 
-               # Replacement for a IIS and ISA format string
-               $LogFormatString =~ s/cs-uri-query/%query/g;    # Must be 
before cs-uri

Reply via email to