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.
- checksums.yaml +4 -4
- data/lib/omnibus-software.rb +87 -102
- metadata +13 -273
- data/.buildkite/hooks/pre-command +0 -9
- data/.expeditor/Version_inspector/README.md +0 -21
- data/.expeditor/Version_inspector/SW-Version-update.py +0 -243
- data/.expeditor/Version_inspector/manual_prod_list.json +0 -29
- data/.expeditor/Version_inspector/prod_default_version.json +0 -103
- data/.expeditor/Version_inspector/prod_list.json +0 -194
- data/.expeditor/Version_inspector/requirements.txt +0 -4
- data/.expeditor/Version_inspector/update_prod_default_version.sh +0 -24
- data/.expeditor/Version_inspector/update_prod_list.sh +0 -35
- data/.expeditor/config.yml +0 -44
- data/.expeditor/determine_version.sh +0 -15
- data/.expeditor/push_git_tag.sh +0 -12
- data/.expeditor/run_linux_tests.sh +0 -16
- data/.expeditor/software_upload.pipeline.yml +0 -17
- data/.expeditor/verify.pipeline.yml +0 -52
- data/.github/CODEOWNERS +0 -5
- data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +0 -29
- data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +0 -40
- data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +0 -17
- data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +0 -11
- data/.github/dependabot.yml +0 -9
- data/.github/lock.yml +0 -1
- data/.gitignore +0 -17
- data/CHANGELOG.md +0 -18
- data/CODE_OF_CONDUCT.md +0 -1
- data/CONTRIBUTING.md +0 -1
- data/Dockerfile +0 -21
- data/Gemfile +0 -10
- data/LICENSE +0 -201
- data/README.md +0 -99
- data/Rakefile +0 -56
- data/VERSION +0 -1
- data/config/patches/bash/race-condition.patch +0 -15
- data/config/patches/bash/updated_race-condition.patch +0 -15
- data/config/patches/bzip2/aix_makefile.patch +0 -11
- data/config/patches/bzip2/makefile_no_bins.patch +0 -77
- data/config/patches/bzip2/makefile_take_env_vars.patch +0 -31
- data/config/patches/bzip2/soname_install_dir.patch +0 -11
- data/config/patches/curl/curl-aix-disable-alpn.patch +0 -22
- data/config/patches/curl/curl-freebsd-hostcheck.patch +0 -10
- data/config/patches/erlang/epmd-require-explicitly-adding-loopback-address.patch +0 -84
- data/config/patches/erlang/updated-epmd-require-explicitly-adding-loopback-address.patch +0 -75
- data/config/patches/expat/configure_xlc_visibility.patch +0 -58
- data/config/patches/expat/configure_xlc_visibility_2.4.7.patch +0 -59
- data/config/patches/figlet/aix-figlet-cdefs.patch +0 -48
- data/config/patches/gdbm/v1.8.3-Makefile.in.patch +0 -32
- data/config/patches/git/aix-endian-fix.patch +0 -20
- data/config/patches/gtar/aix_extra_case.patch +0 -13
- data/config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch +0 -15
- data/config/patches/libedit/freebsd-vi-fix.patch +0 -24
- data/config/patches/libedit/openbsd-weak-alias-fix.patch +0 -48
- data/config/patches/libedit/solaris.patch +0 -36
- data/config/patches/libffi/libffi-3.2.1-disable-multi-os-directory.patch +0 -83
- data/config/patches/libffi/libffi-3.3-arm64.patch +0 -9608
- data/config/patches/libxslt/libxslt-solaris-configure.patch +0 -19
- data/config/patches/libxslt/libxslt-windows-relocate.patch +0 -12
- data/config/patches/libyaml/windows-configure.patch +0 -26
- data/config/patches/libzmq/zeromq-4.0.11_mingw_inet_pton.patch +0 -37
- data/config/patches/libzmq/zeromq-aix-4.2.2-LARGE_FILES.patch +0 -56
- data/config/patches/libzmq/zeromq-aix-4.2.2-atomic-counter-fetch_and_add.patch +0 -59
- data/config/patches/logrotate/logrotate_basedir_override.patch +0 -17
- data/config/patches/m4/m4-1.4.18-glibc-change-work-around.patch +0 -115
- data/config/patches/make/deb-make-glob.patch +0 -31
- data/config/patches/ncurses/ncurses-5.9-gcc-5.patch +0 -46
- data/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch +0 -11
- data/config/patches/ncurses/ncurses-clang.patch +0 -43
- data/config/patches/ncurses/patch-aa +0 -23
- data/config/patches/ncurses/patch-ab +0 -44
- data/config/patches/ncurses/patch-ac +0 -40
- data/config/patches/ncurses/patch-ad +0 -13
- data/config/patches/ncurses/patch-cxx_cursesf.h +0 -22
- data/config/patches/ncurses/patch-cxx_cursesm.h +0 -22
- data/config/patches/ncurses/patch-ncurses_tinfo_lib__baudrate.c +0 -24
- data/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +0 -28
- data/config/patches/openssl/openssl-1.0.1j-windows-relocate-dll.patch +0 -44
- data/config/patches/openssl/openssl-1.0.1q-fix-compiler-flags-table-for-msys.patch +0 -20
- data/config/patches/openssl/openssl-1.0.2x-darwin-arm64.patch +0 -54
- data/config/patches/openssl/openssl-1.1.0f-do-not-install-docs.patch +0 -11
- data/config/patches/openssl/openssl-3.0.1-do-not-install-docs.patch +0 -22
- data/config/patches/openssl-fips/openssl-fips-fix-compiler-flags-table-for-msys.patch +0 -11
- data/config/patches/perl/perl-5.18.1-remove_lnsl.patch +0 -441
- data/config/patches/perl/perl-5.22.1-remove_lnsl.patch +0 -512
- data/config/patches/perl/perl-5.30.0-remove_lnsl.patch +0 -518
- data/config/patches/perl/perl-5.32.1-remove_lnsl.patch +0 -456
- data/config/patches/perl/perl-5.34.0-remove_lnsl.patch +0 -516
- data/config/patches/pkg-config/openbsd-charset.patch +0 -19
- data/config/patches/popt/v1.16.ppc64le-configure.patch +0 -18
- data/config/patches/redis/password-from-environment.patch +0 -19
- data/config/patches/ruby/patch-configure +0 -103
- data/config/patches/ruby/remove_nano.patch +0 -10
- data/config/patches/ruby/ruby-2.6.7_c99.patch +0 -12
- data/config/patches/ruby/ruby-3.0.1-configure.patch +0 -281
- data/config/patches/ruby/ruby-3.0.2-configure.patch +0 -251
- data/config/patches/ruby/ruby-3.0.5-configure.patch +0 -260
- data/config/patches/ruby/ruby-aix-atomic.patch +0 -11
- data/config/patches/ruby/ruby-aix-configure_26_and_later.patch +0 -19
- data/config/patches/ruby/ruby-aix-vm-core.patch +0 -14
- data/config/patches/ruby/ruby-fast-load_26.patch +0 -16
- data/config/patches/ruby/ruby-fast-load_31.patch +0 -16
- data/config/patches/ruby/ruby-faster-load_26.patch +0 -11
- data/config/patches/ruby/ruby-faster-load_27.patch +0 -11
- data/config/patches/ruby/ruby-mkmf.patch +0 -29
- data/config/patches/ruby/ruby-no-stack-protector-strong.patch +0 -11
- data/config/patches/ruby/ruby-no-stack-protector.patch +0 -13
- data/config/patches/ruby/ruby-win32_warning_removal.patch +0 -12
- data/config/patches/ruby/ruby_aix_openssl.patch +0 -10
- data/config/patches/ruby/ruby_aix_ssl_EAGAIN.patch +0 -19
- data/config/patches/ruby/rvm-cflags.patch +0 -27
- data/config/patches/stunnel/stunnel-on-windows.patch +0 -42
- data/config/patches/zlib/zlib-windows-relocate.patch +0 -20
- data/config/software/autoconf.rb +0 -46
- data/config/software/automake.rb +0 -49
- data/config/software/bash.rb +0 -81
- data/config/software/berkshelf-no-depselector.rb +0 -46
- data/config/software/berkshelf.rb +0 -34
- data/config/software/binutils.rb +0 -47
- data/config/software/bundler.rb +0 -38
- data/config/software/bzip2.rb +0 -57
- data/config/software/cacerts.rb +0 -52
- data/config/software/chef-gem.rb +0 -35
- data/config/software/chef.rb +0 -113
- data/config/software/cmake.rb +0 -100
- data/config/software/config_guess.rb +0 -37
- data/config/software/cpanminus.rb +0 -50
- data/config/software/curl.rb +0 -105
- data/config/software/delivery-cli.rb +0 -89
- data/config/software/dep-selector-libgecode.rb +0 -48
- data/config/software/elasticsearch.rb +0 -67
- data/config/software/elixir.rb +0 -35
- data/config/software/erlang.rb +0 -134
- data/config/software/expat.rb +0 -66
- data/config/software/fakeroot.rb +0 -41
- data/config/software/ffi-yajl.rb +0 -46
- data/config/software/figlet-fonts.rb +0 -31
- data/config/software/figlet.rb +0 -44
- data/config/software/gcc.rb +0 -60
- data/config/software/gdbm.rb +0 -54
- data/config/software/gecode.rb +0 -64
- data/config/software/gem-permissions.rb +0 -43
- data/config/software/git-windows.rb +0 -98
- data/config/software/git.rb +0 -142
- data/config/software/gmp.rb +0 -50
- data/config/software/go-uninstall.rb +0 -33
- data/config/software/go.rb +0 -123
- data/config/software/google-protobuf.rb +0 -45
- data/config/software/gtar.rb +0 -64
- data/config/software/help2man.rb +0 -40
- data/config/software/highline-gem.rb +0 -37
- data/config/software/ibm-jre.rb +0 -59
- data/config/software/inspec.rb +0 -43
- data/config/software/jre-from-jdk.rb +0 -67
- data/config/software/keepalived.rb +0 -68
- data/config/software/libarchive.rb +0 -74
- data/config/software/libedit.rb +0 -76
- data/config/software/libffi.rb +0 -71
- data/config/software/libgcc.rb +0 -52
- data/config/software/libiconv.rb +0 -57
- data/config/software/libintl-perl.rb +0 -59
- data/config/software/liblzma.rb +0 -63
- data/config/software/libossp-uuid.rb +0 -47
- data/config/software/libsodium.rb +0 -42
- data/config/software/libtool.rb +0 -58
- data/config/software/libuuid.rb +0 -44
- data/config/software/libxml2.rb +0 -65
- data/config/software/libxslt.rb +0 -68
- data/config/software/libyajl2-gem.rb +0 -44
- data/config/software/libyaml.rb +0 -52
- data/config/software/libzmq.rb +0 -93
- data/config/software/logrotate.rb +0 -64
- data/config/software/lua.rb +0 -48
- data/config/software/m4.rb +0 -40
- data/config/software/make.rb +0 -46
- data/config/software/makedepend.rb +0 -47
- data/config/software/mpc.rb +0 -48
- data/config/software/mpfr.rb +0 -48
- data/config/software/musl.rb +0 -107
- data/config/software/mysql2.rb +0 -50
- data/config/software/ncurses.rb +0 -162
- data/config/software/nginx.rb +0 -57
- data/config/software/nodejs-binary.rb +0 -93
- data/config/software/nodejs.rb +0 -58
- data/config/software/nokogiri.rb +0 -92
- data/config/software/omnibus-ctl.rb +0 -42
- data/config/software/openresty.rb +0 -96
- data/config/software/opensearch.rb +0 -59
- data/config/software/openssl-customization.rb +0 -81
- data/config/software/openssl-fips.rb +0 -85
- data/config/software/openssl.rb +0 -199
- data/config/software/patch.rb +0 -48
- data/config/software/patchelf.rb +0 -70
- data/config/software/pcre.rb +0 -55
- data/config/software/perl-extutils-embed.rb +0 -38
- data/config/software/perl-extutils-makemaker.rb +0 -47
- data/config/software/perl-thread-queue.rb +0 -41
- data/config/software/perl.rb +0 -80
- data/config/software/perl_pg_driver.rb +0 -46
- data/config/software/pg-gem.rb +0 -36
- data/config/software/pkg-config-lite.rb +0 -48
- data/config/software/pkg-config.rb +0 -68
- data/config/software/popt.rb +0 -59
- data/config/software/postgresql.rb +0 -71
- data/config/software/preparation.rb +0 -31
- data/config/software/python.rb +0 -83
- data/config/software/rabbitmq.rb +0 -58
- data/config/software/rb-readline.rb +0 -33
- data/config/software/rbnacl-libsodium.rb +0 -42
- data/config/software/rbzmq.rb +0 -44
- data/config/software/rebar.rb +0 -42
- data/config/software/redis-gem.rb +0 -36
- data/config/software/redis.rb +0 -54
- data/config/software/relx.rb +0 -39
- data/config/software/rsync.rb +0 -57
- data/config/software/ruby-cleanup.rb +0 -271
- data/config/software/ruby-msys2-devkit.rb +0 -72
- data/config/software/ruby-windows-devkit-bash.rb +0 -43
- data/config/software/ruby-windows-devkit.rb +0 -84
- data/config/software/ruby.rb +0 -315
- data/config/software/rubygems.rb +0 -73
- data/config/software/runit.rb +0 -68
- data/config/software/rust-uninstall.rb +0 -32
- data/config/software/rust.rb +0 -97
- data/config/software/sequel-gem.rb +0 -36
- data/config/software/server-jre.rb +0 -132
- data/config/software/server-open-jre.rb +0 -146
- data/config/software/setuptools.rb +0 -48
- data/config/software/shebang-cleanup.rb +0 -101
- data/config/software/sqitch.rb +0 -92
- data/config/software/stunnel.rb +0 -88
- data/config/software/util-macros.rb +0 -44
- data/config/software/version-manifest.rb +0 -33
- data/config/software/xproto.rb +0 -43
- data/config/software/zlib.rb +0 -88
- data/config/templates/git/config.mak.erb +0 -31
- data/config/templates/rubygems/register_devtools.rb.erb +0 -33
- data/config/templates/runit/runsvdir-start.erb +0 -42
- data/docker-compose.yml +0 -15
- data/lib/omnibus-software/version.rb +0 -3
- data/omnibus-software.gemspec +0 -20
- data/scripts/internal_sources.rb +0 -78
- data/scripts/internal_sources.yml +0 -419
- data/test/Gemfile +0 -10
- data/test/config/projects/test.rb +0 -14
- data/test/generate_steps.rb +0 -65
- data/test/omnibus-build.sh +0 -55
- data/test/omnibus.rb +0 -59
data/config/software/bash.rb
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 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 "bash"
|
18
|
-
default_version "5.2.15"
|
19
|
-
|
20
|
-
dependency "libiconv"
|
21
|
-
dependency "ncurses"
|
22
|
-
skip_transitive_dependency_licensing true
|
23
|
-
|
24
|
-
# version_list: url=https://ftp.gnu.org/gnu/bash/ filter=*.tar.gz
|
25
|
-
|
26
|
-
version("5.0") { source sha256: "b4a80f2ac66170b2913efbfb9f2594f1f76c7b1afd11f799e22035d63077fb4d" }
|
27
|
-
version("5.1") { source sha256: "cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa" }
|
28
|
-
version("5.1.8") { source sha256: "0cfb5c9bb1a29f800a97bd242d19511c997a1013815b805e0fdd32214113d6be" }
|
29
|
-
version("5.1.16") { source sha256: "5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558" }
|
30
|
-
version("5.2") { source sha256: "a139c166df7ff4471c5e0733051642ee5556c1cc8a4a78f145583c5c81ab32fb" }
|
31
|
-
version("5.2.9") { source sha256: "68d978264253bc933d692f1de195e2e5b463a3984dfb4e5504b076865f16b6dd" }
|
32
|
-
version("5.2.15") { source sha256: "13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c" }
|
33
|
-
|
34
|
-
license "GPL-3.0"
|
35
|
-
license_file "COPYING"
|
36
|
-
|
37
|
-
source url: "https://ftp.gnu.org/gnu/bash/bash-#{version}.tar.gz"
|
38
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
39
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
40
|
-
|
41
|
-
# bash builds bash as libraries into a special directory. We need to include
|
42
|
-
# that directory in lib_dirs so omnibus can sign them during macOS deep signing.
|
43
|
-
lib_dirs lib_dirs.concat ["#{install_dir}/embedded/lib/bash"]
|
44
|
-
|
45
|
-
relative_path "bash-#{version}"
|
46
|
-
|
47
|
-
build do
|
48
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
49
|
-
|
50
|
-
# FreeBSD can build bash with this patch but it doesn't work properly
|
51
|
-
# Things like command substitution will throw syntax errors even though the syntax is correct
|
52
|
-
if version.satisfies?("< 5.2")
|
53
|
-
unless freebsd?
|
54
|
-
# Fix bash race condition
|
55
|
-
# https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00051.html
|
56
|
-
patch source: "race-condition.patch", plevel: 1, env: env
|
57
|
-
end
|
58
|
-
else
|
59
|
-
patch source: "updated_race-condition.patch", plevel: 0, env: env
|
60
|
-
end
|
61
|
-
configure_command = ["./configure",
|
62
|
-
"--prefix=#{install_dir}/embedded"]
|
63
|
-
|
64
|
-
if freebsd?
|
65
|
-
# On freebsd, you have to force static linking, otherwise the executable
|
66
|
-
# will link against the system ncurses instead of ours.
|
67
|
-
configure_command << "--enable-static-link"
|
68
|
-
|
69
|
-
# FreeBSD 12 system files come with mktime but for some reason running "configure"
|
70
|
-
# doesn't detect this which results in a build failure. Setting this environment variable
|
71
|
-
# corrects that.
|
72
|
-
env["ac_cv_func_working_mktime"] = "yes"
|
73
|
-
end
|
74
|
-
|
75
|
-
command configure_command.join(" "), env: env
|
76
|
-
make "-j #{workers}", env: env
|
77
|
-
make "-j #{workers} install", env: env
|
78
|
-
|
79
|
-
# We do not install bashbug in macos as it fails Notarization
|
80
|
-
delete "#{install_dir}/embedded/bin/bashbug"
|
81
|
-
end
|
@@ -1,46 +0,0 @@
|
|
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
|
-
# expeditor/ignore: deprecated 2021-04
|
17
|
-
|
18
|
-
name "berkshelf-no-depselector"
|
19
|
-
default_version "main"
|
20
|
-
|
21
|
-
license "Apache-2.0"
|
22
|
-
license_file "LICENSE"
|
23
|
-
|
24
|
-
source git: "https://github.com/berkshelf/berkshelf.git"
|
25
|
-
|
26
|
-
relative_path "berkshelf"
|
27
|
-
|
28
|
-
dependency "ruby"
|
29
|
-
|
30
|
-
unless windows? && (project.overrides[:ruby].nil? || project.overrides[:ruby][:version] == "ruby-windows")
|
31
|
-
dependency "libarchive"
|
32
|
-
end
|
33
|
-
|
34
|
-
dependency "nokogiri"
|
35
|
-
|
36
|
-
build do
|
37
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
38
|
-
|
39
|
-
bundle "config set --local without guard changelog development test", env: env
|
40
|
-
bundle "install --jobs #{workers}", env: env
|
41
|
-
|
42
|
-
bundle "exec thor gem:build", env: env
|
43
|
-
|
44
|
-
gem "install pkg/berkshelf-*.gem" \
|
45
|
-
" --no-document", env: env
|
46
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014-2018 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 "berkshelf"
|
19
|
-
|
20
|
-
license "Apache-2.0"
|
21
|
-
license_file "https://raw.githubusercontent.com/berkshelf/berkshelf/main/LICENSE"
|
22
|
-
# berkshelf does not have any dependencies. We only install it from
|
23
|
-
# rubygems here.
|
24
|
-
skip_transitive_dependency_licensing true
|
25
|
-
|
26
|
-
dependency "nokogiri"
|
27
|
-
dependency "dep-selector-libgecode"
|
28
|
-
|
29
|
-
build do
|
30
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
31
|
-
|
32
|
-
gem "install berkshelf" \
|
33
|
-
" --no-document", env: env
|
34
|
-
end
|
data/config/software/binutils.rb
DELETED
@@ -1,47 +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
|
-
# expeditor/ignore: deprecated 2021-04
|
17
|
-
|
18
|
-
name "binutils"
|
19
|
-
default_version "2.26"
|
20
|
-
|
21
|
-
version("2.35") { source sha256: "a3ac62bae4f339855b5449cfa9b49df90c635adbd67ecb8a0e7f3ae86a058da6" }
|
22
|
-
version("2.26") { source sha256: "9615feddaeedc214d1a1ecd77b6697449c952eab69d79ab2125ea050e944bcc1" }
|
23
|
-
|
24
|
-
license "GPL-3.0"
|
25
|
-
license_file "COPYING"
|
26
|
-
license_file "COPYING.LIB"
|
27
|
-
|
28
|
-
source url: "https://ftp.gnu.org/gnu/binutils/binutils-#{version}.tar.gz"
|
29
|
-
|
30
|
-
dependency "config_guess"
|
31
|
-
|
32
|
-
relative_path "binutils-#{version}"
|
33
|
-
|
34
|
-
build do
|
35
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
36
|
-
|
37
|
-
update_config_guess
|
38
|
-
|
39
|
-
configure_command = ["./configure",
|
40
|
-
"--prefix=#{install_dir}/embedded",
|
41
|
-
"--disable-libquadmath"]
|
42
|
-
|
43
|
-
command configure_command.join(" "), env: env
|
44
|
-
|
45
|
-
make "-j #{workers}", env: env
|
46
|
-
make "-j #{workers} install", env: env
|
47
|
-
end
|
data/config/software/bundler.rb
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2012-2019, 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 "bundler"
|
19
|
-
|
20
|
-
license "MIT"
|
21
|
-
license_file "https://raw.githubusercontent.com/bundler/bundler/master/LICENSE.md"
|
22
|
-
skip_transitive_dependency_licensing true
|
23
|
-
|
24
|
-
dependency "rubygems"
|
25
|
-
|
26
|
-
build do
|
27
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
28
|
-
|
29
|
-
v_opts = "--version '#{version}'" unless version.nil?
|
30
|
-
gem [
|
31
|
-
"install bundler",
|
32
|
-
v_opts,
|
33
|
-
"--no-document --force",
|
34
|
-
].compact.join(" "), env: env
|
35
|
-
|
36
|
-
# confirm the install was successful
|
37
|
-
command "bundle version", env: env
|
38
|
-
end
|
data/config/software/bzip2.rb
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2013-2018 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
|
-
# Install bzip2 and its shared library, libbz2.so
|
17
|
-
# This library object is required for building Python with the bz2 module,
|
18
|
-
# and should be picked up automatically when building Python.
|
19
|
-
|
20
|
-
name "bzip2"
|
21
|
-
default_version "1.0.8"
|
22
|
-
|
23
|
-
license "BSD-2-Clause"
|
24
|
-
license_file "LICENSE"
|
25
|
-
skip_transitive_dependency_licensing true
|
26
|
-
|
27
|
-
dependency "zlib"
|
28
|
-
dependency "openssl"
|
29
|
-
|
30
|
-
# version_list: url=https://sourceware.org/pub/bzip2/ filter=*.tar.gz
|
31
|
-
version("1.0.8") { source sha256: "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269" }
|
32
|
-
|
33
|
-
source url: "https://fossies.org/linux/misc/#{name}-#{version}.tar.gz"
|
34
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
35
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
36
|
-
|
37
|
-
relative_path "#{name}-#{version}"
|
38
|
-
|
39
|
-
build do
|
40
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
41
|
-
|
42
|
-
# Avoid warning where .rodata cannot be used when making a shared object
|
43
|
-
env["CFLAGS"] << " -fPIC" unless aix?
|
44
|
-
|
45
|
-
# The list of arguments to pass to make
|
46
|
-
args = "PREFIX='#{install_dir}/embedded' VERSION='#{version}'"
|
47
|
-
args << " CFLAGS='-qpic=small -qpic=large -O2 -g -D_ALL_SOURCE -D_LARGE_FILES'" if aix?
|
48
|
-
|
49
|
-
patch source: "makefile_take_env_vars.patch", plevel: 1, env: env
|
50
|
-
patch source: "makefile_no_bins.patch", plevel: 1, env: env # removes various binaries we don't want to ship
|
51
|
-
patch source: "soname_install_dir.patch", env: env if mac_os_x?
|
52
|
-
patch source: "aix_makefile.patch", env: env if aix?
|
53
|
-
|
54
|
-
make "#{args}", env: env
|
55
|
-
make "#{args} -f Makefile-libbz2_so", env: env
|
56
|
-
make "#{args} install", env: env
|
57
|
-
end
|
data/config/software/cacerts.rb
DELETED
@@ -1,52 +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 "cacerts"
|
18
|
-
|
19
|
-
license "MPL-2.0"
|
20
|
-
license_file "https://www.mozilla.org/media/MPL/2.0/index.815ca599c9df.txt"
|
21
|
-
skip_transitive_dependency_licensing true
|
22
|
-
|
23
|
-
default_version "2022-10-11"
|
24
|
-
|
25
|
-
source url: "https://curl.se/ca/cacert-#{version}.pem"
|
26
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/cacert-#{version}.pem",
|
27
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
28
|
-
|
29
|
-
# versions_list: https://curl.se/docs/caextract.html
|
30
|
-
version("2022-10-11") { source sha256: "2cff03f9efdaf52626bd1b451d700605dc1ea000c5da56bd0fc59f8f43071040" }
|
31
|
-
version("2022-07-19") { source sha256: "6ed95025fba2aef0ce7b647607225745624497f876d74ef6ec22b26e73e9de77" }
|
32
|
-
version("2022-04-26") { source sha256: "08df40e8f528ed283b0e480ba4bcdbfdd2fdcf695a7ada1668243072d80f8b6f" }
|
33
|
-
version("2022-03-29") { source sha256: "1979e7fe618c51ed1c9df43bba92f977a0d3fe7497ffa2a5e80dfc559a1e5a29" }
|
34
|
-
version("2022-02-01") { source sha256: "1d9195b76d2ea25c2b5ae9bee52d05075244d78fcd9c58ee0b6fac47d395a5eb" }
|
35
|
-
version("2021-10-26") { source sha256: "ae31ecb3c6e9ff3154cb7a55f017090448f88482f0e94ac927c0c67a1f33b9cf" }
|
36
|
-
version("2021-09-30") { source sha256: "f524fc21859b776e18df01a87880efa198112214e13494275dbcbd9bcb71d976" }
|
37
|
-
|
38
|
-
relative_path "cacerts-#{version}"
|
39
|
-
|
40
|
-
build do
|
41
|
-
mkdir "#{install_dir}/embedded/ssl/certs"
|
42
|
-
|
43
|
-
copy "#{project_dir}/cacert*.pem", "#{install_dir}/embedded/ssl/certs/cacert.pem"
|
44
|
-
copy "#{project_dir}/cacert*.pem", "#{install_dir}/embedded/ssl/cert.pem" if windows?
|
45
|
-
|
46
|
-
# Windows does not support symlinks
|
47
|
-
unless windows?
|
48
|
-
link "certs/cacert.pem", "#{install_dir}/embedded/ssl/cert.pem", unchecked: true
|
49
|
-
|
50
|
-
block { File.chmod(0644, "#{install_dir}/embedded/ssl/certs/cacert.pem") }
|
51
|
-
end
|
52
|
-
end
|
data/config/software/chef-gem.rb
DELETED
@@ -1,35 +0,0 @@
|
|
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 "chef-gem"
|
19
|
-
default_version "11.12.2"
|
20
|
-
|
21
|
-
license "Apache-2.0"
|
22
|
-
license_file "https://raw.githubusercontent.com/chef/chef/main/LICENSE"
|
23
|
-
|
24
|
-
dependency "ruby"
|
25
|
-
dependency "libffi"
|
26
|
-
dependency "rb-readline"
|
27
|
-
|
28
|
-
build do
|
29
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
30
|
-
|
31
|
-
gem "install chef" \
|
32
|
-
" --version '#{version}'" \
|
33
|
-
" --bindir '#{install_dir}/embedded/bin'" \
|
34
|
-
" --no-document", env: env
|
35
|
-
end
|
data/config/software/chef.rb
DELETED
@@ -1,113 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright:: Copyright (c) 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 "chef"
|
19
|
-
default_version "main"
|
20
|
-
|
21
|
-
license "Apache-2.0"
|
22
|
-
license_file "LICENSE"
|
23
|
-
|
24
|
-
# Grab accompanying notice file.
|
25
|
-
# So that Open4/deep_merge/diff-lcs disclaimers are present in Omnibus LICENSES tree.
|
26
|
-
license_file "NOTICE"
|
27
|
-
|
28
|
-
# For the specific super-special version "local_source", build the source from
|
29
|
-
# the local git checkout. This is what you'd want to occur by default if you
|
30
|
-
# just ran omnibus build locally.
|
31
|
-
version("local_source") do
|
32
|
-
source path: "#{project.files_path}/../..",
|
33
|
-
# Since we are using the local repo, we try to not copy any files
|
34
|
-
# that are generated in the process of bundle installing omnibus.
|
35
|
-
# If the install steps are well-behaved, this should not matter
|
36
|
-
# since we only perform bundle and gem installs from the
|
37
|
-
# omnibus cache source directory, but we do this regardless
|
38
|
-
# to maintain consistency between what a local build sees and
|
39
|
-
# what a github based build will see.
|
40
|
-
options: { exclude: [ "omnibus/vendor" ] }
|
41
|
-
end
|
42
|
-
|
43
|
-
# For any version other than "local_source", fetch from github.
|
44
|
-
# This is the behavior the transitive omnibus software deps such as chef-dk
|
45
|
-
# expect.
|
46
|
-
if version != "local_source"
|
47
|
-
source git: "https://github.com/chef/chef.git"
|
48
|
-
end
|
49
|
-
|
50
|
-
relative_path "chef"
|
51
|
-
|
52
|
-
dependency "ruby"
|
53
|
-
dependency "libarchive" # for archive resource
|
54
|
-
|
55
|
-
build do
|
56
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
57
|
-
|
58
|
-
# The --without groups here MUST match groups in https://github.com/chef/chef/blob/main/Gemfile
|
59
|
-
excluded_groups = %w{docgen chefstyle}
|
60
|
-
excluded_groups << "ruby_prof" if aix?
|
61
|
-
excluded_groups << "ruby_shadow" if aix?
|
62
|
-
excluded_groups << "ed25519" if solaris2?
|
63
|
-
|
64
|
-
# these are gems which are not shipped but which must be installed in the testers
|
65
|
-
bundle_excludes = excluded_groups + %w{development test}
|
66
|
-
|
67
|
-
bundle "install --without #{bundle_excludes.join(" ")}", env: env
|
68
|
-
|
69
|
-
ruby "post-bundle-install.rb", env: env
|
70
|
-
|
71
|
-
# use the rake install task to build/install chef-config/chef-utils
|
72
|
-
command "rake install:local", env: env
|
73
|
-
|
74
|
-
# NOTE: Chef18 is packaged and built with ruby31 whereas previous versions of Chef are ONLY built
|
75
|
-
# with ruby31,the packaged versions differ. So we use Chef's own version to determine the windows gemspec.
|
76
|
-
gemspec_name = if windows?
|
77
|
-
project.build_version.partition(".")[0].to_i < 18 ? "chef-universal-mingw32.gemspec" : "chef-universal-mingw-ucrt.gemspec"
|
78
|
-
else
|
79
|
-
"chef.gemspec"
|
80
|
-
end
|
81
|
-
|
82
|
-
# This step will build native components as needed - the event log dll is
|
83
|
-
# generated as part of this step. This is why we need devkit.
|
84
|
-
gem "build #{gemspec_name}", env: env
|
85
|
-
|
86
|
-
# ensure we put the gems in the right place to get picked up by the publish scripts
|
87
|
-
delete "pkg"
|
88
|
-
mkdir "pkg"
|
89
|
-
copy "chef*.gem", "pkg"
|
90
|
-
|
91
|
-
# Always deploy the powershell modules in the correct place.
|
92
|
-
if windows?
|
93
|
-
mkdir "#{install_dir}/modules/chef"
|
94
|
-
copy "distro/powershell/chef/*", "#{install_dir}/modules/chef"
|
95
|
-
end
|
96
|
-
|
97
|
-
block do
|
98
|
-
appbundle "chef", lockdir: project_dir, gem: "inspec-core-bin", without: excluded_groups, env: env
|
99
|
-
appbundle "chef", lockdir: project_dir, gem: "chef-bin", without: excluded_groups, env: env
|
100
|
-
appbundle "chef", lockdir: project_dir, gem: "chef", without: excluded_groups, env: env
|
101
|
-
appbundle "chef", lockdir: project_dir, gem: "ohai", without: excluded_groups, env: env
|
102
|
-
end
|
103
|
-
|
104
|
-
# The rubyzip gem ships with some test fixture data compressed in a format Apple's notarization service
|
105
|
-
# cannot understand. We need to delete that archive to pass notarization.
|
106
|
-
block "Delete test folder of rubyzip gem so downstream projects pass notarization" do
|
107
|
-
env["VISUAL"] = "echo"
|
108
|
-
%w{rubyzip}.each do |gem|
|
109
|
-
gem_install_dir = shellout!("#{install_dir}/embedded/bin/gem open #{gem}", env: env).stdout.chomp
|
110
|
-
remove_directory "#{gem_install_dir}/test"
|
111
|
-
end
|
112
|
-
end
|
113
|
-
end
|
data/config/software/cmake.rb
DELETED
@@ -1,100 +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
|
-
# expeditor/ignore: deprecated 2021-11
|
17
|
-
|
18
|
-
name "cmake"
|
19
|
-
default_version "3.19.7"
|
20
|
-
|
21
|
-
dependency "cacerts"
|
22
|
-
|
23
|
-
license "BSD-3-Clause"
|
24
|
-
skip_transitive_dependency_licensing true
|
25
|
-
|
26
|
-
if windows?
|
27
|
-
if windows_arch_i386?
|
28
|
-
# version_list: url=https://cmake.org/files/v3.20/ filter=*-windows-i386.zip
|
29
|
-
version("3.20.0") { source sha256: "6df4c34f7d2735100ebae91e6d2d37b3c3c7b81e93decce9f4926a4e505affbc" }
|
30
|
-
|
31
|
-
# version_list: url=https://cmake.org/files/v3.19/ filter=*-win32-x86.zip
|
32
|
-
version("3.19.7") { source sha256: "7771205d94022787bc4c3a623629d236b10bf697315e9f92c214dd8b53e8746e" }
|
33
|
-
|
34
|
-
# version_list: url=https://cmake.org/files/v3.18/ filter=*-win32-x86.zip
|
35
|
-
version("3.18.6") { source sha256: "f6531568def18afecf3d54abd7ccf1f9cf092c683b14fde36b47910c7f822e8d" }
|
36
|
-
version("3.18.1") { source sha256: "1a20c049e094d9ad49caca4b4d713c75c924a3885ecec4ed3986344aab05b6eb" }
|
37
|
-
else
|
38
|
-
# version_list: url=https://cmake.org/files/v3.20/ filter=*-windows-x86_64.zip
|
39
|
-
version("3.20.0") { source sha256: "056378cb599353479c3a8aa2654454b8a3eaa3c8c0872928ba7e09c3ec50774c" }
|
40
|
-
|
41
|
-
# version_list: url=https://cmake.org/files/v3.19/ filter=*-win64-x64.zip
|
42
|
-
version("3.19.7") { source sha256: "e6788d6e23b3026c37fcfa7658075d6b5f9113f26fae17fe372ad4a7ee62d5fd" }
|
43
|
-
|
44
|
-
# version_list: url=https://cmake.org/files/v3.18/ filter=*-win64-x64.zip
|
45
|
-
version("3.18.6") { source sha256: "6a7166841bf2d72d56b5ff8c7c7606901bd8a0d87194f509b759d3ae3b6fdd6e" }
|
46
|
-
version("3.18.1") { source sha256: "2c6c06da43c1088fc3a673e4440c8ebb1531bb6511134892c0589aa0b94f11ad" }
|
47
|
-
end
|
48
|
-
else
|
49
|
-
# version_list: url=https://cmake.org/files/v3.20/ filter=*.tar.gz
|
50
|
-
version("3.20.0") { source sha256: "9c06b2ddf7c337e31d8201f6ebcd3bba86a9a033976a9aee207fe0c6971f4755" }
|
51
|
-
|
52
|
-
# version_list: url=https://cmake.org/files/v3.19/ filter=*.tar.gz default_version=true
|
53
|
-
version("3.19.7") { source sha256: "58a15f0d56a0afccc3cc5371234fce73fcc6c8f9dbd775d898e510b83175588e" }
|
54
|
-
|
55
|
-
# version_list: url=https://cmake.org/files/v3.18/ filter=*.tar.gz
|
56
|
-
version("3.18.6") { source sha256: "124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600" }
|
57
|
-
version("3.18.1") { source sha256: "c0e3338bd37e67155b9d1e9526fec326b5c541f74857771b7ffed0c46ad62508" }
|
58
|
-
end
|
59
|
-
|
60
|
-
minor_version = version.split(".")[0..1].join(".")
|
61
|
-
|
62
|
-
if windows?
|
63
|
-
if windows_arch_i386?
|
64
|
-
suffix = version.satisfies?(">= 3.20") ? "windows-i386" : "win32-x86"
|
65
|
-
source url: "https://cmake.org/files/v#{minor_version}/cmake-#{version}-#{suffix}.zip"
|
66
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}-#{suffix}.zip",
|
67
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
68
|
-
relative_path "cmake-#{version}-win32-x86"
|
69
|
-
license_file "doc/cmake/Copyright.txt"
|
70
|
-
else
|
71
|
-
suffix = version.satisfies?(">= 3.20") ? "windows-x86_64" : "win32-x64"
|
72
|
-
source url: "https://cmake.org/files/v#{minor_version}/cmake-#{version}-#{suffix}.zip"
|
73
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}-#{suffix}.zip",
|
74
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
75
|
-
relative_path "cmake-#{version}-win64-x64"
|
76
|
-
license_file "doc/cmake/Copyright.txt"
|
77
|
-
end
|
78
|
-
else
|
79
|
-
source url: "https://cmake.org/files/v#{minor_version}/cmake-#{version}.tar.gz"
|
80
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
81
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
82
|
-
relative_path "cmake-#{version}"
|
83
|
-
license_file "Copyright.txt"
|
84
|
-
end
|
85
|
-
|
86
|
-
build do
|
87
|
-
# It's hard-slash-impossible to build cmake on windows without cmake, so we don't even try
|
88
|
-
if windows?
|
89
|
-
copy "bin/cmake.exe", "#{install_dir}/embedded/bin"
|
90
|
-
copy "share/cmake-3.18", "#{install_dir}/embedded/share/"
|
91
|
-
copy "share/aclocal/cmake.m4", "#{install_dir}/embedded/share/aclocal/"
|
92
|
-
else
|
93
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
94
|
-
|
95
|
-
command "./bootstrap --prefix=#{install_dir}/embedded", env: env
|
96
|
-
|
97
|
-
make "-j #{workers}", env: env
|
98
|
-
make "install", env: env
|
99
|
-
end
|
100
|
-
end
|
@@ -1,37 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 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
|
-
# expeditor/ignore: no version pinning
|
17
|
-
|
18
|
-
name "config_guess"
|
19
|
-
default_version "master"
|
20
|
-
|
21
|
-
# Use our github mirror of the savannah repository
|
22
|
-
source git: "https://github.com/chef/config-mirror.git"
|
23
|
-
|
24
|
-
# http://savannah.gnu.org/projects/config
|
25
|
-
license "GPL-3.0 (with exception)"
|
26
|
-
license_file "config.guess"
|
27
|
-
license_file "config.sub"
|
28
|
-
skip_transitive_dependency_licensing true
|
29
|
-
|
30
|
-
relative_path "config_guess-#{version}"
|
31
|
-
|
32
|
-
build do
|
33
|
-
mkdir "#{install_dir}/embedded/lib/config_guess"
|
34
|
-
|
35
|
-
copy "#{project_dir}/config.guess", "#{install_dir}/embedded/lib/config_guess/config.guess"
|
36
|
-
copy "#{project_dir}/config.sub", "#{install_dir}/embedded/lib/config_guess/config.sub"
|
37
|
-
end
|