Merge pull request #3397 from lazka/remove-perl-Crypt-SSLeay

Remove perl-Crypt-SSLeay
This commit is contained in:
Christoph Reiter 2022-12-11 15:42:20 +01:00 committed by GitHub
commit 20bc621849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 66 deletions

View File

@ -1,43 +0,0 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_realname=Crypt-SSLeay
pkgname=perl-${_realname}
pkgver=0.73_06
pkgrel=7
pkgdesc="OpenSSL glue that provides LWP https support"
arch=('i686' 'x86_64')
url="https://metacpan.org/release/Crypt-SSLeay"
groups=('perl-modules')
license=('GPL' 'PerlArtistic')
makedepends=('openssl-devel' 'perl-devel' 'gcc')
depends=('perl-LWP-Protocol-https' 'perl-Try-Tiny' 'perl-Path-Class')
options=('!emptydirs')
source=(https://www.cpan.org/CPAN/authors/id/N/NA/NANIS/Crypt-SSLeay-${pkgver}.tar.gz
find-tiny.patch)
sha256sums=('f8ecca45c87eb91325992b13f0594f808e6f1bc4c3b9a7f141b9a838384d252c'
'a395f76c901510bf83d15354045ce7a04e49c169716f6be19ddc328228bf7d4f')
prepare() {
cd "${srcdir}/Crypt-SSLeay-${pkgver}"
patch -p1 -i ${srcdir}/find-tiny.patch
}
build() {
cd "${srcdir}/Crypt-SSLeay-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${srcdir}/Crypt-SSLeay-${pkgver}"
make test
}
package() {
cd "${srcdir}/Crypt-SSLeay-${pkgver}"
make install DESTDIR="${pkgdir}"
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name '*.pod' -delete
}

View File

@ -1,23 +0,0 @@
diff --git a/Makefile.PL b/Makefile.PL
index fcc3a7d..937789a 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -8,8 +8,14 @@ use ExtUtils::MakeMaker;
use File::Spec::Functions qw( catfile rel2abs );
use Getopt::Long qw( GetOptionsFromArray );
-unless( require( catfile qw(inc IO Interactive Tiny.pm) ) ) {
- die 'Your distribution is incomplete: Failed to load bundled IO::Interactive::Tiny';
+BEGIN {
+ # Must use a bundled version
+ # "./" prefix required to subvert @INC traversal
+ # "catfile" not useful here as it eats "." and may produces wrong \
+ # under windows ( require always takes / )
+ local $@;
+ eval { require "./inc/IO/Interactive/Tiny.pm" } or
+ die "Your distribution is incomplete: Failed to load bundled IO::Interactive::Tiny\n$@";
}
run(\@ARGV, [qw{ssl crypto ssl32 ssleay32 eay32 libeay32 z}]);
--
2.13.1