From 5e1ef44c5e7c5d384fdb48e760d80571a35f9e70 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Wed, 12 Nov 2014 06:13:02 +0000 Subject: 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 --- Library/Formula/unbound.rb | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3