Skip to contentSkip to conversation

Upstream version check fixes

PATCH In review Khem Raj 2 participants 73 messages Nov 27

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

cover Upstream version check fixes

Fix or add UPSTREAM_CHECK_* settings so devtool check-upgrade-status reports real versions: anchor tag regexes to release tags, restrict series where newer major versions are separate products or rewrites, point checks at the current hosting after moves, and mark the few recipes whose upstream can no longer be checked as unknown.

No recipe versions change in this series.

Khem Raj (69):
phoronix-test-suite: Fix upstream version check
fwupd: Fix upstream version check
ace: Fix upstream version check
gammu: Fix upstream version check
irssi: Fix upstream version check
luv: Fix upstream version check
cfengine-masterfiles: Fix upstream version check
tmux: Fix upstream version check
gmime: Fix upstream version check
leptonica: Fix upstream version check
taisei: Fix upstream version check
modemmanager: Fix upstream version check
safec: Fix upstream version check
influxdb: Restrict upstream check to the 1.x series e2fsprogs-ext4sparse-native: Fix upstream version check
include-what-you-use: Fix upstream version check
lemon: Fix upstream version check
libtreesitter: Fix upstream version check
flatpak: Fix upstream version check
p8platform: Fix upstream version check
sysdig: Fix upstream version check
socketcand: Fix upstream version check
minio: Fix upstream version check
telepathy-glib: Fix upstream version check
glibmm: Restrict upstream check to the 2.66 series
atkmm: Restrict upstream check to the 2.28 series
gtkmm3: Restrict upstream check to the 3.24 series
gtkmm4: Fix upstream version check
cairomm: Restrict upstream check to the 1.14 series
libdbi: Fix upstream version check
android-libboringssl: Fix upstream version check
cpuid: Fix upstream version check
qhull: Fix upstream version check
libsdl-image: Fix upstream version check
libsdl-mixer: Fix upstream version check
libsdl-net: Fix upstream version check
libsdl-ttf: Fix upstream version check
pangomm: Restrict upstream check to the 2.46 series
spirv-shader-generator: Fix upstream version check
panel-mipi-dbi-native: Fix upstream version check
python3-drgn: Fix upstream version check
libmad: Fix upstream version check ttf-liberation-sans-narrow: Fix upstream version check
broadcom-bt-firmware: Fix upstream version check
libspatialite: Fix upstream version check
proj: Fix upstream version check
spdm-emu: Fix upstream version check
mksh: Fix upstream version check
ctre: Fix upstream version check
exiv2: Fix upstream version check
hdf5: Fix upstream version check
libgpiod: Restrict upstream check to the 1.x series
libutempter: Fix upstream version check
portaudio-v19: Fix upstream version check
pty-forward-native: Fix upstream version check
serial-forward: Fix upstream version check
gnulib: Fix upstream version check
hddtemp: Fix upstream version check
lcov: Fix upstream version check
libiodbc: Fix upstream version check
libtinyxml: Fix upstream version check
ncdu: Restrict upstream check to the 1.x series
lvgl-demo-fb: Fix upstream version check
gpsd: Fix upstream version check
poco: Anchor upstream check to release tags
websocketpp: Check the cpprest-lts branch for new commits
blktests: Check master for new commits
protobuf: Fix upstream version check
sdbus-c++: Add upstream version check

 .../recipes-graphics/taisei/taisei_1.4.4.bb               | 2 ++
 .../phoronix-test-suite/phoronix-test-suite_10.8.4.bb     | 3 +++
 meta-oe/recipes-bsp/fwupd/fwupd_2.1.10.bb                 | 2 +-
 meta-oe/recipes-connectivity/ace/ace_8.0.8.bb             | 2 +-
 meta-oe/recipes-connectivity/gammu/gammu_1.45.2.bb        | 1 +
 meta-oe/recipes-connectivity/irssi/irssi_1.4.5.bb         | 2 +-
 .../modemmanager/modemmanager_1.24.2.bb                   | 1 +
 .../telepathy/telepathy-glib_0.24.2.bb                    | 2 +-
 meta-oe/recipes-core/glib-2.0/glibmm_2.66.10.bb           | 3 +++
 meta-oe/recipes-core/safec/safec_3.9.1.bb                 | 2 ++
 meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.3.1.bb         | 2 ++
 meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb           | 3 +++
 meta-oe/recipes-dbs/libdbi/libdbi.inc                     | 5 ++---
 .../android-libboringssl_14.0.0+r45.bb                    | 2 ++
 meta-oe/recipes-devtools/cpuid/cpuid_20260503.bb          | 2 ++
 .../e2fsprogs-ext4sparse-native_1.47.4.bb                 | 1 +
 .../include-what-you-use/include-what-you-use_0.26.bb     | 1 +
 meta-oe/recipes-devtools/lemon/lemon_3.53.4.bb            | 1 +
 meta-oe/recipes-devtools/luv/luv_1.53.0.bb                | 3 +++
 meta-oe/recipes-devtools/protobuf/protobuf_7.36.2.bb      | 7 ++-----
 .../recipes-devtools/tree-sitter/libtreesitter_0.27.2.bb  | 1 +
 .../cfengine/cfengine-masterfiles_3.29.0.bb               | 2 +-
 meta-oe/recipes-extended/flatpak/flatpak_1.18.4.bb        | 3 +++
 meta-oe/recipes-extended/minio/minio_git.bb               | 1 +
 meta-oe/recipes-extended/p8platform/p8platform_git.bb     | 1 +
 meta-oe/recipes-extended/qhull/qhull_2020.2.bb            | 4 +---
 meta-oe/recipes-extended/socketcan/socketcand_git.bb      | 6 +-----
 meta-oe/recipes-extended/sysdig/sysdig_0.39.0.bb          | 2 ++
 meta-oe/recipes-extended/tmux/tmux_3.8.bb                 | 2 +-
 meta-oe/recipes-gnome/atk/atkmm_2.28.5.bb                 | 3 +++
 meta-oe/recipes-gnome/gmime/gmime_3.2.15.bb               | 2 +-
 meta-oe/recipes-gnome/gtk+/gtkmm3_3.24.11.bb              | 3 +++
 meta-oe/recipes-gnome/gtk+/gtkmm4_4.24.0.bb               | 2 +-
 meta-oe/recipes-graphics/cairo/cairomm_1.14.6.bb          | 3 +++
 meta-oe/recipes-graphics/leptonica/leptonica_1.87.0.bb    | 2 +-
 meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb    | 2 ++
 meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb    | 2 ++
 meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb       | 2 ++
 meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb      | 2 ++
 meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.6.0.bb       | 7 +------
 .../panel-mipi-dbi/panel-mipi-dbi-native_git.bb           | 1 +
 meta-oe/recipes-graphics/pango/pangomm_2.46.5.bb          | 3 +++
 .../spir/spirv-shader-generator_1.4.328.1.bb              | 1 +
 .../ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb        | 3 +++
 meta-oe/recipes-kernel/blktests/blktests.bb               | 8 +++-----
 .../broadcom-bt-firmware_12.0.1.1105_p3.bb                | 1 +
 meta-oe/recipes-kernel/drgn/python3-drgn_0.2.0.bb         | 1 +
 meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb       | 3 +++
 meta-oe/recipes-navigation/gpsd/gpsd_3.28.bb              | 3 +++
 .../libspatialite/libspatialite_5.1.0.bb                  | 2 ++
 meta-oe/recipes-navigation/proj/proj_9.8.1.bb             | 2 ++
 meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb         | 6 +-----
 meta-oe/recipes-shells/mksh/mksh_59c.bb                   | 5 +----
 meta-oe/recipes-support/ctre/ctre_3.9.0.bb                | 1 +
 meta-oe/recipes-support/exiv2/exiv2_0.28.9.bb             | 1 +
 meta-oe/recipes-support/gnulib/gnulib_202601.bb           | 1 +
 meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb     | 2 ++
 meta-oe/recipes-support/hdf5/hdf5_2.2.0.bb                | 4 ++--
 meta-oe/recipes-support/lcov/lcov_2.6.bb                  | 2 +-
 meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb        | 3 +++
 meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb      | 2 +-
 meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb    | 5 +++--
 .../recipes-support/libutempter/libutempter_1.2.3-alt1.bb | 1 +
 meta-oe/recipes-support/ncdu/ncdu_1.22.bb                 | 2 ++
 meta-oe/recipes-support/poco/poco_1.15.4.bb               | 2 +-
 meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb | 1 +
 .../recipes-support/serial-utils/pty-forward-native.bb    | 1 +
 .../recipes-support/serial-utils/serial-forward_git.bb    | 1 +
 .../websocketpp/websocketpp_0.8.4-cpprest-lts.bb          | 3 +++
 69 files changed, 118 insertions(+), 52 deletions(-)
author
#1 lore raw

PATCH 1/69 phoronix-test-suite: Fix upstream version check

The phoronix-test-suite.com/releases/ listing stops at 5.4.1, so the check found nothing for the 10.x series. Upstream publishes releases on GitHub; check the release tags there.

AI-Generated: Uses Claude Code

---
 .../phoronix-test-suite/phoronix-test-suite_10.8.4.bb          | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_10.8.4.bb +3 -0
index 5f105c9f8e..33be88c116 100644
@@ -11,6 +11,9 @@ SRC_URI = "http://www.phoronix-test-suite.com/releases/${BP}.tar.gz \
 
 SRC_URI[sha256sum] = "1f2092d536c0a3193efc53e4a50f3cee65c0ef1a78d31e5404f1c663fff7b7f4"
 
+UPSTREAM_CHECK_URI = "https://github.com/phoronix-test-suite/phoronix-test-suite/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)$"
+
 S = "${UNPACKDIR}/phoronix-test-suite"
 
 inherit systemd allarch mime mime-xdg
author
#2 lore raw

PATCH 2/69 fwupd: Fix upstream version check

In reply to Khem Raj

The unanchored regex matched any number on the GitHub releases page and reported 11.28 from page markup. Match only the release tag links.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-bsp/fwupd/fwupd_2.1.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-bsp/fwupd/fwupd_2.1.10.bb +1 -1
index 31b1121c83..9b78dedc66 100644
@@ -21,7 +21,7 @@ SRC_URI = "\
 SRC_URI[sha256sum] = "cb23ab505cabaf616dacfc199f710f883329e8782ca3aa67548bdb7181d62fab"
 
 UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$"
 
 # Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins
 PACKAGE_ARCH = "${MACHINE_ARCH}"
author
#3 lore raw

PATCH 3/69 ace: Fix upstream version check

In reply to Khem Raj

The unanchored regex matched any number on the GitHub releases page and reported 11.28 from page markup. Match only the ACE+TAO-X_Y_Z release tag links.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-connectivity/ace/ace_8.0.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/ace/ace_8.0.8.bb +1 -1
index 6808dcfe43..3fa95b0a4c 100644
@@ -14,7 +14,7 @@ SRC_URI = "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-${@d.
 SRC_URI[sha256sum] = "d56f06d99508139e7a537122fdf52fb0c4d17805510094527643e1007857c421"
 
 UPSTREAM_CHECK_URI = "https://github.com/DOCGroup/ACE_TAO/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/ACE%2BTAO-(?P<pver>\d+(_\d+)+)$"
 
 CVE_STATUS[CVE-2009-1147] = "cpe-incorrect: this CVE is for vmware ace"
 
author
#4 lore raw

PATCH 4/69 gammu: Fix upstream version check

In reply to Khem Raj

The GitHub releases page no longer links the Gammu tarballs directly, so the default tarball regex found nothing. Match the release tag links instead.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-connectivity/gammu/gammu_1.45.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-connectivity/gammu/gammu_1.45.2.bb +1 -0
index d787a75ba4..3af6610fb7 100644
@@ -14,6 +14,7 @@ S = "${UNPACKDIR}/Gammu-${PV}"
 SRC_URI[sha256sum] = "92478c1c6d8df193f3d5e36648fd05fc3eff26254034f025cad2a0ffba5aec23"
 
 UPSTREAM_CHECK_URI = "https://github.com/gammu/gammu/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$"
 
 DEPENDS = "cmake-native virtual/libiconv libdbi mysql5 glib-2.0 udev libgudev unixodbc"
 
author
#5 lore raw

PATCH 5/69 irssi: Fix upstream version check

In reply to Khem Raj

The unanchored regex matched any number on the GitHub releases page and reported 11.28 from page markup. Match only the release tag links.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-connectivity/irssi/irssi_1.4.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/irssi/irssi_1.4.5.bb +1 -1
index 95dba3a409..78af4faec0 100644
@@ -9,7 +9,7 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz
 SRC_URI[sha256sum] = "72a951cb0ad622785a8962801f005a3a412736c7e7e3ce152f176287c52fe062"
 
 UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$"
 
 inherit autotools pkgconfig
 
author
#6 lore raw

PATCH 6/69 luv: Fix upstream version check

In reply to Khem Raj

The SRC_URI directory is a GitHub release download path with no listing, so the check found nothing. Check the GitHub release tags (X.Y.Z-REV) instead.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-devtools/luv/luv_1.53.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-devtools/luv/luv_1.53.0.bb +3 -0
index 1611b31366..5cb148ba35 100644
@@ -7,6 +7,9 @@ LUV_REV = "1"
 SRC_URI = "https://github.com/luvit/luv/releases/download/${PV}-${LUV_REV}/luv-${PV}-${LUV_REV}.tar.gz"
 SRC_URI[sha256sum] = "569b488d5d31609ea466a6c70e008a42661ec773ea1584d3d766d46280ab7cf4"
 
+UPSTREAM_CHECK_URI = "https://github.com/luvit/luv/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)-\d+$"
+
 S = "${UNPACKDIR}/luv-${PV}-${LUV_REV}"
 
 DEPENDS = "luajit libuv"
author
#7 lore raw

PATCH 7/69 cfengine-masterfiles: Fix upstream version check

In reply to Khem Raj

The unanchored regex matched any number on the GitHub releases page and reported 11.28 from page markup. Match only the release tag links.

AI-Generated: Uses Claude Code

---
 .../recipes-extended/cfengine/cfengine-masterfiles_3.29.0.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/cfengine/cfengine-masterfiles_3.29.0.bb +1 -1
index 5c81c414c4..293e192592 100644
@@ -25,7 +25,7 @@ SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz
 SRC_URI[sha256sum] = "db0a97ae7ee1f46430b5ad79127a7594849a222adc1934eeb3e5aa14843ff47e"
 
 UPSTREAM_CHECK_URI = "https://github.com/cfengine/masterfiles/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$"
 
 inherit autotools
 
author
#8 lore raw

PATCH 8/69 tmux: Fix upstream version check

In reply to Khem Raj

The unanchored regex matched any number on the GitHub releases page and reported 11.28 from page markup. Match only the release tag links.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-extended/tmux/tmux_3.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/tmux/tmux_3.8.bb +1 -1
index 2f567e6a47..963a452e3e 100644
@@ -11,7 +11,7 @@ SRC_URI = "https://github.com/tmux/tmux/releases/download/${PV}/tmux-${PV}.tar.g
 SRC_URI[sha256sum] = "e79c699c7e949dccd0a4a125e17b8d1261e311b16979dbc8eb34542f3966d82e"
 
 UPSTREAM_CHECK_URI = "https://github.com/tmux/tmux/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+[a-z]?)"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+[a-z]?)$"
 
 inherit autotools pkgconfig
 
author
#9 lore raw

PATCH 9/69 gmime: Fix upstream version check

In reply to Khem Raj

The unanchored regex matched any number on the GitHub releases page and reported 11.28 from page markup. Match only the release tag links.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-gnome/gmime/gmime_3.2.15.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-gnome/gmime/gmime_3.2.15.bb +1 -1
index 1f84c5e20a..fa27eab370 100644
@@ -14,7 +14,7 @@ SRC_URI = "https://github.com/jstedfast/${BPN}/releases/download/${PV}/${BP}.tar
 SRC_URI[sha256sum] = "84cd2a481a27970ec39b5c95f72db026722904a2ccf3fdbd57b280cf2d02b5c4"
 
 UPSTREAM_CHECK_URI = "https://github.com/jstedfast/gmime/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$"
 
 EXTRA_OECONF += "--enable-largefile"
 
author
#10 lore raw

PATCH 10/69 leptonica: Fix upstream version check

In reply to Khem Raj

The unanchored regex matched any number on the GitHub releases page and reported 11.28 from page markup. Match only the release tag links, which also skips pre-release tags like 1.87.0-pre1.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-graphics/leptonica/leptonica_1.87.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/leptonica/leptonica_1.87.0.bb +1 -1
index 1e6edfd138..481a556390 100644
@@ -4,7 +4,7 @@ LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=809b282cea2df68975fbe0ffe02b560f"
 
 UPSTREAM_CHECK_URI = "https://github.com/DanBloomberg/leptonica/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$"
 
 SRC_URI = "http://www.leptonica.org/source/leptonica-${PV}.tar.gz"
 SRC_URI[sha256sum] = "c73363397f96eb1295602bf44d708a994ad42046c791bf03ea0505d829bdb6a7"
author
#11 lore raw

PATCH 11/69 taisei: Fix upstream version check

In reply to Khem Raj

The default tag regex matched the numeric prefix of the v1.4.99-dokomi2024-preview tag and reported 1.4.99. Only match plain vX.Y.Z release tags.

AI-Generated: Uses Claude Code

---
 .../multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb    | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb +2 -0
index cc6031adf8..c099619124 100644
@@ -26,6 +26,8 @@ SRC_URI = "gitsm://github.com/taisei-project/taisei.git;branch=v1.4.x;protocol=h
 		  "
 SRCREV = "6a484e6e61cc51a22a9943762dc2ff6883914f38"
 
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
+
 inherit features_check meson mime mime-xdg pkgconfig
 
 REQUIRED_DISTRO_FEATURES = "opengl"
author
#12 lore raw

PATCH 12/69 modemmanager: Fix upstream version check

In reply to Khem Raj

upstream-version-is-even only sets the tarball regex, so the git tag check reported the 1.25.95-dev development tag. Match only release tags with an even minor version.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-connectivity/modemmanager/modemmanager_1.24.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-connectivity/modemmanager/modemmanager_1.24.2.bb +1 -0
index 9227c4b7f4..57bda359e8 100644
@@ -13,6 +13,7 @@ DEPENDS = "glib-2.0 libgudev libxslt-native dbus"
 
 SRCREV = "f2b9ab1ad78d322f32134a444b5b54c6e8160e19"
 SRC_URI = "git://gitlab.freedesktop.org/mobile-broadband/ModemManager.git;protocol=https;branch=mm-1-24;tag=${PV}"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.\d*[02468](\.\d+)+)$"
 
 
 # strict, permissive
author
#13 lore raw

PATCH 13/69 safec: Fix upstream version check

In reply to Khem Raj

The default tag regex picked the old date tags (v31082020). Only match vX.Y[.Z] release tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-core/safec/safec_3.9.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-core/safec/safec_3.9.1.bb +2 -0
index 72e13efa8e..1e14875e48 100644
@@ -10,6 +10,8 @@ SRCREV = "39a0a819f80853498e48a6e601a446a122b64aaa"
 SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https;tag=v${PV} \
            file://0001-vsnprintf_s-Increase-Buffer-Size-by-1.patch \
 		  "
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+\.\d+(\.\d+)?)$"
+
 # arm-yoe-linux-gnueabi-clang: error: argument unused during compilation: '-mretpoline' [-Werror,-Wunused-command-line-argument]
 # arm-yoe-linux-gnueabi-clang: error: argument unused during compilation: '-fstack-clash-protection' [-Werror,-Wunused-command-line-argument]
 TUNE_CCARGS:append:toolchain-clang = " -Qunused-arguments"
author
#14 lore raw

PATCH 14/69 influxdb: Restrict upstream check to the 1.x series

In reply to Khem Raj

The default tag regex reported 3.12.3, but InfluxDB 2.x and 3.x are separate rewrites. Only consider v1.x.y release tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb +3 -0
index 7c553b647c..468130c2a0 100644
@@ -16,6 +16,9 @@ require ${BPN}-go-mods.inc
 
 SRCREV = "688e697c51fd5353725da078555adbeff0363d01"
 
+# 2.x and 3.x are separate rewrites; this recipe tracks the 1.x series
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>1\.\d+\.\d+)$"
+
 GO_IMPORT = "github.com/influxdata/influxdb"
 GO_INSTALL = "\
     ${GO_IMPORT}/cmd/influx \
author
#15 lore raw

PATCH 15/69 e2fsprogs-ext4sparse-native: Fix upstream version check

In reply to Khem Raj

The default tag regex picked a date-like number (20011130) from old tags. Only match vX.Y.Z release tags.

AI-Generated: Uses Claude Code

---
 .../e2fsprogs-ext4sparse/e2fsprogs-ext4sparse-native_1.47.4.bb   | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/e2fsprogs-ext4sparse/e2fsprogs-ext4sparse-native_1.47.4.bb +1 -0
index 04f9aaaf2b..feb1e6669a 100644
@@ -8,6 +8,7 @@ DEPENDS = "e2fsprogs-native android-tools-native"
 
 SRC_URI = "git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git;branch=master;protocol=https"
 SRCREV = "ece89fac4603e400155b7bbf6326284f8511bca9"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 inherit native
 
author
#16 lore raw

PATCH 16/69 include-what-you-use: Fix upstream version check

In reply to Khem Raj

The default tag regex matched the clang_X.Y tags and reported 8.0. Only match the plain X.Y IWYU release tags.

AI-Generated: Uses Claude Code

---
 .../include-what-you-use/include-what-you-use_0.26.bb            | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/include-what-you-use/include-what-you-use_0.26.bb +1 -0
index 57ade99a1d..dbcebabfeb 100644
@@ -12,6 +12,7 @@ DEPENDS = "clang"
 
 SRCREV = "01a091d16b3dedb808db21f32ed3e761737a3691"
 SRC_URI = "git://github.com/include-what-you-use/include-what-you-use.git;protocol=https;branch=clang_22;tag=${PV}"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.\d+)$"
 
 inherit cmake python3native
 
author
#17 lore raw

PATCH 17/69 lemon: Fix upstream version check

In reply to Khem Raj

The default tag regex matched a year in some sqlite tag and reported 2026. Lemon ships with sqlite, so match the version-X.Y.Z release tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-devtools/lemon/lemon_3.53.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/lemon/lemon_3.53.4.bb +1 -0
index 403871a07d..6906462283 100644
@@ -6,6 +6,7 @@ SECTION = "devel"
 LIC_FILES_CHKSUM = "file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
 
 SRC_URI = "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.53"
+UPSTREAM_CHECK_GITTAGREGEX = "^version-(?P<pver>\d+(\.\d+)+)$"
 
 SRCREV = "b09c88c14082339b66c7b7158d609a771e64ca69"
 
author
#18 lore raw

PATCH 18/69 libtreesitter: Fix upstream version check

In reply to Khem Raj

The default tag regex matched a fragment of a non-release tag and reported "3.". Only match vX.Y.Z release tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-devtools/tree-sitter/libtreesitter_0.27.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/tree-sitter/libtreesitter_0.27.2.bb +1 -0
index e1e9ab1dce..7a17cfae1e 100644
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b83e3e9ab94483903b3bc21d9a1d41ed"
 
 SRC_URI = "git://github.com/tree-sitter/tree-sitter.git;protocol=https;branch=release-0.27;tag=v${PV}"
 SRCREV = "3fb7be49145acfb07e33b61ed5689e2b6771b2e9"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 inherit cmake pkgconfig
 
author
#19 lore raw

PATCH 19/69 flatpak: Fix upstream version check

In reply to Khem Raj

The check reported the 1.19.x development releases. Flatpak uses odd minor versions for development, so only match tags with an even minor version.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-extended/flatpak/flatpak_1.18.4.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-extended/flatpak/flatpak_1.18.4.bb +3 -0
index 74bfb89e62..3b1bf63014 100644
@@ -10,6 +10,9 @@ SRC_URI = " \
 
 SRCREV = "a02d0ba48abe9aacc377de15699e5d8c024b5669"
 
+# Odd minor versions are development releases
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.\d*[02468]\.\d+)$"
+
 
 inherit meson pkgconfig gettext systemd gtk-doc gobject-introspection python3native mime features_check useradd
 
author
#20 lore raw

PATCH 20/69 p8platform: Fix upstream version check

In reply to Khem Raj

The default tag regex matched the 8 in p8-platform-* tags. Match the version after the p8-platform- prefix.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-extended/p8platform/p8platform_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-extended/p8platform/p8platform_git.bb +1 -0
index 4c98de3cd7..ab98e89592 100644
@@ -8,6 +8,7 @@ PV = "2.1.0.1+git"
 
 SRC_URI = "git://github.com/Pulse-Eight/platform.git;branch=master;protocol=https"
 SRCREV = "2748be52ae27e6007ef548b697d4a03ff7de4291"
+UPSTREAM_CHECK_GITTAGREGEX = "^p8-platform-(?P<pver>\d+(\.\d+)+)$"
 
 
 inherit cmake pkgconfig
author
#21 lore raw

PATCH 21/69 sysdig: Fix upstream version check

In reply to Khem Raj

The default tag regex picked the s20171003 snapshot tag. Only match plain X.Y.Z release tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-extended/sysdig/sysdig_0.39.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/sysdig/sysdig_0.39.0.bb +2 -0
index b9bf8ba90f..7741bdf86a 100644
@@ -35,6 +35,8 @@ SRCREV_driver = "d4efc80ece48174a71c1a420cb52d233fa94f946"
 
 SRCREV_FORMAT = "sysdig_falco"
 
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
+
 #Add this function to generate driver_config.h
 do_configure:prepend() {
     mkdir -p ${WORKDIR}/driver_Make
author
#22 lore raw

PATCH 22/69 socketcand: Fix upstream version check

In reply to Khem Raj

PV is "git" and SRCREV follows master, about 100 commits past the 0.6.1 tag, so a tag check has nothing to compare against and the recipe was marked unknown. Check for new commits on master instead.

This replaces the upstream check settings from commit 787d1b73e2 ("meta-oe: repair broken recipe upstream version-checks").

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-extended/socketcan/socketcand_git.bb | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
meta-oe/recipes-extended/socketcan/socketcand_git.bb +1 -5
index 1244d175e3..892f460dc1 100644
@@ -7,11 +7,7 @@ LIC_FILES_CHKSUM = " \
 
 SRC_URI = "git://github.com/linux-can/socketcand;branch=master;protocol=https"
 SRCREV = "998b0394d028e791aa97d549bfc686b4fbadf5ee"
-# Release tags are "0.6.1" (older ones "v0.6.0").
-UPSTREAM_CHECK_GITTAGREGEX = "v?(?P<pver>\d+(\.\d+)+)"
-# PV is "git" (AUTOINC recipe with no numeric PV), so the resolved tag (0.6.1)
-# has nothing to compare against; reported unknown rather than broken.
-UPSTREAM_VERSION_UNKNOWN = "1"
+UPSTREAM_CHECK_COMMITS = "1"
 
 inherit meson pkgconfig
 
author
#23 lore raw

PATCH 23/69 minio: Fix upstream version check

In reply to Khem Raj

PV is the mc commit hash, so comparing it with the RELEASE.<date> tags reported 2025 as a newer version. The recipe follows master; check for new commits there instead.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-extended/minio/minio_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-extended/minio/minio_git.bb +1 -0
index d08b5e754d..3b9f785c3a 100644
@@ -22,6 +22,7 @@ LICENSE = "AGPL-3.0-only"
 LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=eb1e647870add0502f8f010b19de32af"
 
 PV = "${SRCREV_mc}"
+UPSTREAM_CHECK_COMMITS = "1"
 
 inherit go
 inherit goarch
author
#24 lore raw

PATCH 24/69 telepathy-glib: Fix upstream version check

In reply to Khem Raj

The check reported 0.99.11 from the 0.99.x development series (the never-finished 1.0). telepathy uses odd minor versions for development releases, so inherit upstream-version-is-even.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.2.bb +1 -1
index 6bfffd40c1..7c56b6a716 100644
@@ -9,7 +9,7 @@ SRC_URI[sha256sum] = "b0a374d771cdd081125f38c3abd079657642301c71a543d555e2bf2191
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e"
 
-inherit autotools pkgconfig gettext gobject-introspection vala gtk-doc
+inherit autotools pkgconfig gettext gobject-introspection vala gtk-doc upstream-version-is-even
 
 # GCC 14+ promotes -Wincompatible-pointer-types to an error. This 0.24.2
 # release predates the stricter C rules (e.g. g_ptr_array_new_full callback
author
#25 lore raw

PATCH 25/69 glibmm: Restrict upstream check to the 2.66 series

In reply to Khem Raj

The directory scan reported 2.90.0 from the glibmm-2.68 API series, which is packaged separately as glibmm-2.68. Check only the release directory of the current series.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-core/glib-2.0/glibmm_2.66.10.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-core/glib-2.0/glibmm_2.66.10.bb +3 -0
index a9be4e6c55..3d8d1e90eb 100644
@@ -14,6 +14,9 @@ SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
 
 SRC_URI[archive.sha256sum] = "2b61780203aed98e701d3ea57c8f353e7c8ada9706a79be782f6c5153dd035c0"
 
+# 2.68+ (glibmm-2.68 API) is packaged as glibmm-2.68
+UPSTREAM_CHECK_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/"
+
 FILES:${PN} = "${libdir}/lib*.so.*"
 FILES:${PN}-dev += "${datadir}/glibmm-* ${libdir}/glibmm-2.4/include/ ${libdir}/glibmm-2.4/proc/ ${libdir}/giomm-2.4/include/"
 
author
#26 lore raw

PATCH 26/69 atkmm: Restrict upstream check to the 2.28 series

In reply to Khem Raj

The directory scan reported 2.36.4 from the atkmm-2.36 API series, which is packaged separately as atkmm-2.36. Check only the release directory of the current series.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-gnome/atk/atkmm_2.28.5.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-gnome/atk/atkmm_2.28.5.bb +3 -0
index 38d0317549..b9c91b6ce7 100644
@@ -14,6 +14,9 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 SRC_URI[archive.sha256sum] = "ae449192a582a2582a95e0602b15d792bbd639e836339b81ef916aa87540ac5c"
 
+# 2.36+ (atkmm-2.36 API) is packaged as atkmm-2.36
+UPSTREAM_CHECK_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/"
+
 EXTRA_OEMESON = "-Dbuild-documentation=false"
 
 FILES:${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"
author
#27 lore raw

PATCH 27/69 gtkmm3: Restrict upstream check to the 3.24 series

In reply to Khem Raj

The directory scan reported 4.25.0 from the gtkmm 4 series, which is packaged separately as gtkmm4. Check only the release directory of the current series.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-gnome/gtk+/gtkmm3_3.24.11.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-gnome/gtk+/gtkmm3_3.24.11.bb +3 -0
index 7710ac9a8a..e57bbe07ec 100644
@@ -16,6 +16,9 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 SRC_URI[archive.sha256sum] = "19e383c82d5dd89db275e00b82864e90414d4c3fb3d100b2f996bcc2338a4cc7"
 
+# 4.x is packaged as gtkmm4
+UPSTREAM_CHECK_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/"
+
 EXTRA_OEMESON = "-Dbuild-demos=false"
 
 FILES:${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"
author
#28 lore raw

PATCH 28/69 gtkmm4: Fix upstream version check

In reply to Khem Raj

The check reported the 4.25.0 development release. gtkmm uses odd minor versions for development, so inherit upstream-version-is-even.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-gnome/gtk+/gtkmm4_4.24.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-gnome/gtk+/gtkmm4_4.24.0.bb +1 -1
index 35f0361997..4e98338c1d 100644
@@ -12,7 +12,7 @@ DEPENDS = "glib-2.0-native pangomm-2.48 glibmm gtk4 cairomm-1.16 gdk-pixbuf-nati
 
 GNOMEBN = "gtkmm"
 
-inherit gnomebase features_check
+inherit gnomebase features_check upstream-version-is-even
 
 REQUIRED_DISTRO_FEATURES = "opengl"
 
author
#29 lore raw

PATCH 29/69 cairomm: Restrict upstream check to the 1.14 series

In reply to Khem Raj

The check reported 1.19.1 from the newer cairomm API series, which is packaged separately as cairomm-1.16. Only match 1.14.x tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-graphics/cairo/cairomm_1.14.6.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-graphics/cairo/cairomm_1.14.6.bb +3 -0
index b5e337e9b5..a4e30d40ec 100644
@@ -10,6 +10,9 @@ DEPENDS += "boost cairo libsigc++-2.0"
 SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.xz"
 SRC_URI[sha256sum] = "7e0d5c7f29175d573a03ab5c45aef63f48dd91a5caf335a404cd763e4b7cea4a"
 
+# 1.16+ is packaged as cairomm-1.16
+UPSTREAM_CHECK_REGEX = "cairomm-(?P<pver>1\.14(\.\d+)+)\.tar"
+
 FILES:${PN}-doc += "${datadir}/devhelp"
 FILES:${PN}-dev += "${libdir}/cairomm-*/"
 
author
#30 lore raw

PATCH 30/69 libdbi: Fix upstream version check

In reply to Khem Raj

The recipe was marked unknown on the grounds that the SourceForge files area tops out at 0.8.2, but 0.9.0 is listed there in a libdbi-0.9.0 directory. Check the release directory names.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-dbs/libdbi/libdbi.inc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta-oe/recipes-dbs/libdbi/libdbi.inc +2 -3
index 4ffb2a46ae..aca93d08eb 100644
@@ -9,9 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
 SECTION = "libs"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/libdbi/libdbi-${PV}.tar.gz"
-# SourceForge download area tops out at libdbi-0.8.2; PV 0.9.0 exists only
-# outside the browsable files area, so no checkable listing maps to PV.
-UPSTREAM_VERSION_UNKNOWN = "1"
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libdbi/files/libdbi/"
+UPSTREAM_CHECK_REGEX = "libdbi/(libdbi-)?(?P<pver>\d+(\.\d+)+)/$"
 
 inherit autotools
 
author
#31 lore raw

PATCH 31/69 android-libboringssl: Fix upstream version check

In reply to Khem Raj

The default regex split the Debian version at the + and reported
45. Match the full X.Y.Z+rN version of the .orig tarballs in the Debian pool.

AI-Generated: Uses Claude Code

---
 .../android-libboringssl/android-libboringssl_14.0.0+r45.bb     | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/android-libboringssl/android-libboringssl_14.0.0+r45.bb +2 -0
index 4da1c89dab..bda290c99e 100644
@@ -17,6 +17,8 @@ SRC_URI = "https://deb.debian.org/debian/pool/main/a/android-platform-external-b
 SRC_URI[md5sum] = "83d24d2f3136ba6a486b5464369b91b4"
 SRC_URI[sha256sum] = "f9223e8c15ad5d9e3f1cd50861f4c272658864661e2332bea5d60952aa0930cd"
 
+UPSTREAM_CHECK_REGEX = "android-platform-external-boringssl_(?P<pver>\d+(\.\d+)+\+r\d+)\.orig\.tar"
+
 # The Debian orig tarball unpacks to android-platform-external-boringssl-${PV}/
 # with the actual source under a src/ subdirectory.
 S = "${UNPACKDIR}/android-platform-external-boringssl-${PV}/src"
author
#32 lore raw

PATCH 32/69 cpuid: Fix upstream version check

In reply to Khem Raj

The default regex matched the binary RPMs and reported 20260503-1. Only match the .src.tar.gz source tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-devtools/cpuid/cpuid_20260503.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/cpuid/cpuid_20260503.bb +2 -0
index c0e27bdc20..ece8aacad8 100644
@@ -12,6 +12,8 @@ SRC_URI = "http://www.etallen.com/${BPN}/${BP}.src.tar.gz \
            "
 SRC_URI[sha256sum] = "8ee10fb48d4aa20c484a75d6852883710286ed2975c314bda6d0b0383908cbfe"
 
+UPSTREAM_CHECK_REGEX = "cpuid-(?P<pver>\d+)\.src\.tar"
+
 COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
 
 inherit perlnative
author
#33 lore raw

PATCH 33/69 qhull: Fix upstream version check

In reply to Khem Raj

The recipe was marked unknown because the source tarball name carries the 8.0.2 library version. The download page also lists qhull-2020.2.zip under the release version used for PV, so match those.

This replaces the upstream check settings from commit 787d1b73e2 ("meta-oe: repair broken recipe upstream version-checks").

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-extended/qhull/qhull_2020.2.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-oe/recipes-extended/qhull/qhull_2020.2.bb +1 -3
index 1f1cf71c23..b00daa3571 100644
@@ -9,9 +9,7 @@ SRC_URI = "http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz \
     file://0002-allow-build-with-cmake-4.patch \
 "
 SRC_URI[sha256sum] = "b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e"
-# Upstream ships a single "qhull-2020-src-8.0.2.tgz"; the dual 2020.2 / 8.0.2
-# numbering has no parseable listing that maps to PV.
-UPSTREAM_VERSION_UNKNOWN = "1"
+UPSTREAM_CHECK_REGEX = "qhull-(?P<pver>\d{4}\.\d+)\.zip$"
 
 CFLAGS += "-fPIC"
 
author
#34 lore raw

PATCH 34/69 libsdl-image: Fix upstream version check

In reply to Khem Raj

The default regex matched the binary RPMs and reported 1.2.12-1. Only match the SDL_image source tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb +2 -0
index 4b4cf4e62d..b4b5047d73 100644
@@ -11,6 +11,8 @@ SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.
            file://configure.patch"
 SRC_URI[sha256sum] = "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699"
 
+UPSTREAM_CHECK_REGEX = "SDL_image-(?P<pver>\d+(\.\d+)+)\.tar"
+
 S = "${UNPACKDIR}/SDL_image-${PV}"
 
 inherit autotools pkgconfig
author
#35 lore raw

PATCH 35/69 libsdl-mixer: Fix upstream version check

In reply to Khem Raj

The default regex also matched the RPM packages on the release page (SDL_mixer-1.2.12-1.src.rpm), reporting a bogus "1.2.12-1" version. Match only the SDL_mixer-<version>.tar.gz source tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb +2 -0
index d87c15aebc..0e462ee416 100644
@@ -10,6 +10,8 @@ SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${PV}.tar.
 
 SRC_URI[sha256sum] = "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
 
+UPSTREAM_CHECK_REGEX = "SDL_mixer-(?P<pver>\d+(\.\d+)+)\.tar\.gz"
+
 S = "${UNPACKDIR}/SDL_mixer-${PV}"
 
 inherit autotools-brokensep pkgconfig
author
#36 lore raw

PATCH 36/69 libsdl-net: Fix upstream version check

In reply to Khem Raj

The default regex also matched the RPM packages on the release page (SDL_net-1.2.8-1.src.rpm), reporting a bogus "1.2.8-1" version. Match only the SDL_net-<version>.tar.gz source tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb +2 -0
index ef4d13ebb6..5669821f2e 100644
@@ -17,3 +17,5 @@ SRC_URI = " \
 S = "${UNPACKDIR}/SDL_net-${PV}"
 
 SRC_URI[sha256sum] = "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4"
+
+UPSTREAM_CHECK_REGEX = "SDL_net-(?P<pver>\d+(\.\d+)+)\.tar\.gz"
author
#37 lore raw

PATCH 37/69 libsdl-ttf: Fix upstream version check

In reply to Khem Raj

The default regex also matched the RPM packages on the release page (SDL_ttf-2.0.11-1.src.rpm), reporting a bogus "2.0.11-1" version. Match only the SDL_ttf-<version>.tar.gz source tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb +2 -0
index 2cf3e88f17..68a001858b 100644
@@ -9,6 +9,8 @@ SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
 "
 SRC_URI[sha256sum] = "724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7"
 
+UPSTREAM_CHECK_REGEX = "SDL_ttf-(?P<pver>\d+(\.\d+)+)\.tar\.gz"
+
 S = "${UNPACKDIR}/SDL_ttf-${PV}"
 
 inherit autotools pkgconfig
author
#38 lore raw

PATCH 38/69 pangomm: Restrict upstream check to the 2.46 series

In reply to Khem Raj

The check scanned all release directories and reported 2.58.0, which belongs to the 2.48 API series packaged separately as pangomm-2.48. Only match pangomm-2.46.x tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-graphics/pango/pangomm_2.46.5.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-graphics/pango/pangomm_2.46.5.bb +3 -0
index 4caf4ba3e1..b4f17745da 100644
@@ -13,6 +13,9 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 SRC_URI[archive.sha256sum] = "38ca0b050b065de4e3da0c182df657437757063bbf0c4b6c9567ddba019b1d68"
 
+# 2.48+ is packaged as pangomm-2.48
+UPSTREAM_CHECK_REGEX = "pangomm-(?P<pver>2\.46(\.\d+)+)\.tar"
+
 FILES:${PN} = "${libdir}/lib*.so.*"
 FILES:${PN}-dev += "${libdir}/*/include/ ${libdir}/pangomm-*/"
 
author
#39 lore raw

PATCH 39/69 spirv-shader-generator: Fix upstream version check

In reply to Khem Raj

The default tag regex picked up stray numeric tags (e.g. 2021) in SPIRV-Cross. Only consider the vulkan-sdk-<version> tags that the recipe fetches.

AI-Generated: Uses Claude Code

---
 .../recipes-graphics/spir/spirv-shader-generator_1.4.328.1.bb    | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-graphics/spir/spirv-shader-generator_1.4.328.1.bb +1 -0
index b5f22f08fc..8147b6e408 100644
@@ -6,6 +6,7 @@ SECTION = "graphics"
 
 SRCREV = "7affe74d77f93a622bb5002789d5332d32e512ee"
 SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=main;protocol=https;tag=vulkan-sdk-${PV}"
+UPSTREAM_CHECK_GITTAGREGEX = "^vulkan-sdk-(?P<pver>\d+(\.\d+)+)$"
 
 inherit cmake pkgconfig
 
author
#40 lore raw

PATCH 40/69 panel-mipi-dbi-native: Fix upstream version check

In reply to Khem Raj

The repository has no tags, so the tag-based check found nothing. Track new commits on the main branch instead.

AI-Generated: Uses Claude Code

---
 .../recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb +1 -0
index d3c96cd66f..210d9f846f 100644
@@ -14,6 +14,7 @@ LIC_FILES_CHKSUM = "file://mipi-dbi-cmd;beginline=4;endline=13;md5=5e3d3f14cc87a
 SRCREV = "1cbd40135a8c7f25d7b444a7fac77fd3c3ad471e"
 
 SRC_URI = "git://github.com/notro/panel-mipi-dbi.git;protocol=https;branch=main"
+UPSTREAM_CHECK_COMMITS = "1"
 
 
 inherit native
author
#41 lore raw

PATCH 41/69 python3-drgn: Fix upstream version check

In reply to Khem Raj

The default tag regex matched digits in the vmtest-kernels-s390x tag and reported 390. Only consider v<version> release tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-kernel/drgn/python3-drgn_0.2.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-kernel/drgn/python3-drgn_0.2.0.bb +1 -0
index 09aef3a4bb..0790917118 100644
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7c83d30e99508d6b790eacdd3abab846"
 
 SRC_URI = "git://github.com/osandov/drgn.git;protocol=https;branch=main;tag=v${PV}"
 SRCREV = "818b5a7e8a4db82a1e0326667e7afaec5bf5fd19"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 
 DEPENDS = "\
author
#42 lore raw

PATCH 42/69 libmad: Fix upstream version check

In reply to Khem Raj

downloads.sourceforge.net has no directory listing, so the check found nothing. Check the SourceForge libmad files page and match its version directories.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb +3 -0
index 0f89574b9a..9f20cb5408 100644
@@ -23,6 +23,9 @@ SRC_URI:append:toolchain-clang = " file://0004-Remove-clang-unsupported-compiler
 
 SRC_URI[sha256sum] = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690"
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mad/files/libmad/"
+UPSTREAM_CHECK_REGEX = "libmad/(?P<pver>\d+(\.\d+)+[a-z]?)/$"
+
 CVE_PRODUCT:append = " mad_libmad"
 
 S = "${UNPACKDIR}/libmad-${PV}"
author
#43 lore raw

PATCH 43/69 ttf-liberation-sans-narrow: Fix upstream version check

In reply to Khem Raj

releases.pagure.org no longer serves a file listing (it shows the pagure project page, which says upstream moved to GitHub), so the check found nothing. Liberation Sans Narrow now lives in github.com/liberationfonts/liberation-sans-narrow; check its release tags.

AI-Generated: Uses Claude Code

---
 .../ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb             | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb +3 -0
index bb2930ae0b..a2c30f76a7 100644
@@ -15,6 +15,9 @@ SRC_URI = "https://releases.pagure.org/liberation-fonts/liberation-fonts-ttf-${P
 
 SRC_URI[sha256sum] = "61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c"
 
+UPSTREAM_CHECK_URI = "https://github.com/liberationfonts/liberation-sans-narrow/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)"
+
 S = "${UNPACKDIR}/liberation-fonts-ttf-${PV}"
 
 do_install:append () {
author
#44 lore raw

PATCH 44/69 broadcom-bt-firmware: Fix upstream version check

In reply to Khem Raj

The default tag regex stopped at the underscore of tags like v12.0.1.1105_p3 and reported "12.0.1.1105.". Match v<version> tags and drop the _pN suffix, since the recipe carries it in PR (from the file name), not in PV.

AI-Generated: Uses Claude Code

---
 .../broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p3.bb  | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p3.bb +1 -0
index f6c1b0c60c..3f26172acd 100644
@@ -11,6 +11,7 @@ NO_GENERIC_LICENSE[Firmware-Broadcom-WIDCOMM] = "LICENSE.broadcom_bcm20702"
 LIC_FILES_CHKSUM = "file://LICENSE.broadcom_bcm20702;md5=c0d5ea0502b00df74173d0f8a48b619d"
 SRC_URI = "git://github.com/winterheart/broadcom-bt-firmware.git;branch=master;protocol=https"
 SRCREV = "a0eb4805dbb232f02f156b9351a23790c1a4cec7"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)(_p\d+)?$"
 
 PE = "1"
 
author
#45 lore raw

PATCH 45/69 libspatialite: Fix upstream version check

In reply to Khem Raj

The default regex accepted release candidates such as libspatialite-5.1.0-RC1 and reported them as newer. Only match final libspatialite-<version>.tar.gz tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-navigation/libspatialite/libspatialite_5.1.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-navigation/libspatialite/libspatialite_5.1.0.bb +2 -0
index e4b9513cf5..4411379839 100644
@@ -13,6 +13,8 @@ SRC_URI = "http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-
 "
 SRC_URI[sha256sum] = "43be2dd349daffe016dd1400c5d11285828c22fea35ca5109f21f3ed50605080"
 
+UPSTREAM_CHECK_REGEX = "libspatialite-(?P<pver>\d+(\.\d+)+)\.tar\.gz"
+
 inherit autotools-brokensep pkgconfig
 
 EXTRA_OECONF = "--enable-freexl=no --disable-rttopo --disable-minizip"
author
#46 lore raw

PATCH 46/69 proj: Fix upstream version check

In reply to Khem Raj

The default regex accepted release candidates such as proj-9.9.0RC1 and preferred them over the final release. Only match final proj-<version>.tar.gz tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-navigation/proj/proj_9.8.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-navigation/proj/proj_9.8.1.bb +2 -0
index 9f1e03ef59..0ed8db5c39 100644
@@ -8,6 +8,8 @@ DEPENDS = "sqlite3 sqlite3-native"
 SRC_URI = "https://download.osgeo.org/${BPN}/${BP}.tar.gz"
 SRC_URI[sha256sum] = "af5b731c145c1d13c4e3b4eeb7d167e94e845e440f71e3496b4ed8dae0291960"
 
+UPSTREAM_CHECK_REGEX = "proj-(?P<pver>\d+(\.\d+)+)\.tar\.gz"
+
 inherit bash-completion cmake lib_package pkgconfig
 
 EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
author
#47 lore raw

PATCH 47/69 spdm-emu: Fix upstream version check

In reply to Khem Raj

The recipe builds untagged commits from main with PV "git", so the tag-based check had nothing to compare and was marked unknown. Track new commits on the main branch instead.

This replaces the upstream check settings from commit 787d1b73e2 ("meta-oe: repair broken recipe upstream version-checks").

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb +1 -5
index 33c02dae72..ecb834a1cf 100644
@@ -11,11 +11,7 @@ SRC_URI = "gitsm://github.com/DMTF/spdm-emu;protocol=https;branch=main \
            "
 
 SRCREV = "ea77f25410cc01098320c0b44b3e150192ec4d5e"
-# Upstream release tags are "X.Y.Z" (newest 3.8.0).
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
-# PV is "git" (AUTOINC recipe with no numeric PV), so the resolved tag (3.8.0)
-# has nothing to compare against; reported unknown rather than broken.
-UPSTREAM_VERSION_UNKNOWN = "1"
+UPSTREAM_CHECK_COMMITS = "1"
 inherit cmake pkgconfig systemd
 
 # Use mbedtls until openssl build is fixed.
author
#48 lore raw

PATCH 48/69 mksh: Fix upstream version check

In reply to Khem Raj

mirbsd.org does serve a directory listing and the check already found 59c, but UPSTREAM_VERSION_UNKNOWN turned that into KNOWN_BROKEN. Drop it and only match mksh-R<number><letter>.tgz tarballs.

This replaces the upstream check settings from commit 787d1b73e2 ("meta-oe: repair broken recipe upstream version-checks").

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-shells/mksh/mksh_59c.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta-oe/recipes-shells/mksh/mksh_59c.bb +1 -4
index 5c14a9b7c6..271e1cb0c0 100644
@@ -10,11 +10,8 @@ LIC_FILES_CHKSUM = "file://main.c;beginline=6;endline=26;md5=6efc2c249328e4d2bd3
 SRC_URI = "http://www.mirbsd.org/MirOS/dist/mir/${BPN}/${BPN}-R${PV}.tgz"
 
 SRC_URI[sha256sum] = "77ae1665a337f1c48c61d6b961db3e52119b38e58884d1c89684af31f87bc506"
-# mirbsd.org serves no browsable listing; PV 59c is the current release
-# (matches Debian's mksh_59c). Distinct "RNNx" scheme defeats generic checks.
-UPSTREAM_VERSION_UNKNOWN = "1"
 
-UPSTREAM_CHECK_REGEX = "${BPN}-R(?P<pver>.*)\.tgz"
+UPSTREAM_CHECK_REGEX = "${BPN}-R(?P<pver>\d+[a-z]?)\.tgz"
 
 inherit update-alternatives
 
author
#49 lore raw

PATCH 49/69 ctre: Fix upstream version check

In reply to Khem Raj

The default tag regex matched the year in the cppcon2018 tag and reported 2018. Only consider v<version> release tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/ctre/ctre_3.9.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/ctre/ctre_3.9.0.bb +1 -0
index 901763f0ad..9f64e5dfed 100644
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2e982d844baa4df1c80de75470e0c5cb"
 
 SRC_URI = "git://github.com/hanickadot/compile-time-regular-expressions.git;protocol=https;branch=main"
 SRCREV = "eb9577aae3515d14e6c5564f9aeb046d2e7c1124"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 
 inherit cmake
author
#50 lore raw

PATCH 50/69 exiv2: Fix upstream version check

In reply to Khem Raj

The default tag regex matched the digit in test tags such as testIPO_3 and reported 3. Only consider v<version> release tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/exiv2/exiv2_0.28.9.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/exiv2/exiv2_0.28.9.bb +1 -0
index e2387eaeca..287007b3dc 100644
@@ -10,6 +10,7 @@ SRC_URI = "git://github.com/Exiv2/exiv2.git;protocol=https;branch=0.28.x;tag=v${
            file://0001-Allow-test-data-path-configuration.patch \
            "
 SRCREV = "b0859fc61fea5dedfc898aece6b15893ddf4314e"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 inherit cmake gettext ptest
 
author
#51 lore raw

PATCH 51/69 hdf5: Fix upstream version check

In reply to Khem Raj

support.hdfgroup.org/releases/hdf5/ lags behind and still listed 2.1.1, below PV. Check the GitHub releases page that SRC_URI downloads from, skipping -rc pre-releases.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/hdf5/hdf5_2.2.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/hdf5/hdf5_2.2.0.bb +2 -2
index c3aa1d2fcc..eee039e8c7 100644
@@ -25,8 +25,8 @@ SRC_URI = "https://github.com/HDFGroup/hdf5/releases/download/${PV}/${BPN}-${PV}
            "
 SRC_URI[sha256sum] = "1a1ab8209b35586fbc1aa279ba76d102130b95badcb20ca329587219112d8c16"
 
-UPSTREAM_CHECK_URI = "https://support.hdfgroup.org/releases/hdf5/"
-UPSTREAM_CHECK_REGEX = "\./(?P<pver>\d+(\.\d+)+)/index\.html"
+UPSTREAM_CHECK_URI = "https://github.com/HDFGroup/hdf5/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$"
 
 FILES:${PN} += "${libdir}/libhdf5.settings ${datadir}/*"
 
author
#52 lore raw

PATCH 52/69 libgpiod: Restrict upstream check to the 1.x series

In reply to Khem Raj

The 1.6.5 recipe reported 2.3.2, which is packaged by libgpiod_2.3.2.bb. Only match libgpiod-1.x tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb +3 -0
index d43fe90480..c28483ff7a 100644
@@ -10,6 +10,9 @@ SRC_URI += " \
 
 SRC_URI[sha256sum] = "ae280f697bf035a1fb780c9972e5c81d0d2712b7ab6124fb3fba24619daa72bc"
 
+# The 2.x series is packaged in libgpiod_2.x.bb
+UPSTREAM_CHECK_REGEX = "libgpiod-(?P<pver>1(\.\d+)+)\.tar"
+
 FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-1.x:"
 
 inherit autotools python3native
author
#53 lore raw

PATCH 53/69 libutempter: Fix upstream version check

In reply to Khem Raj

Upstream tags are <version>-altN like PV, but the default regex dropped the -altN part, so 1.2.3 compared older than PV 1.2.3-alt1. Capture the whole tag.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/libutempter/libutempter_1.2.3-alt1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/libutempter/libutempter_1.2.3-alt1.bb +1 -0
index 6d9746c9ad..e2569db630 100644
@@ -13,6 +13,7 @@ SRC_URI = "git://git.altlinux.org/people/ldv/packages/libutempter.git;branch=mas
            file://0001-Fix-macro-error.patch \
            file://0002-Proper-macro-path-generation.patch \
            "
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+-alt\d+)$"
 
 S = "${UNPACKDIR}/${BP}/${BPN}"
 
author
#54 lore raw

PATCH 54/69 portaudio-v19: Fix upstream version check

In reply to Khem Raj

The default tag regex matched old snapshot tags such as pa_stable_v190600_20161030 and reported 190600.20161030. Only consider v<version> release tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb +1 -0
index 7376f7ca77..1a03a6d8e1 100644
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df"
 SRC_URI = "git://github.com/PortAudio/portaudio.git;branch=master;protocol=https \
         file://0001-allow-build-with-cmake-4.patch"
 SRCREV = "929e2e8f7af281c5eb4fa07758930d542ec43d97"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 inherit cmake pkgconfig
 
author
#55 lore raw

PATCH 55/69 pty-forward-native: Fix upstream version check

In reply to Khem Raj

cornucopia has no tags for this tool and the default tag regex matched digits in unrelated component tags. Track new commits on the master branch instead.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/serial-utils/pty-forward-native.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/serial-utils/pty-forward-native.bb +1 -0
index 1d7e29ecc5..430b690084 100644
@@ -6,6 +6,7 @@ SRCREV = "00dbec2636ae0385ad028587e20e446272ff97ec"
 PV = "1.1+git"
 
 SRC_URI = "git://github.com/freesmartphone/cornucopia.git;protocol=https;branch=master"
+UPSTREAM_CHECK_COMMITS = "1"
 S = "${UNPACKDIR}/${BP}/tools/serial_forward"
 
 inherit autotools native
author
#56 lore raw

PATCH 56/69 serial-forward: Fix upstream version check

In reply to Khem Raj

cornucopia has no tags for this tool and the default tag regex matched digits in unrelated component tags. Track new commits on the master branch instead.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/serial-utils/serial-forward_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/serial-utils/serial-forward_git.bb +1 -0
index 05e965fc63..aaa88b83e1 100644
@@ -9,6 +9,7 @@ SRC_URI = "git://github.com/freesmartphone/cornucopia.git;branch=master;protocol
            file://0001-serial_forward-Disable-default-static-linking.patch;striplevel=3 \
            file://0001-correct-the-typo-in-include-file-name-string.h.patch;striplevel=3 \
           "
+UPSTREAM_CHECK_COMMITS = "1"
 S = "${UNPACKDIR}/${BP}/tools/serial_forward"
 
 inherit autotools
author
#57 lore raw

PATCH 57/69 gnulib: Fix upstream version check

In reply to Khem Raj

gnulib publishes stable-YYYYMM branches, not release tags, so the default tag regex matched old CVS-era tags such as kfs_20030524_pre. Track new commits on the stable branch the recipe follows instead.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/gnulib/gnulib_202601.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/gnulib/gnulib_202601.bb +1 -0
index 763be6c11a..c98e146e7c 100644
@@ -15,6 +15,7 @@ SRCREV = "4a3650d88725e8fda6387fbdbaa0ed98cdca76ce"
 
 SRC_URI = "git://git.savannah.gnu.org/git/gnulib.git;branch=stable-${PV};protocol=https \
 "
+UPSTREAM_CHECK_COMMITS = "1"
 
 
 do_install () {
author
#58 lore raw

PATCH 58/69 hddtemp: Fix upstream version check

In reply to Khem Raj

The default regex only captured the beta number and reported 15. Match the whole <version>-betaN part of the tarball names so it compares against PV.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb +2 -0
index 5930a8c95c..732fb294cd 100644
@@ -17,6 +17,8 @@ SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/hddtemp/hddtemp-0.3-beta15.tar.bz2 \
 
 SRC_URI[sha256sum] = "618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b"
 
+UPSTREAM_CHECK_REGEX = "hddtemp-(?P<pver>\d+(\.\d+)+-beta\d+)\.tar"
+
 LIC_FILES_CHKSUM = "file://GPL-2;md5=eb723b61539feef013de476e68b5c50a"
 
 inherit autotools gettext update-rc.d
author
#59 lore raw

PATCH 59/69 lcov: Fix upstream version check

In reply to Khem Raj

The unanchored regex matched numbers anywhere in the GitHub releases page markup and reported 11.28. Match only release tag links.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/lcov/lcov_2.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/lcov/lcov_2.6.bb +1 -1
index cd37a6cce5..17276ddcdf 100755
@@ -63,7 +63,7 @@ SRC_URI = "https://github.com/linux-test-project/lcov/releases/download/v${PV}/l
 SRC_URI[sha256sum] = "67a45db99b8ef0260c3fac9a2e3749fd8fa350a15e235dd3c29b356d97755c75"
 
 UPSTREAM_CHECK_URI = "https://github.com/linux-test-project/lcov/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)$"
 
 do_install() {
     # Pass the runtime PREFIX and the staging DESTDIR separately. lcov's
author
#60 lore raw

PATCH 60/69 libiodbc: Fix upstream version check

In reply to Khem Raj

The unanchored regex matched numbers anywhere in the GitHub releases page markup and reported 11.28. Match only release tag links.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb +1 -1
index 0e861971e6..dc868dbcc6 100644
@@ -16,7 +16,7 @@ SRC_URI = "https://github.com/openlink/iODBC/releases/download/v${PV}/${BP}.tar.
 SRC_URI[sha256sum] = "3898b32d07961360f6f2cf36db36036b719a230e476469258a80f32243e845fa"
 
 UPSTREAM_CHECK_URI = "https://github.com/openlink/iODBC/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)$"
 
 inherit autotools
 
author
#61 lore raw

PATCH 61/69 libtinyxml: Fix upstream version check

In reply to Khem Raj

The recipe was marked UPSTREAM_VERSION_UNKNOWN, but the SourceForge files page still lists the release directories. Check it instead (2.6.2 is the latest).

This replaces the upstream check settings from commit 787d1b73e2 ("meta-oe: repair broken recipe upstream version-checks").

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb +3 -2
index cca9717f8b..31e5585856 100644
@@ -15,8 +15,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/tinyxml/tinyxml_${@'${PV}'.replace('.', '_')}.t
            file://CVE-2023-34194.patch \
 "
 SRC_URI[sha256sum] = "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"
-# Upstream (SourceForge tinyxml) is dead at 2.6.2 (2011), its final release.
-UPSTREAM_VERSION_UNKNOWN = "1"
+
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/tinyxml/files/tinyxml/"
+UPSTREAM_CHECK_REGEX = "tinyxml/(?P<pver>\d+(\.\d+)+)/$"
 
 S = "${UNPACKDIR}/tinyxml"
 
author
#62 lore raw

PATCH 62/69 ncdu: Restrict upstream check to the 1.x series

In reply to Khem Raj

The check reported 2.9.2, but ncdu 2.x is a Zig rewrite that cannot be built without a Zig toolchain, and upstream still maintains the C 1.x series on master. Only consider v1.x tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/ncdu/ncdu_1.22.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/ncdu/ncdu_1.22.bb +2 -0
index 578ae4a5ed..606967b05a 100644
@@ -14,6 +14,8 @@ DEPENDS += "ncurses"
 
 SRC_URI += "git://code.blicky.net/yorhel/ncdu.git;protocol=https;branch=master;tag=v${PV}"
 SRCREV = "7a1437389691c4adf1999afce63850c808602f08"
+# 2.x is a Zig rewrite, which OE has no toolchain for
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>1(\.\d+)+)$"
 
 inherit autotools pkgconfig
 
author
#63 lore raw

PATCH 63/69 lvgl-demo-fb: Fix upstream version check

In reply to Khem Raj

The demo repository stopped tagging at v9.2.2, while PV follows the bundled lvgl release, so the recipe was marked UPSTREAM_VERSION_UNKNOWN. Track new commits on the release/v9.6 branch the recipe fetches instead; lvgl releases are tracked by the lvgl recipe.

This replaces the upstream check settings from commit 11d7a35275 ("lvgl-demo-fb: Update to 9.6.0").

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.6.0.bb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.6.0.bb +1 -6
index 1389fa958a..c56ae6cb63 100644
@@ -17,12 +17,7 @@ SRC_URI = "\
 SRCREV_demo = "0728bc4eff0ff85ef787db3f557a654c5c7c9c41"
 SRCREV_lvgl = "80ca777e37a2b176770726a02e07a6fb79ef0b39"
 SRCREV_FORMAT = "demo_lvgl"
-# The version check runs against the first SRC_URI (the demo repo), whose tags
-# are "vX.Y.Z" but top out at v9.2.2 -- below PV 9.5.0+git, which follows the
-# bundled lvgl release. Regex is correct; marked unknown until the demo repo
-# tags a >=9.5.0 release.
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
-UPSTREAM_VERSION_UNKNOWN = "1"
+UPSTREAM_CHECK_COMMITS = "1"
 
 inherit cmake pkgconfig
 
author
#64 lore raw

PATCH 64/69 gpsd: Fix upstream version check

In reply to Khem Raj

Add UPSTREAM_CHECK_URI/REGEX for the savannah download listing.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-navigation/gpsd/gpsd_3.28.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-navigation/gpsd/gpsd_3.28.bb +3 -0
index 2894ceb72c..376feec5b2 100644
@@ -12,6 +12,9 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
            "
 SRC_URI[sha256sum] = "72f7937f36d98fb348e9fa044ad1e72955982ec5938609b18e4ee7c9e04f83f2"
 
+UPSTREAM_CHECK_URI = "https://download.savannah.gnu.org/releases/gpsd/"
+UPSTREAM_CHECK_REGEX = "gpsd-(?P<pver>\d+(\.\d+)+)\.tar\.gz"
+
 inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig
 
 INITSCRIPT_PACKAGES = "gpsd-conf"
author
#65 lore raw

PATCH 65/69 poco: Anchor upstream check to release tags

In reply to Khem Raj

Only match the poco-X.Y.Z-release tags, not the other poco-* tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/poco/poco_1.15.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/poco/poco_1.15.4.bb +1 -1
index 0751165267..7bca5fcc6a 100644
@@ -17,7 +17,7 @@ SRC_URI = "git://github.com/pocoproject/poco.git;branch=poco-${PV};protocol=http
            "
 SRCREV = "6a5667f432e1c5fe5591025ab03a2f8df37116b4"
 
-UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_GITTAGREGEX = "^poco-(?P<pver>\d+(\.\d+)+)-release$"
 
 
 inherit cmake ptest
author
#66 lore raw

PATCH 66/69 websocketpp: Check the cpprest-lts branch for new commits

In reply to Khem Raj

The fork's only tag is 0.8.4+cpprest-lts, which the tag check cannot compare with PV 0.8.4-cpprest-lts, so it reported UNKNOWN_BROKEN.

AI-Generated: Uses Claude Code

---
 .../websocketpp/websocketpp_0.8.4-cpprest-lts.bb               | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/websocketpp/websocketpp_0.8.4-cpprest-lts.bb +3 -0
index dde4d0b367..8db348b228 100644
@@ -20,6 +20,9 @@ RDEPENDS:${PN}-dev = ""
 # tag 0.8.4+cpprest-lts
 SRCREV = "c011de4608e8221412f2ea9be5d755a68a4e5e29"
 
+# The fork has no release tags to compare PV with, so check for new commits
+UPSTREAM_CHECK_COMMITS = "1"
+
 
 inherit cmake
 
author
#67 lore raw

PATCH 67/69 blktests: Check master for new commits

In reply to Khem Raj

Upstream has no release tags, and nobranch=1 left the check no branch to compare against, so the recipe set UPSTREAM_VERSION_UNKNOWN. SRCREV is on master, so fetch branch=master and set UPSTREAM_CHECK_COMMITS.

This replaces the upstream check settings from commit 787d1b73e2 ("meta-oe: repair broken recipe upstream version-checks").

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-kernel/blktests/blktests.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
meta-oe/recipes-kernel/blktests/blktests.bb +3 -5
index 4417a5dbb0..5922036952 100644
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://LICENSES/GPL-3.0;md5=d32239bcb673463ab874e80d47fae504
 
 SRCREV = "9aa2023312bfcdd6b31c24b6e4a4a5c2d4f870d2"
 SRC_URI = " \
-	git://github.com/osandov/blktests.git;nobranch=1;protocol=https \
+	git://github.com/osandov/blktests.git;branch=master;protocol=https \
 	"
 
-# Upstream repo carries no tags at all (releases are plain master commits) and
-# UPSTREAM_CHECK_COMMITS cannot work here because SRC_URI uses nobranch=1, so
-# there is no ref for latest_revision to resolve.
-UPSTREAM_VERSION_UNKNOWN = "1"
+# Upstream has no release tags, so check master for new commits
+UPSTREAM_CHECK_COMMITS = "1"
 
 
 inherit autotools-brokensep
author
#68 lore raw

PATCH 68/69 protobuf: Fix upstream version check

In reply to Khem Raj

PV is the libprotobuf version (7.36.2) while upstream tags the protoc version (v36.2), so the check reported a bogus 36.2 update. The git check cannot map one to the other, so set UPSTREAM_VERSION_UNKNOWN; the tag regex is kept, so oe-core reports the newest protoc tag with KNOWN_BROKEN status rather than a false UPDATE.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-devtools/protobuf/protobuf_7.36.2.bb | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
meta-oe/recipes-devtools/protobuf/protobuf_7.36.2.bb +2 -5
index b83597965b..f200aff1d3 100644
@@ -24,11 +24,8 @@ SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=${PROTOC_BRANCH}
            file://0001-fix-protobuf-native-build-failure-with-gcc-10.patch \
            "
 
-# Upstream dropped the language-major prefix after v6.31.1: releases are now
-# tagged vNN.N (v36.2 == this recipe's 7.36.2, cf. PROTOC_VERSION above). Match
-# those two-component tags so the real latest release is reported; the leading
-# C++ major in PV means the comparison stays off-by-a-major, so this reads as UPDATE
-# rather than MATCH even when current.
+# Tags are vNN.N (protoc version, v36.2 == PV 7.36.2) but PV is the libprotobuf version, so tags never compare equal to PV.
+UPSTREAM_VERSION_UNKNOWN = "1"
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+\.\d+)$"
 
 CVE_PRODUCT = "google:protobuf protobuf:protobuf google-protobuf protobuf-cpp"
author
#69 lore raw

PATCH 69/69 sdbus-c++: Add upstream version check

In reply to Khem Raj

Match the vX.Y.Z release tags.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.3.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.3.1.bb +2 -0
index 276132273d..a73508a082 100644
@@ -23,6 +23,8 @@ SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=ma
            file://0003-tests-Relax-the-measured-timeout-bound-in-timeout-te.patch \
            file://run-ptest"
 
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
+
 EXTRA_OECMAKE = "-DSDBUSCPP_BUILD_CODEGEN=OFF \
                  -DSDBUSCPP_BUILD_DOCS=ON \
                  -DSDBUSCPP_BUILD_DOXYGEN_DOCS=OFF"
#70 lore raw
In reply to Khem Raj
Quoted 5 lines · Khem Raj via openembedded-devel

Fix or add UPSTREAM_CHECK_* settings so devtool check-upgrade-status reports real versions: anchor tag regexes to release tags, restrict series where newer major versions are separate products or rewrites, point checks at the current hosting after moves, and mark the few recipes whose upstream can no longer be checked as unknown.

Hello Khem,

Once these series merge, do you want to run the auh-meta-oe build?
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/47

With all those fixed, output should be interesting.

Regards,

Signature · 2 lines
Yoann Congal
Smile ECS
author
#71 lore raw
Quoted 7 lines · Yoann Congal
Quoted 5 lines · Khem Raj via openembedded-devel

Fix or add UPSTREAM_CHECK_* settings so devtool check-upgrade-status reports real versions: anchor tag regexes to release tags, restrict series where newer major versions are separate products or rewrites, point checks at the current hosting after moves, and mark the few recipes whose upstream can no longer be checked as unknown.

Quoted 8 lines

Hello Khem,

Once these series merge, do you want to run the auh-meta-oe build?
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/47

With all those fixed, output should be interesting.

Launched one on my yoe/mut branch
https://autobuilder.yoctoproject.org/valkyrie/?#/buildrequests/407006

Quoted 6 lines

Regards,
--
Yoann Congal
Smile ECS

#72 lore raw
Quoted 11 lines · Khem Raj
Quoted 9 lines · Yoann Congal
Quoted 5 lines · Khem Raj via openembedded-devel

Fix or add UPSTREAM_CHECK_* settings so devtool check-upgrade-status reports real versions: anchor tag regexes to release tags, restrict series where newer major versions are separate products or rewrites, point checks at the current hosting after moves, and mark the few recipes whose upstream can no longer be checked as unknown.

Hello Khem,

Quoted 8 lines
Quoted 6 lines

Once these series merge, do you want to run the auh-meta-oe build?
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/47

With all those fixed, output should be interesting.

Launched one on my yoe/mut branch
https://autobuilder.yoctoproject.org/valkyrie/?#/buildrequests/407006

FYI, it has a surprizingly small set of allowed workers:
alma8-vk-1
alma8-vk-2
rocky8-vk-1

That should be fine for a one-shot test but something to look at if you want to make this a more frequent build.

Signature · 2 lines
Yoann Congal
Smile ECS