package/perl-cgi: new package
PATCH 1/1 package/perl-cgi: new package
From: Deividas Puplauskas <[email protected]>
See here for a description:
https://metacpan.org/pod/CGI
Signed-off-by Deividas Puplauskas <[email protected]>
Signed-off-by Waldemar Brodkorb <[email protected]>
--- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-cgi/Config.in | 12 +++++++ package/perl-cgi/perl-cgi.hash | 6 ++++ package/perl-cgi/perl-cgi.mk | 14 ++++++++ .../testing/tests/package/test_perl_cgi.py | 33 +++++++++++++++++++ 6 files changed, 67 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 create mode 100644 support/testing/tests/package/test_perl_cgi.py
DEVELOPERS +1 -0
@@ -3435,6 +3435,7 @@ F: package/evilwm/ F: package/fbv/ F: package/libpam-pkcs11/ F: package/mksh/ +F: package/perl-cgi/ F: package/ruby/ F: package/uclibc/ F: package/uclibc-ng-test/
package/Config.in +1 -0
@@ -813,6 +813,7 @@ menu "Perl libraries/modules" source "package/perl-apache-logformat-compiler/Config.in" source "package/perl-appconfig/Config.in" source "package/perl-astro-suntime/Config.in" + source "package/perl-cgi/Config.in" source "package/perl-class-inspector/Config.in" source "package/perl-class-load/Config.in" source "package/perl-class-method-modifiers/Config.in"
package/perl-cgi/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_PERL_CGI + bool "perl-cgi" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_HTML_PARSER # runtime + select BR2_PACKAGE_PERL_URI # runtime + 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
package/perl-cgi/perl-cgi.hash new file +6 -0
@@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 ea0c7b5b002f100f23b11ac9487088a9 CGI-4.72.tar.gz +sha256 babc1ca72db188083a1c3812debe88c4473b943b1f7c662281cd57c580a8bdd9 CGI-4.72.tar.gz + +# computed by scancpan +sha256 55a4d9005df91f82cd19aab29c3ad64c1a2e2d69a069f76570ee679bedd6b351 LICENSE
package/perl-cgi/perl-cgi.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# perl-cgi +# +################################################################################ + +PERL_CGI_VERSION = 4.72 +PERL_CGI_SOURCE = CGI-$(PERL_CGI_VERSION).tar.gz +PERL_CGI_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LE/LEEJO +PERL_CGI_LICENSE = Artistic-2.0 +PERL_CGI_LICENSE_FILES = LICENSE +PERL_CGI_DISTNAME = CGI + +$(eval $(perl-package))
support/testing/tests/package/test_perl_cgi.py new file +33 -0
@@ -0,0 +1,33 @@ +from tests.package.test_perl import TestPerlBase + + +class TestPerlCGI(TestPerlBase): + """ + package: + CGI + direct dependencies: + HTML-Parser XS + URI + indirect dependencies: + Clone XS + Encode-Locale + HTML-Tagset + HTTP-Date + HTTP-Message + IO-HTML + LWP-MediaTypes + MIME-Base32 + TimeDate + """ + + config = TestPerlBase.config + \ + """ + BR2_PACKAGE_PERL=y + BR2_PACKAGE_PERL_CGI=y + """ + + def test_run(self): + self.login() + self.module_test("Clone") + self.module_test("HTML::Parser") + self.module_test("CGI")
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Waldemar" == Waldemar Brodkorb <[email protected]> writes:
From: Deividas Puplauskas <[email protected]> See here for a description:
https://metacpan.org/pod/CGISigned-off-by Deividas Puplauskas <[email protected]>Signed-off-by Waldemar Brodkorb <[email protected]>
Committed to next, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot