<commit_before>class Sslscan < Formula
  desc "Test SSL/TLS enabled services to discover supported cipher suites."
  homepage "https://github.com/rbsec/sslscan"
  url "https://github.com/rbsec/sslscan/archive/1.11.10-rbsec.tar.gz"
  version "1.11.10"
  sha256 "fbb26fdbf2cf5b2f3f8c88782721b7875f206552cf83201981411e0af9521204"
  head "https://github.com/rbsec/sslscan.git"

  bottle do
    cellar :any
    sha256 "74866c6955b5603ba494ffaa66c028e690e1cdaad792def87eccf13367c5c043" => :sierra
    sha256 "3294b6c4956bc565af8b714c5e633f5e5b7a05dd4d19a07d8ddaf1f90dcf2d44" => :el_capitan
    sha256 "0537cb08b5d621601741a9b92d9a0bcec978242b3ca5830711a49a3ebf99036b" => :yosemite
  end

  depends_on "openssl"

  def install
    system "make"
    system "make", "install", "PREFIX=#{prefix}"
  end

  test do
    system "#{bin}/sslscan", "google.com"
  end
end<commit_msg>sslscan: use static vendor of insecure openssl 1.0.2f<commit_after>class Sslscan < Formula
  desc "Test SSL/TLS enabled services to discover supported cipher suites."
  homepage "https://github.com/rbsec/sslscan"
  url "https://github.com/rbsec/sslscan/archive/1.11.10-rbsec.tar.gz"
  version "1.11.10"
  sha256 "fbb26fdbf2cf5b2f3f8c88782721b7875f206552cf83201981411e0af9521204"
  revision 1
  head "https://github.com/rbsec/sslscan.git"

  bottle do
    cellar :any
    sha256 "74866c6955b5603ba494ffaa66c028e690e1cdaad792def87eccf13367c5c043" => :sierra
    sha256 "3294b6c4956bc565af8b714c5e633f5e5b7a05dd4d19a07d8ddaf1f90dcf2d44" => :el_capitan
    sha256 "0537cb08b5d621601741a9b92d9a0bcec978242b3ca5830711a49a3ebf99036b" => :yosemite
  end

  resource "insecure-openssl" do
    url "https://github.com/openssl/openssl/archive/OpenSSL_1_0_2f.tar.gz"
    sha256 "4c9492adcb800ec855f11121bd64ddff390160714d93f95f279a9bd7241c23a6"
  end

  def install
    (buildpath/"openssl").install resource("insecure-openssl")

    # prevent sslscan from fetching the tip of the openssl fork
    # at https://github.com/PeterMosmans/openssl
    inreplace "Makefile", "openssl/Makefile: .openssl.is.fresh",
                          "openssl/Makefile:"

    ENV.deparallelize do
      system "make", "static"
    end
    system "make", "install", "PREFIX=#{prefix}"
  end

  test do
    assert_match "static", shell_output("#{bin}/sslscan --version")
    system "#{bin}/sslscan", "google.com"
  end
end
{'fraction_non_alphanumeric': 0.10390161153519932, 'fraction_numerical': 0.17896522476675147, 'mean_word_length': 4.435483870967742, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, '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': '7175701', 'n_tokens_mistral': 1189, 'n_tokens_neox': 965, 'n_words': 151}