forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappgate-sdp-client.rb
36 lines (31 loc) · 1.51 KB
/
appgate-sdp-client.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cask 'appgate-sdp-client' do
version '5.1.2'
sha256 '6b8d24110293e13b8cab58251e6a2bb3ceecc171ab04c7f7205fce352afe2521'
# bin.appgate-sdp.com/ was verified as official when first introduced to the cask
url "https://bin.appgate-sdp.com/#{version.major_minor}/client/AppGate-SDP-#{version}-Installer.dmg"
appcast "https://www.appgate.com/software-defined-perimeter/support/appgate-sdp-v#{version.major}-#{version.minor}"
name 'AppGate SDP Client for macOS'
homepage 'https://www.appgate.com/software-defined-perimeter/support'
depends_on macos: '>= :el_capitan'
pkg 'AppGate SDP Installer.pkg'
uninstall launchctl: [
'com.cyxtera.appgate.sdp.client.agent',
'com.cyxtera.appgate.sdp.helper',
'com.cyxtera.appgate.sdp.tun',
'com.cyxtera.appgate.sdp.updater',
],
quit: [
'com.cyxtera.appgate.helper',
'com.cyxtera.appgate.sdp',
],
signal: [
['QUIT', 'com.cyxtera.appgate'],
],
pkgutil: 'com.appgate.pkg.appgatetun.component'
zap trash: [
'~/Library/Application Support/appgate-ui',
'~/Library/Caches/com.cyxtera.appgate.sdp.uninstall',
'~/Library/Preferences/com.cyxtera.appgate.sdp*',
'~/Library/Saved Application State/com.cyxtera.appgate.sdp.savedState',
]
end