summaryrefslogtreecommitdiff
path: root/extra/mod_perl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mod_perl/PKGBUILD')
-rw-r--r--extra/mod_perl/PKGBUILD41
1 files changed, 25 insertions, 16 deletions
diff --git a/extra/mod_perl/PKGBUILD b/extra/mod_perl/PKGBUILD
index 0d257544b..f333c0aeb 100644
--- a/extra/mod_perl/PKGBUILD
+++ b/extra/mod_perl/PKGBUILD
@@ -1,29 +1,36 @@
-# $Id: PKGBUILD 131985 2011-07-18 18:21:39Z foutrelis $
-# Maintainer: Firmicus <francois.archlinux.org>
+# $Id: PKGBUILD 160497 2012-06-02 10:26:43Z bluewind $
+# Maintainer:
+# Contributor: Firmicus <francois.archlinux.org>
# Contributor: Tom K <tomk@runbox.com>
pkgname=mod_perl
-pkgver=2.0.5
-pkgrel=8
+pkgver=2.0.6
+pkgrel=1
pkgdesc="Apache module that embeds the Perl interpreter within the server"
-url="http://search.cpan.org/dist/${pkgname}/"
-depends=('perl' 'apache' 'db' 'apr-util' 'perl-linux-pid')
-license=('APACHE')
arch=('i686' 'x86_64')
-options=(!emptydirs)
-source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/${pkgname}-${pkgver}.tar.gz
- nolfs.patch)
-md5sums=('03d01d135a122bd8cebd0cd5b185d674'
- '088e082afef57f92f234a01269e24ce5')
+url="http://perl.apache.org/"
+license=('APACHE')
+depends=('perl' 'apache' 'db' 'apr-util' 'perl-linux-pid')
+options=('!emptydirs')
+source=(http://perl.apache.org/dist/$pkgname-$pkgver.tar.gz
+ mod_perl-2.0.6-nolfs.patch
+ mod_perl-2.0.6-perl-5.16-fixes.patch)
+sha256sums=('8cf768d2c55291e10542ef8d9a4f4ebe835365e43b4584771e654079405827dc'
+ '5d1b6a051d847108b23b5dc06ea5885c37dd81d3a9156b69d179d95b5cf92f08'
+ 'c6cde22806b1b2d919545b21c49536c8c377c8d1f921e8948e1289bb2ab413d9')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "$srcdir/$pkgname-$pkgver"
# Patch from openSUSE to fix segfaults on i686 (FS#25008):
# avoid a conflict between apache's LARGEFILE64_SOURCE and perl's
# FILE_OFFSET_BITS=64 because the conflict isn't real and causes the perl
# structures to be invalid if only the apache flags are used
- patch -Np1 -i "$srcdir/nolfs.patch"
+ patch -Np1 -i "$srcdir/mod_perl-2.0.6-nolfs.patch"
+
+ # Fix build with Perl 5.16
+ # http://search.cpan.org/dist/perl-5.16.0/pod/perldelta.pod#$%3C,_$%3E,_$%28_and_$%29_are_no_longer_cached
+ patch -Np1 -i "$srcdir/mod_perl-2.0.6-perl-5.16-fixes.patch"
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs
@@ -31,6 +38,8 @@ build() {
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make install DESTDIR=${pkgdir}
+ cd "$srcdir/$pkgname-$pkgver"
+ make install DESTDIR="$pkgdir"
}
+
+# vim:set ts=2 sw=2 et: