Skip to contentSkip to conversation

abseil-cpp: add UPSTREAM_CHECK_URI

PATCH New Yi Zhao 1 participant 19 messages Nov 12, 2025

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/19 abseil-cpp: 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 abseil-cpp
INFO: Current version: 20250814.1
INFO: Latest version:

After the patch:

$ devtool latest-version abseil-cpp
INFO: Current version: 20250814.1
INFO: Latest version: 20250814.1
---
 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250814.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250814.1.bb +3 -0
index 1504dacb00..0394f36cdb 100644
@@ -13,6 +13,9 @@ SRC_URI = "https://github.com/abseil/${BPN}/releases/download/${PV}/${BP}.tar.gz
            "
 SRC_URI[sha256sum] = "1692f77d1739bacf3f94337188b78583cf09bab7e420d2dc6c5605a4f86785a1"
 
+UPSTREAM_CHECK_URI = "https://github.com/abseil/abseil-cpp/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)"
+
 inherit cmake
 
 EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 2/19 ade: add UPSTREAM_CHECK_GITTAGREGEX

Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version ade
INFO: Current version: 0.1.2e
INFO: Latest version: 0.1.2
INFO: Latest version's commit: ffc83ad372d72b16732f201d8a9d1d80dd16515b

After the patch:

$ devtool latest-version ade
INFO: Current version: 0.1.2e
INFO: Latest version: 0.1.2e
INFO: Latest version's commit: ffc83ad372d72b16732f201d8a9d1d80dd16515b
---
 meta-oe/recipes-support/opencv/ade_0.1.2e.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/opencv/ade_0.1.2e.bb +2 -0
index a7af2f2da9..a6ae4fdbec 100644
@@ -10,6 +10,8 @@ SRCREV = "ffc83ad372d72b16732f201d8a9d1d80dd16515b"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+[a-z]?)"
+
 inherit cmake
 
 EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release"
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH 3/19 bonnie++: add UPSTREAM_CHECK_URI

In reply to Yi Zhao

Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version bonnie++
INFO: Current version: 2.00a
INFO: Latest version: 1.04

After the patch:

$ devtool latest-version bonnie++
INFO: Current version: 2.00a
INFO: Latest version: 2.00a
---
 meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb +3 -0
index 29590bfe84..1029a0c480 100644
@@ -12,6 +12,9 @@ SRC_URI = "\
 "
 SRC_URI[sha256sum] = "a8d33bbd81bc7eb559ce5bf6e584b9b53faea39ccfb4ae92e58f27257e468f0e"
 
+UPSTREAM_CHECK_URI = "https://doc.coker.com.au/projects/bonnie/"
+UPSTREAM_CHECK_REGEX = "bonnie\+\+-(?P<pver>\d+(\.\d+)+[a-z]?).tgz"
+
 # force lfs to skip configure's check, because we are cross-building
 PACKAGECONFIG ?= "lfs"
 PACKAGECONFIG[lfs] = "--enable-lfs,--disable-lfs"
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH 4/19 c-ares: inherit github-releases class

In reply to Yi Zhao

Inherit github-releases class to check the correct latest stable verison.

Before the patch:

$ devtool latest-version c-ares
INFO: Current version: 1.34.5
INFO: Latest version:

After the patch:

$ devtool latest-version c-ares
INFO: Current version: 1.34.5
INFO: Latest version: 1.34.5
---
 meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb +1 -1
index 8204f25cdb..b434886311 100644
@@ -14,7 +14,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
 PACKAGECONFIG[manpages] = ""
 PACKAGECONFIG[tests] = "-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest"
 
-inherit cmake manpages pkgconfig ptest
+inherit cmake manpages pkgconfig ptest github-releases
 
 EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' else 'OFF' }"
 
Signature · 1 line
2.34.1
author
#4 lore raw

PATCH 5/19 cunit: inherit sourceforge-releases class

In reply to Yi Zhao

Inherit sourceforge-releases class to check the correct latest stable verison.

Before the patch:

$ devtool latest-version cunit
INFO: Current version: 2.1-3
INFO: Latest version:

After the patch:

$ devtool latest-version cunit
INFO: Current version: 2.1-3
INFO: Latest version: 2.1-3
---
 meta-oe/recipes-test/cunit/cunit_2.1-3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-test/cunit/cunit_2.1-3.bb +1 -1
index 9aab617487..75ba477757 100644
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a
 
 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/cunit/files/releases"
 
-inherit autotools-brokensep ptest
+inherit autotools-brokensep ptest sourceforge-releases
 
 EXTRA_OECONF = "--enable-memtrace --enable-automated --enable-basic --enable-console"
 
Signature · 1 line
2.34.1
author
#5 lore raw

PATCH 6/19 fuse3: update UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Update UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version fuse3
INFO: Current version: 3.16.2
INFO: Latest version:

After the patch:

$ devtool latest-version fuse3
INFO: Current version: 3.16.2
INFO: Latest version: 3.17.4
---
 meta-oe/recipes-support/fuse/fuse3_3.16.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/fuse/fuse3_3.16.2.bb +1 -1
index 5333c25a9c..1c91a1aa17 100644
@@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "f797055d9296b275e981f5f62d4e32e089614fc253d1ef2985851025b8
 S = "${UNPACKDIR}/fuse-${PV}"
 
 UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases"
-UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>3(\.\d+)+).tar.xz"
+UPSTREAM_CHECK_REGEX = "releases/tag/fuse-(?P<pver>\d+(\.\d+)+)"
 
 CVE_PRODUCT = "fuse_project:fuse"
 
Signature · 1 line
2.34.1
author
#6 lore raw

PATCH 7/19 hstr: add UPSTREAM_CHECK_URI

In reply to Yi Zhao

Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version hstr
INFO: Current version: 3.1.0
INFO: Latest version:

After the patch:

$ devtool latest-version hstr
INFO: Current version: 3.1.0
INFO: Latest version: 3.1
---
 meta-oe/recipes-support/hstr/hstr_3.1.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/hstr/hstr_3.1.0.bb +3 -0
index 0ee900ca3d..96be8bd09f 100644
@@ -14,4 +14,7 @@ S = "${UNPACKDIR}/${BPN}"
 
 SRC_URI[sha256sum] = "4dabf61f045f022bac8bc909e5fd96041af6c53df56d97dfa3cfbf49af4453a5"
 
+UPSTREAM_CHECK_URI = "https://github.com/dvorka/hstr/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)"
+
 inherit autotools pkgconfig bash-completion
Signature · 1 line
2.34.1
author
#7 lore raw

PATCH 8/19 jasper: add UPSTREAM_CHECK_URI

In reply to Yi Zhao

Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version jasper
INFO: Current version: 4.2.8
INFO: Latest version:

After the patch:

$ devtool latest-version jasper
INFO: Current version: 4.2.8
INFO: Latest version: 4.2.8
---
 meta-oe/recipes-graphics/jasper/jasper_4.2.8.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-graphics/jasper/jasper_4.2.8.bb +3 -0
index dd3cf3fdb6..e00b56ddbf 100644
@@ -6,6 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a80440d1d8f17d041c71c7271d6e06eb"
 SRC_URI = "https://github.com/jasper-software/${BPN}/releases/download/version-${PV}/${BP}.tar.gz"
 SRC_URI[sha256sum] = "98058a94fbff57ec6e31dcaec37290589de0ba6f47c966f92654681a56c71fae"
 
+UPSTREAM_CHECK_URI = "https://github.com/jasper-software/jasper/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/version-(?P<pver>\d+(\.\d+)+)"
+
 inherit cmake multilib_header
 
 do_configure:prepend() {
Signature · 1 line
2.34.1
author
#8 lore raw

PATCH 9/19 lcms: inherit sourceforge-releases class

In reply to Yi Zhao

Inherit sourceforge-releases class to check the correct latest stable verison.

Before the patch:

$ devtool latest-version lcms
INFO: Current version: 2.16
INFO: Latest version:

After the patch:

$ devtool latest-version lcms
INFO: Current version: 2.16
INFO: Latest version: 2.17
---
 meta-oe/recipes-support/lcms/lcms_2.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/lcms/lcms_2.16.bb +1 -1
index 87b0979200..9422c7330b 100644
@@ -12,6 +12,6 @@ BBCLASSEXTEND = "native nativesdk"
 
 S = "${UNPACKDIR}/lcms2-${PV}"
 
-inherit autotools
+inherit autotools sourceforge-releases
 
 CVE_PRODUCT += "littlecms:little_cms_color_engine"
Signature · 1 line
2.34.1
author
#9 lore raw

PATCH 10/19 libgphoto2: add UPSTREAM_CHECK_URI

In reply to Yi Zhao

Add UPSTREAM_CHECK_URI to check the correct latest stable verison.

Before the patch:

$ devtool latest-version libgphoto2
INFO: Current version: 2.5.32
INFO: Latest version:

After the patch:

$ devtool latest-version libgphoto2
INFO: Current version: 2.5.32
INFO: Latest version: 2.5.33
---
 meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.32.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.32.bb +2 -0
index 0fe2feca6e..20e0645d21 100644
@@ -15,6 +15,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/${BP}.tar.xz;name=libgphoto2 \
 "
 SRC_URI[libgphoto2.sha256sum] = "495a347be21b8f970607a81e739aa91513a8479cbd73b79454a339c73e2b860e"
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/gphoto/files/libgphoto/"
+
 inherit autotools pkgconfig gettext lib_package
 
 EXTRA_OECONF = " --with-drivers=all udevscriptdir=${nonarch_base_libdir}/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes"
Signature · 1 line
2.34.1
author
#10 lore raw

PATCH 11/19 libmms: inherit sourceforge-releases class

In reply to Yi Zhao

Inherit sourceforge-releases class to check the correct latest stable verison.

Before the patch:

$ devtool latest-version libmms
INFO: Current version: 0.6.4
INFO: Latest version:

After the patch:

$ devtool latest-version libmms
INFO: Current version: 0.6.4
INFO: Latest version: 0.6.4
---
 meta-oe/recipes-multimedia/libmms/libmms_0.6.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-multimedia/libmms/libmms_0.6.4.bb +1 -1
index 9fcb8a1dc0..4e65e3cea4 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29"
 SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz"
 SRC_URI[sha256sum] = "3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig sourceforge-releases
 
 do_install:append() {
     # The GLib dependency was removed in libmms 0.6.3, but the
Signature · 1 line
2.34.1
author
#11 lore raw

PATCH 12/19 lmsensors: add UPSTREAM_CHECK_GITTAGREGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version lmsensors
INFO: Current version: 3.6.0
INFO: Latest version: 3
INFO: Latest version's commit: 1667b850a1ce38151dae17156276f981be6fb557

After the patch:

$ devtool latest-version lmsensors
INFO: Current version: 3.6.0
INFO: Latest version: 3-6-0
INFO: Latest version's commit: 1667b850a1ce38151dae17156276f981be6fb557
---
 meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb +2 -0
index af0f5a7999..d5cd2cd195 100644
@@ -18,6 +18,8 @@ SRC_URI = "git://github.com/lm-sensors/lm-sensors.git;protocol=https;branch=mast
 "
 SRCREV = "1667b850a1ce38151dae17156276f981be6fb557"
 
+UPSTREAM_CHECK_GITTAGREGEX = "V(?P<pver>\d+(-\d+)+)"
+
 inherit update-rc.d systemd
 
 RDEPENDS:${PN}-dev = ""
Signature · 1 line
2.34.1
author
#12 lore raw

PATCH 13/19 lxdm: inherit sourceforge-releases class

In reply to Yi Zhao

Inherit sourceforge-releases class to check the correct latest stable verison.

Before the patch:

$ devtool latest-version lxdm
INFO: Current version: 0.5.3
INFO: Latest version:

After the patch:

$ devtool latest-version lxdm
INFO: Current version: 0.5.3
INFO: Latest version: 0.5.3
---
 meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb +1 -1
index a7d79a916c..a2b4c5f83b 100644
@@ -29,7 +29,7 @@ DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+3
 DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}"
 DEPENDS:append:libc-musl = " libexecinfo"
 
-inherit autotools pkgconfig gettext systemd features_check
+inherit autotools pkgconfig gettext systemd features_check sourceforge-releases
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 
Signature · 1 line
2.34.1
author
#13 lore raw

PATCH 14/19 nano: update UPSTREAM_CHECK_URI

In reply to Yi Zhao

Update UPSTREAM_CHECK_URI to check the correct latest stable verison.

Before the patch:

$ devtool latest-version nano
INFO: Current version: 8.6
INFO: Latest version:

After the patch:

$ devtool latest-version nano
INFO: Current version: 8.6
INFO: Latest version: 8.6
---
 meta-oe/recipes-support/nano/nano_8.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/nano/nano_8.6.bb +1 -1
index 8056456a0f..e45c6df757 100644
@@ -15,7 +15,7 @@ PV_MAJOR = "${@d.getVar('PV').split('.')[0]}"
 SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz"
 SRC_URI[sha256sum] = "f7abfbf0eed5f573ab51bd77a458f32d82f9859c55e9689f819d96fe1437a619"
 
-UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano"
+UPSTREAM_CHECK_URI = "${GNU_MIRROR}/nano"
 
 inherit autotools gettext pkgconfig
 
Signature · 1 line
2.34.1
author
#14 lore raw

PATCH 15/19 php: add UPSTREAM_CHECK_URI

In reply to Yi Zhao

Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version php
INFO: Current version: 8.4.14
INFO: Latest version:

After the patch:

$ devtool latest-version php
INFO: Current version: 8.4.14
INFO: Latest version: 8.4.14
---
 meta-oe/recipes-devtools/php/php_8.4.14.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-devtools/php/php_8.4.14.bb +3 -0
index 483ba19ddd..ecec5ae04d 100644
@@ -27,6 +27,9 @@ SRC_URI:append:class-target = " \
             file://php-fpm.service \
           "
 
+UPSTREAM_CHECK_URI = "https://github.com/php/php-src/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/php-(?P<pver>\d+(\.\d+)+)"
+
 S = "${UNPACKDIR}/php-${PV}"
 
 SRC_URI[sha256sum] = "f2139ce4cb7a6c5643ee98caa34e5c32ba841c2ba293e34a3d0357faa84bb3e7"
Signature · 1 line
2.34.1
author
#15 lore raw

PATCH 16/19 smartmontools: add UPSTREAM_CHECK_URI

In reply to Yi Zhao

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
---
 meta-oe/recipes-extended/smartmontools/smartmontools_7.5.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-extended/smartmontools/smartmontools_7.5.bb +3 -0
index 6f3bf49c07..96e48ee924 100644
@@ -19,6 +19,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/smartmontools/smartmontools-${PV}.tar.gz \
            file://0001-configure.ac-Define-SOURCE_DATE_EPOCH-in-CPPFLAGS.patch \
            "
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/smartmontools/files/"
+UPSTREAM_CHECK_REGEX = "smartmontools-(?P<pver>\d+(\.\d+)+)"
+
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'libcap-ng selinux', d)}"
 PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng"
 PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux"
Signature · 1 line
2.34.1
author
#16 lore raw

PATCH 17/19 protobuf: update UPSTREAM_CHECK_GITTAGREGEX

In reply to Yi Zhao

Update UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version protobuf
INFO: Current version: 6.31.1
INFO: Latest version:

After the patch:

$ devtool latest-version protobuf
INFO: Current version: 6.31.1
INFO: Latest version: 6.31.1
INFO: Latest version's commit: 74211c0dfc2777318ab53c2cd2c317a2ef9012de
---
 meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb +1 -2
index 90be1179aa..37b26b610d 100644
@@ -22,8 +22,7 @@ SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=31.x;protocol=ht
            "
 SRC_URI:append:mipsarcho32:toolchain-clang = " file://0001-Fix-build-on-mips-clang.patch "
 
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.(25\.(\d+)))"
-
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d\.\d+\.\d+)"
 
 CVE_PRODUCT = "google:protobuf protobuf:protobuf google-protobuf protobuf-cpp"
 
Signature · 1 line
2.34.1
author
#17 lore raw

PATCH 18/19 syslog-ng: add UPSTREAM_CHECK_REGEX

In reply to Yi Zhao

Add UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version syslog-ng
INFO: Current version: 4.8.2
INFO: Latest version:

After the patch:

$ devtool latest-version syslog-ng
INFO: Current version: 4.8.2
INFO: Latest version: 4.10.2
---
 meta-oe/recipes-support/syslog-ng/syslog-ng_4.8.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/syslog-ng/syslog-ng_4.8.2.bb +1 -0
index 1b46d66d6c..58c9e375bf 100644
@@ -29,6 +29,7 @@ SRC_URI:append:powerpc64le = " file://0001-plugin.c-workaround-powerpc64le-segfa
 SRC_URI[sha256sum] = "7d1ebe70746009dc06bd2fa5c412a1985579a9c887292f766cc775d169d60e68"
 
 UPSTREAM_CHECK_URI = "https://github.com/balabit/syslog-ng/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/syslog-ng-(?P<pver>\d+(\.\d+)+)"
 
 CVE_STATUS[CVE-2022-38725] = "cpe-incorrect: cve-check wrongly matches cpe:2.3:a:oneidentity:syslog-ng:*:*:*:*:premium:*:*:* < 7.0.32"
 
Signature · 1 line
2.34.1
author
#18 lore raw

PATCH 19/19 xmlsec1: add UPSTREAM_CHECK_URI

In reply to Yi Zhao

Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version xmlsec1
INFO: Current version: 1.3.7
INFO: Latest version:

After the patch:

$ devtool latest-version xmlsec1
INFO: Current version: 1.3.7
INFO: Latest version: 1.3.9
---
 meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb +3 -0
index 3e97bde86c..1990444dcc 100644
@@ -24,6 +24,9 @@ SRC_URI = "https://github.com/lsh123/xmlsec/releases/download/${PV}/${BP}.tar.gz
 
 SRC_URI[sha256sum] = "d82e93b69b8aa205a616b62917a269322bf63a3eaafb3775014e61752b2013ea"
 
+UPSTREAM_CHECK_URI = "https://github.com/lsh123/xmlsec/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)"
+
 inherit autotools-brokensep ptest pkgconfig
 
 #CFLAGS += "-I${STAGING_INCDIR}/nss3"
Signature · 1 line
2.34.1