package/perl-mojolicious-plugin-authorization: new package

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Joeri Barbarien 2020-02-10 12:26:26 +01:00 committed by Thomas Petazzoni
parent 4ac07b29c0
commit 98de719cff
5 changed files with 30 additions and 0 deletions

View File

@ -2405,6 +2405,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/

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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))