43 lines
1.9 KiB
Ruby
43 lines
1.9 KiB
Ruby
class ArgusClients < Formula
|
|
desc "Audit Record Generation and Utilization System clients"
|
|
homepage "https://openargus.org"
|
|
url "https://qosient.com/argus/src/argus-clients-3.0.8.2.tar.gz"
|
|
sha256 "32073a60ddd56ea8407a4d1b134448ff4bcdba0ee7399160c2f801a0aa913bb1"
|
|
revision 4
|
|
|
|
livecheck do
|
|
url "https://openargus.org/getting-argus"
|
|
regex(/href=.*?argus-clients[._-]v?(\d+(?:\.\d+)+)\.t/i)
|
|
end
|
|
|
|
bottle do
|
|
sha256 cellar: :any, arm64_monterey: "5ba432fb7867e00b2bc6c092640f77b737a83bf39dfecc6b2c6915fa650b1c0b"
|
|
sha256 cellar: :any, arm64_big_sur: "399217b0dc94900b41013e73be7ac85cccf52d9046d42d960f0461d07657739c"
|
|
sha256 cellar: :any, monterey: "53205c437e2a8f661c55de6b46e63ecd81b7d5cb3d72dff69d9a2da4876a3299"
|
|
sha256 cellar: :any, big_sur: "8f1f7bfced13b9a62c6455be898a72e545f60d6f3c42a7ca9809bb8723ca4042"
|
|
sha256 cellar: :any, catalina: "579d10c6b410d1fe18fb653c6413a30ea04f8826f441094bcb944244e9dfdfd5"
|
|
sha256 cellar: :any, mojave: "ed00932e81d23c0a2cb872190088994a190967f4bbe8dc08e9f04212e6ede2e0"
|
|
sha256 cellar: :any, high_sierra: "3c231bbc8dccff67f8eadb490bb128bbf063e9200993d53d0306e1730ea0bc5e"
|
|
sha256 cellar: :any, sierra: "edfae9718df8bd3d4fe6225cca8170513638b1581234fffa8deaa5f9e228593d"
|
|
sha256 cellar: :any_skip_relocation, x86_64_linux: "702918f2a17809ddbff6f9c7161a3b58bdc63209ab8f8a13ab29f7b546cb0c7d"
|
|
end
|
|
|
|
depends_on "geoip"
|
|
depends_on "readline"
|
|
depends_on "rrdtool"
|
|
|
|
uses_from_macos "bison" => :build
|
|
uses_from_macos "flex" => :build
|
|
|
|
def install
|
|
ENV.append "CFLAGS", "-std=gnu89"
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert_match "Ra Version #{version}", shell_output("#{bin}/ra -h", 1)
|
|
end
|
|
end
|