<commit_before>require 'formula'

class Varnish < Formula
  url 'http://www.varnish-software.com/sites/default/files/varnish-2.1.4.tar.gz'
  homepage 'http://www.varnish-cache.org/'
  md5 'e794a37b6fbb786a083c0946103ae103'

  depends_on 'pkg-config' => :build
  depends_on 'pcre'

  # Do not strip varnish binaries: Otherwise, the magic string end pointer isn't found.
  skip_clean :all

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--localstatedir=#{var}"
    system "make install"
    (var+'varnish').mkpath
  end<commit_msg>Varnish 2.1.5; add 3.0b1 as HEAD.<commit_after>require 'formula'

class Varnish < Formula
  url 'http://repo.varnish-cache.org/source/varnish-2.1.5.tar.gz'
  head 'http://repo.varnish-cache.org/source/varnish-3.0.0-beta1.tar.gz'
  homepage 'http://www.varnish-cache.org/'

  if ARGV.build_head?
    md5 'c4dbd66ac6795c6c9d1c143ef2a47d38'
  else
    md5 '2d2f227da36a2a240c475304c717b8e3'
  end

  depends_on 'pkg-config' => :build
  depends_on 'pcre'

  # Do not strip varnish binaries: Otherwise, the magic string end pointer isn't found.
  skip_clean :all

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--localstatedir=#{var}"
    system "make install"
    (var+'varnish').mkpath
  end
{'fraction_non_alphanumeric': 0.13601127554615927, 'fraction_numerical': 0.05708245243128964, 'mean_word_length': 2.806970509383378, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, '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': '3172189', 'n_tokens_mistral': 561, 'n_tokens_neox': 501, 'n_words': 98}