Upstream version check fixes
cover Upstream version check fixes
Fix or add UPSTREAM_CHECK_* settings so devtool check-upgrade-status reports real versions. No recipe versions change in this series.
Khem Raj (35):
bluez-tools: Fix upstream version check
cannelloni: Fix upstream version check
daq: Restrict upstream check to the 2.x series
mbedtls: Restrict upstream check to the 3.6 series
nng: Fix upstream version check
networkmanager: Fix upstream version check
ot-br-posix: Fix upstream version check
ot-daemon: Fix upstream version check
wpantund: Fix upstream version check
snort3: Fix upstream version check
sshpass: Fix upstream version check
vpnc: Fix upstream version check
ippool: Fix upstream version check
openhpi: Fix upstream version check
kronosnet: Restrict upstream check to the 1.x series
dante: Fix upstream version check
nopoll: Fix upstream version check
openflow: Fix upstream version check
openl2tp: Fix upstream version check
pptp-linux: Fix upstream version check
tsocks: Fix upstream version check
xl2tpd: Fix upstream version check
bmon: Fix upstream version check
celt051: Restrict upstream check to the 0.5.1 series
esmtp: Fix upstream version check
fetchmail: Fix upstream version check
nbd: Fix upstream version check
ncp: Fix upstream version check
ypbind-mt: Fix upstream version check
ntimed: Fix upstream version check
nuttcp: Fix upstream version check
ssmping: Fix upstream version check
open62541: Anchor upstream check
cim-schema: Mark upstream version as unknown
ndpi: Fix upstream version check
.../recipes-connectivity/bluez-tools/bluez-tools_git.bb | 1 + .../recipes-connectivity/cannelloni/cannelloni_2.0.0.bb | 2 ++ meta-networking/recipes-connectivity/daq/daq_2.0.7.bb | 4 ++++ meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.7.bb | 3 ++- meta-networking/recipes-connectivity/nanomsg/nng_2.1.0.bb | 2 ++ .../networkmanager/networkmanager_1.58.1.bb | 3 +++ .../recipes-connectivity/openthread/ot-br-posix_git.bb | 2 ++ .../recipes-connectivity/openthread/ot-daemon_git.bb | 1 + .../recipes-connectivity/openthread/wpantund_git.bb | 1 + meta-networking/recipes-connectivity/snort/snort3_3.12.2.0.bb | 2 ++ meta-networking/recipes-connectivity/sshpass/sshpass_1.10.bb | 3 +++ meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb | 2 ++ meta-networking/recipes-daemons/ippool/ippool_1.3.bb | 3 +++ meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | 3 +++ meta-networking/recipes-extended/kronosnet/kronosnet_1.36.bb | 3 ++- meta-networking/recipes-protocols/dante/dante_1.4.4.bb | 3 +++ meta-networking/recipes-protocols/nopoll/nopoll_0.4.9.b462.bb | 2 ++ meta-networking/recipes-protocols/opcua/open62541_1.5.10.bb | 2 +- meta-networking/recipes-protocols/openflow/openflow_git.bb | 3 +++ meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 3 +++ .../recipes-protocols/pptp-linux/pptp-linux_1.10.0.bb | 3 +++ meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 3 +++ meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.16.bb | 2 +- meta-networking/recipes-support/bmon/bmon_5.0.bb | 3 +++ meta-networking/recipes-support/celt051/celt051_git.bb | 2 ++ meta-networking/recipes-support/cim-schema/cim-schema.inc | 3 +++ meta-networking/recipes-support/esmtp/esmtp_1.2.bb | 3 +++ meta-networking/recipes-support/fetchmail/fetchmail_6.6.6.bb | 3 +++ meta-networking/recipes-support/nbd/nbd_3.27.1.bb | 2 ++ meta-networking/recipes-support/ncp/ncp_1.2.4.bb | 3 +++ meta-networking/recipes-support/nis/ypbind-mt_2.7.2.bb | 3 +++ meta-networking/recipes-support/ntimed/ntimed_git.bb | 1 + meta-networking/recipes-support/ntopng/ndpi_6.0.bb | 2 ++ meta-networking/recipes-support/nuttcp/nuttcp_8.2.4.bb | 3 ++- meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb | 3 +++ 35 files changed, 82 insertions(+), 5 deletions(-)
PATCH 1/35 bluez-tools: Fix upstream version check
Upstream has no release tags, so the tag-based check found nothing. The recipe tracks master, so check for new commits instead.
AI-Generated: Uses Claude Code
--- .../recipes-connectivity/bluez-tools/bluez-tools_git.bb | 1 + 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/bluez-tools/bluez-tools_git.bb +1 -0
@@ -17,6 +17,7 @@ SRC_URI = "\ " SRCREV = "f65321736475429316f07ee94ec0deac8e46ec4a" +UPSTREAM_CHECK_COMMITS = "1" inherit autotools pkgconfig
PATCH 2/35 cannelloni: Fix upstream version check
In reply to Khem RajThe default tag regex picked the date tag 20170601 as the newest version. Only match vX.Y.Z release tags.
AI-Generated: Uses Claude Code
--- .../recipes-connectivity/cannelloni/cannelloni_2.0.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-connectivity/cannelloni/cannelloni_2.0.0.bb +2 -0
@@ -5,6 +5,8 @@ LICENSE = "GPL-2.0-only" SRC_URI = "git://github.com/mguentner/cannelloni.git;protocol=https;branch=master" SRCREV = "9f649ef21710999c6f674bc3d914ab2e88363bac" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$" + LIC_FILES_CHKSUM = "file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" inherit cmake
PATCH 3/35 daq: Restrict upstream check to the 2.x series
In reply to Khem RajThe SRC_URI directory on snort.org is not a listing, so nothing was found. Check the snort.org downloads page and match only daq 2.x, since DAQ 3.x is packaged as libdaq.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-connectivity/daq/daq_2.0.7.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-networking/recipes-connectivity/daq/daq_2.0.7.bb +4 -0
@@ -14,6 +14,10 @@ SRC_URI = "https://www.snort.org/downloads/snort/${BPN}-${PV}.tar.gz;downloadfil file://daq-fix-incompatible-pointer-type-error.patch \ " SRC_URI[sha256sum] = "d1f6709bc5dbddee3fdf170cdc1e49fb926e2031d4869ecf367a8c47efc87279" + +# 3.x is packaged as libdaq +UPSTREAM_CHECK_URI = "https://www.snort.org/downloads" +UPSTREAM_CHECK_REGEX = "daq-(?P<pver>2(\.\d+)+)\.tar\.gz" # these 2 create undeclared dependency on libdnet and libnetfilter-queue from meta-networking # this error from test-dependencies script: # daq/daq/latest lost dependency on libdnet libmnl libnetfilter-queue libnfnetlink
PATCH 4/35 mbedtls: Restrict upstream check to the 3.6 series
In reply to Khem RajThe check reported 4.3.0, a new major series with API changes, while the recipe follows the mbedtls-3.6 LTS branch. Only match v3.6.x tags.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.7.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.7.bb +2 -1
@@ -29,7 +29,8 @@ SRC_URI = "gitsm://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls SRCREV = "068ff080b369adfac81509f9b57b2afabaf82dc5" -UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" +# Track the 3.6 LTS branch; 4.x is a new major series with API changes +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>3\.6(\.\d+)+)$" inherit cmake update-alternatives ptest
PATCH 5/35 nng: Fix upstream version check
In reply to Khem RajThe default tag regex picked the old r12 tag as version 12. Only match vX.Y.Z release tags.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-connectivity/nanomsg/nng_2.1.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-connectivity/nanomsg/nng_2.1.0.bb +2 -0
@@ -11,6 +11,8 @@ SRC_URI = "git://github.com/nanomsg/nng.git;branch=main;protocol=https \ SRCREV = "0912dcbd63f2f44324fa974e9fc9695c7621abb9" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$" + inherit cmake pkgconfig ptest EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DNNG_ENABLE_NNGCAT=ON \
PATCH 6/35 networkmanager: Fix upstream version check
In reply to Khem RajThe check reported the 1.59.1-dev development tag. NetworkManager uses odd minor versions for development releases, so only match X.even.Z tags.
AI-Generated: Uses Claude Code
--- .../networkmanager/networkmanager_1.58.1.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.58.1.bb +3 -0
@@ -47,6 +47,9 @@ SRC_URI:append:libc-musl = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', SRCREV = "7406dfbcc35beed79bf2734e3e7376ead320bd99" +# Odd minor versions are development releases +UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.\d*[02468]\.\d+)$" + # ['auto', 'symlink', 'file', 'netconfig', 'resolvconf'] NETWORKMANAGER_DNS_RC_MANAGER_DEFAULT ??= "auto"
PATCH 7/35 ot-br-posix: Fix upstream version check
In reply to Khem RajThe default tag regex picked the thread-reference-20250612 date tag. Upstream now publishes monthly vYYYY.MM.N releases; match those tags.
AI-Generated: Uses Claude Code
--- .../recipes-connectivity/openthread/ot-br-posix_git.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb +2 -0
@@ -20,6 +20,8 @@ SRC_URI = "gitsm://github.com/openthread/ot-br-posix.git;protocol=https;branch=m file://0001-posix-backtrace-Reference-sCrashCallback-on-non-gli.patch;patchdir=third_party/openthread/repo \ " +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$" + SYSTEMD_SERVICE:${PN} = "otbr-agent.service" inherit pkgconfig cmake systemd
PATCH 8/35 ot-daemon: Fix upstream version check
In reply to Khem RajThe default tag regex picked the thread-reference-20250612 date tag. Upstream now publishes monthly vYYYY.MM.N releases; match those tags.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-connectivity/openthread/ot-daemon_git.bb | 1 + 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/openthread/ot-daemon_git.bb +1 -0
@@ -14,6 +14,7 @@ PV = "0.1+git" SRC_URI = "git://github.com/openthread/openthread.git;protocol=https;branch=main \ " +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$" inherit cmake
PATCH 9/35 wpantund: Fix upstream version check
In reply to Khem RajThe newest tag 0.07.01 compares lower than PV 0.07.01+git (the +git suffix is not stripped for gitsm), so the check was reported as broken. The recipe tracks master after the last release; check for new commits.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-connectivity/openthread/wpantund_git.bb | 1 + 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/openthread/wpantund_git.bb +1 -0
@@ -19,6 +19,7 @@ SRC_URI = "gitsm://github.com/openthread/wpantund.git;protocol=https;branch=mast file://basename.patch \ " +UPSTREAM_CHECK_COMMITS = "1" inherit pkgconfig perlnative autotools
PATCH 10/35 snort3: Fix upstream version check
In reply to Khem RajThe default tag regex picked BUILD_248 as version 248. Only match the four-component X.Y.Z.W release tags.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-connectivity/snort/snort3_3.12.2.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-connectivity/snort/snort3_3.12.2.0.bb +2 -0
@@ -15,6 +15,8 @@ SRC_URI = "git://github.com/snort3/snort3.git;protocol=https;branch=master;tag=$ SRCREV = "14aeb09f5a0856812dbe08ead3c21f99e8860aa0" +UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+){3})$" + PACKAGES =+ "${PN}-scripts" inherit cmake pkgconfig
PATCH 11/35 sshpass: Fix upstream version check
In reply to Khem RajThe downloads.sourceforge.net directory is not a listing, so nothing was found. Check the SourceForge files page for version directories.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-connectivity/sshpass/sshpass_1.10.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-connectivity/sshpass/sshpass_1.10.bb +3 -0
@@ -8,4 +8,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz" SRC_URI[sha256sum] = "ad1106c203cbb56185ca3bad8c6ccafca3b4064696194da879f81c8d7bdfeeda" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/sshpass/files/sshpass/" +UPSTREAM_CHECK_REGEX = "/sshpass/(?P<pver>\d+(\.\d+)+)/" + inherit autotools
PATCH 12/35 vpnc: Fix upstream version check
In reply to Khem RajThe default tag regex cut 0.5.3 out of the 0.5.3r550-2jnpr1 tag, which compares lower than PV. Match the whole Juniper tag form instead.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb +2 -0
@@ -22,6 +22,8 @@ SRC_URI = "git://github.com/ndpgroup/vpnc;branch=master;protocol=https \ file://0009-reduce-lifetime-value.patch \ " +UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+r\d+-\d+jnpr\d+)$" + PACKAGECONFIG ?= "gnutls" PACKAGECONFIG[gnutls] = ",,gnutls"
PATCH 13/35 ippool: Fix upstream version check
In reply to Khem RajThe SRC_URI directory is not a listing, so nothing was found. Check the ippool folder of the openl2tp SourceForge project for version directories.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-daemons/ippool/ippool_1.3.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-daemons/ippool/ippool_1.3.bb +3 -0
@@ -37,6 +37,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4c59283b82fc2b166455e0fc23c71c6f" SRC_URI[md5sum] = "e2401e65db26a3764585b97212888fae" SRC_URI[sha256sum] = "d3eab7d6cad5da8ccc9d1e31d5303e27a39622c07bdb8fa3618eea314412075b" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/openl2tp/files/ippool/" +UPSTREAM_CHECK_REGEX = "/ippool/(?P<pver>\d+(\.\d+)+)/" + inherit systemd DEPENDS = "readline ppp ncurses gzip-native rpcsvc-proto-native libtirpc"
PATCH 14/35 openhpi: Fix upstream version check
In reply to Khem RajThe downloads.sourceforge.net directory is not a listing, so nothing was found. Check the openhpi-stable folder on SourceForge.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb +3 -0
@@ -51,6 +51,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ SRC_URI[md5sum] = "fffda3deea8a0d3671a72eea9d13a4df" SRC_URI[sha256sum] = "c94332a29160dd75cb799c027e614690c00263b0fabed87417707bec04c38723" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/openhpi/files/openhpi-stable/" +UPSTREAM_CHECK_REGEX = "/openhpi-stable/(?P<pver>\d+(\.\d+)+)/" + inherit autotools pkgconfig ptest update-rc.d systemd PACKAGES =+ "${PN}-libs"
PATCH 15/35 kronosnet: Restrict upstream check to the 1.x series
In reply to Khem RajUPSTREAM_CHECK_URI is ignored for git recipes, and the default tag regex picked the 2018 v1.90 tag, a 2.0 pre-release. Match v1.x tags below 1.90.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-extended/kronosnet/kronosnet_1.36.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-extended/kronosnet/kronosnet_1.36.bb +2 -1
@@ -16,7 +16,8 @@ SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1;ta BB_GIT_SHALLOW_EXTRA_REFS = "refs/tags/v${PV}" -UPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases" +# v1.9x tags are 2.0 pre-releases +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>1\.[0-8]?\d)$" inherit autotools pkgconfig
PATCH 16/35 dante: Fix upstream version check
In reply to Khem Rajhttps://www.inet.no fails the TLS handshake and the files directory is not listable, so nothing was found. Check the download page over http.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-protocols/dante/dante_1.4.4.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/dante/dante_1.4.4.bb +3 -0
@@ -16,6 +16,9 @@ SRC_URI = "https://www.inet.no/dante/files/dante-${PV}.tar.gz \ " SRC_URI[sha256sum] = "1973c7732f1f9f0a4c0ccf2c1ce462c7c25060b25643ea90f9b98f53a813faec" +UPSTREAM_CHECK_URI = "http://www.inet.no/dante/download.html" +UPSTREAM_CHECK_REGEX = "dante-(?P<pver>\d+(\.\d+)+)\.tar\.gz" + # without --without-gssapi, config.log will contain reference to /usr/lib # as a consequence of GSSAPI path being set to /usr by default. # --with-gssapi-path=PATH specify gssapi path
PATCH 17/35 nopoll: Fix upstream version check
In reply to Khem RajThe default regex took the build number 462 from nopoll-0.4.9.b462 as the version. Match the full X.Y.Z.bN version.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-protocols/nopoll/nopoll_0.4.9.b462.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-protocols/nopoll/nopoll_0.4.9.b462.bb +2 -0
@@ -15,6 +15,8 @@ SRC_URI = "http://www.aspl.es/nopoll/downloads/nopoll-${PV}.tar.gz \ " SRC_URI[sha256sum] = "80bfa3e0228e88e290dd23eb94d9bb1f4d726fb117c11cfb048cbdd1d71d379a" +UPSTREAM_CHECK_REGEX = "nopoll-(?P<pver>\d+(\.\d+)+\.b\d+)\.tar\.gz" + inherit autotools pkgconfig EXTRA_OECONF += "--disable-nopoll-doc"
PATCH 18/35 openflow: Fix upstream version check
In reply to Khem RajUpstream has no tags, so the tag-based check found nothing. The recipe tracks master; check for new commits instead.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-protocols/openflow/openflow_git.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/openflow/openflow_git.bb +3 -0
@@ -23,6 +23,9 @@ SRC_URI = "git://github.com/mininet/openflow;protocol=https;branch=master \ file://0001-Makefile.am-Specify-export-dynamic-directly-to-linke.patch \ file://0001-Link-in-libexecinfo-if-it-has-backtrace-API.patch \ " + +UPSTREAM_CHECK_COMMITS = "1" + CVE_STATUS[CVE-2015-1611] = "not-applicable-config: Not referred to our implementation of openflow" CVE_STATUS[CVE-2015-1612] = "not-applicable-config: Not referred to our implementation of openflow" CVE_STATUS[CVE-2018-1078] = "cpe-incorrect: This CVE is not for this product but cve-check assumes it is \
PATCH 19/35 openl2tp: Fix upstream version check
In reply to Khem RajThe downloads.sourceforge.net directory is not a listing, so nothing was found. Check the openl2tp folder on SourceForge for version directories.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb +3 -0
@@ -41,6 +41,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \ SRC_URI[md5sum] = "e3d08dedfb9e6a9a1e24f6766f6dadd0" SRC_URI[sha256sum] = "1c97704d4b963a87fbc0e741668d4530933991515ae9ab0dffd11b5444f4860f" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/openl2tp/files/openl2tp/" +UPSTREAM_CHECK_REGEX = "/openl2tp/(?P<pver>\d+(\.\d+)+)/" + inherit pkgconfig systemd ptest SYSTEMD_SERVICE:${PN} = "openl2tpd.service"
PATCH 20/35 pptp-linux: Fix upstream version check
In reply to Khem RajThe downloads.sourceforge.net directory is not a listing, so nothing was found. Check the pptp folder of the pptpclient SourceForge project.
AI-Generated: Uses Claude Code
--- .../recipes-protocols/pptp-linux/pptp-linux_1.10.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.10.0.bb +3 -0
@@ -18,6 +18,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/sourceforge/pptpclient/pptp-${PV}.tar.gz \ SRC_URI[md5sum] = "8d25341352fdae5ad5b36b9f18254908" SRC_URI[sha256sum] = "82492db8e487ce73b182ee7f444251d20c44f5c26d6e96c553ec7093aefb5af4" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/pptpclient/files/pptp/" +UPSTREAM_CHECK_REGEX = "/pptp/pptp-(?P<pver>\d+(\.\d+)+)/" + S = "${UNPACKDIR}/pptp-${PV}" EXTRA_OEMAKE = "-e MAKEFLAGS="
PATCH 21/35 tsocks: Fix upstream version check
In reply to Khem RajThe downloads.sourceforge.net directory is not a listing, so nothing was found. Check the SourceForge files page, whose latest-download link names the newest tarball (the folders use names like "1.8 beta 5").
AI-Generated: Uses Claude Code
--- meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb +3 -0
@@ -16,6 +16,9 @@ SRC_URI = "http://downloads.sourceforge.net/tsocks/tsocks-${PV}.tar.gz \ SRC_URI[md5sum] = "51caefd77e5d440d0bbd6443db4fc0f8" SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/tsocks/files/" +UPSTREAM_CHECK_REGEX = "tsocks-(?P<pver>\d+(\.\d+)+(beta\d+)?)\.tar\.gz" + inherit autotools-brokensep LIBS:append:libc-musl = " -lssp_nonshared"
PATCH 22/35 xl2tpd: Fix upstream version check
In reply to Khem RajUPSTREAM_CHECK_URI is ignored for git recipes, and the default tag regex picked the ancient v1.04 tag. Only match vX.Y.Z tags, which also skips the dev and rc tags.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.16.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.16.bb +1 -1
@@ -13,7 +13,7 @@ SRC_URI = "git://github.com/xelerance/xl2tpd.git;branch=master;protocol=https \ " SRCREV = "1ef2a025981223c1e16fc833bef226c86ff8c295" -UPSTREAM_CHECK_URI = "https://github.com/xelerance/xl2tpd/releases" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+\.\d+\.\d+)$" inherit update-rc.d
PATCH 23/35 bmon: Fix upstream version check
In reply to Khem RajThe GitHub release download directory is not a listing, so nothing was found. Check the releases page for vX.Y tags.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/bmon/bmon_5.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-support/bmon/bmon_5.0.bb +3 -0
@@ -11,5 +11,8 @@ DEPENDS = "libconfuse libnl ncurses" SRC_URI = "https://github.com/Jafaral/${BPN}/releases/download/v${PV}/${BP}.tar.gz" SRC_URI[sha256sum] = "6016e41fdda9166b86b09a0ac601a0c453c3b35acdf904c97a8a555459ad73c0" +UPSTREAM_CHECK_URI = "https://github.com/Jafaral/bmon/releases" +UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)" + inherit autotools pkgconfig
PATCH 24/35 celt051: Restrict upstream check to the 0.5.1 series
In reply to Khem RajThe check reported 0.11.3 from the main CELT tags, but celt051 is the 0.5.1 compat branch used by spice. Only match compat-v0.5.1.x tags.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/celt051/celt051_git.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-support/celt051/celt051_git.bb +2 -0
@@ -21,6 +21,8 @@ SRC_URI = "git://gitlab.xiph.org/xiph/celt.git;branch=compat-v0.5.1;protocol=htt file://0001-tests-Include-entcode.c-into-test-sources-to-provide.patch \ " +# Only the 0.5.1 compat series is packaged as celt051 +UPSTREAM_CHECK_GITTAGREGEX = "^compat-v(?P<pver>0\.5\.1(\.\d+)*)$" inherit pkgconfig autotools-brokensep
PATCH 25/35 esmtp: Fix upstream version check
In reply to Khem RajThe downloads.sourceforge.net directory is not a listing, so nothing was found. Check the esmtp folder on SourceForge for version directories.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/esmtp/esmtp_1.2.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-support/esmtp/esmtp_1.2.bb +3 -0
@@ -40,6 +40,9 @@ ALTERNATIVE_LINK_NAME[sendmail.1] = "${mandir}/man1/sendmail.1" SRC_URI[md5sum] = "79a9c1f9023d53f35bb82bf446150a72" SRC_URI[sha256sum] = "a0d26931bf731f97514da266d079d8bc7d73c65b3499ed080576ab606b21c0ce" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/esmtp/files/esmtp/" +UPSTREAM_CHECK_REGEX = "/esmtp/(?P<pver>\d+(\.\d+)+)/" + do_install:append() { # only one file /usr/lib/sendmail in ${D}${libdir} rm -rf ${D}${libdir}
PATCH 26/35 fetchmail: Fix upstream version check
In reply to Khem RajThe downloads.sourceforge.net directory is not a listing, so nothing was found. Check the branch_6.6 folder, which fetchmail.info links as the current stable download.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/fetchmail/fetchmail_6.6.6.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-support/fetchmail/fetchmail_6.6.6.bb +3 -0
@@ -14,6 +14,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz \ " SRC_URI[sha256sum] = "da99f8c573c4d9e63f493c7e24447126aea25b53b4c076ec79266874e29b1975" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/fetchmail/files/branch_6.6/" +UPSTREAM_CHECK_REGEX = "fetchmail-(?P<pver>\d+(\.\d+)+)\.tar\.xz" + inherit autotools gettext pkgconfig python3-dir python3native EXTRA_OECONF = "--with-ssl=${STAGING_DIR_HOST}${prefix} --disable-rpath "
PATCH 27/35 nbd: Fix upstream version check
In reply to Khem RajThe default tag regex picked the Tizen tag accepted/tizen/unified/x/20240326.073118. Only match nbd-X.Y[.Z] release tags.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/nbd/nbd_3.27.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-support/nbd/nbd_3.27.1.bb +2 -0
@@ -10,6 +10,8 @@ SRC_URI = "git://github.com/NetworkBlockDevice/${BPN}.git;branch=master;protocol " SRCREV = "f96f7fca3b37f4254c26c95f5c6c9dae70e030a1" +UPSTREAM_CHECK_GITTAGREGEX = "^nbd-(?P<pver>\d+(\.\d+)+)$" + inherit autotools pkgconfig EXTRA_OECONF += "--enable-syslog --enable-lfs --disable-manpages"
PATCH 28/35 ncp: Fix upstream version check
In reply to Khem Rajhttp://dl.fefe.de/ has no directory listing (404), so nothing was found. Check the ncp home page, which links the current tarball.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/ncp/ncp_1.2.4.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-support/ncp/ncp_1.2.4.bb +3 -0
@@ -11,6 +11,9 @@ SRC_URI = "http://dl.fefe.de/${BP}.tar.bz2" SRC_URI[md5sum] = "421c4855bd3148b7d0a4342942b4bf13" SRC_URI[sha256sum] = "6cfa72edd5f7717bf7a4a93ccc74c4abd89892360e2e0bb095a73c24b9359b88" +UPSTREAM_CHECK_URI = "http://www.fefe.de/ncp/" +UPSTREAM_CHECK_REGEX = "ncp-(?P<pver>\d+(\.\d+)+)\.tar\.bz2" + EXTRA_OEMAKE = "\ DIET= \ DEBUG=nostrip \
PATCH 29/35 ypbind-mt: Fix upstream version check
In reply to Khem RajThe GitHub release download directory is not a listing, so nothing was found. Check the releases page for vX.Y.Z tags.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/nis/ypbind-mt_2.7.2.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-support/nis/ypbind-mt_2.7.2.bb +3 -0
@@ -35,6 +35,9 @@ SRC_URI = "https://github.com/thkukuk/ypbind-mt/releases/download/v${PV}/${BPN}- " SRC_URI[sha256sum] = "064f2f185673c5493df83f6400b799f3a359de56118b6ba37c4327111f2fcd8b" +UPSTREAM_CHECK_URI = "https://github.com/thkukuk/ypbind-mt/releases" +UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)" + inherit systemd update-rc.d SYSTEMD_SERVICE:${PN} = "ypbind.service"
PATCH 30/35 ntimed: Fix upstream version check
In reply to Khem RajUpstream has no tags, so the tag-based check found nothing. The recipe tracks master; check for new commits instead.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/ntimed/ntimed_git.bb | 1 + 1 file changed, 1 insertion(+)
meta-networking/recipes-support/ntimed/ntimed_git.bb +1 -0
@@ -14,6 +14,7 @@ SRC_URI = "git://github.com/bsdphk/Ntimed;branch=master;protocol=https \ PV = "0.0+git" SRCREV = "db0abbb4c80f2ecef6bc5d9639bca5bea28532a2" +UPSTREAM_CHECK_COMMITS = "1" # use adjtimex on musl CFLAGS:append:libc-musl = " -Dntp_adjtime=adjtimex"
PATCH 31/35 nuttcp: Fix upstream version check
In reply to Khem RajThe https site has an expired certificate, and the default regex does not handle the plain .c source file. Check the beta directory over http (as SRC_URI does) and match nuttcp-X.Y.Z.c.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/nuttcp/nuttcp_8.2.4.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-support/nuttcp/nuttcp_8.2.4.bb +2 -1
@@ -10,7 +10,8 @@ LICENSE = "GPL-2.0-only" SECTION = "net" LIC_FILES_CHKSUM = "file://${BP}.c;beginline=4;endline=30;md5=496a7c0bb83c07ff528d226bf85e05c5" -UPSTREAM_CHECK_URI = "https://www.nuttcp.net/nuttcp/beta/" +UPSTREAM_CHECK_URI = "http://nuttcp.net/nuttcp/beta/" +UPSTREAM_CHECK_REGEX = "nuttcp-(?P<pver>\d+(\.\d+)+)\.c" SRC_URI = "http://nuttcp.net/${BPN}/beta/${BP}.c \ file://[email protected] \
PATCH 32/35 ssmping: Fix upstream version check
In reply to Khem RajWith downloadfilename set, the check used the tarball URL itself as the index and the renamed file in its regex. Check the Debian pool directory for ssmping_X.Y.Z.orig.tar files.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb +3 -0
@@ -9,6 +9,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/s/${BPN}/${BPN}_${PV}.orig.tar.gz;downloadfilen " SRC_URI[sha256sum] = "22103a37eaa28489169a0927bc01e0596c3485fc4d29fc8456c07fd2c70fca6d" +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/s/ssmping/" +UPSTREAM_CHECK_REGEX = "ssmping_(?P<pver>\d+(\.\d+)+)\.orig\.tar" + CFLAGS += "-D_GNU_SOURCE " do_install() {
PATCH 33/35 open62541: Anchor upstream check
In reply to Khem RajThe unanchored tag regex also matched the prefix of rc and other non-release tags (e.g. v0.1.0-RC1). Anchor it to plain vX.Y.Z tags.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-protocols/opcua/open62541_1.5.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/opcua/open62541_1.5.10.bb +1 -1
@@ -20,7 +20,7 @@ SRC_URI = " \ git://github.com/LiamBindle/MQTT-C.git;name=mqtt-c;protocol=https;branch=master;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/mqtt-c \ " -UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$" inherit cmake python3native
PATCH 34/35 cim-schema: Mark upstream version as unknown
In reply to Khem Rajdmtf.org links each schema release as cim_schema_vNNNN (the newest is 2.56.0 at cim_schema_v2560) and the version itself is only in table text, so the wget check cannot find it and reported UNKNOWN_BROKEN.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/cim-schema/cim-schema.inc | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-support/cim-schema/cim-schema.inc +3 -0
@@ -6,4 +6,7 @@ details for integration with other management models. The schema\ provides the actual model descriptions." HOMEPAGE = "http://www.dmtf.org/" + +# dmtf.org links each schema release only as cim_schema_vNNNN, which the check cannot map to PV +UPSTREAM_VERSION_UNKNOWN = "1" SECTION = "libs"
PATCH 35/35 ndpi: Fix upstream version check
In reply to Khem RajThe upstream check reported 6.1 from the "6.1-qubitowl" tag. That tag is a development snapshot on the dev branch (configure.ac says 6.1.0, no GitHub release, no 6.1-stable branch), not a stable release, so the recipe stays on the 6.0 stable series. Anchor the tag regex to plain numeric release tags so only stable releases are matched.
AI-Generated: Uses Claude Code
--- meta-networking/recipes-support/ntopng/ndpi_6.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-support/ntopng/ndpi_6.0.bb +2 -0
@@ -13,6 +13,8 @@ SRC_URI = "git://github.com/ntop/nDPI.git;branch=6.0-stable;protocol=https;tag=$ file://CVE-2026-116744.patch \ " +UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" + inherit autotools pkgconfig CPPFLAGS += "${SELECTED_OPTIMIZATION}"