From c55705e580e50c7aca7425eb0c46f70ef9694087 Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Tue, 22 Jul 2025 11:12:28 +0800 Subject: libcgi-perl: upgrade 4.68 -> 4.70 add liburi-perl to ptest to fix issue: | not ok 135 - calling bake() without mod_perl should survive | # Failed test 'calling bake() without mod_perl should survive' | # at t/cookie.t line 448. | # got: 'Can't locate URI.pm in @INC (you may need to install the URI module) (@INC entries checked: . /usr/lib/perl5/site_perl/5.40.2/x86_64-linux /usr/lib/perl5/site_perl/5.40.2 /usr/lib/perl5/vendor_perl/5.40.2/x86_64-linux /usr/lib/perl5/vendor_perl/5.40.2 /usr/lib/perl5/5.40.2/x86_64-linux /usr/lib/perl5/5.40.2) at /usr/lib/perl5/vendor_perl/5.40.2/CGI.pm line 4. | # BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.40.2/CGI.pm line 4. | # Compilation failed in require at /usr/lib/perl5/vendor_perl/5.40.2/CGI/Cookie.pm line 183. Changelog: ========== - remove github/coveralls/travis badges - add github actions for CI Signed-off-by: Liu Yiding Signed-off-by: Khem Raj --- meta-perl/recipes-perl/libcgi/libcgi-perl_4.68.bb | 50 ---------------------- meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb | 51 +++++++++++++++++++++++ 2 files changed, 51 insertions(+), 50 deletions(-) delete mode 100644 meta-perl/recipes-perl/libcgi/libcgi-perl_4.68.bb create mode 100644 meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb (limited to 'meta-perl/recipes-perl') diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.68.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.68.bb deleted file mode 100644 index 0c738b0b06..0000000000 --- a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.68.bb +++ /dev/null @@ -1,50 +0,0 @@ -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 = "https://metacpan.org/pod/CGI" -SECTION = "libs" -LICENSE = "Artistic-2.0 | GPL-2.0-only" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb" - -SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz" - -SRC_URI[sha256sum] = "12fb5a5b392032413571169257f98533488005550774bcbd0715be687a590cf2" - -S = "${UNPACKDIR}/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" diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb new file mode 100644 index 0000000000..59803b403a --- /dev/null +++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb @@ -0,0 +1,51 @@ +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 = "https://metacpan.org/pod/CGI" +SECTION = "libs" +LICENSE = "Artistic-2.0 | GPL-2.0-only" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb" + +SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz" + +SRC_URI[sha256sum] = "538ad19c40402e3bbbe00e6d374c3ce2966feb391096dac883ac5104c2083bc9" + +S = "${UNPACKDIR}/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 \ + liburi-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