Skip to content

Commit dd4cd8b

Browse files
authored
Merge pull request #249900 from Homebrew/bump-sngrep-1.8.3
sngrep 1.8.3
2 parents 8aa4b0e + 613c453 commit dd4cd8b

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

Formula/s/sngrep.rb

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,42 @@
11
class Sngrep < Formula
22
desc "Command-line tool for displaying SIP calls message flows"
33
homepage "https://github.com/irontec/sngrep"
4-
url "https://github.com/irontec/sngrep/archive/refs/tags/v1.8.2.tar.gz"
5-
sha256 "1cd05bddd531b353e3069c5243e7076b60a3ee907dbbc3c9c2834676ed8c4bac"
4+
url "https://github.com/irontec/sngrep/releases/download/v1.8.3/sngrep-1.8.3.tar.gz"
5+
sha256 "794224f4cd08978a6115a767e9945f756fdf7cbc7c1a34eabca293e0293b21b8"
66
license "GPL-3.0-or-later" => { with: "openvpn-openssl-exception" }
77

88
bottle do
9-
sha256 cellar: :any, arm64_tahoe: "9726121ffd4babd8968c3bc9ab0adf8acfacbc5116ed2ae354e9a5b0f0b195f3"
10-
sha256 cellar: :any, arm64_sequoia: "0bfc56c0e4f1b9ffdea333a9fe372928b81b6bc0b931e3629b1c822bb062272f"
11-
sha256 cellar: :any, arm64_sonoma: "af78fe4604a4b205135a31f113a35907d121d08bd7352f5747f82afbfbf7b964"
12-
sha256 cellar: :any, arm64_ventura: "024eb3f86b15664e9cdae3dec40226b91432a2abe44bd3e6c72fbcff0f9c6167"
13-
sha256 cellar: :any, arm64_monterey: "2ce85bce10e93345e1991e4d23d92f46df955cf90c20bf47a0abe4eea4d9c0f7"
14-
sha256 sonoma: "57d93a31a23337e083f75ff3df8c40731fbd68d857678599184027f9240947c0"
15-
sha256 ventura: "9fdeee12cf3751750380301d66b61d0862e568b3f789e9bc21bd676b0495168f"
16-
sha256 monterey: "230ba56b3c53cd525f4dbed3495ec75c63cba1306c5d4cc5356573e22a2cf464"
17-
sha256 cellar: :any_skip_relocation, arm64_linux: "638308e2f58d25eecb2023dfb5e4c44bf344b664f428cd6af59b5a117b5a2827"
18-
sha256 cellar: :any_skip_relocation, x86_64_linux: "a6c9d43d767e6ae8f902fc0e74c4dff3ca255e94178cc0aa108e1241b797ea67"
9+
sha256 cellar: :any, arm64_tahoe: "061db6e59e8b46db369feba26f33ad4d50082baf87580affeff0bdfbcb42f566"
10+
sha256 cellar: :any, arm64_sequoia: "7cff7081ff7899992673f68269bfafa11e62a143b39c9de3ad9731136ae72123"
11+
sha256 cellar: :any, arm64_sonoma: "d128fa1a31902c76abfb557e18552670b54087cec17a9a32d7599ba93ad251f8"
12+
sha256 sonoma: "dd3ceac2f13d770f905b245f456f553fc6d0aa3335cb1513f28efa21068fff91"
13+
sha256 cellar: :any_skip_relocation, arm64_linux: "c5a86128da8d87abf69575b2dbd298c2e2a75e3ccbe88b14624df356e723bbe6"
14+
sha256 cellar: :any_skip_relocation, x86_64_linux: "2ab8d1e61cb58f5ab80ee2e230da31057941225c29cf867d176ca70ef3123da2"
1915
end
2016

2117
depends_on "autoconf" => :build
2218
depends_on "automake" => :build
19+
depends_on "pkgconf" => :build
20+
2321
depends_on "ncurses"
2422
depends_on "openssl@3"
2523

2624
uses_from_macos "libpcap"
2725

26+
on_linux do
27+
depends_on "libgcrypt"
28+
end
29+
2830
def install
31+
# Fix compile with newer Clang
32+
ENV.append_to_cflags "-Wno-implicit-function-declaration" if DevelopmentTools.clang_build_version >= 1403
33+
2934
ENV.append_to_cflags "-I#{Formula["ncurses"].opt_include}/ncursesw" if OS.linux?
3035

3136
system "./bootstrap.sh"
32-
system "./configure", *std_configure_args,
33-
"--disable-silent-rules",
34-
"--with-openssl"
37+
system "./configure", "--disable-silent-rules",
38+
"--with-openssl",
39+
*std_configure_args
3540
system "make", "install"
3641
end
3742

0 commit comments

Comments
 (0)