[oe][meta-networking][PATCH 22/27] nftables: add UPSTREAM_CHECK variables

[email protected]
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
From: Ankur Tyagi <[email protected]>

Fixes:
$ devtool latest-version nftables
...
INFO: Current version: 1.1.6
INFO: Latest version:

Signed-off-by: Ankur Tyagi <[email protected]>
---
 meta-networking/recipes-filter/nftables/nftables_1.1.6.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb b/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb
index ea42b74615..9567e8f8b9 100644
--- a/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb
+++ b/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb
@@ -17,6 +17,9 @@ SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.xz \
           "
 SRC_URI[sha256sum] = "372931bda8556b310636a2f9020adc710f9bab66f47efe0ce90bff800ac2530c"
 
+UPSTREAM_CHECK_URI = "https://www.netfilter.org/pub/nftables/"
+UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\.tar\.xz"
+
 inherit autotools manpages pkgconfig ptest python3native systemd
 
 PACKAGECONFIG ?= "python readline json ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.