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
@@ -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"
-
-inherit setuptools3 useradd
+DEPENDS = "libaio util-linux libdevmapper"
+RDEPENDS:${PN} += "libdevmapper"
-SETUPTOOLS_SETUP_PATH = "${S}/python"
+inherit useradd
do_compile:prepend () {
oe_runmake -C ${S}/wdmd CMD_LDFLAGS="${LDFLAGS}" LIB_LDFLAGS="${LDFLAGS}"
Change SRC_URI to https://codeberg.org/sanlock/sanlock.git as sanlock source moved to it. Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> --- .../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%)