Skip to content

Commit

Permalink
package: perl-io-socket-ssl
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Mesaglio <[email protected]>
  • Loading branch information
mesaglio committed Dec 23, 2024
1 parent 0be8846 commit 7fcb299
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions perl-io-socket-ssl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ package:
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:
Expand Down Expand Up @@ -38,6 +44,33 @@ subpackages:
- 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:
Expand Down

0 comments on commit 7fcb299

Please sign in to comment.