Page Menu
Home
Solus
Search
Configure Global Search
Log In
Files
F11050990
D267.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D267.diff
View Options
diff --git a/Makefile b/Makefile
new file mode 100644
--- /dev/null
+++ b/Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
diff --git a/files/lwp-protocol-https-cert-file.patch b/files/lwp-protocol-https-cert-file.patch
new file mode 100644
--- /dev/null
+++ b/files/lwp-protocol-https-cert-file.patch
@@ -0,0 +1,15 @@
+diff -ru -x '*~' LWP-Protocol-https-6.04-orig/lib/LWP/Protocol/https.pm LWP-Protocol-https-6.04/lib/LWP/Protocol/https.pm
+--- LWP-Protocol-https-6.04-orig/lib/LWP/Protocol/https.pm 2013-04-29 23:16:18.000000000 +0200
++++ LWP-Protocol-https-6.04/lib/LWP/Protocol/https.pm 2016-03-02 14:59:01.639844511 +0100
+@@ -24,6 +24,11 @@
+ }
+ if ($ssl_opts{SSL_verify_mode}) {
+ unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {
++ $ssl_opts{SSL_ca_file} = $ENV{'SSL_CERT_FILE'};
++ $ssl_opts{SSL_ca_file} = "/etc/ssl/certs/ca-certificates.crt"
++ if !defined $ssl_opts{SSL_ca_file} && -e "/etc/ssl/certs/ca-certificates.crt";
++ }
++ unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {
+ eval {
+ require Mozilla::CA;
+ };
diff --git a/package.yml b/package.yml
new file mode 100644
--- /dev/null
+++ b/package.yml
@@ -0,0 +1,20 @@
+name : perl-lwp-protocol-https
+version : 6.07
+release : 1
+source :
+ - https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.07.tar.gz : 522cc946cf84a1776304a5737a54b8822ec9e79b264d0ba0722a70473dbfb9e7
+license : Artistic-Perl-1.0
+component : programming.perl
+summary : Provides https support for LWP::UserAgent
+description: |
+ Provides https support for LWP::UserAgent
+rundeps :
+ - perl-io-socket-ssl
+ - perl-net-http
+setup : |
+ %patch -p1 < $pkgfiles/lwp-protocol-https-cert-file.patch
+ %perl_setup
+build : |
+ %perl_build
+install : |
+ %perl_install
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
new file mode 100644
--- /dev/null
+++ b/pspec_x86_64.xml
@@ -0,0 +1,36 @@
+<PISI>
+ <Source>
+ <Name>perl-lwp-protocol-https</Name>
+ <Packager>
+ <Name>Joey Riches</Name>
+ <Email>josephriches@gmail.com</Email>
+ </Packager>
+ <License>Artistic-Perl-1.0</License>
+ <PartOf>programming.perl</PartOf>
+ <Summary xml:lang="en">Provides https support for LWP::UserAgent</Summary>
+ <Description xml:lang="en">Provides https support for LWP::UserAgent
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>perl-lwp-protocol-https</Name>
+ <Summary xml:lang="en">Provides https support for LWP::UserAgent</Summary>
+ <Description xml:lang="en">Provides https support for LWP::UserAgent
+</Description>
+ <PartOf>programming.perl</PartOf>
+ <Files>
+ <Path fileType="library">/usr/lib/perl5/vendor_perl/5.24.1/LWP/Protocol/https.pm</Path>
+ <Path fileType="library">/usr/lib/perl5/vendor_perl/5.24.1/x86_64-linux-thread-multi/auto/LWP/Protocol/https/.packlist</Path>
+ <Path fileType="man">/usr/share/man</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2017-05-29</Date>
+ <Version>6.07</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Joey Riches</Name>
+ <Email>josephriches@gmail.com</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 11, 7:40 PM (2 h, 56 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5826107
Default Alt Text
D267.diff (3 KB)
Attached To
Mode
D267: perl-lwp-protocol-https: initial inclusion
Attached
Detach File
Event Timeline
Log In to Comment