diff options
author | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2017-03-16 20:56:43 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2017-03-16 20:56:43 +0000 |
commit | dc5ab845e0da9860c93a6a4970999535a354a84d (patch) | |
tree | 2910c43da359ec8e8efbe045db5ae2f4da5703c4 /www-misc/awstats/files | |
parent | Drop Id line from ebuilds. (diff) | |
download | jmbsvicetto-dc5ab845e0da9860c93a6a4970999535a354a84d.tar.gz jmbsvicetto-dc5ab845e0da9860c93a6a4970999535a354a84d.tar.bz2 jmbsvicetto-dc5ab845e0da9860c93a6a4970999535a354a84d.zip |
Drop Id line from ebuilds and old packages that I've left "rotting".
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Diffstat (limited to 'www-misc/awstats/files')
-rw-r--r-- | www-misc/awstats/files/awstats-7.1-gentoo.diff | 21 | ||||
-rw-r--r-- | www-misc/awstats/files/awstats-perl-5.22.patch | 45 |
2 files changed, 0 insertions, 66 deletions
diff --git a/www-misc/awstats/files/awstats-7.1-gentoo.diff b/www-misc/awstats/files/awstats-7.1-gentoo.diff deleted file mode 100644 index a58ed48..0000000 --- a/www-misc/awstats/files/awstats-7.1-gentoo.diff +++ /dev/null @@ -1,21 +0,0 @@ ---- awstats-6.3.orig/tools/awstats_configure.pl 2005-01-24 09:28:43.980923725 -0500 -+++ awstats-6.3/tools/awstats_configure.pl 2005-01-24 09:28:52.034571769 -0500 -@@ -658,6 +658,18 @@ - print "\n-----> Restart Web server with '$command'\n"; - my $ret=`$command`; - print "$ret"; -+ } elsif (-f "/etc/gentoo-release") { -+ my $command; -+ if (-x "/etc/init.d/apache2") { -+ $command="/etc/init.d/apache2 graceful"; -+ } else { -+ print "\n-----> Don't forget to restart manually your web server\n"; -+ } -+ if ($command != "") { -+ print "\n-----> Restart Web server with '$command'\n"; -+ my $ret=`$command`; -+ print "$ret"; -+ } - } elsif (-x "/sbin/service") { - # We are not on debian - my $command="/sbin/service httpd restart"; 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 8f4e1ca..0000000 --- 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 <eldy@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 |