omnibus-software 23.7.295 → 3002.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of omnibus-software might be problematic. Click here for more details.

Files changed (248) hide show
  1. checksums.yaml +4 -4
  2. data/lib/omnibus-software.rb +87 -102
  3. metadata +13 -273
  4. data/.buildkite/hooks/pre-command +0 -9
  5. data/.expeditor/Version_inspector/README.md +0 -21
  6. data/.expeditor/Version_inspector/SW-Version-update.py +0 -243
  7. data/.expeditor/Version_inspector/manual_prod_list.json +0 -29
  8. data/.expeditor/Version_inspector/prod_default_version.json +0 -103
  9. data/.expeditor/Version_inspector/prod_list.json +0 -194
  10. data/.expeditor/Version_inspector/requirements.txt +0 -4
  11. data/.expeditor/Version_inspector/update_prod_default_version.sh +0 -24
  12. data/.expeditor/Version_inspector/update_prod_list.sh +0 -35
  13. data/.expeditor/config.yml +0 -44
  14. data/.expeditor/determine_version.sh +0 -15
  15. data/.expeditor/push_git_tag.sh +0 -12
  16. data/.expeditor/run_linux_tests.sh +0 -16
  17. data/.expeditor/software_upload.pipeline.yml +0 -17
  18. data/.expeditor/verify.pipeline.yml +0 -52
  19. data/.github/CODEOWNERS +0 -5
  20. data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +0 -29
  21. data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +0 -40
  22. data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +0 -17
  23. data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +0 -11
  24. data/.github/dependabot.yml +0 -9
  25. data/.github/lock.yml +0 -1
  26. data/.gitignore +0 -17
  27. data/CHANGELOG.md +0 -18
  28. data/CODE_OF_CONDUCT.md +0 -1
  29. data/CONTRIBUTING.md +0 -1
  30. data/Dockerfile +0 -21
  31. data/Gemfile +0 -10
  32. data/LICENSE +0 -201
  33. data/README.md +0 -99
  34. data/Rakefile +0 -56
  35. data/VERSION +0 -1
  36. data/config/patches/bash/race-condition.patch +0 -15
  37. data/config/patches/bash/updated_race-condition.patch +0 -15
  38. data/config/patches/bzip2/aix_makefile.patch +0 -11
  39. data/config/patches/bzip2/makefile_no_bins.patch +0 -77
  40. data/config/patches/bzip2/makefile_take_env_vars.patch +0 -31
  41. data/config/patches/bzip2/soname_install_dir.patch +0 -11
  42. data/config/patches/curl/curl-aix-disable-alpn.patch +0 -22
  43. data/config/patches/curl/curl-freebsd-hostcheck.patch +0 -10
  44. data/config/patches/erlang/epmd-require-explicitly-adding-loopback-address.patch +0 -84
  45. data/config/patches/erlang/updated-epmd-require-explicitly-adding-loopback-address.patch +0 -75
  46. data/config/patches/expat/configure_xlc_visibility.patch +0 -58
  47. data/config/patches/expat/configure_xlc_visibility_2.4.7.patch +0 -59
  48. data/config/patches/figlet/aix-figlet-cdefs.patch +0 -48
  49. data/config/patches/gdbm/v1.8.3-Makefile.in.patch +0 -32
  50. data/config/patches/git/aix-endian-fix.patch +0 -20
  51. data/config/patches/gtar/aix_extra_case.patch +0 -13
  52. data/config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch +0 -15
  53. data/config/patches/libedit/freebsd-vi-fix.patch +0 -24
  54. data/config/patches/libedit/openbsd-weak-alias-fix.patch +0 -48
  55. data/config/patches/libedit/solaris.patch +0 -36
  56. data/config/patches/libffi/libffi-3.2.1-disable-multi-os-directory.patch +0 -83
  57. data/config/patches/libffi/libffi-3.3-arm64.patch +0 -9608
  58. data/config/patches/libxslt/libxslt-solaris-configure.patch +0 -19
  59. data/config/patches/libxslt/libxslt-windows-relocate.patch +0 -12
  60. data/config/patches/libyaml/windows-configure.patch +0 -26
  61. data/config/patches/libzmq/zeromq-4.0.11_mingw_inet_pton.patch +0 -37
  62. data/config/patches/libzmq/zeromq-aix-4.2.2-LARGE_FILES.patch +0 -56
  63. data/config/patches/libzmq/zeromq-aix-4.2.2-atomic-counter-fetch_and_add.patch +0 -59
  64. data/config/patches/logrotate/logrotate_basedir_override.patch +0 -17
  65. data/config/patches/m4/m4-1.4.18-glibc-change-work-around.patch +0 -115
  66. data/config/patches/make/deb-make-glob.patch +0 -31
  67. data/config/patches/ncurses/ncurses-5.9-gcc-5.patch +0 -46
  68. data/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch +0 -11
  69. data/config/patches/ncurses/ncurses-clang.patch +0 -43
  70. data/config/patches/ncurses/patch-aa +0 -23
  71. data/config/patches/ncurses/patch-ab +0 -44
  72. data/config/patches/ncurses/patch-ac +0 -40
  73. data/config/patches/ncurses/patch-ad +0 -13
  74. data/config/patches/ncurses/patch-cxx_cursesf.h +0 -22
  75. data/config/patches/ncurses/patch-cxx_cursesm.h +0 -22
  76. data/config/patches/ncurses/patch-ncurses_tinfo_lib__baudrate.c +0 -24
  77. data/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +0 -28
  78. data/config/patches/openssl/openssl-1.0.1j-windows-relocate-dll.patch +0 -44
  79. data/config/patches/openssl/openssl-1.0.1q-fix-compiler-flags-table-for-msys.patch +0 -20
  80. data/config/patches/openssl/openssl-1.0.2x-darwin-arm64.patch +0 -54
  81. data/config/patches/openssl/openssl-1.1.0f-do-not-install-docs.patch +0 -11
  82. data/config/patches/openssl/openssl-3.0.1-do-not-install-docs.patch +0 -22
  83. data/config/patches/openssl-fips/openssl-fips-fix-compiler-flags-table-for-msys.patch +0 -11
  84. data/config/patches/perl/perl-5.18.1-remove_lnsl.patch +0 -441
  85. data/config/patches/perl/perl-5.22.1-remove_lnsl.patch +0 -512
  86. data/config/patches/perl/perl-5.30.0-remove_lnsl.patch +0 -518
  87. data/config/patches/perl/perl-5.32.1-remove_lnsl.patch +0 -456
  88. data/config/patches/perl/perl-5.34.0-remove_lnsl.patch +0 -516
  89. data/config/patches/pkg-config/openbsd-charset.patch +0 -19
  90. data/config/patches/popt/v1.16.ppc64le-configure.patch +0 -18
  91. data/config/patches/redis/password-from-environment.patch +0 -19
  92. data/config/patches/ruby/patch-configure +0 -103
  93. data/config/patches/ruby/remove_nano.patch +0 -10
  94. data/config/patches/ruby/ruby-2.6.7_c99.patch +0 -12
  95. data/config/patches/ruby/ruby-3.0.1-configure.patch +0 -281
  96. data/config/patches/ruby/ruby-3.0.2-configure.patch +0 -251
  97. data/config/patches/ruby/ruby-3.0.5-configure.patch +0 -260
  98. data/config/patches/ruby/ruby-aix-atomic.patch +0 -11
  99. data/config/patches/ruby/ruby-aix-configure_26_and_later.patch +0 -19
  100. data/config/patches/ruby/ruby-aix-vm-core.patch +0 -14
  101. data/config/patches/ruby/ruby-fast-load_26.patch +0 -16
  102. data/config/patches/ruby/ruby-fast-load_31.patch +0 -16
  103. data/config/patches/ruby/ruby-faster-load_26.patch +0 -11
  104. data/config/patches/ruby/ruby-faster-load_27.patch +0 -11
  105. data/config/patches/ruby/ruby-mkmf.patch +0 -29
  106. data/config/patches/ruby/ruby-no-stack-protector-strong.patch +0 -11
  107. data/config/patches/ruby/ruby-no-stack-protector.patch +0 -13
  108. data/config/patches/ruby/ruby-win32_warning_removal.patch +0 -12
  109. data/config/patches/ruby/ruby_aix_openssl.patch +0 -10
  110. data/config/patches/ruby/ruby_aix_ssl_EAGAIN.patch +0 -19
  111. data/config/patches/ruby/rvm-cflags.patch +0 -27
  112. data/config/patches/stunnel/stunnel-on-windows.patch +0 -42
  113. data/config/patches/zlib/zlib-windows-relocate.patch +0 -20
  114. data/config/software/autoconf.rb +0 -46
  115. data/config/software/automake.rb +0 -49
  116. data/config/software/bash.rb +0 -81
  117. data/config/software/berkshelf-no-depselector.rb +0 -46
  118. data/config/software/berkshelf.rb +0 -34
  119. data/config/software/binutils.rb +0 -47
  120. data/config/software/bundler.rb +0 -38
  121. data/config/software/bzip2.rb +0 -57
  122. data/config/software/cacerts.rb +0 -52
  123. data/config/software/chef-gem.rb +0 -35
  124. data/config/software/chef.rb +0 -113
  125. data/config/software/cmake.rb +0 -100
  126. data/config/software/config_guess.rb +0 -37
  127. data/config/software/cpanminus.rb +0 -50
  128. data/config/software/curl.rb +0 -105
  129. data/config/software/delivery-cli.rb +0 -89
  130. data/config/software/dep-selector-libgecode.rb +0 -48
  131. data/config/software/elasticsearch.rb +0 -67
  132. data/config/software/elixir.rb +0 -35
  133. data/config/software/erlang.rb +0 -134
  134. data/config/software/expat.rb +0 -66
  135. data/config/software/fakeroot.rb +0 -41
  136. data/config/software/ffi-yajl.rb +0 -46
  137. data/config/software/figlet-fonts.rb +0 -31
  138. data/config/software/figlet.rb +0 -44
  139. data/config/software/gcc.rb +0 -60
  140. data/config/software/gdbm.rb +0 -54
  141. data/config/software/gecode.rb +0 -64
  142. data/config/software/gem-permissions.rb +0 -43
  143. data/config/software/git-windows.rb +0 -98
  144. data/config/software/git.rb +0 -142
  145. data/config/software/gmp.rb +0 -50
  146. data/config/software/go-uninstall.rb +0 -33
  147. data/config/software/go.rb +0 -123
  148. data/config/software/google-protobuf.rb +0 -45
  149. data/config/software/gtar.rb +0 -64
  150. data/config/software/help2man.rb +0 -40
  151. data/config/software/highline-gem.rb +0 -37
  152. data/config/software/ibm-jre.rb +0 -59
  153. data/config/software/inspec.rb +0 -43
  154. data/config/software/jre-from-jdk.rb +0 -67
  155. data/config/software/keepalived.rb +0 -68
  156. data/config/software/libarchive.rb +0 -74
  157. data/config/software/libedit.rb +0 -76
  158. data/config/software/libffi.rb +0 -71
  159. data/config/software/libgcc.rb +0 -52
  160. data/config/software/libiconv.rb +0 -57
  161. data/config/software/libintl-perl.rb +0 -59
  162. data/config/software/liblzma.rb +0 -63
  163. data/config/software/libossp-uuid.rb +0 -47
  164. data/config/software/libsodium.rb +0 -42
  165. data/config/software/libtool.rb +0 -58
  166. data/config/software/libuuid.rb +0 -44
  167. data/config/software/libxml2.rb +0 -65
  168. data/config/software/libxslt.rb +0 -68
  169. data/config/software/libyajl2-gem.rb +0 -44
  170. data/config/software/libyaml.rb +0 -52
  171. data/config/software/libzmq.rb +0 -93
  172. data/config/software/logrotate.rb +0 -64
  173. data/config/software/lua.rb +0 -48
  174. data/config/software/m4.rb +0 -40
  175. data/config/software/make.rb +0 -46
  176. data/config/software/makedepend.rb +0 -47
  177. data/config/software/mpc.rb +0 -48
  178. data/config/software/mpfr.rb +0 -48
  179. data/config/software/musl.rb +0 -107
  180. data/config/software/mysql2.rb +0 -50
  181. data/config/software/ncurses.rb +0 -162
  182. data/config/software/nginx.rb +0 -57
  183. data/config/software/nodejs-binary.rb +0 -93
  184. data/config/software/nodejs.rb +0 -58
  185. data/config/software/nokogiri.rb +0 -92
  186. data/config/software/omnibus-ctl.rb +0 -42
  187. data/config/software/openresty.rb +0 -96
  188. data/config/software/opensearch.rb +0 -59
  189. data/config/software/openssl-customization.rb +0 -81
  190. data/config/software/openssl-fips.rb +0 -85
  191. data/config/software/openssl.rb +0 -199
  192. data/config/software/patch.rb +0 -48
  193. data/config/software/patchelf.rb +0 -70
  194. data/config/software/pcre.rb +0 -55
  195. data/config/software/perl-extutils-embed.rb +0 -38
  196. data/config/software/perl-extutils-makemaker.rb +0 -47
  197. data/config/software/perl-thread-queue.rb +0 -41
  198. data/config/software/perl.rb +0 -80
  199. data/config/software/perl_pg_driver.rb +0 -46
  200. data/config/software/pg-gem.rb +0 -36
  201. data/config/software/pkg-config-lite.rb +0 -48
  202. data/config/software/pkg-config.rb +0 -68
  203. data/config/software/popt.rb +0 -59
  204. data/config/software/postgresql.rb +0 -71
  205. data/config/software/preparation.rb +0 -31
  206. data/config/software/python.rb +0 -83
  207. data/config/software/rabbitmq.rb +0 -58
  208. data/config/software/rb-readline.rb +0 -33
  209. data/config/software/rbnacl-libsodium.rb +0 -42
  210. data/config/software/rbzmq.rb +0 -44
  211. data/config/software/rebar.rb +0 -42
  212. data/config/software/redis-gem.rb +0 -36
  213. data/config/software/redis.rb +0 -54
  214. data/config/software/relx.rb +0 -39
  215. data/config/software/rsync.rb +0 -57
  216. data/config/software/ruby-cleanup.rb +0 -271
  217. data/config/software/ruby-msys2-devkit.rb +0 -72
  218. data/config/software/ruby-windows-devkit-bash.rb +0 -43
  219. data/config/software/ruby-windows-devkit.rb +0 -84
  220. data/config/software/ruby.rb +0 -315
  221. data/config/software/rubygems.rb +0 -73
  222. data/config/software/runit.rb +0 -68
  223. data/config/software/rust-uninstall.rb +0 -32
  224. data/config/software/rust.rb +0 -97
  225. data/config/software/sequel-gem.rb +0 -36
  226. data/config/software/server-jre.rb +0 -132
  227. data/config/software/server-open-jre.rb +0 -146
  228. data/config/software/setuptools.rb +0 -48
  229. data/config/software/shebang-cleanup.rb +0 -101
  230. data/config/software/sqitch.rb +0 -92
  231. data/config/software/stunnel.rb +0 -88
  232. data/config/software/util-macros.rb +0 -44
  233. data/config/software/version-manifest.rb +0 -33
  234. data/config/software/xproto.rb +0 -43
  235. data/config/software/zlib.rb +0 -88
  236. data/config/templates/git/config.mak.erb +0 -31
  237. data/config/templates/rubygems/register_devtools.rb.erb +0 -33
  238. data/config/templates/runit/runsvdir-start.erb +0 -42
  239. data/docker-compose.yml +0 -15
  240. data/lib/omnibus-software/version.rb +0 -3
  241. data/omnibus-software.gemspec +0 -20
  242. data/scripts/internal_sources.rb +0 -78
  243. data/scripts/internal_sources.yml +0 -419
  244. data/test/Gemfile +0 -10
  245. data/test/config/projects/test.rb +0 -14
  246. data/test/generate_steps.rb +0 -65
  247. data/test/omnibus-build.sh +0 -55
  248. data/test/omnibus.rb +0 -59
@@ -1,132 +0,0 @@
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-04
17
-
18
- name "server-jre"
19
- default_version "8u202"
20
-
21
- unless _64_bit?
22
- raise "Server-jre can only be installed on x86_64 systems."
23
- end
24
-
25
- license "Oracle-Binary"
26
- license_file "LICENSE"
27
- #
28
- # October 2016 (ssd):
29
- # Unfortunately http://java.com/license/ redirects to https://java.com/license/
30
- # which then redirects to http://www.oracle.com/technetwork/java/javase/terms/license/
31
- # triggering a bad redirect error.
32
- #
33
- license_file "http://www.oracle.com/technetwork/java/javase/terms/license/"
34
- skip_transitive_dependency_licensing true
35
-
36
- whitelist_file "jre/bin/javaws"
37
- whitelist_file "jre/bin/policytool"
38
- whitelist_file "jre/lib"
39
- whitelist_file "jre/plugin"
40
- whitelist_file "jre/bin/appletviewer"
41
-
42
- license_warning = "By including the JRE, you accept the terms of the Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX, which can be found at http://www.oracle.com/technetwork/java/javase/terms/license/index.html"
43
- license_cookie = "gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie"
44
-
45
- # This is the final release of the Oracle Java under the 'Oracle Binary Code License Agreement'
46
- version "8u202" do
47
- source url: "https://download.oracle.com/otn/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/server-jre-8u202-linux-x64.tar.gz",
48
- sha256: "61292e9d9ef84d9702f0e30f57b208e8fbd9a272d87cd530aece4f5213c98e4e",
49
- cookie: license_cookie,
50
- warning: license_warning,
51
- unsafe: true
52
- internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
53
- authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
54
- relative_path "jdk1.8.0_202"
55
- end
56
-
57
- version "8u162" do
58
- # https://www.oracle.com/webfolder/s/digest/8u162checksum.html
59
- source url: "http://download.oracle.com/otn-pub/java/jdk/8u162-b12/0da788060d494f5095bf8624735fa2f1/server-jre-8u162-linux-x64.tar.gz",
60
- sha256: "6942684acb6001748a01fc090a18f52ebd8cbfcf7be27ec6131981906bfa8b53",
61
- cookie: license_cookie,
62
- warning: license_warning,
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"]}"
66
- relative_path "jdk1.8.0_162"
67
- end
68
-
69
- version "8u151" do
70
- # https://www.oracle.com/webfolder/s/digest/8u151checksum.html
71
- source url: "http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/server-jre-8u151-linux-x64.tar.gz",
72
- sha256: "123b1d755416aa7579abc03f01ab946e612e141b6f7564130f2ada00ed913f1d",
73
- cookie: license_cookie,
74
- warning: license_warning,
75
- unsafe: true
76
- internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
77
- authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
78
- relative_path "jdk1.8.0_151"
79
- end
80
-
81
- version "8u144" do
82
- # https://www.oracle.com/webfolder/s/digest/8u144checksum.html
83
- source url: "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/server-jre-8u144-linux-x64.tar.gz",
84
- sha256: "8ba6f1c692518beb0c727c6e1fb8c30a5dfcc38f8ef9f4f7c7c114c01c747ebc",
85
- cookie: license_cookie,
86
- warning: license_warning,
87
- unsafe: true
88
- internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
89
- authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
90
- relative_path "jdk1.8.0_144"
91
- end
92
-
93
- version "8u121" do
94
- # https://www.oracle.com/webfolder/s/digest/8u121checksum.html
95
- source url: "http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/server-jre-8u121-linux-x64.tar.gz",
96
- sha256: "c25a60d02475499109f2bd6aa483721462aa7bfbb86b23ca6ac59be472747e5d",
97
- cookie: license_cookie,
98
- warning: license_warning,
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"]}"
102
- relative_path "jdk1.8.0_121"
103
- end
104
-
105
- version "8u111" do
106
- # https://www.oracle.com/webfolder/s/digest/8u111checksum.html
107
- source url: "http://download.oracle.com/otn-pub/java/jdk/8u111-b14/server-jre-8u111-linux-x64.tar.gz",
108
- sha256: "53442420cd9534ded4beca16c32c1d109cf5add637db764c86660c6eea1d88d4",
109
- cookie: license_cookie,
110
- warning: license_warning,
111
- unsafe: true
112
- internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
113
- authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
114
- relative_path "jdk1.8.0_111"
115
- end
116
-
117
- version "8u91" do
118
- # https://www.oracle.com/webfolder/s/digest/8u91checksum.html
119
- source url: "http://download.oracle.com/otn-pub/java/jdk/8u91-b14/server-jre-8u91-linux-x64.tar.gz",
120
- md5: "c8aefc3b97328d6f5197315fa6507bbf",
121
- cookie: license_cookie,
122
- warning: license_warning,
123
- unsafe: true
124
- internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
125
- authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
126
- relative_path "jdk1.8.0_91"
127
- end
128
-
129
- build do
130
- mkdir "#{install_dir}/embedded/jre"
131
- sync "#{project_dir}/", "#{install_dir}/embedded/jre"
132
- end
@@ -1,146 +0,0 @@
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
- dependency "zlib"
17
- dependency "patchelf"
18
-
19
- name "server-open-jre"
20
- default_version "11.0.19+7"
21
-
22
- unless _64_bit?
23
- raise "Server-open-jre can only be installed on x86_64 systems."
24
- end
25
-
26
- license "GPL-2.0 (with the Classpath Exception)"
27
-
28
- license_file "http://openjdk.java.net/legal/gplv2+ce.html"
29
- skip_transitive_dependency_licensing true
30
-
31
- whitelist_file "jre/bin/javaws"
32
- whitelist_file "jre/bin/policytool"
33
- whitelist_file "jre/lib"
34
- whitelist_file "jre/plugin"
35
- whitelist_file "jre/bin/appletviewer"
36
-
37
- license_warning = "By including the JRE, you accept the terms of AdoptOpenJRE."
38
-
39
- # version_list: url=https://github.com/adoptium/temurin11-binaries/releases filter=*.tar.gz
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
-
59
- version "11.0.17+8" do
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",
61
- sha256: "752616097e09d7f60a3ad8bd312f90eaf50ac72577e55df229fe6e8091148f79",
62
- warning: license_warning,
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"]}"
66
- end
67
-
68
- version "11.0.16.1+1" do
69
- source url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.16.1%2B1/OpenJDK11U-jre_x64_linux_hotspot_11.0.16.1_1.tar.gz",
70
- sha256: "1ffe1a682e8179e35238bf3f93aba0cb185850e202c676f41d38cb0561883eda",
71
- warning: license_warning,
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"]}"
75
- end
76
-
77
- version "11.0.15+10" do
78
- source url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15%2B10/OpenJDK11U-jre_x64_linux_hotspot_11.0.15_10.tar.gz",
79
- sha256: "22831fd097dfb39e844cb34f42064ff26a0ada9cd13621d7b8bca8e9b9d3a5ee",
80
- warning: license_warning,
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"]}"
84
- end
85
-
86
- version "11.0.14.1+1" do
87
- source url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14.1%2B1/OpenJDK11U-jre_x64_linux_hotspot_11.0.14.1_1.tar.gz",
88
- sha256: "b5a6960bc6bb0b1a967e307f908ea9b06ad7adbbd9df0b8954ab51374faa8a98",
89
- warning: license_warning,
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"]}"
93
- end
94
-
95
- version "11.0.13+8" do
96
- source url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13%2B8/OpenJDK11U-jre_x64_linux_hotspot_11.0.13_8.tar.gz",
97
- sha256: "fb0a27e6e1f26a1ee79daa92e4cfe3ec0d676acfe114d99dd84b3414f056e8a0",
98
- warning: license_warning,
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"]}"
102
- end
103
-
104
- version "11.0.12+7" do
105
- source url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jre_x64_linux_hotspot_11.0.12_7.tar.gz",
106
- sha256: "e813e270b7ea0a13f9c400ce5abd4cb811aacbd536b8909e6c7f0e346f78348c",
107
- warning: license_warning,
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"]}"
111
- end
112
-
113
- version "11.0.11+9" do
114
- source url: "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jre_x64_linux_hotspot_11.0.11_9.tar.gz",
115
- sha256: "144f2c6bcf64faa32016f2474b6c01031be75d25325e9c3097aed6589bc5d548",
116
- warning: license_warning,
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"]}"
120
- end
121
-
122
- version "11.0.10+9" do
123
- source url: "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.10%2B9/OpenJDK11U-jre_x64_linux_hotspot_11.0.10_9.tar.gz",
124
- sha256: "25fdcf9427095ac27c8bdfc82096ad2e615693a3f6ea06c700fca7ffb271131a",
125
- warning: license_warning,
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"]}"
129
- end
130
-
131
- relative_path "jdk-#{version}-jre"
132
-
133
- build do
134
- mkdir "#{install_dir}/embedded/open-jre"
135
- sync "#{project_dir}/", "#{install_dir}/embedded/open-jre"
136
-
137
- # Since we are using a precompiled-jre, it will look for zlib in the following path:
138
- # vagrant@default-ubuntu-1604:~$ chrpath jdk-11.0.4+11-jre/bin/java
139
- # jdk-11.0.4+11-jre/bin/java: RPATH=$ORIGIN/../lib/jli:$ORIGIN/../lib
140
- # This errors since it cannot find the libz.so.1 file that is installed
141
- # as a part of the omnibus environment.
142
- # We need to change the RPATH of the binary to be able to find omnibus installed zlib.
143
-
144
- new_rpath = "#{install_dir}/embedded/open-jre/lib/jli:#{install_dir}/embedded/lib:$ORIGIN/../lib"
145
- command "#{install_dir}/embedded/bin/patchelf --set-rpath #{new_rpath} #{install_dir}/embedded/open-jre/bin/*"
146
- end
@@ -1,48 +0,0 @@
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-04
17
-
18
- name "setuptools"
19
- default_version "0.7.7"
20
-
21
- license "Python Software Foundation"
22
- license_file "https://raw.githubusercontent.com/pypa/setuptools/master/LICENSE"
23
- skip_transitive_dependency_licensing true
24
-
25
- dependency "python"
26
-
27
- version "0.9.8" do
28
- source md5: "243076241781935f7fcad370195a4291"
29
- end
30
-
31
- version "0.7.7" do
32
- source md5: "0d7bc0e1a34b70a97e706ef74aa7f37f"
33
- end
34
-
35
- version "20.0" do
36
- source md5: "fb22b2474ca037e0b08f3c3b293e02e6"
37
- end
38
-
39
- source url: "https://pypi.python.org/packages/source/s/setuptools/setuptools-#{version}.tar.gz"
40
-
41
- relative_path "setuptools-#{version}"
42
-
43
- build do
44
- env = with_standard_compiler_flags(with_embedded_path)
45
-
46
- command "#{install_dir}/embedded/bin/python setup.py install" \
47
- " --prefix=#{install_dir}/embedded", env: env
48
- end
@@ -1,101 +0,0 @@
1
- #
2
- # Copyright 2012-2020, 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
- #
18
- # Use this software definition to fix the shebangs of binaries under embedded/bin
19
- # to point to the embedded ruby.
20
- #
21
- # expeditor/ignore: logic only
22
-
23
- name "shebang-cleanup"
24
-
25
- default_version "0.0.2"
26
-
27
- license :project_license
28
- skip_transitive_dependency_licensing true
29
-
30
- build do
31
- if windows?
32
- block "Update batch files to point at embedded ruby" do
33
- load_gemspec = if Gem::VERSION >= "2"
34
- require "rubygems/package"
35
- Gem::Package.method(:new)
36
- else
37
- require "rubygems/format"
38
- Gem::Format.method(:from_file_by_path)
39
- end
40
- Dir["#{install_dir.tr("\\", "/")}/embedded/lib/ruby/gems/**/cache/*.gem"].each do |gem_file|
41
- load_gemspec.call(gem_file).spec.executables.each do |bin|
42
- if File.exist?("#{install_dir}/bin/#{bin}")
43
- File.open("#{install_dir}/bin/#{bin}.bat", "w") do |f|
44
- f.puts <<~EOF
45
- @ECHO OFF
46
- "%~dp0..\\embedded\\bin\\ruby.exe" "%~dpn0" %*
47
- EOF
48
- end
49
- end
50
- if File.exist?("#{install_dir}/embedded/bin/#{bin}")
51
- File.open("#{install_dir}/embedded/bin/#{bin}.bat", "w") do |f|
52
- f.puts <<~EOF
53
- @ECHO OFF
54
- "%~dp0ruby.exe" "%~dpn0" %*
55
- EOF
56
- end
57
- end
58
- # Rubocop is silly and yells at you for structuring the
59
- # last if statement the way it is.
60
- next
61
- end
62
- end
63
-
64
- # Fix gem.bat and bundle.bat
65
- %w{gem bundle}.each do |binstub|
66
- File.open("#{install_dir}/embedded/bin/#{binstub}.bat", "w") do |f|
67
- f.puts <<~EOF
68
- @ECHO OFF
69
- "%~dp0ruby.exe" "%~dpn0" %*
70
- EOF
71
- end
72
- end
73
- end
74
- else
75
- block "Update shebangs to point to embedded Ruby" do
76
- # Fix the shebang for binaries with shebangs that have:
77
- # #!/usr/bin/env ruby
78
- Dir.glob("#{install_dir}/embedded/bin/*") do |bin_file|
79
- update_shebang = false
80
- rest_of_the_file = ""
81
-
82
- File.open(bin_file) do |f|
83
- shebang = f.readline
84
- if shebang.start_with?("#!") &&
85
- shebang.include?("ruby") &&
86
- !shebang.include?("#{install_dir}/embedded/bin/ruby")
87
- rest_of_the_file = f.read
88
- update_shebang = true
89
- end
90
- end
91
-
92
- if update_shebang
93
- File.open(bin_file, "w+") do |f|
94
- f.puts("#!#{install_dir}/embedded/bin/ruby")
95
- f.puts(rest_of_the_file)
96
- end
97
- end
98
- end
99
- end
100
- end
101
- end
@@ -1,92 +0,0 @@
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
-
17
- name "sqitch"
18
- default_version "1.3.1"
19
-
20
- license "MIT"
21
- license_file "https://raw.githubusercontent.com/theory/sqitch/master/README.md"
22
-
23
- dependency "perl"
24
- dependency "cpanminus"
25
-
26
- # install a LGPL-licensed version of libintl-perl:
27
- dependency "libintl-perl"
28
-
29
- # version_list: url=https://github.com/theory/#{name}/releases/download/v#{version}/ filter=app-sqitch-*.tar.gz
30
-
31
- version("1.3.1") { source sha256: "f5e768d298cd4047ee2ae42319782e8c2cda312737bcbdbfaf580bd47efe8b94" }
32
- version("1.3.0") { source sha256: "7d07635ec77a7faf3c50281c76ec833c68702f14470996cb2203a8bc6abc5bf2" }
33
- version("1.2.1") { source sha256: "020835a13429effd8fda12d5627604ecf99293775918f4f8ba9ccc5ed796e5e7" }
34
- version("1.1.0") { source sha256: "ee146cd75d6300837e6ca559bb0bde247d42123c96b2c5d4b2800f38d3e3d1ab" }
35
- version("0.9999") { source sha256: "f5bfa80206738ab8a70358a3b0557661c7459e11ec07dece23ecafa1f34372b3" }
36
- version("0.973") { source sha256: "95fc7f18fff786c5d2579133e2e3ac56779e54bb3a06a1af1117054e9f49ab32" }
37
-
38
- if version >= "1.1.0"
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"]}"
42
- relative_path "App-Sqitch-v#{version}"
43
- else
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"]}"
47
- relative_path "App-Sqitch-#{version}"
48
- end
49
-
50
- # See https://github.com/theory/sqitch for more
51
- build do
52
- env = with_standard_compiler_flags(with_embedded_path)
53
- # Lists-MoreUtils-XS does not build on RHEL 5 or SUSE 11 currently.
54
- # This option is used by the Lists-MoreUtils build configuration to
55
- # decide whether to use the -XS package or a pure perl
56
- # implementation.
57
- env["PERL_MM_OPT"] = "PUREPERL_ONLY=1"
58
- command "perl Build.PL", env: env
59
- command "./Build installdeps --cpan_client 'cpanm -v --notest'", env: env
60
- command "./Build", env: env
61
- command "./Build install", env: env
62
-
63
- # Here is another licensing fun. Some of the dependencies of sqitch
64
- # unfortunately have GPL3 and LGPL3 licenses which are requiring us to remove
65
- # them from our packages after installing sqitch. Here we are uninstalling
66
- # them without breaking the licensing information collection.
67
- %w{Test-MockModule}.each do |package_name|
68
- module_name = package_name.gsub("-", "::")
69
-
70
- # Here we run cpanm --uninstall with a different PERL_CPANM_HOME. The reason
71
- # for this is to keep the licensing information for sqitch intact. The way
72
- # license_scout works is to look into PERL_CPANM_HOME/latest-build (by
73
- # default ~/.cpanm/latest-build) which contains the modules installed during
74
- # the last install. This directory is a symlink that points to the directory
75
- # contains the information about the latest build. Without changing
76
- # PERL_CPANM_HOME we would overwrite the link and will not be able to
77
- # collect the dependencies installed to our package while doing the actual
78
- # sqitch install.
79
- Dir.mktmpdir do |tmpdir|
80
- command "cpanm --force --uninstall #{module_name}", env: env.merge({
81
- "PERL_CPANM_HOME" => tmpdir,
82
- })
83
- end
84
-
85
- # Here we are removing the problematic package from the original
86
- # PERL_CPANM_HOME cache directory. This ensures that we do not add
87
- # licensing information about these components to our package.
88
- cpanm_root = File.expand_path("~/.cpanm/latest-build")
89
- delete "#{cpanm_root}/#{package_name}*"
90
- end
91
-
92
- end
@@ -1,88 +0,0 @@
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 "stunnel"
18
- default_version "5.49"
19
- # Pin stunnel to 5.49 as it's the last version that supports FIPS with standard builds.
20
-
21
- license "GPL-2.0"
22
- license_file "COPYING"
23
- skip_transitive_dependency_licensing true
24
-
25
- dependency "openssl"
26
-
27
- # version_list: url=https://www.stunnel.org/downloads/ filter=*.tar.gz
28
-
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"]}"
32
-
33
- relative_path "stunnel-#{version}"
34
-
35
- version("5.67") { source sha256: "3086939ee6407516c59b0ba3fbf555338f9d52f459bcab6337c0f00e91ea8456" }
36
- version("5.66") { source sha256: "558178704d1aa5f6883aac6cc5d6bbf2a5714c8a0d2e91da0392468cee9f579c" }
37
- version("5.65") { source sha256: "60c500063bd1feff2877f5726e38278c086f96c178f03f09d264a2012d6bf7fc" }
38
- version("5.64") { source sha256: "eebe53ed116ba43b2e786762b0c2b91511e7b74857ad4765824e7199e6faf883" }
39
- version("5.63") { source sha256: "c74c4e15144a3ae34b8b890bb31c909207301490bd1e51bfaaa5ffeb0a994617" }
40
- version("5.59") { source sha256: "137776df6be8f1701f1cd590b7779932e123479fb91e5192171c16798815ce9f" }
41
- version("5.49") { source sha256: "3d6641213a82175c19f23fde1c3d1c841738385289eb7ca1554f4a58b96d955e" }
42
- version("5.39") { source sha256: "288c087a50465390d05508068ac76c8418a21fae7275febcc63f041ec5b04dee" }
43
-
44
- build do
45
- env = with_standard_compiler_flags(with_embedded_path)
46
-
47
- patch source: "stunnel-on-windows.patch", plevel: 1, env: env if windows?
48
-
49
- configure_args = [
50
- "--with-ssl=#{install_dir}/embedded",
51
- "--prefix=#{install_dir}/embedded",
52
- ]
53
- configure_args << "--enable-fips" if fips_mode?
54
-
55
- configure(*configure_args, env: env)
56
-
57
- if windows?
58
- # src/mingw.mk hardcodes and assumes SSL is at /opt so we patch and use
59
- # an env variable to redirect it to the correct location
60
- env["WIN32_SSL_DIR_PATCHED"] = "#{install_dir}/embedded"
61
-
62
- mingw = ENV["MSYSTEM"].downcase
63
- target = (mingw == "mingw32" ? "mingw" : "mingw64")
64
- # Starting omnibus-toolchain version 1.1.115 we do not build msys2 as a part of omnibus-toolchain anymore, but pre install it in image
65
- # so here we set the path to default install of msys2 first and default to OMNIBUS_TOOLCHAIN_INSTALL_DIR for backward compatibility
66
- msys_path = ENV["MSYS2_INSTALL_DIR"] ? "#{ENV["MSYS2_INSTALL_DIR"]}" : "#{ENV["OMNIBUS_TOOLCHAIN_INSTALL_DIR"]}/embedded/bin"
67
-
68
- make target, env: env, cwd: "#{project_dir}/src"
69
-
70
- block "copy required windows files" do
71
- copy_files = [
72
- "#{project_dir}/bin/#{target}/stunnel.exe",
73
- "#{project_dir}/bin/#{target}/tstunnel.exe",
74
- "#{msys_path}/#{mingw}/bin/libssp-0.dll",
75
- ]
76
- copy_files.each do |file|
77
- if File.exist?(file)
78
- copy file, "#{install_dir}/embedded/bin/#{File.basename(file)}"
79
- else
80
- raise "Cannot find required file for Windows: #{file}"
81
- end
82
- end
83
- end
84
- else
85
- make env: env
86
- make "install", env: env
87
- end
88
- end
@@ -1,44 +0,0 @@
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
-
17
- name "util-macros"
18
- default_version "1.19.3"
19
-
20
- # version_list: url=https://www.x.org/releases/individual/util/ filter=util-macros-*.tar.gz
21
-
22
- version("1.19.3") { source sha256: "624bb6c3a4613d18114a7e3849a3d70f2d7af9dc6eabeaba98060d87e3aef35b" }
23
- version("1.19.0") { source sha256: "0d4df51b29023daf2f63aebf3ebc638ea88efedfd560ab5866741ab3f92acaa1" }
24
- version("1.18.0") { source sha256: "cf4ab0e17bfee0f7689cdcff8c7d7f164c9a710f851f91c488f5cd81fac9c0aa" }
25
-
26
- source url: "https://www.x.org/releases/individual/util/util-macros-#{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"]}"
29
-
30
- license "MIT"
31
- license_file "COPYING"
32
- skip_transitive_dependency_licensing true
33
-
34
- relative_path "util-macros-#{version}"
35
-
36
- build do
37
- env = with_standard_compiler_flags(with_embedded_path)
38
-
39
- command "./configure" \
40
- " --prefix=#{install_dir}/embedded", env: env
41
-
42
- make "-j #{workers}", env: env
43
- make "-j #{workers} install", env: env
44
- end