From cc9a67051cb811810a526c802eab129bc875ec8f Mon Sep 17 00:00:00 2001 From: Josh Hagins Date: Fri, 23 Jan 2015 23:31:14 -0500 Subject: [PATCH] Add iVPN (new cask) squash! Add iVPN (new cask) --- Casks/ivpn.rb | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Casks/ivpn.rb diff --git a/Casks/ivpn.rb b/Casks/ivpn.rb new file mode 100644 index 000000000000..64fc318f7b63 --- /dev/null +++ b/Casks/ivpn.rb @@ -0,0 +1,31 @@ +cask :v1 => 'ivpn' do + version '7.3.1' + sha256 '85f5e4fb9d09fabf13c08841aa1f35e64d44792b09fd521f49a5281a675d17f5' + + url "http://macserve.org.uk/downloads/ivpn/iVPN_#{version}.zip" + appcast 'http://macserve.org.uk:8090/profileInfo.php', + :sha256 => '6a4c9162b1b516b99e274b6c5cb2760a1b615de163395e639280639a785e0315' + name 'iVPN' + homepage 'http://macserve.org.uk/projects/ivpn/' + license :commercial + + app 'iVPN.app' + + uninstall :quit => [ + 'com.MacServe.iVPN', + 'com.MacServe.iVPN-Monitor' + ], + :launchctl => [ + 'com.MacServe.ivpnHelper', + 'com.macserve.ivpn', + 'com.macserve.ppp.l2tp', + 'com.macserve.ppp.pptp' + ] + + zap :delete => [ + '~/Library/Preferences/com.MacServe.iVPN.plist', + '/Library/LaunchDaemons/com.macserve.ppp.l2tp.plist', + '/Library/LaunchDaemons/com.macserve.ppp.pptp.plist', + '/private/etc/ppp/' + ] +end