diff mbox series

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

Message ID 20261127041715.1776485-36-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
The 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
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-networking/recipes-support/ntopng/ndpi_6.0.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/ntopng/ndpi_6.0.bb b/meta-networking/recipes-support/ntopng/ndpi_6.0.bb
index 91828495f3..a6526f125d 100644
--- a/meta-networking/recipes-support/ntopng/ndpi_6.0.bb
+++ b/meta-networking/recipes-support/ntopng/ndpi_6.0.bb
@@ -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}"