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/ffi-yajl.rb
DELETED
@@ -1,46 +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 "ffi-yajl"
|
19
|
-
default_version "main"
|
20
|
-
relative_path "ffi-yajl"
|
21
|
-
|
22
|
-
source git: "https://github.com/chef/ffi-yajl.git"
|
23
|
-
|
24
|
-
license "MIT"
|
25
|
-
license_file "LICENSE"
|
26
|
-
|
27
|
-
dependency "ruby"
|
28
|
-
|
29
|
-
dependency "libyajl2-gem"
|
30
|
-
|
31
|
-
build do
|
32
|
-
env = with_embedded_path
|
33
|
-
|
34
|
-
# We should not be installing development dependencies either, but
|
35
|
-
# this upstream bug causes issues between libyajl2-gem and ffi-yajl
|
36
|
-
# (specifically, "corrupted Gemfile.lock" failures)
|
37
|
-
# https://github.com/bundler/bundler/issues/4467
|
38
|
-
bundle "config set --local without development_extras", env: env
|
39
|
-
bundle "install", env: env
|
40
|
-
bundle "exec rake gem", env: env
|
41
|
-
|
42
|
-
delete "pkg/*java*"
|
43
|
-
|
44
|
-
gem "install pkg/ffi-yajl-*.gem" \
|
45
|
-
" --no-document", env: env
|
46
|
-
end
|
@@ -1,31 +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: deprecated 2021-04
|
17
|
-
|
18
|
-
name "figlet-fonts"
|
19
|
-
default_version "master"
|
20
|
-
|
21
|
-
dependency "figlet"
|
22
|
-
|
23
|
-
source git: "https://github.com/cmatsuoka/figlet-fonts.git"
|
24
|
-
|
25
|
-
relative_path "figlet-fonts-#{version}"
|
26
|
-
|
27
|
-
build do
|
28
|
-
mkdir "#{install_dir}/share/figlet/fonts"
|
29
|
-
copy "#{project_dir}/*/*.flc", "#{install_dir}/share/figlet/fonts/"
|
30
|
-
copy "#{project_dir}/*/*.flf", "#{install_dir}/share/figlet/fonts/"
|
31
|
-
end
|
data/config/software/figlet.rb
DELETED
@@ -1,44 +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: deprecated 2021-04
|
17
|
-
|
18
|
-
name "figlet"
|
19
|
-
default_version "2.2.5"
|
20
|
-
|
21
|
-
version("2.2.5") { source md5: "eaaeb356007755c9770a842aefd8ed5f" }
|
22
|
-
|
23
|
-
source url: "https://github.com/cmatsuoka/figlet/archive/#{version}.tar.gz"
|
24
|
-
|
25
|
-
relative_path "figlet-#{version}"
|
26
|
-
|
27
|
-
build do
|
28
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
29
|
-
env["DEFAULTFONTDIR"] = "#{install_dir}/share/figlet/fonts"
|
30
|
-
env["prefix"] = "#{install_dir}/embedded"
|
31
|
-
|
32
|
-
if aix?
|
33
|
-
# give us /opt/freeware/bin/patch
|
34
|
-
env["PATH"] = "/opt/freeware/bin:#{env["PATH"]}"
|
35
|
-
env["CC"] = "cc_r -q64"
|
36
|
-
env["LD"] = "cc_r -q64"
|
37
|
-
patch source: "aix-figlet-cdefs.patch", plevel: 0, env: env
|
38
|
-
end
|
39
|
-
|
40
|
-
mkdir "#{install_dir}/share/figlet/fonts"
|
41
|
-
|
42
|
-
make "-j #{workers}", env: env
|
43
|
-
make "install -j #{workers}", env: env
|
44
|
-
end
|
data/config/software/gcc.rb
DELETED
@@ -1,60 +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 2022-03
|
17
|
-
|
18
|
-
# do_not_auto_update
|
19
|
-
name "gcc"
|
20
|
-
default_version "4.9.2"
|
21
|
-
|
22
|
-
dependency "gmp"
|
23
|
-
dependency "mpfr"
|
24
|
-
dependency "mpc"
|
25
|
-
dependency "libiconv"
|
26
|
-
|
27
|
-
# version_list: url=https://ftp.gnu.org/gnu/gcc/ filter=*.tar.gz
|
28
|
-
version("4.9.2") { source sha256: "3e573826ec8b0d62d47821408fbc58721cd020df3e594cd492508de487a43b5e" }
|
29
|
-
version("4.9.3") { source sha256: "e6c63b40877bc756cc7cfe6ca98013eb15f02ec6c8c2cf68e24533ad1203aaba" }
|
30
|
-
version("4.9.4") { source sha256: "1680f92781b92cbdb57d7e4f647c650678c594154cb0d707fd9a994424a9860d" }
|
31
|
-
version("5.3.0") { source sha256: "b7f5f56bd7db6f4fcaa95511dbf69fc596115b976b5352c06531c2fc95ece2f4" }
|
32
|
-
version("5.5.0") { source sha256: "3aabce75d6dd206876eced17504b28d47a724c2e430dbd2de176beb948708983" }
|
33
|
-
version("6.5.0") { source sha256: "4eed92b3c24af2e774de94e96993aadbf6761cdf7a0345e59eb826d20a9ebf73" }
|
34
|
-
version("7.5.0") { source sha256: "4f518f18cfb694ad7975064e99e200fe98af13603b47e67e801ba9580e50a07f" }
|
35
|
-
version("8.4.0") { source sha256: "41e8b145832fc0b2b34c798ed25fb54a881b0cee4cd581b77c7dc92722c116a8" }
|
36
|
-
version("9.3.0") { source sha256: "5258a9b6afe9463c2e56b9e8355b1a4bee125ca828b8078f910303bc2ef91fa6" }
|
37
|
-
version("10.2.0") { source sha256: "27e879dccc639cd7b0cc08ed575c1669492579529b53c9ff27b0b96265fa867d" }
|
38
|
-
|
39
|
-
source url: "https://mirrors.kernel.org/gnu/gcc/gcc-#{version}/gcc-#{version}.tar.gz"
|
40
|
-
|
41
|
-
relative_path "gcc-#{version}"
|
42
|
-
|
43
|
-
build do
|
44
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
45
|
-
|
46
|
-
configure_command = ["./configure",
|
47
|
-
"--prefix=#{install_dir}/embedded",
|
48
|
-
"--disable-nls",
|
49
|
-
"--enable-languages=c,c++",
|
50
|
-
"--disable-multilib"]
|
51
|
-
|
52
|
-
command configure_command.join(" "), env: env
|
53
|
-
# gcc takes quite a long time to build (over 2 hours) so we're setting the mixlib shellout
|
54
|
-
# timeout to 4 hours. It's not great but it's required (on solaris at least, need to verify
|
55
|
-
# on any other platforms we may use this with)
|
56
|
-
# gcc also has issues on a lot of platforms when running a multithreaded job,
|
57
|
-
# so unfortunately we have to build with 1 worker :(
|
58
|
-
make env: env, timeout: 14400
|
59
|
-
make "install", env: env
|
60
|
-
end
|
data/config/software/gdbm.rb
DELETED
@@ -1,54 +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-11
|
17
|
-
#
|
18
|
-
|
19
|
-
name "gdbm"
|
20
|
-
default_version "1.8.3"
|
21
|
-
|
22
|
-
dependency "config_guess"
|
23
|
-
|
24
|
-
# Version 1.9 and above are GPLv3, do NOT add later versions in
|
25
|
-
version("1.8.3") { source md5: "1d1b1d5c0245b1c00aff92da751e9aa1" }
|
26
|
-
|
27
|
-
source url: "https://ftp.gnu.org/gnu/gdbm/gdbm-#{version}.tar.gz"
|
28
|
-
|
29
|
-
relative_path "gdbm-#{version}"
|
30
|
-
|
31
|
-
build do
|
32
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
33
|
-
|
34
|
-
if version == "1.8.3"
|
35
|
-
patch source: "v1.8.3-Makefile.in.patch", plevel: 0, env: env
|
36
|
-
end
|
37
|
-
|
38
|
-
update_config_guess
|
39
|
-
|
40
|
-
if freebsd?
|
41
|
-
command "./configure" \
|
42
|
-
" --enable-libgdbm-compat" \
|
43
|
-
" --with-pic" \
|
44
|
-
" --prefix=#{install_dir}/embedded", env: env
|
45
|
-
else
|
46
|
-
command "./configure" \
|
47
|
-
" --enable-libgdbm-compat" \
|
48
|
-
" --prefix=#{install_dir}/embedded", env: env
|
49
|
-
end
|
50
|
-
|
51
|
-
make "-j #{workers}", env: env
|
52
|
-
make "install", env: env
|
53
|
-
make "install-compat", env: env
|
54
|
-
end
|
data/config/software/gecode.rb
DELETED
@@ -1,64 +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
|
-
|
17
|
-
name "gecode"
|
18
|
-
default_version "3.7.3"
|
19
|
-
|
20
|
-
license "MIT"
|
21
|
-
license_file "LICENSE"
|
22
|
-
skip_transitive_dependency_licensing true
|
23
|
-
|
24
|
-
# version_list: url=https://github.com/Gecode/gecode/releases/ filter=gecode-release-*.tar.gz
|
25
|
-
|
26
|
-
version("3.7.3") { source sha256: "75faaaa025a154ec0aef8b3b6ed9e78113efb543a92b8f4b2b971a0b0e898108" }
|
27
|
-
version("3.7.1") { source sha256: "e8d1404929a707efe39d3e93403ef9019e416d90841f76d73fb4466095922c48" }
|
28
|
-
|
29
|
-
# Major version, have not tried yet
|
30
|
-
version("6.2.0") { source sha256: "27d91721a690db1e96fa9bb97cec0d73a937e9dc8062c3327f8a4ccb08e951fd" }
|
31
|
-
version("5.1.0") { source sha256: "77863f4638c6b77d24a29bf6aeac370c56cd808fe9aabc1fca96655581f6c83d" }
|
32
|
-
version("4.4.0") { source sha256: "ca261c6c876950191d4ec2f277e5bfee1c3eae8a81af9b5c970d9b0c2930db37" }
|
33
|
-
|
34
|
-
source url: "https://github.com/Gecode/gecode/archive/refs/tags/release-#{version}.tar.gz"
|
35
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
36
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
37
|
-
|
38
|
-
relative_path "gecode-release-#{version}"
|
39
|
-
|
40
|
-
build do
|
41
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
42
|
-
|
43
|
-
# On some RHEL-based systems, the default GCC that's installed is 4.1. We
|
44
|
-
# need to use 4.4, which is provided by the gcc44 and gcc44-c++ packages.
|
45
|
-
# These do not use the gcc binaries so we set the flags to point to the
|
46
|
-
# correct version here.
|
47
|
-
if File.exist?("/usr/bin/gcc44")
|
48
|
-
env["CC"] = "gcc44"
|
49
|
-
env["CXX"] = "g++44"
|
50
|
-
end
|
51
|
-
|
52
|
-
command "./configure" \
|
53
|
-
" --prefix=#{install_dir}/embedded" \
|
54
|
-
" --disable-doc-dot" \
|
55
|
-
" --disable-doc-search" \
|
56
|
-
" --disable-doc-tagfile" \
|
57
|
-
" --disable-doc-chm" \
|
58
|
-
" --disable-doc-docset" \
|
59
|
-
" --disable-qt" \
|
60
|
-
" --disable-examples", env: env
|
61
|
-
|
62
|
-
make "-j #{workers}", env: env
|
63
|
-
make "install", env: env
|
64
|
-
end
|
@@ -1,43 +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
|
-
|
17
|
-
#
|
18
|
-
# Use this software definition to fix the gem-permissions on * nix builds.
|
19
|
-
#
|
20
|
-
# expeditor/ignore: logic only
|
21
|
-
|
22
|
-
name "gem-permissions"
|
23
|
-
|
24
|
-
default_version "0.0.1"
|
25
|
-
|
26
|
-
license :project_license
|
27
|
-
skip_transitive_dependency_licensing true
|
28
|
-
|
29
|
-
build do
|
30
|
-
unless windows?
|
31
|
-
block "Fix gem permissions" do
|
32
|
-
FileUtils.chmod_R("a+rX", "#{install_dir}/embedded/lib/ruby/gems/")
|
33
|
-
rescue Errno::ENOENT
|
34
|
-
# It is possible that the above method will fail for a variety of reasons, including:
|
35
|
-
# * there is a symlink to a file that does not exist.
|
36
|
-
#
|
37
|
-
# If that happens we "retry" with a slower, but safer approach.
|
38
|
-
Dir["#{install_dir}/embedded/lib/ruby/gems/**/**"].each do |entry|
|
39
|
-
FileUtils.chmod("a+rX", entry) if File.exist?(entry)
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
43
|
-
end
|
@@ -1,98 +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
|
-
|
19
|
-
name "git-windows"
|
20
|
-
default_version "2.33.0"
|
21
|
-
|
22
|
-
license "LGPL-2.1"
|
23
|
-
# the license file does not ship in the portable git package so pull from the source repo
|
24
|
-
license_file "https://raw.githubusercontent.com/git-for-windows/git/master/LGPL-2.1"
|
25
|
-
|
26
|
-
arch_suffix = windows_arch_i386? ? "32" : "64"
|
27
|
-
# The Git for Windows project includes a build number in their tagging
|
28
|
-
# scheme and therefore in the URLs for downloaded releases.
|
29
|
-
# Occasionally, something goes wrong with a build/release and the "real"
|
30
|
-
# release of a version has a build number other than 1. And so far, the
|
31
|
-
# release URLs have not followed a consistent pattern for whether and how
|
32
|
-
# the build number is included.
|
33
|
-
# This URL pattern has worked for most releases. If a version has multiple
|
34
|
-
# builds, set the `source url:` again explicitly to the one appropriate for
|
35
|
-
# that version's release.
|
36
|
-
source url: "https://github.com/git-for-windows/git/releases/download/v#{version}.windows.1/PortableGit-#{version}-#{arch_suffix}-bit.7z.exe"
|
37
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}-#{arch_suffix}-bit.7z.exe",
|
38
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
39
|
-
|
40
|
-
if windows_arch_i386?
|
41
|
-
# version_list: url=https://github.com/git-for-windows/git/releases filter=PortableGit-*-32-bit.7z.exe
|
42
|
-
version("2.33.0") { source sha256: "c3b6f1a8f8c1b5be2175b7190d35926dce07a58294780291326a437ef0694676" }
|
43
|
-
version("2.31.1") { source sha256: "d6d48e16e3f0ecbc0a45d410ad3ebae15e5618202855ebe72cd9757e4d35b880" }
|
44
|
-
version("2.30.2") { source sha256: "8b203531c91d3f9075aa3ef1e89b0d6e5d18aa289c3bc485e093c9bfb860a116" }
|
45
|
-
version("2.29.2") { source sha256: "5e4dc60d3ee143585da03843613bc4d9032b1b6f4d3a2473ef6d9adc8e4c71c0" }
|
46
|
-
version("2.28.0") { source sha256: "11b854e9246057a22014dbf349adfc160ffa740dba7af0dbd42d642661b2cc7f" }
|
47
|
-
version("2.27.0") { source sha256: "8cbe1e3b57eb9d02e92cff12089454f2cf090c02958080d62e199ef8764542d3" }
|
48
|
-
else
|
49
|
-
# version_list: url=https://github.com/git-for-windows/git/releases filter=PortableGit-*-64-bit.7z.exe
|
50
|
-
version("2.33.0") { source sha256: "12c10fad2c2db17d9867dbbacff1adc8be50868b793a73d451c2b878914bb32d" }
|
51
|
-
version("2.31.1") { source sha256: "fce2161a8891c4deefdb8d215ab76498c245072f269843ef1a489c4312baef52" }
|
52
|
-
version("2.30.2") { source sha256: "f719f248de3dd7ef234331f8da95762594a388f6aa62f4c0260df18068e5a447" }
|
53
|
-
version("2.29.2") { source sha256: "7d114e81a541536b025313efcdf6feea1e973323f2b8f53995721bfd511139bd" }
|
54
|
-
version("2.28.0") { source sha256: "0cd682188b76eeb3a5da3a466d4095d2ccd892e07aae5871c45bf8c43cdb3b13" }
|
55
|
-
version("2.27.0") { source sha256: "0fd2218ba73e07e5a664d06e0ce514edcd241a2de0ba29ceca123e7d36aa8f58" }
|
56
|
-
end
|
57
|
-
|
58
|
-
# The git portable archives come with their own copy of posix related tools
|
59
|
-
# i.e. msys/basic posix/what-do-you-mean-you-dont-have-bash tools that git
|
60
|
-
# needs. Surprising nobody who has ever dealt with this on windows, we ship
|
61
|
-
# our own set of posix libraries and ported tools - the highlights being
|
62
|
-
# tar.exe, sh.exe, bash.exe, perl.exe etc. Since our tools reside in
|
63
|
-
# embedded/bin, we cannot simply extract git's bin/ cmd/ and lib directories
|
64
|
-
# into embedded. So we we land them in embedded/git instead. Git uses a
|
65
|
-
# strategy similar to ours when it comes to "appbundling" its binaries. It has
|
66
|
-
# a /bin top level directory and a /cmd directory. The unixy parts of it use
|
67
|
-
# /bin. The windowsy parts of it use /cmd. If you add /cmd to the path, there
|
68
|
-
# are tiny shim-executables in there that forward your call to the appropriate
|
69
|
-
# internal binaries with the path and environment reconfigured correctly.
|
70
|
-
# Unfortunately, they work based on relative directories... so /cmd/git.exe
|
71
|
-
# looks for ../bin/git. If we want delivery-cli or other applications to access
|
72
|
-
# git binaries without having to add yet another directory to the system path,
|
73
|
-
# we need to add our own shims (or shim-shims as I like to call them). These
|
74
|
-
# are .bat files in embedded/bin - one for each binary in git's /cmd directory -
|
75
|
-
# that simply call out to git's shim binaries.
|
76
|
-
|
77
|
-
build do
|
78
|
-
|
79
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
80
|
-
|
81
|
-
source_7z = "#{project_dir}/PortableGit-#{version}-#{arch_suffix}-bit.7z.exe"
|
82
|
-
destination = "#{install_dir}/embedded/git"
|
83
|
-
|
84
|
-
command "#{source_7z} -y"
|
85
|
-
sync "PortableGit", "#{windows_safe_path(destination)}", env: env
|
86
|
-
|
87
|
-
block "Create bat files to point to executables under embedded/git/cmd" do
|
88
|
-
Dir.glob("#{destination}/cmd/*") do |git_bin|
|
89
|
-
ext = File.extname(git_bin)
|
90
|
-
base = File.basename(git_bin, ext)
|
91
|
-
File.open("#{install_dir}/embedded/bin/#{base}.bat", "w") do |f|
|
92
|
-
f.puts "@ECHO OFF"
|
93
|
-
f.print "START \"\" " if %w{gitk git-gui}.include?(base.downcase)
|
94
|
-
f.puts "\"%~dp0..\\git\\cmd\\#{base}#{ext}\" %*"
|
95
|
-
end
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|
data/config/software/git.rb
DELETED
@@ -1,142 +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 "git"
|
18
|
-
default_version "2.39.0"
|
19
|
-
|
20
|
-
license "LGPL-2.1"
|
21
|
-
license_file "LGPL-2.1"
|
22
|
-
skip_transitive_dependency_licensing true
|
23
|
-
|
24
|
-
dependency "curl"
|
25
|
-
dependency "zlib"
|
26
|
-
dependency "openssl"
|
27
|
-
dependency "pcre"
|
28
|
-
dependency "libiconv" # FIXME: can we figure out how to remove this?
|
29
|
-
dependency "expat"
|
30
|
-
|
31
|
-
relative_path "git-#{version}"
|
32
|
-
|
33
|
-
# version_list: url=https://www.kernel.org/pub/software/scm/git/ filter=*.tar.gz
|
34
|
-
|
35
|
-
version("2.39.0") { source sha256: "d929fe67cef7ac3ca709d2b56a9920f17112d5a524bf8112af37ec045a7a5109" }
|
36
|
-
version("2.37.3") { source sha256: "181f65587155ea48c682f63135678ec53055adf1532428752912d356e46b64a8" }
|
37
|
-
version("2.37.2") { source sha256: "4c428908e3a2dca4174df6ef49acc995a4fdb1b45205a2c79794487a33bc06e5" }
|
38
|
-
version("2.37.1") { source sha256: "7dded96a52e7996ce90dd74a187aec175737f680dc063f3f33c8932cf5c8d809" }
|
39
|
-
version("2.37.0") { source sha256: "fc3ffe6c65c1f7c681a1ce6bb91703866e432c762731d4b57c566d696f6d62c3" }
|
40
|
-
version("2.36.1") { source sha256: "37d936fd17c81aa9ddd3dba4e56e88a45fa534ad0ba946454e8ce818760c6a2c" }
|
41
|
-
version("2.36.0") { source sha256: "9785f8c99daea037b8443d2f7397ac6aafbf8d5ff21fbfe2e5c0d443d126e211" }
|
42
|
-
version("2.35.3") { source sha256: "cad708072d5c0b390c71651f5edb44143f00b357766973470bf9adebc0944c03" }
|
43
|
-
|
44
|
-
# we need to keep 2.24.1 until we can remove the version pin in omnibus-toolchain Solaris builds
|
45
|
-
version("2.24.1") { source sha256: "ad5334956301c86841eb1e5b1bb20884a6bad89a10a6762c958220c7cf64da02" }
|
46
|
-
|
47
|
-
source url: "https://www.kernel.org/pub/software/scm/git/git-#{version}.tar.gz"
|
48
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
49
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
50
|
-
|
51
|
-
# git builds git-core as binaries into a special directory. We need to include
|
52
|
-
# that directory in bin_dirs so omnibus can sign them during macOS deep signing.
|
53
|
-
bin_dirs bin_dirs.concat ["#{install_dir}/embedded/libexec/git-core"]
|
54
|
-
|
55
|
-
build do
|
56
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
57
|
-
|
58
|
-
# We do a distclean so we ensure that the autoconf files are not trying to be
|
59
|
-
# clever.
|
60
|
-
make "distclean"
|
61
|
-
|
62
|
-
# In 2.13.1 they introduced some sha code that wasn't super good at endianness
|
63
|
-
if aix?
|
64
|
-
# AIX needs /opt/freeware/bin only for patch
|
65
|
-
patch_env = env.dup
|
66
|
-
patch_env["PATH"] = "/opt/freeware/bin:#{env["PATH"]}"
|
67
|
-
|
68
|
-
patch source: "aix-endian-fix.patch", plevel: 0, env: patch_env
|
69
|
-
end
|
70
|
-
|
71
|
-
config_hash = {
|
72
|
-
# Universal options
|
73
|
-
NO_GETTEXT: "YesPlease",
|
74
|
-
NEEDS_LIBICONV: "YesPlease",
|
75
|
-
NO_INSTALL_HARDLINKS: "YesPlease",
|
76
|
-
NO_PERL: "YesPlease",
|
77
|
-
NO_PYTHON: "YesPlease",
|
78
|
-
NO_TCLTK: "YesPlease",
|
79
|
-
}
|
80
|
-
|
81
|
-
if freebsd?
|
82
|
-
config_hash["CHARSET_LIB"] = "-lcharset"
|
83
|
-
config_hash["FREAD_READS_DIRECTORIES"] = "UnfortunatelyYes"
|
84
|
-
config_hash["HAVE_CLOCK_GETTIME"] = "YesPlease"
|
85
|
-
config_hash["HAVE_CLOCK_MONOTONIC"] = "YesPlease"
|
86
|
-
config_hash["HAVE_GETDELIM"] = "YesPlease"
|
87
|
-
config_hash["HAVE_PATHS_H"] = "YesPlease"
|
88
|
-
config_hash["HAVE_STRINGS_H"] = "YesPlease"
|
89
|
-
config_hash["PTHREAD_LIBS"] = "-pthread"
|
90
|
-
config_hash["USE_ST_TIMESPEC"] = "YesPlease"
|
91
|
-
config_hash["HAVE_BSD_SYSCTL"] = "YesPlease"
|
92
|
-
config_hash["NO_R_TO_GCC_LINKER"] = "YesPlease"
|
93
|
-
elsif aix?
|
94
|
-
env["CC"] = "xlc_r"
|
95
|
-
env["INSTALL"] = "/opt/freeware/bin/install"
|
96
|
-
env["CFLAGS"] = "-q64 -qmaxmem=-1 -I#{install_dir}/embedded/include -D_LARGE_FILES -O2"
|
97
|
-
env["CPPFLAGS"] = "-q64 -qmaxmem=-1 -I#{install_dir}/embedded/include -D_LARGE_FILES -O2"
|
98
|
-
env["LDFLAGS"] = "-q64 -L#{install_dir}/embedded/lib -lcurl -lssl -lcrypto -lz -Wl,-blibpath:#{install_dir}/embedded/lib:/usr/lib:/lib"
|
99
|
-
# xlc doesn't understand the '-Wl,-rpath' syntax at all so... we don't enable
|
100
|
-
# the NO_R_TO_GCC_LINKER flag. This means that it will try to use the
|
101
|
-
# old style -R for libraries and as a result, xlc will ignore it. In this case, we
|
102
|
-
# we want that to happen because we explicitly set the libpath with the correct
|
103
|
-
# command line argument in omnibus itself.
|
104
|
-
config_hash["CC_LD_DYNPATH"] = "-R"
|
105
|
-
config_hash["AR"] = "ar -X64"
|
106
|
-
config_hash["NO_REGEX"] = "YesPlease"
|
107
|
-
else
|
108
|
-
# Linux things!
|
109
|
-
config_hash["HAVE_PATHS_H"] = "YesPlease"
|
110
|
-
config_hash["NO_R_TO_GCC_LINKER"] = "YesPlease"
|
111
|
-
end
|
112
|
-
|
113
|
-
# ensure that header files in git's source code are found first before looking in other directories
|
114
|
-
# this solves an issue that occurs when libarchive has been built and installed and its archive.h header
|
115
|
-
# file in #{install_dir}/embedded/include is accidentally picked up when compiling git
|
116
|
-
env["CFLAGS"] = "-I. #{env["CFLAGS"]}"
|
117
|
-
env["CPPFLAGS"] = "-I. #{env["CPPFLAGS"]}"
|
118
|
-
env["CXXFLAGS"] = "-I. #{env["CXXFLAGS"]}"
|
119
|
-
env["CFLAGS"] = "-std=c99 #{env["CFLAGS"]}"
|
120
|
-
|
121
|
-
erb source: "config.mak.erb",
|
122
|
-
dest: "#{project_dir}/config.mak",
|
123
|
-
mode: 0755,
|
124
|
-
vars: {
|
125
|
-
cc: env["CC"],
|
126
|
-
ld: env["LD"],
|
127
|
-
cflags: env["CFLAGS"],
|
128
|
-
cppflags: env["CPPFLAGS"],
|
129
|
-
install: env["INSTALL"],
|
130
|
-
install_dir: install_dir,
|
131
|
-
ldflags: env["LDFLAGS"],
|
132
|
-
shell_path: env["SHELL_PATH"],
|
133
|
-
config_hash: config_hash,
|
134
|
-
}
|
135
|
-
|
136
|
-
#
|
137
|
-
# NOTE - If you run ./configure the environment variables set above will not be
|
138
|
-
# used and only the command line args will be used. The issue with this is you
|
139
|
-
# cannot specify everything on the command line that you can with the env vars.
|
140
|
-
make "prefix=#{install_dir}/embedded -j #{workers}", env: env
|
141
|
-
make "prefix=#{install_dir}/embedded install", env: env
|
142
|
-
end
|
data/config/software/gmp.rb
DELETED
@@ -1,50 +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 "gmp"
|
18
|
-
default_version "6.0.0a"
|
19
|
-
|
20
|
-
# version_list: url=https://ftp.gnu.org/gnu/gmp/ filter=*.tar.bz2
|
21
|
-
|
22
|
-
version("6.2.1") { source sha256: "eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c" }
|
23
|
-
version("6.1.0") { source sha256: "498449a994efeba527885c10405993427995d3f86b8768d8cdf8d9dd7c6b73e8" }
|
24
|
-
version("6.0.0a") { source sha256: "7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf" }
|
25
|
-
|
26
|
-
source url: "https://ftp.gnu.org/gnu/gmp/gmp-#{version}.tar.bz2"
|
27
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.bz2",
|
28
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
29
|
-
|
30
|
-
if version == "6.0.0a"
|
31
|
-
# version 6.0.0a expands to 6.0.0
|
32
|
-
relative_path "gmp-6.0.0"
|
33
|
-
else
|
34
|
-
relative_path "gmp-#{version}"
|
35
|
-
end
|
36
|
-
|
37
|
-
build do
|
38
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
39
|
-
|
40
|
-
if solaris2?
|
41
|
-
env["ABI"] = "32"
|
42
|
-
end
|
43
|
-
|
44
|
-
configure_command = ["./configure",
|
45
|
-
"--prefix=#{install_dir}/embedded"]
|
46
|
-
|
47
|
-
command configure_command.join(" "), env: env
|
48
|
-
make "-j #{workers}", env: env
|
49
|
-
make "-j #{workers} install", env: env
|
50
|
-
end
|
@@ -1,33 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 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: logic only
|
17
|
-
|
18
|
-
name "go-uninstall"
|
19
|
-
default_version "0.0.1"
|
20
|
-
license :project_license
|
21
|
-
dependency "go"
|
22
|
-
|
23
|
-
build do
|
24
|
-
# Until Omnibus has full support for build depedencies (see chef/omnibus#483)
|
25
|
-
# we are going to manually uninstall Go
|
26
|
-
%w{go gofmt}.each do |bin|
|
27
|
-
delete "#{install_dir}/embedded/bin/#{bin}"
|
28
|
-
end
|
29
|
-
|
30
|
-
block "Delete Go language from embedded directory" do
|
31
|
-
remove_directory "#{install_dir}/embedded/go"
|
32
|
-
end
|
33
|
-
end
|