<commit_before>class Libntlm < Formula
  desc "Implements Microsoft's NTLM authentication"
  homepage "https://www.nongnu.org/libntlm/"
  url "https://www.nongnu.org/libntlm/releases/libntlm-1.5.tar.gz"
  sha256 "53d799f696a93b01fe877ccdef2326ed990c0b9f66e380bceaf7bd9cdcd99bbd"

  bottle do
    cellar :any
    sha256 "109de9f032c189a23549f1cbaab29755f1ebe0df362818115942bc2951e85728" => :catalina
    sha256 "803e9685c885410bcb1c071e565299a5c2a91e6ac8484964753b7d69c1b99a61" => :mojave
    sha256 "634e80fcac334380336bba20cae28ec0edce0032c3b6937cd3cfd600f328b9cc" => :high_sierra
    sha256 "ba295e4252ceb8ea27d1634265fe9c63219ea83317dc43713d48ed8f7f064e3e" => :sierra
  end

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
    pkgshare.install "config.h", "test_ntlm.c", "test.txt", "gl/byteswap.h", "gl/md4.c", "gl/md4.h"
  end

  test do
    cp pkgshare.children, testpath
    system ENV.cc, "test_ntlm.c", "md4.c", "-I#{testpath}", "-L#{lib}", "-lntlm",
                   "-DNTLM_SRCDIR=\"#{testpath}\"", "-o", "test_ntlm"
    system "./test_ntlm"
  end
end
<commit_msg>libntlm 1.6<commit_after>class Libntlm < Formula
  desc "Implements Microsoft's NTLM authentication"
  homepage "https://www.nongnu.org/libntlm/"
  url "https://www.nongnu.org/libntlm/releases/libntlm-1.6.tar.gz"
  sha256 "f2376b87b06d8755aa3498bb1226083fdb1d2cf4460c3982b05a9aa0b51d6821"

  bottle do
    cellar :any
    sha256 "109de9f032c189a23549f1cbaab29755f1ebe0df362818115942bc2951e85728" => :catalina
    sha256 "803e9685c885410bcb1c071e565299a5c2a91e6ac8484964753b7d69c1b99a61" => :mojave
    sha256 "634e80fcac334380336bba20cae28ec0edce0032c3b6937cd3cfd600f328b9cc" => :high_sierra
    sha256 "ba295e4252ceb8ea27d1634265fe9c63219ea83317dc43713d48ed8f7f064e3e" => :sierra
  end

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
    pkgshare.install "config.h", "test_ntlm.c", "test.txt", "gl/byteswap.h", "gl/md4.c", "gl/md4.h"
  end

  test do
    cp pkgshare.children, testpath
    system ENV.cc, "test_ntlm.c", "md4.c", "-I#{testpath}", "-L#{lib}", "-lntlm",
                   "-DNTLM_SRCDIR=\"#{testpath}\"", "-o", "test_ntlm"
    system "./test_ntlm"
  end
end

{'fraction_non_alphanumeric': 0.13383045525902668, 'fraction_numerical': 0.17739403453689168, 'mean_word_length': 3.3276740237691, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, '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': '6567233', 'n_tokens_mistral': 1301, 'n_tokens_neox': 1059, 'n_words': 139}