From 0586c2e570d91f928148fd149f71ea38b4f70188 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Sun, 9 Nov 2025 21:40:31 +0800 Subject: [PATCH] postfix: 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 postfix INFO: Current version: 3.10.5 INFO: Latest version: After the patch: $ devtool latest-version postfix INFO: Current version: 3.10.5 INFO: Latest version: 3.10.5 Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb b/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb index edcdc1a8ca..8b3becda9f 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb @@ -30,7 +30,8 @@ SRC_URI = "http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P SRC_URI[sha256sum] = "6a926bf702173861b08e49bcb51fca3a2f269f9a337f72ef159bf46052087e35" -UPSTREAM_CHECK_REGEX = "postfix\-(?P3\.10(\.\d+)+).tar.gz" +UPSTREAM_CHECK_URI = "https://www.postfix.org/announcements.html" +UPSTREAM_CHECK_REGEX = "postfix-(?P\d+(\.\d+)+)" S = "${UNPACKDIR}/postfix-${PV}"