tracebox 0.4.2
add a test Closes #18830. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
280d09c3eb
commit
c01ef2c926
1 changed files with 18 additions and 2 deletions
|
@ -1,10 +1,22 @@
|
||||||
class Tracebox < Formula
|
class Tracebox < Formula
|
||||||
desc "Middlebox detection tool"
|
desc "Middlebox detection tool"
|
||||||
homepage "http://www.tracebox.org/"
|
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"
|
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
|
bottle do
|
||||||
cellar :any
|
cellar :any
|
||||||
sha256 "86e2c6f4f0ac81f42ea0eeea2545e0e994090b91bcc3a29df9ead84981ec369b" => :high_sierra
|
sha256 "86e2c6f4f0ac81f42ea0eeea2545e0e994090b91bcc3a29df9ead84981ec369b" => :high_sierra
|
||||||
|
@ -41,4 +53,8 @@ class Tracebox < Formula
|
||||||
elevated privileges.
|
elevated privileges.
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
system bin/"tracebox", "-v"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue