mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/perl-cgi: new package
See here for a description: https://metacpan.org/pod/CGI Signed-off-by: Deividas Puplauskas <deividas.puplauskas@gmail.com> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
dd151e7a10
commit
d5c28aa439
@@ -3437,6 +3437,7 @@ F: package/evilwm/
|
|||||||
F: package/fbv/
|
F: package/fbv/
|
||||||
F: package/libpam-pkcs11/
|
F: package/libpam-pkcs11/
|
||||||
F: package/mksh/
|
F: package/mksh/
|
||||||
|
F: package/perl-cgi/
|
||||||
F: package/ruby/
|
F: package/ruby/
|
||||||
F: package/uclibc/
|
F: package/uclibc/
|
||||||
F: package/uclibc-ng-test/
|
F: package/uclibc-ng-test/
|
||||||
|
|||||||
@@ -814,6 +814,7 @@ menu "Perl libraries/modules"
|
|||||||
source "package/perl-apache-logformat-compiler/Config.in"
|
source "package/perl-apache-logformat-compiler/Config.in"
|
||||||
source "package/perl-appconfig/Config.in"
|
source "package/perl-appconfig/Config.in"
|
||||||
source "package/perl-astro-suntime/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-inspector/Config.in"
|
||||||
source "package/perl-class-load/Config.in"
|
source "package/perl-class-load/Config.in"
|
||||||
source "package/perl-class-method-modifiers/Config.in"
|
source "package/perl-class-method-modifiers/Config.in"
|
||||||
|
|||||||
12
package/perl-cgi/Config.in
Normal file
12
package/perl-cgi/Config.in
Normal file
@@ -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
|
||||||
6
package/perl-cgi/perl-cgi.hash
Normal file
6
package/perl-cgi/perl-cgi.hash
Normal file
@@ -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
|
||||||
14
package/perl-cgi/perl-cgi.mk
Normal file
14
package/perl-cgi/perl-cgi.mk
Normal file
@@ -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))
|
||||||
33
support/testing/tests/package/test_perl_cgi.py
Normal file
33
support/testing/tests/package/test_perl_cgi.py
Normal file
@@ -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")
|
||||||
Reference in New Issue
Block a user