<commit_before>class Bind < Formula
  desc "Implementation of the DNS protocols"
  homepage "https://www.isc.org/downloads/bind/"
  url "https://ftp.isc.org/isc/bind9/9.11.0-P5/bind-9.11.0-P5.tar.gz"
  mirror "https://fossies.org/linux/misc/dns/bind9/9.11.0-P5/bind-9.11.0-P5.tar.gz"
  version "9.11.0-P5"
  sha256 "1e283f0567b484687dfd7b936e26c9af4f64043daf73cbd8f3eb1122c9fb71f5"
  head "https://source.isc.org/git/bind9.git"

  bottle do
    sha256 "70b9541b0a0151cafa1cb7dd127000b57c032605a2867e03e4bbcb183ef41367" => :sierra
    sha256 "b53e6e628bd547af12af95d1052cd5ddb318b8ee3ea145dc7fde04a5e61ca3bd" => :el_capitan
    sha256 "5e5a53e619059bb5d7bd14576c6dffefbeb52aa6233a9cdbeb546f0779b83e1b" => :yosemite
  end

  depends_on "openssl"
  depends_on "json-c" => :optional

  def install
    # enable DNSSEC signature chasing in dig
    ENV["STD_CDEFINES"] = "-DDIG_SIGCHASE=1"

    json = build.with?("json-c") ? "yes" : "no"
    system "./configure", "--prefix=#{prefix}",
                          "--enable-threads",
                          "--enable-ipv6",
                          "--with-openssl=#{Formula["openssl"].opt_prefix}",
                          "--with-libjson=#{json}"<commit_msg>bind: update 9.11.0-P5 bottle for Linuxbrew.<commit_after>class Bind < Formula
  desc "Implementation of the DNS protocols"
  homepage "https://www.isc.org/downloads/bind/"
  url "https://ftp.isc.org/isc/bind9/9.11.0-P5/bind-9.11.0-P5.tar.gz"
  mirror "https://fossies.org/linux/misc/dns/bind9/9.11.0-P5/bind-9.11.0-P5.tar.gz"
  version "9.11.0-P5"
  sha256 "1e283f0567b484687dfd7b936e26c9af4f64043daf73cbd8f3eb1122c9fb71f5"
  head "https://source.isc.org/git/bind9.git"

  bottle do
    sha256 "70b9541b0a0151cafa1cb7dd127000b57c032605a2867e03e4bbcb183ef41367" => :sierra
    sha256 "b53e6e628bd547af12af95d1052cd5ddb318b8ee3ea145dc7fde04a5e61ca3bd" => :el_capitan
    sha256 "5e5a53e619059bb5d7bd14576c6dffefbeb52aa6233a9cdbeb546f0779b83e1b" => :yosemite
    sha256 "3027e211dc7b2a4b7509807f5c886b22fad9e8dd8f1f783c549bd1e33ef597c1" => :x86_64_linux
  end

  depends_on "openssl"
  depends_on "json-c" => :optional

  def install
    # enable DNSSEC signature chasing in dig
    ENV["STD_CDEFINES"] = "-DDIG_SIGCHASE=1"

    json = build.with?("json-c") ? "yes" : "no"
    system "./configure", "--prefix=#{prefix}",
                          "--enable-threads",
                          "--enable-ipv6",
                          "--with-openssl=#{Formula["openssl"].opt_prefix}",
                          "--with-libjson=#{json}"
{'fraction_non_alphanumeric': 0.13836477987421383, 'fraction_numerical': 0.17059748427672955, 'mean_word_length': 3.1048387096774195, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2432397', 'n_tokens_mistral': 1290, 'n_tokens_neox': 1079, 'n_words': 125}