From c13fd3c677127e9010b4db8f90cd22e247787b4a Mon Sep 17 00:00:00 2001 From: wangmy Date: Tue, 8 Feb 2022 08:26:27 +0800 Subject: libcgi-perl: upgrade 4.53 -> 4.54 Changelog: ========= - fix use of cache when calling ->cookie - thanks to Sergey Panteleev for the PR Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-perl/recipes-perl/libcgi/libcgi-perl_4.54.bb | 50 +++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 meta-perl/recipes-perl/libcgi/libcgi-perl_4.54.bb (limited to 'meta-perl/recipes-perl/libcgi/libcgi-perl_4.54.bb') diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.54.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.54.bb new file mode 100644 index 000000000..bca20f6a4 --- /dev/null +++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.54.bb @@ -0,0 +1,50 @@ +DESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing and preparing \ +HTTP requests and responses. Major features including processing form \ +submissions, file uploads, reading and writing cookies, query string generation \ +and manipulation, and processing and preparing HTTP headers." +HOMEPAGE = "http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod" +SECTION = "libs" +LICENSE = "Artistic-2.0 | GPL-2.0" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz" + +SRC_URI[sha256sum] = "9608a044ae2e87cefae8e69b113e3828552ddaba0d596a02f9954c6ac17fa294" + +S = "${WORKDIR}/CGI-${PV}" + +inherit cpan ptest-perl + +RDEPENDS:${PN} += "\ + libhtml-parser-perl \ + perl-module-base \ + perl-module-deprecate \ + perl-module-if \ +" + +do_install:prepend() { + # requires "-T" (taint) command line option + rm -rf ${B}/t/push.t + rm -rf ${B}/t/utf8.t + # tests building of docs + rm -rf ${B}/t/compiles_pod.t +} + +RDEPENDS:${PN}-ptest += " \ + libtest-deep-perl \ + libtest-warn-perl \ + perl-module-bytes \ + perl-module-file-find \ + perl-module-filehandle \ + perl-module-findbin \ + perl-module-lib \ + perl-module-perlio \ + perl-module-perlio-scalar \ + perl-module-test-more \ + perl-module-utf8 \ +" + +RPROVIDES:${PN} += "perl-module-cgi" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf