From 235fe2d9e7379ac76fbd76df246835ab1808af76 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 9 Jun 2025 12:19:43 +0100 Subject: unfs3: put version in recipe filename A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names. Put the version in the filename, and drop the explicit PV. (From OE-Core rev: f288f7dc47a488eb3d388a2513f0908e09c0feca) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/unfs3/unfs3_0.10.0.bb | 28 +++++++++++++++++++++++++++ meta/recipes-devtools/unfs3/unfs3_git.bb | 30 ----------------------------- 2 files changed, 28 insertions(+), 30 deletions(-) create mode 100644 meta/recipes-devtools/unfs3/unfs3_0.10.0.bb delete mode 100644 meta/recipes-devtools/unfs3/unfs3_git.bb diff --git a/meta/recipes-devtools/unfs3/unfs3_0.10.0.bb b/meta/recipes-devtools/unfs3/unfs3_0.10.0.bb new file mode 100644 index 0000000000..045e496ccd --- /dev/null +++ b/meta/recipes-devtools/unfs3/unfs3_0.10.0.bb @@ -0,0 +1,28 @@ +SUMMARY = "Userspace NFS server v3 protocol" +DESCRIPTION = "UNFS3 is a user-space implementation of the NFSv3 server \ +specification. It provides a daemon for the MOUNT and NFS protocols, which \ +are used by NFS clients for accessing files on the server." +HOMEPAGE = "https://github.com/unfs3/unfs3" +SECTION = "console/network" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e" + +DEPENDS = "flex-native bison-native flex" +DEPENDS += "libtirpc" +DEPENDS:append:class-nativesdk = " flex-nativesdk" + +S = "${WORKDIR}/git" +SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \ + file://0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch \ + file://0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch \ + file://0001-locate.c-Include-attr.h.patch \ + file://0001-fix-building-on-macOS.patch \ + file://0001-attr-fix-utime-for-symlink.patch \ + " +SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d" +UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P\d+(\.\d+)+)" + +BBCLASSEXTEND = "native nativesdk" + +inherit autotools pkgconfig +EXTRA_OECONF:append:class-native = " --sbindir=${bindir}" diff --git a/meta/recipes-devtools/unfs3/unfs3_git.bb b/meta/recipes-devtools/unfs3/unfs3_git.bb deleted file mode 100644 index 0a274d6ffd..0000000000 --- a/meta/recipes-devtools/unfs3/unfs3_git.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "Userspace NFS server v3 protocol" -DESCRIPTION = "UNFS3 is a user-space implementation of the NFSv3 server \ -specification. It provides a daemon for the MOUNT and NFS protocols, which \ -are used by NFS clients for accessing files on the server." -HOMEPAGE = "https://github.com/unfs3/unfs3" -SECTION = "console/network" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e" - -DEPENDS = "flex-native bison-native flex" -DEPENDS += "libtirpc" -DEPENDS:append:class-nativesdk = " flex-nativesdk" - -S = "${WORKDIR}/git" -SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \ - file://0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch \ - file://0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch \ - file://0001-locate.c-Include-attr.h.patch \ - file://0001-fix-building-on-macOS.patch \ - file://0001-attr-fix-utime-for-symlink.patch \ - " -SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d" -UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P\d+(\.\d+)+)" - -PV = "0.10.0" - -BBCLASSEXTEND = "native nativesdk" - -inherit autotools pkgconfig -EXTRA_OECONF:append:class-native = " --sbindir=${bindir}" -- cgit v1.2.3-54-g00ecf