Skip to content

Commit

Permalink
package: perl-io-socket-ssl (#37468)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Mesaglio <juan.mesaglio@gmail.com>
Co-authored-by: Ajay Kemparaj <ajaykemparaj@gmail.com>
  • Loading branch information
mesaglio and ajayk authored Dec 24, 2024
1 parent db5349a commit 3500082
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions perl-io-socket-ssl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
package:
name: perl-io-socket-ssl
version: "2.089"
epoch: 0
description: Nearly transparent SSL encapsulation for IO::Socket::INET
copyright:
- license: GPL-1.0-or-later OR Artistic-1.0-Perl
dependencies:
runtime:
- ca-certificates
- perl
- perl-mozilla-ca
- perl-net-ssleay

environment:
contents:
packages:
- autoconf
- automake
- build-base
- ca-certificates-bundle
- openssf-compiler-options
- perl

pipeline:
- uses: fetch
with:
expected-sha256: f683112c1642967e9149f51ad553eccd017833b2f22eb23a9055609d2e3a14d1
uri: https://cpan.metacpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-${{package.version}}.tar.gz

- uses: perl/make

- uses: autoconf/make

- uses: autoconf/make-install

- uses: perl/cleanup

- uses: strip

subpackages:
- name: perl-io-socket-ssl-doc
pipeline:
- uses: split/manpages
description: perl-io-socket-ssl manpages

test:
environment:
contents:
packages:
- ca-certificates
- perl
- perl-mozilla-ca
- perl-net-ssleay
pipeline:
- name: Test
runs: |
cat <<EOF > socket-ssl.pl
use strict;
use warnings;
eval {
require IO::Socket::SSL;
IO::Socket::SSL->import();
};
if (\$@) {
print "Failed to load Socket::SSL\n";
exit 1;
}
EOF
perl socket-ssl.pl
update:
enabled: true
release-monitor:
identifier: 6569

0 comments on commit 3500082

Please sign in to comment.