tcpreplay: add UPSTREAM_CHECK_REGEX

Add UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:
$ devtool latest-version tcpreplay
INFO: Current version: 4.5.2
INFO: Latest version:

After the patch:
$ devtool latest-version tcpreplay
INFO: Current version: 4.5.2
INFO: Latest version: 4.5.2

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:34 +08:00 committed by Khem Raj
parent c65342ce85
commit 85ecfad5b0
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -14,6 +14,7 @@ SRC_URI = "https://github.com/appneta/${BPN}/releases/download/v${PV}/${BP}.tar.
SRC_URI[sha256sum] = "ccff3bb29469a04ccc20ed0b518e3e43c4a7b5a876339d9435bfd9db7fe5d0f1"
UPSTREAM_CHECK_URI = "https://github.com/appneta/tcpreplay/releases"
UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
DEPENDS = "libpcap"