-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create recipes for Aviatrix VPN Client
- Loading branch information
Showing
2 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>Comment</key> | ||
<string>Created with Recipe Robot v2.3.0 (https://github.com/homebysix/recipe-robot)</string> | ||
<key>Description</key> | ||
<string>Downloads the latest version of Aviatrix VPN Client.</string> | ||
<key>Identifier</key> | ||
<string>com.github.homebysix.download.AviatrixVPNClient</string> | ||
<key>Input</key> | ||
<dict> | ||
<key>NAME</key> | ||
<string>AviatrixVPNClient</string> | ||
</dict> | ||
<key>MinimumVersion</key> | ||
<string>2.3</string> | ||
<key>Process</key> | ||
<array> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>filename</key> | ||
<string>%NAME%.pkg</string> | ||
<key>url</key> | ||
<string>https://s3-us-west-2.amazonaws.com/aviatrix-download/AviatrixVPNClient/AVPNC_mac.pkg</string> | ||
</dict> | ||
<key>Processor</key> | ||
<string>URLDownloader</string> | ||
</dict> | ||
<dict> | ||
<key>Processor</key> | ||
<string>EndOfCheckPhase</string> | ||
</dict> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>expected_authority_names</key> | ||
<array> | ||
<string>Developer ID Installer: Aviatrix Systems, Inc. (32953Z7NBN)</string> | ||
<string>Developer ID Certification Authority</string> | ||
<string>Apple Root CA</string> | ||
</array> | ||
<key>input_path</key> | ||
<string>%pathname%</string> | ||
</dict> | ||
<key>Processor</key> | ||
<string>CodeSignatureVerifier</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>Comment</key> | ||
<string>Created with Recipe Robot v2.3.0 (https://github.com/homebysix/recipe-robot)</string> | ||
<key>Description</key> | ||
<string>Downloads the latest version of Aviatrix VPN Client and imports it into Munki.</string> | ||
<key>Identifier</key> | ||
<string>com.github.homebysix.munki.AviatrixVPNClient</string> | ||
<key>Input</key> | ||
<dict> | ||
<key>MUNKI_REPO_SUBDIR</key> | ||
<string>apps/%NAME%</string> | ||
<key>NAME</key> | ||
<string>AviatrixVPNClient</string> | ||
<key>pkginfo</key> | ||
<dict> | ||
<key>blocking_applications</key> | ||
<array> | ||
<string>Aviatrix VPN Client.app</string> | ||
</array> | ||
<key>catalogs</key> | ||
<array> | ||
<string>testing</string> | ||
</array> | ||
<key>description</key> | ||
<string>Aviatrix VPN Client is a cloud-based virtual private network solution that uses OpenVPN.</string> | ||
<key>developer</key> | ||
<string>Aviatrix Systems</string> | ||
<key>display_name</key> | ||
<string>Aviatrix VPN Client</string> | ||
<key>name</key> | ||
<string>%NAME%</string> | ||
<key>preuninstall_script</key> | ||
<string>#!/bin/bash | ||
# Unload daemon | ||
DAEMON_ID="aviatrix.vpn.client.rp" | ||
if /bin/launchctl print "system/$DAEMON_ID" &>/dev/null; then | ||
/bin/launchctl bootout "system/$DAEMON_ID" | ||
fi | ||
</string> | ||
<key>unattended_install</key> | ||
<true/> | ||
<key>unattended_uninstall</key> | ||
<true/> | ||
</dict> | ||
</dict> | ||
<key>MinimumVersion</key> | ||
<string>2.3</string> | ||
<key>ParentRecipe</key> | ||
<string>com.github.homebysix.download.AviatrixVPNClient</string> | ||
<key>Process</key> | ||
<array> | ||
<dict> | ||
<key>Arguments</key> | ||
<dict> | ||
<key>pkg_path</key> | ||
<string>%pathname%</string> | ||
<key>repo_subdirectory</key> | ||
<string>%MUNKI_REPO_SUBDIR%</string> | ||
</dict> | ||
<key>Processor</key> | ||
<string>MunkiImporter</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |