validns 0.8 (new formula)

Closes Homebrew/homebrew#39843.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Peter van Dijk 2015-05-17 16:52:54 +02:00 committed by Mike McQuaid
parent c87dc3f8ed
commit cc1b7edcb0

19
Formula/validns.rb Normal file
View file

@ -0,0 +1,19 @@
class Validns < Formula
homepage "http://www.validns.net/"
url "http://www.validns.net/download/validns-0.8.tar.gz"
sha256 "df2db0eaa998a0411ff4c1c4e417eb82d32aec4835f92f45f26c66c8d1d5bd22"
depends_on "judy"
depends_on "openssl"
def install
system "make"
bin.install "validns"
man1.install "validns.1"
end
test do
(testpath/"example.com").write("example.com. IN SOA ns.example.com. hostmaster.example.com. 9 10800 3600 604800 3600")
assert_match /ttl not specified and default is not known/, shell_output("#{bin}/validns example.com 2>&1", 1)
end
end