Update UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:
$ devtool latest-version dhcp-relay
INFO: Current version: 4.4.3p1
INFO: Latest version: 4.4.3

After the patch:
$ devtool latest-version dhcp-relay
INFO: Current version: 4.4.3p1
INFO: Latest version: 4.4.3-P1

Signed-off-by: Yi Zhao <[email protected]>
---
 meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb 
b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb
index 8a33feec21..707eeb0e26 100644
--- a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb
+++ b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb
@@ -22,7 +22,7 @@ SRC_URI = 
"https://downloads.isc.org/isc/dhcp/4.4.3-P1/dhcp-4.4.3-P1.tar.gz \
 SRC_URI[sha256sum] = 
"0ac416bb55997ca8632174fd10737fd61cdb8dba2752160a335775bc21dc73c7"
 
 UPSTREAM_CHECK_URI = "http://ftp.isc.org/isc/dhcp/";
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.\d+\.(\d+?))/"
+UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+(\.\d+)+)(-P\d+)?)"
 
 S = "${UNPACKDIR}/dhcp-4.4.3-P1"
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#121639): 
https://lists.openembedded.org/g/openembedded-devel/message/121639
Mute This Topic: https://lists.openembedded.org/mt/116270962/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to