Skip to content

Commit

Permalink
Merge pull request #127086 from chenrui333/libnetfilter_conntrack-add…
Browse files Browse the repository at this point in the history
…-livecheck

formulae: add livecheck for netfilter projects
  • Loading branch information
chenrui333 committed Mar 30, 2023
2 parents eba2b16 + 7c39e60 commit 5e9ddc3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Formula/iptables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions Formula/libnetfilter_conntrack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions Formula/libnftnl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions Formula/nftables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e9ddc3

Please sign in to comment.