summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2025-11-12 21:44:02 +0800
committerKhem Raj <raj.khem@gmail.com>2025-11-12 09:39:00 -0800
commitb0db63dcd1fe5962c632a712e93f6c2d68e6c636 (patch)
tree1be6867745802a96f3f02e61c1209401936f2af4
parenta07d522d70edd9b2ba455403417491b5f4a5bf9b (diff)
downloadmeta-openembedded-b0db63dcd1fe5962c632a712e93f6c2d68e6c636.tar.gz
smartmontools: add UPSTREAM_CHECK_URI
Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison. Before the patch: $ devtool latest-version smartmontools INFO: Current version: 7.5 INFO: Latest version: After the patch: $ devtool latest-version smartmontools INFO: Current version: 7.5 INFO: Latest version: 7.5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/smartmontools/smartmontools_7.5.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/smartmontools/smartmontools_7.5.bb b/meta-oe/recipes-extended/smartmontools/smartmontools_7.5.bb
index 6f3bf49c07..96e48ee924 100644
--- a/meta-oe/recipes-extended/smartmontools/smartmontools_7.5.bb
+++ b/meta-oe/recipes-extended/smartmontools/smartmontools_7.5.bb
@@ -19,6 +19,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/smartmontools/smartmontools-${PV}.tar.gz \
19 file://0001-configure.ac-Define-SOURCE_DATE_EPOCH-in-CPPFLAGS.patch \ 19 file://0001-configure.ac-Define-SOURCE_DATE_EPOCH-in-CPPFLAGS.patch \
20 " 20 "
21 21
22UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/smartmontools/files/"
23UPSTREAM_CHECK_REGEX = "smartmontools-(?P<pver>\d+(\.\d+)+)"
24
22PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'libcap-ng selinux', d)}" 25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'libcap-ng selinux', d)}"
23PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng" 26PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng"
24PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux" 27PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux"