Files
Yoann Congal b9c0cacc11 emlog: ignore inapplicable CVEs
The CVEs:
 * CVE-2019-16868
 * CVE-2019-17073
 * CVE-2021-44584
 * CVE-2022-1526
 * CVE-2022-3968
 * CVE-2023-43291
... apply to the other "emlog" and can be safely ignored.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-12-17 15:36:41 -05:00

40 lines
950 B
BlitzBasic

require ${BPN}.inc
SRC_URI += "file://${BPN}.initd \
file://0001-Remove-modules_clean-from-clean-target.patch \
"
SRC_URI_append_libc-musl = " file://Drop-use-of-error-h.patch"
inherit update-rc.d
INITSCRIPT_NAME = "${BPN}"
do_compile() {
oe_runmake nbcat
oe_runmake mkemlog
}
do_install() {
install -Dm 0755 ${WORKDIR}/${BPN}.initd ${D}${sysconfdir}/init.d/${BPN}
install -Dm 0755 ${S}/nbcat ${D}${bindir}/nbcat
install -Dm 0755 ${S}/mkemlog ${D}${bindir}/mkemlog
}
RRECOMMENDS_${PN} += "kernel-module-emlog"
# The NVD database doesn't have a CPE for this product,
# the name of this product is exactly the same as github.com/emlog/emlog
# but it's not related in any way. The following CVEs are from that project
# so they can be safely ignored
CVE_CHECK_WHITELIST += "\
CVE-2019-16868 \
CVE-2019-17073 \
CVE-2021-44584 \
CVE-2022-1526 \
CVE-2022-3968 \
CVE-2023-43291 \
"