radvd: add UPSTREAM_CHECK_URI

Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct
latest stable verison.

Before the patch:
$ devtool latest-version radvd
INFO: Current version: 2.20
INFO: Latest version:

After the patch:
$ devtool latest-version radvd
INFO: Current version: 2.20
INFO: Latest version: 2.20

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 2025-11-09 21:40:33 +08:00 committed by Khem Raj
parent 2aca5d6cd9
commit c65342ce85
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -23,6 +23,9 @@ SRC_URI = "http://v6web.litech.org/radvd/dist/radvd-${PV}.tar.gz \
"
SRC_URI[sha256sum] = "af37c5a81d59f3bdc00d83056606ffa1810d4550beed6caa4f81181246494220"
UPSTREAM_CHECK_URI = "https://github.com/radvd-project/radvd/releases"
UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
inherit autotools useradd pkgconfig systemd
SYSTEMD_SERVICE:${PN} = "radvd.service"