diff mbox series

[meta-networking,32/35] ssmping: Fix upstream version check

Message ID 20261127041715.1776485-33-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upstream version check fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 4:17 a.m. UTC
With 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
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb b/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb
index 9b1413df2e..669eef7b75 100644
--- a/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb
+++ b/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb
@@ -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() {