diff mbox series

[meta-networking,12/35] vpnc: Fix upstream version check

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

Commit Message

Khem Raj Nov. 27, 2026, 4:16 a.m. UTC
The 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
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
index 5d9d2634a0..cf1da9d842 100644
--- a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
+++ b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
@@ -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"