<commit_before>class Nginx < Formula
  desc "HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server"
  homepage "https://nginx.org/"
  # Use "mainline" releases only (odd minor version number), not "stable"
  # See https://www.nginx.com/blog/nginx-1-12-1-13-released/ for why
  url "https://nginx.org/download/nginx-1.19.2.tar.gz"
  sha256 "7c1f7bb13e79433ee930c597d272a64bc6e30c356a48524f38fd34fa88d62473"
  license "BSD-2-Clause"
  head "https://hg.nginx.org/nginx/", using: :hg

  bottle do
    sha256 "fb98bfedf3fa373c005273461cd91cc4ccb852fdc5f0da105afc8deee5f29fe6" => :catalina
    sha256 "4e41e59e1c6754f8dee0e982153580bca315bccd8056ed4a94c5740b6bf00965" => :mojave
    sha256 "10fa8750a01867ebd75fd2f4f1df06eb0613f9810900b7830a0f0a71b1187027" => :high_sierra
  end

  depends_on "openssl@1.1"
  depends_on "pcre"

  uses_from_macos "xz" => :build # for the tar command in the install step

  def install
    # keep clean copy of source for compiling dynamic modules e.g. passenger
    (pkgshare/"src").mkpath
    system "tar", "-cJf",
           (pkgshare/"src/src.tar.xz"),
           *("--options" if OS.mac?),
           *("compression-level=9" if OS.mac?), "."

    # Changes default port to 8080<commit_msg>nginx: update 1.19.2 bottle.<commit_after>class Nginx < Formula
  desc "HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server"
  homepage "https://nginx.org/"
  # Use "mainline" releases only (odd minor version number), not "stable"
  # See https://www.nginx.com/blog/nginx-1-12-1-13-released/ for why
  url "https://nginx.org/download/nginx-1.19.2.tar.gz"
  sha256 "7c1f7bb13e79433ee930c597d272a64bc6e30c356a48524f38fd34fa88d62473"
  license "BSD-2-Clause"
  head "https://hg.nginx.org/nginx/", using: :hg

  bottle do
    sha256 "fb98bfedf3fa373c005273461cd91cc4ccb852fdc5f0da105afc8deee5f29fe6" => :catalina
    sha256 "4e41e59e1c6754f8dee0e982153580bca315bccd8056ed4a94c5740b6bf00965" => :mojave
    sha256 "10fa8750a01867ebd75fd2f4f1df06eb0613f9810900b7830a0f0a71b1187027" => :high_sierra
    sha256 "eab4d2907a353e4fb608fa7c62c2b45ff568854e6773abcc5218bbc02642ddf6" => :x86_64_linux
  end

  depends_on "openssl@1.1"
  depends_on "pcre"

  uses_from_macos "xz" => :build # for the tar command in the install step

  def install
    # keep clean copy of source for compiling dynamic modules e.g. passenger
    (pkgshare/"src").mkpath
    system "tar", "-cJf",
           (pkgshare/"src/src.tar.xz"),
           *("--options" if OS.mac?),
           *("compression-level=9" if OS.mac?), "."

    # Changes default port to 8080
{'fraction_non_alphanumeric': 0.11739469578783152, 'fraction_numerical': 0.1673166926677067, 'mean_word_length': 3.9805825242718447, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, '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': '1150612', 'n_tokens_mistral': 1284, 'n_tokens_neox': 1053, 'n_words': 195}