summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/perl/libdbi-perl_1.644.bb
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2024-09-03 09:24:45 +0800
committerKhem Raj <raj.khem@gmail.com>2024-09-02 19:00:31 -0700
commit37a9f61879b4610c5824a2dbd95b5f3391840803 (patch)
tree617017587d130064603c0d1b474eb05b2f4f5915 /meta-oe/recipes-devtools/perl/libdbi-perl_1.644.bb
parent84d6e138cb558cea9155e5a392e2ff7647e2e688 (diff)
downloadmeta-openembedded-37a9f61879b4610c5824a2dbd95b5f3391840803.tar.gz
libdbi-perl: upgrade 1.643 -> 1.644
* License-Update: Update years * Remove CVE-2014-10402.patch since it is not need for this version, refer [1] * Backport a patch [1] https://metacpan.org/dist/DBI/view/Changes#Changes-in-DBI-1.632-9th-Nov-2014 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/perl/libdbi-perl_1.644.bb')
-rw-r--r--meta-oe/recipes-devtools/perl/libdbi-perl_1.644.bb68
1 files changed, 68 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.644.bb b/meta-oe/recipes-devtools/perl/libdbi-perl_1.644.bb
new file mode 100644
index 0000000000..7f6c9059d0
--- /dev/null
+++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.644.bb
@@ -0,0 +1,68 @@
1SUMMARY = "The Perl Database Interface"
2DESCRIPTION = "DBI is a database access Application Programming Interface \
3(API) for the Perl Language. The DBI API Specification defines a set \
4of functions, variables and conventions that provide a consistent \
5database interface independent of the actual database being used. \
6"
7HOMEPAGE = "http://search.cpan.org/dist/DBI/"
8SECTION = "libs"
9LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=8097b88c6165f0d43949441e6ea581cd"
11
12SRC_URI = "https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/DBI-${PV}.tar.gz \
13 file://0001-Fix-building-on-Fedora-40-with-GCC-14.2.1.patch \
14 "
15SRC_URI[sha256sum] = "2297b99de09e67086640b590699e0e982fb469da63a93fe28dc14782db7a53c8"
16
17S = "${WORKDIR}/DBI-${PV}"
18
19inherit cpan ptest-perl
20
21do_install:prepend() {
22 # test requires "-T" (taint) command line option
23 rm -rf ${B}/t/pod-coverage.t
24 rm -rf ${B}/t/13taint.t
25 # source of test failure not obvious
26 rm -rf ${B}/t/85gofer.t
27 # unclear why there are several duplicates of tests in tarball
28 rm -rf ${B}/t/z*.t
29}
30
31do_install:append() {
32 sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/dbiproxy \
33 ${D}${bindir}/dbiprof ${D}${bindir}/dbilogstrip
34}
35
36RDEPENDS:${PN}:class-target = " \
37 perl \
38 perl-module-carp \
39 perl-module-exporter \
40 perl-module-exporter-heavy \
41 perl-module-dynaloader \
42 perl-module-io-dir \
43 perl-module-scalar-util \
44 perl-module-universal \
45"
46
47RDEPENDS:${PN}-ptest = " \
48 ${PN} \
49 perl-module-b \
50 perl-module-benchmark \
51 perl-module-cwd \
52 perl-module-data-dumper \
53 perl-module-encode \
54 perl-module-encode-byte \
55 perl-module-encode-encoding \
56 perl-module-file-copy \
57 perl-module-file-path \
58 perl-module-lib \
59 perl-module-perlio \
60 perl-module-perlio-scalar \
61 perl-module-perlio-via \
62 perl-module-sdbm-file \
63 perl-module-storable \
64 perl-module-test-more \
65 perl-module-utf8 \
66 "
67
68BBCLASSEXTEND = "native"