Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7b6a92e2026e80c57cc825f371b88f511c122855

commit 7b6a92e2026e80c57cc825f371b88f511c122855
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sun Apr 20 16:32:22 2008 +0200

mod_perl-2.0.4-1-i686
- version bump

diff --git a/source/network-extra/mod_perl/FrugalBuild 
b/source/network-extra/mod_perl/FrugalBuild
index b221f9f..5c48c34 100644
--- a/source/network-extra/mod_perl/FrugalBuild
+++ b/source/network-extra/mod_perl/FrugalBuild
@@ -2,17 +2,16 @@
# Maintainer: Zsolt Szalai <[EMAIL PROTECTED]>

pkgname=mod_perl
-pkgver=2.0.3
-pkgrel=2
+pkgver=2.0.4
+pkgrel=1
pkgdesc="mod_perl is the marriage of Apache and Perl"
url="http://perl.apache.org/start/index.html";
depends=('apr-util' 'perl>=5.8.7-2' 'apache')
groups=('network-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://perl.apache.org/download/index.html|grep Version|sed 
's/.*Version \(.*\) - .*/\1/;q'"
-source=(http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz 
RegistryCooker.patch)
-sha1sums=('e5d8b3cd7273c284cfbd79acb953ce179322bdc9'\
-          'be4887aa6ba38a8cba5f1ceff1ccdd69e539a44c')
+source=(http://perl.apache.org/dist/mod_perl-$pkgver.tar.gz)
+signatures=($source.asc)
options=('nofakeroot')

build()
@@ -23,11 +22,13 @@ build()
else
unset rmhosts
fi
-       Fpatchall
+       Fcd
perl Makefile.PL MP_APXS=/usr/sbin/apxs
make || return 1
Fmakeinstall
-       [ "$rmhosts" ] && rm /etc/hosts
+       if [ "$rmhosts" ]; then
+               rm /etc/hosts
+       fi
}

# optimization OK
diff --git a/source/network-extra/mod_perl/RegistryCooker.patch 
b/source/network-extra/mod_perl/RegistryCooker.patch
deleted file mode 100644
index f95dc85..0000000
--- a/source/network-extra/mod_perl/RegistryCooker.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Naurp mod_perl-2.0.3-old/Changes mod_perl-2.0.3/Changes
---- mod_perl-2.0.3-old/Changes 2006-11-29 03:02:17.000000000 -0500
-+++ mod_perl-2.0.3/Changes     2007-03-30 19:05:50.000000000 -0400
-@@ -10,6 +10,11 @@ Also refer to the Apache::Test changes l
-
- =over 3
-
-+=item 2.0.4-dev
-+
-+fix unescaped variable interprolation in regular expression
-+[Randal L. Schwartz <merlyn[at]stonehenge.com>, Fred Moyer 
<fred[at]redhotpenguin.com>]
-+
- =item 2.0.3 November 28, 2006
-
- Prevent things in %INC that are not stat() able
-diff -Naurp mod_perl-2.0.3-old/ModPerl-Registry/lib/ModPerl/RegistryCooker.pm 
mod_perl-2.0.3/ModPerl-Registry/lib/ModPerl/RegistryCooker.pm
---- mod_perl-2.0.3-old/ModPerl-Registry/lib/ModPerl/RegistryCooker.pm  
2006-11-19 18:31:41.000000000 -0500
-+++ mod_perl-2.0.3/ModPerl-Registry/lib/ModPerl/RegistryCooker.pm      
2007-03-30 19:08:05.000000000 -0400
-@@ -337,7 +337,7 @@ sub namespace_from_uri {
-     my $self = shift;
-
-     my $path_info = $self->{REQ}->path_info;
--    my $script_name = $path_info && $self->{URI} =~ /$path_info$/
-+    my $script_name = $path_info && $self->{URI} =~ /\Q$path_info\E$/
-         ? substr($self->{URI}, 0, length($self->{URI}) - length($path_info))
-         : $self->{URI};
-
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to