-
Notifications
You must be signed in to change notification settings - Fork 87
/
FortiClientVPN6.download.recipe
93 lines (93 loc) · 2.88 KB
/
FortiClientVPN6.download.recipe
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?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>Description</key>
<string>Downloads latest Forticlient VPN 6 disk image.</string>
<key>Identifier</key>
<string>com.github.dataJAR-recipes.download.forticlientvpn</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>ForticlientVPN6</string>
<key>SEARCH_URL</key>
<string>https://www.forticlient.com/downloads</string>
<key>USER_AGENT</key>
<string>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/600.8.9 (KHTML, like Gecko) Version/8.0.8 Safari/600.8.9</string>
</dict>
<key>MinimumVersion</key>
<string>1.1</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>DeprecationWarning</string>
<key>Arguments</key>
<dict>
<key>warning_message</key>
<string>FortiClient is only available via an Online Installer app, can no longer be mass deployed.</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>StopProcessingIf</string>
<key>Arguments</key>
<dict>
<key>predicate</key>
<string>TRUEPREDICATE</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLTextSearcher</string>
<key>Arguments</key>
<dict>
<key>url</key>
<string>%SEARCH_URL%</string>
<key>re_pattern</key>
<string>https://filestore.fortinet.com/forticlient/downloads/FortiClientVPNOnlineInstaller_6.[\S].dmg</string>
<key>request_headers</key>
<dict>
<key>user-agent</key>
<string>%USER_AGENT%</string>
</dict>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>url</key>
<string>%match%</string>
<key>filename</key>
<string>%NAME%.dmg</string>
<key>request_headers</key>
<dict>
<key>user-agent</key>
<string>%USER_AGENT%</string>
</dict>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: Fortinet, Inc (AH4XFXJ7DK)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
<key>input_path</key>
<string>%pathname%/install.mpkg</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
</array>
</dict>
</plist>