<commit_before>class GnuTar < Formula
  desc "GNU version of the tar archiving utility"
  homepage "https://www.gnu.org/software/tar/"
  url "https://ftpmirror.gnu.org/tar/tar-1.29.tar.gz"
  mirror "https://ftp.gnu.org/gnu/tar/tar-1.29.tar.gz"
  sha256 "cae466e6e58c7292355e7080248f244db3a4cf755f33f4fa25ca7f9a7ed09af0"
  revision 1

  bottle do
    sha256 "d87139778146e9fe39f5db5dcf020c51a5a8ed7528987e31ecd2a2a36ab239e2" => :sierra
    sha256 "ba2d4a54ae4abf2520b816d19373ed0a8bd0bb0e894b271d98ee1c7eba51af16" => :el_capitan
    sha256 "cb0a9258bfeb0530540af1748b37a4fe79cf07ec5848e7bce48c47d51289bdb7" => :yosemite
  end

  option "with-default-names", "Do not prepend 'g' to the binary"

  # CVE-2016-6321
  # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842339
  # https://sintonen.fi/advisories/tar-extract-pathname-bypass.txt
  patch do<commit_msg>gnu-tar: update 1.29_1 bottle for Linuxbrew.<commit_after>class GnuTar < Formula
  desc "GNU version of the tar archiving utility"
  homepage "https://www.gnu.org/software/tar/"
  url "https://ftpmirror.gnu.org/tar/tar-1.29.tar.gz"
  mirror "https://ftp.gnu.org/gnu/tar/tar-1.29.tar.gz"
  sha256 "cae466e6e58c7292355e7080248f244db3a4cf755f33f4fa25ca7f9a7ed09af0"
  revision 1

  bottle do
    sha256 "d87139778146e9fe39f5db5dcf020c51a5a8ed7528987e31ecd2a2a36ab239e2" => :sierra
    sha256 "ba2d4a54ae4abf2520b816d19373ed0a8bd0bb0e894b271d98ee1c7eba51af16" => :el_capitan
    sha256 "cb0a9258bfeb0530540af1748b37a4fe79cf07ec5848e7bce48c47d51289bdb7" => :yosemite
    sha256 "38857ffcb0b19956ce7b8277f2baf9db9b6b8fe88ff5f955b1492769981eaefa" => :x86_64_linux
  end

  option "with-default-names", "Do not prepend 'g' to the binary"

  # CVE-2016-6321
  # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842339
  # https://sintonen.fi/advisories/tar-extract-pathname-bypass.txt
  patch do
{'fraction_non_alphanumeric': 0.10768398268398269, 'fraction_numerical': 0.2261904761904762, 'mean_word_length': 5.102310231023102, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, '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': '1257783', 'n_tokens_mistral': 1069, 'n_tokens_neox': 853, 'n_words': 101}