From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 03/12] package/perl-mojolicious-plugin-authorization: new package
Date: Mon, 10 Feb 2020 11:46:56 +0100 [thread overview]
Message-ID: <20200210104706.19186-4-patrickdepinguin@gmail.com> (raw)
In-Reply-To: <20200210104706.19186-1-patrickdepinguin@gmail.com>
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
next prev parent reply other threads:[~2020-02-10 10:46 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 ` Thomas De Schampheleire [this message]
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
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-4-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