From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 09/12] package/perl-lwp-protocol-https: new package
Date: Mon, 10 Feb 2020 11:47:02 +0100 [thread overview]
Message-ID: <20200210104706.19186-10-patrickdepinguin@gmail.com> (raw)
In-Reply-To: <20200210104706.19186-1-patrickdepinguin@gmail.com>
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
next prev parent reply other threads:[~2020-02-10 10:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Thomas De Schampheleire [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200210104706.19186-10-patrickdepinguin@gmail.com \
--to=patrickdepinguin@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox