<commit_before>class Ldns < Formula
  desc "DNS library written in C"
  homepage "https://nlnetlabs.nl/projects/ldns/"
  url "https://nlnetlabs.nl/downloads/ldns/ldns-1.7.1.tar.gz"
  sha256 "8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229"

  bottle do
    cellar :any
    sha256 "faa2291cda47e96003c8f9703f580252e9f794608019aa22a60bb71c1ea9dfbb" => :mojave
    sha256 "dbe318c3a0be2a59e3b71f48d2d13319ff6e8a47507f548aed6f73779f42ddb6" => :high_sierra
    sha256 "49f6436feb4baafbecf4db384f0bbd7d9a597511df8dcf1195739f18c7a02642" => :sierra
  end

  depends_on "swig" => :build
  depends_on "openssl"

  def install
    args = %W[
      --prefix=#{prefix}
      --with-drill
      --with-examples
      --with-ssl=#{Formula["openssl"].opt_prefix}
      --with-pyldns
      PYTHON_SITE_PKG=#{lib}/python2.7/site-packages
      --disable-dane-verify<commit_msg>ldns: move to OpenSSL 1.1<commit_after>class Ldns < Formula
  desc "DNS library written in C"
  homepage "https://nlnetlabs.nl/projects/ldns/"
  url "https://nlnetlabs.nl/downloads/ldns/ldns-1.7.1.tar.gz"
  sha256 "8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229"
  revision 1

  bottle do
    cellar :any
    sha256 "faa2291cda47e96003c8f9703f580252e9f794608019aa22a60bb71c1ea9dfbb" => :mojave
    sha256 "dbe318c3a0be2a59e3b71f48d2d13319ff6e8a47507f548aed6f73779f42ddb6" => :high_sierra
    sha256 "49f6436feb4baafbecf4db384f0bbd7d9a597511df8dcf1195739f18c7a02642" => :sierra
  end

  depends_on "swig" => :build
  depends_on "openssl@1.1"

  def install
    args = %W[
      --prefix=#{prefix}
      --with-drill
      --with-examples
      --with-ssl=#{Formula["openssl@1.1"].opt_prefix}
      --with-pyldns
      PYTHON_SITE_PKG=#{lib}/python2.7/site-packages
      --disable-dane-verify
{'fraction_non_alphanumeric': 0.11092436974789915, 'fraction_numerical': 0.19663865546218487, 'mean_word_length': 3.988826815642458, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '1494646', 'n_tokens_mistral': 984, 'n_tokens_neox': 808, 'n_words': 95}