<commit_before>class Wireshark < Formula
  desc "Graphical network analyzer and capture tool"
  homepage "https://www.wireshark.org"
  url "https://www.wireshark.org/download/src/all-versions/wireshark-3.4.0.tar.xz"
  mirror "https://1.na.dl.wireshark.org/src/wireshark-3.4.0.tar.xz"
  sha256 "67e4ebbd9153fc589fd67dc21b93176674c73adc3d5a43934c3ac69d8594a8ae"
  license "GPL-2.0-or-later"
  head "https://code.wireshark.org/review/wireshark.git"

  livecheck do
    url "https://www.wireshark.org/download.html"
    regex(/Stable Release \((\d+(?:\.\d+)*)/i)
  end

  bottle do
    sha256 "627062e15089a46b7d6b0ed64f0cfc313ddaaf5f5345b2d4f3810cf59ea00e1b" => :catalina
    sha256 "db14fef6082086fb82c0fa85a5860b1eedb024b30780f7893f24a151741641b2" => :mojave
    sha256 "f213f50e3647a89e73a93924d11d2f073636ff7bcc1caf6aeafd67de4d711ee4" => :high_sierra
  end

  depends_on "cmake" => :build
  depends_on "c-ares"
  depends_on "glib"
  depends_on "gnutls"
  depends_on "libgcrypt"
  depends_on "libmaxminddb"
  depends_on "libsmi"
  depends_on "libssh"
  depends_on "lua@5.1"
  depends_on "nghttp2"

  uses_from_macos "bison" => :build
  uses_from_macos "flex" => :build

  def install
    args = std_cmake_args + %W[
      -DENABLE_CARES=ON<commit_msg>wireshark: update 3.4.0 bottle.<commit_after>class Wireshark < Formula
  desc "Graphical network analyzer and capture tool"
  homepage "https://www.wireshark.org"
  url "https://www.wireshark.org/download/src/all-versions/wireshark-3.4.0.tar.xz"
  mirror "https://1.na.dl.wireshark.org/src/wireshark-3.4.0.tar.xz"
  sha256 "67e4ebbd9153fc589fd67dc21b93176674c73adc3d5a43934c3ac69d8594a8ae"
  license "GPL-2.0-or-later"
  head "https://code.wireshark.org/review/wireshark.git"

  livecheck do
    url "https://www.wireshark.org/download.html"
    regex(/Stable Release \((\d+(?:\.\d+)*)/i)
  end

  bottle do
    sha256 "ec8f3fca697c8006c322967327ed5c1a9dad4545fbd7e5cf6c2a9d564f4b1644" => :big_sur
    sha256 "627062e15089a46b7d6b0ed64f0cfc313ddaaf5f5345b2d4f3810cf59ea00e1b" => :catalina
    sha256 "db14fef6082086fb82c0fa85a5860b1eedb024b30780f7893f24a151741641b2" => :mojave
    sha256 "f213f50e3647a89e73a93924d11d2f073636ff7bcc1caf6aeafd67de4d711ee4" => :high_sierra
  end

  depends_on "cmake" => :build
  depends_on "c-ares"
  depends_on "glib"
  depends_on "gnutls"
  depends_on "libgcrypt"
  depends_on "libmaxminddb"
  depends_on "libsmi"
  depends_on "libssh"
  depends_on "lua@5.1"
  depends_on "nghttp2"

  uses_from_macos "bison" => :build
  uses_from_macos "flex" => :build

  def install
    args = std_cmake_args + %W[
      -DENABLE_CARES=ON
{'fraction_non_alphanumeric': 0.11762452107279693, 'fraction_numerical': 0.15555555555555556, 'mean_word_length': 4.639308855291577, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, 'https://': 10, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '71955', 'n_tokens_mistral': 1379, 'n_tokens_neox': 1216, 'n_words': 155}