<commit_before>class Openrtsp < Formula
  desc "Command-line RTSP client"
  homepage "http://www.live555.com/openRTSP"
  url "http://www.live555.com/liveMedia/public/live.2021.08.24.tar.gz"
  mirror "https://download.videolan.org/pub/videolan/testing/contrib/live555/live.2021.08.24.tar.gz"
  # Keep a mirror as upstream tarballs are removed after each version
  sha256 "ce95a1c79f6d18e959f9dc129b8529b711c60e76754acc285e60946303b923ec"
  license "LGPL-3.0-or-later"

  bottle do
    sha256 cellar: :any, arm64_monterey: "0cf9172bdeaee5b416338e01055474fb564ec224454beeca7286ede40349a1b4"
    sha256 cellar: :any, arm64_big_sur:  "037bd7b7f6b47749662992483a26c35707c8242bddfa35f58f2c7bb8d6d0da2e"
    sha256 cellar: :any, monterey:       "a365a4f82dc31d142d57fe1bfb5ee910719ce26fe50a30aaa605d028d68ba075"
    sha256 cellar: :any, big_sur:        "d6ae6c46e3e3917d3da47c3dfd1b9cd41830a2383ce561eea8f1270692cc1a6d"
    sha256 cellar: :any, catalina:       "afa2457a34179559b6e6a107826d22aea0e633543395a3d18a6206b0bf75c8e6"
    sha256 cellar: :any, mojave:         "3cfb1652550415fd0b7fb9e9c5ea6e1841dbc4b3b70910e0bb34866f8c8500fc"
  end

  depends_on "openssl@1.1"

  def install
    # Avoid linkage to system OpenSSL
    libs = [
      Formula["openssl@1.1"].opt_lib/"libcrypto.dylib",
      Formula["openssl@1.1"].opt_lib/"libssl.dylib",
    ]

    system "./genMakefiles", "macosx-no-openssl"
    system "make", "PREFIX=#{prefix}",
           "LIBS_FOR_CONSOLE_APPLICATION=#{libs.join(" ")}", "install"
<commit_msg>openrtsp 2021.11.01<commit_after>class Openrtsp < Formula
  desc "Command-line RTSP client"
  homepage "http://www.live555.com/openRTSP"
  url "http://www.live555.com/liveMedia/public/live.2021.11.01.tar.gz"
  mirror "https://download.videolan.org/pub/videolan/testing/contrib/live555/live.2021.11.01.tar.gz"
  # Keep a mirror as upstream tarballs are removed after each version
  sha256 "abb649a344a1e84538d44ecaf4bc8c65b01b3c698480bac4706fc3043f60eda5"
  license "LGPL-3.0-or-later"

  livecheck do
    url "http://www.live555.com/liveMedia/public/"
    regex(/href=.*?live[._-]v?(\d+(?:\.\d+)+)\.t/i)
  end

  bottle do
    sha256 cellar: :any, arm64_monterey: "0cf9172bdeaee5b416338e01055474fb564ec224454beeca7286ede40349a1b4"
    sha256 cellar: :any, arm64_big_sur:  "037bd7b7f6b47749662992483a26c35707c8242bddfa35f58f2c7bb8d6d0da2e"
    sha256 cellar: :any, monterey:       "a365a4f82dc31d142d57fe1bfb5ee910719ce26fe50a30aaa605d028d68ba075"
    sha256 cellar: :any, big_sur:        "d6ae6c46e3e3917d3da47c3dfd1b9cd41830a2383ce561eea8f1270692cc1a6d"
    sha256 cellar: :any, catalina:       "afa2457a34179559b6e6a107826d22aea0e633543395a3d18a6206b0bf75c8e6"
    sha256 cellar: :any, mojave:         "3cfb1652550415fd0b7fb9e9c5ea6e1841dbc4b3b70910e0bb34866f8c8500fc"
  end

  depends_on "openssl@1.1"

  def install
    # Avoid linkage to system OpenSSL
    libs = [
      Formula["openssl@1.1"].opt_lib/"libcrypto.dylib",
      Formula["openssl@1.1"].opt_lib/"libssl.dylib",
    ]

    system "./genMakefiles", "macosx-no-openssl"
    system "make", "PREFIX=#{prefix}",
           "LIBS_FOR_CONSOLE_APPLICATION=#{libs.join(" ")}", "install"

{'fraction_non_alphanumeric': 0.11262258778867447, 'fraction_numerical': 0.2170199304017716, 'mean_word_length': 4.636363636363637, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 5, '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': '7014746', 'n_tokens_mistral': 1751, 'n_tokens_neox': 1385, 'n_words': 169}