package/perl-mojolicious-plugin-authorization: new package
authorJoeri Barbarien <joeri.barbarien@nokia.com>
Mon, 10 Feb 2020 11:26:26 +0000 (12:26 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 15 Mar 2020 20:38:55 +0000 (21:38 +0100)
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>
DEVELOPERS
package/Config.in
package/perl-mojolicious-plugin-authorization/Config.in [new file with mode: 0644]
package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash [new file with mode: 0644]
package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk [new file with mode: 0644]

index 86e653f8548c3355bfb26de04024b5fab97c2094..d3ed653dd9838e9d40361163111e32ce42eb3c72 100644 (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/
index 06c22ee3cd5f114fe4d296e1bcd70b7ee417d8bf..10f3131ea5869f4b024fcc8f817d7031bdc7c875 100644 (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"
diff --git a/package/perl-mojolicious-plugin-authorization/Config.in b/package/perl-mojolicious-plugin-authorization/Config.in
new file mode 100644 (file)
index 0000000..87976cb
--- /dev/null
@@ -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 (file)
index 0000000..c55eefe
--- /dev/null
@@ -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 (file)
index 0000000..3fcee08
--- /dev/null
@@ -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))