Merge pull request #206954 from Homebrew/bump-gollama-1.28.13
[homebrew-core.git] / Formula / d / dnsperf.rb
blobe656e6f8963853b48feb3f05f69c12db2e6b152f
1 class Dnsperf < Formula
2   desc "Measure DNS performance by simulating network conditions"
3   homepage "https://www.dns-oarc.net/tools/dnsperf"
4   url "https://www.dns-oarc.net/files/dnsperf/dnsperf-2.14.0.tar.gz"
5   sha256 "134ba69744705bdb65ea57e25713300a6771f7cecbd5d6a74dd9472c18ac2696"
6   license "Apache-2.0"
8   livecheck do
9     url :homepage
10     regex(/href=.*?dnsperf[._-]v?(\d+(?:\.\d+)+)\.t/i)
11   end
13   bottle do
14     sha256 cellar: :any,                 arm64_sequoia:  "105e91000e93fa837ba43661cac925cbfab0bfdc679fa7e9920c590c0f0269f3"
15     sha256 cellar: :any,                 arm64_sonoma:   "1f56f85a5973c690c2d511f197d2af107391cb2d73fc165a10b2bc604095b7b6"
16     sha256 cellar: :any,                 arm64_ventura:  "0c6940568620597ca23ab89c37dbd3cafa038e4491020c020a491ef852b07bee"
17     sha256 cellar: :any,                 arm64_monterey: "7b523397aaeb7d710a9310cec381eadc01b32b0d19bf9f50bd9813d14c1f6bb8"
18     sha256 cellar: :any,                 sonoma:         "4b575d306d9cb921ac4f1dd85fcb0d565e4544ea9a2e9215dac68725f6a0e630"
19     sha256 cellar: :any,                 ventura:        "b9f8c954172caadcfe59c81730f835290a6a8327c5f4e4785c353f839cf5cef1"
20     sha256 cellar: :any,                 monterey:       "fb4ebe4a3f3149b67cfd098d51b04db2fe8bd3bf88e827bb9c97d266ee150300"
21     sha256 cellar: :any_skip_relocation, x86_64_linux:   "20a13780c6a708fea6bc212705ba13d38756d63a487f908637bb159651f5c070"
22   end
24   depends_on "pkgconf" => :build
25   depends_on "concurrencykit"
26   depends_on "ldns"
27   depends_on "libnghttp2"
28   depends_on "openssl@3"
30   def install
31     system "./configure", "--prefix=#{prefix}"
32     system "make"
33     system "make", "install"
34   end
36   test do
37     system bin/"dnsperf", "-h"
38     system bin/"resperf", "-h"
39   end
40 end