[arch-commits] Commit in perl-www-curl/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Jun 1 12:26:50 UTC 2017


    Date: Thursday, June 1, 2017 @ 12:26:48
  Author: foutrelis
Revision: 232259

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

Added:
  perl-www-curl/repos/community-staging-i686/
  perl-www-curl/repos/community-staging-i686/PKGBUILD
    (from rev 232258, perl-www-curl/trunk/PKGBUILD)
  perl-www-curl/repos/community-staging-i686/curl-7.50.2.patch
    (from rev 232258, perl-www-curl/trunk/curl-7.50.2.patch)
  perl-www-curl/repos/community-staging-x86_64/
  perl-www-curl/repos/community-staging-x86_64/PKGBUILD
    (from rev 232258, perl-www-curl/trunk/PKGBUILD)
  perl-www-curl/repos/community-staging-x86_64/curl-7.50.2.patch
    (from rev 232258, perl-www-curl/trunk/curl-7.50.2.patch)

--------------------------------------------+
 community-staging-i686/PKGBUILD            |   49 +++++++++++++++++++++++++++
 community-staging-i686/curl-7.50.2.patch   |   25 +++++++++++++
 community-staging-x86_64/PKGBUILD          |   49 +++++++++++++++++++++++++++
 community-staging-x86_64/curl-7.50.2.patch |   25 +++++++++++++
 4 files changed, 148 insertions(+)

Copied: perl-www-curl/repos/community-staging-i686/PKGBUILD (from rev 232258, perl-www-curl/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-06-01 12:26:48 UTC (rev 232259)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-www-curl
+pkgver=4.17
+pkgrel=5
+pkgdesc="Perl/CPAN Module WWW::Curl"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/WWW-Curl/"
+license=("GPL" "PerlArtistic")
+depends=("curl")
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-${pkgver}.tar.gz"
+        'curl-7.50.2.patch')
+md5sums=('997ac81cd6b03b30b36f7cd930474845'
+         '84916bb88dd596cf9ec1a0924cd97913')
+
+prepare() {
+  cd WWW-Curl-${pkgver}
+
+  # https://rt.cpan.org/Public/Bug/Display.html?id=117793
+  patch -Np1 -i ../curl-7.50.2.patch
+}
+
+build() {
+  cd WWW-Curl-${pkgver}
+
+  PERL_USE_UNSAFE_INC=1 \
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd WWW-Curl-${pkgver}
+
+  make install DESTDIR="$pkgdir"
+
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+# 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;
+}

Copied: perl-www-curl/repos/community-staging-i686/curl-7.50.2.patch (from rev 232258, perl-www-curl/trunk/curl-7.50.2.patch)
===================================================================
--- community-staging-i686/curl-7.50.2.patch	                        (rev 0)
+++ community-staging-i686/curl-7.50.2.patch	2017-06-01 12:26:48 UTC (rev 232259)
@@ -0,0 +1,25 @@
+From 292c05a8aa9c18bd27d0aaff0b4ee601d9b87b92 Mon Sep 17 00:00:00 2001
+From: Slaven Rezic <cpansand at cvrsnica-freebsd-101.herceg.de>
+Date: Sun, 16 Apr 2017 22:17:00 +0200
+Subject: [PATCH] compilation fixes for curl 7.50.2 and newer (RT #117793)
+
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index f9170bb..bb852e4 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -127,7 +127,7 @@ if (!defined($curl_h)) {
+     close H;
+ 
+     for my $e (sort @syms) {
+-       if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
++       if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z)/) {
+           next;
+        }
+        my ($group) = $e =~ m/^([^_]+_)/;
+-- 
+2.1.2
+

Copied: perl-www-curl/repos/community-staging-x86_64/PKGBUILD (from rev 232258, perl-www-curl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-06-01 12:26:48 UTC (rev 232259)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-www-curl
+pkgver=4.17
+pkgrel=5
+pkgdesc="Perl/CPAN Module WWW::Curl"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/WWW-Curl/"
+license=("GPL" "PerlArtistic")
+depends=("curl")
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-${pkgver}.tar.gz"
+        'curl-7.50.2.patch')
+md5sums=('997ac81cd6b03b30b36f7cd930474845'
+         '84916bb88dd596cf9ec1a0924cd97913')
+
+prepare() {
+  cd WWW-Curl-${pkgver}
+
+  # https://rt.cpan.org/Public/Bug/Display.html?id=117793
+  patch -Np1 -i ../curl-7.50.2.patch
+}
+
+build() {
+  cd WWW-Curl-${pkgver}
+
+  PERL_USE_UNSAFE_INC=1 \
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd WWW-Curl-${pkgver}
+
+  make install DESTDIR="$pkgdir"
+
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+# 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;
+}

Copied: perl-www-curl/repos/community-staging-x86_64/curl-7.50.2.patch (from rev 232258, perl-www-curl/trunk/curl-7.50.2.patch)
===================================================================
--- community-staging-x86_64/curl-7.50.2.patch	                        (rev 0)
+++ community-staging-x86_64/curl-7.50.2.patch	2017-06-01 12:26:48 UTC (rev 232259)
@@ -0,0 +1,25 @@
+From 292c05a8aa9c18bd27d0aaff0b4ee601d9b87b92 Mon Sep 17 00:00:00 2001
+From: Slaven Rezic <cpansand at cvrsnica-freebsd-101.herceg.de>
+Date: Sun, 16 Apr 2017 22:17:00 +0200
+Subject: [PATCH] compilation fixes for curl 7.50.2 and newer (RT #117793)
+
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index f9170bb..bb852e4 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -127,7 +127,7 @@ if (!defined($curl_h)) {
+     close H;
+ 
+     for my $e (sort @syms) {
+-       if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
++       if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z)/) {
+           next;
+        }
+        my ($group) = $e =~ m/^([^_]+_)/;
+-- 
+2.1.2
+



More information about the arch-commits mailing list