Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdnsrec 4.5.1 #77263

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions Formula/pdnsrec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Pdnsrec < Formula
desc "Non-authoritative/recursing DNS server"
homepage "https://www.powerdns.com/recursor.html"
url "https://downloads.powerdns.com/releases/pdns-recursor-4.4.3.tar.bz2"
sha256 "f8411258100cc310c75710d7f4d59b5eb4797f437f71dc466ed97a83f1babe05"
url "https://downloads.powerdns.com/releases/pdns-recursor-4.5.1.tar.bz2"
sha256 "3721a1d0e438a683735f518db1e91da6ace1b90fbfdb9c588adabdf164114e79"
license "GPL-2.0-only"

livecheck do
Expand All @@ -22,8 +22,24 @@ class Pdnsrec < Formula
depends_on "lua"
depends_on "[email protected]"

on_macos do
depends_on "llvm" => :build if MacOS.version <= :mojave
end

fails_with :clang do
build 1100
cause <<-EOS
Undefined symbols for architecture x86_64:
"MOADNSParser::init(bool, std::__1::basic_string_view<char, std::__1::char_traits<char> > const&)"
EOS
end

def install
ENV.cxx11
ENV.remove "HOMEBREW_LIBRARY_PATHS", Formula["llvm"].opt_lib
on_macos do
ENV.llvm_clang if MacOS.version <= :mojave
end

args = %W[
--prefix=#{prefix}
Expand Down