From 9aed335934752195d699f2ee616d459f44005716 Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Wed, 8 Apr 2026 12:03:31 +0800 Subject: [PATCH] sanlock: upgrade 4.2.0 -> 5.1.0 Change SRC_URI to https://codeberg.org/sanlock/sanlock.git as sanlock source moved to it. Signed-off-by: Liu Yiding Signed-off-by: Khem Raj --- .../sanlock/{sanlock_4.2.0.bb => sanlock_5.1.0.bb} | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) rename meta-oe/recipes-extended/sanlock/{sanlock_4.2.0.bb => sanlock_5.1.0.bb} (87%) diff --git a/meta-oe/recipes-extended/sanlock/sanlock_4.2.0.bb b/meta-oe/recipes-extended/sanlock/sanlock_5.1.0.bb similarity index 87% rename from meta-oe/recipes-extended/sanlock/sanlock_4.2.0.bb rename to meta-oe/recipes-extended/sanlock/sanlock_5.1.0.bb index 8babaf8017..72242946c1 100644 --- a/meta-oe/recipes-extended/sanlock/sanlock_4.2.0.bb +++ b/meta-oe/recipes-extended/sanlock/sanlock_5.1.0.bb @@ -11,22 +11,18 @@ SECTION = "utils" LICENSE = "LGPL-2.0-or-later & GPL-2.0-only & GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://README.license;md5=60487bf0bf429d6b5aa72b6d37a0eb22" -PV .= "+git" - -SRC_URI = "git://pagure.io/sanlock.git;protocol=http;branch=master \ +SRC_URI = "git://codeberg.org/sanlock/sanlock.git;protocol=https;branch=master;tag=${BPN}-${PV} \ file://0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch \ file://0001-add-missing-system-header-string.h.patch \ " -SRCREV = "efe86d2e691383da07942fe9a4bccab13046f3d4" - +SRCREV = "995685ac3ad8909cb7562e74dd13e3b450833d9c" CVE_STATUS[CVE-2012-5638] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." -DEPENDS = "libaio util-linux" +DEPENDS = "libaio util-linux libdevmapper" +RDEPENDS:${PN} += "libdevmapper" -inherit setuptools3 useradd - -SETUPTOOLS_SETUP_PATH = "${S}/python" +inherit useradd do_compile:prepend () { oe_runmake -C ${S}/wdmd CMD_LDFLAGS="${LDFLAGS}" LIB_LDFLAGS="${LDFLAGS}"