diff options
| author | Dominyk Tiller | 2014-11-12 06:13:02 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-12 08:23:47 +0000 |
| commit | 5e1ef44c5e7c5d384fdb48e760d80571a35f9e70 (patch) | |
| tree | da5ae8767456a35a34e0cbcf0dd1f6b2734c2997 /Library | |
| parent | ea5d2d8f62282829dc5a887a457486ae00521d48 (diff) | |
| download | homebrew-5e1ef44c5e7c5d384fdb48e760d80571a35f9e70.tar.bz2 | |
unbound: additional openssl dependency
Even with the gost configure option in place unbound is still tapping
the system OpenSSL heavily, so we may as well switch to using our
OpenSSL. It also uses Libevent, so there’s a new dependency there as
well.
Closes #34120.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/unbound.rb | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Library/Formula/unbound.rb b/Library/Formula/unbound.rb index 93069dff6..0bda558fb 100644 --- a/Library/Formula/unbound.rb +++ b/Library/Formula/unbound.rb @@ -1,9 +1,13 @@ -require 'formula' +require "formula" class Unbound < Formula - homepage 'http://www.unbound.net' - url 'http://unbound.net/downloads/unbound-1.4.22.tar.gz' - sha1 'a56e31e2f3a2fefa3caaad9200dd943d174ca81e' + homepage "http://www.unbound.net" + url "http://unbound.net/downloads/unbound-1.4.22.tar.gz" + sha256 "1caf5081b2190ecdb23fc4d998b7999e28640c941f53baff7aee03c092a7d29f" + revision 1 + + depends_on "openssl" + depends_on "libevent" bottle do revision 1 @@ -13,10 +17,9 @@ class Unbound < Formula end def install - # gost requires OpenSSL >= 1.0.0 - system "./configure", "--prefix=#{prefix}", - "--disable-gost" - system "make install" + system "./configure", "--prefix=#{prefix}", "--with-libevent=#{Formula["libevent"].opt_prefix}", + "--sysconfdir=#{etc}" + system "make", "install" end plist_options :startup => true |
