bind 9.12.4

Closes #37509.

Signed-off-by: Chongyu Zhu <i@lembacon.com>

Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
This commit is contained in:
Chongyu Zhu 2019-03-02 23:17:48 +08:00
parent bd372fde9a
commit 20522041d8
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -1,9 +1,8 @@
class Bind < Formula
desc "Implementation of the DNS protocols"
homepage "https://www.isc.org/downloads/bind/"
url "https://ftp.isc.org/isc/bind9/9.12.3-P4/bind-9.12.3-P4.tar.gz"
version "9.12.3-P4"
sha256 "d1014453c62623e42323fd83fc89444c12ae6b707fd586466959a052fe21f206"
url "https://ftp.isc.org/isc/bind9/9.12.4/bind-9.12.4.tar.gz"
sha256 "81bf24b2b86f7288ccf727aff59f1d752cc3e9de30a7480d24d67736256a0d53"
head "https://gitlab.isc.org/isc-projects/bind9.git"
bottle do
@ -14,8 +13,22 @@ class Bind < Formula
depends_on "json-c"
depends_on "openssl"
depends_on "python"
resource "ply" do
url "https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da/ply-3.11.tar.gz"
sha256 "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
end
def install
xy = Language::Python.major_minor_version "python3"
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python#{xy}/site-packages"
resources.each do |r|
r.stage do
system "python3", *Language::Python.setup_install_args(libexec/"vendor")
end
end
# Fix "configure: error: xml2-config returns badness"
if MacOS.version == :sierra || MacOS.version == :el_capitan
ENV["SDKROOT"] = MacOS.sdk_path