<commit_before>class TomcatNative < Formula
  desc "Lets Tomcat use some native resources for performance"
  homepage "https://tomcat.apache.org/native-doc/"
  url "https://www.apache.org/dyn/closer.cgi?path=tomcat/tomcat-connectors/native/1.2.3/source/tomcat-native-1.2.3-src.tar.gz"
  mirror "https://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.3/source/tomcat-native-1.2.3-src.tar.gz"
  sha256 "36bf786371742c98ca8b167d3cb59ad2162169bdcaab122da8d0e923dc10742f"

  bottle do
    cellar :any
    sha256 "ec11f702b8e33e7b2ac6dbb94ff543db521962c8debbc1e08efc533070accf7b" => :el_capitan
    sha256 "f05e5053671ebb7a37a2d805308ffc8944da8f69625c8ba66b5ec9107cf0f58c" => :yosemite
    sha256 "5c53ab17372579ee1753c2c9c88cf9d0a08e94b61c1ecf8e9771967528344663" => :mavericks
  end

  option "with-apr", "Include APR support via Homebrew"

  depends_on "libtool" => :build
  depends_on "tomcat" => :recommended
  depends_on :java => "1.7+"
  depends_on "openssl"
  depends_on "apr" => :optional

  def install
    cd "native" do
      if build.with? "apr"
        apr_path = Formula["apr"].opt_prefix
      else
        apr_path = "#{MacOS.sdk_path}/usr"
      end
      system "./configure", "--prefix=#{prefix}",<commit_msg>tomcat-native 1.2.4<commit_after>class TomcatNative < Formula
  desc "Lets Tomcat use some native resources for performance"
  homepage "https://tomcat.apache.org/native-doc/"
  url "https://www.apache.org/dyn/closer.cgi?path=tomcat/tomcat-connectors/native/1.2.4/source/tomcat-native-1.2.4-src.tar.gz"
  mirror "https://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.4/source/tomcat-native-1.2.4-src.tar.gz"
  sha256 "29d53d4646229a839ccb71b7b3caa25c256aab1965c33cc9d140247213b9b171"

  bottle do
    cellar :any
    sha256 "ec11f702b8e33e7b2ac6dbb94ff543db521962c8debbc1e08efc533070accf7b" => :el_capitan
    sha256 "f05e5053671ebb7a37a2d805308ffc8944da8f69625c8ba66b5ec9107cf0f58c" => :yosemite
    sha256 "5c53ab17372579ee1753c2c9c88cf9d0a08e94b61c1ecf8e9771967528344663" => :mavericks
  end

  option "with-apr", "Include APR support via Homebrew"

  depends_on "libtool" => :build
  depends_on "tomcat" => :recommended
  depends_on :java => "1.7+"
  depends_on "openssl"
  depends_on "apr" => :optional

  def install
    cd "native" do
      if build.with? "apr"
        apr_path = Formula["apr"].opt_prefix
      else
        apr_path = "#{MacOS.sdk_path}/usr"
      end
      system "./configure", "--prefix=#{prefix}",
{'fraction_non_alphanumeric': 0.1215670436187399, 'fraction_numerical': 0.15105008077544427, 'mean_word_length': 4.259023354564756, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 6, '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': '3185045', 'n_tokens_mistral': 1209, 'n_tokens_neox': 1046, 'n_words': 144}