From ead9fd53fd5fab5404868d3701ac73014563442f Mon Sep 17 00:00:00 2001 From: Juan Mesaglio Date: Mon, 23 Dec 2024 18:09:33 -0300 Subject: [PATCH] package: perl-mozilla-ca (#37470) Signed-off-by: Juan Mesaglio --- perl-mozilla-ca.yaml | 68 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 perl-mozilla-ca.yaml diff --git a/perl-mozilla-ca.yaml b/perl-mozilla-ca.yaml new file mode 100644 index 00000000000..6c9e8420fc0 --- /dev/null +++ b/perl-mozilla-ca.yaml @@ -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 < 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