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,45 @@
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 "libossp-uuid"
18
+ default_version "1.6.2"
19
+
20
+ license "MIT"
21
+ license_file "README"
22
+ skip_transitive_dependency_licensing true
23
+
24
+ dependency "config_guess"
25
+
26
+ # version_list: url=https://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/ filter=*.tar.gz
27
+
28
+ version("1.6.2") { source sha256: "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0" }
29
+
30
+ # ftp on ftp.ossp.org is unavaiable so we must use another mirror site.
31
+ source url: "https://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/uuid-#{version}.tar.gz"
32
+
33
+ relative_path "uuid-#{version}"
34
+
35
+ build do
36
+ env = with_standard_compiler_flags(with_embedded_path)
37
+
38
+ update_config_guess
39
+
40
+ command "./configure" \
41
+ " --prefix=#{install_dir}/embedded", env: env
42
+
43
+ make "-j #{workers}", env: env
44
+ make "install", env: env
45
+ end
@@ -0,0 +1,40 @@
1
+ #
2
+ # Copyright:: Copyright (c) 2012-2019, Chef Software Inc.
3
+ # License:: Apache License, Version 2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+
18
+ # We use the version in util-linux, and only build the libuuid subdirectory
19
+ name "libsodium"
20
+ default_version "1.0.18"
21
+
22
+ license "ISC"
23
+ license_file "LICENSE"
24
+ skip_transitive_dependency_licensing true
25
+
26
+ # version_list: url=https://download.libsodium.org/libsodium/releases/ filter=*.tar.gz
27
+
28
+ version("1.0.17") { source sha256: "0cc3dae33e642cc187b5ceb467e0ad0e1b51dcba577de1190e9ffa17766ac2b1" }
29
+ version("1.0.18") { source sha256: "6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1" }
30
+
31
+ source url: "https://download.libsodium.org/libsodium/releases/libsodium-#{version}.tar.gz"
32
+
33
+ relative_path "libsodium-#{version}"
34
+
35
+ build do
36
+ env = with_standard_compiler_flags(with_embedded_path)
37
+ configure "--disable-dependency-tracking", env: env
38
+ make "-j #{workers}", env: env
39
+ make "install", env: env
40
+ end
@@ -0,0 +1,56 @@
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 "libtool"
18
+ default_version "2.4.7"
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=https://ftp.gnu.org/gnu/libtool/ filter=*.tar.gz
27
+
28
+ version("2.4.7") { source sha256: "04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8" }
29
+ version("2.4.6") { source sha256: "e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3" }
30
+ version("2.4.2") { source sha256: "b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918" }
31
+ version("2.4") { source sha256: "13df57ab63a94e196c5d6e95d64e53262834fe780d5e82c28f177f9f71ddf62e" }
32
+
33
+ source url: "https://ftp.gnu.org/gnu/libtool/libtool-#{version}.tar.gz"
34
+
35
+ relative_path "libtool-#{version}"
36
+
37
+ build do
38
+ env = with_standard_compiler_flags(with_embedded_path)
39
+
40
+ update_config_guess
41
+ update_config_guess(target: "libltdl/config")
42
+
43
+ if aix?
44
+ env["M4"] = "/opt/freeware/bin/m4"
45
+ elsif solaris2?
46
+ # We hit this bug on Solaris11 platforms bug#14291: libtool 2.4.2 fails to build due to macro_revision reversion
47
+ # The problem occurs with LANG=en_US.UTF-8 but not with LANG=C
48
+ env["LANG"] = "C"
49
+ end
50
+
51
+ command "./configure" \
52
+ " --prefix=#{install_dir}/embedded", env: env
53
+
54
+ make env: env
55
+ make "install", env: env
56
+ end
@@ -0,0 +1,45 @@
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-11
17
+ #
18
+
19
+ name "libuuid"
20
+ default_version "2.21"
21
+
22
+ license "LGPL-2.1"
23
+ license_file "COPYING"
24
+
25
+ source url: "https://www.kernel.org/pub/linux/utils/util-linux/v#{version}/util-linux-#{version}.tar.gz"
26
+
27
+ # We use the version in util-linux, and only build the libuuid subdirectory
28
+ version "2.27.1" do
29
+ source md5: "e9c73747eadf5201b2a198530add4f87",
30
+ url: "https://www.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.gz"
31
+ end
32
+ version "2.21" do
33
+ source md5: "4222aa8c2a1b78889e959a4722f1881a"
34
+ end
35
+
36
+ relative_path "util-linux-#{version}"
37
+
38
+ build do
39
+ env = with_standard_compiler_flags(with_embedded_path)
40
+
41
+ command "./configure --prefix=#{install_dir}/embedded", env: env
42
+
43
+ make "-j #{workers}", env: env, cwd: "#{project_dir}/libuuid"
44
+ make "-j #{workers} install", env: env, cwd: "#{project_dir}/libuuid"
45
+ end
@@ -0,0 +1,63 @@
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 "libxml2"
18
+ default_version "2.9.14"
19
+
20
+ license "MIT"
21
+ license_file "COPYING"
22
+ skip_transitive_dependency_licensing true
23
+
24
+ dependency "zlib"
25
+ dependency "liblzma"
26
+ dependency "config_guess"
27
+
28
+ # version_list: url=https://download.gnome.org/sources/libxml2/2.9/ filter=*.tar.xz
29
+ version("2.9.14") { source sha256: "60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee" }
30
+ version("2.9.13") { source sha256: "276130602d12fe484ecc03447ee5e759d0465558fbc9d6bd144e3745306ebf0e" }
31
+ version("2.9.12") { source sha256: "28a92f6ab1f311acf5e478564c49088ef0ac77090d9c719bbc5d518f1fe62eb9" }
32
+ version("2.9.10") { source sha256: "593b7b751dd18c2d6abcd0c4bcb29efc203d0b4373a6df98e3a455ea74ae2813" }
33
+ version("2.9.9") { source sha256: "58a5c05a2951f8b47656b676ce1017921a29f6b1419c45e3baed0d6435ba03f5" }
34
+
35
+ source url: "https://download.gnome.org/sources/libxml2/2.9/libxml2-#{version}.tar.xz"
36
+
37
+ relative_path "libxml2-#{version}"
38
+
39
+ build do
40
+ env = with_standard_compiler_flags(with_embedded_path)
41
+
42
+ configure_command = [
43
+ "--with-zlib=#{install_dir}/embedded",
44
+ "--with-lzma=#{install_dir}/embedded",
45
+ "--with-sax1", # required for nokogiri to compile
46
+ "--without-iconv",
47
+ "--without-python",
48
+ "--without-icu",
49
+ "--without-debug",
50
+ "--without-mem-debug",
51
+ "--without-run-debug",
52
+ "--without-legacy", # we don't need legacy interfaces
53
+ "--without-catalog",
54
+ "--without-docbook",
55
+ ]
56
+
57
+ update_config_guess
58
+
59
+ configure(*configure_command, env: env)
60
+
61
+ make "-j #{workers}", env: env
62
+ make "install", env: env
63
+ end
@@ -0,0 +1,64 @@
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 "libxslt"
18
+ default_version "1.1.35"
19
+
20
+ license "MIT"
21
+ license_file "COPYING"
22
+ skip_transitive_dependency_licensing true
23
+
24
+ dependency "libxml2"
25
+ dependency "liblzma"
26
+ dependency "config_guess"
27
+
28
+ # versions_list: url=https://download.gnome.org/sources/libxslt/1.1/ filter=*.tar.xz
29
+ version("1.1.35") { source sha256: "8247f33e9a872c6ac859aa45018bc4c4d00b97e2feac9eebc10c93ce1f34dd79" }
30
+ version("1.1.34") { source sha256: "28c47db33ab4daefa6232f31ccb3c65260c825151ec86ec461355247f3f56824" }
31
+ version("1.1.30") { source sha256: "db1e4e26eaec47d00f885bad19a8749eb1008909b817d650101365f068ee3b24" }
32
+
33
+ source url: "https://download.gnome.org/sources/libxslt/1.1/libxslt-#{version}.tar.xz"
34
+
35
+ relative_path "libxslt-#{version}"
36
+
37
+ build do
38
+ update_config_guess
39
+
40
+ env = with_standard_compiler_flags(with_embedded_path)
41
+
42
+ patch source: "libxslt-solaris-configure.patch", env: env if solaris2? || omnios? || smartos?
43
+
44
+ if windows?
45
+ patch source: "libxslt-windows-relocate.patch", env: env
46
+ end
47
+
48
+ # the libxslt configure script iterates directories specified in
49
+ # --with-libxml-prefix looking for the libxml2 config script. That
50
+ # iteration treats colons as a delimiter so we are using a cygwin
51
+ # style path to accomodate
52
+ configure_commands = [
53
+ "--with-libxml-prefix=#{install_dir.sub("C:", "/C")}/embedded",
54
+ "--without-python",
55
+ "--without-crypto",
56
+ "--without-profiler",
57
+ "--without-debugger",
58
+ ]
59
+
60
+ configure(*configure_commands, env: env)
61
+
62
+ make "-j #{workers}", env: env
63
+ make "install", env: env
64
+ end
@@ -0,0 +1,44 @@
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 "libyajl2-gem"
19
+ default_version "main"
20
+ relative_path "libyajl2-gem"
21
+
22
+ source git: "https://github.com/chef/libyajl2-gem.git"
23
+
24
+ license "Apache-2.0"
25
+ license_file "LICENSE"
26
+
27
+ dependency "ruby"
28
+
29
+ build do
30
+ env = with_embedded_path
31
+
32
+ command "git submodule init", env: env
33
+ command "git submodule update", env: env
34
+
35
+ bundle "config set --local without development_extras", env: env
36
+ bundle "install", env: env
37
+ bundle "exec rake prep", env: env
38
+ bundle "exec rake gem", env: env
39
+
40
+ delete "pkg/*java*"
41
+
42
+ gem "install pkg/libyajl2-*.gem" \
43
+ " --no-document", env: env
44
+ end
@@ -0,0 +1,50 @@
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 "libyaml"
18
+ default_version "0.2.5"
19
+
20
+ license "MIT"
21
+ license_file "LICENSE"
22
+ skip_transitive_dependency_licensing true
23
+
24
+ dependency "config_guess"
25
+
26
+ # versions_list: https://pyyaml.org/download/libyaml/ filter=*.tar.gz
27
+ version("0.2.5") { source sha256: "c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4" }
28
+ version("0.2.4") { source sha256: "d80aeda8747b7c26fbbfd87ab687786e58394a8435ae3970e79cb97882e30557" }
29
+ version("0.1.7") { source sha256: "8088e457264a98ba451a90b8661fcb4f9d6f478f7265d48322a196cec2480729" }
30
+
31
+ source url: "https://pyyaml.org/download/libyaml/yaml-#{version}.tar.gz"
32
+
33
+ relative_path "yaml-#{version}"
34
+
35
+ build do
36
+ env = with_standard_compiler_flags(with_embedded_path)
37
+
38
+ update_config_guess(target: "config")
39
+
40
+ configure "--enable-shared", env: env
41
+
42
+ # Windows had worse automake/libtool version issues.
43
+ # Just patch the output instead.
44
+ if windows? && version.satisfies?("< 0.2.5")
45
+ patch source: "windows-configure.patch", plevel: 1, env: env
46
+ end
47
+
48
+ make "-j #{workers}", env: env
49
+ make "-j #{workers} install", env: env
50
+ end
@@ -0,0 +1,93 @@
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
+ # We use the version in util-linux, and only build the libuuid subdirectory
18
+ #
19
+ # expeditor/ignore: deprecated 2021-04
20
+
21
+ name "libzmq"
22
+ default_version "4.0.7"
23
+
24
+ license "LGPL-3.0"
25
+ license_file "COPYING"
26
+ license_file "COPYING.LESSER"
27
+ skip_transitive_dependency_licensing true
28
+
29
+ version "4.2.2" do
30
+ source md5: "52499909b29604c1e47a86f1cb6a9115"
31
+ dependency "libsodium"
32
+ end
33
+ version "4.1.4" do
34
+ source md5: "a611ecc93fffeb6d058c0e6edf4ad4fb"
35
+ dependency "libsodium"
36
+ end
37
+ # Last stable version for "4.0.x"
38
+ version "4.0.7" do
39
+ source sha256: "e00b2967e074990d0538361cc79084a0a92892df2c6e7585da34e4c61ee47b03"
40
+ dependency "libsodium"
41
+ end
42
+ version "4.0.5" do
43
+ source md5: "73c39f5eb01b9d7eaf74a5d899f1d03d"
44
+ dependency "libsodium"
45
+ end
46
+ version "4.0.4" do
47
+ source md5: "f3c3defbb5ef6cc000ca65e529fdab3b"
48
+ dependency "libsodium"
49
+ end
50
+
51
+ relative_path "zeromq-#{version}"
52
+ if version.satisfies?(">= 4.2.0")
53
+ source url: "https://github.com/zeromq/libzmq/releases/download/v#{version}/zeromq-#{version}.tar.gz"
54
+ else
55
+ source url: "http://download.zeromq.org/zeromq-#{version}.tar.gz"
56
+ end
57
+
58
+ build do
59
+ env = with_standard_compiler_flags(with_embedded_path)
60
+
61
+ if aix?
62
+ # In tcp_connector.hpp the `open` method was getting redefined to open64 because the compiler's `_LARGE_FILES` flag
63
+ # is set. We renamed `open` to `openn` to keep it from getting redefined during compilation.
64
+ # reference: https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/com.ibm.aix.genprogc/writing_programsa_access.htm
65
+ # reference: https://www.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.basetrf1/open.htm
66
+ patch source: "zeromq-aix-4.2.2-LARGE_FILES.patch", plevel: 0, env: env
67
+
68
+ # When trying to run libzmq and request a socket we were seeing failures (resulting in core dumps) around the use of mutexes.
69
+ # We eventually narrowed this down to the `atomic_counter.hpp`. This class has a bunch of overrides to support atomic
70
+ # operations using system or compiler native features. As a fallback it would use a mutex to perform atomic operations but
71
+ # we were seeing that mutex never be initialized. So we added support for the built-in AIX atomic operations fetch_and_add.
72
+ patch source: "zeromq-aix-4.2.2-atomic-counter-fetch_and_add.patch", plevel: 0, env: env
73
+ end
74
+
75
+ # If we were building with CMake this would be the default
76
+ # and newer versions of libzmq use this as the default.
77
+ env["CPPFLAGS"] = "#{env["CPPFLAGS"]} -DFD_SETSIZE=1024" if windows?
78
+
79
+ # Some test files use inet_pton which is not readily available on windows.
80
+ if version.satisfies?(">= 4") && version.satisfies?("< 4.1") && windows?
81
+ patch source: "zeromq-4.0.11_mingw_inet_pton.patch", env: env
82
+ end
83
+
84
+ config_command = [
85
+ "--with-libsodium",
86
+ "--without-documentation",
87
+ "--disable-dependency-tracking",
88
+ ]
89
+ configure(*config_command, env: env)
90
+
91
+ make "-j #{workers}", env: env
92
+ make "-j #{workers} install", env: env
93
+ end
@@ -0,0 +1,61 @@
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 "logrotate"
18
+ default_version "3.20.1"
19
+
20
+ license "GPL-2.0"
21
+ license_file "COPYING"
22
+ skip_transitive_dependency_licensing true
23
+
24
+ dependency "popt"
25
+
26
+ source url: "https://github.com/logrotate/logrotate/archive/#{version}.tar.gz"
27
+
28
+ # versions_list: https://github.com/logrotate/logrotate/tags filter=*.tar.gz
29
+
30
+ version("3.20.1") { source sha256: "f37458dee3b4adab6719767ad4b93ff9ec8948755d1148b76f7f4c2c68d3e457" }
31
+ version("3.19.0") { source sha256: "7de1796cb99ce4ed21770b5dae0b4e6f81de0b4df310a58a1617d8061b1e0930" }
32
+ version("3.18.1") { source sha256: "18e9c9b85dd185e79f097f4e7982bc5b8c137300756a7878e8fa24731f2f8e21" }
33
+ version("3.9.2") { source sha256: "2de00c65e23fa9d7909cae6594e550b9abe9a7eb1553669ddeaca92d30f97009" }
34
+
35
+ relative_path "logrotate-#{version}"
36
+
37
+ build do
38
+ env = with_standard_compiler_flags(with_embedded_path).merge(
39
+ # Patch allows this to be set manually
40
+ "BASEDIR" => "#{install_dir}/embedded"
41
+ )
42
+
43
+ # These EXTRA_* vars allow us to append to the Makefile's hardcoded LDFLAGS
44
+ # and CFLAGS
45
+ env["EXTRA_LDFLAGS"] = env["LDFLAGS"]
46
+ env["EXTRA_CFLAGS"] = env["CFLAGS"]
47
+
48
+ if version == "3.9.2"
49
+ patch source: "logrotate_basedir_override.patch", plevel: 0, env: env
50
+ else
51
+ command "autoreconf -fiv", env: env
52
+ command "./configure --prefix=#{install_dir}/embedded", env: env
53
+ end
54
+
55
+ make "-j #{workers}", env: env
56
+
57
+ # Yes, this is horrible. Due to how the makefile is structured, we need to
58
+ # specify PREFIX, *but not BASEDIR* in order to get this installed into
59
+ # +"#{install_dir}/embedded/sbin"+
60
+ make "install", env: { "PREFIX" => "#{install_dir}/embedded" }
61
+ end
@@ -0,0 +1,46 @@
1
+ #
2
+ # Copyright 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
+
17
+ name "lua"
18
+ default_version "5.4.4"
19
+
20
+ # versions_list: https://www.lua.org/ftp/ filter=*.tar.gz
21
+ version("5.4.4") { source sha256: "164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61" }
22
+ version("5.4.3") { source sha256: "f8612276169e3bfcbcfb8f226195bfc6e466fe13042f1076cbde92b7ec96bbfb" }
23
+ version("5.4.2") { source sha256: "11570d97e9d7303c0a59567ed1ac7c648340cd0db10d5fd594c09223ef2f524f" }
24
+ version("5.3.3") { source sha256: "5113c06884f7de453ce57702abaac1d618307f33f6789fa870e87a59d772aca2" }
25
+ version("5.2.4") { source sha256: "b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b" }
26
+
27
+ license "MIT"
28
+ license_file "https://www.lua.org/license.html"
29
+ skip_transitive_dependency_licensing true
30
+
31
+ source url: "https://www.lua.org/ftp/lua-#{version}.tar.gz"
32
+
33
+ relative_path "lua-#{version}"
34
+
35
+ build do
36
+ env = with_standard_compiler_flags(with_embedded_path)
37
+
38
+ # lua compiles in a slightly interesting way, it has minimal configuration options
39
+ # and only provides a makefile. We can't use use `-DLUA_USE_LINUX` or the `make linux`
40
+ # methods because they make the assumption that the readline package has been installed.
41
+ mycflags = "-I#{install_dir}/embedded/include -O2 -DLUA_USE_POSIX -DLUA_USE_DLOPEN"
42
+ myldflags = "-Wl,-rpath,#{install_dir}/embedded/lib -L#{install_dir}/embedded/lib"
43
+ mylibs = "-ldl"
44
+ make "all MYCFLAGS='#{mycflags}' MYLDFLAGS='#{myldflags}' MYLIBS='#{mylibs}'", env: env, cwd: "#{project_dir}/src"
45
+ make "-j #{workers} install INSTALL_TOP=#{install_dir}/embedded", env: env
46
+ end
@@ -0,0 +1,40 @@
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
+ # expeditor/ignore: deprecated 2021-04
17
+
18
+ name "m4"
19
+ default_version "1.4.18"
20
+
21
+ license "GPL-3.0"
22
+ license_file "COPYING"
23
+ skip_transitive_dependency_licensing true
24
+
25
+ version("1.4.18") { source sha256: "ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab" }
26
+
27
+ source url: "https://ftp.gnu.org/gnu/m4/m4-#{version}.tar.gz"
28
+
29
+ relative_path "m4-#{version}"
30
+
31
+ build do
32
+ env = with_standard_compiler_flags(with_embedded_path)
33
+
34
+ patch source: "m4-1.4.18-glibc-change-work-around.patch", plevel: 1, env: env if version == "1.4.18"
35
+
36
+ command "./configure --prefix=#{install_dir}/embedded", env: env
37
+
38
+ make "-j #{workers}", env: env
39
+ make "-j #{workers} install", env: env
40
+ end