ntp: add UPSTREAM_CHECK_URI

Add UPSTREAM_CHECK_URI to check the correct latest stable verison.

Before the patch:
$ devtool latest-version ntp
INFO: Current version: 4.2.8p18
INFO: Latest version:

After the patch:
$ devtool latest-version ntp
INFO: Current version: 4.2.8p18
INFO: Latest version: 4.2.8p18

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-13 15:41:16 +08:00 committed by Khem Raj
parent 854498a39f
commit 686c0625b8
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -26,6 +26,7 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g
SRC_URI[sha256sum] = "cf84c5f3fb1a295284942624d823fffa634144e096cfc4f9969ac98ef5f468e5"
UPSTREAM_CHECK_URI = "https://downloads.nwtime.org/ntp/"
UPSTREAM_CHECK_REGEX = "ntp-(?P<pver>(\d+(\.\d+)+)(p\d+)?)\.tar"
CVE_STATUS[CVE-2016-9312] = "not-applicable-platform: Issue only applies on Windows"