[arch-commits] Commit in mod_perl/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Jun 28 09:25:11 UTC 2015


    Date: Sunday, June 28, 2015 @ 11:25:11
  Author: foutrelis
Revision: 135936

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mod_perl/repos/community-i686/PKGBUILD
    (from rev 135935, mod_perl/trunk/PKGBUILD)
  mod_perl/repos/community-x86_64/PKGBUILD
    (from rev 135935, mod_perl/trunk/PKGBUILD)
Deleted:
  mod_perl/repos/community-i686/PKGBUILD
  mod_perl/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  102 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   38 ----------------
 community-x86_64/PKGBUILD |   38 ----------------
 3 files changed, 102 insertions(+), 76 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-06-28 09:25:00 UTC (rev 135935)
+++ community-i686/PKGBUILD	2015-06-28 09:25:11 UTC (rev 135936)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Firmicus <francois.archlinux.org>
-# Contributor: Tom K <tomk at runbox.com>
-
-pkgname=mod_perl
-pkgver=2.0.8
-pkgrel=4
-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)
-makedepends=(subversion)
-options=(!emptydirs)
-# upstream from http://apache.org/dist/perl/$pkgname-$pkgver.tar.gz is not ready for apache 2.4 yet
-# See the discussion http://mail-archives.apache.org/mod_mbox/perl-modperl/201402.mbox/thread
-# But trunk seems almost ready for Apache 2.4
-# http://mail-archives.apache.org/mod_mbox/perl-modperl/201408.mbox/browser
-source=(mod_perl::svn+http://svn.apache.org/repos/asf/perl/modperl/trunk#revision=1654615)
-sha256sums=('SKIP')
-
-build() {
-  cd mod_perl
-  perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/bin/apxs
-  make
-}
-
-check() {
-  cd mod_perl
-  # tests are very flaky
-  # make test
-}
-
-package() {
-  cd mod_perl
-  make install DESTDIR="$pkgdir"
-}

Copied: mod_perl/repos/community-i686/PKGBUILD (from rev 135935, mod_perl/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-06-28 09:25:11 UTC (rev 135936)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer:
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: Tom K <tomk at runbox.com>
+
+pkgname=mod_perl
+pkgver=2.0.9
+pkgrel=2
+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/mod_perl-2.0.9.tar.gz{,.asc}
+        undefined_symbol.patch::http://pkgs.fedoraproject.org/cgit/mod_perl.git/plain/mod_perl-2.0.4-inline.patch?h=f22)
+validpgpkeys=(2026E6A4A6A4483E61BA6F3FAB34BA0040E92ECE)
+sha256sums=('0260f26ab771c1c95fadc67544b3400e420bb30b8a77565d2d02ad05498ef52b'
+            'SKIP'
+            '08cd008e25d3eee44f477c744f50e574e2cb9853556d268ba06e8b3cb33341e4')
+
+prepare() {
+  cd mod_perl-$pkgver
+  # FS#45392
+  patch -p1 < ../undefined_symbol.patch
+}
+
+build() {
+  cd mod_perl-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/bin/apxs
+  make
+}
+
+check() {
+  cd mod_perl-$pkgver
+  # tests are very flaky
+  # make test
+}
+
+package() {
+  cd mod_perl-$pkgver
+  make install DESTDIR="$pkgdir"
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-06-28 09:25:00 UTC (rev 135935)
+++ community-x86_64/PKGBUILD	2015-06-28 09:25:11 UTC (rev 135936)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Firmicus <francois.archlinux.org>
-# Contributor: Tom K <tomk at runbox.com>
-
-pkgname=mod_perl
-pkgver=2.0.8
-pkgrel=4
-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)
-makedepends=(subversion)
-options=(!emptydirs)
-# upstream from http://apache.org/dist/perl/$pkgname-$pkgver.tar.gz is not ready for apache 2.4 yet
-# See the discussion http://mail-archives.apache.org/mod_mbox/perl-modperl/201402.mbox/thread
-# But trunk seems almost ready for Apache 2.4
-# http://mail-archives.apache.org/mod_mbox/perl-modperl/201408.mbox/browser
-source=(mod_perl::svn+http://svn.apache.org/repos/asf/perl/modperl/trunk#revision=1654615)
-sha256sums=('SKIP')
-
-build() {
-  cd mod_perl
-  perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/bin/apxs
-  make
-}
-
-check() {
-  cd mod_perl
-  # tests are very flaky
-  # make test
-}
-
-package() {
-  cd mod_perl
-  make install DESTDIR="$pkgdir"
-}

Copied: mod_perl/repos/community-x86_64/PKGBUILD (from rev 135935, mod_perl/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-06-28 09:25:11 UTC (rev 135936)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer:
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: Tom K <tomk at runbox.com>
+
+pkgname=mod_perl
+pkgver=2.0.9
+pkgrel=2
+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/mod_perl-2.0.9.tar.gz{,.asc}
+        undefined_symbol.patch::http://pkgs.fedoraproject.org/cgit/mod_perl.git/plain/mod_perl-2.0.4-inline.patch?h=f22)
+validpgpkeys=(2026E6A4A6A4483E61BA6F3FAB34BA0040E92ECE)
+sha256sums=('0260f26ab771c1c95fadc67544b3400e420bb30b8a77565d2d02ad05498ef52b'
+            'SKIP'
+            '08cd008e25d3eee44f477c744f50e574e2cb9853556d268ba06e8b3cb33341e4')
+
+prepare() {
+  cd mod_perl-$pkgver
+  # FS#45392
+  patch -p1 < ../undefined_symbol.patch
+}
+
+build() {
+  cd mod_perl-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/bin/apxs
+  make
+}
+
+check() {
+  cd mod_perl-$pkgver
+  # tests are very flaky
+  # make test
+}
+
+package() {
+  cd mod_perl-$pkgver
+  make install DESTDIR="$pkgdir"
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}



More information about the arch-commits mailing list