Skip to content

Commit

Permalink
nftables: add livecheck
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Mar 30, 2023
1 parent a978ba1 commit 7c39e60
Showing 1 changed file with 5 additions and 0 deletions.
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 7c39e60

Please sign in to comment.