<commit_before>class Nginx < Formula
  desc "HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server"
  homepage "https://nginx.org/"
  url "https://nginx.org/download/nginx-1.13.8.tar.gz"
  sha256 "8410b6c31ff59a763abf7e5a5316e7629f5a5033c95a3a0ebde727f9ec8464c5"
  head "https://hg.nginx.org/nginx/", :using => :hg

  bottle do
    sha256 "e1234c15637ba146b0d351aedc6f38097dc76caf68a92f507079f9ff0f939f81" => :high_sierra
    sha256 "41c8836c0b08d576fb2e858faf6d25e8f1044fbd4d9cc7f3a911078b77b631de" => :sierra
    sha256 "d0ecb4f4589b54d80a1824a6427fb60e9a5b8447879b301e94a7793dc9195d37" => :el_capitan
  end

  option "with-passenger", "Compile with support for Phusion Passenger module"

  depends_on "openssl" # don't switch to 1.1 until passenger is switched, too
  depends_on "pcre"
  depends_on "passenger" => :optional

  def install
    # Changes default port to 8080
    inreplace "conf/nginx.conf" do |s|
      s.gsub! "listen       80;", "listen       8080;"
      s.gsub! "    #}\n\n}", "    #}\n    include servers/*;\n}"
    end

    openssl = Formula["openssl"]
    pcre = Formula["pcre"]

    cc_opt = "-I#{pcre.opt_include} -I#{openssl.opt_include}"
    ld_opt = "-L#{pcre.opt_lib} -L#{openssl.opt_lib}"

    args = %W[
      --prefix=#{prefix}
      --sbin-path=#{bin}/nginx
      --with-cc-opt=#{cc_opt}
      --with-ld-opt=#{ld_opt}<commit_msg>nginx: update 1.13.8 bottle for Linuxbrew.<commit_after>class Nginx < Formula
  desc "HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server"
  homepage "https://nginx.org/"
  url "https://nginx.org/download/nginx-1.13.8.tar.gz"
  sha256 "8410b6c31ff59a763abf7e5a5316e7629f5a5033c95a3a0ebde727f9ec8464c5"
  head "https://hg.nginx.org/nginx/", :using => :hg

  bottle do
    sha256 "e1234c15637ba146b0d351aedc6f38097dc76caf68a92f507079f9ff0f939f81" => :high_sierra
    sha256 "41c8836c0b08d576fb2e858faf6d25e8f1044fbd4d9cc7f3a911078b77b631de" => :sierra
    sha256 "d0ecb4f4589b54d80a1824a6427fb60e9a5b8447879b301e94a7793dc9195d37" => :el_capitan
    sha256 "5b475833d09b1922202d27bfa5fc6cd7dbca397f47cf1e0ff5e6f8657fd457be" => :x86_64_linux
  end

  option "with-passenger", "Compile with support for Phusion Passenger module"

  depends_on "openssl" # don't switch to 1.1 until passenger is switched, too
  depends_on "pcre"
  depends_on "passenger" => :optional

  def install
    # Changes default port to 8080
    inreplace "conf/nginx.conf" do |s|
      s.gsub! "listen       80;", "listen       8080;"
      s.gsub! "    #}\n\n}", "    #}\n    include servers/*;\n}"
    end

    openssl = Formula["openssl"]
    pcre = Formula["pcre"]

    cc_opt = "-I#{pcre.opt_include} -I#{openssl.opt_include}"
    ld_opt = "-L#{pcre.opt_lib} -L#{openssl.opt_lib}"

    args = %W[
      --prefix=#{prefix}
      --sbin-path=#{bin}/nginx
      --with-cc-opt=#{cc_opt}
      --with-ld-opt=#{ld_opt}
{'fraction_non_alphanumeric': 0.13214783821478382, 'fraction_numerical': 0.15132496513249652, 'mean_word_length': 3.6802610114192498, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6462664', 'n_tokens_mistral': 1448, 'n_tokens_neox': 1221, 'n_words': 203}