aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-crypt-ssleay
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-06-15 13:49:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-15 20:07:15 +0000
commitb080aa03903097ff0b70c71506e4f839a9bbe8c8 (patch)
treebb47bf2a705f597d7f62488ad5dbe1064559cb20 /main/perl-crypt-ssleay
parentaa20572fc6299ef68e894f695d279f053c55f331 (diff)
downloadaports-b080aa03903097ff0b70c71506e4f839a9bbe8c8.tar.bz2
aports-b080aa03903097ff0b70c71506e4f839a9bbe8c8.tar.xz
main/perl-crypt-ssleay: rebuild against perl 5.26
Diffstat (limited to 'main/perl-crypt-ssleay')
-rw-r--r--main/perl-crypt-ssleay/APKBUILD20
-rw-r--r--main/perl-crypt-ssleay/Crypt-SSLeay-0.72-Fix-building-on-Perl-without-dot-in-INC.patch11
2 files changed, 23 insertions, 8 deletions
diff --git a/main/perl-crypt-ssleay/APKBUILD b/main/perl-crypt-ssleay/APKBUILD
index 119a12aa73..3e543c690e 100644
--- a/main/perl-crypt-ssleay/APKBUILD
+++ b/main/perl-crypt-ssleay/APKBUILD
@@ -4,7 +4,7 @@
pkgname=perl-crypt-ssleay
_realname=Crypt-SSLeay
pkgver=0.72
-pkgrel=5
+pkgrel=6
pkgdesc="OpenSSL Support for LWP"
url="http://search.cpan.org/dist/Crypt-SSLeay/"
arch="all"
@@ -15,7 +15,9 @@ depends="$cpandepends perl-path-class perl-try-tiny"
makedepends="zlib-dev libressl-dev perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/N/NA/NANIS/$_realname-$pkgver.tar.gz
- libressl.patch"
+ libressl.patch
+ Crypt-SSLeay-0.72-Fix-building-on-Perl-without-dot-in-INC.patch
+ "
builddir="$srcdir/$_realname-$pkgver"
@@ -27,7 +29,12 @@ prepare() {
build() {
cd "$builddir"
- make && make test
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
@@ -36,9 +43,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="77d955c9056dbb12413d95d8852a9cdf Crypt-SSLeay-0.72.tar.gz
-d6d9498d3e2239e31e390902859ac712 libressl.patch"
-sha256sums="f5d34f813677829857cf8a0458623db45b4d9c2311daaebe446f9e01afa9ffe8 Crypt-SSLeay-0.72.tar.gz
-54f5c501958c5547328b61836f4c9ab0f5fc129c2bf6e7c42cf61e029d508248 libressl.patch"
sha512sums="af7a2878df94e116e9aad9a0f028f2e4f89074aaf31672915162f86e55211632d65c1cb00f3ebd25644d77adf8eecdd244dba6a004d93ab90289ab34fe4caaf4 Crypt-SSLeay-0.72.tar.gz
-2e64924c2213368c1043afa01b622c8040d59cdf469be444885fb8e1f5c61c6755b427290cf7bba6e33f30f378a1910c56a3ae4306e4bd0f32f3e16335ada453 libressl.patch"
+2e64924c2213368c1043afa01b622c8040d59cdf469be444885fb8e1f5c61c6755b427290cf7bba6e33f30f378a1910c56a3ae4306e4bd0f32f3e16335ada453 libressl.patch
+c8362c5d6afcdf08f70e7aefde8c1b0bcb798093dad66d3c54324b8ce1e758be021cbc36c2fe5d91782dc8cd2d75ac65ac12271280da4743638e4d1df88be3f8 Crypt-SSLeay-0.72-Fix-building-on-Perl-without-dot-in-INC.patch"
diff --git a/main/perl-crypt-ssleay/Crypt-SSLeay-0.72-Fix-building-on-Perl-without-dot-in-INC.patch b/main/perl-crypt-ssleay/Crypt-SSLeay-0.72-Fix-building-on-Perl-without-dot-in-INC.patch
new file mode 100644
index 0000000000..7073b10a20
--- /dev/null
+++ b/main/perl-crypt-ssleay/Crypt-SSLeay-0.72-Fix-building-on-Perl-without-dot-in-INC.patch
@@ -0,0 +1,11 @@
+diff -up Crypt-SSLeay-0.72/Makefile.PL.orig Crypt-SSLeay-0.72/Makefile.PL
+--- Crypt-SSLeay-0.72/Makefile.PL.orig 2017-05-16 13:44:37.511126314 +0200
++++ Crypt-SSLeay-0.72/Makefile.PL 2017-05-16 13:45:31.141903223 +0200
+@@ -8,6 +8,7 @@ use Getopt::Long qw( GetOptionsFromArray
+ use Path::Class;
+ use Try::Tiny;
+
++BEGIN { push @INC, '.'; }
+ use inc::IO::Interactive::Tiny;
+
+ caller