[3/3] perl-cgi: new package

Message ID 20180810144635.16182-2-chrismcc@gmail.com
State Awaiting Upstream
Headers show
Series
  • [1/3] fake-hwclock: new package
Related show

Commit Message

Christopher McCrory Aug. 10, 2018, 2:46 p.m.
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
 package/Config.in              |  1 +
 package/perl-cgi/Config.in     | 11 +++++++++++
 package/perl-cgi/perl-cgi.hash |  6 ++++++
 package/perl-cgi/perl-cgi.mk   | 14 ++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/perl-cgi/Config.in
 create mode 100644 package/perl-cgi/perl-cgi.hash
 create mode 100644 package/perl-cgi/perl-cgi.mk

Comments

François Perrad Aug. 14, 2018, 3:45 a.m. | #1
2018-08-10 16:46 GMT+02:00 Christopher McCrory <chrismcc@gmail.com>:

> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
>

Acked-by: Francois Perrad <francois.perrad@gadz.org>

---
>  package/Config.in              |  1 +
>  package/perl-cgi/Config.in     | 11 +++++++++++
>  package/perl-cgi/perl-cgi.hash |  6 ++++++
>  package/perl-cgi/perl-cgi.mk   | 14 ++++++++++++++
>  4 files changed, 32 insertions(+)
>  create mode 100644 package/perl-cgi/Config.in
>  create mode 100644 package/perl-cgi/perl-cgi.hash
>  create mode 100644 package/perl-cgi/perl-cgi.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 42c61c242e..9704aba846 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -665,6 +665,7 @@ endif
>         source "package/perl/Config.in"
>  if BR2_PACKAGE_PERL
>  menu "Perl libraries/modules"
> +       source "package/perl-cgi/Config.in"
>         source "package/perl-convert-asn1/Config.in"
>         source "package/perl-crypt-blowfish/Config.in"
>         source "package/perl-crypt-cbc/Config.in"
> diff --git a/package/perl-cgi/Config.in b/package/perl-cgi/Config.in
> new file mode 100644
> index 0000000000..a054ed7929
> --- /dev/null
> +++ b/package/perl-cgi/Config.in
> @@ -0,0 +1,11 @@
> +config BR2_PACKAGE_PERL_CGI
> +       bool "perl-cgi"
> +       depends on !BR2_STATIC_LIBS
> +       select BR2_PACKAGE_PERL_HTML_PARSER
> +       help
> +         Handle Common Gateway Interface requests and responses
> +
> +         https://metacpan.org/module/CGI
> +
> +comment "perl-cgi needs a toolchain w/ dynamic library"
> +       depends on BR2_STATIC_LIBS
> diff --git a/package/perl-cgi/perl-cgi.hash b/package/perl-cgi/perl-cgi.
> hash
> new file mode 100644
> index 0000000000..a65b8e5446
> --- /dev/null
> +++ b/package/perl-cgi/perl-cgi.hash
> @@ -0,0 +1,6 @@
> +# retrieved by scancpan from http://cpan.metacpan.org/
> +md5    0aeb8563d533e7f83724ed068b5bfc37 CGI-4.38.tar.gz
> +sha256 8c58f4a529bb92a914b22b7e64c5e31185c9854a4070a6dfad44fe5cc248e7d4
> CGI-4.38.tar.gz
> +
> +# computed by scancpan
> +sha256 c7cae89f03a970e90443b93cbf4b65d287ed20572e5d81543589c4b45c80fad8
> LICENSE
> diff --git a/package/perl-cgi/perl-cgi.mk b/package/perl-cgi/perl-cgi.mk
> new file mode 100644
> index 0000000000..b8115de6ad
> --- /dev/null
> +++ b/package/perl-cgi/perl-cgi.mk
> @@ -0,0 +1,14 @@
> +###########################################################
> #####################
> +#
> +# perl-cgi
> +#
> +###########################################################
> #####################
> +
> +PERL_CGI_VERSION = 4.38
> +PERL_CGI_SOURCE = CGI-$(PERL_CGI_VERSION).tar.gz
> +PERL_CGI_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LE/LEEJO
> +PERL_CGI_DEPENDENCIES = perl-html-parser
> +PERL_CGI_LICENSE = Artistic or GPL-1.0+
> +PERL_CGI_LICENSE_FILES = LICENSE
> +
> +$(eval $(perl-package))
> --
> 2.14.4
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-08-10 16:46 GMT+02:00 Christopher McCrory <span dir="ltr">&lt;<a href="mailto:chrismcc@gmail.com" target="_blank">chrismcc@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Christopher McCrory &lt;<a href="mailto:chrismcc@gmail.com">chrismcc@gmail.com</a>&gt;<br></blockquote><div><br></div><div>Acked-by: Francois Perrad &lt;<a href="mailto:francois.perrad@gadz.org">francois.perrad@gadz.org</a>&gt;<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
 package/Config.in              |  1 +<br>
 package/perl-cgi/Config.in     | 11 +++++++++++<br>
 package/perl-cgi/perl-cgi.hash |  6 ++++++<br>
 package/perl-cgi/<a href="http://perl-cgi.mk" rel="noreferrer" target="_blank">perl-cgi.mk</a>   | 14 ++++++++++++++<br>
 4 files changed, 32 insertions(+)<br>
 create mode 100644 package/perl-cgi/Config.in<br>
 create mode 100644 package/perl-cgi/perl-cgi.hash<br>
 create mode 100644 package/perl-cgi/<a href="http://perl-cgi.mk" rel="noreferrer" target="_blank">perl-cgi.mk</a><br>
<br>
diff --git a/package/Config.in b/package/Config.in<br>
index 42c61c242e..9704aba846 100644<br>
--- a/package/Config.in<br>
+++ b/package/Config.in<br>
@@ -665,6 +665,7 @@ endif<br>
        source &quot;package/perl/Config.in&quot;<br>
 if BR2_PACKAGE_PERL<br>
 menu &quot;Perl libraries/modules&quot;<br>
+       source &quot;package/perl-cgi/Config.in&quot;<br>
        source &quot;package/perl-convert-asn1/<wbr>Config.in&quot;<br>
        source &quot;package/perl-crypt-blowfish/<wbr>Config.in&quot;<br>
        source &quot;package/perl-crypt-cbc/<wbr>Config.in&quot;<br>
diff --git a/package/perl-cgi/Config.in b/package/perl-cgi/Config.in<br>
new file mode 100644<br>
index 0000000000..a054ed7929<br>
--- /dev/null<br>
+++ b/package/perl-cgi/Config.in<br>
@@ -0,0 +1,11 @@<br>
+config BR2_PACKAGE_PERL_CGI<br>
+       bool &quot;perl-cgi&quot;<br>
+       depends on !BR2_STATIC_LIBS<br>
+       select BR2_PACKAGE_PERL_HTML_PARSER<br>
+       help<br>
+         Handle Common Gateway Interface requests and responses<br>
+<br>
+         <a href="https://metacpan.org/module/CGI" rel="noreferrer" target="_blank">https://metacpan.org/module/<wbr>CGI</a><br>
+<br>
+comment &quot;perl-cgi needs a toolchain w/ dynamic library&quot;<br>
+       depends on BR2_STATIC_LIBS<br>
diff --git a/package/perl-cgi/perl-cgi.<wbr>hash b/package/perl-cgi/perl-cgi.<wbr>hash<br>
new file mode 100644<br>
index 0000000000..a65b8e5446<br>
--- /dev/null<br>
+++ b/package/perl-cgi/perl-cgi.<wbr>hash<br>
@@ -0,0 +1,6 @@<br>
+# retrieved by scancpan from <a href="http://cpan.metacpan.org/" rel="noreferrer" target="_blank">http://cpan.metacpan.org/</a><br>
+md5    0aeb8563d533e7f83724ed068b5bfc<wbr>37 CGI-4.38.tar.gz<br>
+sha256 8c58f4a529bb92a914b22b7e64c5e3<wbr>1185c9854a4070a6dfad44fe5cc248<wbr>e7d4 CGI-4.38.tar.gz<br>
+<br>
+# computed by scancpan<br>
+sha256 c7cae89f03a970e90443b93cbf4b65<wbr>d287ed20572e5d81543589c4b45c80<wbr>fad8 LICENSE<br>
diff --git a/package/perl-cgi/<a href="http://perl-cgi.mk" rel="noreferrer" target="_blank">perl-cgi.mk</a> b/package/perl-cgi/<a href="http://perl-cgi.mk" rel="noreferrer" target="_blank">perl-cgi.mk</a><br>
new file mode 100644<br>
index 0000000000..b8115de6ad<br>
--- /dev/null<br>
+++ b/package/perl-cgi/<a href="http://perl-cgi.mk" rel="noreferrer" target="_blank">perl-cgi.mk</a><br>
@@ -0,0 +1,14 @@<br>
+#############################<wbr>##############################<wbr>#####################<br>
+#<br>
+# perl-cgi<br>
+#<br>
+#############################<wbr>##############################<wbr>#####################<br>
+<br>
+PERL_CGI_VERSION = 4.38<br>
+PERL_CGI_SOURCE = CGI-$(PERL_CGI_VERSION).tar.gz<br>
+PERL_CGI_SITE = $(BR2_CPAN_MIRROR)/authors/id/<wbr>L/LE/LEEJO<br>
+PERL_CGI_DEPENDENCIES = perl-html-parser<br>
+PERL_CGI_LICENSE = Artistic or GPL-1.0+<br>
+PERL_CGI_LICENSE_FILES = LICENSE<br>
+<br>
+$(eval $(perl-package))<br>
<span class="gmail-HOEnZb"><font color="#888888">-- <br>
2.14.4<br>
<br>
______________________________<wbr>_________________<br>
buildroot mailing list<br>
<a href="mailto:buildroot@busybox.net">buildroot@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/buildroot" rel="noreferrer" target="_blank">http://lists.busybox.net/<wbr>mailman/listinfo/buildroot</a><br>
</font></span></blockquote></div><br></div></div>

Patch

diff --git a/package/Config.in b/package/Config.in
index 42c61c242e..9704aba846 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -665,6 +665,7 @@  endif
 	source "package/perl/Config.in"
 if BR2_PACKAGE_PERL
 menu "Perl libraries/modules"
+	source "package/perl-cgi/Config.in"
 	source "package/perl-convert-asn1/Config.in"
 	source "package/perl-crypt-blowfish/Config.in"
 	source "package/perl-crypt-cbc/Config.in"
diff --git a/package/perl-cgi/Config.in b/package/perl-cgi/Config.in
new file mode 100644
index 0000000000..a054ed7929
--- /dev/null
+++ b/package/perl-cgi/Config.in
@@ -0,0 +1,11 @@ 
+config BR2_PACKAGE_PERL_CGI
+	bool "perl-cgi"
+	depends on !BR2_STATIC_LIBS
+	select BR2_PACKAGE_PERL_HTML_PARSER
+	help
+	  Handle Common Gateway Interface requests and responses
+
+	  https://metacpan.org/module/CGI
+
+comment "perl-cgi needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
diff --git a/package/perl-cgi/perl-cgi.hash b/package/perl-cgi/perl-cgi.hash
new file mode 100644
index 0000000000..a65b8e5446
--- /dev/null
+++ b/package/perl-cgi/perl-cgi.hash
@@ -0,0 +1,6 @@ 
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    0aeb8563d533e7f83724ed068b5bfc37 CGI-4.38.tar.gz
+sha256 8c58f4a529bb92a914b22b7e64c5e31185c9854a4070a6dfad44fe5cc248e7d4 CGI-4.38.tar.gz
+
+# computed by scancpan
+sha256 c7cae89f03a970e90443b93cbf4b65d287ed20572e5d81543589c4b45c80fad8 LICENSE
diff --git a/package/perl-cgi/perl-cgi.mk b/package/perl-cgi/perl-cgi.mk
new file mode 100644
index 0000000000..b8115de6ad
--- /dev/null
+++ b/package/perl-cgi/perl-cgi.mk
@@ -0,0 +1,14 @@ 
+################################################################################
+#
+# perl-cgi
+#
+################################################################################
+
+PERL_CGI_VERSION = 4.38
+PERL_CGI_SOURCE = CGI-$(PERL_CGI_VERSION).tar.gz
+PERL_CGI_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LE/LEEJO
+PERL_CGI_DEPENDENCIES = perl-html-parser
+PERL_CGI_LICENSE = Artistic or GPL-1.0+
+PERL_CGI_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))