forked from beatlemike/autopkg-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EclipseTemurin8.download.recipe
85 lines (76 loc) · 2.62 KB
/
EclipseTemurin8.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
<?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 the current release version of Eclipse Temurin 8. This is the signed pkg version rather than the tar version, for those that require a signed package rather than accurate version number.
FEATURE_VERSION may be any valid whole number, e.g. 8, 11, 16, 17. See https://api.adoptium.net/v3/info/available_releases for available feature versions.
RELEASE_TYPE can be 'ga' (general availablility) or 'ea' (early access).
OS may be 'mac' or others.
ARCH may be 'x64' (or 'arm' for some builds).
IMAGE_TYPE may be 'jdk', 'jre', 'testimage', 'debugimage' or 'staticlibs'.
JVM_IMPLEMENTATION may be "hotspot", "openj9" or "dragonwell".
HEAP_SIZE may be 'normal' or 'large'.
VENDOR may be 'adoptopenjdk', 'openjdk', 'adoptium', 'alibaba', 'ibm'.
Note that not all options are available for all vendors, and not all listed vendors may be currently available.
</string>
<key>Identifier</key>
<string>com.github.beatlemike.download.EclipseTemurin8</string>
<key>Input</key>
<dict>
<key>ARCH</key>
<string>x64</string>
<key>FEATURE_VERSION</key>
<string>8</string>
<key>HEAP_SIZE</key>
<string>normal</string>
<key>IMAGE_TYPE</key>
<string>jdk</string>
<key>JVM_IMPLEMENTATION</key>
<string>hotspot</string>
<key>NAME</key>
<string>Eclipse Temurin 8</string>
<key>OS</key>
<string>mac</string>
<key>RELEASE_TYPE</key>
<string>ga</string>
<key>VENDOR</key>
<string>adoptium</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%VENDOR%-%FEATURE_VERSION%_%IMAGE_TYPE%_%OS%_%ARCH%_%JVM_IMPLEMENTATION%.pkg</string>
<key>url</key>
<string>https://api.adoptium.net/v3/installer/latest/%FEATURE_VERSION%/%RELEASE_TYPE%/%OS%/%ARCH%/%IMAGE_TYPE%/%JVM_IMPLEMENTATION%/%HEAP_SIZE%/%VENDOR%</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: Eclipse Foundation, Inc. (JCDTMS22B4)</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>