<commit_before>require "formula"

class Bind < Formula
  homepage "http://www.isc.org/software/bind/"
  url "http://ftp.isc.org/isc/bind9/9.10.0-P2/bind-9.10.0-P2.tar.gz"
  sha1 "c57b5825e36933119e9fd6f43e3f52262e7ff4ed"
  version "9.10.0-P2"
  revision 1

  bottle do
    revision 3
    sha1 "778abf075d51d248e50acfb1111234824198fe89" => :mavericks
    sha1 "883b2f3b4aea443bd268d54e5c298a740e55070d" => :mountain_lion
    sha1 "1250c63b82ba157ce76f41282b10084d241618b2" => :lion
  end

  head "https://source.isc.org/git/bind9.git"

  devel do
    url "https://source.isc.org/git/bind9.git", :tag => "v9_10_1b2"
    version "9.10.1-b2"
  end

  depends_on "openssl"

  def install
    ENV.libxml2
    # libxml2 appends one inc dir to CPPFLAGS but bind ignores CPPFLAGS
    ENV.append "CFLAGS", ENV.cppflags

    system "./configure", "--prefix=#{prefix}",
                          "--enable-threads",
                          "--enable-ipv6",
                          "--with-ssl-dir=#{Formula["openssl"].opt_prefix}"
<commit_msg>bind 9.10.1<commit_after>require "formula"

class Bind < Formula
  homepage "http://www.isc.org/software/bind/"
  url "http://ftp.isc.org/isc/bind9/9.10.1/bind-9.10.1.tar.gz"
  sha1 "96aa28c6112c6a8c33a19efeac98c715f03b35ca"

  bottle do
    revision 3
    sha1 "778abf075d51d248e50acfb1111234824198fe89" => :mavericks
    sha1 "883b2f3b4aea443bd268d54e5c298a740e55070d" => :mountain_lion
    sha1 "1250c63b82ba157ce76f41282b10084d241618b2" => :lion
  end

  head "https://source.isc.org/git/bind9.git"

  depends_on "openssl"

  def install
    ENV.libxml2
    # libxml2 appends one inc dir to CPPFLAGS but bind ignores CPPFLAGS
    ENV.append "CFLAGS", ENV.cppflags

    system "./configure", "--prefix=#{prefix}",
                          "--enable-threads",
                          "--enable-ipv6",
                          "--with-ssl-dir=#{Formula["openssl"].opt_prefix}"

{'fraction_non_alphanumeric': 0.13145539906103287, 'fraction_numerical': 0.14397496087636932, 'mean_word_length': 2.6743295019157087, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3657853', 'n_tokens_mistral': 907, 'n_tokens_neox': 755, 'n_words': 118}