2011-03-10 05:11:03 +00:00
|
|
|
class Dnstracer < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Trace a chain of DNS servers to the source"
|
2015-03-26 09:09:25 +00:00
|
|
|
homepage "http://www.mavetju.org/unix/dnstracer.php"
|
|
|
|
url "http://www.mavetju.org/download/dnstracer-1.9.tar.gz"
|
2015-08-09 20:48:44 +00:00
|
|
|
mirror "https://mirrors.kernel.org/debian/pool/main/d/dnstracer/dnstracer_1.9.orig.tar.gz"
|
2015-03-26 09:09:25 +00:00
|
|
|
sha256 "2ebc08af9693ba2d9fa0628416f2d8319ca1627e41d64553875d605b352afe9c"
|
2010-02-01 03:22:11 +00:00
|
|
|
|
2015-03-27 02:58:09 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "13eaef32eb5d1dd11e71adeb6abe9bd43200a219951648d0d4eb707ea935c542" => :yosemite
|
|
|
|
sha256 "d4b8c5352a711e86091779e6565f752828af549c5806fdf3d58cb572e977aaa4" => :mavericks
|
|
|
|
sha256 "cb878a09be7de0d7a3e354c086a74d6de61b9e53f4ce499c931706f24598f3ae" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2010-02-01 03:22:11 +00:00
|
|
|
def install
|
2015-03-26 09:09:25 +00:00
|
|
|
ENV.append "LDFLAGS", "-lresolv"
|
2010-02-01 03:22:11 +00:00
|
|
|
|
2015-03-26 09:09:25 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2010-04-01 19:04:28 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2015-03-26 09:09:25 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/dnstracer", "brew.sh"
|
2010-02-01 03:22:11 +00:00
|
|
|
end
|
|
|
|
end
|