<commit_before>class SstpClient < Formula
  desc "SSTP (Microsofts Remote Access Solution for PPP over SSL) client"
  homepage "https://sstp-client.sourceforge.io/"
  url "https://downloads.sourceforge.net/project/sstp-client/sstp-client/sstp-client-1.0.13.tar.gz"
  sha256 "961258fca0795d8ad60b047942cf7cb53d025d353fd1e4ba08c2b75799f5321b"
  license "GPL-2.0-or-later"
  version_scheme 1

  livecheck do
    url :stable
    regex(%r{url=.*?/sstp-client[._-]v?(\d+(?:\.\d+)+)\.t}i)
  end

  bottle do
    sha256 arm64_big_sur: "c0d8c3b433fbd9ece940977305d962542a5b5548d7798884fb375eeabd735cb9"
    sha256 big_sur:       "923965f4053281aed44dbf377dbbe624b31e38da8f9302370f178d735d8e6eb4"
    sha256 catalina:      "a51a6b4290efdecd167fcbdc4dc481fb4c1aeff00f280d4ca747158dbc2b5d47"
    sha256 mojave:        "ea8342928439b65db7face3b6e2291e5e8405714b87f461523834ef2d0b7fba5"
  end

  depends_on "pkg-config" => :build
  depends_on "libevent"
  depends_on "openssl@1.1"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--disable-ppp-plugin",
                          "--prefix=#{prefix}",
                          "--with-runtime-dir=#{var}/run/sstpc"
    system "make", "install"

    # Create a directory needed by sstpc for privilege separation
    (var/"run/sstpc").mkpath
  end

  def caveats
    <<~EOS
      sstpc reads PPP configuration options from /etc/ppp/options. If this file
      does not exist yet, type the following command to create it:

      sudo touch /etc/ppp/options
    EOS
  end

  test do
    system "#{sbin}/sstpc", "--version"
  end
end
<commit_msg>sstp-client: update 1.0.13 bottle.<commit_after>class SstpClient < Formula
  desc "SSTP (Microsofts Remote Access Solution for PPP over SSL) client"
  homepage "https://sstp-client.sourceforge.io/"
  url "https://downloads.sourceforge.net/project/sstp-client/sstp-client/sstp-client-1.0.13.tar.gz"
  sha256 "961258fca0795d8ad60b047942cf7cb53d025d353fd1e4ba08c2b75799f5321b"
  license "GPL-2.0-or-later"
  version_scheme 1

  livecheck do
    url :stable
    regex(%r{url=.*?/sstp-client[._-]v?(\d+(?:\.\d+)+)\.t}i)
  end

  bottle do
    sha256 arm64_big_sur: "c0d8c3b433fbd9ece940977305d962542a5b5548d7798884fb375eeabd735cb9"
    sha256 big_sur:       "923965f4053281aed44dbf377dbbe624b31e38da8f9302370f178d735d8e6eb4"
    sha256 catalina:      "a51a6b4290efdecd167fcbdc4dc481fb4c1aeff00f280d4ca747158dbc2b5d47"
    sha256 mojave:        "ea8342928439b65db7face3b6e2291e5e8405714b87f461523834ef2d0b7fba5"
    sha256 x86_64_linux:  "299c01c6247a80488208fa7780c9bcf776aca0e360279bfadd09d04e7eab6a1d"
  end

  depends_on "pkg-config" => :build
  depends_on "libevent"
  depends_on "openssl@1.1"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--disable-ppp-plugin",
                          "--prefix=#{prefix}",
                          "--with-runtime-dir=#{var}/run/sstpc"
    system "make", "install"

    # Create a directory needed by sstpc for privilege separation
    (var/"run/sstpc").mkpath
  end

  def caveats
    <<~EOS
      sstpc reads PPP configuration options from /etc/ppp/options. If this file
      does not exist yet, type the following command to create it:

      sudo touch /etc/ppp/options
    EOS
  end

  test do
    system "#{sbin}/sstpc", "--version"
  end
end

{'fraction_non_alphanumeric': 0.10759493670886076, 'fraction_numerical': 0.14384349827387802, 'mean_word_length': 3.0057603686635943, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '4701175', 'n_tokens_mistral': 1625, 'n_tokens_neox': 1362, 'n_words': 228}