omnibus-software 23.2.281 → 23.6.291

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.buildkite/hooks/pre-command +9 -0
  3. data/.expeditor/Version_inspector/prod_default_version.json +1 -1
  4. data/.expeditor/software_upload.pipeline.yml +14 -10
  5. data/CHANGELOG.md +5 -1
  6. data/VERSION +1 -1
  7. data/config/patches/ruby/ruby-3.0.5-configure.patch +260 -0
  8. data/config/software/cpanminus.rb +2 -1
  9. data/config/software/elasticsearch.rb +6 -0
  10. data/config/software/erlang.rb +2 -0
  11. data/config/software/gecode.rb +2 -0
  12. data/config/software/gmp.rb +2 -0
  13. data/config/software/go.rb +2 -0
  14. data/config/software/libintl-perl.rb +2 -0
  15. data/config/software/libossp-uuid.rb +2 -0
  16. data/config/software/libsodium.rb +2 -0
  17. data/config/software/libuuid.rb +0 -1
  18. data/config/software/libxslt.rb +1 -1
  19. data/config/software/logrotate.rb +2 -0
  20. data/config/software/lua.rb +2 -0
  21. data/config/software/mpc.rb +2 -0
  22. data/config/software/mpfr.rb +2 -0
  23. data/config/software/nginx.rb +2 -0
  24. data/config/software/nodejs-binary.rb +3 -0
  25. data/config/software/openresty.rb +2 -0
  26. data/config/software/opensearch.rb +2 -0
  27. data/config/software/openssl.rb +8 -2
  28. data/config/software/patchelf.rb +4 -0
  29. data/config/software/perl-extutils-embed.rb +2 -1
  30. data/config/software/perl-extutils-makemaker.rb +2 -1
  31. data/config/software/perl-thread-queue.rb +2 -1
  32. data/config/software/perl.rb +2 -0
  33. data/config/software/perl_pg_driver.rb +2 -1
  34. data/config/software/pkg-config.rb +2 -0
  35. data/config/software/popt.rb +5 -1
  36. data/config/software/postgresql.rb +2 -0
  37. data/config/software/python.rb +2 -0
  38. data/config/software/redis.rb +2 -0
  39. data/config/software/rsync.rb +2 -0
  40. data/config/software/ruby-cleanup.rb +23 -6
  41. data/config/software/ruby-windows-devkit-bash.rb +2 -0
  42. data/config/software/ruby.rb +6 -1
  43. data/config/software/runit.rb +2 -1
  44. data/config/software/server-jre.rb +14 -7
  45. data/config/software/server-open-jre.rb +35 -1
  46. data/config/software/sqitch.rb +4 -0
  47. data/config/software/stunnel.rb +2 -0
  48. data/scripts/internal_sources.rb +2 -2
  49. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36bf57f73432072fe0c722468defd598aaa523287a7c9a69536e16a07aa4b8c0
4
- data.tar.gz: 2a4920d441619c76333085932d6aa5f0bc5b6638867d799aa2628e4b74a5fdb8
3
+ metadata.gz: da1f323d0ca318625d978c23b0594bce43125a5b41fee09ce116c56f1f551113
4
+ data.tar.gz: 95b8d2f10a30e19df8265b7f4609c719a0d24402c855846b0b45e6d128e9f02d
5
5
  SHA512:
6
- metadata.gz: 8628faec6137dac6ccd700f7ae5ae321505daecd9116b1647cd50bc48ed06443e651ba93793f81644603568a186267e1e7963bac2a074bfa4cc2e2add8b6b6ce
7
- data.tar.gz: a23467ed12d1ee71a38b475821c9cd3f03014cf41e67604341de3bca8962b105d2ba0c9488ad722bbf7b81a3f59a84bf05ed1c28bebb41368a443610ca69523b
6
+ metadata.gz: d3051479e3df52bb4b7372414455e744b88bdbaaa7d6b5b11dcd86438c35c9f1f93136e635bb20a55e716f7f07c00e5f571ec1046166dcf3db7b5f6fb67d082e
7
+ data.tar.gz: 8bde105e20967381cf64cf371d3c96cc6034fa5da1cacb9653a0d82a26eb0a9b4897f58ab16fcc99528fd4e6c539f7b6c88df79de26edf3f3774aa4a07122ec5
@@ -0,0 +1,9 @@
1
+ #!/bin/bash
2
+
3
+ set -eu
4
+
5
+ if [[ $BUILDKITE_ORGANIZATION_SLUG != "chef-oss" ]]; then
6
+ export VAULT_ADDR="https://vault.ps.chef.co"
7
+ export VAULT_TOKEN=$(vault login -method=aws -path=aws/private-cd -token-only header_value=vault.ps.chef.co role=ci)
8
+ export ARTIFACTORY_PASSWORD=$(vault kv get -field password account/static/artifactory/buildkite)
9
+ fi
@@ -91,7 +91,7 @@
91
91
  "rust-uninstall": "0.0.1" ,
92
92
  "rust": "1.37.0" ,
93
93
  "sequel-gem": "4.47.0" ,
94
- "server-open-jre": "11.0.16.1+1" ,
94
+ "server-open-jre": "11.0.18+10" ,
95
95
  "setuptools": "0.7.7" ,
96
96
  "shebang-cleanup": "0.0.2" ,
97
97
  "sqitch": "1.3.0" ,
@@ -1,13 +1,17 @@
1
1
  ---
2
2
  steps:
3
3
  - label: ":file_folder: upload software to internal sources"
4
- command: export PATH=/opt/omnibus-toolchain/bin/:$PATH && ./scripts/internal_sources.rb ./scripts/internal_sources.yml
5
- expeditor:
6
- executor:
7
- docker:
8
- image: chefes/omnibus-toolchain-ubuntu-2204-x86
9
- secrets:
10
- ARTIFACTORY_TOKEN:
11
- path: account/static/artifactory/buildkite
12
- field: token
13
-
4
+ agents:
5
+ queue: default
6
+ plugins:
7
+ - docker#v3.5.0:
8
+ image: chefes/omnibus-toolchain-ubuntu-2204-x86
9
+ shell:
10
+ - "/bin/bash"
11
+ - "-e"
12
+ - "-c"
13
+ propagate-environment: true
14
+ commands:
15
+ - export PATH=/opt/omnibus-toolchain/bin/:/app/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
16
+ && ./scripts/internal_sources.rb ./scripts/internal_sources.yml
17
+ timeout_in_minutes: 20
data/CHANGELOG.md CHANGED
@@ -3,8 +3,12 @@
3
3
  <!-- latest_release -->
4
4
  <!-- latest_release -->
5
5
 
6
- <!-- release_rollup -->
6
+ <!-- release_rollup since=23.2.283 -->
7
+ ### Changes since 23.2.283 release
7
8
  <!-- release_rollup -->
8
9
 
9
10
  <!-- latest_stable_release -->
11
+ ## [23.2.283](https://github.com/chef/omnibus-software/tree/23.2.283) (2023-02-20)
10
12
  <!-- latest_stable_release -->
13
+
14
+ ## [23.2.281](https://github.com/chef/omnibus-software/tree/23.2.281) (2023-02-06)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 23.2.281
1
+ 23.6.291
@@ -0,0 +1,260 @@
1
+ diff -ur ruby-3.0.1/configure.ac ruby-3.0.1-patched/configure.ac
2
+ --- ruby-3.0.1/configure.ac 2021-04-05 05:33:42.000000000 -0700
3
+ +++ ruby-3.0.1-patched/configure.ac 2021-04-09 12:42:35.578174106 -0700
4
+ @@ -544,11 +544,16 @@
5
+ rpathflag=`echo "$RPATHFLAG" | sed 's/%.*//'`
6
+ ])
7
+
8
+ -RUBY_TRY_CFLAGS(-fdeclspec, [
9
+ - RUBY_APPEND_OPTIONS(CC, -fdeclspec)
10
+ - RUBY_APPEND_OPTIONS(MJIT_CC, -fdeclspec)
11
+ +RUBY_TRY_LDFLAGS(-fdeclspec, [fdeclspec=yes], [fdeclspec=no])
12
+ +AS_IF([test "$fdeclspec" = yes], [
13
+ + RUBY_APPEND_OPTIONS(CFLAGS, -fdeclspec)
14
+ + RUBY_APPEND_OPTIONS(cflags, -fdeclspec)
15
+ + RUBY_APPEND_OPTIONS(orig_cflags, -fdeclspec)
16
+ +])
17
+ +RUBY_TRY_CXXFLAGS(-fdeclspec, [fdeclspec=yes], [fdeclspec=no])
18
+ +AS_IF([test "$fdeclspec" = yes], [
19
+ + RUBY_APPEND_OPTIONS(CXXFLAGS, -fdeclspec)
20
+ ])
21
+ -RUBY_TRY_CXXFLAGS(-fdeclspec, [RUBY_APPEND_OPTIONS(CXX, -fdeclspec)])
22
+
23
+ AS_CASE([$RUBY_PATCHLEVEL], [-*],
24
+ [RUBY_DEVEL=yes], [RUBY_DEVEL=no])
25
+ @@ -1494,7 +1499,9 @@
26
+ AC_DEFINE_UNQUOTED([RUBY_ALIAS_FUNCTION_VOID(prot, name, args)],
27
+ [RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)])
28
+ ])
29
+ +])
30
+
31
+ +{
32
+ AC_CACHE_CHECK([for __atomic builtins], [rb_cv_gcc_atomic_builtins], [
33
+ AC_TRY_LINK([unsigned int atomic_var;],
34
+ [
35
+ @@ -1525,7 +1532,6 @@
36
+ AS_IF([test "$rb_cv_gcc_sync_builtins" = yes], [
37
+ AC_DEFINE(HAVE_GCC_SYNC_BUILTINS)
38
+ ])
39
+ -])
40
+
41
+ AC_CACHE_CHECK(for __builtin_unreachable, rb_cv_func___builtin_unreachable,
42
+ [RUBY_WERROR_FLAG(
43
+ @@ -1538,6 +1544,7 @@
44
+ AS_IF([test "$rb_cv_func___builtin_unreachable" = yes], [
45
+ AC_DEFINE_UNQUOTED(UNREACHABLE, [__builtin_unreachable()])
46
+ ])
47
+ +}
48
+
49
+ AC_CACHE_CHECK(for exported function attribute, rb_cv_func_exported, [
50
+ rb_cv_func_exported=no
51
+ diff -ur ruby-3.0.1/template/Makefile.in ruby-3.0.1-patched/template/Makefile.in
52
+ --- ruby-3.0.1/template/Makefile.in 2021-04-05 05:33:42.000000000 -0700
53
+ +++ ruby-3.0.1-patched/template/Makefile.in 2021-04-09 12:42:35.579834751 -0700
54
+ @@ -75,7 +75,7 @@
55
+ CC_VERSION = @CC_VERSION@
56
+ OUTFLAG = @OUTFLAG@$(empty)
57
+ COUTFLAG = @COUTFLAG@$(empty)
58
+ -CPPOUTFLAG = $(COUTFLAG)
59
+ +CPPOUTFLAG = >
60
+ ARCH_FLAG = @ARCH_FLAG@
61
+ CFLAGS_NO_ARCH = @CFLAGS@
62
+ CFLAGS = $(CFLAGS_NO_ARCH) $(ARCH_FLAG)
63
+ diff -ur ruby-3.0.5/configure configure
64
+ --- ruby-3.0.5/configure 2022-11-24 12:04:58
65
+ +++ configure 2022-12-05 14:06:03
66
+ @@ -10384,6 +10384,8 @@
67
+ fi
68
+
69
+
70
+ + save_LDFLAGS="$LDFLAGS"
71
+ + LDFLAGS="$LDFLAGS -fdeclspec"
72
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -fdeclspec is accepted as CFLAGS" >&5
73
+ printf %s "checking whether -fdeclspec is accepted as CFLAGS... " >&6; }
74
+ save_CFLAGS="$CFLAGS"
75
+ @@ -10400,7 +10402,6 @@
76
+ fi
77
+ ac_c_werror_flag=yes
78
+
79
+ - CFLAGS="$CFLAGS -fdeclspec"
80
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81
+ /* end confdefs.h. */
82
+
83
+ @@ -10412,56 +10413,72 @@
84
+ return 0;
85
+ }
86
+ _ACEOF
87
+ -if ac_fn_c_try_compile "$LINENO"
88
+ +if ac_fn_c_try_link "$LINENO"; then :
89
+ + fdeclspec=yes
90
+ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
91
+ + printf "%s\n" "${msg_result_yes}yes${msg_reset}" >&6 ; }
92
+ +else $as_nop
93
+ + fdeclspec=no
94
+ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
95
+ + printf "%s\n" "${msg_result_no}no${msg_reset}" >&6 ; }
96
+ +fi
97
+ +rm -f core conftest.err conftest.$ac_objext \
98
+ + conftest$ac_exeext conftest.$ac_ext conftest.beam
99
+ +
100
+ +CFLAGS="$save_CFLAGS"
101
+ +save_CFLAGS=
102
+ +if test "${rb_c_werror_flag+set}"
103
+ then :
104
+
105
+ - # RUBY_APPEND_OPTIONS(CC)
106
+ + ac_c_werror_flag="$rb_c_werror_flag"
107
+ +
108
+ +else $as_nop
109
+ +
110
+ + unset ac_c_werror_flag
111
+ +
112
+ +fi
113
+ + LDFLAGS="$save_LDFLAGS"
114
+ + save_LDFLAGS=
115
+ +
116
+ +if test "$fdeclspec" = yes; then :
117
+ +
118
+ + # RUBY_APPEND_OPTIONS(CFLAGS)
119
+ for rb_opt in -fdeclspec; do
120
+ - case " ${CC-} " in #(
121
+ + case " ${CFLAGS-} " in #(
122
+ *" ${rb_opt} "*) :
123
+ ;; #(
124
+ ' ') :
125
+ - CC="${rb_opt}" ;; #(
126
+ + CFLAGS="${rb_opt}" ;; #(
127
+ *) :
128
+ - CC="$CC ${rb_opt}" ;;
129
+ + CFLAGS="$CFLAGS ${rb_opt}" ;;
130
+ esac
131
+ done
132
+ - # RUBY_APPEND_OPTIONS(MJIT_CC)
133
+ + # RUBY_APPEND_OPTIONS(cflags)
134
+ for rb_opt in -fdeclspec; do
135
+ - case " ${MJIT_CC-} " in #(
136
+ + case " ${cflags-} " in #(
137
+ *" ${rb_opt} "*) :
138
+ ;; #(
139
+ ' ') :
140
+ - MJIT_CC="${rb_opt}" ;; #(
141
+ + cflags="${rb_opt}" ;; #(
142
+ *) :
143
+ - MJIT_CC="$MJIT_CC ${rb_opt}" ;;
144
+ + cflags="$cflags ${rb_opt}" ;;
145
+ esac
146
+ done
147
+ + # RUBY_APPEND_OPTIONS(orig_cflags)
148
+ + for rb_opt in -fdeclspec; do
149
+ + case " ${orig_cflags-} " in #(
150
+ + *" ${rb_opt} "*) :
151
+ + ;; #(
152
+ + ' ') :
153
+ + orig_cflags="${rb_opt}" ;; #(
154
+ + *) :
155
+ + orig_cflags="$orig_cflags ${rb_opt}" ;;
156
+ +esac
157
+ + done
158
+
159
+ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
160
+ - printf "%s\n" "${msg_result_yes}yes${msg_reset}" >&6 ; }
161
+ -else $as_nop
162
+ -
163
+ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
164
+ - printf "%s\n" "${msg_result_no}no${msg_reset}" >&6 ; }
165
+ fi
166
+ -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
167
+
168
+ -CFLAGS="$save_CFLAGS"
169
+ -save_CFLAGS=
170
+ -if test "${rb_c_werror_flag+set}"
171
+ -then :
172
+
173
+ - ac_c_werror_flag="$rb_c_werror_flag"
174
+ -
175
+ -else $as_nop
176
+ -
177
+ - unset ac_c_werror_flag
178
+ -
179
+ -fi
180
+ -
181
+ -
182
+ -
183
+ save_CXXFLAGS="$CXXFLAGS"
184
+ CXXFLAGS="$CXXFLAGS -fdeclspec"
185
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -fdeclspec is accepted as CXXFLAGS" >&5
186
+ @@ -10499,21 +10516,11 @@
187
+ _ACEOF
188
+ if ac_fn_cxx_try_link "$LINENO"
189
+ then :
190
+ - # RUBY_APPEND_OPTIONS(CXX)
191
+ - for rb_opt in -fdeclspec; do
192
+ - case " ${CXX-} " in #(
193
+ - *" ${rb_opt} "*) :
194
+ - ;; #(
195
+ - ' ') :
196
+ - CXX="${rb_opt}" ;; #(
197
+ - *) :
198
+ - CXX="$CXX ${rb_opt}" ;;
199
+ -esac
200
+ - done
201
+ + fdeclspec=yes
202
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
203
+ printf "%s\n" "${msg_result_yes}yes${msg_reset}" >&6 ; }
204
+ else $as_nop
205
+ -
206
+ + fdeclspec=no
207
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
208
+ printf "%s\n" "${msg_result_no}no${msg_reset}" >&6 ; }
209
+ fi
210
+ @@ -10541,7 +10548,22 @@
211
+ CXXFLAGS="$save_CXXFLAGS"
212
+ save_CXXFLAGS=
213
+
214
+ +if test "$fdeclspec" = yes; then :
215
+
216
+ + # RUBY_APPEND_OPTIONS(CXXFLAGS)
217
+ + for rb_opt in -fdeclspec; do
218
+ + case " ${CXXFLAGS-} " in #(
219
+ + *" ${rb_opt} "*) :
220
+ + ;; #(
221
+ + ' ') :
222
+ + CXXFLAGS="${rb_opt}" ;; #(
223
+ + *) :
224
+ + CXXFLAGS="$CXXFLAGS ${rb_opt}" ;;
225
+ +esac
226
+ + done
227
+ +
228
+ +fi
229
+ +
230
+ case $RUBY_PATCHLEVEL in #(
231
+ -*) :
232
+ RUBY_DEVEL=yes ;; #(
233
+ @@ -20529,6 +20551,9 @@
234
+
235
+ fi
236
+
237
+ +fi
238
+ +
239
+ +{
240
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __atomic builtins" >&5
241
+ printf %s "checking for __atomic builtins... " >&6; }
242
+ if test ${rb_cv_gcc_atomic_builtins+y}
243
+ @@ -20616,8 +20641,6 @@
244
+
245
+ fi
246
+
247
+ -fi
248
+ -
249
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_unreachable" >&5
250
+ printf %s "checking for __builtin_unreachable... " >&6; }
251
+ if test ${rb_cv_func___builtin_unreachable+y}
252
+ @@ -20680,6 +20703,7 @@
253
+
254
+
255
+ fi
256
+ +}
257
+
258
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exported function attribute" >&5
259
+ printf %s "checking for exported function attribute... " >&6; }
260
+
@@ -31,7 +31,8 @@ version("1.7040") { source sha256: "48a747c040689445f7db0edd169da0abd709a37cfece
31
31
  version("1.7004") { source sha256: "5cef499d12418a877c68070fc14193bd700d47a286d95e16c517f9673493af79" }
32
32
 
33
33
  source url: "https://github.com/miyagawa/cpanminus/archive/#{version}.tar.gz"
34
-
34
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
35
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
35
36
  relative_path "cpanminus-#{version}"
36
37
 
37
38
  build do
@@ -24,6 +24,8 @@ license_file "LICENSE.txt"
24
24
  skip_transitive_dependency_licensing true
25
25
 
26
26
  source url: "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-#{version}.tar.gz"
27
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
28
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
27
29
  relative_path "elasticsearch-#{version}"
28
30
 
29
31
  version "5.6.16" do
@@ -33,11 +35,15 @@ end
33
35
  version "6.8.22" do
34
36
  source url: "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-#{version}.tar.gz",
35
37
  sha256: "836a50df324a98837dcadbc7d55782cc9525f15cc6a8aa0c657e199667ebb996"
38
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
39
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
36
40
  end
37
41
 
38
42
  version "6.8.23" do
39
43
  source url: "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-#{version}.tar.gz",
40
44
  sha256: "60e77b5ca3ce11771469bcc2e009c49c8aadb831faebd170e7abcedc16b3e36d"
45
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
46
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
41
47
  end
42
48
 
43
49
  target_path = "#{install_dir}/embedded/elasticsearch"
@@ -28,6 +28,8 @@ dependency "config_guess"
28
28
 
29
29
  # grab from github so we can get patch releases if we need to
30
30
  source url: "https://github.com/erlang/otp/archive/OTP-#{version}.tar.gz"
31
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
32
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
31
33
  relative_path "otp-OTP-#{version}"
32
34
 
33
35
  # versions_list: https://github.com/erlang/otp/tags filter=*.tar.gz
@@ -32,6 +32,8 @@ version("5.1.0") { source sha256: "77863f4638c6b77d24a29bf6aeac370c56cd808fe9aab
32
32
  version("4.4.0") { source sha256: "ca261c6c876950191d4ec2f277e5bfee1c3eae8a81af9b5c970d9b0c2930db37" }
33
33
 
34
34
  source url: "https://github.com/Gecode/gecode/archive/refs/tags/release-#{version}.tar.gz"
35
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
36
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
35
37
 
36
38
  relative_path "gecode-release-#{version}"
37
39
 
@@ -24,6 +24,8 @@ version("6.1.0") { source sha256: "498449a994efeba527885c10405993427995d3f86b87
24
24
  version("6.0.0a") { source sha256: "7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf" }
25
25
 
26
26
  source url: "https://ftp.gnu.org/gnu/gmp/gmp-#{version}.tar.bz2"
27
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.bz2",
28
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
27
29
 
28
30
  if version == "6.0.0a"
29
31
  # version 6.0.0a expands to 6.0.0
@@ -108,6 +108,8 @@ else
108
108
  end
109
109
 
110
110
  source url: "https://dl.google.com/go/go#{version}.%{platform}-%{arch}.%{ext}" % { platform: platform, arch: arch, ext: ext }
111
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.%{platform}-%{arch}.%{ext}",
112
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
111
113
 
112
114
  build do
113
115
  # We do not use 'sync' since we've found multiple errors with other software definitions
@@ -45,6 +45,8 @@ version("1.32") { source sha256: "80108298f2564ecbfc7110a3042008e665ed00c2e155b3
45
45
  version("1.23") { source sha256: "60da16356c2fa89a0c542c825d626c8c2811202b6002b56d8574b928a1379ffa" }
46
46
 
47
47
  source url: "https://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-#{version}.tar.gz"
48
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
49
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
48
50
 
49
51
  relative_path "libintl-perl-#{version}"
50
52
 
@@ -29,6 +29,8 @@ version("1.6.2") { source sha256: "11a615225baa5f8bb686824423f50e4427acd3f70d394
29
29
 
30
30
  # ftp on ftp.ossp.org is unavaiable so we must use another mirror site.
31
31
  source url: "https://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/uuid-#{version}.tar.gz"
32
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
33
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
32
34
 
33
35
  relative_path "uuid-#{version}"
34
36
 
@@ -29,6 +29,8 @@ version("1.0.17") { source sha256: "0cc3dae33e642cc187b5ceb467e0ad0e1b51dcba577d
29
29
  version("1.0.18") { source sha256: "6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1" }
30
30
 
31
31
  source url: "https://download.libsodium.org/libsodium/releases/libsodium-#{version}.tar.gz"
32
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
33
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
32
34
 
33
35
  relative_path "libsodium-#{version}"
34
36
 
@@ -23,7 +23,6 @@ license "LGPL-2.1"
23
23
  license_file "COPYING"
24
24
 
25
25
  source url: "https://www.kernel.org/pub/linux/utils/util-linux/v#{version}/util-linux-#{version}.tar.gz"
26
-
27
26
  # We use the version in util-linux, and only build the libuuid subdirectory
28
27
  version "2.27.1" do
29
28
  source md5: "e9c73747eadf5201b2a198530add4f87",
@@ -15,7 +15,7 @@
15
15
  #
16
16
 
17
17
  name "libxslt"
18
- default_version "1.1.37"
18
+ default_version "1.1.35"
19
19
 
20
20
  license "MIT"
21
21
  license_file "COPYING"
@@ -24,6 +24,8 @@ skip_transitive_dependency_licensing true
24
24
  dependency "popt"
25
25
 
26
26
  source url: "https://github.com/logrotate/logrotate/archive/#{version}.tar.gz"
27
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
28
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
27
29
 
28
30
  # versions_list: https://github.com/logrotate/logrotate/tags filter=*.tar.gz
29
31
 
@@ -29,6 +29,8 @@ license_file "https://www.lua.org/license.html"
29
29
  skip_transitive_dependency_licensing true
30
30
 
31
31
  source url: "https://www.lua.org/ftp/lua-#{version}.tar.gz"
32
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
33
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
32
34
 
33
35
  relative_path "lua-#{version}"
34
36
 
@@ -31,6 +31,8 @@ version("1.2.1") { source sha256: "17503d2c395dfcf106b622dc142683c1199431d095367
31
31
  version("1.1.0") { source sha256: "6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e" }
32
32
 
33
33
  source url: "https://ftp.gnu.org/gnu/mpc/mpc-#{version}.tar.gz"
34
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
35
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
34
36
 
35
37
  relative_path "mpc-#{version}"
36
38
 
@@ -31,6 +31,8 @@ version("3.1.3") { source sha256: "b87feae279e6da95a0b45eabdb04f3a35422dab0d3011
31
31
  version("3.1.2") { source sha256: "176043ec07f55cd02e91ee3219db141d87807b322179388413a9523292d2ee85" }
32
32
 
33
33
  source url: "https://ftp.gnu.org/gnu/mpfr/mpfr-#{version}.tar.gz"
34
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
35
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
34
36
 
35
37
  relative_path "mpfr-#{version}"
36
38
 
@@ -26,6 +26,8 @@ license "BSD-2-Clause"
26
26
  license_file "LICENSE"
27
27
 
28
28
  source url: "https://nginx.org/download/nginx-#{version}.tar.gz"
29
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
30
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
29
31
 
30
32
  # versions_list: https://nginx.org/download/ filter=*.tar.gz
31
33
  version("1.21.4") { source sha256: "d1f72f474e71bcaaf465dcc7e6f7b6a4705e4b1ed95c581af31df697551f3bfe" }
@@ -82,6 +82,9 @@ arch_ext = if ppc64le?
82
82
  end
83
83
 
84
84
  source url: "https://nodejs.org/dist/v#{version}/node-v#{version}-linux-#{arch_ext}.tar.gz"
85
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
86
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
87
+
85
88
  relative_path "node-v#{version}-linux-#{arch_ext}"
86
89
 
87
90
  build do
@@ -37,6 +37,8 @@ version("1.13.6.2") { source sha256: "946e1958273032db43833982e2cec0766154a9b
37
37
  version("1.11.2.5") { source sha256: "f8cc203e8c0fcd69676f65506a3417097fc445f57820aa8e92d7888d8ad657b9" }
38
38
 
39
39
  source url: "https://openresty.org/download/openresty-#{version}.tar.gz"
40
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
41
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
40
42
 
41
43
  relative_path "openresty-#{version}"
42
44
 
@@ -23,6 +23,8 @@ license_file "LICENSE.txt"
23
23
  skip_transitive_dependency_licensing true
24
24
 
25
25
  source url: "https://artifacts.opensearch.org/releases/bundle/opensearch/#{version}/opensearch-#{version}-linux-x64.tar.gz"
26
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
27
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
26
28
  relative_path "opensearch-#{version}"
27
29
 
28
30
  # versions_list:https://opensearch.org/docs/latest/version-history/
@@ -23,7 +23,7 @@ skip_transitive_dependency_licensing true
23
23
  dependency "cacerts"
24
24
  dependency "openssl-fips" if fips_mode?
25
25
 
26
- default_version "1.0.2zb" # do_not_auto_update
26
+ default_version "1.0.2zg" # do_not_auto_update
27
27
 
28
28
  # Openssl builds engines as libraries into a special directory. We need to include
29
29
  # that directory in lib_dirs so omnibus can sign them during macOS deep signing.
@@ -52,11 +52,13 @@ version("3.0.5") { source sha256: "aa7d8d9bef71ad6525c55ba11e5f4397889ce49c2c9
52
52
  version("3.0.4") { source sha256: "2831843e9a668a0ab478e7020ad63d2d65e51f72977472dc73efcefbafc0c00f" }
53
53
  version("3.0.3") { source sha256: "ee0078adcef1de5f003c62c80cc96527721609c6f3bb42b7795df31f8b558c0b" }
54
54
  version("3.0.1") { source sha256: "c311ad853353bce796edad01a862c50a8a587f62e7e2100ef465ab53ec9b06d1" } # only ruby 3.1 supports openssl-3.0.1
55
+ version("1.1.1t") { source sha256: "8dee9b24bdb1dcbf0c3d1e9b02fb8f6bf22165e807f45adeb7c9677536859d3b" }
55
56
  version("1.1.1q") { source sha256: "d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca" }
56
57
  version("1.1.1p") { source sha256: "bf61b62aaa66c7c7639942a94de4c9ae8280c08f17d4eac2e44644d9fc8ace6f" }
57
58
  version("1.1.1o") { source sha256: "9384a2b0570dd80358841464677115df785edb941c71211f75076d72fe6b438f" }
58
59
  version("1.1.1m") { source sha256: "f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96" }
59
60
  version("1.1.1l") { source sha256: "0b7a3e5e59c34827fe0c3a74b7ec8baef302b98fa80088d7f9153aa16fa76bd1" }
61
+ version("1.0.2zg") { source sha256: "09f8372eaede77ec8e6945e2d2d8eeb1b91662980cf23fe95f627b377162296c" }
60
62
  version("1.0.2zb") { source sha256: "b7d8f8c895279caa651e7f3de9a7b87b8dd01a452ca3d9327f45a9ef31d0c518" }
61
63
  version("1.0.2za") { source sha256: "86ec5d2ecb53839e9ec999db7f8715d0eb7e534d8a1d8688ef25280fbeee2ff8" }
62
64
 
@@ -97,7 +99,11 @@ build do
97
99
  # https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/
98
100
  configure_args += [ "-DOPENSSL_TRUSTED_FIRST_DEFAULT" ] if version.satisfies?(">= 1.0.2zb") && version.satisfies?("< 1.1.0")
99
101
 
100
- configure_args += ["--with-fipsdir=#{install_dir}/embedded", "fips"] if fips_mode?
102
+ if version.satisfies?("< 3.0.0")
103
+ configure_args += ["--with-fipsdir=#{install_dir}/embedded", "fips"] if fips_mode?
104
+ else
105
+ configure_args += ["-enable-fips"] if fips_mode?
106
+ end
101
107
 
102
108
  configure_cmd =
103
109
  if aix?
@@ -54,8 +54,12 @@ end
54
54
 
55
55
  if version.satisfies?(">= 0.12")
56
56
  source url: "https://github.com/NixOS/patchelf/releases/download/#{version}/patchelf-#{version}.tar.gz"
57
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
58
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
57
59
  else
58
60
  source url: "https://nixos.org/releases/patchelf/patchelf-#{version}/patchelf-#{version}.tar.gz"
61
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
62
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
59
63
  end
60
64
 
61
65
  build do
@@ -22,7 +22,8 @@ dependency "perl"
22
22
 
23
23
  source url: "http://search.cpan.org/CPAN/authors/id/D/DO/DOUGM/ExtUtils-Embed-#{version}.tar.gz",
24
24
  md5: "b2a2c26a18bca3ce69f8a0b1b54a0105"
25
-
25
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
26
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
26
27
  relative_path "ExtUtils-Embed-#{version}"
27
28
 
28
29
  build do
@@ -31,7 +31,8 @@ version "7.10" do
31
31
  end
32
32
 
33
33
  source url: "http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-#{version}.tar.gz"
34
-
34
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
35
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
35
36
  relative_path "ExtUtils-MakeMaker-#{version}"
36
37
 
37
38
  build do
@@ -25,7 +25,8 @@ version "3.13" do
25
25
  end
26
26
 
27
27
  source url: "http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/Thread-Queue-#{version}.tar.gz"
28
-
28
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
29
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
29
30
  relative_path "Thread-Queue-#{version}"
30
31
 
31
32
  build do
@@ -31,6 +31,8 @@ version("5.30.0") { source sha256: "851213c754d98ccff042caa40ba7a796b2cee88c5325
31
31
  version("5.22.1") { source sha256: "2b475d0849d54c4250e9cba4241b7b7291cffb45dfd083b677ca7b5d38118f27" }
32
32
  version("5.18.1") { source sha256: "655e11a8ffba8853efcdce568a142c232600ed120ac24aaebb4e6efe74e85b2b" }
33
33
  source url: "https://www.cpan.org/src/5.0/perl-#{version}.tar.gz"
34
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
35
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
34
36
 
35
37
  # perl builds perl as libraries into a special directory. We need to include
36
38
  # that directory in lib_dirs so omnibus can sign them during macOS deep signing.
@@ -35,7 +35,8 @@ version("3.5.3") { source sha256: "7e98a9b975256a4733db1c0e974cad5ad5cb82148932
35
35
  version("3.3.0") { source sha256: "52f43de5b2d916d447d7ed252b127f728b226dc88db57d4fe9712e21d3586ffe" }
36
36
 
37
37
  source url: "https://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/DBD-Pg-#{version}.tar.gz"
38
-
38
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
39
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
39
40
  relative_path "DBD-Pg-#{version}"
40
41
 
41
42
  build do
@@ -26,6 +26,8 @@ dependency "config_guess"
26
26
  version("0.28") { source sha256: "6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845" }
27
27
 
28
28
  source url: "https://pkgconfig.freedesktop.org/releases/pkg-config-#{version}.tar.gz"
29
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
30
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
29
31
 
30
32
  relative_path "pkg-config-#{version}"
31
33
 
@@ -29,9 +29,13 @@ version("1.18") { source sha256: "5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece
29
29
  version("1.16") { source sha256: "e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8" }
30
30
 
31
31
  if version == "1.16"
32
- source url: "ftp://anduin.linuxfromscratch.org/BLFS/popt/popt-#{version}.tar.gz"
32
+ source url: "https://src.fedoraproject.org/repo/pkgs/popt/popt-#{version}.tar.gz/3743beefa3dd6247a73f8f7a32c14c33/popt-#{version}.tar.gz"
33
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
34
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
33
35
  else
34
36
  source url: "http://ftp.rpm.org/popt/releases/popt-1.x/popt-#{version}.tar.gz"
37
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
38
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
35
39
  end
36
40
 
37
41
  relative_path "popt-#{version}"
@@ -48,6 +48,8 @@ version("9.6.22") { source sha256: "3d32cd101025a0556813397c69feff3df3d63736adb8
48
48
  version("9.3.25") { source sha256: "e4953e80415d039ccd33d34be74526a090fd585cf93f296cd9c593972504b6db" }
49
49
 
50
50
  source url: "https://ftp.postgresql.org/pub/source/v#{version}/postgresql-#{version}.tar.bz2"
51
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
52
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
51
53
 
52
54
  relative_path "postgresql-#{version}"
53
55
 
@@ -43,6 +43,8 @@ version("2.7.14") { source sha256: "304c9b202ea6fbd0a4a8e0ad3733715fbd4749f2204a
43
43
  version("2.7.9") { source sha256: "c8bba33e66ac3201dabdc556f0ea7cfe6ac11946ec32d357c4c6f9b018c12c5b" }
44
44
 
45
45
  source url: "https://python.org/ftp/python/#{version}/Python-#{version}.tgz"
46
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
47
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
46
48
 
47
49
  relative_path "Python-#{version}"
48
50
  major_version, minor_version = version.split(".")
@@ -33,6 +33,8 @@ version("6.2.5") { source sha256: "4b9a75709a1b74b3785e20a6c158cab94cf52298aa381
33
33
  version("5.0.14") { source sha256: "3ea5024766d983249e80d4aa9457c897a9f079957d0fb1f35682df233f997f32" }
34
34
 
35
35
  source url: "https://download.redis.io/releases/redis-#{version}.tar.gz"
36
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
37
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
36
38
 
37
39
  relative_path "redis-#{version}"
38
40
 
@@ -40,6 +40,8 @@ version "2.6.9" do
40
40
  end
41
41
 
42
42
  source url: "https://rsync.samba.org/ftp/rsync/src/rsync-#{version}.tar.gz"
43
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
44
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
43
45
 
44
46
  relative_path "rsync-#{version}"
45
47
 
@@ -26,7 +26,7 @@ default_version "1.0.0"
26
26
  license :project_license
27
27
  skip_transitive_dependency_licensing true
28
28
 
29
- dependency "ruby"
29
+ dependency "zlib" # just so we clear health-check & zlib is ruby dependency
30
30
 
31
31
  build do
32
32
  env = with_standard_compiler_flags(with_embedded_path)
@@ -39,7 +39,10 @@ build do
39
39
  # except AIX which uses them at runtime.
40
40
  unless aix?
41
41
  block "Remove static libraries" do
42
- gemdir = shellout!("#{install_dir}/embedded/bin/gem environment gemdir", env: env).stdout.chomp
42
+ gemfile = "#{install_dir}/embedded/bin/gem"
43
+ next unless File.exist?(gemfile)
44
+
45
+ gemdir = shellout!("#{gemfile} environment gemdir", env: env).stdout.chomp
43
46
 
44
47
  # find all the static *.a files and delete them
45
48
  Dir.glob("#{gemdir}/**/*.a").each do |f|
@@ -51,7 +54,10 @@ build do
51
54
 
52
55
  # Clear the now-unnecessary git caches, docs, and build information
53
56
  block "Delete bundler git cache, docs, and build info" do
54
- gemdir = shellout!("#{install_dir}/embedded/bin/gem environment gemdir", env: env).stdout.chomp
57
+ gemfile = "#{install_dir}/embedded/bin/gem"
58
+ next unless File.exist?(gemfile)
59
+
60
+ gemdir = shellout!("#{gemfile} environment gemdir", env: env).stdout.chomp
55
61
 
56
62
  remove_directory "#{gemdir}/cache"
57
63
  remove_directory "#{gemdir}/doc"
@@ -59,7 +65,10 @@ build do
59
65
  end
60
66
 
61
67
  block "Remove bundler gem caches" do
62
- gemdir = shellout!("#{install_dir}/embedded/bin/gem environment gemdir", env: env).stdout.chomp
68
+ gemfile = "#{install_dir}/embedded/bin/gem"
69
+ next unless File.exist?(gemfile)
70
+
71
+ gemdir = shellout!("#{gemfile} environment gemdir", env: env).stdout.chomp
63
72
 
64
73
  Dir.glob("#{gemdir}/bundler/gems/**").each do |f|
65
74
  puts "Deleting #{f}"
@@ -69,6 +78,8 @@ build do
69
78
 
70
79
  block "Remove leftovers from compiling gems" do
71
80
  # find the embedded ruby gems dir and clean it up for globbing
81
+ next unless File.directory?("#{install_dir}/embedded/lib/ruby/gems")
82
+
72
83
  target_dir = "#{install_dir}/embedded/lib/ruby/gems/*/".tr("\\", "/")
73
84
 
74
85
  # find gem_make.out and mkmf.log files
@@ -89,7 +100,10 @@ build do
89
100
  delete "#{install_dir}/embedded/info"
90
101
 
91
102
  block "Remove leftovers from compiling gems" do
92
- gemdir = shellout!("#{install_dir}/embedded/bin/gem environment gemdir", env: env).stdout.chomp
103
+ gemfile = "#{install_dir}/embedded/bin/gem"
104
+ next unless File.exist?(gemfile)
105
+
106
+ gemdir = shellout!("#{gemfile} environment gemdir", env: env).stdout.chomp
93
107
 
94
108
  # find gem_make.out and mkmf.log files
95
109
  Dir.glob("#{gemdir}/extensions/**/{gem_make.out,mkmf.log}").each do |f|
@@ -99,7 +113,10 @@ build do
99
113
  end
100
114
 
101
115
  block "Removing random non-code files from installed gems" do
102
- gemdir = shellout!("#{install_dir}/embedded/bin/gem environment gemdir", env: env).stdout.chomp
116
+ gemfile = "#{install_dir}/embedded/bin/gem"
117
+ next unless File.exist?(gemfile)
118
+
119
+ gemdir = shellout!("#{gemfile} environment gemdir", env: env).stdout.chomp
103
120
 
104
121
  # find the embedded ruby gems dir and clean it up for globbing
105
122
  files = %w{
@@ -30,6 +30,8 @@ skip_transitive_dependency_licensing true
30
30
  # dependency "ruby-windows-devkit"
31
31
  source url: "https://github.com/chef/msys-bash/releases/download/bash-#{version}/bash-#{version}-bin.tar.lzma",
32
32
  md5: "22d5dbbd9bd0b3e0380d7a0e79c3108e"
33
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}-#{version}/#{name}-#{version}-bin.tar.lzma",
34
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
33
35
 
34
36
  relative_path "bin"
35
37
 
@@ -26,7 +26,7 @@ skip_transitive_dependency_licensing true
26
26
  # the default versions should always be the latest release of ruby
27
27
  # if you consume this definition it is your responsibility to pin
28
28
  # to the desired version of ruby. don't count on this not changing.
29
- default_version "3.1.2"
29
+ default_version "3.1.3"
30
30
 
31
31
  dependency "zlib"
32
32
  dependency "openssl"
@@ -42,13 +42,16 @@ dependency "libyaml"
42
42
  dependency "ncurses" if freebsd?
43
43
 
44
44
  # version_list: url=https://cache.ruby-lang.org/pub/ruby/ filter=*.tar.gz
45
+ version("3.1.3") { source sha256: "5ea498a35f4cd15875200a52dde42b6eb179e1264e17d78732c3a57cd1c6ab9e" }
45
46
  version("3.1.2") { source sha256: "61843112389f02b735428b53bb64cf988ad9fb81858b8248e22e57336f24a83e" }
46
47
  version("3.1.1") { source sha256: "fe6e4782de97443978ddba8ba4be38d222aa24dc3e3f02a6a8e7701c0eeb619d" }
48
+ version("3.0.5") { source sha256: "9afc6380a027a4fe1ae1a3e2eccb6b497b9c5ac0631c12ca56f9b7beb4848776" }
47
49
  version("3.0.4") { source sha256: "70b47c207af04bce9acea262308fb42893d3e244f39a4abc586920a1c723722b" }
48
50
  version("3.0.3") { source sha256: "3586861cb2df56970287f0fd83f274bd92058872d830d15570b36def7f1a92ac" }
49
51
  version("3.0.2") { source sha256: "5085dee0ad9f06996a8acec7ebea4a8735e6fac22f22e2d98c3f2bc3bef7e6f1" }
50
52
  version("3.0.1") { source sha256: "369825db2199f6aeef16b408df6a04ebaddb664fb9af0ec8c686b0ce7ab77727" }
51
53
 
54
+ version("2.7.7") { source sha256: "e10127db691d7ff36402cfe88f418c8d025a3f1eea92044b162dd72f0b8c7b90" }
52
55
  version("2.7.6") { source sha256: "e7203b0cc09442ed2c08936d483f8ac140ec1c72e37bb5c401646b7866cb5d10" }
53
56
  version("2.7.5") { source sha256: "2755b900a21235b443bb16dadd9032f784d4a88f143d852bc5d154f22b8781f1" }
54
57
  version("2.7.4") { source sha256: "3043099089608859fc8cce7f9fdccaa1f53a462457e3838ec3b25a7d609fbc5b" }
@@ -133,6 +136,8 @@ build do
133
136
  case version
134
137
  when "3.0.1"
135
138
  patch source: "ruby-3.0.1-configure.patch", plevel: 1, env: patch_env
139
+ when "3.0.5"
140
+ patch source: "ruby-3.0.5-configure.patch", plevel: 1, env: patch_env
136
141
  else
137
142
  patch source: "ruby-3.0.2-configure.patch", plevel: 1, env: patch_env
138
143
  end
@@ -27,7 +27,8 @@ version("2.1.2") { source sha256: "6fd0160cb0cf1207de4e66754b6d39750cff14bb0aa66
27
27
  version("2.1.1") { source sha256: "ffcf2d27b32f59ac14f2d4b0772a3eb80d9342685a2042b7fbbc472c07cf2a2c" }
28
28
 
29
29
  source url: "http://smarden.org/runit/runit-#{version}.tar.gz"
30
-
30
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
31
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
31
32
  relative_path "admin/runit-#{version}/src"
32
33
 
33
34
  build do
@@ -49,7 +49,8 @@ version "8u202" do
49
49
  cookie: license_cookie,
50
50
  warning: license_warning,
51
51
  unsafe: true
52
-
52
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
53
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
53
54
  relative_path "jdk1.8.0_202"
54
55
  end
55
56
 
@@ -60,7 +61,8 @@ version "8u162" do
60
61
  cookie: license_cookie,
61
62
  warning: license_warning,
62
63
  unsafe: true
63
-
64
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
65
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
64
66
  relative_path "jdk1.8.0_162"
65
67
  end
66
68
 
@@ -71,7 +73,8 @@ version "8u151" do
71
73
  cookie: license_cookie,
72
74
  warning: license_warning,
73
75
  unsafe: true
74
-
76
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
77
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
75
78
  relative_path "jdk1.8.0_151"
76
79
  end
77
80
 
@@ -82,7 +85,8 @@ version "8u144" do
82
85
  cookie: license_cookie,
83
86
  warning: license_warning,
84
87
  unsafe: true
85
-
88
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
89
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
86
90
  relative_path "jdk1.8.0_144"
87
91
  end
88
92
 
@@ -93,7 +97,8 @@ version "8u121" do
93
97
  cookie: license_cookie,
94
98
  warning: license_warning,
95
99
  unsafe: true
96
-
100
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
101
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
97
102
  relative_path "jdk1.8.0_121"
98
103
  end
99
104
 
@@ -104,7 +109,8 @@ version "8u111" do
104
109
  cookie: license_cookie,
105
110
  warning: license_warning,
106
111
  unsafe: true
107
-
112
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
113
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
108
114
  relative_path "jdk1.8.0_111"
109
115
  end
110
116
 
@@ -115,7 +121,8 @@ version "8u91" do
115
121
  cookie: license_cookie,
116
122
  warning: license_warning,
117
123
  unsafe: true
118
-
124
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
125
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
119
126
  relative_path "jdk1.8.0_91"
120
127
  end
121
128
 
@@ -17,7 +17,7 @@ dependency "zlib"
17
17
  dependency "patchelf"
18
18
 
19
19
  name "server-open-jre"
20
- default_version "11.0.17+8"
20
+ default_version "11.0.19+7"
21
21
 
22
22
  unless _64_bit?
23
23
  raise "Server-open-jre can only be installed on x86_64 systems."
@@ -38,11 +38,31 @@ license_warning = "By including the JRE, you accept the terms of AdoptOpenJRE."
38
38
 
39
39
  # version_list: url=https://github.com/adoptium/temurin11-binaries/releases filter=*.tar.gz
40
40
 
41
+ version "11.0.19+7" do
42
+ source url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.19%2B7/OpenJDK11U-jre_x64_linux_hotspot_11.0.19_7.tar.gz",
43
+ sha256: "32dcf760664f93531594b72ce9226e9216567de5705a23c9ff5a77c797948054",
44
+ warning: license_warning,
45
+ unsafe: true
46
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
47
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
48
+ end
49
+
50
+ version "11.0.18+10" do
51
+ source url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jre_x64_linux_hotspot_11.0.18_10.tar.gz",
52
+ sha256: "0e7b196ef8603ac3d38caaf7768b7b0a3c613d60e15a6511bcfb2c894b609e99",
53
+ warning: license_warning,
54
+ unsafe: true
55
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
56
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
57
+ end
58
+
41
59
  version "11.0.17+8" do
42
60
  source url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.17%2B8/OpenJDK11U-jre_x64_linux_hotspot_11.0.17_8.tar.gz",
43
61
  sha256: "752616097e09d7f60a3ad8bd312f90eaf50ac72577e55df229fe6e8091148f79",
44
62
  warning: license_warning,
45
63
  unsafe: true
64
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
65
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
46
66
  end
47
67
 
48
68
  version "11.0.16.1+1" do
@@ -50,6 +70,8 @@ version "11.0.16.1+1" do
50
70
  sha256: "1ffe1a682e8179e35238bf3f93aba0cb185850e202c676f41d38cb0561883eda",
51
71
  warning: license_warning,
52
72
  unsafe: true
73
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
74
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
53
75
  end
54
76
 
55
77
  version "11.0.15+10" do
@@ -57,6 +79,8 @@ version "11.0.15+10" do
57
79
  sha256: "22831fd097dfb39e844cb34f42064ff26a0ada9cd13621d7b8bca8e9b9d3a5ee",
58
80
  warning: license_warning,
59
81
  unsafe: true
82
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
83
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
60
84
  end
61
85
 
62
86
  version "11.0.14.1+1" do
@@ -64,6 +88,8 @@ version "11.0.14.1+1" do
64
88
  sha256: "b5a6960bc6bb0b1a967e307f908ea9b06ad7adbbd9df0b8954ab51374faa8a98",
65
89
  warning: license_warning,
66
90
  unsafe: true
91
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
92
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
67
93
  end
68
94
 
69
95
  version "11.0.13+8" do
@@ -71,6 +97,8 @@ version "11.0.13+8" do
71
97
  sha256: "fb0a27e6e1f26a1ee79daa92e4cfe3ec0d676acfe114d99dd84b3414f056e8a0",
72
98
  warning: license_warning,
73
99
  unsafe: true
100
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
101
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
74
102
  end
75
103
 
76
104
  version "11.0.12+7" do
@@ -78,6 +106,8 @@ version "11.0.12+7" do
78
106
  sha256: "e813e270b7ea0a13f9c400ce5abd4cb811aacbd536b8909e6c7f0e346f78348c",
79
107
  warning: license_warning,
80
108
  unsafe: true
109
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
110
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
81
111
  end
82
112
 
83
113
  version "11.0.11+9" do
@@ -85,6 +115,8 @@ version "11.0.11+9" do
85
115
  sha256: "144f2c6bcf64faa32016f2474b6c01031be75d25325e9c3097aed6589bc5d548",
86
116
  warning: license_warning,
87
117
  unsafe: true
118
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
119
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
88
120
  end
89
121
 
90
122
  version "11.0.10+9" do
@@ -92,6 +124,8 @@ version "11.0.10+9" do
92
124
  sha256: "25fdcf9427095ac27c8bdfc82096ad2e615693a3f6ea06c700fca7ffb271131a",
93
125
  warning: license_warning,
94
126
  unsafe: true
127
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
128
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
95
129
  end
96
130
 
97
131
  relative_path "jdk-#{version}-jre"
@@ -37,9 +37,13 @@ version("0.973") { source sha256: "95fc7f18fff786c5d2579133e2e3ac56779e54bb3a06
37
37
 
38
38
  if version >= "1.1.0"
39
39
  source url: "https://github.com/theory/#{name}/releases/download/v#{version}/app-sqitch-v#{version}.tar.gz"
40
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
41
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
40
42
  relative_path "App-Sqitch-v#{version}"
41
43
  else
42
44
  source url: "https://github.com/theory/#{name}/releases/download/v#{version}/app-sqitch-#{version}.tar.gz"
45
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
46
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
43
47
  relative_path "App-Sqitch-#{version}"
44
48
  end
45
49
 
@@ -27,6 +27,8 @@ dependency "openssl"
27
27
  # version_list: url=https://www.stunnel.org/downloads/ filter=*.tar.gz
28
28
 
29
29
  source url: "https://www.stunnel.org/archive/5.x/stunnel-#{version}.tar.gz"
30
+ internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
31
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
30
32
 
31
33
  relative_path "stunnel-#{version}"
32
34
 
@@ -5,7 +5,7 @@ require "tmpdir"
5
5
  require "yaml"
6
6
 
7
7
  ARTIFACTORY_REPO_URL = ENV["ARTIFACTORY_REPO_URL"] || "https://artifactory-internal.ps.chef.co/artifactory/omnibus-software-local"
8
- ARTIFACTORY_TOKEN = ENV["ARTIFACTORY_TOKEN"]
8
+ ARTIFACTORY_PASSWORD = ENV["ARTIFACTORY_PASSWORD"]
9
9
 
10
10
  def print_usage
11
11
  puts "Must provide path to internal_sources.yml file."
@@ -48,7 +48,7 @@ def maybe_upload(name, source)
48
48
  downloaded_file = File.join(dir, file_name)
49
49
  repo_url = File.join(ARTIFACTORY_REPO_URL, name, file_name)
50
50
  puts "Uploading #{downloaded_file} to #{repo_url}"
51
- raise "Failed to upload" unless system("curl -s -H 'X-JFrog-Art-Api:#{ARTIFACTORY_TOKEN}' -T '#{downloaded_file}' #{repo_url}")
51
+ raise "Failed to upload" unless system("curl -s -H 'X-JFrog-Art-Api:#{ARTIFACTORY_PASSWORD}' -T '#{downloaded_file}' #{repo_url}")
52
52
 
53
53
  puts ""
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omnibus-software
3
3
  version: !ruby/object:Gem::Version
4
- version: 23.2.281
4
+ version: 23.6.291
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-06 00:00:00.000000000 Z
11
+ date: 2023-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omnibus
@@ -31,6 +31,7 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - ".buildkite/hooks/pre-command"
34
35
  - ".expeditor/Version_inspector/README.md"
35
36
  - ".expeditor/Version_inspector/SW-Version-update.py"
36
37
  - ".expeditor/Version_inspector/manual_prod_list.json"
@@ -123,6 +124,7 @@ files:
123
124
  - config/patches/ruby/ruby-2.6.7_c99.patch
124
125
  - config/patches/ruby/ruby-3.0.1-configure.patch
125
126
  - config/patches/ruby/ruby-3.0.2-configure.patch
127
+ - config/patches/ruby/ruby-3.0.5-configure.patch
126
128
  - config/patches/ruby/ruby-aix-atomic.patch
127
129
  - config/patches/ruby/ruby-aix-configure_26_and_later.patch
128
130
  - config/patches/ruby/ruby-aix-vm-core.patch