wok-next rev 15374
Up apache-mod-perl (2.0.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 17 18:09:17 2013 +0000 (2013-10-17) |
parents | 9ff4123e36f3 |
children | 51a1ebbda768 |
files | apache-mod-perl/receipt |
line diff
1.1 --- a/apache-mod-perl/receipt Thu Oct 17 16:55:23 2013 +0000 1.2 +++ b/apache-mod-perl/receipt Thu Oct 17 18:09:17 2013 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="apache-mod-perl" 1.7 -VERSION="2.0.7" 1.8 +VERSION="2.0.8" 1.9 CATEGORY="network" 1.10 SHORT_DESC="PERL module for Apache" 1.11 MAINTAINER="erjo@slitaz.org" 1.12 @@ -9,7 +9,7 @@ 1.13 SOURCE="mod_perl" 1.14 TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 WEB_SITE="http://perl.apache.org/" 1.16 -WGET_URL="http://perl.apache.org/dist/$TARBALL" 1.17 +WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$TARBALL" 1.18 1.19 DEPENDS="apache" 1.20 BUILD_DEPENDS="perl gdbm-dev apache-dev apr-dev apr-util-dev apache" 1.21 @@ -18,10 +18,12 @@ 1.22 compile_rules() 1.23 { 1.24 cd $src 1.25 - sed -i 's/c->remote_ip/r->useragent_ip/' \ 1.26 - src/modules/perl/modperl_interp.c 1.27 perl Makefile.PL MP_APXS=/usr/bin/apxs \ 1.28 - MP_APR_CONFIG=/usr/bin/apr-1-config && 1.29 + MP_APR_CONFIG=/usr/bin/apr-1-config 1.30 + sed -i 's/remote_ip/client_ip/;s/remote_addr/client_addr/' \ 1.31 + WrapXS/Apache2/Connection/Connection.xs 1.32 + sed -i 's/>loglevel/>log.level/' \ 1.33 + WrapXS/Apache2/ServerRec/ServerRec.xs 1.34 make && 1.35 make DESTDIR=$DESTDIR install 1.36 } 1.37 @@ -35,4 +37,3 @@ 1.38 cp -a $install/usr/share/apache $fs/usr/share 1.39 1.40 } 1.41 -