-
Notifications
You must be signed in to change notification settings - Fork 180
/
firefox-esr.sls
275 lines (269 loc) · 3.9 KB
/
firefox-esr.sls
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
# Firefox installs are available in many languages other than en-US
# See https://releases.mozilla.org/pub/firefox/releases/latest/README.txt
# for a list of possible installer language codes.
# To install Firefox in a particular language on a minion, set the value of
# `firefox:pkg:lang` to a language code in the master config file,
# minion pillar, grains or config file. See
# https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.config.html#salt.modules.config.get
#
# Since version 78.12.0 no version number is added to the full_name field
# See https://bugzilla.mozilla.org/show_bug.cgi?id=1713393
{%- set lang = salt['config.get']('firefox:pkg:lang', 'en-US') %}
{% load_yaml as versions -%}
# renovate: datasource=custom.firefox depName=firefox-esr packageName=FIREFOX_ESR
- '128.5.1'
- '128.5.0'
- '128.4.0'
- '128.3.1'
- '128.3.0'
- '115.16.1'
- '115.16.0'
- '115.15.0'
- '115.14.0'
- '115.13.0'
- '115.12.0'
- 115.11.0
- 115.10.0
- 115.9.1
- 115.9.0
- 115.8.0
- 115.7.0
- 115.6.0
- 115.5.0
- 115.4.0
- 115.3.1
- 115.3.0
- 115.2.1
- 115.2.0
- 115.1.0
- 115.0.3
- 115.0.2
- 115.0.1
- '115.0'
- 102.15.1
- 102.15.0
- 102.14.0
- 102.13.0
- 102.12.0
- 102.11.0
- 102.10.0
- 102.9.0
- 102.8.0
- 102.7.0
- 102.6.0
- 102.5.0
- 102.4.0
- 102.3.0
- 102.2.0
- 102.1.0
- 102.0.1
- '102.0'
- 91.13.0
- 91.12.0
- 91.11.0
- 91.10.0
- 91.9.1
- 91.9.0
- 91.8.0
- 91.7.1
- 91.7.0
- 91.6.1
- 91.6.0
- 91.5.1
- 91.5.0
- 91.4.1
- 91.4.0
- 91.3.0
- 91.2.0
- 91.1.0
- 91.0.1
- '91.0'
- 78.15.0
- 78.14.0
- 78.13.0
- 78.12.0
- 78.11.0
- 78.10.1
- 78.10.0
- 78.9.0
- 78.8.0
- 78.7.1
- 78.7.0
- 78.6.1
- 78.6.0
- 78.5.0
- 78.4.1
- 78.4.0
- 78.3.1
- 78.3.0
- 78.2.0
- 78.1.0
- 78.0.2
- 78.0.1
- '78.0'
- 68.12.0
- 68.11.0
- 68.10.0
- 68.9.0
- 68.8.0
- 68.7.0
- 68.6.1
- 68.6.0
- 68.5.0
- 68.4.2
- 68.4.1
- 68.4.0
- 68.3.0
- 68.2.0
- 68.1.0
- 68.0.2
- 68.0.1
- '68.0'
- 60.9.0
- 60.8.0
- 60.7.2
- 60.7.1
- 60.7.0
- 60.6.3
- 60.6.2
- 60.6.1
- 60.6.0
- 60.5.2
- 60.5.1
- 60.5.0
- 60.4.0
- 60.3.0
- 60.2.2
- 60.2.1
- 60.2.0
- 60.1.0
- 60.0.2
- 60.0.1
- '60.0'
- 52.9.0
- 52.8.1
- 52.8.0
- 52.7.4
- 52.7.3
- 52.7.2
- 52.7.1
- 52.7.0
- 52.6.0
- 52.5.3
- 52.5.2
- 52.5.0
- 52.4.1
- 52.4.0
- 52.3.0
- 52.2.1
- 52.2.0
- 52.1.2
- 52.1.1
- 52.1.0
- 52.0.2
- 52.0.1
- '52.0'
- 45.9.0
- 45.8.0
- 45.7.0
- 45.6.0
- 45.5.1
- 45.5.0
- 45.4.0
- 45.3.0
- 45.2.0
- 45.1.1
- 45.1.0
- 45.0.2
- 45.0.1
- '45.0'
{% endload -%}
{% load_yaml as x86_only -%}
- 38.8.0
- 38.7.1
- 38.7.0
- 38.6.1
- 38.6.0
- 38.5.2
- 38.5.1
- 38.5.0
- 38.4.0
- 38.3.0
- 38.2.1
- 38.2.0
- 38.1.1
- 38.1.0
- 38.0.1
- '38.0'
- 31.8.0
- 31.7.0
- 31.6.0
- 31.5.3
- 31.5.2
- 31.5.1
- 31.5.0
- 31.4.0
- 31.3.0
- 31.2.0
- 31.1.1
- 31.1.0
- '31.0'
- 24.8.1
- 24.8.0
- 24.7.0
- 24.6.0
- 24.5.0
- 24.4.0
- 24.3.0
- 24.2.0
- 24.1.1
- 24.1.0
- '24.0'
- 17.0.11
- 17.0.10
- 17.0.9
- 17.0.8
- 17.0.7
- 17.0.6
- 17.0.5
- 17.0.4
- 17.0.3
- 17.0.2
- 17.0.1
- '17.0'
- 10.0.12
- 10.0.11
- 10.0.10
- 10.0.9
- 10.0.8
- 10.0.7
- 10.0.6
- 10.0.5
- 10.0.4
- 10.0.3
- 10.0.2
- 10.0.1
- '10.0'
{% endload -%}
{% macro _get_program_files(exe_arch) -%}
{% if grains["cpuarch"] == "AMD64" and exe_arch == 86 -%}
%ProgramFiles(x86)%
{% else -%}
%ProgramFiles%
{% endif -%}
{% endmacro -%}
{% set arch_specific_versions = {64: versions, 86: versions + x86_only} -%}
{% for arch in 64, 86 -%}
firefox-esr_x{{ arch }}:
{%- for version in arch_specific_versions[arch] %}
'{{ version }}':
{% if salt["pkg.compare_versions"](version, "<", "78.12.0") -%}
{% set display_version = " " ~ version -%}
{% endif -%}
full_name: Mozilla Firefox{{ display_version|d }} ESR (x{{ arch }} {{ lang }})
installer: https://download-installer.cdn.mozilla.net/pub/firefox/releases/{{ version }}esr/win{{ 32 if arch == 86 else 64 }}/{{ lang }}/Firefox%20Setup%20{{ version }}esr.exe
install_flags: /S
uninstaller: '{{ _get_program_files(arch)|trim }}\Mozilla Firefox\uninstall\helper.exe'
uninstall_flags: /S
{%- endfor %}
{% endfor -%}