[arch-commits] Commit in perl-lwp-protocol-https/repos/extra-any (4 files)
Date: Thursday, December 17, 2020 @ 20:52:16 Author: felixonmars Revision: 404461 archrelease: copy trunk to extra-any Added: perl-lwp-protocol-https/repos/extra-any/PKGBUILD (from rev 404460, perl-lwp-protocol-https/trunk/PKGBUILD) perl-lwp-protocol-https/repos/extra-any/certs.patch (from rev 404460, perl-lwp-protocol-https/trunk/certs.patch) Deleted: perl-lwp-protocol-https/repos/extra-any/PKGBUILD perl-lwp-protocol-https/repos/extra-any/certs.patch -+ PKGBUILD| 74 - certs.patch | 86 +- 2 files changed, 80 insertions(+), 80 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-12-17 20:52:01 UTC (rev 404460) +++ PKGBUILD2020-12-17 20:52:16 UTC (rev 404461) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan - -pkgname=perl-lwp-protocol-https -pkgver=6.09 -pkgrel=1 -pkgdesc="Provide https support for LWP::UserAgent" -arch=('any') -url="https://metacpan.org/release/LWP-Protocol-https"; -license=('PerlArtistic' 'GPL') -depends=('ca-certificates' 'perl-io-socket-ssl' 'perl-net-http' 'perl-libwww') -checkdepends=('perl-test-requiresinternet') -options=('!emptydirs') -source=("https://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-$pkgver.tar.gz"; -certs.patch) -sha512sums=('53e1ec7dec04988c3c7fa70a5f0ed60c382709fe99a7cfeb84db0c40f5ff6f6f94aa4aa639498af6d0bc201dcb7e6e3491bae96411250ef50b010d32add1' - '96f401471199c368895eb9b0e819a7287ed9e25953f756585ef7e809010e5d19c8b0614f3cd99cad0c33ca7c9a609ceea4b90569d3f7dec546cc8eeecd810d26') - -prepare() { - cd LWP-Protocol-https-${pkgver} - patch -p1 -i ../certs.patch -} - -build() { - cd LWP-Protocol-https-${pkgver} - perl Makefile.PL INSTALLDIRS=vendor - make -} - -check() { - cd LWP-Protocol-https-${pkgver} - make test -} - -package() { - cd LWP-Protocol-https-${pkgver} - make DESTDIR="$pkgdir" install -} Copied: perl-lwp-protocol-https/repos/extra-any/PKGBUILD (from rev 404460, perl-lwp-protocol-https/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-12-17 20:52:16 UTC (rev 404461) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan + +pkgname=perl-lwp-protocol-https +pkgver=6.10 +pkgrel=1 +pkgdesc="Provide https support for LWP::UserAgent" +arch=('any') +url="https://metacpan.org/release/LWP-Protocol-https"; +license=('PerlArtistic' 'GPL') +depends=('ca-certificates' 'perl-io-socket-ssl' 'perl-net-http' 'perl-libwww') +checkdepends=('perl-test-requiresinternet') +options=('!emptydirs') +source=("https://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-$pkgver.tar.gz"; +certs.patch) +sha512sums=('4d3c89dab6fadcb574c176977ca6debba177ee3f817e87319d9cd81e0a0b09214e271c2e97edc456dad2f4a1ebf8c6266a4ae52c3a93144880a5b32db97e7a31' + '96f401471199c368895eb9b0e819a7287ed9e25953f756585ef7e809010e5d19c8b0614f3cd99cad0c33ca7c9a609ceea4b90569d3f7dec546cc8eeecd810d26') + +prepare() { + cd LWP-Protocol-https-${pkgver} + patch -p1 -i ../certs.patch +} + +build() { + cd LWP-Protocol-https-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd LWP-Protocol-https-${pkgver} + make test +} + +package() { + cd LWP-Protocol-https-${pkgver} + make DESTDIR="$pkgdir" install +} Deleted: certs.patch === --- certs.patch 2020-12-17 20:52:01 UTC (rev 404460) +++ certs.patch 2020-12-17 20:52:16 UTC (rev 404461) @@ -1,43 +0,0 @@ -diff --git a/Makefile.PL.orig b/Makefile.PL -index fc8ef4a..26313e2 100644 a/Makefile.PL.orig -+++ b/Makefile.PL -@@ -26,7 +26,6 @@ my %WriteMakefileArgs = ( - "IO::Socket::SSL" => "1.54", - "LWP::Protocol::http" => 0, - "LWP::UserAgent" => "6.06", --"Mozilla::CA" => 20180117, - "Net::HTTPS" => 6, - "base" => 0, - "strict" => 0 -diff --git a/lib/LWP/Protocol/https.pm.orig b/lib/LWP/Protocol/https.pm -index ed4d832..b8667cf 100644 a/lib/LWP/Protocol/https.pm.orig -+++ b/lib/LWP/Protocol/https.pm -@@ -25,25 +25,7 @@ sub _extra_sock_opts - } - if ($ssl_opts{SSL_verify_mode}) { - unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) { -- eval { -- require Mozilla::CA; -- }; -- if ($@) { -- if ($@ =~ /^Can't locate Mozilla\/CA\.pm/) { -- $@ = <<'EOT'; --Can't verify SSL peers without knowing which Certificate Authorities to trust -- --This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE --environment variable or by installing the Mozilla::CA module. -- --To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME --environment variable to 0. If you do this you can't be sure that you --communicate with the expected peer. --EOT --
[arch-commits] Commit in perl-lwp-protocol-https/repos/extra-any (4 files)
Date: Friday, July 17, 2020 @ 20:47:37 Author: felixonmars Revision: 392040 archrelease: copy trunk to extra-any Added: perl-lwp-protocol-https/repos/extra-any/PKGBUILD (from rev 392039, perl-lwp-protocol-https/trunk/PKGBUILD) perl-lwp-protocol-https/repos/extra-any/certs.patch (from rev 392039, perl-lwp-protocol-https/trunk/certs.patch) Deleted: perl-lwp-protocol-https/repos/extra-any/PKGBUILD perl-lwp-protocol-https/repos/extra-any/certs.patch -+ PKGBUILD| 74 - certs.patch | 86 +- 2 files changed, 80 insertions(+), 80 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-07-17 20:47:22 UTC (rev 392039) +++ PKGBUILD2020-07-17 20:47:37 UTC (rev 392040) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan - -pkgname=perl-lwp-protocol-https -pkgver=6.07 -pkgrel=5 -pkgdesc="Provide https support for LWP::UserAgent" -arch=('any') -url="https://metacpan.org/release/LWP-Protocol-https"; -license=('PerlArtistic' 'GPL') -depends=('ca-certificates' 'perl-io-socket-ssl' 'perl-net-http' 'perl-libwww') -checkdepends=('perl-test-requiresinternet') -options=('!emptydirs') -source=("https://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-$pkgver.tar.gz"; -certs.patch) -sha512sums=('4a07cd8a1c44e31781069a632a77f3af43747933420e831b4fd4a12faac7dc04f0c6b10ea773c3e14ecb66209a547b3587c0e3f481a55b9929db65f7b10343aa' - '7ee0ad7c40f526fb3ba1148f13f2601c11fe68c72b4aaf22b628709c2877b7d49ee6dc1c722bb091b97251d76fceec4a9b39dcf3778d7f19b79fdd8c5754a444') - -prepare() { - cd LWP-Protocol-https-${pkgver} - patch -p1 -i ../certs.patch -} - -build() { - cd LWP-Protocol-https-${pkgver} - perl Makefile.PL INSTALLDIRS=vendor - make -} - -check() { - cd LWP-Protocol-https-${pkgver} - make test -} - -package() { - cd LWP-Protocol-https-${pkgver} - make DESTDIR="$pkgdir" install -} Copied: perl-lwp-protocol-https/repos/extra-any/PKGBUILD (from rev 392039, perl-lwp-protocol-https/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-07-17 20:47:37 UTC (rev 392040) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan + +pkgname=perl-lwp-protocol-https +pkgver=6.09 +pkgrel=1 +pkgdesc="Provide https support for LWP::UserAgent" +arch=('any') +url="https://metacpan.org/release/LWP-Protocol-https"; +license=('PerlArtistic' 'GPL') +depends=('ca-certificates' 'perl-io-socket-ssl' 'perl-net-http' 'perl-libwww') +checkdepends=('perl-test-requiresinternet') +options=('!emptydirs') +source=("https://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-$pkgver.tar.gz"; +certs.patch) +sha512sums=('53e1ec7dec04988c3c7fa70a5f0ed60c382709fe99a7cfeb84db0c40f5ff6f6f94aa4aa639498af6d0bc201dcb7e6e3491bae96411250ef50b010d32add1' + '96f401471199c368895eb9b0e819a7287ed9e25953f756585ef7e809010e5d19c8b0614f3cd99cad0c33ca7c9a609ceea4b90569d3f7dec546cc8eeecd810d26') + +prepare() { + cd LWP-Protocol-https-${pkgver} + patch -p1 -i ../certs.patch +} + +build() { + cd LWP-Protocol-https-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd LWP-Protocol-https-${pkgver} + make test +} + +package() { + cd LWP-Protocol-https-${pkgver} + make DESTDIR="$pkgdir" install +} Deleted: certs.patch === --- certs.patch 2020-07-17 20:47:22 UTC (rev 392039) +++ certs.patch 2020-07-17 20:47:37 UTC (rev 392040) @@ -1,43 +0,0 @@ -diff --git a/Makefile.PL.orig b/Makefile.PL -index fc8ef4a..26313e2 100644 a/Makefile.PL.orig -+++ b/Makefile.PL -@@ -26,7 +26,6 @@ my %WriteMakefileArgs = ( - 'LWP::UserAgent' => '6.06', - 'Net::HTTPS' => 6, - 'IO::Socket::SSL' => "1.54", --'Mozilla::CA' => "20110101", - 'perl' => '5.008001', - }, - }, -diff --git a/lib/LWP/Protocol/https.pm.orig b/lib/LWP/Protocol/https.pm -index ed4d832..b8667cf 100644 a/lib/LWP/Protocol/https.pm.orig -+++ b/lib/LWP/Protocol/https.pm -@@ -25,25 +25,7 @@ sub _extra_sock_opts - } - if ($ssl_opts{SSL_verify_mode}) { - unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) { -- eval { -- require Mozilla::CA; -- }; -- if ($@) { -- if ($@ =~ /^Can't locate Mozilla\/CA\.pm/) { -- $@ = <<'EOT'; --Can't verify SSL peers without knowing which Certificate Authorities to trust -- --This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE --environment variable or by installing the Mozilla::CA module. -- --To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME --environment variable to 0. If you do this you
[arch-commits] Commit in perl-lwp-protocol-https/repos/extra-any (4 files)
Date: Tuesday, March 13, 2018 @ 23:52:35 Author: felixonmars Revision: 318927 archrelease: copy trunk to extra-any Added: perl-lwp-protocol-https/repos/extra-any/PKGBUILD (from rev 318926, perl-lwp-protocol-https/trunk/PKGBUILD) perl-lwp-protocol-https/repos/extra-any/certs.patch (from rev 318926, perl-lwp-protocol-https/trunk/certs.patch) Deleted: perl-lwp-protocol-https/repos/extra-any/PKGBUILD perl-lwp-protocol-https/repos/extra-any/certs.patch -+ PKGBUILD| 75 ++--- certs.patch | 82 ++ 2 files changed, 81 insertions(+), 76 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-03-13 23:52:18 UTC (rev 318926) +++ PKGBUILD2018-03-13 23:52:35 UTC (rev 318927) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan - -pkgname=perl-lwp-protocol-https -pkgver=6.06 -pkgrel=4 -pkgdesc="Provide https support for LWP::UserAgent" -arch=('any') -url="https://metacpan.org/release/LWP-Protocol-https"; -license=('PerlArtistic' 'GPL') -depends=('ca-certificates' 'perl-io-socket-ssl' 'perl-net-http' 'perl-libwww') -options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/M/MS/MSCHILLI/LWP-Protocol-https-$pkgver.tar.gz"; -certs.patch) -md5sums=('06f5dfd33b07f6594a429dbbd5e6a2d1' - '7bb02869fdf17beeceaa8b36c855') - -prepare() { - cd LWP-Protocol-https-${pkgver} - patch -p0 -i ../certs.patch -} - -build() { - cd LWP-Protocol-https-${pkgver} - perl Makefile.PL INSTALLDIRS=vendor - make -} - -check() { - cd LWP-Protocol-https-${pkgver} - make test -} - -package() { - cd LWP-Protocol-https-${pkgver} - make DESTDIR="$pkgdir" install -} Copied: perl-lwp-protocol-https/repos/extra-any/PKGBUILD (from rev 318926, perl-lwp-protocol-https/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-03-13 23:52:35 UTC (rev 318927) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=perl-lwp-protocol-https +pkgver=6.07 +pkgrel=1 +pkgdesc="Provide https support for LWP::UserAgent" +arch=('any') +url="https://metacpan.org/release/LWP-Protocol-https"; +license=('PerlArtistic' 'GPL') +depends=('ca-certificates' 'perl-io-socket-ssl' 'perl-net-http' 'perl-libwww') +checkdepends=('perl-test-requiresinternet') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-$pkgver.tar.gz"; +certs.patch) +sha512sums=('4a07cd8a1c44e31781069a632a77f3af43747933420e831b4fd4a12faac7dc04f0c6b10ea773c3e14ecb66209a547b3587c0e3f481a55b9929db65f7b10343aa' + '7ee0ad7c40f526fb3ba1148f13f2601c11fe68c72b4aaf22b628709c2877b7d49ee6dc1c722bb091b97251d76fceec4a9b39dcf3778d7f19b79fdd8c5754a444') + +prepare() { + cd LWP-Protocol-https-${pkgver} + patch -p1 -i ../certs.patch +} + +build() { + cd LWP-Protocol-https-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd LWP-Protocol-https-${pkgver} + make test +} + +package() { + cd LWP-Protocol-https-${pkgver} + make DESTDIR="$pkgdir" install +} Deleted: certs.patch === --- certs.patch 2018-03-13 23:52:18 UTC (rev 318926) +++ certs.patch 2018-03-13 23:52:35 UTC (rev 318927) @@ -1,39 +0,0 @@ Makefile.PL.old2016-01-04 11:31:52.349484123 +0800 -+++ Makefile.PL2016-01-04 11:32:07.432992090 +0800 -@@ -15,7 +15,6 @@ - 'LWP::UserAgent' => '6.06', - 'Net::HTTPS' => 6, - 'IO::Socket::SSL' => "1.54", -- 'Mozilla::CA' => "20110101", - }, - META_MERGE => { - resources => { lib/LWP/Protocol/https.pm.old 2016-01-04 11:33:19.003810886 +0800 -+++ lib/LWP/Protocol/https.pm 2016-01-04 11:34:42.358079461 +0800 -@@ -25,25 +25,7 @@ - } - if ($ssl_opts{SSL_verify_mode}) { - unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) { -- eval { -- require Mozilla::CA; -- }; -- if ($@) { -- if ($@ =! /^Can't locate Mozilla\/CA\.pm/) { -- $@ = <<'EOT'; --Can't verify SSL peers without knowing which Certificate Authorities to trust -- --This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE --environment variable or by installing the Mozilla::CA module. -- --To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME --environment variable to 0. If you do this you can't be sure that you --communicate with the expected peer. --EOT -- } -- die $@; -- } -- $ssl_opts{SSL_ca_file} = Mozilla::CA::SSL_ca_file(); -+ $ssl_opts{SSL_ca_file} = '/etc/ssl/certs/ca-certificates.crt'; - } - } - $self->{ssl_opts} = \%ssl_opts; Copied: perl-lwp-protocol-https/repos/extra-any/certs.patch (fro