Skip to content

Commit

Permalink
package: perl-mozilla-ca (#37470)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Mesaglio <juan.mesaglio@gmail.com>
  • Loading branch information
mesaglio authored Dec 23, 2024
1 parent 0fcaa73 commit ead9fd5
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions perl-mozilla-ca.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
package:
name: perl-mozilla-ca
version: "20240924"
epoch: 0
description: Mozilla's CA cert bundle in PEM format
copyright:
- license: MPL-2.0

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

pipeline:
- uses: fetch
with:
expected-sha256: c4b1412bbc37dff8cf29af6f92cb47defbe90eebcbc29e407a98638f7a31bcd0
uri: https://cpan.metacpan.org/authors/id/L/LW/LWP/Mozilla-CA-${{package.version}}.tar.gz

- uses: perl/make

- uses: autoconf/make

- uses: autoconf/make-install

- uses: perl/cleanup

- uses: strip

subpackages:
- name: perl-mozilla-ca-doc
pipeline:
- uses: split/manpages
description: perl-mozilla-ca manpages

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

0 comments on commit ead9fd5

Please sign in to comment.