summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-10 16:40:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-22 10:01:02 +0100
commit96b3e8b2599aefa6696313015c5dc82f4012a816 (patch)
treefc30da4283eb5fa51d3cd3c6a7f59fee7771b271
parenta6f2df83b9c298c5c3e34ede1012558f28917c31 (diff)
downloadpoky-96b3e8b2599aefa6696313015c5dc82f4012a816.tar.gz
logrotate: Exclude CVE-2011-1548,1549,1550 from cve-check
These CVEs apply to the way logrotate was installed on Gentoo, Debian and SUSE, exclude from cve-check as they don't apply to OE. (From OE-Core rev: 55b53c501e911df04bdff6fca54b11c3e54770c9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.18.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.18.0.bb b/meta/recipes-extended/logrotate/logrotate_3.18.0.bb
index 55684ac9fb..c2115e7142 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.18.0.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.18.0.bb
@@ -21,6 +21,9 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz
21 21
22SRC_URI[sha256sum] = "841f81bf09d0014e4a2e11af166bb33fcd8429cc0c2d4a7d3d9ceb3858cfccc5" 22SRC_URI[sha256sum] = "841f81bf09d0014e4a2e11af166bb33fcd8429cc0c2d4a7d3d9ceb3858cfccc5"
23 23
24# These CVEs are debian, gentoo or SUSE specific on the way logrotate was installed/used
25CVE_CHECK_WHITELIST += "CVE-2011-1548 CVE-2011-1549 CVE-2011-1550"
26
24PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}" 27PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}"
25 28
26PACKAGECONFIG[acl] = ",,acl" 29PACKAGECONFIG[acl] = ",,acl"