4 Commits

2 changed files with 50 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
cask "servicenow-snc" do
version "1.1.3"
sha256 "ed8ba9d3940bb040b5942da31cd2da9240a2f987a9f9358ff724efe65a767815"
# HINWEIS: ServiceNow Store ist oft login-geschützt. Besser: internes Artefakt-Repo.
url "https://git.surke.de/os-mnemo/homebrew-homebrew/releases/download/SNC/snc-#{version}.zip",
verified: "git.surke.de/"
name "ServiceNow CLI (snc)"
desc "ServiceNow CLI installer for macOS"
homepage "https://www.servicenow.com/"
depends_on macos: ">= :catalina"
installer manual: "/Users/osurke/Downloads/snc-#{version}/snc-#{version}-osx-installer.app"
caveats <<~EOS
Run the installer and select "Add to PATH" when prompted (requires admin/root).
Then verify:
which snc # expected: /usr/local/bin/snc
snc version
EOS
end
+27
View File
@@ -0,0 +1,27 @@
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"
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