From cb9c8fe318efc902f051081c63725875e1f47fb5 Mon Sep 17 00:00:00 2001 From: Oliver Surke Date: Thu, 21 May 2026 15:03:11 +0200 Subject: [PATCH] =?UTF-8?q?Formula/gpscripts.rb=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Formula/gpscripts.rb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Formula/gpscripts.rb diff --git a/Formula/gpscripts.rb b/Formula/gpscripts.rb new file mode 100644 index 0000000..0b2ba16 --- /dev/null +++ b/Formula/gpscripts.rb @@ -0,0 +1,28 @@ +class Gpscripts < Formula + desc "GlobalProtect Automation Scripts for macOS (gpstatus, gplogin, gpdisconnect, gpupdatepw)" + homepage "https://github.com/wrenchpilot/gpscripts" + url "https://github.com/wrenchpilot/gpscripts/archive/refs/heads/master.tar.gz" + version "0.0.0" + sha256 :no_check + + depends_on :macos + + def install + bin.install "gpstatus" + bin.install "gplogin" + bin.install "gpdisconnect" + bin.install "gpupdatepw" + doc.install "README.md" if File.exist?("README.md") + end + + def caveats + <<~EOS + gpscripts nutzt macOS Keychain für Credentials/Config (GlobalProtect / GlobalProtect-Config). + Das Setup (Username/Portal/Passwort) ist im Projekt-README beschrieben. + EOS + end + + test do + system "#{bin}/gpstatus", "--help" + end +end \ No newline at end of file