summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb')
-rw-r--r--meta-openembedded/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb10
1 files changed, 6 insertions, 4 deletions
diff --git a/meta-openembedded/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb b/meta-openembedded/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb
index 75fad46bf..b21418298 100644
--- a/meta-openembedded/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb
+++ b/meta-openembedded/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb
@@ -9,7 +9,9 @@ SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=10982c7148e0a012c0fd80534522f5c5"
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz"
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz \
+ file://CVE-2014-10402.patch \
+ "
SRC_URI[md5sum] = "352f80b1e23769c116082a90905d7398"
SRC_URI[sha256sum] = "8a2b993db560a2c373c174ee976a51027dd780ec766ae17620c20393d2e836fa"
@@ -17,7 +19,7 @@ S = "${WORKDIR}/DBI-${PV}"
inherit cpan ptest-perl
-do_install_prepend() {
+do_install:prepend() {
# test requires "-T" (taint) command line option
rm -rf ${B}/t/pod-coverage.t
rm -rf ${B}/t/13taint.t
@@ -27,7 +29,7 @@ do_install_prepend() {
rm -rf ${B}/t/z*.t
}
-RDEPENDS_${PN}_class-target = " \
+RDEPENDS:${PN}:class-target = " \
perl \
perl-module-carp \
perl-module-exporter \
@@ -38,7 +40,7 @@ RDEPENDS_${PN}_class-target = " \
perl-module-universal \
"
-RDEPENDS_${PN}-ptest = " \
+RDEPENDS:${PN}-ptest = " \
${PN} \
perl-module-b \
perl-module-benchmark \