tracebox 0.4.2

add a test

Closes #18830.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-10-02 00:48:10 -07:00
parent 280d09c3eb
commit c01ef2c926

View file

@ -1,10 +1,22 @@
class Tracebox < Formula
desc "Middlebox detection tool"
homepage "http://www.tracebox.org/"
url "https://github.com/tracebox/tracebox.git", :tag => "v0.3.1",
:revision => "aec062dcf7198c8b8f3b90ee4216e929ebf0ffcb"
head "https://github.com/tracebox/tracebox.git"
stable do
url "https://github.com/tracebox/tracebox.git",
:tag => "v0.4.2",
:revision => "2e3326500ddf084bf761e83516909538d26240da"
# Remove for > 0.4.2
# Upstream commit from 2 Oct 2017 "Remove [--dirty] from the displayed
# version string"
patch do
url "https://github.com/tracebox/tracebox/commit/5ee627c.patch?full_index=1"
sha256 "af6fda9484e1188acf35c0fb5f871cebc608c8122e5ad1d94569fe30321549cc"
end
end
bottle do
cellar :any
sha256 "86e2c6f4f0ac81f42ea0eeea2545e0e994090b91bcc3a29df9ead84981ec369b" => :high_sierra
@ -41,4 +53,8 @@ class Tracebox < Formula
elevated privileges.
EOS
end
test do
system bin/"tracebox", "-v"
end
end