diff mbox series

[meta-networking,22/35] xl2tpd: Fix upstream version check

Message ID 20261127041715.1776485-23-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
UPSTREAM_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
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.16.bb b/meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.16.bb
index e1638bfa19..a1723124d8 100644
--- a/meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.16.bb
+++ b/meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.16.bb
@@ -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