diff options
Diffstat (limited to 'meta-oe/recipes-devtools/perl')
12 files changed, 22 insertions, 84 deletions
diff --git a/meta-oe/recipes-devtools/perl/dbd-mariadb_1.23.bb b/meta-oe/recipes-devtools/perl/dbd-mariadb_1.24.bb index 0eaf2137b6..65f2ec232a 100644 --- a/meta-oe/recipes-devtools/perl/dbd-mariadb_1.23.bb +++ b/meta-oe/recipes-devtools/perl/dbd-mariadb_1.24.bb | |||
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d0a06964340e5c0cde88b7af611f755c" | |||
6 | DEPENDS = "libdbi-perl-native libdev-checklib-perl-native libmysqlclient" | 6 | DEPENDS = "libdbi-perl-native libdev-checklib-perl-native libmysqlclient" |
7 | 7 | ||
8 | SRC_URI = "${CPAN_MIRROR}/authors/id/P/PA/PALI/DBD-MariaDB-${PV}.tar.gz" | 8 | SRC_URI = "${CPAN_MIRROR}/authors/id/P/PA/PALI/DBD-MariaDB-${PV}.tar.gz" |
9 | SRC_URI[sha256sum] = "0d0c76c660ddd55570e48f3e2fdea8f621a69ac0ed48190e8cfcafcb5e9b859d" | 9 | SRC_URI[sha256sum] = "f977a25b4116a0a95a7c8a894fd37097abe19af9a6a9ed4d800604ec17873fe4" |
10 | 10 | ||
11 | RDEPENDS:${PN} = "libdbi-perl" | 11 | RDEPENDS:${PN} = "libdbi-perl" |
12 | 12 | ||
13 | S = "${WORKDIR}/DBD-MariaDB-${PV}" | 13 | S = "${UNPACKDIR}/DBD-MariaDB-${PV}" |
14 | 14 | ||
15 | inherit cpan | 15 | inherit cpan |
16 | 16 | ||
diff --git a/meta-oe/recipes-devtools/perl/exiftool_12.85.bb b/meta-oe/recipes-devtools/perl/exiftool_12.89.bb index 66e9a3b719..69a4f79815 100644 --- a/meta-oe/recipes-devtools/perl/exiftool_12.85.bb +++ b/meta-oe/recipes-devtools/perl/exiftool_12.89.bb | |||
@@ -7,10 +7,9 @@ LIC_FILES_CHKSUM = "file://perl-Image-ExifTool.spec;beginline=5;endline=5;md5=ff | |||
7 | 7 | ||
8 | inherit cpan | 8 | inherit cpan |
9 | 9 | ||
10 | SRCREV = "405674e0c477931b60b10a78828483ef54761385" | 10 | SRCREV = "e04534a40925354187e8432d44248229d774f34a" |
11 | SRC_URI = "git://github.com/exiftool/exiftool;protocol=https;branch=master" | 11 | SRC_URI = "git://github.com/exiftool/exiftool;protocol=https;branch=master" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | ||
14 | 13 | ||
15 | RDEPENDS:${PN} = " \ | 14 | RDEPENDS:${PN} = " \ |
16 | perl \ | 15 | perl \ |
diff --git a/meta-oe/recipes-devtools/perl/ipc-run_20231003.0.bb b/meta-oe/recipes-devtools/perl/ipc-run_20231003.0.bb index e28b6ea018..9cdb0a52cc 100644 --- a/meta-oe/recipes-devtools/perl/ipc-run_20231003.0.bb +++ b/meta-oe/recipes-devtools/perl/ipc-run_20231003.0.bb | |||
@@ -12,7 +12,6 @@ DEPENDS = "perl" | |||
12 | SRC_URI = "git://github.com/toddr/IPC-Run.git;branch=master;protocol=https" | 12 | SRC_URI = "git://github.com/toddr/IPC-Run.git;branch=master;protocol=https" |
13 | SRCREV = "ad56c3b5f5a211d32bbb8ac29f180d707ee58c1b" | 13 | SRCREV = "ad56c3b5f5a211d32bbb8ac29f180d707ee58c1b" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | 15 | ||
17 | inherit cpan | 16 | inherit cpan |
18 | 17 | ||
diff --git a/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.65.bb b/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.67.bb index b2266394d6..4886333f3a 100644 --- a/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.65.bb +++ b/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.67.bb | |||
@@ -8,9 +8,9 @@ SRCNAME = "Config-General" | |||
8 | 8 | ||
9 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/${SRCNAME}-${PV}.tar.gz" | 9 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/${SRCNAME}-${PV}.tar.gz" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "4d6d5754be3a9f30906836f0cc10e554c8832e14e7a1341efb15b05d706fc58f" | 11 | SRC_URI[sha256sum] = "473d65127b23dac0e8039c01e28bc4072cb9a6e93e81a1ea4893cea08c698db0" |
12 | 12 | ||
13 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 13 | S = "${UNPACKDIR}/${SRCNAME}-${PV}" |
14 | 14 | ||
15 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" | 15 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" |
16 | 16 | ||
diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl/CVE-2014-10402.patch b/meta-oe/recipes-devtools/perl/libdbi-perl/CVE-2014-10402.patch deleted file mode 100644 index b41bbe0a50..0000000000 --- a/meta-oe/recipes-devtools/perl/libdbi-perl/CVE-2014-10402.patch +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | Backport patch to fix CVE-2014-10402. | ||
2 | |||
3 | CVE: CVE-2014-10402 | ||
4 | Upstream-Status: Backport [https://github.com/rehsack/dbi/commit/19d0fb1] | ||
5 | |||
6 | Ref: | ||
7 | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972180#12 | ||
8 | |||
9 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
10 | |||
11 | |||
12 | From 19d0fb169eed475e1c053e99036b8668625cfa94 Mon Sep 17 00:00:00 2001 | ||
13 | From: Jens Rehsack <sno@netbsd.org> | ||
14 | Date: Tue, 6 Oct 2020 10:22:17 +0200 | ||
15 | Subject: [PATCH] lib/DBD/File.pm: fix CVE-2014-10401 | ||
16 | |||
17 | Dig into the root cause of RT#99508 - which resulted in CVE-2014-10401 - and | ||
18 | figure out that DBI->parse_dsn is the wrong helper to parse our attributes in | ||
19 | DSN, since in DBD::dr::connect only the "dbname" remains from DSN which causes | ||
20 | parse_dsn to bailout. | ||
21 | |||
22 | Parsing on our own similar to parse_dsn shows the way out. | ||
23 | |||
24 | Signed-off-by: Jens Rehsack <sno@netbsd.org> | ||
25 | --- | ||
26 | lib/DBD/File.pm | 7 +++++-- | ||
27 | 1 file changed, 5 insertions(+), 2 deletions(-) | ||
28 | |||
29 | diff --git a/lib/DBD/File.pm b/lib/DBD/File.pm | ||
30 | index fb14e9a..f55076f 100644 | ||
31 | --- a/lib/DBD/File.pm | ||
32 | +++ b/lib/DBD/File.pm | ||
33 | @@ -109,7 +109,11 @@ sub connect | ||
34 | # We do not (yet) care about conflicting attributes here | ||
35 | # my $dbh = DBI->connect ("dbi:CSV:f_dir=test", undef, undef, { f_dir => "text" }); | ||
36 | # will test here that both test and text should exist | ||
37 | - if (my $attr_hash = (DBI->parse_dsn ($dbname))[3]) { | ||
38 | + # | ||
39 | + # Parsing on our own similar to parse_dsn to find attributes in 'dbname' parameter. | ||
40 | + if ($dbname) { | ||
41 | + my @attrs = split /;/ => $dbname; | ||
42 | + my $attr_hash = { map { split /\s*=>?\s*|\s*,\s*/, $_} @attrs }; | ||
43 | if (defined $attr_hash->{f_dir} && ! -d $attr_hash->{f_dir}) { | ||
44 | my $msg = "No such directory '$attr_hash->{f_dir}"; | ||
45 | $drh->set_err (2, $msg); | ||
46 | @@ -120,7 +124,6 @@ sub connect | ||
47 | if ($attr and defined $attr->{f_dir} && ! -d $attr->{f_dir}) { | ||
48 | my $msg = "No such directory '$attr->{f_dir}"; | ||
49 | $drh->set_err (2, $msg); | ||
50 | - $attr->{RaiseError} and croak $msg; | ||
51 | return; | ||
52 | } | ||
53 | |||
54 | -- | ||
55 | 2.17.1 | ||
56 | |||
diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb b/meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb index 1fee83a8fd..c128cb7154 100644 --- a/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb +++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb | |||
@@ -4,18 +4,15 @@ DESCRIPTION = "DBI is a database access Application Programming Interface \ | |||
4 | of functions, variables and conventions that provide a consistent \ | 4 | of functions, variables and conventions that provide a consistent \ |
5 | database interface independent of the actual database being used. \ | 5 | database interface independent of the actual database being used. \ |
6 | " | 6 | " |
7 | HOMEPAGE = "http://search.cpan.org/dist/DBI/" | 7 | HOMEPAGE = "https://metacpan.org/dist/DBI" |
8 | SECTION = "libs" | 8 | SECTION = "libs" |
9 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | 9 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" |
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=10982c7148e0a012c0fd80534522f5c5" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=65f65488c774efe1da488e36ad6c4a36" |
11 | 11 | ||
12 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz \ | 12 | SRC_URI = "${CPAN_MIRROR}/authors/id/H/HM/HMBRAND/DBI-${PV}.tgz" |
13 | file://CVE-2014-10402.patch \ | 13 | SRC_URI[sha256sum] = "0df16af8e5b3225a68b7b592ab531004ddb35a9682b50300ce50174ad867d9aa" |
14 | " | ||
15 | SRC_URI[md5sum] = "352f80b1e23769c116082a90905d7398" | ||
16 | SRC_URI[sha256sum] = "8a2b993db560a2c373c174ee976a51027dd780ec766ae17620c20393d2e836fa" | ||
17 | 14 | ||
18 | S = "${WORKDIR}/DBI-${PV}" | 15 | S = "${UNPACKDIR}/DBI-${PV}" |
19 | 16 | ||
20 | inherit cpan ptest-perl | 17 | inherit cpan ptest-perl |
21 | 18 | ||
diff --git a/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb b/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb index 74a09e7bf8..43614d55ac 100644 --- a/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb +++ b/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb | |||
@@ -13,7 +13,7 @@ SRC_URI = "https://cpan.metacpan.org/modules/by-module/Devel/Devel-CheckLib-${PV | |||
13 | " | 13 | " |
14 | SRC_URI[sha256sum] = "869d38c258e646dcef676609f0dd7ca90f085f56cf6fd7001b019a5d5b831fca" | 14 | SRC_URI[sha256sum] = "869d38c258e646dcef676609f0dd7ca90f085f56cf6fd7001b019a5d5b831fca" |
15 | 15 | ||
16 | S = "${WORKDIR}/Devel-CheckLib-${PV}" | 16 | S = "${UNPACKDIR}/Devel-CheckLib-${PV}" |
17 | 17 | ||
18 | inherit cpan | 18 | inherit cpan |
19 | 19 | ||
@@ -25,4 +25,4 @@ do_install:append() { | |||
25 | -e "/use strict;/ause warnings;" ${D}${bindir}/use-devel-checklib | 25 | -e "/use strict;/ause warnings;" ${D}${bindir}/use-devel-checklib |
26 | } | 26 | } |
27 | 27 | ||
28 | BBCLASSEXTEND="native" | 28 | BBCLASSEXTEND = "native" |
diff --git a/meta-oe/recipes-devtools/perl/libio-pty-perl_1.20.bb b/meta-oe/recipes-devtools/perl/libio-pty-perl_1.20.bb index 6029b7aae9..1464a84d34 100644 --- a/meta-oe/recipes-devtools/perl/libio-pty-perl_1.20.bb +++ b/meta-oe/recipes-devtools/perl/libio-pty-perl_1.20.bb | |||
@@ -7,7 +7,7 @@ SRC_URI = "http://www.cpan.org/modules/by-module/IO/IO-Tty-${PV}.tar.gz" | |||
7 | 7 | ||
8 | SRC_URI[sha256sum] = "b15309fc85623893289cb9b2b88dfa9ed1e69156b75f29938553a45be6d730af" | 8 | SRC_URI[sha256sum] = "b15309fc85623893289cb9b2b88dfa9ed1e69156b75f29938553a45be6d730af" |
9 | 9 | ||
10 | S = "${WORKDIR}/IO-Tty-${PV}" | 10 | S = "${UNPACKDIR}/IO-Tty-${PV}" |
11 | 11 | ||
12 | inherit cpan ptest-perl | 12 | inherit cpan ptest-perl |
13 | 13 | ||
diff --git a/meta-oe/recipes-devtools/perl/libjson-perl_4.03000.bb b/meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb index 88d0d26d03..ded0dea0d1 100644 --- a/meta-oe/recipes-devtools/perl/libjson-perl_4.03000.bb +++ b/meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb | |||
@@ -11,9 +11,8 @@ DEPENDS += "perl" | |||
11 | 11 | ||
12 | SRC_URI = "git://github.com/makamaka/JSON.git;protocol=https;branch=master" | 12 | SRC_URI = "git://github.com/makamaka/JSON.git;protocol=https;branch=master" |
13 | 13 | ||
14 | SRCREV = "ebbae181c5e311fa80ee4c6379b598c7a6400570" | 14 | SRCREV = "39bc0e567c202762a575fed2844ebdb941c3ca09" |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | ||
17 | 16 | ||
18 | inherit cpan | 17 | inherit cpan |
19 | 18 | ||
diff --git a/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb b/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb index be9704a313..a7e05922d6 100644 --- a/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb +++ b/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb | |||
@@ -11,10 +11,9 @@ LIC_FILES_CHKSUM = "file://lib/Parse/Yapp.pm;beginline=508;endline=521;md5=41a45 | |||
11 | 11 | ||
12 | SRC_URI = "https://www.cpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-${PV}.tar.gz" | 12 | SRC_URI = "https://www.cpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-${PV}.tar.gz" |
13 | 13 | ||
14 | SRC_URI[md5sum] = "69584d5b0f0304bb2a23cffcd982c5de" | ||
15 | SRC_URI[sha256sum] = "3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5" | 14 | SRC_URI[sha256sum] = "3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5" |
16 | 15 | ||
17 | S = "${WORKDIR}/Parse-Yapp-${PV}" | 16 | S = "${UNPACKDIR}/Parse-Yapp-${PV}" |
18 | 17 | ||
19 | inherit cpan | 18 | inherit cpan |
20 | 19 | ||
diff --git a/meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.14.bb b/meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.15.bb index ff4e1f0563..3e4137a68c 100644 --- a/meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.14.bb +++ b/meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.15.bb | |||
@@ -8,10 +8,12 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | |||
8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
9 | 9 | ||
10 | SRC_URI = "https://cpan.metacpan.org/authors/id/W/WH/WHOM/pcsc-perl-${PV}.tar.bz2" | 10 | SRC_URI = "https://cpan.metacpan.org/authors/id/W/WH/WHOM/pcsc-perl-${PV}.tar.bz2" |
11 | SRC_URI[md5sum] = "45601505dbb7b27329811ac9bad35fab" | 11 | SRC_URI[sha256sum] = "5cc834438739bd6e4e837fb7e10bd8befb809cd185ae6cf4b33e5fa9161f59fe" |
12 | SRC_URI[sha256sum] = "2722b7e5543e4faf3ba1ec6b29a7dfec6d92be1edec09d0a3191992d4d88c69d" | ||
13 | 12 | ||
14 | S = "${WORKDIR}/pcsc-perl-${PV}" | 13 | UPSTREAM_CHECK_URI = "https://cpan.metacpan.org/authors/id/W/WH/WHOM/" |
14 | UPSTREAM_CHECK_REGEX = "pcsc-perl-(?P<pver>\d+(\.\d+)+)" | ||
15 | |||
16 | S = "${UNPACKDIR}/pcsc-perl-${PV}" | ||
15 | 17 | ||
16 | inherit cpan pkgconfig | 18 | inherit cpan pkgconfig |
17 | 19 | ||
@@ -19,4 +21,4 @@ DEPENDS += "pcsc-lite" | |||
19 | 21 | ||
20 | RDEPENDS:${PN} += "perl-module-carp" | 22 | RDEPENDS:${PN} += "perl-module-carp" |
21 | 23 | ||
22 | BBCLASSEXTEND="native" | 24 | BBCLASSEXTEND = "native" |
diff --git a/meta-oe/recipes-devtools/perl/libperlio-gzip-perl_0.20.bb b/meta-oe/recipes-devtools/perl/libperlio-gzip-perl_0.20.bb index 11f6a1ad19..981c946483 100644 --- a/meta-oe/recipes-devtools/perl/libperlio-gzip-perl_0.20.bb +++ b/meta-oe/recipes-devtools/perl/libperlio-gzip-perl_0.20.bb | |||
@@ -11,10 +11,9 @@ DEPENDS += "perl" | |||
11 | 11 | ||
12 | SRC_URI = "https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-${PV}.tar.gz" | 12 | SRC_URI = "https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-${PV}.tar.gz" |
13 | 13 | ||
14 | SRC_URI[md5sum] = "0393eae5d0b23df6cf40ed44af7d711c" | ||
15 | SRC_URI[sha256sum] = "4848679a3f201e3f3b0c5f6f9526e602af52923ffa471a2a3657db786bd3bdc5" | 14 | SRC_URI[sha256sum] = "4848679a3f201e3f3b0c5f6f9526e602af52923ffa471a2a3657db786bd3bdc5" |
16 | 15 | ||
17 | S = "${WORKDIR}/PerlIO-gzip-${PV}" | 16 | S = "${UNPACKDIR}/PerlIO-gzip-${PV}" |
18 | 17 | ||
19 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" | 18 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" |
20 | 19 | ||