View | Details | Raw Unified | Return to bug 158837
Collapse All | Expand All

(-)/usr/ports/www/awstats/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	awstats
8
PORTNAME=	awstats
9
PORTVERSION=	7.0
9
PORTVERSION=	7.0
10
PORTREVISION=	1
10
PORTREVISION=	2
11
PORTEPOCH=	1
11
PORTEPOCH=	1
12
CATEGORIES=	www
12
CATEGORIES=	www
13
MASTER_SITES=	SF/${PORTNAME}/AWStats/${PORTVERSION}
13
MASTER_SITES=	SF/${PORTNAME}/AWStats/${PORTVERSION}
(-)/usr/ports/www/awstats/files/patch-wwwroot-cgi-bin-awstats.pl (-3 / +23 lines)
Lines 1-6 Link Here
1
--- wwwroot/cgi-bin/awstats.pl.orig	2009-10-10 08:36:38.000000000 -0400
1
--- wwwroot/cgi-bin/awstats.pl.orig	2011-07-06 08:11:37.000000000 +0100
2
+++ wwwroot/cgi-bin/awstats.pl	2009-10-28 21:33:22.000000000 -0400
2
+++ wwwroot/cgi-bin/awstats.pl	2011-07-06 08:16:32.000000000 +0100
3
@@ -3040,7 +3040,7 @@
3
@@ -1353,9 +1353,7 @@
4
 #------------------------------------------------------------------------------
5
 sub OptimizeArray {
6
 	my $array = shift;
7
-	my @arrayunreg = map {
8
-		if (/\(\?[-\w]*:(.*)\)/) { $1 }
9
-	} @$array;
10
+	my @arrayunreg = map { UnCompileRegex($_) } @$array;
11
 	my $notcasesensitive = shift;
12
 	my $searchlist       = 0;
13
 	if ($Debug) {
14
@@ -3049,7 +3047,7 @@
4
 # Debian package :                    		"/usr/share/awstats/plugins"
15
 # Debian package :                    		"/usr/share/awstats/plugins"
5
 	my @PossiblePluginsDir = (
16
 	my @PossiblePluginsDir = (
6
 		"$DIR/plugins",
17
 		"$DIR/plugins",
Lines 9-11 Link Here
9
 		"/usr/share/awstats/plugins"
20
 		"/usr/share/awstats/plugins"
10
 	);
21
 	);
11
 	my %DirAddedInINC = ();
22
 	my %DirAddedInINC = ();
23
@@ -7809,7 +7807,7 @@
24
 # Return:		standardregex
25
 #------------------------------------------------------------------------------
26
 sub UnCompileRegex {
27
-	shift =~ /\(\?[-\w]*:(.*)\)/;
28
+	shift =~ /\(\?[-^\w]*:(.*)\)/;
29
 	return $1;
30
 }
31
 

Return to bug 158837