diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2025-11-12 21:44:02 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-12 09:39:00 -0800 |
| commit | b0db63dcd1fe5962c632a712e93f6c2d68e6c636 (patch) | |
| tree | 1be6867745802a96f3f02e61c1209401936f2af4 | |
| parent | a07d522d70edd9b2ba455403417491b5f4a5bf9b (diff) | |
| download | meta-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.bb | 3 |
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 | ||
| 22 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/smartmontools/files/" | ||
| 23 | UPSTREAM_CHECK_REGEX = "smartmontools-(?P<pver>\d+(\.\d+)+)" | ||
| 24 | |||
| 22 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'libcap-ng selinux', d)}" | 25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'libcap-ng selinux', d)}" |
| 23 | PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng" | 26 | PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng" |
| 24 | PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux" | 27 | PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux" |
