aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Clift2014-09-10 16:10:12 +0100
committerMike McQuaid2014-09-10 16:40:58 +0100
commitd0d1dd7192545d4be0b567631cf565ca21869e42 (patch)
tree4c4043bf3d7ef817238b3b96252d97bca6ffbc84
parentf64bdc8ef9d125094a304516711d8e36eb049373 (diff)
downloadhomebrew-d0d1dd7192545d4be0b567631cf565ca21869e42.tar.bz2
pdnsrec 3.6.1
Security Update: http://blog.powerdns.com/2014/09/10/security-update-powerdns-recursor-3-6-1/
-rw-r--r--Library/Formula/pdnsrec.rb20
1 files changed, 18 insertions, 2 deletions
diff --git a/Library/Formula/pdnsrec.rb b/Library/Formula/pdnsrec.rb
index 7d3050715..eb1897961 100644
--- a/Library/Formula/pdnsrec.rb
+++ b/Library/Formula/pdnsrec.rb
@@ -2,13 +2,17 @@ require 'formula'
class Pdnsrec < Formula
homepage 'http://wiki.powerdns.com'
- url 'http://downloads.powerdns.com/releases/pdns-recursor-3.6.0.tar.bz2'
- sha256 '345651705f04eb63ef6ea4573587907bc213879834e37f4b7e4c2e70bc952372'
+ url 'http://downloads.powerdns.com/releases/pdns-recursor-3.6.1.tar.bz2'
+ sha1 'b77befa0a20d9822523dec44c2559ffda4ea689d'
depends_on :macos => :lion
depends_on 'boost'
depends_on 'lua' => :optional
+ # Temporary workaround for Mavericks
+ # https://github.com/PowerDNS/pdns/issues/1707
+ patch :DATA
+
def install
# Set overrides using environment variables
ENV['DESTDIR'] = "#{prefix}"
@@ -42,3 +46,15 @@ class Pdnsrec < Formula
system "#{sbin}/pdns_recursor --config > #{prefix}/etc/powerdns/recursor.conf"
end
end
+
+__END__
+--- pdns-recursor-3.6.1/rec_channel.hh.orig 2014-09-09 09:33:33 UTC
++++ pdns-recursor-3.6.1/rec_channel.hh
+@@ -4,6 +4,7 @@
+ #include <map>
+ #include <inttypes.h>
+ #include <sys/un.h>
++#include <pthread.h>
+
+
+ /** this class is used both to send and answer channel commands to the PowerDNS Recursor */