iproute2: add livecheck (#91070)

master
Sam Ford 2021-12-11 17:49:47 -05:00 committed by GitHub
parent dd4026623d
commit 2bf40d22e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,11 @@ class Iproute2 < Formula
license "GPL-2.0-only"
head "https://git.kernel.org/pub/scm/network/iproute2/iproute2.git", branch: "main"
livecheck do
url "https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/"
regex(/href=.*?iproute2[._-]v?(\d+(?:\.\d+)+)\.t/i)
end
bottle do
sha256 x86_64_linux: "1101f8a608be6e4c999c0d2abe3cc980466faca68f7f5b04696b67fadba84c28"
end