Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-networking][PATCH 1/2] ntp: add UPSTREAM_CHECK_URI
@ 2025-11-13  7:41 Yi Zhao
  2025-11-13  7:41 ` [meta-networking][PATCH 2/2] dhcp-relay: update UPSTREAM_CHECK_REGEX Yi Zhao
  0 siblings, 1 reply; 2+ messages in thread
From: Yi Zhao @ 2025-11-13  7:41 UTC (permalink / raw)
  To: openembedded-devel

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>
---
 meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
index 33d19a696a..a5a6048f8a 100644
--- a/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
+++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
@@ -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"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [meta-networking][PATCH 2/2] dhcp-relay: update UPSTREAM_CHECK_REGEX
  2025-11-13  7:41 [meta-networking][PATCH 1/2] ntp: add UPSTREAM_CHECK_URI Yi Zhao
@ 2025-11-13  7:41 ` Yi Zhao
  0 siblings, 0 replies; 2+ messages in thread
From: Yi Zhao @ 2025-11-13  7:41 UTC (permalink / raw)
  To: openembedded-devel

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 <yi.zhao@windriver.com>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-13  7:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-13  7:41 [meta-networking][PATCH 1/2] ntp: add UPSTREAM_CHECK_URI Yi Zhao
2025-11-13  7:41 ` [meta-networking][PATCH 2/2] dhcp-relay: update UPSTREAM_CHECK_REGEX Yi Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox