libmhash: add UPSTREAM_CHECK_URI
PATCH 1/3 libmhash: add UPSTREAM_CHECK_URI
Add UPSTREAM_CHECK_URI to check the correct latest stable verison.
Before the patch:
$ devtool latest-version libmash INFO: Current version: 0.9.9.9 INFO: Latest version:
After the patch:
$ devtool latest-version libmash INFO: Current version: 0.9.9.9 INFO: Latest version: 0.9.9.9
Signed-off-by Yi Zhao <[email protected]>
--- recipes-security/libmhash/libmhash_0.9.9.9.bb | 2 ++ 1 file changed, 2 insertions(+)
recipes-security/libmhash/libmhash_0.9.9.9.bb +2 -0
@@ -23,6 +23,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/mhash/mhash-${PV}.tar.bz2 \ SRC_URI[md5sum] = "f91c74f9ccab2b574a98be5bc31eb280" SRC_URI[sha256sum] = "56521c52a9033779154432d0ae47ad7198914785265e1f570cee21ab248dfef0" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mhash/files/" + inherit autotools-brokensep ptest multilib_header CFLAGS += "-std=gnu17"
Signature · 1 line
2.34.1
PATCH 2/3 sssd: inherit github-releases class
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 <[email protected]>
--- .../networking-layer/recipes-security/sssd/sssd_2.10.2.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
dynamic-layers/networking-layer/recipes-security/sssd/sssd_2.10.2.bb +1 -3
@@ -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"
Signature · 1 line
2.34.1
PATCH 3/3 scap-security-guide: add UPSTREAM_CHECK_GITTAGREGEX
In reply to Yi ZhaoAdd UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable verison.
Before the patch:
$ devtool latest-version scap-security-guide INFO: Current version: 0.1.78 INFO: Latest version: 0.5.0 INFO: Latest version's commit: b0a1b1c3db40f5fe8610c43cbc391bde92cc78b6
After the patch:
$ devtool latest-version scap-security-guide INFO: Current version: 0.1.78 INFO: Latest version: 0.1.78 INFO: Latest version's commit: f7d794851971087db77d4be8eeb716944a1aae21
Signed-off-by Yi Zhao <[email protected]>
--- .../scap-security-guide/scap-security-guide_0.1.78.bb | 1 + 1 file changed, 1 insertion(+)
recipes-compliance/scap-security-guide/scap-security-guide_0.1.78.bb +1 -0
@@ -11,6 +11,7 @@ SRC_URI = "git://github.com/ComplianceAsCode/content.git;nobranch=1;protocol=htt file://run_eval.sh \ " +UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)$" DEPENDS = "openscap-native python3-pyyaml-native python3-jinja2-native libxml2-native expat-native coreutils-native"
Signature · 1 line
2.34.1