freeradius: add UPSTREAM_CHECK_GITTAGREGEX

Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version freeradius
INFO: Current version: 3.0.26
INFO: Latest version: 4.0.0
INFO: Latest version's commit: 8b5bff2d8a2cd2be1da58a417787d907c7a5d8f1

4.0.0 is not a stable version tag[1].

After the patch:
$ devtool latest-version freeradius
INFO: Current version: 3.0.26
INFO: Latest version: 3.2.2
INFO: Latest version's commit: b9ed73ef2d2628fa6e2a6d15a7782f8217966be0

[1] https://github.com/FreeRADIUS/freeradius-server/tags

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yi Zhao 2023-03-06 19:03:01 +08:00 committed by Khem Raj
parent 338c278f4c
commit 8b4ea01ea1

View File

@ -41,6 +41,8 @@ raddbdir = "${sysconfdir}/${MLPREFIX}raddb"
SRCREV = "d956f683d37ea40e7977cc5907361f3e6988a439"
UPSTREAM_CHECK_GITTAGREGEX = "release_(?P<pver>\d+(\_\d+)+)"
CVE_CHECK_IGNORE = "\
CVE-2002-0318 \
CVE-2011-4966 \