<commit_before>class Squid < Formula
  desc "Advanced proxy caching server for HTTP, HTTPS, FTP, and Gopher"
  homepage "http://www.squid-cache.org/"
  url "http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.20.tar.xz"
  sha256 "37db73bd33ddd3503fe375bc3f2b47d9fb7309042e439ad3651f21d5dcf2d395"

  bottle do
    sha256 "5aca952db2ac97d969bfa8c8f5dd6cbc545f10bff3f7c29180df02be6274a972" => :el_capitan
    sha256 "85856759546617eaca3355dd9386a45b74d492efdfe45a4fc479936695ba51c7" => :yosemite
    sha256 "801fc1c3585f55b1c3e44dac70d88d849023e77a55673e2ad58c931e67f086d2" => :mavericks
  end

  head do
    url "lp:squid", :using => :bzr

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  depends_on "openssl"

  def install
    # https://stackoverflow.com/questions/20910109/building-squid-cache-on-os-x-mavericks
    ENV.append "LDFLAGS", "-lresolv"

    # For --disable-eui, see:
    # http://squid-web-proxy-cache.1019090.n4.nabble.com/ERROR-ARP-MAC-EUI-operations-not-supported-on-this-operating-system-td4659335.html
    args = %W[
      --disable-debug
      --disable-dependency-tracking
      --prefix=#{prefix}
      --localstatedir=#{var}
      --sysconfdir=#{etc}
      --enable-ssl
      --enable-ssl-crtd<commit_msg>squid: update 3.5.20 bottle.<commit_after>class Squid < Formula
  desc "Advanced proxy caching server for HTTP, HTTPS, FTP, and Gopher"
  homepage "http://www.squid-cache.org/"
  url "http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.20.tar.xz"
  sha256 "37db73bd33ddd3503fe375bc3f2b47d9fb7309042e439ad3651f21d5dcf2d395"

  bottle do
    sha256 "3495d3ce9598dedb90cf1a6bf7b26ddb713c5b2c720a0221e590116390e818b1" => :el_capitan
    sha256 "7c2ff478971eec8aa0b140d009432589996d47b946d72ac31a73e8367529f34a" => :yosemite
    sha256 "0de6b158cf3ce0db039d8855b991c821191954f12c3a06d7b20c68218cf42994" => :mavericks
  end

  head do
    url "lp:squid", :using => :bzr

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  depends_on "openssl"

  def install
    # https://stackoverflow.com/questions/20910109/building-squid-cache-on-os-x-mavericks
    ENV.append "LDFLAGS", "-lresolv"

    # For --disable-eui, see:
    # http://squid-web-proxy-cache.1019090.n4.nabble.com/ERROR-ARP-MAC-EUI-operations-not-supported-on-this-operating-system-td4659335.html
    args = %W[
      --disable-debug
      --disable-dependency-tracking
      --prefix=#{prefix}
      --localstatedir=#{var}
      --sysconfdir=#{etc}
      --enable-ssl
      --enable-ssl-crtd
{'fraction_non_alphanumeric': 0.12734944380514002, 'fraction_numerical': 0.16033755274261605, 'mean_word_length': 3.665474060822898, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 2, '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': '6838581', 'n_tokens_mistral': 1336, 'n_tokens_neox': 1102, 'n_words': 140}