diff mbox series

[meta-security,2/3] sssd: inherit github-releases class

Message ID 20251127101903.3512507-2-yi.zhao@windriver.com
State New
Headers show
Series [meta-security,1/3] libmhash: add UPSTREAM_CHECK_URI | expand

Commit Message

Yi Zhao Nov. 27, 2025, 10:19 a.m. UTC
Inherit github-releases class to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version sssd
INFO: Current version: 2.10.2
INFO: Latest version:

After the patch:
$ devtool latest-version sssd
INFO: Current version: 2.10.2
INFO: Latest version: 2.11.1

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 .../networking-layer/recipes-security/sssd/sssd_2.10.2.bb     | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.10.2.bb b/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.10.2.bb
index b02710e..8ee61ce 100644
--- a/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.10.2.bb
+++ b/dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.10.2.bb
@@ -26,9 +26,7 @@  SRC_URI = "https://github.com/SSSD/sssd/releases/download/${PV}/${BP}.tar.gz \
            "
 SRC_URI[sha256sum] = "e8aa5e6b48ae465bea7064048715ce7e9c53b50ec6a9c69304f59e0d35be40ff"
 
-UPSTREAM_CHECK_URI = "https://github.com/SSSD/${BPN}/releases"
-
-inherit autotools pkgconfig gettext python3native features_check systemd useradd
+inherit autotools pkgconfig gettext python3native features_check systemd useradd github-releases
 
 REQUIRED_DISTRO_FEATURES = "pam"