<commit_before>require "formula"

class DuoUnix < Formula
  homepage "https://www.duosecurity.com/docs/duounix"
  url "https://dl.duosecurity.com/duo_unix-1.9.13.tar.gz"
  sha1 "96120910cbaa75c3a59e4c12006738b267c3e9f0"
  bottle do
    cellar :any
    sha1 "23ef6a81af2f37166d7d7423b88f7716bf9b0629" => :yosemite
    sha1 "fdc919d750012fbfeeec8b3f95d07000adc3c946" => :mavericks
    sha1 "0d08b3ca611f47a25a922b2d942f157f1d6268c1" => :mountain_lion
  end

  revision 1

  depends_on "openssl"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}",
                          "--sysconfdir=#{etc}",
                          "--includedir=#{include}/duo",
                          "--with-openssl=#{Formula["openssl"].opt_prefix}"
    system "make", "install"
  end

  test do
    system "#{sbin}/login_duo", "-d", "-c", "#{etc}/login_duo.conf", "-f", "foobar", "echo", "SUCCESS"
  end
end
<commit_msg>duo_unix: compile with pam modules, and place in /usr/local/lib/pam/<commit_after>require "formula"

class DuoUnix < Formula
  homepage "https://www.duosecurity.com/docs/duounix"
  url "https://dl.duosecurity.com/duo_unix-1.9.13.tar.gz"
  sha1 "96120910cbaa75c3a59e4c12006738b267c3e9f0"
  bottle do
    cellar :any
    sha1 "23ef6a81af2f37166d7d7423b88f7716bf9b0629" => :yosemite
    sha1 "fdc919d750012fbfeeec8b3f95d07000adc3c946" => :mavericks
    sha1 "0d08b3ca611f47a25a922b2d942f157f1d6268c1" => :mountain_lion
  end

  revision 1

  depends_on "openssl"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}",
                          "--sysconfdir=#{etc}",
                          "--includedir=#{include}/duo",
                          "--with-openssl=#{Formula["openssl"].opt_prefix}",
                          "--with-pam=#{lib}/pam/"
    system "make", "install"
  end

  test do
    system "#{sbin}/login_duo", "-d", "-c", "#{etc}/login_duo.conf", "-f", "foobar", "echo", "SUCCESS"
  end
end

{'fraction_non_alphanumeric': 0.14764788076385654, 'fraction_numerical': 0.10526315789473684, 'mean_word_length': 2.4533762057877815, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '2982656', 'n_tokens_mistral': 931, 'n_tokens_neox': 818, 'n_words': 121}