From 717b2d924269bdd6bd626d75bd0c4a034cf4a94c Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 30 Mar 2023 11:01:14 -0400 Subject: [PATCH 1/4] iptables: add livecheck Signed-off-by: Rui Chen --- Formula/iptables.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Formula/iptables.rb b/Formula/iptables.rb index da11e4b057f33..70e4881860276 100644 --- a/Formula/iptables.rb +++ b/Formula/iptables.rb @@ -6,6 +6,11 @@ class Iptables < Formula license "GPL-2.0-or-later" revision 1 + livecheck do + url "https://www.netfilter.org/projects/iptables/downloads.html" + regex(/href=.*?iptables[._-]v?(\d+(?:\.\d+)+)\.t/i) + end + bottle do sha256 x86_64_linux: "55ab232eefa2576a6a92bef15a4231515afc2b1f942acc96dcf11d4637caeeee" end From b09b69a1effc0336308b050e608667ebac52467d Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 30 Mar 2023 11:01:14 -0400 Subject: [PATCH 2/4] libnetfilter_conntrack: add livecheck Signed-off-by: Rui Chen --- Formula/libnetfilter_conntrack.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Formula/libnetfilter_conntrack.rb b/Formula/libnetfilter_conntrack.rb index 28f48b99e4a92..cbfd268d16af1 100644 --- a/Formula/libnetfilter_conntrack.rb +++ b/Formula/libnetfilter_conntrack.rb @@ -5,6 +5,11 @@ class LibnetfilterConntrack < Formula sha256 "67bd9df49fe34e8b82144f6dfb93b320f384a8ea59727e92ff8d18b5f4b579a8" license "GPL-2.0-or-later" + livecheck do + url "https://www.netfilter.org/projects/libnetfilter_conntrack/downloads.html" + regex(/href=.*?libnetfilter_conntrack[._-]v?(\d+(?:\.\d+)+)\.t/i) + end + bottle do sha256 cellar: :any_skip_relocation, x86_64_linux: "c8a9efde4edf4bbd45308e4f1492b5efaff4dede7b4c9bf0f54f14f50699ba66" end From a978ba13c2f113741afcb7491e7e1eb8f96b3631 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 30 Mar 2023 11:01:14 -0400 Subject: [PATCH 3/4] libnftnl: add livecheck Signed-off-by: Rui Chen --- Formula/libnftnl.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Formula/libnftnl.rb b/Formula/libnftnl.rb index a93abd3b0b21a..afc041e881a5c 100644 --- a/Formula/libnftnl.rb +++ b/Formula/libnftnl.rb @@ -5,6 +5,11 @@ class Libnftnl < Formula sha256 "c0fe233be4cdfd703e7d5977ef8eb63fcbf1d0052b6044e1b23d47ca3562477f" license "GPL-2.0-or-later" + livecheck do + url "https://www.netfilter.org/projects/libnftnl/downloads.html" + regex(/href=.*?libnftnl[._-]v?(\d+(?:\.\d+)+)\.t/i) + end + bottle do sha256 cellar: :any_skip_relocation, x86_64_linux: "607c140572fe20418d5413e69cf77a5474445ee6a49d83c3598cc291b89ab518" end From 7c39e60c42ca6dac5cbd9c77a38627c162a8a275 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 30 Mar 2023 11:01:15 -0400 Subject: [PATCH 4/4] nftables: add livecheck Signed-off-by: Rui Chen --- Formula/nftables.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Formula/nftables.rb b/Formula/nftables.rb index 4c1825ae15e61..b69b0a5b8cb1a 100644 --- a/Formula/nftables.rb +++ b/Formula/nftables.rb @@ -7,6 +7,11 @@ class Nftables < Formula sha256 "2407430ddd82987670e48dc2fda9e280baa8307abec04ab18d609df3db005e4c" license "GPL-2.0-or-later" + livecheck do + url "https://www.netfilter.org/projects/nftables/downloads.html" + regex(/href=.*?nftables[._-]v?(\d+(?:\.\d+)+)\.t/i) + end + bottle do sha256 x86_64_linux: "2fbf466c4571ec7513a6e49c6381f5493ef095bc1018ea27859caf11d3873d31" end