omnibus-software 22.11.239

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. checksums.yaml +7 -0
  2. data/.expeditor/Version_inspector/README.md +21 -0
  3. data/.expeditor/Version_inspector/SW-Version-update.py +243 -0
  4. data/.expeditor/Version_inspector/manual_prod_list.json +29 -0
  5. data/.expeditor/Version_inspector/prod_default_version.json +103 -0
  6. data/.expeditor/Version_inspector/prod_list.json +194 -0
  7. data/.expeditor/Version_inspector/requirements.txt +4 -0
  8. data/.expeditor/Version_inspector/update_prod_default_version.sh +24 -0
  9. data/.expeditor/Version_inspector/update_prod_list.sh +35 -0
  10. data/.expeditor/config.yml +33 -0
  11. data/.expeditor/determine_version.sh +15 -0
  12. data/.expeditor/push_git_tag.sh +12 -0
  13. data/.expeditor/run_linux_tests.sh +16 -0
  14. data/.expeditor/verify.pipeline.yml +52 -0
  15. data/.github/CODEOWNERS +5 -0
  16. data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +29 -0
  17. data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +40 -0
  18. data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +17 -0
  19. data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +11 -0
  20. data/.github/dependabot.yml +9 -0
  21. data/.github/lock.yml +1 -0
  22. data/.gitignore +17 -0
  23. data/CODE_OF_CONDUCT.md +1 -0
  24. data/CONTRIBUTING.md +1 -0
  25. data/Dockerfile +21 -0
  26. data/Gemfile +10 -0
  27. data/LICENSE +201 -0
  28. data/README.md +99 -0
  29. data/Rakefile +56 -0
  30. data/VERSION +1 -0
  31. data/config/patches/bash/race-condition.patch +15 -0
  32. data/config/patches/bzip2/aix_makefile.patch +11 -0
  33. data/config/patches/bzip2/makefile_no_bins.patch +77 -0
  34. data/config/patches/bzip2/makefile_take_env_vars.patch +31 -0
  35. data/config/patches/bzip2/soname_install_dir.patch +11 -0
  36. data/config/patches/curl/curl-aix-disable-alpn.patch +22 -0
  37. data/config/patches/curl/curl-freebsd-hostcheck.patch +10 -0
  38. data/config/patches/erlang/epmd-require-explicitly-adding-loopback-address.patch +84 -0
  39. data/config/patches/erlang/updated-epmd-require-explicitly-adding-loopback-address.patch +75 -0
  40. data/config/patches/expat/configure_xlc_visibility.patch +58 -0
  41. data/config/patches/expat/configure_xlc_visibility_2.4.7.patch +59 -0
  42. data/config/patches/figlet/aix-figlet-cdefs.patch +48 -0
  43. data/config/patches/gdbm/v1.8.3-Makefile.in.patch +32 -0
  44. data/config/patches/git/aix-endian-fix.patch +20 -0
  45. data/config/patches/gtar/aix_extra_case.patch +13 -0
  46. data/config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch +15 -0
  47. data/config/patches/libedit/freebsd-vi-fix.patch +24 -0
  48. data/config/patches/libedit/openbsd-weak-alias-fix.patch +48 -0
  49. data/config/patches/libedit/solaris.patch +36 -0
  50. data/config/patches/libffi/libffi-3.2.1-disable-multi-os-directory.patch +83 -0
  51. data/config/patches/libffi/libffi-3.3-arm64.patch +9608 -0
  52. data/config/patches/libxslt/libxslt-solaris-configure.patch +19 -0
  53. data/config/patches/libxslt/libxslt-windows-relocate.patch +12 -0
  54. data/config/patches/libyaml/windows-configure.patch +26 -0
  55. data/config/patches/libzmq/zeromq-4.0.11_mingw_inet_pton.patch +37 -0
  56. data/config/patches/libzmq/zeromq-aix-4.2.2-LARGE_FILES.patch +56 -0
  57. data/config/patches/libzmq/zeromq-aix-4.2.2-atomic-counter-fetch_and_add.patch +59 -0
  58. data/config/patches/logrotate/logrotate_basedir_override.patch +17 -0
  59. data/config/patches/m4/m4-1.4.18-glibc-change-work-around.patch +115 -0
  60. data/config/patches/make/deb-make-glob.patch +31 -0
  61. data/config/patches/ncurses/ncurses-5.9-gcc-5.patch +46 -0
  62. data/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch +11 -0
  63. data/config/patches/ncurses/ncurses-clang.patch +43 -0
  64. data/config/patches/ncurses/patch-aa +23 -0
  65. data/config/patches/ncurses/patch-ab +44 -0
  66. data/config/patches/ncurses/patch-ac +40 -0
  67. data/config/patches/ncurses/patch-ad +13 -0
  68. data/config/patches/ncurses/patch-cxx_cursesf.h +22 -0
  69. data/config/patches/ncurses/patch-cxx_cursesm.h +22 -0
  70. data/config/patches/ncurses/patch-ncurses_tinfo_lib__baudrate.c +24 -0
  71. data/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +28 -0
  72. data/config/patches/openssl/openssl-1.0.1j-windows-relocate-dll.patch +20 -0
  73. data/config/patches/openssl/openssl-1.0.1q-fix-compiler-flags-table-for-msys.patch +20 -0
  74. data/config/patches/openssl/openssl-1.0.2x-darwin-arm64.patch +54 -0
  75. data/config/patches/openssl/openssl-1.1.0f-do-not-install-docs.patch +11 -0
  76. data/config/patches/openssl/openssl-3.0.1-do-not-install-docs.patch +22 -0
  77. data/config/patches/openssl-fips/openssl-fips-fix-compiler-flags-table-for-msys.patch +11 -0
  78. data/config/patches/perl/perl-5.18.1-remove_lnsl.patch +441 -0
  79. data/config/patches/perl/perl-5.22.1-remove_lnsl.patch +512 -0
  80. data/config/patches/perl/perl-5.30.0-remove_lnsl.patch +518 -0
  81. data/config/patches/perl/perl-5.32.1-remove_lnsl.patch +456 -0
  82. data/config/patches/perl/perl-5.34.0-remove_lnsl.patch +516 -0
  83. data/config/patches/pkg-config/openbsd-charset.patch +19 -0
  84. data/config/patches/popt/v1.16.ppc64le-configure.patch +18 -0
  85. data/config/patches/redis/password-from-environment.patch +19 -0
  86. data/config/patches/ruby/patch-configure +103 -0
  87. data/config/patches/ruby/remove_nano.patch +10 -0
  88. data/config/patches/ruby/ruby-2.6.7_c99.patch +12 -0
  89. data/config/patches/ruby/ruby-3.0.1-configure.patch +281 -0
  90. data/config/patches/ruby/ruby-3.0.2-configure.patch +251 -0
  91. data/config/patches/ruby/ruby-aix-atomic.patch +11 -0
  92. data/config/patches/ruby/ruby-aix-configure_26_and_later.patch +19 -0
  93. data/config/patches/ruby/ruby-aix-vm-core.patch +14 -0
  94. data/config/patches/ruby/ruby-fast-load_26.patch +16 -0
  95. data/config/patches/ruby/ruby-fast-load_31.patch +16 -0
  96. data/config/patches/ruby/ruby-faster-load_26.patch +11 -0
  97. data/config/patches/ruby/ruby-faster-load_27.patch +11 -0
  98. data/config/patches/ruby/ruby-mkmf.patch +29 -0
  99. data/config/patches/ruby/ruby-no-stack-protector-strong.patch +11 -0
  100. data/config/patches/ruby/ruby-no-stack-protector.patch +13 -0
  101. data/config/patches/ruby/ruby-win32_warning_removal.patch +12 -0
  102. data/config/patches/ruby/ruby_aix_openssl.patch +10 -0
  103. data/config/patches/ruby/ruby_aix_ssl_EAGAIN.patch +19 -0
  104. data/config/patches/ruby/rvm-cflags.patch +27 -0
  105. data/config/patches/stunnel/stunnel-on-windows.patch +42 -0
  106. data/config/patches/zlib/zlib-windows-relocate.patch +20 -0
  107. data/config/software/autoconf.rb +46 -0
  108. data/config/software/automake.rb +49 -0
  109. data/config/software/bash.rb +72 -0
  110. data/config/software/berkshelf-no-depselector.rb +46 -0
  111. data/config/software/berkshelf.rb +34 -0
  112. data/config/software/binutils.rb +47 -0
  113. data/config/software/bundler.rb +38 -0
  114. data/config/software/bzip2.rb +55 -0
  115. data/config/software/cacerts.rb +50 -0
  116. data/config/software/chef-gem.rb +35 -0
  117. data/config/software/chef.rb +112 -0
  118. data/config/software/cmake.rb +94 -0
  119. data/config/software/config_guess.rb +37 -0
  120. data/config/software/cpanminus.rb +49 -0
  121. data/config/software/curl.rb +103 -0
  122. data/config/software/delivery-cli.rb +89 -0
  123. data/config/software/dep-selector-libgecode.rb +48 -0
  124. data/config/software/elasticsearch.rb +61 -0
  125. data/config/software/elixir.rb +35 -0
  126. data/config/software/erlang.rb +134 -0
  127. data/config/software/expat.rb +63 -0
  128. data/config/software/fakeroot.rb +41 -0
  129. data/config/software/ffi-yajl.rb +46 -0
  130. data/config/software/figlet-fonts.rb +31 -0
  131. data/config/software/figlet.rb +44 -0
  132. data/config/software/gcc.rb +60 -0
  133. data/config/software/gdbm.rb +54 -0
  134. data/config/software/gecode.rb +62 -0
  135. data/config/software/gem-permissions.rb +43 -0
  136. data/config/software/git-windows.rb +96 -0
  137. data/config/software/git.rb +138 -0
  138. data/config/software/gmp.rb +48 -0
  139. data/config/software/go-uninstall.rb +33 -0
  140. data/config/software/go.rb +116 -0
  141. data/config/software/google-protobuf.rb +45 -0
  142. data/config/software/gtar.rb +62 -0
  143. data/config/software/help2man.rb +40 -0
  144. data/config/software/highline-gem.rb +37 -0
  145. data/config/software/ibm-jre.rb +59 -0
  146. data/config/software/inspec.rb +43 -0
  147. data/config/software/jre-from-jdk.rb +67 -0
  148. data/config/software/keepalived.rb +68 -0
  149. data/config/software/libarchive.rb +71 -0
  150. data/config/software/libedit.rb +73 -0
  151. data/config/software/libffi.rb +68 -0
  152. data/config/software/libgcc.rb +52 -0
  153. data/config/software/libiconv.rb +55 -0
  154. data/config/software/libintl-perl.rb +56 -0
  155. data/config/software/liblzma.rb +59 -0
  156. data/config/software/libossp-uuid.rb +45 -0
  157. data/config/software/libsodium.rb +40 -0
  158. data/config/software/libtool.rb +56 -0
  159. data/config/software/libuuid.rb +45 -0
  160. data/config/software/libxml2.rb +63 -0
  161. data/config/software/libxslt.rb +64 -0
  162. data/config/software/libyajl2-gem.rb +44 -0
  163. data/config/software/libyaml.rb +50 -0
  164. data/config/software/libzmq.rb +93 -0
  165. data/config/software/logrotate.rb +61 -0
  166. data/config/software/lua.rb +46 -0
  167. data/config/software/m4.rb +40 -0
  168. data/config/software/make.rb +43 -0
  169. data/config/software/makedepend.rb +44 -0
  170. data/config/software/mpc.rb +44 -0
  171. data/config/software/mpfr.rb +45 -0
  172. data/config/software/musl.rb +107 -0
  173. data/config/software/mysql2.rb +50 -0
  174. data/config/software/ncurses.rb +159 -0
  175. data/config/software/nginx.rb +55 -0
  176. data/config/software/nodejs-binary.rb +90 -0
  177. data/config/software/nodejs.rb +58 -0
  178. data/config/software/nokogiri.rb +92 -0
  179. data/config/software/omnibus-ctl.rb +42 -0
  180. data/config/software/openresty.rb +94 -0
  181. data/config/software/opensearch.rb +54 -0
  182. data/config/software/openssl-customization.rb +81 -0
  183. data/config/software/openssl-fips.rb +81 -0
  184. data/config/software/openssl.rb +185 -0
  185. data/config/software/patch.rb +46 -0
  186. data/config/software/patchelf.rb +66 -0
  187. data/config/software/pcre.rb +53 -0
  188. data/config/software/perl-extutils-embed.rb +37 -0
  189. data/config/software/perl-extutils-makemaker.rb +46 -0
  190. data/config/software/perl-thread-queue.rb +40 -0
  191. data/config/software/perl.rb +78 -0
  192. data/config/software/perl_pg_driver.rb +45 -0
  193. data/config/software/pg-gem.rb +36 -0
  194. data/config/software/pkg-config-lite.rb +46 -0
  195. data/config/software/pkg-config.rb +66 -0
  196. data/config/software/popt.rb +54 -0
  197. data/config/software/postgresql.rb +70 -0
  198. data/config/software/preparation.rb +31 -0
  199. data/config/software/python.rb +79 -0
  200. data/config/software/rabbitmq.rb +58 -0
  201. data/config/software/rb-readline.rb +33 -0
  202. data/config/software/rbnacl-libsodium.rb +42 -0
  203. data/config/software/rbzmq.rb +44 -0
  204. data/config/software/rebar.rb +42 -0
  205. data/config/software/redis-gem.rb +36 -0
  206. data/config/software/redis.rb +51 -0
  207. data/config/software/relx.rb +39 -0
  208. data/config/software/rsync.rb +55 -0
  209. data/config/software/ruby-cleanup.rb +254 -0
  210. data/config/software/ruby-msys2-devkit.rb +77 -0
  211. data/config/software/ruby-windows-devkit-bash.rb +41 -0
  212. data/config/software/ruby-windows-devkit.rb +84 -0
  213. data/config/software/ruby.rb +306 -0
  214. data/config/software/rubygems.rb +73 -0
  215. data/config/software/runit.rb +67 -0
  216. data/config/software/rust-uninstall.rb +32 -0
  217. data/config/software/rust.rb +97 -0
  218. data/config/software/sequel-gem.rb +36 -0
  219. data/config/software/server-jre.rb +125 -0
  220. data/config/software/server-open-jre.rb +112 -0
  221. data/config/software/setuptools.rb +48 -0
  222. data/config/software/shebang-cleanup.rb +101 -0
  223. data/config/software/sqitch.rb +87 -0
  224. data/config/software/stunnel.rb +86 -0
  225. data/config/software/util-macros.rb +42 -0
  226. data/config/software/version-manifest.rb +33 -0
  227. data/config/software/xproto.rb +42 -0
  228. data/config/software/zlib.rb +85 -0
  229. data/config/templates/git/config.mak.erb +31 -0
  230. data/config/templates/rubygems/register_devtools.rb.erb +33 -0
  231. data/config/templates/runit/runsvdir-start.erb +42 -0
  232. data/docker-compose.yml +15 -0
  233. data/lib/omnibus-software/version.rb +3 -0
  234. data/lib/omnibus-software.rb +115 -0
  235. data/omnibus-software.gemspec +20 -0
  236. data/test/Gemfile +10 -0
  237. data/test/config/projects/test.rb +14 -0
  238. data/test/generate_steps.rb +55 -0
  239. data/test/omnibus-build.sh +50 -0
  240. data/test/omnibus.rb +55 -0
  241. metadata +296 -0
@@ -0,0 +1,46 @@
1
+ #
2
+ # Copyright 2013-2014 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ name "pkg-config-lite"
18
+ default_version "0.28-1"
19
+
20
+ license "GPL-2.0"
21
+ license_file "COPYING"
22
+ skip_transitive_dependency_licensing true
23
+
24
+ dependency "config_guess"
25
+
26
+ # version_list: url=http://downloads.sourceforge.net/project/pkgconfiglite/#{version}/ filter=*.tar.gz
27
+
28
+ version("0.28-1") { source sha256: "21b76ec4e115ee30f9b3077a2506e48e8b837332ed4d30c9776502e69c6a29e5" }
29
+
30
+ source url: "https://downloads.sourceforge.net/project/pkgconfiglite/#{version}/pkg-config-lite-#{version}.tar.gz"
31
+
32
+ relative_path "pkg-config-lite-#{version}"
33
+
34
+ build do
35
+ env = with_standard_compiler_flags(with_embedded_path)
36
+
37
+ update_config_guess
38
+
39
+ command "./configure" \
40
+ " --prefix=#{install_dir}/embedded" \
41
+ " --disable-host-tool" \
42
+ " --with-pc-path=#{install_dir}/embedded/bin/pkgconfig", env: env
43
+
44
+ make "-j #{workers}", env: env
45
+ make "-j #{workers} install", env: env
46
+ end
@@ -0,0 +1,66 @@
1
+ #
2
+ # Copyright 2013-2014 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ # expeditor/ignore: deprecated 2021-05
17
+
18
+ name "pkg-config"
19
+ default_version "0.28"
20
+
21
+ dependency "libiconv"
22
+ dependency "config_guess"
23
+
24
+ # version_list: url=https://pkgconfig.freedesktop.org/releases/ filter=*.tar.gz
25
+
26
+ version("0.28") { source sha256: "6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845" }
27
+
28
+ source url: "https://pkgconfig.freedesktop.org/releases/pkg-config-#{version}.tar.gz"
29
+
30
+ relative_path "pkg-config-#{version}"
31
+
32
+ build do
33
+ env = with_standard_compiler_flags(with_embedded_path)
34
+
35
+ update_config_guess
36
+
37
+ # pkg-config (at least up to 0.28) includes an older version of
38
+ # libcharset/lib/config.charset that doesn't know about openbsd
39
+ if openbsd?
40
+ patch source: "openbsd-charset.patch", plevel: 1, env: env
41
+ end
42
+
43
+ command "./configure" \
44
+ " --prefix=#{install_dir}/embedded" \
45
+ " --disable-debug" \
46
+ " --disable-host-tool" \
47
+ " --with-internal-glib" \
48
+ " --with-pc-path=#{install_dir}/embedded/bin/pkgconfig", env: env
49
+
50
+ # #203: pkg-configs internal glib does not provide a way to pass ldflags.
51
+ # Only allows GLIB_CFLAGS and GLIB_LIBS.
52
+ # These do not serve our purpose, so we must explicitly
53
+ # ./configure in the glib dir, with the Omnibus ldflags.
54
+ command "./configure" \
55
+ " --prefix=#{install_dir}/embedded" \
56
+ " --with-libiconv=gnu", env: env, cwd: "#{project_dir}/glib"
57
+
58
+ make "-j #{workers}", env: env
59
+ make "-j #{workers} install", env: env
60
+
61
+ # ensure charset.alias gets installed on openbsd else pkg-config will
62
+ # exit with byte conversion errors.
63
+ if openbsd?
64
+ copy "#{project_dir}/glib/glib/libcharset/charset.alias", "#{install_dir}/embedded/lib/charset.alias"
65
+ end
66
+ end
@@ -0,0 +1,54 @@
1
+ #
2
+ # Copyright 2012-2014 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ name "popt"
18
+ default_version "1.18"
19
+
20
+ license "MIT"
21
+ license_file "COPYING"
22
+ skip_transitive_dependency_licensing true
23
+
24
+ dependency "config_guess"
25
+
26
+ # versions_list: https://github.com/rpm-software-management/popt/releases filter=*.tar.gz
27
+ version("1.18") { source sha256: "5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1" }
28
+ version("1.16") { source sha256: "e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8" }
29
+
30
+ if version == "1.16"
31
+ source url: "ftp://anduin.linuxfromscratch.org/BLFS/popt/popt-#{version}.tar.gz"
32
+ else
33
+ source url: "http://ftp.rpm.org/popt/releases/popt-1.x/popt-#{version}.tar.gz"
34
+ end
35
+
36
+ relative_path "popt-#{version}"
37
+
38
+ build do
39
+ env = with_standard_compiler_flags(with_embedded_path)
40
+
41
+ update_config_guess
42
+
43
+ if version == "1.7.10.1" && (ppc64? || ppc64le?)
44
+ patch source: "v1.7.10.1.ppc64le-configure.patch", plevel: 1
45
+ end
46
+
47
+ # --disable-nls => Disable localization support.
48
+ command "./configure" \
49
+ " --prefix=#{install_dir}/embedded" \
50
+ " --disable-nls", env: env
51
+
52
+ make "-j #{workers}", env: env
53
+ make "install", env: env
54
+ end
@@ -0,0 +1,70 @@
1
+ #
2
+ # Copyright:: Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ name "postgresql"
18
+ default_version "14.5"
19
+
20
+ license "PostgreSQL"
21
+ license_file "COPYRIGHT"
22
+ skip_transitive_dependency_licensing true
23
+
24
+ dependency "zlib"
25
+ dependency "openssl"
26
+ dependency "libedit"
27
+ dependency "ncurses"
28
+ dependency "libossp-uuid"
29
+ dependency "config_guess"
30
+
31
+ # version_list: url=https://ftp.postgresql.org/pub/source/v#{version}/ filter=*.tar.bz2
32
+
33
+ version("14.5") { source sha256: "d4f72cb5fb857c9a9f75ec8cf091a1771272802f2178f0b2e65b7b6ff64f4a30" }
34
+ version("14.4") { source sha256: "c23b6237c5231c791511bdc79098617d6852e9e3bdf360efd8b5d15a1a3d8f6a" }
35
+ version("14.3") { source sha256: "279057368bf59a919c05ada8f95c5e04abb43e74b9a2a69c3d46a20e07a9af38" }
36
+ version("14.2") { source sha256: "2cf78b2e468912f8101d695db5340cf313c2e9f68a612fb71427524e8c9a977a" }
37
+ version("14.1") { source sha256: "4d3c101ea7ae38982f06bdc73758b53727fb6402ecd9382006fa5ecc7c2ca41f" }
38
+ version("13.6") { source sha256: "bafc7fa3d9d4da8fe71b84c63ba8bdfe8092935c30c0aa85c24b2c08508f67fc" }
39
+ version("13.5") { source sha256: "9b81067a55edbaabc418aacef457dd8477642827499560b00615a6ea6c13f6b3" }
40
+ version("13.3") { source sha256: "3cd9454fa8c7a6255b6743b767700925ead1b9ab0d7a0f9dcb1151010f8eb4a1" }
41
+
42
+ # Version 12.x will EoL November 14, 2024
43
+ version("12.7") { source sha256: "8490741f47c88edc8b6624af009ce19fda4dc9b31c4469ce2551d84075d5d995" }
44
+
45
+ # Version 9.6 will EoL November 11, 2021
46
+ version("9.6.22") { source sha256: "3d32cd101025a0556813397c69feff3df3d63736adb8adeaf365c522f39f2930" }
47
+
48
+ # Version 9.3 was EoL November 8, 2018 (but used in Supermarket as of 6.2021)
49
+ version("9.3.25") { source sha256: "e4953e80415d039ccd33d34be74526a090fd585cf93f296cd9c593972504b6db" }
50
+
51
+ source url: "https://ftp.postgresql.org/pub/source/v#{version}/postgresql-#{version}.tar.bz2"
52
+
53
+ relative_path "postgresql-#{version}"
54
+
55
+ build do
56
+ env = with_standard_compiler_flags(with_embedded_path)
57
+
58
+ update_config_guess(target: "config")
59
+
60
+ command "./configure" \
61
+ " --prefix=#{install_dir}/embedded" \
62
+ " --with-libedit-preferred" \
63
+ " --with-openssl" \
64
+ " --with-ossp-uuid" \
65
+ " --with-includes=#{install_dir}/embedded/include" \
66
+ " --with-libraries=#{install_dir}/embedded/lib", env: env
67
+
68
+ make "world -j #{workers}", env: env
69
+ make "install-world", env: env
70
+ end
@@ -0,0 +1,31 @@
1
+ #
2
+ # Copyright 2012-2014 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ # expeditor/ignore: logic only
17
+
18
+ name "preparation"
19
+ description "the steps required to preprare the build"
20
+ default_version "1.0.0"
21
+
22
+ license :project_license
23
+ skip_transitive_dependency_licensing true
24
+
25
+ build do
26
+ block do
27
+ touch "#{install_dir}/embedded/lib/.gitkeep"
28
+ touch "#{install_dir}/embedded/bin/.gitkeep"
29
+ touch "#{install_dir}/bin/.gitkeep"
30
+ end
31
+ end
@@ -0,0 +1,79 @@
1
+ #
2
+ # Copyright 2013-2015 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ name "python"
18
+ default_version "3.10.5"
19
+
20
+ license "Python-2.0"
21
+ license_file "LICENSE"
22
+ skip_transitive_dependency_licensing true
23
+
24
+ dependency "ncurses"
25
+ dependency "zlib"
26
+ dependency "openssl"
27
+ dependency "bzip2"
28
+
29
+ if version >= "3.9.0"
30
+ dependency "libffi"
31
+ end
32
+
33
+ # version_list: url=https://www.python.org/ftp/python/#{version}/ filter=*.tgz
34
+
35
+ version("3.10.5") { source sha256: "18f57182a2de3b0be76dfc39fdcfd28156bb6dd23e5f08696f7492e9e3d0bf2d" }
36
+ version("3.10.4") { source sha256: "f3bcc65b1d5f1dc78675c746c98fcee823c038168fc629c5935b044d0911ad28" }
37
+ version("3.10.2") { source sha256: "3c0ede893011319f9b0a56b44953a3d52c7abf9657c23fb4bc9ced93b86e9c97" }
38
+ version("3.9.9") { source sha256: "2cc7b67c1f3f66c571acc42479cdf691d8ed6b47bee12c9b68430413a17a44ea" }
39
+ version("2.7.18") { source sha256: "da3080e3b488f648a3d7a4560ddee895284c3380b11d6de75edb986526b9a814" }
40
+ version("2.7.14") { source sha256: "304c9b202ea6fbd0a4a8e0ad3733715fbd4749f2204a9173a58ec53c32ea73e8" }
41
+ version("2.7.9") { source sha256: "c8bba33e66ac3201dabdc556f0ea7cfe6ac11946ec32d357c4c6f9b018c12c5b" }
42
+
43
+ source url: "https://python.org/ftp/python/#{version}/Python-#{version}.tgz"
44
+
45
+ relative_path "Python-#{version}"
46
+ major_version, minor_version = version.split(".")
47
+
48
+ build do
49
+ env = with_standard_compiler_flags(with_embedded_path)
50
+
51
+ if mac_os_x?
52
+ os_x_release = ohai["platform_version"].match(/([0-9]+\.[0-9]+).*/).captures[0]
53
+ env["MACOSX_DEPLOYMENT_TARGET"] = os_x_release
54
+ end
55
+
56
+ command "./configure" \
57
+ " --prefix=#{install_dir}/embedded" \
58
+ " --enable-shared" \
59
+ " --with-dbmliborder=", env: env
60
+
61
+ make env: env
62
+ make "install", env: env
63
+
64
+ # There exists no configure flag to tell Python to not compile readline
65
+ delete "#{install_dir}/embedded/lib/python#{major_version}.#{minor_version}/lib-dynload/readline.*"
66
+
67
+ # Ditto for sqlite3
68
+ delete "#{install_dir}/embedded/lib/python#{major_version}.#{minor_version}/lib-dynload/_sqlite3.*"
69
+ delete "#{install_dir}/embedded/lib/python#{major_version}.#{minor_version}/sqlite3/"
70
+
71
+ # Remove unused extension which is known to make healthchecks fail on CentOS 6
72
+ delete "#{install_dir}/embedded/lib/python#{major_version}.#{minor_version}/lib-dynload/_bsddb.*"
73
+
74
+ # Remove sqlite3 libraries, if you want to include sqlite, create a new def
75
+ # in your software project and build it explicitly. This removes the adapter
76
+ # library from python, which links incorrectly to a system library. Adding
77
+ # your own sqlite definition will fix this.
78
+ delete "#{install_dir}/embedded/lib/python#{major_version}.#{minor_version}/lib-dynload/_sqlite3.*"
79
+ end
@@ -0,0 +1,58 @@
1
+ #
2
+ # Copyright 2012-2014 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ # expeditor/ignore: deprecated 2021-04
17
+
18
+ name "rabbitmq"
19
+ default_version "3.6.6"
20
+
21
+ license "MPL-2.0"
22
+ license_file "LICENSE"
23
+ skip_transitive_dependency_licensing true
24
+
25
+ dependency "erlang"
26
+
27
+ version("3.7.6") { source md5: "d8db2d979a66e520b23be29d9b43af70" }
28
+ version("3.6.15") { source md5: "1dd9a5d000e11064efec23c1a76e5d5c" }
29
+ version("3.6.0") { source md5: "61a3822f3af0aaa30da7230dccb17067" }
30
+ version("3.3.4") { source md5: "61a3822f3af0aaa30da7230dccb17067" }
31
+ version("2.8.7") { source md5: "35e8d78f8d7ae4372db23fe50db82c64" }
32
+ version("2.7.1") { source md5: "34a5f9fb6f22e6681092443fcc80324f" }
33
+
34
+ version("3.7.6") do
35
+ source(sha256: "23e61ec405fea9903c2de9532013feb124a5bc667a43a010c949276eda17e1d4",
36
+ url: "https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.6/rabbitmq-server-generic-unix-3.7.6.tar.xz" )
37
+ end
38
+
39
+ version("3.6.15") do
40
+ source(sha256: "04e6a291642f80e87fc892d5e8ea309fb3fab85ebb64a79a70dfe6c6cfde36fb",
41
+ url: "https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.15/rabbitmq-server-generic-unix-3.6.15.tar.xz" )
42
+ end
43
+
44
+ version("3.6.6") do
45
+ source(sha256: "781d17a6c8bbfbcd749d23913218de38e692a5e3093cf47eecf499532ac25d61",
46
+ url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server-generic-unix-3.6.6.tar.xz" )
47
+ end
48
+
49
+ relative_path "rabbitmq_server-#{version}"
50
+
51
+ build do
52
+ mkdir "#{install_dir}/embedded/service/rabbitmq"
53
+ sync "#{project_dir}/", "#{install_dir}/embedded/service/rabbitmq/"
54
+
55
+ %w{rabbitmqctl rabbitmq-env rabbitmq-server}.each do |bin|
56
+ link "#{install_dir}/embedded/service/rabbitmq/sbin/#{bin}", "#{install_dir}/embedded/bin/#{bin}"
57
+ end
58
+ end
@@ -0,0 +1,33 @@
1
+ #
2
+ # Copyright 2012-2016 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ # expeditor/ignore: deprecated 2021-04
17
+
18
+ name "rb-readline"
19
+ default_version "master"
20
+
21
+ license "BSD-3-Clause"
22
+ license_file "LICENSE"
23
+ skip_transitive_dependency_licensing true
24
+
25
+ dependency "ruby"
26
+
27
+ source git: "https://github.com/ConnorAtherton/rb-readline.git"
28
+
29
+ build do
30
+ env = with_embedded_path
31
+
32
+ ruby "setup.rb", env: env
33
+ end
@@ -0,0 +1,42 @@
1
+ #
2
+ # Copyright 2012-2017 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ # expeditor/ignore: deprecated 2021-04
17
+
18
+ name "rbnacl-libsodium"
19
+ default_version "1.0.11"
20
+ relative_path "rbnacl-libsodium"
21
+
22
+ # versions_list: https://github.com/cryptosphere/rbnacl-libsodium/tags filter=*.tar.gz
23
+
24
+ source git: "https://github.com/cryptosphere/rbnacl-libsodium.git"
25
+
26
+ license "MIT"
27
+ license_file "LICENSE"
28
+
29
+ dependency "ruby"
30
+
31
+ build do
32
+ env = with_embedded_path
33
+
34
+ bundle "config set --local without development_extras", env: env
35
+ bundle "install", env: env
36
+ bundle "exec rake gem", env: env
37
+
38
+ delete "pkg/*java*"
39
+
40
+ gem "install pkg/rbnacl-libsodium-*.gem" \
41
+ " --no-document", env: env
42
+ end
@@ -0,0 +1,44 @@
1
+ #
2
+ # Copyright 2012-2017 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ # expeditor/ignore: deprecated 2021-04
17
+
18
+ name "rbzmq"
19
+ default_version "master"
20
+ source git: "https://github.com/chef/rbzmq.git"
21
+
22
+ license "LGPL-3.0"
23
+ license_file "LICENSE.txt"
24
+ skip_transitive_dependency_licensing true
25
+
26
+ dependency "libzmq"
27
+ dependency "libsodium"
28
+ dependency "ruby"
29
+
30
+ build do
31
+ env = with_standard_compiler_flags(with_embedded_path)
32
+
33
+ gem "build rbzmq.gemspec", env: env
34
+
35
+ gem_command = [
36
+ "install rbzmq*.gem",
37
+ "--",
38
+ "--use-system-libraries",
39
+ "--with-zmq-dir==#{install_dir}/embedded",
40
+ "--no-doc",
41
+ ]
42
+
43
+ gem gem_command.join(" "), env: env
44
+ end
@@ -0,0 +1,42 @@
1
+ #
2
+ # Copyright 2012-2014 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ # expeditor/ignore: no version pinning
17
+
18
+ name "rebar"
19
+
20
+ # Current version (2.3.0) suffers from a pretty bad bug that breaks tests.
21
+ # (see https://github.com/rebar/rebar/pull/279 and https://github.com/rebar/rebar/pull/251)
22
+ # Version 2.3.1 Fixes this; we should switch to that if later versions aren't workable.
23
+ # Version 2.6.1 includes this fix.
24
+ default_version "93621d0d0c98035f79790ffd24beac94581b0758"
25
+
26
+ license "Apache-2.0"
27
+ license_file "LICENSE"
28
+
29
+ version "2.6.0"
30
+
31
+ dependency "erlang"
32
+
33
+ source git: "https://github.com/rebar/rebar.git"
34
+
35
+ relative_path "rebar"
36
+
37
+ build do
38
+ env = with_standard_compiler_flags(with_embedded_path)
39
+
40
+ command "./bootstrap", env: env
41
+ copy "#{project_dir}/rebar", "#{install_dir}/embedded/bin/"
42
+ end
@@ -0,0 +1,36 @@
1
+ #
2
+ # Copyright 2014 Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ # expeditor/ignore: deprecated 2021-04
17
+
18
+ name "redis-gem"
19
+ default_version "3.3.3"
20
+
21
+ license "MIT"
22
+ license_file "https://raw.githubusercontent.com/redis/redis-rb/master/LICENSE"
23
+ # redis gem does not have any dependencies. We only install it from
24
+ # rubygems here.
25
+ skip_transitive_dependency_licensing true
26
+
27
+ dependency "ruby"
28
+
29
+ build do
30
+ env = with_standard_compiler_flags(with_embedded_path)
31
+
32
+ gem "install redis" \
33
+ " --version '#{version}'" \
34
+ " --bindir '#{install_dir}/embedded/bin'" \
35
+ " --no-document", env: env
36
+ end
@@ -0,0 +1,51 @@
1
+ #
2
+ # Copyright:: Chef Software, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ name "redis"
18
+
19
+ license "BSD-3-Clause"
20
+ license_file "COPYING"
21
+ skip_transitive_dependency_licensing true
22
+
23
+ dependency "config_guess"
24
+ default_version "7.0.4"
25
+
26
+ version("7.0.4") { source sha256: "f0e65fda74c44a3dd4fa9d512d4d4d833dd0939c934e946a5c622a630d057f2f" }
27
+ version("7.0.2") { source sha256: "5e57eafe7d4ac5ecb6a7d64d6b61db775616dbf903293b3fcc660716dbda5eeb" }
28
+ version("7.0.0") { source sha256: "284d8bd1fd85d6a55a05ee4e7c31c31977ad56cbf344ed83790beeb148baa720" }
29
+ version("6.2.7") { source sha256: "b7a79cc3b46d3c6eb52fa37dde34a4a60824079ebdfb3abfbbfa035947c55319" }
30
+ version("6.2.6") { source sha256: "5b2b8b7a50111ef395bf1c1d5be11e6e167ac018125055daa8b5c2317ae131ab" }
31
+ version("6.2.5") { source sha256: "4b9a75709a1b74b3785e20a6c158cab94cf52298aa381eea947a678a60d551ae" }
32
+ version("5.0.14") { source sha256: "3ea5024766d983249e80d4aa9457c897a9f079957d0fb1f35682df233f997f32" }
33
+
34
+ source url: "https://download.redis.io/releases/redis-#{version}.tar.gz"
35
+
36
+ relative_path "redis-#{version}"
37
+
38
+ build do
39
+ env = with_standard_compiler_flags(with_embedded_path).merge(
40
+ "PREFIX" => "#{install_dir}/embedded"
41
+ )
42
+
43
+ update_config_guess
44
+
45
+ if version.satisfies?("< 6.0")
46
+ patch source: "password-from-environment.patch", plevel: 1, env: env
47
+ end
48
+
49
+ make "-j #{workers}", env: env
50
+ make "install", env: env
51
+ end