libnsl2: set CVE_PRODUCT
PATCH 1/2 libnsl2: set CVE_PRODUCT
Our libnsl2 recipe is just libnsl version 2.x, so set the CVE vendor and product pair appropriately as per:
https://www.cvedetails.com/version/1177013/Libnsl-Project-Libnsl-2.0.0.html
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-extended/libnsl/libnsl2_git.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-extended/libnsl/libnsl2_git.bb +2 -0
@@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" SECTION = "libs" DEPENDS = "libtirpc" +CVE_PRODUCT = "libnsl_project:libnsl" + PV = "2.0.1" SRCREV = "d4b22e54b5e6637a69b26eab5faad2a326c9b182"
Signature · 1 line
2.34.1
PATCH 2/2 libnsl2: embed version in filename
This recipe fetches a tagged commit, so embed the PV in the filename.
Signed-off-by Ross Burton <[email protected]>
---
.../libnsl/{libnsl2_git.bb => libnsl2_2.0.1.bb} | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
rename meta/recipes-extended/libnsl/{libnsl2_git.bb => libnsl2_2.0.1.bb} (95%)meta/recipes-extended/libnsl/libnsl2_2.0.1.bb renamed from meta/recipes-extended/libnsl/libnsl2_git.bb +1 -5
@@ -12,13 +12,9 @@ DEPENDS = "libtirpc" CVE_PRODUCT = "libnsl_project:libnsl" -PV = "2.0.1" - +SRC_URI = "git://github.com/thkukuk/libnsl;branch=master;protocol=https" SRCREV = "d4b22e54b5e6637a69b26eab5faad2a326c9b182" -SRC_URI = "git://github.com/thkukuk/libnsl;branch=master;protocol=https \ - " - S = "${WORKDIR}/git" inherit autotools pkgconfig gettext
Signature · 1 line
2.34.1