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/libedit.rb
DELETED
@@ -1,76 +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 "libedit"
|
18
|
-
default_version "20120601-3.0"
|
19
|
-
|
20
|
-
license "BSD-3-Clause"
|
21
|
-
license_file "COPYING"
|
22
|
-
skip_transitive_dependency_licensing true
|
23
|
-
|
24
|
-
dependency "ncurses"
|
25
|
-
dependency "config_guess"
|
26
|
-
|
27
|
-
# version_list: url=http://thrysoee.dk/editline/ filter=*.tar.gz
|
28
|
-
|
29
|
-
version("20221030-3.1") { source sha256: "f0925a5adf4b1bf116ee19766b7daa766917aec198747943b1c4edf67a4be2bb" }
|
30
|
-
version("20210910-3.1") { source sha256: "6792a6a992050762edcca28ff3318cdb7de37dccf7bc30db59fcd7017eed13c5" }
|
31
|
-
version("20210419-3.1") { source sha256: "571ebe44b74860823e24a08cf04086ff104fd7dfa1020abf26c52543134f5602" }
|
32
|
-
version("20150325-3.1") { source sha256: "c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5" }
|
33
|
-
version("20141030-3.1") { source sha256: "9701e16570fb8f7fa407b506986652221b701a9dd61defc05bb7d1c61cdf5a40" }
|
34
|
-
version("20130712-3.1") { source sha256: "5d9b1a9dd66f1fe28bbd98e4d8ed1a22d8da0d08d902407dcc4a0702c8d88a37" }
|
35
|
-
version("20120601-3.0") { source sha256: "51f0f4b4a97b7ebab26e7b5c2564c47628cdb3042fd8ba8d0605c719d2541918" }
|
36
|
-
|
37
|
-
source url: "https://www.thrysoee.dk/editline/libedit-#{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
|
-
if version == "20141030-3.1"
|
42
|
-
# released tar file has name discrepency in folder name for this version
|
43
|
-
relative_path "libedit-20141029-3.1"
|
44
|
-
else
|
45
|
-
relative_path "libedit-#{version}"
|
46
|
-
end
|
47
|
-
|
48
|
-
build do
|
49
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
50
|
-
|
51
|
-
# The patch is from the FreeBSD ports tree and is for GCC compatibility.
|
52
|
-
# http://svnweb.freebsd.org/ports/head/devel/libedit/files/patch-vi.c?annotate=300896
|
53
|
-
if version.to_i < 20150325 && (freebsd? || openbsd?)
|
54
|
-
patch source: "freebsd-vi-fix.patch", env: env
|
55
|
-
end
|
56
|
-
|
57
|
-
if openbsd?
|
58
|
-
patch source: "openbsd-weak-alias-fix.patch", plevel: 1, env: env
|
59
|
-
elsif aix?
|
60
|
-
# this forces us to build correctly, in the event that the system locale
|
61
|
-
# is non-standard.
|
62
|
-
env["LC_ALL"] = "en_US"
|
63
|
-
end
|
64
|
-
|
65
|
-
if solaris2?
|
66
|
-
patch source: "solaris.patch", plevel: 1, env: env
|
67
|
-
end
|
68
|
-
|
69
|
-
update_config_guess
|
70
|
-
|
71
|
-
command "./configure" \
|
72
|
-
" --prefix=#{install_dir}/embedded", env: env
|
73
|
-
|
74
|
-
make "-j #{workers}", env: env
|
75
|
-
make "-j #{workers} install", env: env
|
76
|
-
end
|
data/config/software/libffi.rb
DELETED
@@ -1,71 +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 "libffi"
|
18
|
-
default_version "3.4.4"
|
19
|
-
|
20
|
-
license "MIT"
|
21
|
-
license_file "LICENSE"
|
22
|
-
skip_transitive_dependency_licensing true
|
23
|
-
|
24
|
-
# version_list: url=https://github.com/libffi/libffi/releases filter=*.tar.gz
|
25
|
-
|
26
|
-
version("3.4.4") { source sha256: "d66c56ad259a82cf2a9dfc408b32bf5da52371500b84745f7fb8b645712df676" }
|
27
|
-
version("3.4.2") { source sha256: "540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620" }
|
28
|
-
version("3.3") { source sha256: "72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056" }
|
29
|
-
|
30
|
-
source url: "https://github.com/libffi/libffi/releases/download/v#{version}/libffi-#{version}.tar.gz"
|
31
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
32
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
33
|
-
|
34
|
-
relative_path "libffi-#{version}"
|
35
|
-
|
36
|
-
build do
|
37
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
38
|
-
|
39
|
-
env["INSTALL"] = "/opt/freeware/bin/install" if aix?
|
40
|
-
|
41
|
-
# disable option checking as disable-docs is 3.3+ only
|
42
|
-
configure_command = ["--disable-option-checking",
|
43
|
-
"--disable-docs",
|
44
|
-
]
|
45
|
-
|
46
|
-
if version == "3.3" && mac_os_x? && arm?
|
47
|
-
patch source: "libffi-3.3-arm64.patch", plevel: 1, env: env
|
48
|
-
end
|
49
|
-
|
50
|
-
# AIX's old version of patch doesn't like the patch here
|
51
|
-
unless aix?
|
52
|
-
# disable multi-os-directory via configure flag (don't use /lib64)
|
53
|
-
# Works on all platforms, and is compatible on 32bit platforms as well
|
54
|
-
configure_command << "--disable-multi-os-directory"
|
55
|
-
|
56
|
-
# add the --disable-multi-os-directory flag to 3.2.1
|
57
|
-
if version == "3.2.1"
|
58
|
-
patch source: "libffi-3.2.1-disable-multi-os-directory.patch", plevel: 1, env: env
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
configure(*configure_command, env: env)
|
63
|
-
|
64
|
-
make "-j #{workers}", env: env
|
65
|
-
make "-j #{workers} install", env: env
|
66
|
-
|
67
|
-
# libffi's default install location of header files is awful...
|
68
|
-
mkdir "#{install_dir}/embedded/include"
|
69
|
-
copy "#{install_dir}/embedded/lib/libffi-#{version}/include/*", "#{install_dir}/embedded/include/"
|
70
|
-
|
71
|
-
end
|
data/config/software/libgcc.rb
DELETED
@@ -1,52 +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
|
-
# NOTE: Instead of depending on this software definition, there is no
|
19
|
-
# reason not to include "-static-libgcc" in your LDFLAGS instead.
|
20
|
-
# That will probably be the best solution going forwards rather than
|
21
|
-
# fuss around with the dynamic linking business here.
|
22
|
-
#
|
23
|
-
|
24
|
-
# # Uncomment the following code to throw a warning when someone depends on this
|
25
|
-
# # software definition.
|
26
|
-
# Omnibus.logger.deprecated('libgcc') do
|
27
|
-
# "Please do not use the libgcc dependency, it will be removed in the " \
|
28
|
-
# "future. Compile with `--static-libgcc' instead!"
|
29
|
-
# end
|
30
|
-
# expeditor/ignore: logic only
|
31
|
-
|
32
|
-
name "libgcc"
|
33
|
-
description "On UNIX systems where we bootstrap a compiler, copy the libgcc"
|
34
|
-
default_version "0.0.1"
|
35
|
-
|
36
|
-
build do
|
37
|
-
libgcc_file = if solaris2?
|
38
|
-
"/opt/csw/lib/libgcc_s.so.1"
|
39
|
-
elsif freebsd?
|
40
|
-
"/lib/libgcc_s.so.1"
|
41
|
-
else
|
42
|
-
nil
|
43
|
-
end
|
44
|
-
|
45
|
-
if libgcc_file
|
46
|
-
if File.exist?(libgcc_file)
|
47
|
-
copy libgcc_file, "#{install_dir}/embedded/lib/"
|
48
|
-
else
|
49
|
-
raise "Cannot find libgcc -- where is your gcc compiler?"
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
data/config/software/libiconv.rb
DELETED
@@ -1,57 +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
|
-
# CAUTION - although its not used, external libraries such as nokogiri may pick up an optional dep on
|
18
|
-
# libiconv such that removal of libiconv will break those libraries on upgrade. With an better story around
|
19
|
-
# external gem handling when chef-client is upgraded libconv could be dropped.
|
20
|
-
#
|
21
|
-
name "libiconv"
|
22
|
-
default_version "1.17"
|
23
|
-
|
24
|
-
license "LGPL-2.1"
|
25
|
-
license_file "COPYING.LIB"
|
26
|
-
skip_transitive_dependency_licensing true
|
27
|
-
|
28
|
-
dependency "config_guess"
|
29
|
-
|
30
|
-
# versions_list: https://ftp.gnu.org/pub/gnu/libiconv/ filter=*.tar.gz
|
31
|
-
version("1.17") { source sha256: "8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313" }
|
32
|
-
version("1.16") { source sha256: "e6a1b1b589654277ee790cce3734f07876ac4ccfaecbee8afa0b649cf529cc04" }
|
33
|
-
version("1.15") { source sha256: "ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178" }
|
34
|
-
|
35
|
-
source url: "https://ftp.gnu.org/pub/gnu/libiconv/libiconv-#{version}.tar.gz"
|
36
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
37
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
38
|
-
|
39
|
-
relative_path "libiconv-#{version}"
|
40
|
-
|
41
|
-
build do
|
42
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
43
|
-
|
44
|
-
# freebsd 10 needs to be build PIC
|
45
|
-
env["CFLAGS"] << " -fPIC" if freebsd?
|
46
|
-
|
47
|
-
update_config_guess(target: "build-aux")
|
48
|
-
update_config_guess(target: "libcharset/build-aux")
|
49
|
-
|
50
|
-
configure(env: env)
|
51
|
-
|
52
|
-
pmake = "-j #{workers}"
|
53
|
-
make "#{pmake}", env: env
|
54
|
-
make "#{pmake} install-lib" \
|
55
|
-
" libdir=#{install_dir}/embedded/lib" \
|
56
|
-
" includedir=#{install_dir}/embedded/include", env: env
|
57
|
-
end
|
@@ -1,59 +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
|
-
|
17
|
-
# ## libintl-perl
|
18
|
-
# libintl-perl is a localization library. Normally it would be installed
|
19
|
-
# automatically by `cpanm` when you install whatever application you want, and
|
20
|
-
# you wouldn't need an explict software definition for it. Unfortunately,
|
21
|
-
# libintl-perl changed the license from LGPLv2 to GPLv3 in version 1.24, making
|
22
|
-
# it unusable in products that cannot ship GPLv3 code. By pre-installing
|
23
|
-
# version 1.23 or earlier, it's possible to workaround the licensing change for
|
24
|
-
# now.
|
25
|
-
|
26
|
-
name "libintl-perl"
|
27
|
-
|
28
|
-
default_version "1.23" # see above before setting this to something newer
|
29
|
-
|
30
|
-
# See above. If you set the version to something above 1.23, the license data
|
31
|
-
# here will be wrong.
|
32
|
-
license "LGPL-2.1"
|
33
|
-
|
34
|
-
# This is a (seldom updated) mirror. The primary repo is at
|
35
|
-
# git://git.guido-flohr.net/perl/libintl-perl.git
|
36
|
-
license_file "https://raw.githubusercontent.com/theory/libintl-perl/a92bda4e01cdecbf7e40f78c1444a8ca22e6fdfc/COPYING.LESSER"
|
37
|
-
|
38
|
-
dependency "perl"
|
39
|
-
dependency "cpanminus"
|
40
|
-
|
41
|
-
# version_list: url=https://cpan.metacpan.org/authors/id/G/GU/GUIDO/ filter=libintl-perl-*.tar.gz
|
42
|
-
|
43
|
-
version("1.33") { source sha256: "5126eda9ccd0eeb10db82ddef63cbcaf7dbd771e78cc0fb110cc3b5a6b8679e7" }
|
44
|
-
version("1.32") { source sha256: "80108298f2564ecbfc7110a3042008e665ed00c2e155b36b0188e6c1135ceba5" }
|
45
|
-
version("1.23") { source sha256: "60da16356c2fa89a0c542c825d626c8c2811202b6002b56d8574b928a1379ffa" }
|
46
|
-
|
47
|
-
source url: "https://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-#{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
|
-
relative_path "libintl-perl-#{version}"
|
52
|
-
|
53
|
-
# See https://github.com/theory/sqitch for more
|
54
|
-
|
55
|
-
build do
|
56
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
57
|
-
|
58
|
-
command "cpanm -v --notest .", env: env
|
59
|
-
end
|
data/config/software/liblzma.rb
DELETED
@@ -1,63 +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
|
-
|
17
|
-
name "liblzma"
|
18
|
-
default_version "5.2.10"
|
19
|
-
|
20
|
-
license "Public-Domain"
|
21
|
-
license_file "COPYING"
|
22
|
-
skip_transitive_dependency_licensing true
|
23
|
-
|
24
|
-
# version_list: url=http://tukaani.org/xz/ filer=*.tar.gz
|
25
|
-
|
26
|
-
version("5.2.10") { source sha256: "eb7a3b2623c9d0135da70ca12808a214be9c019132baaa61c9e1d198d1d9ded3" }
|
27
|
-
version("5.2.7") { source sha256: "06327c2ddc81e126a6d9a78b0be5014b976a2c0832f492dcfc4755d7facf6d33" }
|
28
|
-
version("5.2.6") { source sha256: "a2105abee17bcd2ebd15ced31b4f5eda6e17efd6b10f921a01cda4a44c91b3a0" }
|
29
|
-
version("5.2.5") { source sha256: "f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10" }
|
30
|
-
version("5.2.4") { source sha256: "b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145" }
|
31
|
-
version("5.2.3") { source sha256: "71928b357d0a09a12a4b4c5fafca8c31c19b0e7d3b8ebb19622e96f26dbf28cb" }
|
32
|
-
version("5.2.2") { source sha256: "73df4d5d34f0468bd57d09f2d8af363e95ed6cc3a4a86129d2f2c366259902a2" }
|
33
|
-
|
34
|
-
source url: "https://tukaani.org/xz/xz-#{version}.tar.gz"
|
35
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/xz-#{version}.tar.gz",
|
36
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
37
|
-
|
38
|
-
relative_path "xz-#{version}"
|
39
|
-
|
40
|
-
build do
|
41
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
42
|
-
# liblzma properly uses CFLAGS for C compilation and CPPFLAGS for common
|
43
|
-
# flags used across tools such as windres. Don't put anything in it
|
44
|
-
# that can be misinterpreted by windres.
|
45
|
-
env["CPPFLAGS"] = "-I#{install_dir}/embedded/include" if windows?
|
46
|
-
|
47
|
-
config_command = [
|
48
|
-
"--disable-debug",
|
49
|
-
"--disable-dependency-tracking",
|
50
|
-
"--disable-doc",
|
51
|
-
"--disable-scripts",
|
52
|
-
"--disable-lzma-links",
|
53
|
-
"--disable-lzmainfo",
|
54
|
-
"--disable-lzmadec",
|
55
|
-
"--disable-xzdec",
|
56
|
-
"--disable-xz",
|
57
|
-
]
|
58
|
-
config_command << "--disable-nls" if windows?
|
59
|
-
|
60
|
-
configure(*config_command, env: env)
|
61
|
-
|
62
|
-
make "install", env: env
|
63
|
-
end
|
@@ -1,47 +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 "libossp-uuid"
|
18
|
-
default_version "1.6.2"
|
19
|
-
|
20
|
-
license "MIT"
|
21
|
-
license_file "README"
|
22
|
-
skip_transitive_dependency_licensing true
|
23
|
-
|
24
|
-
dependency "config_guess"
|
25
|
-
|
26
|
-
# version_list: url=https://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/ filter=*.tar.gz
|
27
|
-
|
28
|
-
version("1.6.2") { source sha256: "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0" }
|
29
|
-
|
30
|
-
# ftp on ftp.ossp.org is unavaiable so we must use another mirror site.
|
31
|
-
source url: "https://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/uuid-#{version}.tar.gz"
|
32
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
33
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
34
|
-
|
35
|
-
relative_path "uuid-#{version}"
|
36
|
-
|
37
|
-
build do
|
38
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
39
|
-
|
40
|
-
update_config_guess
|
41
|
-
|
42
|
-
command "./configure" \
|
43
|
-
" --prefix=#{install_dir}/embedded", env: env
|
44
|
-
|
45
|
-
make "-j #{workers}", env: env
|
46
|
-
make "install", env: env
|
47
|
-
end
|
@@ -1,42 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright:: Copyright (c) 2012-2019, Chef Software Inc.
|
3
|
-
# License:: Apache License, Version 2.0
|
4
|
-
#
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
# you may not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
# See the License for the specific language governing permissions and
|
15
|
-
# limitations under the License.
|
16
|
-
#
|
17
|
-
|
18
|
-
# We use the version in util-linux, and only build the libuuid subdirectory
|
19
|
-
name "libsodium"
|
20
|
-
default_version "1.0.18"
|
21
|
-
|
22
|
-
license "ISC"
|
23
|
-
license_file "LICENSE"
|
24
|
-
skip_transitive_dependency_licensing true
|
25
|
-
|
26
|
-
# version_list: url=https://download.libsodium.org/libsodium/releases/ filter=*.tar.gz
|
27
|
-
|
28
|
-
version("1.0.17") { source sha256: "0cc3dae33e642cc187b5ceb467e0ad0e1b51dcba577de1190e9ffa17766ac2b1" }
|
29
|
-
version("1.0.18") { source sha256: "6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1" }
|
30
|
-
|
31
|
-
source url: "https://download.libsodium.org/libsodium/releases/libsodium-#{version}.tar.gz"
|
32
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
33
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
34
|
-
|
35
|
-
relative_path "libsodium-#{version}"
|
36
|
-
|
37
|
-
build do
|
38
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
39
|
-
configure "--disable-dependency-tracking", env: env
|
40
|
-
make "-j #{workers}", env: env
|
41
|
-
make "install", env: env
|
42
|
-
end
|
data/config/software/libtool.rb
DELETED
@@ -1,58 +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 "libtool"
|
18
|
-
default_version "2.4.7"
|
19
|
-
|
20
|
-
license "GPL-2.0"
|
21
|
-
license_file "COPYING"
|
22
|
-
skip_transitive_dependency_licensing true
|
23
|
-
|
24
|
-
dependency "config_guess"
|
25
|
-
|
26
|
-
# version_list: url=https://ftp.gnu.org/gnu/libtool/ filter=*.tar.gz
|
27
|
-
|
28
|
-
version("2.4.7") { source sha256: "04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8" }
|
29
|
-
version("2.4.6") { source sha256: "e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3" }
|
30
|
-
version("2.4.2") { source sha256: "b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918" }
|
31
|
-
version("2.4") { source sha256: "13df57ab63a94e196c5d6e95d64e53262834fe780d5e82c28f177f9f71ddf62e" }
|
32
|
-
|
33
|
-
source url: "https://ftp.gnu.org/gnu/libtool/libtool-#{version}.tar.gz"
|
34
|
-
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 "libtool-#{version}"
|
38
|
-
|
39
|
-
build do
|
40
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
41
|
-
|
42
|
-
update_config_guess
|
43
|
-
update_config_guess(target: "libltdl/config")
|
44
|
-
|
45
|
-
if aix?
|
46
|
-
env["M4"] = "/opt/freeware/bin/m4"
|
47
|
-
elsif solaris2?
|
48
|
-
# We hit this bug on Solaris11 platforms bug#14291: libtool 2.4.2 fails to build due to macro_revision reversion
|
49
|
-
# The problem occurs with LANG=en_US.UTF-8 but not with LANG=C
|
50
|
-
env["LANG"] = "C"
|
51
|
-
end
|
52
|
-
|
53
|
-
command "./configure" \
|
54
|
-
" --prefix=#{install_dir}/embedded", env: env
|
55
|
-
|
56
|
-
make env: env
|
57
|
-
make "install", env: env
|
58
|
-
end
|
data/config/software/libuuid.rb
DELETED
@@ -1,44 +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 "libuuid"
|
20
|
-
default_version "2.21"
|
21
|
-
|
22
|
-
license "LGPL-2.1"
|
23
|
-
license_file "COPYING"
|
24
|
-
|
25
|
-
source url: "https://www.kernel.org/pub/linux/utils/util-linux/v#{version}/util-linux-#{version}.tar.gz"
|
26
|
-
# We use the version in util-linux, and only build the libuuid subdirectory
|
27
|
-
version "2.27.1" do
|
28
|
-
source md5: "e9c73747eadf5201b2a198530add4f87",
|
29
|
-
url: "https://www.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.gz"
|
30
|
-
end
|
31
|
-
version "2.21" do
|
32
|
-
source md5: "4222aa8c2a1b78889e959a4722f1881a"
|
33
|
-
end
|
34
|
-
|
35
|
-
relative_path "util-linux-#{version}"
|
36
|
-
|
37
|
-
build do
|
38
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
39
|
-
|
40
|
-
command "./configure --prefix=#{install_dir}/embedded", env: env
|
41
|
-
|
42
|
-
make "-j #{workers}", env: env, cwd: "#{project_dir}/libuuid"
|
43
|
-
make "-j #{workers} install", env: env, cwd: "#{project_dir}/libuuid"
|
44
|
-
end
|
data/config/software/libxml2.rb
DELETED
@@ -1,65 +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 "libxml2"
|
18
|
-
default_version "2.9.14"
|
19
|
-
|
20
|
-
license "MIT"
|
21
|
-
license_file "COPYING"
|
22
|
-
skip_transitive_dependency_licensing true
|
23
|
-
|
24
|
-
dependency "zlib"
|
25
|
-
dependency "liblzma"
|
26
|
-
dependency "config_guess"
|
27
|
-
|
28
|
-
# version_list: url=https://download.gnome.org/sources/libxml2/2.9/ filter=*.tar.xz
|
29
|
-
version("2.9.14") { source sha256: "60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee" }
|
30
|
-
version("2.9.13") { source sha256: "276130602d12fe484ecc03447ee5e759d0465558fbc9d6bd144e3745306ebf0e" }
|
31
|
-
version("2.9.12") { source sha256: "28a92f6ab1f311acf5e478564c49088ef0ac77090d9c719bbc5d518f1fe62eb9" }
|
32
|
-
version("2.9.10") { source sha256: "593b7b751dd18c2d6abcd0c4bcb29efc203d0b4373a6df98e3a455ea74ae2813" }
|
33
|
-
version("2.9.9") { source sha256: "58a5c05a2951f8b47656b676ce1017921a29f6b1419c45e3baed0d6435ba03f5" }
|
34
|
-
|
35
|
-
source url: "https://download.gnome.org/sources/libxml2/2.9/libxml2-#{version}.tar.xz"
|
36
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.xz",
|
37
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
38
|
-
|
39
|
-
relative_path "libxml2-#{version}"
|
40
|
-
|
41
|
-
build do
|
42
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
43
|
-
|
44
|
-
configure_command = [
|
45
|
-
"--with-zlib=#{install_dir}/embedded",
|
46
|
-
"--with-lzma=#{install_dir}/embedded",
|
47
|
-
"--with-sax1", # required for nokogiri to compile
|
48
|
-
"--without-iconv",
|
49
|
-
"--without-python",
|
50
|
-
"--without-icu",
|
51
|
-
"--without-debug",
|
52
|
-
"--without-mem-debug",
|
53
|
-
"--without-run-debug",
|
54
|
-
"--without-legacy", # we don't need legacy interfaces
|
55
|
-
"--without-catalog",
|
56
|
-
"--without-docbook",
|
57
|
-
]
|
58
|
-
|
59
|
-
update_config_guess
|
60
|
-
|
61
|
-
configure(*configure_command, env: env)
|
62
|
-
|
63
|
-
make "-j #{workers}", env: env
|
64
|
-
make "install", env: env
|
65
|
-
end
|