[arch-commits] Commit in mod_perl/repos (6 files)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Sun May 19 22:22:14 UTC 2013
Date: Monday, May 20, 2013 @ 00:22:13
Author: foutrelis
Revision: 185958
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
mod_perl/repos/staging-i686/
mod_perl/repos/staging-i686/PKGBUILD
(from rev 185957, mod_perl/trunk/PKGBUILD)
mod_perl/repos/staging-i686/mod_perl-2.0.6-nolfs.patch
(from rev 185957, mod_perl/trunk/mod_perl-2.0.6-nolfs.patch)
mod_perl/repos/staging-x86_64/
mod_perl/repos/staging-x86_64/PKGBUILD
(from rev 185957, mod_perl/trunk/PKGBUILD)
mod_perl/repos/staging-x86_64/mod_perl-2.0.6-nolfs.patch
(from rev 185957, mod_perl/trunk/mod_perl-2.0.6-nolfs.patch)
-------------------------------------------+
staging-i686/PKGBUILD | 43 ++++++++++++++++++++++++++++
staging-i686/mod_perl-2.0.6-nolfs.patch | 13 ++++++++
staging-x86_64/PKGBUILD | 43 ++++++++++++++++++++++++++++
staging-x86_64/mod_perl-2.0.6-nolfs.patch | 13 ++++++++
4 files changed, 112 insertions(+)
Copied: mod_perl/repos/staging-i686/PKGBUILD (from rev 185957, mod_perl/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-05-19 22:22:13 UTC (rev 185958)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer:
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: Tom K <tomk at runbox.com>
+
+pkgname=mod_perl
+pkgver=2.0.8
+pkgrel=1
+pkgdesc="Apache module that embeds the Perl interpreter within the server"
+arch=('i686' 'x86_64')
+url="http://perl.apache.org/"
+license=('APACHE')
+depends=('perl' 'apache' 'db' 'apr-util' 'perl-linux-pid')
+options=('!emptydirs')
+source=(http://apache.org/dist/perl/$pkgname-$pkgver.tar.gz
+ mod_perl-2.0.6-nolfs.patch)
+sha256sums=('35dc1b7a40a90a395ce88bba2df84f22289975f34d1757de6d715560c20a20e6'
+ '5d1b6a051d847108b23b5dc06ea5885c37dd81d3a9156b69d179d95b5cf92f08')
+
+prepare() {
+ 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/mod_perl-2.0.6-nolfs.patch"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make install DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: mod_perl/repos/staging-i686/mod_perl-2.0.6-nolfs.patch (from rev 185957, mod_perl/trunk/mod_perl-2.0.6-nolfs.patch)
===================================================================
--- staging-i686/mod_perl-2.0.6-nolfs.patch (rev 0)
+++ staging-i686/mod_perl-2.0.6-nolfs.patch 2013-05-19 22:22:13 UTC (rev 185958)
@@ -0,0 +1,13 @@
+diff -upr mod_perl-2.0.6.orig/lib/Apache2/Build.pm mod_perl-2.0.6/lib/Apache2/Build.pm
+--- mod_perl-2.0.6.orig/lib/Apache2/Build.pm 2012-05-26 22:31:00.000000000 +0300
++++ mod_perl-2.0.6/lib/Apache2/Build.pm 2012-05-26 22:31:32.000000000 +0300
+@@ -2207,7 +2207,8 @@ sub has_large_files_conflict {
+ # with it is that we didn't have such a case yet, but may need to
+ # deal with it later
+
+- return $perl_lfs64 ^ $apr_lfs64;
++ return 0;
++ # $perl_lfs64 ^ $apr_lfs64;
+ }
+
+ # if perl is built with uselargefiles, but apr not, the build won't
Copied: mod_perl/repos/staging-x86_64/PKGBUILD (from rev 185957, mod_perl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-05-19 22:22:13 UTC (rev 185958)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer:
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: Tom K <tomk at runbox.com>
+
+pkgname=mod_perl
+pkgver=2.0.8
+pkgrel=1
+pkgdesc="Apache module that embeds the Perl interpreter within the server"
+arch=('i686' 'x86_64')
+url="http://perl.apache.org/"
+license=('APACHE')
+depends=('perl' 'apache' 'db' 'apr-util' 'perl-linux-pid')
+options=('!emptydirs')
+source=(http://apache.org/dist/perl/$pkgname-$pkgver.tar.gz
+ mod_perl-2.0.6-nolfs.patch)
+sha256sums=('35dc1b7a40a90a395ce88bba2df84f22289975f34d1757de6d715560c20a20e6'
+ '5d1b6a051d847108b23b5dc06ea5885c37dd81d3a9156b69d179d95b5cf92f08')
+
+prepare() {
+ 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/mod_perl-2.0.6-nolfs.patch"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make install DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: mod_perl/repos/staging-x86_64/mod_perl-2.0.6-nolfs.patch (from rev 185957, mod_perl/trunk/mod_perl-2.0.6-nolfs.patch)
===================================================================
--- staging-x86_64/mod_perl-2.0.6-nolfs.patch (rev 0)
+++ staging-x86_64/mod_perl-2.0.6-nolfs.patch 2013-05-19 22:22:13 UTC (rev 185958)
@@ -0,0 +1,13 @@
+diff -upr mod_perl-2.0.6.orig/lib/Apache2/Build.pm mod_perl-2.0.6/lib/Apache2/Build.pm
+--- mod_perl-2.0.6.orig/lib/Apache2/Build.pm 2012-05-26 22:31:00.000000000 +0300
++++ mod_perl-2.0.6/lib/Apache2/Build.pm 2012-05-26 22:31:32.000000000 +0300
+@@ -2207,7 +2207,8 @@ sub has_large_files_conflict {
+ # with it is that we didn't have such a case yet, but may need to
+ # deal with it later
+
+- return $perl_lfs64 ^ $apr_lfs64;
++ return 0;
++ # $perl_lfs64 ^ $apr_lfs64;
+ }
+
+ # if perl is built with uselargefiles, but apr not, the build won't
More information about the arch-commits
mailing list