<commit_before>class Nss < Formula
  desc "Libraries for security-enabled client and server applications"
  homepage "https://developer.mozilla.org/docs/NSS"
  url "https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_49_2_RTM/src/nss-3.49.2.tar.gz"
  sha256 "faa7502c3ce9240d4be2aa88f63d88cf7d1cc512060e63ef21a7813c236160b2"

  bottle do
    cellar :any
    sha256 "9d616968ba563fd40f14783968e37728c00e3791322010102a5865a18e87faa3" => :catalina
    sha256 "99f5e708e9491f7b4d60cd8579cc266d9977632863201b6b062433074f9bf9a8" => :mojave
    sha256 "b2b53491314199a32a9f293007601612aefe0ae469b574cc645ef3f1956081d0" => :high_sierra
  end

  depends_on "nspr"

  def install
    ENV.deparallelize
    cd "nss"

    args = %W[
      BUILD_OPT=1
      NSS_ALLOW_SSLKEYLOGFILE=1
      NSS_USE_SYSTEM_SQLITE=1
      NSPR_INCLUDE_DIR=#{Formula["nspr"].opt_include}/nspr
      NSPR_LIB_DIR=#{Formula["nspr"].opt_lib}
      USE_64=1
    ]

    # Remove the broken (for anyone but Firefox) install_name
    inreplace "coreconf/Darwin.mk", "-install_name @executable_path", "-install_name #{lib}"
    inreplace "lib/freebl/config.mk", "@executable_path", lib

    system "make", "all", *args

    # We need to use cp here because all files get cross-linked into the dist<commit_msg>nss: update 3.49.2 bottle.<commit_after>class Nss < Formula
  desc "Libraries for security-enabled client and server applications"
  homepage "https://developer.mozilla.org/docs/NSS"
  url "https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_49_2_RTM/src/nss-3.49.2.tar.gz"
  sha256 "faa7502c3ce9240d4be2aa88f63d88cf7d1cc512060e63ef21a7813c236160b2"

  bottle do
    cellar :any
    sha256 "139c7c657a9eaf32c45f999b8d4593d8eebee23dd30f8e9822cc0e64a7639cea" => :catalina
    sha256 "4f2248cbb274f7c45741512a0fa09f6f84b54e202ce86058dae97ab3001213b4" => :mojave
    sha256 "349bba0cd507fec437d4686638ef532283acf7dfda172262aff2677293a98bdc" => :high_sierra
  end

  depends_on "nspr"

  def install
    ENV.deparallelize
    cd "nss"

    args = %W[
      BUILD_OPT=1
      NSS_ALLOW_SSLKEYLOGFILE=1
      NSS_USE_SYSTEM_SQLITE=1
      NSPR_INCLUDE_DIR=#{Formula["nspr"].opt_include}/nspr
      NSPR_LIB_DIR=#{Formula["nspr"].opt_lib}
      USE_64=1
    ]

    # Remove the broken (for anyone but Firefox) install_name
    inreplace "coreconf/Darwin.mk", "-install_name @executable_path", "-install_name #{lib}"
    inreplace "lib/freebl/config.mk", "@executable_path", lib

    system "make", "all", *args

    # We need to use cp here because all files get cross-linked into the dist
{'fraction_non_alphanumeric': 0.09777082518576456, 'fraction_numerical': 0.15526007039499412, 'mean_word_length': 4.362683438155137, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '3895378', 'n_tokens_mistral': 1267, 'n_tokens_neox': 1038, 'n_words': 166}