package/perl-mozilla-ca: new package
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Mon, 10 Feb 2020 11:26:31 +0000 (12:26 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 15 Mar 2020 20:38:56 +0000 (21:38 +0100)
This is a dependency for perl-lwp-protocol-https (added in a subsequent
patch).

Added via utils/scancpan, updating license only.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/perl-mozilla-ca/Config.in [new file with mode: 0644]
package/perl-mozilla-ca/perl-mozilla-ca.hash [new file with mode: 0644]
package/perl-mozilla-ca/perl-mozilla-ca.mk [new file with mode: 0644]

index dfc0dc6a6c91b6e572dd36724e7b195ac02e8b49..2dc8d4b59dbb7294766d4ea9ad0ea226786e38ab 100644 (file)
@@ -2410,6 +2410,7 @@ F:        package/perl-mojolicious-plugin-authorization/
 F:     package/perl-mojolicious-plugin-cspheader/
 F:     package/perl-mojolicious-plugin-i18n/
 F:     package/perl-mojolicious-plugin-securityheader/
+F:     package/perl-mozilla-ca/
 F:     package/perl-net-snmp/
 F:     package/perl-net-ssh2/
 F:     package/perl-net-telnet/
index e35250808dae61d2af8bba68e47e55976fbc49d1..74d3f676e38003789b18df5a64d9e7f79ec1b54c 100644 (file)
@@ -784,6 +784,7 @@ menu "Perl libraries/modules"
        source "package/perl-mojolicious-plugin-i18n/Config.in"
        source "package/perl-mojolicious-plugin-securityheader/Config.in"
        source "package/perl-moo/Config.in"
+       source "package/perl-mozilla-ca/Config.in"
        source "package/perl-net-dns/Config.in"
        source "package/perl-net-http/Config.in"
        source "package/perl-net-snmp/Config.in"
diff --git a/package/perl-mozilla-ca/Config.in b/package/perl-mozilla-ca/Config.in
new file mode 100644 (file)
index 0000000..733d07e
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_MOZILLA_CA
+       bool "perl-mozilla-ca"
+       help
+         Mozilla's CA cert bundle in PEM format.
+
+         https://metacpan.org/release/Mozilla-CA
diff --git a/package/perl-mozilla-ca/perl-mozilla-ca.hash b/package/perl-mozilla-ca/perl-mozilla-ca.hash
new file mode 100644 (file)
index 0000000..0d52d19
--- /dev/null
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    9c93333e1d9d3fad639e9d4082898de1 Mozilla-CA-20180117.tar.gz
+sha256 f2cc9fbe119f756313f321e0d9f1fac0859f8f154ac9d75b1a264c1afdf4e406 Mozilla-CA-20180117.tar.gz
+
+# computed by scancpan
+sha256 95cd63dae5c2bf6e7cf33435981614a36c85ef01fc7a02464e05e58a5355398e README
diff --git a/package/perl-mozilla-ca/perl-mozilla-ca.mk b/package/perl-mozilla-ca/perl-mozilla-ca.mk
new file mode 100644 (file)
index 0000000..9fca66d
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-mozilla-ca
+#
+################################################################################
+
+PERL_MOZILLA_CA_VERSION = 20180117
+PERL_MOZILLA_CA_SOURCE = Mozilla-CA-$(PERL_MOZILLA_CA_VERSION).tar.gz
+PERL_MOZILLA_CA_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AB/ABH
+PERL_MOZILLA_CA_LICENSE = MPL-2.0
+PERL_MOZILLA_CA_LICENSE_FILES = README
+PERL_MOZILLA_CA_DISTNAME = Mozilla-CA
+
+$(eval $(perl-package))