All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 00/12] More perl packages + chartjs
@ 2020-02-10 10:46 Thomas De Schampheleire
  2020-02-10 10:46 ` [Buildroot] [PATCH 01/12] package/perl-locale-maketext-lexicon: new package Thomas De Schampheleire
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:46 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

I found some more perl packages under the carpet ;-)

Best regards,
Thomas


Joeri Barbarien (7):
  package/perl-locale-maketext-lexicon: new package
  package/perl-i18n: new package
  package/perl-mojolicious-plugin-authorization: new package
  package/perl-mojolicious-plugin-cspheader: new package
  package/perl-mojolicious-plugin-i18n: new package
  package/perl-mojolicious-plugin-securityheader: new package
  package/chartjs: new package

Thomas De Schampheleire (5):
  package/perl-mozilla-ca: new package
  package/perl-lwp-protocol-https: new package
  package/perl-path-class: new host package
  package/perl-crypt-ssleay: new package
  support/testing: add missing test file for perl-html-parser

 DEVELOPERS                                    | 11 +++++
 package/Config.in                             | 10 +++++
 package/chartjs/Config.in                     |  7 +++
 package/chartjs/chartjs.hash                  |  3 ++
 package/chartjs/chartjs.mk                    | 21 +++++++++
 package/perl-crypt-ssleay/Config.in           | 12 ++++++
 .../perl-crypt-ssleay/perl-crypt-ssleay.hash  |  6 +++
 .../perl-crypt-ssleay/perl-crypt-ssleay.mk    | 18 ++++++++
 package/perl-i18n/Config.in                   |  7 +++
 package/perl-i18n/perl-i18n.hash              |  6 +++
 package/perl-i18n/perl-i18n.mk                | 14 ++++++
 .../perl-locale-maketext-lexicon/Config.in    |  6 +++
 .../perl-locale-maketext-lexicon.hash         |  6 +++
 .../perl-locale-maketext-lexicon.mk           | 14 ++++++
 package/perl-lwp-protocol-https/Config.in     | 14 ++++++
 .../perl-lwp-protocol-https.hash              |  6 +++
 .../perl-lwp-protocol-https.mk                | 14 ++++++
 .../Config.in                                 |  7 +++
 ...perl-mojolicious-plugin-authorization.hash |  6 +++
 .../perl-mojolicious-plugin-authorization.mk  | 15 +++++++
 .../Config.in                                 |  8 ++++
 .../perl-mojolicious-plugin-cspheader.hash    |  6 +++
 .../perl-mojolicious-plugin-cspheader.mk      | 14 ++++++
 .../perl-mojolicious-plugin-i18n/Config.in    |  7 +++
 .../perl-mojolicious-plugin-i18n.hash         |  3 ++
 .../perl-mojolicious-plugin-i18n.mk           | 14 ++++++
 .../Config.in                                 |  7 +++
 ...erl-mojolicious-plugin-securityheader.hash |  6 +++
 .../perl-mojolicious-plugin-securityheader.mk | 14 ++++++
 package/perl-mozilla-ca/Config.in             |  6 +++
 package/perl-mozilla-ca/perl-mozilla-ca.hash  |  6 +++
 package/perl-mozilla-ca/perl-mozilla-ca.mk    | 14 ++++++
 package/perl-path-class/perl-path-class.hash  |  6 +++
 package/perl-path-class/perl-path-class.mk    | 15 +++++++
 package/perl-try-tiny/perl-try-tiny.mk        |  1 +
 .../tests/package/test_perl_crypt_ssleay.py   | 43 +++++++++++++++++++
 .../tests/package/test_perl_html_parser.py    | 20 +++++++++
 .../package/test_perl_lwp_protocol_https.py   | 42 ++++++++++++++++++
 38 files changed, 435 insertions(+)
 create mode 100644 package/chartjs/Config.in
 create mode 100644 package/chartjs/chartjs.hash
 create mode 100644 package/chartjs/chartjs.mk
 create mode 100644 package/perl-crypt-ssleay/Config.in
 create mode 100644 package/perl-crypt-ssleay/perl-crypt-ssleay.hash
 create mode 100644 package/perl-crypt-ssleay/perl-crypt-ssleay.mk
 create mode 100644 package/perl-i18n/Config.in
 create mode 100644 package/perl-i18n/perl-i18n.hash
 create mode 100644 package/perl-i18n/perl-i18n.mk
 create mode 100644 package/perl-locale-maketext-lexicon/Config.in
 create mode 100644 package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.hash
 create mode 100644 package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.mk
 create mode 100644 package/perl-lwp-protocol-https/Config.in
 create mode 100644 package/perl-lwp-protocol-https/perl-lwp-protocol-https.hash
 create mode 100644 package/perl-lwp-protocol-https/perl-lwp-protocol-https.mk
 create mode 100644 package/perl-mojolicious-plugin-authorization/Config.in
 create mode 100644 package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash
 create mode 100644 package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk
 create mode 100644 package/perl-mojolicious-plugin-cspheader/Config.in
 create mode 100644 package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.hash
 create mode 100644 package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.mk
 create mode 100644 package/perl-mojolicious-plugin-i18n/Config.in
 create mode 100644 package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash
 create mode 100644 package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk
 create mode 100644 package/perl-mojolicious-plugin-securityheader/Config.in
 create mode 100644 package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.hash
 create mode 100644 package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.mk
 create mode 100644 package/perl-mozilla-ca/Config.in
 create mode 100644 package/perl-mozilla-ca/perl-mozilla-ca.hash
 create mode 100644 package/perl-mozilla-ca/perl-mozilla-ca.mk
 create mode 100644 package/perl-path-class/perl-path-class.hash
 create mode 100644 package/perl-path-class/perl-path-class.mk
 create mode 100644 support/testing/tests/package/test_perl_crypt_ssleay.py
 create mode 100644 support/testing/tests/package/test_perl_html_parser.py
 create mode 100644 support/testing/tests/package/test_perl_lwp_protocol_https.py

-- 
2.24.1

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 01/12] package/perl-locale-maketext-lexicon: new package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
@ 2020-02-10 10:46 ` Thomas De Schampheleire
  2020-02-10 10:46 ` [Buildroot] [PATCH 02/12] package/perl-i18n: " Thomas De Schampheleire
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:46 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

This is a dependency of perl-i18n added in a subsequent patch.

Added via utils/scancpan, without changes.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/perl-locale-maketext-lexicon/Config.in     |  6 ++++++
 .../perl-locale-maketext-lexicon.hash              |  6 ++++++
 .../perl-locale-maketext-lexicon.mk                | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/perl-locale-maketext-lexicon/Config.in
 create mode 100644 package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.hash
 create mode 100644 package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 3520072034..b179a6aea0 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2378,6 +2378,7 @@ F:	package/perl-convert-asn1/
 F:	package/perl-crypt-blowfish/
 F:	package/perl-crypt-cbc/
 F:	package/perl-crypt-openssl-aes/
+F:	package/perl-locale-maketext-lexicon/
 F:	package/perl-math-prime-util/
 F:	package/perl-mime-base64-urlsafe/
 F:	package/perl-mojolicious-plugin-authentication/
diff --git a/package/Config.in b/package/Config.in
index bad4f9cba6..b39d6a32d5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -767,6 +767,7 @@ menu "Perl libraries/modules"
 	source "package/perl-json-maybexs/Config.in"
 	source "package/perl-json-tiny/Config.in"
 	source "package/perl-libwww-perl/Config.in"
+	source "package/perl-locale-maketext-lexicon/Config.in"
 	source "package/perl-lwp-mediatypes/Config.in"
 	source "package/perl-mail-dkim/Config.in"
 	source "package/perl-mailtools/Config.in"
diff --git a/package/perl-locale-maketext-lexicon/Config.in b/package/perl-locale-maketext-lexicon/Config.in
new file mode 100644
index 0000000000..4aed7b63b5
--- /dev/null
+++ b/package/perl-locale-maketext-lexicon/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_LOCALE_MAKETEXT_LEXICON
+	bool "perl-locale-maketext-lexicon"
+	help
+	  Use other catalog formats in Maketext.
+
+	  http://search.cpan.org/dist/Locale-Maketext-Lexicon
diff --git a/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.hash b/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.hash
new file mode 100644
index 0000000000..683e8c7d16
--- /dev/null
+++ b/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    51acf0cb00cc01a2c8f560d74dd6c593 Locale-Maketext-Lexicon-1.00.tar.gz
+sha256 b73f6b04a58d3f0e38ebf2115a4c1532f1a4eef6fac5c6a2a449e4e14c1ddc7c Locale-Maketext-Lexicon-1.00.tar.gz
+
+# computed by scancpan
+sha256 af693c8c99bee68656f09328c97d50b24eb742ae4473f57cdafaa90691807fbe LICENSE
diff --git a/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.mk b/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.mk
new file mode 100644
index 0000000000..64b37f9206
--- /dev/null
+++ b/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-locale-maketext-lexicon
+#
+################################################################################
+
+PERL_LOCALE_MAKETEXT_LEXICON_VERSION = 1.00
+PERL_LOCALE_MAKETEXT_LEXICON_SOURCE = Locale-Maketext-Lexicon-$(PERL_LOCALE_MAKETEXT_LEXICON_VERSION).tar.gz
+PERL_LOCALE_MAKETEXT_LEXICON_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DR/DRTECH
+PERL_LOCALE_MAKETEXT_LEXICON_LICENSE = MIT
+PERL_LOCALE_MAKETEXT_LEXICON_LICENSE_FILES = LICENSE
+PERL_LOCALE_MAKETEXT_LEXICON_DISTNAME = Locale-Maketext-Lexicon
+
+$(eval $(perl-package))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 02/12] package/perl-i18n: new package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
  2020-02-10 10:46 ` [Buildroot] [PATCH 01/12] package/perl-locale-maketext-lexicon: new package Thomas De Schampheleire
@ 2020-02-10 10:46 ` Thomas De Schampheleire
  2020-02-10 10:46 ` [Buildroot] [PATCH 03/12] package/perl-mojolicious-plugin-authorization: " Thomas De Schampheleire
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:46 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Added via utils/scancpan, without changes.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                       |  1 +
 package/Config.in                |  1 +
 package/perl-i18n/Config.in      |  7 +++++++
 package/perl-i18n/perl-i18n.hash |  6 ++++++
 package/perl-i18n/perl-i18n.mk   | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/perl-i18n/Config.in
 create mode 100644 package/perl-i18n/perl-i18n.hash
 create mode 100644 package/perl-i18n/perl-i18n.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index b179a6aea0..16d07b8e9a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2378,6 +2378,7 @@ F:	package/perl-convert-asn1/
 F:	package/perl-crypt-blowfish/
 F:	package/perl-crypt-cbc/
 F:	package/perl-crypt-openssl-aes/
+F:	package/perl-i18n/
 F:	package/perl-locale-maketext-lexicon/
 F:	package/perl-math-prime-util/
 F:	package/perl-mime-base64-urlsafe/
diff --git a/package/Config.in b/package/Config.in
index b39d6a32d5..bad2314019 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -760,6 +760,7 @@ menu "Perl libraries/modules"
 	source "package/perl-http-message/Config.in"
 	source "package/perl-http-multipartparser/Config.in"
 	source "package/perl-http-negotiate/Config.in"
+	source "package/perl-i18n/Config.in"
 	source "package/perl-io-html/Config.in"
 	source "package/perl-io-interface/Config.in"
 	source "package/perl-io-socket-multicast/Config.in"
diff --git a/package/perl-i18n/Config.in b/package/perl-i18n/Config.in
new file mode 100644
index 0000000000..d504563966
--- /dev/null
+++ b/package/perl-i18n/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_I18N
+	bool "perl-i18n"
+	select BR2_PACKAGE_PERL_LOCALE_MAKETEXT_LEXICON # runtime
+	help
+	  Perl Internationalization Pragma.
+
+	  https://metacpan.org/release/i18n
diff --git a/package/perl-i18n/perl-i18n.hash b/package/perl-i18n/perl-i18n.hash
new file mode 100644
index 0000000000..f6ef8931a2
--- /dev/null
+++ b/package/perl-i18n/perl-i18n.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    4c3004474d6ff3554f82b52f92b3b1e1 i18n-0.13.tar.gz
+sha256 2dbc3e4e25b41578cd83508fe011209e8f3c2b259fa4b5b6eafaac0d6ce4b457 i18n-0.13.tar.gz
+
+# computed by scancpan
+sha256 4755e5f2096e8ef0494f1565bf5a028a8fb4eeb5c1250e7d30948d1ed13c5ad7 README
diff --git a/package/perl-i18n/perl-i18n.mk b/package/perl-i18n/perl-i18n.mk
new file mode 100644
index 0000000000..04d75c2146
--- /dev/null
+++ b/package/perl-i18n/perl-i18n.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-i18n
+#
+################################################################################
+
+PERL_I18N_VERSION = 0.13
+PERL_I18N_SOURCE = i18n-$(PERL_I18N_VERSION).tar.gz
+PERL_I18N_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AU/AUDREYT
+PERL_I18N_LICENSE = MIT
+PERL_I18N_LICENSE_FILES = README
+PERL_I18N_DISTNAME = i18n
+
+$(eval $(perl-package))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 03/12] package/perl-mojolicious-plugin-authorization: new package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
  2020-02-10 10:46 ` [Buildroot] [PATCH 01/12] package/perl-locale-maketext-lexicon: new package Thomas De Schampheleire
  2020-02-10 10:46 ` [Buildroot] [PATCH 02/12] package/perl-i18n: " Thomas De Schampheleire
@ 2020-02-10 10:46 ` Thomas De Schampheleire
  2020-02-10 10:46 ` [Buildroot] [PATCH 04/12] package/perl-mojolicious-plugin-cspheader: " Thomas De Schampheleire
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:46 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Added via utils/scancpan, but removing the 'suspicious' dependency on
'host-perl-mojolicious'.

    During configuration, the package warns:

    Checking prerequisites...
      requires:
        !  Mojo::Base is not installed
      build_requires:
        !  Mojolicious::Lite is not installed
        !  Test::Mojo is not installed

    ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    of the modules indicated above before proceeding with this installation

    Run 'Build installdeps' to install missing prerequisites.

But the build and installation continues correctly nonetheless.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                        |  1 +
 package/Config.in                                 |  1 +
 .../Config.in                                     |  7 +++++++
 .../perl-mojolicious-plugin-authorization.hash    |  6 ++++++
 .../perl-mojolicious-plugin-authorization.mk      | 15 +++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/perl-mojolicious-plugin-authorization/Config.in
 create mode 100644 package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash
 create mode 100644 package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 16d07b8e9a..37976a7d43 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2383,6 +2383,7 @@ F:	package/perl-locale-maketext-lexicon/
 F:	package/perl-math-prime-util/
 F:	package/perl-mime-base64-urlsafe/
 F:	package/perl-mojolicious-plugin-authentication/
+F:	package/perl-mojolicious-plugin-authorization/
 F:	package/perl-net-snmp/
 F:	package/perl-net-ssh2/
 F:	package/perl-net-telnet/
diff --git a/package/Config.in b/package/Config.in
index bad2314019..f487ed2b96 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -779,6 +779,7 @@ menu "Perl libraries/modules"
 	source "package/perl-module-runtime/Config.in"
 	source "package/perl-mojolicious/Config.in"
 	source "package/perl-mojolicious-plugin-authentication/Config.in"
+	source "package/perl-mojolicious-plugin-authorization/Config.in"
 	source "package/perl-moo/Config.in"
 	source "package/perl-net-dns/Config.in"
 	source "package/perl-net-http/Config.in"
diff --git a/package/perl-mojolicious-plugin-authorization/Config.in b/package/perl-mojolicious-plugin-authorization/Config.in
new file mode 100644
index 0000000000..87976cbbe8
--- /dev/null
+++ b/package/perl-mojolicious-plugin-authorization/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION
+	bool "perl-mojolicious-plugin-authorization"
+	select BR2_PACKAGE_PERL_MOJOLICIOUS # runtime
+	help
+	  A plugin to make authorization a bit easier.
+
+	  https://metacpan.org/module/Mojolicious::Plugin::Authorization
diff --git a/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash b/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash
new file mode 100644
index 0000000000..c55eefe2ff
--- /dev/null
+++ b/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    9c009599cf397e3eacf5d7cd0dec45b8 Mojolicious-Plugin-Authorization-1.05.tar.gz
+sha256 87f84092d5698595ad0d01e745eca1d6affd1f3d662786f39f3583c54ffed0e3 Mojolicious-Plugin-Authorization-1.05.tar.gz
+
+# computed by scancpan
+sha256 fd9632faca5a3d6af4cb9cf776514de87d2b34bff3a6cf06c23eea0f9cc3ab06 LICENSE
diff --git a/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk b/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk
new file mode 100644
index 0000000000..3fcee08a46
--- /dev/null
+++ b/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# perl-mojolicious-plugin-authorization
+#
+################################################################################
+
+PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_VERSION = 1.05
+PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_SOURCE = Mojolicious-Plugin-Authorization-$(PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_VERSION).tar.gz
+PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_SITE = $(BR2_CPAN_MIRROR)/authors/id/B/BY/BYTEROCK
+PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_DEPENDENCIES = host-perl-module-build
+PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_LICENSE = Artistic or GPL-1.0+
+PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_LICENSE_FILES = LICENSE
+PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_DISTNAME = Mojolicious-Plugin-Authorization
+
+$(eval $(perl-package))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 04/12] package/perl-mojolicious-plugin-cspheader: new package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
                   ` (2 preceding siblings ...)
  2020-02-10 10:46 ` [Buildroot] [PATCH 03/12] package/perl-mojolicious-plugin-authorization: " Thomas De Schampheleire
@ 2020-02-10 10:46 ` Thomas De Schampheleire
  2020-02-10 10:46 ` [Buildroot] [PATCH 05/12] package/perl-mojolicious-plugin-i18n: " Thomas De Schampheleire
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:46 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Added via utils/scancpan, without changes.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 .../perl-mojolicious-plugin-cspheader/Config.in    |  8 ++++++++
 .../perl-mojolicious-plugin-cspheader.hash         |  6 ++++++
 .../perl-mojolicious-plugin-cspheader.mk           | 14 ++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/perl-mojolicious-plugin-cspheader/Config.in
 create mode 100644 package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.hash
 create mode 100644 package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 37976a7d43..c7b98fb349 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2384,6 +2384,7 @@ F:	package/perl-math-prime-util/
 F:	package/perl-mime-base64-urlsafe/
 F:	package/perl-mojolicious-plugin-authentication/
 F:	package/perl-mojolicious-plugin-authorization/
+F:	package/perl-mojolicious-plugin-cspheader/
 F:	package/perl-net-snmp/
 F:	package/perl-net-ssh2/
 F:	package/perl-net-telnet/
diff --git a/package/Config.in b/package/Config.in
index f487ed2b96..c85f0676cf 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -780,6 +780,7 @@ menu "Perl libraries/modules"
 	source "package/perl-mojolicious/Config.in"
 	source "package/perl-mojolicious-plugin-authentication/Config.in"
 	source "package/perl-mojolicious-plugin-authorization/Config.in"
+	source "package/perl-mojolicious-plugin-cspheader/Config.in"
 	source "package/perl-moo/Config.in"
 	source "package/perl-net-dns/Config.in"
 	source "package/perl-net-http/Config.in"
diff --git a/package/perl-mojolicious-plugin-cspheader/Config.in b/package/perl-mojolicious-plugin-cspheader/Config.in
new file mode 100644
index 0000000000..841b309470
--- /dev/null
+++ b/package/perl-mojolicious-plugin-cspheader/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PERL_MOJOLICIOUS_PLUGIN_CSPHEADER
+	bool "perl-mojolicious-plugin-cspheader"
+	select BR2_PACKAGE_PERL_MOJOLICIOUS # runtime
+	help
+	  Mojolicious Plugin to add Content-Security-Policy header to
+	  every HTTP response.
+
+	  https://metacpan.org/release/Mojolicious-Plugin-CSPHeader
diff --git a/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.hash b/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.hash
new file mode 100644
index 0000000000..d0f9dc3ab0
--- /dev/null
+++ b/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    3d1b01c393e7ed576e4b503d26a88a3e Mojolicious-Plugin-CSPHeader-0.06.tar.gz
+sha256 0523a170af6620dab5b746725f171a138b6cff3d2d84e1a30af891741550f4a7 Mojolicious-Plugin-CSPHeader-0.06.tar.gz
+
+# computed by scancpan
+sha256 4bb36edd2bcafef11ca615f69607953a31ee05ae172b69990aee317e95653456 LICENSE
diff --git a/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.mk b/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.mk
new file mode 100644
index 0000000000..438d6d517e
--- /dev/null
+++ b/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-mojolicious-plugin-cspheader
+#
+################################################################################
+
+PERL_MOJOLICIOUS_PLUGIN_CSPHEADER_VERSION = 0.06
+PERL_MOJOLICIOUS_PLUGIN_CSPHEADER_SOURCE = Mojolicious-Plugin-CSPHeader-$(PERL_MOJOLICIOUS_PLUGIN_CSPHEADER_VERSION).tar.gz
+PERL_MOJOLICIOUS_PLUGIN_CSPHEADER_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LD/LDIDRY
+PERL_MOJOLICIOUS_PLUGIN_CSPHEADER_LICENSE = Artistic or GPL-1.0+
+PERL_MOJOLICIOUS_PLUGIN_CSPHEADER_LICENSE_FILES = LICENSE
+PERL_MOJOLICIOUS_PLUGIN_CSPHEADER_DISTNAME = Mojolicious-Plugin-CSPHeader
+
+$(eval $(perl-package))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 05/12] package/perl-mojolicious-plugin-i18n: new package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
                   ` (3 preceding siblings ...)
  2020-02-10 10:46 ` [Buildroot] [PATCH 04/12] package/perl-mojolicious-plugin-cspheader: " Thomas De Schampheleire
@ 2020-02-10 10:46 ` Thomas De Schampheleire
  2020-02-10 11:10   ` Thomas De Schampheleire
  2020-02-10 10:46 ` [Buildroot] [PATCH 06/12] package/perl-mojolicious-plugin-securityheader: " Thomas De Schampheleire
                   ` (6 subsequent siblings)
  11 siblings, 1 reply; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:46 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Added via utils/scancpan, without changes.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/perl-mojolicious-plugin-i18n/Config.in     |  7 +++++++
 .../perl-mojolicious-plugin-i18n.hash              |  3 +++
 .../perl-mojolicious-plugin-i18n.mk                | 14 ++++++++++++++
 5 files changed, 26 insertions(+)
 create mode 100644 package/perl-mojolicious-plugin-i18n/Config.in
 create mode 100644 package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash
 create mode 100644 package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index c7b98fb349..dd6199bf6d 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2385,6 +2385,7 @@ F:	package/perl-mime-base64-urlsafe/
 F:	package/perl-mojolicious-plugin-authentication/
 F:	package/perl-mojolicious-plugin-authorization/
 F:	package/perl-mojolicious-plugin-cspheader/
+F:	package/perl-mojolicious-plugin-i18n/
 F:	package/perl-net-snmp/
 F:	package/perl-net-ssh2/
 F:	package/perl-net-telnet/
diff --git a/package/Config.in b/package/Config.in
index c85f0676cf..3a664b2521 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -781,6 +781,7 @@ menu "Perl libraries/modules"
 	source "package/perl-mojolicious-plugin-authentication/Config.in"
 	source "package/perl-mojolicious-plugin-authorization/Config.in"
 	source "package/perl-mojolicious-plugin-cspheader/Config.in"
+	source "package/perl-mojolicious-plugin-i18n/Config.in"
 	source "package/perl-moo/Config.in"
 	source "package/perl-net-dns/Config.in"
 	source "package/perl-net-http/Config.in"
diff --git a/package/perl-mojolicious-plugin-i18n/Config.in b/package/perl-mojolicious-plugin-i18n/Config.in
new file mode 100644
index 0000000000..cbe11451c5
--- /dev/null
+++ b/package/perl-mojolicious-plugin-i18n/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_MOJOLICIOUS_PLUGIN_I18N
+	bool "perl-mojolicious-plugin-i18n"
+	select BR2_PACKAGE_PERL_MOJOLICIOUS # runtime
+	help
+	  Internationalization Plugin for Mojolicious.
+
+	  https://metacpan.org/release/Mojolicious-Plugin-I18N
diff --git a/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash
new file mode 100644
index 0000000000..81253cdec4
--- /dev/null
+++ b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    4002f7a7da4c90973ad6eedfb0fcfa16 Mojolicious-Plugin-I18N-1.6.tar.gz
+sha256 32fb5ef8037d954b7ecebef5c1b2b24b420abd829702312f4ad42794f52b514d Mojolicious-Plugin-I18N-1.6.tar.gz
diff --git a/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk
new file mode 100644
index 0000000000..7de8db8c52
--- /dev/null
+++ b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-mojolicious-plugin-i18n
+#
+################################################################################
+
+PERL_MOJOLICIOUS_PLUGIN_I18N_VERSION = 1.6
+PERL_MOJOLICIOUS_PLUGIN_I18N_SOURCE = Mojolicious-Plugin-I18N-$(PERL_MOJOLICIOUS_PLUGIN_I18N_VERSION).tar.gz
+PERL_MOJOLICIOUS_PLUGIN_I18N_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SH/SHARIFULN
+PERL_MOJOLICIOUS_PLUGIN_I18N_DEPENDENCIES = host-perl-module-build
+PERL_MOJOLICIOUS_PLUGIN_I18N_LICENSE = Artistic or GPL-1.0+
+PERL_MOJOLICIOUS_PLUGIN_I18N_DISTNAME = Mojolicious-Plugin-I18N
+
+$(eval $(perl-package))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 06/12] package/perl-mojolicious-plugin-securityheader: new package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
                   ` (4 preceding siblings ...)
  2020-02-10 10:46 ` [Buildroot] [PATCH 05/12] package/perl-mojolicious-plugin-i18n: " Thomas De Schampheleire
@ 2020-02-10 10:46 ` Thomas De Schampheleire
  2020-02-10 10:47 ` [Buildroot] [PATCH 07/12] package/chartjs: " Thomas De Schampheleire
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:46 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Added via utils/scancpan, without changes.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 .../Config.in                                      |  7 +++++++
 .../perl-mojolicious-plugin-securityheader.hash    |  6 ++++++
 .../perl-mojolicious-plugin-securityheader.mk      | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/perl-mojolicious-plugin-securityheader/Config.in
 create mode 100644 package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.hash
 create mode 100644 package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index dd6199bf6d..30bf7c2b18 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2386,6 +2386,7 @@ F:	package/perl-mojolicious-plugin-authentication/
 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-net-snmp/
 F:	package/perl-net-ssh2/
 F:	package/perl-net-telnet/
diff --git a/package/Config.in b/package/Config.in
index 3a664b2521..6c55a7471d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -782,6 +782,7 @@ menu "Perl libraries/modules"
 	source "package/perl-mojolicious-plugin-authorization/Config.in"
 	source "package/perl-mojolicious-plugin-cspheader/Config.in"
 	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-net-dns/Config.in"
 	source "package/perl-net-http/Config.in"
diff --git a/package/perl-mojolicious-plugin-securityheader/Config.in b/package/perl-mojolicious-plugin-securityheader/Config.in
new file mode 100644
index 0000000000..35e8e122ab
--- /dev/null
+++ b/package/perl-mojolicious-plugin-securityheader/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_MOJOLICIOUS_PLUGIN_SECURITYHEADER
+	bool "perl-mojolicious-plugin-securityheader"
+	select BR2_PACKAGE_PERL_MOJOLICIOUS # runtime
+	help
+	  Mojolicious Plugin.
+
+	  http://github.com/reneeb/Mojolicious-Plugin-SecurityHeader
diff --git a/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.hash b/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.hash
new file mode 100644
index 0000000000..b8a20bdd60
--- /dev/null
+++ b/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    38cf59258547ac866577db2d43632f30 Mojolicious-Plugin-SecurityHeader-0.07.tar.gz
+sha256 940474eaf7a415e5117b004387862473612e079a413590db1eb9c85d17a6648f Mojolicious-Plugin-SecurityHeader-0.07.tar.gz
+
+# computed by scancpan
+sha256 0c38e4629cc9eee869217d62ad765e581e54958596672046a62dfa4cfd87bb09 LICENSE
diff --git a/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.mk b/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.mk
new file mode 100644
index 0000000000..1f287f6f6a
--- /dev/null
+++ b/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-mojolicious-plugin-securityheader
+#
+################################################################################
+
+PERL_MOJOLICIOUS_PLUGIN_SECURITYHEADER_VERSION = 0.07
+PERL_MOJOLICIOUS_PLUGIN_SECURITYHEADER_SOURCE = Mojolicious-Plugin-SecurityHeader-$(PERL_MOJOLICIOUS_PLUGIN_SECURITYHEADER_VERSION).tar.gz
+PERL_MOJOLICIOUS_PLUGIN_SECURITYHEADER_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RE/RENEEB
+PERL_MOJOLICIOUS_PLUGIN_SECURITYHEADER_LICENSE = Artistic-2.0
+PERL_MOJOLICIOUS_PLUGIN_SECURITYHEADER_LICENSE_FILES = LICENSE
+PERL_MOJOLICIOUS_PLUGIN_SECURITYHEADER_DISTNAME = Mojolicious-Plugin-SecurityHeader
+
+$(eval $(perl-package))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 07/12] package/chartjs: new package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
                   ` (5 preceding siblings ...)
  2020-02-10 10:46 ` [Buildroot] [PATCH 06/12] package/perl-mojolicious-plugin-securityheader: " Thomas De Schampheleire
@ 2020-02-10 10:47 ` Thomas De Schampheleire
  2020-02-10 10:47 ` [Buildroot] [PATCH 08/12] package/perl-mozilla-ca: " Thomas De Schampheleire
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:47 UTC (permalink / raw)
  To: buildroot

From: Joeri Barbarien <joeri.barbarien@nokia.com>

Note: even though the Chart.js developers make specific tarballs on GitHub
(i.e. not simply 'source code' tarballs), they cannot be used in Buildroot
because their names do not encode a version number, e.g. 'Chart.js.zip'.
This means that on upgrades, the same tarball name would have different
contents and thus a different hash.

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                   |  1 +
 package/Config.in            |  1 +
 package/chartjs/Config.in    |  7 +++++++
 package/chartjs/chartjs.hash |  3 +++
 package/chartjs/chartjs.mk   | 21 +++++++++++++++++++++
 5 files changed, 33 insertions(+)
 create mode 100644 package/chartjs/Config.in
 create mode 100644 package/chartjs/chartjs.hash
 create mode 100644 package/chartjs/chartjs.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 30bf7c2b18..54120f8142 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2372,6 +2372,7 @@ F:	package/civetweb/
 N:	Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
 F:	docs/manual/
 F:	package/cereal/
+F:	package/chartjs/
 F:	package/libtelnet/
 F:	package/opkg-utils/
 F:	package/perl-convert-asn1/
diff --git a/package/Config.in b/package/Config.in
index 6c55a7471d..813da4efff 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1513,6 +1513,7 @@ menu "External AngularJS plugins"
 endmenu
 endif
 	source "package/bootstrap/Config.in"
+	source "package/chartjs/Config.in"
 	source "package/duktape/Config.in"
 	source "package/explorercanvas/Config.in"
 	source "package/flot/Config.in"
diff --git a/package/chartjs/Config.in b/package/chartjs/Config.in
new file mode 100644
index 0000000000..73cc9b7750
--- /dev/null
+++ b/package/chartjs/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_CHARTJS
+	bool "chartjs"
+	help
+	  Chart.js, a simple yet flexible JavaScript charting library
+	  for designers & developers
+
+	  https://www.chartjs.org/
diff --git a/package/chartjs/chartjs.hash b/package/chartjs/chartjs.hash
new file mode 100644
index 0000000000..d2426ea614
--- /dev/null
+++ b/package/chartjs/chartjs.hash
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256	8079d8fd39131fcfaec33f1c7799412bcf8e051e25b10bd6e37fc16159417aa1  chartjs-v2.9.3.tar.gz
+sha256	7b43caae91f31b18dc81fae6e0f7aa1acbecaa6d84e3249905cbe15308307d67  LICENSE.md
diff --git a/package/chartjs/chartjs.mk b/package/chartjs/chartjs.mk
new file mode 100644
index 0000000000..171e0a4a7c
--- /dev/null
+++ b/package/chartjs/chartjs.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# chartjs
+#
+################################################################################
+
+CHARTJS_VERSION = v2.9.3
+CHARTJS_SITE = $(call github,chartjs,Chart.js,$(CHARTJS_VERSION))
+CHARTJS_LICENSE = MIT
+CHARTJS_LICENSE_FILES = LICENSE.md
+
+define CHARTJS_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0644 -D $(@D)/dist/Chart.min.css \
+		$(TARGET_DIR)/var/www/chartjs/css/Chart.css
+	$(INSTALL) -m 0644 -D $(@D)/dist/Chart.min.js \
+		$(TARGET_DIR)/var/www/chartjs/js/Chart.js
+	$(INSTALL) -m 0644 -D $(@D)/dist/Chart.bundle.min.js \
+		$(TARGET_DIR)/var/www/chartjs/js/Chart.bundle.js
+endef
+
+$(eval $(generic-package))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 08/12] package/perl-mozilla-ca: new package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
                   ` (6 preceding siblings ...)
  2020-02-10 10:47 ` [Buildroot] [PATCH 07/12] package/chartjs: " Thomas De Schampheleire
@ 2020-02-10 10:47 ` Thomas De Schampheleire
  2020-02-10 10:47 ` [Buildroot] [PATCH 09/12] package/perl-lwp-protocol-https: " Thomas De Schampheleire
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:47 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

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>
---
 DEVELOPERS                                   |  1 +
 package/Config.in                            |  1 +
 package/perl-mozilla-ca/Config.in            |  6 ++++++
 package/perl-mozilla-ca/perl-mozilla-ca.hash |  6 ++++++
 package/perl-mozilla-ca/perl-mozilla-ca.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/perl-mozilla-ca/Config.in
 create mode 100644 package/perl-mozilla-ca/perl-mozilla-ca.hash
 create mode 100644 package/perl-mozilla-ca/perl-mozilla-ca.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 54120f8142..75417e5473 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2388,6 +2388,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/
diff --git a/package/Config.in b/package/Config.in
index 813da4efff..8a61139d3f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 0000000000..733d07e1f9
--- /dev/null
+++ b/package/perl-mozilla-ca/Config.in
@@ -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
index 0000000000..0d52d192e6
--- /dev/null
+++ b/package/perl-mozilla-ca/perl-mozilla-ca.hash
@@ -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
index 0000000000..9fca66d000
--- /dev/null
+++ b/package/perl-mozilla-ca/perl-mozilla-ca.mk
@@ -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))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 09/12] package/perl-lwp-protocol-https: new package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
                   ` (7 preceding siblings ...)
  2020-02-10 10:47 ` [Buildroot] [PATCH 08/12] package/perl-mozilla-ca: " Thomas De Schampheleire
@ 2020-02-10 10:47 ` Thomas De Schampheleire
  2020-02-10 10:47 ` [Buildroot] [PATCH 10/12] package/perl-path-class: new host package Thomas De Schampheleire
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:47 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

Dependency for perl-crypt-ssleay (added in subsequent commit).

Added via utils/scancpan, without changes.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                    |  1 +
 package/Config.in                             |  1 +
 package/perl-lwp-protocol-https/Config.in     | 14 +++++++
 .../perl-lwp-protocol-https.hash              |  6 +++
 .../perl-lwp-protocol-https.mk                | 14 +++++++
 .../package/test_perl_lwp_protocol_https.py   | 42 +++++++++++++++++++
 6 files changed, 78 insertions(+)
 create mode 100644 package/perl-lwp-protocol-https/Config.in
 create mode 100644 package/perl-lwp-protocol-https/perl-lwp-protocol-https.hash
 create mode 100644 package/perl-lwp-protocol-https/perl-lwp-protocol-https.mk
 create mode 100644 support/testing/tests/package/test_perl_lwp_protocol_https.py

diff --git a/DEVELOPERS b/DEVELOPERS
index 75417e5473..647c4f94f1 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2381,6 +2381,7 @@ F:	package/perl-crypt-cbc/
 F:	package/perl-crypt-openssl-aes/
 F:	package/perl-i18n/
 F:	package/perl-locale-maketext-lexicon/
+F:	package/perl-lwp-protocol-https/
 F:	package/perl-math-prime-util/
 F:	package/perl-mime-base64-urlsafe/
 F:	package/perl-mojolicious-plugin-authentication/
diff --git a/package/Config.in b/package/Config.in
index 8a61139d3f..05dd1e452f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -770,6 +770,7 @@ menu "Perl libraries/modules"
 	source "package/perl-libwww-perl/Config.in"
 	source "package/perl-locale-maketext-lexicon/Config.in"
 	source "package/perl-lwp-mediatypes/Config.in"
+	source "package/perl-lwp-protocol-https/Config.in"
 	source "package/perl-mail-dkim/Config.in"
 	source "package/perl-mailtools/Config.in"
 	source "package/perl-math-prime-util/Config.in"
diff --git a/package/perl-lwp-protocol-https/Config.in b/package/perl-lwp-protocol-https/Config.in
new file mode 100644
index 0000000000..c4a7b306b3
--- /dev/null
+++ b/package/perl-lwp-protocol-https/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_PERL_LWP_PROTOCOL_HTTPS
+	bool "perl-lwp-protocol-https"
+	depends on !BR2_STATIC_LIBS
+	select BR2_PACKAGE_PERL_IO_SOCKET_SSL # runtime
+	select BR2_PACKAGE_PERL_MOZILLA_CA # runtime
+	select BR2_PACKAGE_PERL_NET_HTTP # runtime
+	select BR2_PACKAGE_PERL_LIBWWW_PERL # runtime
+	help
+	  Provide https support for LWP::UserAgent.
+
+	  https://metacpan.org/release/LWP-Protocol-https
+
+comment "perl-lwp-protocol-https needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
diff --git a/package/perl-lwp-protocol-https/perl-lwp-protocol-https.hash b/package/perl-lwp-protocol-https/perl-lwp-protocol-https.hash
new file mode 100644
index 0000000000..899cc22079
--- /dev/null
+++ b/package/perl-lwp-protocol-https/perl-lwp-protocol-https.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    b8943dfb7d187af63c36fc18ab15947d LWP-Protocol-https-6.07.tar.gz
+sha256 522cc946cf84a1776304a5737a54b8822ec9e79b264d0ba0722a70473dbfb9e7 LWP-Protocol-https-6.07.tar.gz
+
+# computed by scancpan
+sha256 a93c39b0bce2bdff027b58d8a97f5116183b18b23da366fd7e1ec361d4603db2 README
diff --git a/package/perl-lwp-protocol-https/perl-lwp-protocol-https.mk b/package/perl-lwp-protocol-https/perl-lwp-protocol-https.mk
new file mode 100644
index 0000000000..00b93c74aa
--- /dev/null
+++ b/package/perl-lwp-protocol-https/perl-lwp-protocol-https.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-lwp-protocol-https
+#
+################################################################################
+
+PERL_LWP_PROTOCOL_HTTPS_VERSION = 6.07
+PERL_LWP_PROTOCOL_HTTPS_SOURCE = LWP-Protocol-https-$(PERL_LWP_PROTOCOL_HTTPS_VERSION).tar.gz
+PERL_LWP_PROTOCOL_HTTPS_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS
+PERL_LWP_PROTOCOL_HTTPS_LICENSE = Artistic or GPL-1.0+
+PERL_LWP_PROTOCOL_HTTPS_LICENSE_FILES = README
+PERL_LWP_PROTOCOL_HTTPS_DISTNAME = LWP-Protocol-https
+
+$(eval $(perl-package))
diff --git a/support/testing/tests/package/test_perl_lwp_protocol_https.py b/support/testing/tests/package/test_perl_lwp_protocol_https.py
new file mode 100644
index 0000000000..35437459a1
--- /dev/null
+++ b/support/testing/tests/package/test_perl_lwp_protocol_https.py
@@ -0,0 +1,42 @@
+from tests.package.test_perl import TestPerlBase
+
+
+class TestPerlLWPProtocolhttps(TestPerlBase):
+    """
+    package:
+        LWP-Protocol-https
+    direct dependencies:
+        IO-Socket-SSL
+        Mozilla-CA
+        Net-HTTP
+        libwww-perl
+    indirect dependencies:
+        Encode-Locale
+        File-Listing
+        HTML-Parser   XS
+        HTML-Tagset
+        HTTP-Cookies
+        HTTP-Daemon
+        HTTP-Date
+        HTTP-Message
+        HTTP-Negotiate
+        IO-HTML
+        LWP-MediaTypes
+        Net-SSLeay   XS
+        TimeDate
+        Try-Tiny
+        URI
+        WWW-RobotRules
+    """
+
+    config = TestPerlBase.config + \
+        """
+        BR2_PACKAGE_PERL=y
+        BR2_PACKAGE_PERL_LWP_PROTOCOL_HTTPS=y
+        """
+
+    def test_run(self):
+        self.login()
+        self.module_test("HTML::Parser")
+        self.module_test("Net::SSLeay")
+        self.module_test("LWP::Protocol::https")
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 10/12] package/perl-path-class: new host package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
                   ` (8 preceding siblings ...)
  2020-02-10 10:47 ` [Buildroot] [PATCH 09/12] package/perl-lwp-protocol-https: " Thomas De Schampheleire
@ 2020-02-10 10:47 ` Thomas De Schampheleire
  2020-02-10 10:47 ` [Buildroot] [PATCH 11/12] package/perl-crypt-ssleay: new package Thomas De Schampheleire
  2020-02-10 10:47 ` [Buildroot] [PATCH 12/12] support/testing: add missing test file for perl-html-parser Thomas De Schampheleire
  11 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:47 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

Dependency for perl-crypt-ssleay (added in a subsequent commit)

Added via utils/scancpan, without changes.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                   |  1 +
 package/perl-path-class/perl-path-class.hash |  6 ++++++
 package/perl-path-class/perl-path-class.mk   | 15 +++++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 package/perl-path-class/perl-path-class.hash
 create mode 100644 package/perl-path-class/perl-path-class.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 647c4f94f1..c8b71ee7c1 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2393,6 +2393,7 @@ F:	package/perl-mozilla-ca/
 F:	package/perl-net-snmp/
 F:	package/perl-net-ssh2/
 F:	package/perl-net-telnet/
+F:	package/perl-path-class/
 F:	package/pigz/
 F:	package/xenomai/
 F:	support/scripts/size-stats
diff --git a/package/perl-path-class/perl-path-class.hash b/package/perl-path-class/perl-path-class.hash
new file mode 100644
index 0000000000..d2741dfca4
--- /dev/null
+++ b/package/perl-path-class/perl-path-class.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    13e6db714f6d5a0e62ca1c4a7fc4d0f3 Path-Class-0.37.tar.gz
+sha256 654781948602386f2cb2e4473a739f17dc6953d92aabc2498a4ca2561bc248ce Path-Class-0.37.tar.gz
+
+# computed by scancpan
+sha256 636b5c82eabfe3d4cd86126db9502fd537d1442ad2c88c93dbe221e62b5f1710 LICENSE
diff --git a/package/perl-path-class/perl-path-class.mk b/package/perl-path-class/perl-path-class.mk
new file mode 100644
index 0000000000..185b7f6391
--- /dev/null
+++ b/package/perl-path-class/perl-path-class.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# perl-path-class
+#
+################################################################################
+
+PERL_PATH_CLASS_VERSION = 0.37
+PERL_PATH_CLASS_SOURCE = Path-Class-$(PERL_PATH_CLASS_VERSION).tar.gz
+PERL_PATH_CLASS_SITE = $(BR2_CPAN_MIRROR)/authors/id/K/KW/KWILLIAMS
+HOST_PERL_PATH_CLASS_DEPENDENCIES = host-perl-module-build
+PERL_PATH_CLASS_LICENSE = Artistic or GPL-1.0+
+PERL_PATH_CLASS_LICENSE_FILES = LICENSE
+PERL_PATH_CLASS_DISTNAME = Path-Class
+
+$(eval $(host-perl-package))
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 11/12] package/perl-crypt-ssleay: new package
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
                   ` (9 preceding siblings ...)
  2020-02-10 10:47 ` [Buildroot] [PATCH 10/12] package/perl-path-class: new host package Thomas De Schampheleire
@ 2020-02-10 10:47 ` Thomas De Schampheleire
  2020-02-10 10:47 ` [Buildroot] [PATCH 12/12] support/testing: add missing test file for perl-html-parser Thomas De Schampheleire
  11 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:47 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

Added via utils/scancpan, adding a host dependency to perl-try-tiny and
target dependency to openssl.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 DEVELOPERS                                    |  1 +
 package/Config.in                             |  1 +
 package/perl-crypt-ssleay/Config.in           | 12 ++++++
 .../perl-crypt-ssleay/perl-crypt-ssleay.hash  |  6 +++
 .../perl-crypt-ssleay/perl-crypt-ssleay.mk    | 18 ++++++++
 package/perl-try-tiny/perl-try-tiny.mk        |  1 +
 .../tests/package/test_perl_crypt_ssleay.py   | 43 +++++++++++++++++++
 7 files changed, 82 insertions(+)
 create mode 100644 package/perl-crypt-ssleay/Config.in
 create mode 100644 package/perl-crypt-ssleay/perl-crypt-ssleay.hash
 create mode 100644 package/perl-crypt-ssleay/perl-crypt-ssleay.mk
 create mode 100644 support/testing/tests/package/test_perl_crypt_ssleay.py

diff --git a/DEVELOPERS b/DEVELOPERS
index c8b71ee7c1..4e4f96354e 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2379,6 +2379,7 @@ F:	package/perl-convert-asn1/
 F:	package/perl-crypt-blowfish/
 F:	package/perl-crypt-cbc/
 F:	package/perl-crypt-openssl-aes/
+F:	package/perl-crypt-ssleay/
 F:	package/perl-i18n/
 F:	package/perl-locale-maketext-lexicon/
 F:	package/perl-lwp-protocol-https/
diff --git a/package/Config.in b/package/Config.in
index 05dd1e452f..931f68fc35 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -724,6 +724,7 @@ menu "Perl libraries/modules"
 	source "package/perl-crypt-openssl-aes/Config.in"
 	source "package/perl-crypt-openssl-random/Config.in"
 	source "package/perl-crypt-openssl-rsa/Config.in"
+	source "package/perl-crypt-ssleay/Config.in"
 	source "package/perl-data-dump/Config.in"
 	source "package/perl-data-optlist/Config.in"
 	source "package/perl-data-uuid/Config.in"
diff --git a/package/perl-crypt-ssleay/Config.in b/package/perl-crypt-ssleay/Config.in
new file mode 100644
index 0000000000..92ea354b46
--- /dev/null
+++ b/package/perl-crypt-ssleay/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PERL_CRYPT_SSLEAY
+	bool "perl-crypt-ssleay"
+	depends on !BR2_STATIC_LIBS
+	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_PERL_LWP_PROTOCOL_HTTPS # runtime
+	help
+	  OpenSSL support for LWP.
+
+	  https://metacpan.org/release/Crypt-SSLeay
+
+comment "perl-crypt-ssleay needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
diff --git a/package/perl-crypt-ssleay/perl-crypt-ssleay.hash b/package/perl-crypt-ssleay/perl-crypt-ssleay.hash
new file mode 100644
index 0000000000..c5427bfec9
--- /dev/null
+++ b/package/perl-crypt-ssleay/perl-crypt-ssleay.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    77d955c9056dbb12413d95d8852a9cdf Crypt-SSLeay-0.72.tar.gz
+sha256 f5d34f813677829857cf8a0458623db45b4d9c2311daaebe446f9e01afa9ffe8 Crypt-SSLeay-0.72.tar.gz
+
+# computed by scancpan
+sha256 5c21a4393be5a9d307fd1dd2274e5d261a3213272277c2b72e7321db51e4bad7 README.md
diff --git a/package/perl-crypt-ssleay/perl-crypt-ssleay.mk b/package/perl-crypt-ssleay/perl-crypt-ssleay.mk
new file mode 100644
index 0000000000..9564ee2b38
--- /dev/null
+++ b/package/perl-crypt-ssleay/perl-crypt-ssleay.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# perl-crypt-ssleay
+#
+################################################################################
+
+PERL_CRYPT_SSLEAY_VERSION = 0.72
+PERL_CRYPT_SSLEAY_SOURCE = Crypt-SSLeay-$(PERL_CRYPT_SSLEAY_VERSION).tar.gz
+PERL_CRYPT_SSLEAY_SITE = $(BR2_CPAN_MIRROR)/authors/id/N/NA/NANIS
+PERL_CRYPT_SSLEAY_DEPENDENCIES = \
+	openssl \
+	host-perl-path-class \
+	host-perl-try-tiny
+PERL_CRYPT_SSLEAY_LICENSE = Artistic-2.0
+PERL_CRYPT_SSLEAY_LICENSE_FILES = README.md
+PERL_CRYPT_SSLEAY_DISTNAME = Crypt-SSLeay
+
+$(eval $(perl-package))
diff --git a/package/perl-try-tiny/perl-try-tiny.mk b/package/perl-try-tiny/perl-try-tiny.mk
index f13e2ee59f..62fb1bbace 100644
--- a/package/perl-try-tiny/perl-try-tiny.mk
+++ b/package/perl-try-tiny/perl-try-tiny.mk
@@ -12,3 +12,4 @@ PERL_TRY_TINY_LICENSE_FILES = LICENCE
 PERL_TRY_TINY_DISTNAME = Try-Tiny
 
 $(eval $(perl-package))
+$(eval $(host-perl-package))
diff --git a/support/testing/tests/package/test_perl_crypt_ssleay.py b/support/testing/tests/package/test_perl_crypt_ssleay.py
new file mode 100644
index 0000000000..e6093b3938
--- /dev/null
+++ b/support/testing/tests/package/test_perl_crypt_ssleay.py
@@ -0,0 +1,43 @@
+from tests.package.test_perl import TestPerlBase
+
+
+class TestPerlCryptSSLeay(TestPerlBase):
+    """
+    package:
+        Crypt-SSLeay   XS
+    direct dependencies:
+        LWP-Protocol-https
+    indirect dependencies:
+        Encode-Locale
+        File-Listing
+        HTML-Parser   XS
+        HTML-Tagset
+        HTTP-Cookies
+        HTTP-Daemon
+        HTTP-Date
+        HTTP-Message
+        HTTP-Negotiate
+        IO-HTML
+        IO-Socket-SSL
+        LWP-MediaTypes
+        Mozilla-CA
+        Net-HTTP
+        Net-SSLeay   XS
+        TimeDate
+        Try-Tiny
+        URI
+        WWW-RobotRules
+        libwww-perl
+    """
+
+    config = TestPerlBase.config + \
+        """
+        BR2_PACKAGE_PERL=y
+        BR2_PACKAGE_PERL_CRYPT_SSLEAY=y
+        """
+
+    def test_run(self):
+        self.login()
+        self.module_test("HTML::Parser")
+        self.module_test("Net::SSLeay")
+        self.module_test("Crypt::SSLeay")
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 12/12] support/testing: add missing test file for perl-html-parser
  2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
                   ` (10 preceding siblings ...)
  2020-02-10 10:47 ` [Buildroot] [PATCH 11/12] package/perl-crypt-ssleay: new package Thomas De Schampheleire
@ 2020-02-10 10:47 ` Thomas De Schampheleire
  2020-02-10 16:45   ` François Perrad
  11 siblings, 1 reply; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 10:47 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

This file was created by utils/scancpan while adding other packages but
apparently not yet added in the repo.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 .../tests/package/test_perl_html_parser.py    | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 support/testing/tests/package/test_perl_html_parser.py

diff --git a/support/testing/tests/package/test_perl_html_parser.py b/support/testing/tests/package/test_perl_html_parser.py
new file mode 100644
index 0000000000..6431633482
--- /dev/null
+++ b/support/testing/tests/package/test_perl_html_parser.py
@@ -0,0 +1,20 @@
+from tests.package.test_perl import TestPerlBase
+
+
+class TestPerlHTMLParser(TestPerlBase):
+    """
+    package:
+        HTML-Parser   XS
+    direct dependencies:
+        HTML-Tagset
+    """
+
+    config = TestPerlBase.config + \
+        """
+        BR2_PACKAGE_PERL=y
+        BR2_PACKAGE_PERL_HTML_PARSER=y
+        """
+
+    def test_run(self):
+        self.login()
+        self.module_test("HTML::Parser")
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 05/12] package/perl-mojolicious-plugin-i18n: new package
  2020-02-10 10:46 ` [Buildroot] [PATCH 05/12] package/perl-mojolicious-plugin-i18n: " Thomas De Schampheleire
@ 2020-02-10 11:10   ` Thomas De Schampheleire
  0 siblings, 0 replies; 15+ messages in thread
From: Thomas De Schampheleire @ 2020-02-10 11:10 UTC (permalink / raw)
  To: buildroot

El lun., 10 feb. 2020 a las 11:47, Thomas De Schampheleire
(<patrickdepinguin@gmail.com>) escribi?:
>
> From: Joeri Barbarien <joeri.barbarien@nokia.com>
>
> Added via utils/scancpan, without changes.
>
> Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> ---
>  DEVELOPERS                                         |  1 +
>  package/Config.in                                  |  1 +
>  package/perl-mojolicious-plugin-i18n/Config.in     |  7 +++++++
>  .../perl-mojolicious-plugin-i18n.hash              |  3 +++
>  .../perl-mojolicious-plugin-i18n.mk                | 14 ++++++++++++++
>  5 files changed, 26 insertions(+)
>  create mode 100644 package/perl-mojolicious-plugin-i18n/Config.in
>  create mode 100644 package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash
>  create mode 100644 package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index c7b98fb349..dd6199bf6d 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -2385,6 +2385,7 @@ F:        package/perl-mime-base64-urlsafe/
>  F:     package/perl-mojolicious-plugin-authentication/
>  F:     package/perl-mojolicious-plugin-authorization/
>  F:     package/perl-mojolicious-plugin-cspheader/
> +F:     package/perl-mojolicious-plugin-i18n/
>  F:     package/perl-net-snmp/
>  F:     package/perl-net-ssh2/
>  F:     package/perl-net-telnet/
> diff --git a/package/Config.in b/package/Config.in
> index c85f0676cf..3a664b2521 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -781,6 +781,7 @@ menu "Perl libraries/modules"
>         source "package/perl-mojolicious-plugin-authentication/Config.in"
>         source "package/perl-mojolicious-plugin-authorization/Config.in"
>         source "package/perl-mojolicious-plugin-cspheader/Config.in"
> +       source "package/perl-mojolicious-plugin-i18n/Config.in"
>         source "package/perl-moo/Config.in"
>         source "package/perl-net-dns/Config.in"
>         source "package/perl-net-http/Config.in"
> diff --git a/package/perl-mojolicious-plugin-i18n/Config.in b/package/perl-mojolicious-plugin-i18n/Config.in
> new file mode 100644
> index 0000000000..cbe11451c5
> --- /dev/null
> +++ b/package/perl-mojolicious-plugin-i18n/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_PERL_MOJOLICIOUS_PLUGIN_I18N
> +       bool "perl-mojolicious-plugin-i18n"
> +       select BR2_PACKAGE_PERL_MOJOLICIOUS # runtime
> +       help
> +         Internationalization Plugin for Mojolicious.
> +
> +         https://metacpan.org/release/Mojolicious-Plugin-I18N
> diff --git a/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash
> new file mode 100644
> index 0000000000..81253cdec4
> --- /dev/null
> +++ b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash
> @@ -0,0 +1,3 @@
> +# retrieved by scancpan from http://cpan.metacpan.org/
> +md5    4002f7a7da4c90973ad6eedfb0fcfa16 Mojolicious-Plugin-I18N-1.6.tar.gz
> +sha256 32fb5ef8037d954b7ecebef5c1b2b24b420abd829702312f4ad42794f52b514d Mojolicious-Plugin-I18N-1.6.tar.gz
> diff --git a/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk
> new file mode 100644
> index 0000000000..7de8db8c52
> --- /dev/null
> +++ b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# perl-mojolicious-plugin-i18n
> +#
> +################################################################################
> +
> +PERL_MOJOLICIOUS_PLUGIN_I18N_VERSION = 1.6
> +PERL_MOJOLICIOUS_PLUGIN_I18N_SOURCE = Mojolicious-Plugin-I18N-$(PERL_MOJOLICIOUS_PLUGIN_I18N_VERSION).tar.gz
> +PERL_MOJOLICIOUS_PLUGIN_I18N_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SH/SHARIFULN
> +PERL_MOJOLICIOUS_PLUGIN_I18N_DEPENDENCIES = host-perl-module-build
> +PERL_MOJOLICIOUS_PLUGIN_I18N_LICENSE = Artistic or GPL-1.0+

It seems I did not correctly add the LICENSE_FILES here. Moreover, the
license declared in the META.{json,yml} files ('perl-5') versus the
one described in README.pod (Artistic-2.0) do not correspond, as the
former would also allow GPL-1.0. Will reduce to Artistic-2.0 instead.

Will resend a v2.

Best regards,
Thomas

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 12/12] support/testing: add missing test file for perl-html-parser
  2020-02-10 10:47 ` [Buildroot] [PATCH 12/12] support/testing: add missing test file for perl-html-parser Thomas De Schampheleire
@ 2020-02-10 16:45   ` François Perrad
  0 siblings, 0 replies; 15+ messages in thread
From: François Perrad @ 2020-02-10 16:45 UTC (permalink / raw)
  To: buildroot

Le lun. 10 f?vr. 2020 ? 11:48, Thomas De Schampheleire <
patrickdepinguin@gmail.com> a ?crit :

> From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
>
> This file was created by utils/scancpan while adding other packages but
> apparently not yet added in the repo.
>
>
HTML-Parser is a dependency of libwww-perl,
and already tested by
https://git.busybox.net/buildroot/tree/support/testing/tests/package/test_perl_libwww_perl.py#n39

Someone may think this additional test is redundant.

Fran?ois


> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> ---
>  .../tests/package/test_perl_html_parser.py    | 20 +++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 support/testing/tests/package/test_perl_html_parser.py
>
> diff --git a/support/testing/tests/package/test_perl_html_parser.py
> b/support/testing/tests/package/test_perl_html_parser.py
> new file mode 100644
> index 0000000000..6431633482
> --- /dev/null
> +++ b/support/testing/tests/package/test_perl_html_parser.py
> @@ -0,0 +1,20 @@
> +from tests.package.test_perl import TestPerlBase
> +
> +
> +class TestPerlHTMLParser(TestPerlBase):
> +    """
> +    package:
> +        HTML-Parser   XS
> +    direct dependencies:
> +        HTML-Tagset
> +    """
> +
> +    config = TestPerlBase.config + \
> +        """
> +        BR2_PACKAGE_PERL=y
> +        BR2_PACKAGE_PERL_HTML_PARSER=y
> +        """
> +
> +    def test_run(self):
> +        self.login()
> +        self.module_test("HTML::Parser")
> --
> 2.24.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200210/2a5b5e74/attachment.html>

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-02-10 16:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-10 10:46 [Buildroot] [PATCH 00/12] More perl packages + chartjs Thomas De Schampheleire
2020-02-10 10:46 ` [Buildroot] [PATCH 01/12] package/perl-locale-maketext-lexicon: new package Thomas De Schampheleire
2020-02-10 10:46 ` [Buildroot] [PATCH 02/12] package/perl-i18n: " Thomas De Schampheleire
2020-02-10 10:46 ` [Buildroot] [PATCH 03/12] package/perl-mojolicious-plugin-authorization: " Thomas De Schampheleire
2020-02-10 10:46 ` [Buildroot] [PATCH 04/12] package/perl-mojolicious-plugin-cspheader: " Thomas De Schampheleire
2020-02-10 10:46 ` [Buildroot] [PATCH 05/12] package/perl-mojolicious-plugin-i18n: " Thomas De Schampheleire
2020-02-10 11:10   ` Thomas De Schampheleire
2020-02-10 10:46 ` [Buildroot] [PATCH 06/12] package/perl-mojolicious-plugin-securityheader: " Thomas De Schampheleire
2020-02-10 10:47 ` [Buildroot] [PATCH 07/12] package/chartjs: " Thomas De Schampheleire
2020-02-10 10:47 ` [Buildroot] [PATCH 08/12] package/perl-mozilla-ca: " Thomas De Schampheleire
2020-02-10 10:47 ` [Buildroot] [PATCH 09/12] package/perl-lwp-protocol-https: " Thomas De Schampheleire
2020-02-10 10:47 ` [Buildroot] [PATCH 10/12] package/perl-path-class: new host package Thomas De Schampheleire
2020-02-10 10:47 ` [Buildroot] [PATCH 11/12] package/perl-crypt-ssleay: new package Thomas De Schampheleire
2020-02-10 10:47 ` [Buildroot] [PATCH 12/12] support/testing: add missing test file for perl-html-parser Thomas De Schampheleire
2020-02-10 16:45   ` François Perrad

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.