<commit_before>require 'formula'

class Nmap <Formula
  url 'http://nmap.org/dist/nmap-5.50.tar.bz2'
  homepage 'http://nmap.org/5/'
  md5 'a4df96e52cb52a1bbe76caace5f21388'

  def install
    fails_with_llvm
    ENV.deparallelize

    system "./configure", "--prefix=#{prefix}", "--without-zenmap"
    system "make" # seperate steps required otherwise the build fails
    system "make install"
  end
end<commit_msg>nmap requires newer openssl on Leopard<commit_after>require 'formula'

class Nmap <Formula
  url 'http://nmap.org/dist/nmap-5.50.tar.bz2'
  homepage 'http://nmap.org/5/'
  md5 'a4df96e52cb52a1bbe76caace5f21388'

  # namp needs newer version of openssl on Leopard
  depends_on "openssl" if MACOS_VERSION < 10.6

  def install
    fails_with_llvm
    ENV.deparallelize

    args = ["--prefix=#{prefix}", "--without-zenmap"]

    if MACOS_VERSION < 10.6
      openssl = Formula.factory('openssl')
      args << "--with-openssl=#{openssl.prefix}"
    end

    system "./configure", *args
    system "make" # seperate steps required otherwise the build fails
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.12217194570135746, 'fraction_numerical': 0.04524886877828054, 'mean_word_length': 3.4417670682730925, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3913067', 'n_tokens_mistral': 419, 'n_tokens_neox': 381, 'n_words': 93}