aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bind.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/bind.rb')
-rw-r--r--Library/Formula/bind.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/bind.rb b/Library/Formula/bind.rb
new file mode 100644
index 000000000..902ebbd19
--- /dev/null
+++ b/Library/Formula/bind.rb
@@ -0,0 +1,20 @@
+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