2a0021fdcd
This brew includes Bind along with a suite of tools bundled with it. These tools are the de facto standard for working with DNS. Bind is compiled with ipv6 support and dig is compiled with sigchase option turned on. Closes Homebrew/homebrew#8948. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
20 lines
598 B
Ruby
20 lines
598 B
Ruby
require 'formula'
|
|
|
|
class Bind < Formula
|
|
homepage 'http://www.isc.org/software/bind/'
|
|
url 'ftp://ftp.isc.org/isc/bind9/9.8.1-P1/bind-9.8.1-P1.tar.gz'
|
|
version '9.8.1-p1'
|
|
sha256 '867fdd52d3436c6ab6d357108d7f9eaaf03f1422652e6e61c742816ff7f87929'
|
|
|
|
depends_on "openssl" if MacOS.leopard?
|
|
|
|
def install
|
|
ENV['STD_CDEFINES']='-DDIG_SIGCHASE=1'
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--enable-threads",
|
|
"--enable-ipv6",
|
|
"--with-openssl"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|