Compare commits
4 Commits
SNC
..
8926281b51
| Author | SHA1 | Date | |
|---|---|---|---|
| 8926281b51 | |||
| 8872c2d5b0 | |||
| cb9c8fe318 | |||
| d51e8fce14 |
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user