diff mbox series

[meta-networking,1/2] squid: fix UPSTREAM_CHECK_REGEX

Message ID 20260316230608.944064-1-peter.marko@siemens.com
State Under Review
Headers show
Series [meta-networking,1/2] squid: fix UPSTREAM_CHECK_REGEX | expand

Commit Message

Peter Marko March 16, 2026, 11:06 p.m. UTC
From: Peter Marko <peter.marko@siemens.com>

Squid tags are in form SQUID_<MAJ>_<MIN>.
This can also be seen in SRC_URI download link.

This change will make "devtool latest-version squid" correctly show 7.5

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-networking/recipes-daemons/squid/squid_7.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-daemons/squid/squid_7.4.bb b/meta-networking/recipes-daemons/squid/squid_7.4.bb
index 6333d1e0f2..3ba1895c45 100644
--- a/meta-networking/recipes-daemons/squid/squid_7.4.bb
+++ b/meta-networking/recipes-daemons/squid/squid_7.4.bb
@@ -29,7 +29,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     "
 
 UPSTREAM_CHECK_URI = "https://github.com/squid-cache/${BPN}/releases/"
-UPSTREAM_CHECK_REGEX = "v?(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "SQUID_(?P<pver>\d+(_\d+)+)"
 
 DEPENDS = "libtool"