package/perl-mojolicious-plugin-cspheader: new package
authorJoeri Barbarien <joeri.barbarien@nokia.com>
Mon, 10 Feb 2020 11:26:27 +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, without changes.

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-cspheader/Config.in [new file with mode: 0644]
package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.hash [new file with mode: 0644]
package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.mk [new file with mode: 0644]

index d3ed653dd9838e9d40361163111e32ce42eb3c72..b83148e527f5ee034c7190e685ac52eca4b4bb7a 100644 (file)
@@ -2406,6 +2406,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/
index 10f3131ea5869f4b024fcc8f817d7031bdc7c875..4b36386e342f274d46f8bffcefdb178d1dfded64 100644 (file)
@@ -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 (file)
index 0000000..841b309
--- /dev/null
@@ -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 (file)
index 0000000..d0f9dc3
--- /dev/null
@@ -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 (file)
index 0000000..438d6d5
--- /dev/null
@@ -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))