omnibus-software 22.11.239
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.expeditor/Version_inspector/README.md +21 -0
- data/.expeditor/Version_inspector/SW-Version-update.py +243 -0
- data/.expeditor/Version_inspector/manual_prod_list.json +29 -0
- data/.expeditor/Version_inspector/prod_default_version.json +103 -0
- data/.expeditor/Version_inspector/prod_list.json +194 -0
- data/.expeditor/Version_inspector/requirements.txt +4 -0
- data/.expeditor/Version_inspector/update_prod_default_version.sh +24 -0
- data/.expeditor/Version_inspector/update_prod_list.sh +35 -0
- data/.expeditor/config.yml +33 -0
- data/.expeditor/determine_version.sh +15 -0
- data/.expeditor/push_git_tag.sh +12 -0
- data/.expeditor/run_linux_tests.sh +16 -0
- data/.expeditor/verify.pipeline.yml +52 -0
- data/.github/CODEOWNERS +5 -0
- data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +29 -0
- data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +40 -0
- data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +17 -0
- data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +11 -0
- data/.github/dependabot.yml +9 -0
- data/.github/lock.yml +1 -0
- data/.gitignore +17 -0
- data/CODE_OF_CONDUCT.md +1 -0
- data/CONTRIBUTING.md +1 -0
- data/Dockerfile +21 -0
- data/Gemfile +10 -0
- data/LICENSE +201 -0
- data/README.md +99 -0
- data/Rakefile +56 -0
- data/VERSION +1 -0
- data/config/patches/bash/race-condition.patch +15 -0
- data/config/patches/bzip2/aix_makefile.patch +11 -0
- data/config/patches/bzip2/makefile_no_bins.patch +77 -0
- data/config/patches/bzip2/makefile_take_env_vars.patch +31 -0
- data/config/patches/bzip2/soname_install_dir.patch +11 -0
- data/config/patches/curl/curl-aix-disable-alpn.patch +22 -0
- data/config/patches/curl/curl-freebsd-hostcheck.patch +10 -0
- data/config/patches/erlang/epmd-require-explicitly-adding-loopback-address.patch +84 -0
- data/config/patches/erlang/updated-epmd-require-explicitly-adding-loopback-address.patch +75 -0
- data/config/patches/expat/configure_xlc_visibility.patch +58 -0
- data/config/patches/expat/configure_xlc_visibility_2.4.7.patch +59 -0
- data/config/patches/figlet/aix-figlet-cdefs.patch +48 -0
- data/config/patches/gdbm/v1.8.3-Makefile.in.patch +32 -0
- data/config/patches/git/aix-endian-fix.patch +20 -0
- data/config/patches/gtar/aix_extra_case.patch +13 -0
- data/config/patches/keepalived/keepalived-1.2.9_opscode_centos_5.patch +15 -0
- data/config/patches/libedit/freebsd-vi-fix.patch +24 -0
- data/config/patches/libedit/openbsd-weak-alias-fix.patch +48 -0
- data/config/patches/libedit/solaris.patch +36 -0
- data/config/patches/libffi/libffi-3.2.1-disable-multi-os-directory.patch +83 -0
- data/config/patches/libffi/libffi-3.3-arm64.patch +9608 -0
- data/config/patches/libxslt/libxslt-solaris-configure.patch +19 -0
- data/config/patches/libxslt/libxslt-windows-relocate.patch +12 -0
- data/config/patches/libyaml/windows-configure.patch +26 -0
- data/config/patches/libzmq/zeromq-4.0.11_mingw_inet_pton.patch +37 -0
- data/config/patches/libzmq/zeromq-aix-4.2.2-LARGE_FILES.patch +56 -0
- data/config/patches/libzmq/zeromq-aix-4.2.2-atomic-counter-fetch_and_add.patch +59 -0
- data/config/patches/logrotate/logrotate_basedir_override.patch +17 -0
- data/config/patches/m4/m4-1.4.18-glibc-change-work-around.patch +115 -0
- data/config/patches/make/deb-make-glob.patch +31 -0
- data/config/patches/ncurses/ncurses-5.9-gcc-5.patch +46 -0
- data/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch +11 -0
- data/config/patches/ncurses/ncurses-clang.patch +43 -0
- data/config/patches/ncurses/patch-aa +23 -0
- data/config/patches/ncurses/patch-ab +44 -0
- data/config/patches/ncurses/patch-ac +40 -0
- data/config/patches/ncurses/patch-ad +13 -0
- data/config/patches/ncurses/patch-cxx_cursesf.h +22 -0
- data/config/patches/ncurses/patch-cxx_cursesm.h +22 -0
- data/config/patches/ncurses/patch-ncurses_tinfo_lib__baudrate.c +24 -0
- data/config/patches/openssl/openssl-1.0.1f-do-not-build-docs.patch +28 -0
- data/config/patches/openssl/openssl-1.0.1j-windows-relocate-dll.patch +20 -0
- data/config/patches/openssl/openssl-1.0.1q-fix-compiler-flags-table-for-msys.patch +20 -0
- data/config/patches/openssl/openssl-1.0.2x-darwin-arm64.patch +54 -0
- data/config/patches/openssl/openssl-1.1.0f-do-not-install-docs.patch +11 -0
- data/config/patches/openssl/openssl-3.0.1-do-not-install-docs.patch +22 -0
- data/config/patches/openssl-fips/openssl-fips-fix-compiler-flags-table-for-msys.patch +11 -0
- data/config/patches/perl/perl-5.18.1-remove_lnsl.patch +441 -0
- data/config/patches/perl/perl-5.22.1-remove_lnsl.patch +512 -0
- data/config/patches/perl/perl-5.30.0-remove_lnsl.patch +518 -0
- data/config/patches/perl/perl-5.32.1-remove_lnsl.patch +456 -0
- data/config/patches/perl/perl-5.34.0-remove_lnsl.patch +516 -0
- data/config/patches/pkg-config/openbsd-charset.patch +19 -0
- data/config/patches/popt/v1.16.ppc64le-configure.patch +18 -0
- data/config/patches/redis/password-from-environment.patch +19 -0
- data/config/patches/ruby/patch-configure +103 -0
- data/config/patches/ruby/remove_nano.patch +10 -0
- data/config/patches/ruby/ruby-2.6.7_c99.patch +12 -0
- data/config/patches/ruby/ruby-3.0.1-configure.patch +281 -0
- data/config/patches/ruby/ruby-3.0.2-configure.patch +251 -0
- data/config/patches/ruby/ruby-aix-atomic.patch +11 -0
- data/config/patches/ruby/ruby-aix-configure_26_and_later.patch +19 -0
- data/config/patches/ruby/ruby-aix-vm-core.patch +14 -0
- data/config/patches/ruby/ruby-fast-load_26.patch +16 -0
- data/config/patches/ruby/ruby-fast-load_31.patch +16 -0
- data/config/patches/ruby/ruby-faster-load_26.patch +11 -0
- data/config/patches/ruby/ruby-faster-load_27.patch +11 -0
- data/config/patches/ruby/ruby-mkmf.patch +29 -0
- data/config/patches/ruby/ruby-no-stack-protector-strong.patch +11 -0
- data/config/patches/ruby/ruby-no-stack-protector.patch +13 -0
- data/config/patches/ruby/ruby-win32_warning_removal.patch +12 -0
- data/config/patches/ruby/ruby_aix_openssl.patch +10 -0
- data/config/patches/ruby/ruby_aix_ssl_EAGAIN.patch +19 -0
- data/config/patches/ruby/rvm-cflags.patch +27 -0
- data/config/patches/stunnel/stunnel-on-windows.patch +42 -0
- data/config/patches/zlib/zlib-windows-relocate.patch +20 -0
- data/config/software/autoconf.rb +46 -0
- data/config/software/automake.rb +49 -0
- data/config/software/bash.rb +72 -0
- data/config/software/berkshelf-no-depselector.rb +46 -0
- data/config/software/berkshelf.rb +34 -0
- data/config/software/binutils.rb +47 -0
- data/config/software/bundler.rb +38 -0
- data/config/software/bzip2.rb +55 -0
- data/config/software/cacerts.rb +50 -0
- data/config/software/chef-gem.rb +35 -0
- data/config/software/chef.rb +112 -0
- data/config/software/cmake.rb +94 -0
- data/config/software/config_guess.rb +37 -0
- data/config/software/cpanminus.rb +49 -0
- data/config/software/curl.rb +103 -0
- data/config/software/delivery-cli.rb +89 -0
- data/config/software/dep-selector-libgecode.rb +48 -0
- data/config/software/elasticsearch.rb +61 -0
- data/config/software/elixir.rb +35 -0
- data/config/software/erlang.rb +134 -0
- data/config/software/expat.rb +63 -0
- data/config/software/fakeroot.rb +41 -0
- data/config/software/ffi-yajl.rb +46 -0
- data/config/software/figlet-fonts.rb +31 -0
- data/config/software/figlet.rb +44 -0
- data/config/software/gcc.rb +60 -0
- data/config/software/gdbm.rb +54 -0
- data/config/software/gecode.rb +62 -0
- data/config/software/gem-permissions.rb +43 -0
- data/config/software/git-windows.rb +96 -0
- data/config/software/git.rb +138 -0
- data/config/software/gmp.rb +48 -0
- data/config/software/go-uninstall.rb +33 -0
- data/config/software/go.rb +116 -0
- data/config/software/google-protobuf.rb +45 -0
- data/config/software/gtar.rb +62 -0
- data/config/software/help2man.rb +40 -0
- data/config/software/highline-gem.rb +37 -0
- data/config/software/ibm-jre.rb +59 -0
- data/config/software/inspec.rb +43 -0
- data/config/software/jre-from-jdk.rb +67 -0
- data/config/software/keepalived.rb +68 -0
- data/config/software/libarchive.rb +71 -0
- data/config/software/libedit.rb +73 -0
- data/config/software/libffi.rb +68 -0
- data/config/software/libgcc.rb +52 -0
- data/config/software/libiconv.rb +55 -0
- data/config/software/libintl-perl.rb +56 -0
- data/config/software/liblzma.rb +59 -0
- data/config/software/libossp-uuid.rb +45 -0
- data/config/software/libsodium.rb +40 -0
- data/config/software/libtool.rb +56 -0
- data/config/software/libuuid.rb +45 -0
- data/config/software/libxml2.rb +63 -0
- data/config/software/libxslt.rb +64 -0
- data/config/software/libyajl2-gem.rb +44 -0
- data/config/software/libyaml.rb +50 -0
- data/config/software/libzmq.rb +93 -0
- data/config/software/logrotate.rb +61 -0
- data/config/software/lua.rb +46 -0
- data/config/software/m4.rb +40 -0
- data/config/software/make.rb +43 -0
- data/config/software/makedepend.rb +44 -0
- data/config/software/mpc.rb +44 -0
- data/config/software/mpfr.rb +45 -0
- data/config/software/musl.rb +107 -0
- data/config/software/mysql2.rb +50 -0
- data/config/software/ncurses.rb +159 -0
- data/config/software/nginx.rb +55 -0
- data/config/software/nodejs-binary.rb +90 -0
- data/config/software/nodejs.rb +58 -0
- data/config/software/nokogiri.rb +92 -0
- data/config/software/omnibus-ctl.rb +42 -0
- data/config/software/openresty.rb +94 -0
- data/config/software/opensearch.rb +54 -0
- data/config/software/openssl-customization.rb +81 -0
- data/config/software/openssl-fips.rb +81 -0
- data/config/software/openssl.rb +185 -0
- data/config/software/patch.rb +46 -0
- data/config/software/patchelf.rb +66 -0
- data/config/software/pcre.rb +53 -0
- data/config/software/perl-extutils-embed.rb +37 -0
- data/config/software/perl-extutils-makemaker.rb +46 -0
- data/config/software/perl-thread-queue.rb +40 -0
- data/config/software/perl.rb +78 -0
- data/config/software/perl_pg_driver.rb +45 -0
- data/config/software/pg-gem.rb +36 -0
- data/config/software/pkg-config-lite.rb +46 -0
- data/config/software/pkg-config.rb +66 -0
- data/config/software/popt.rb +54 -0
- data/config/software/postgresql.rb +70 -0
- data/config/software/preparation.rb +31 -0
- data/config/software/python.rb +79 -0
- data/config/software/rabbitmq.rb +58 -0
- data/config/software/rb-readline.rb +33 -0
- data/config/software/rbnacl-libsodium.rb +42 -0
- data/config/software/rbzmq.rb +44 -0
- data/config/software/rebar.rb +42 -0
- data/config/software/redis-gem.rb +36 -0
- data/config/software/redis.rb +51 -0
- data/config/software/relx.rb +39 -0
- data/config/software/rsync.rb +55 -0
- data/config/software/ruby-cleanup.rb +254 -0
- data/config/software/ruby-msys2-devkit.rb +77 -0
- data/config/software/ruby-windows-devkit-bash.rb +41 -0
- data/config/software/ruby-windows-devkit.rb +84 -0
- data/config/software/ruby.rb +306 -0
- data/config/software/rubygems.rb +73 -0
- data/config/software/runit.rb +67 -0
- data/config/software/rust-uninstall.rb +32 -0
- data/config/software/rust.rb +97 -0
- data/config/software/sequel-gem.rb +36 -0
- data/config/software/server-jre.rb +125 -0
- data/config/software/server-open-jre.rb +112 -0
- data/config/software/setuptools.rb +48 -0
- data/config/software/shebang-cleanup.rb +101 -0
- data/config/software/sqitch.rb +87 -0
- data/config/software/stunnel.rb +86 -0
- data/config/software/util-macros.rb +42 -0
- data/config/software/version-manifest.rb +33 -0
- data/config/software/xproto.rb +42 -0
- data/config/software/zlib.rb +85 -0
- data/config/templates/git/config.mak.erb +31 -0
- data/config/templates/rubygems/register_devtools.rb.erb +33 -0
- data/config/templates/runit/runsvdir-start.erb +42 -0
- data/docker-compose.yml +15 -0
- data/lib/omnibus-software/version.rb +3 -0
- data/lib/omnibus-software.rb +115 -0
- data/omnibus-software.gemspec +20 -0
- data/test/Gemfile +10 -0
- data/test/config/projects/test.rb +14 -0
- data/test/generate_steps.rb +55 -0
- data/test/omnibus-build.sh +50 -0
- data/test/omnibus.rb +55 -0
- metadata +296 -0
|
@@ -0,0 +1,59 @@
|
|
|
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 "ibm-jre"
|
|
19
|
+
|
|
20
|
+
license "IBM-Java-contractual-redistribution"
|
|
21
|
+
# This license is stange, it says it cannot be redistributed but Chef has obtained
|
|
22
|
+
# a contractual agreement with IBM to repackange and redistribute the JRE free of
|
|
23
|
+
# charge and without support or warranty to our mutual customers
|
|
24
|
+
license_file "copyright"
|
|
25
|
+
license_file "license_en.txt"
|
|
26
|
+
skip_transitive_dependency_licensing true
|
|
27
|
+
|
|
28
|
+
if ppc64?
|
|
29
|
+
source url: "https://s3.amazonaws.com/chef-releng/java/jre/ibm-java-ppc64-80.tar.xz",
|
|
30
|
+
md5: "face417c3786945c2eb458f058b8616b"
|
|
31
|
+
app_version = "ibm-java-ppc64-80"
|
|
32
|
+
relative_path "ibm-java-ppc64-80"
|
|
33
|
+
elsif ppc64le?
|
|
34
|
+
source url: "https://s3.amazonaws.com/chef-releng/java/jre/ibm-java-ppc64le-80.tar.xz",
|
|
35
|
+
md5: "199e3f1b5e3035bc813094e2973ffafb"
|
|
36
|
+
app_version = "ibm-java-ppc64le-80"
|
|
37
|
+
relative_path "ibm-java-ppc64le-80"
|
|
38
|
+
elsif s390x?
|
|
39
|
+
source url: "https://s3.amazonaws.com/chef-releng/java/jre/ibm-java-s390x-80.tar.gz",
|
|
40
|
+
md5: "722bf5ab5436add5fdddbed4b07503c7"
|
|
41
|
+
app_version = "ibm-java-s390x-80"
|
|
42
|
+
relative_path "ibm-java-s390x-80"
|
|
43
|
+
else
|
|
44
|
+
puts "The IBM JRE support for this platform was not found, thus it will not be installed"
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
default_version app_version
|
|
48
|
+
|
|
49
|
+
whitelist_file "jre/bin/javaws"
|
|
50
|
+
whitelist_file "jre/bin/policytool"
|
|
51
|
+
whitelist_file "jre/lib"
|
|
52
|
+
whitelist_file "jre/plugin"
|
|
53
|
+
whitelist_file "jre/bin/appletviewer"
|
|
54
|
+
whitelist_file "jre/bin/unpack200"
|
|
55
|
+
|
|
56
|
+
build do
|
|
57
|
+
mkdir "#{install_dir}/embedded/jre"
|
|
58
|
+
sync "#{project_dir}/jre/", "#{install_dir}/embedded/jre"
|
|
59
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
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 "inspec"
|
|
19
|
+
default_version "main"
|
|
20
|
+
|
|
21
|
+
license "Apache-2.0"
|
|
22
|
+
license_file "LICENSE"
|
|
23
|
+
|
|
24
|
+
source git: "https://github.com/chef/inspec.git"
|
|
25
|
+
|
|
26
|
+
dependency "ruby"
|
|
27
|
+
dependency "nokogiri"
|
|
28
|
+
# Dependency added to avoid this pry error:
|
|
29
|
+
# "Sorry, you can't use Pry without Readline or a compatible library."
|
|
30
|
+
dependency "rb-readline"
|
|
31
|
+
|
|
32
|
+
build do
|
|
33
|
+
env = with_standard_compiler_flags(with_embedded_path)
|
|
34
|
+
|
|
35
|
+
bundle "config set --local without test integration tools maintenance", env: env
|
|
36
|
+
bundle "install", env: env
|
|
37
|
+
|
|
38
|
+
gem "build inspec.gemspec", env: env
|
|
39
|
+
gem "install inspec-*.gem" \
|
|
40
|
+
" --no-document", env: env
|
|
41
|
+
|
|
42
|
+
appbundle "inspec", env: env
|
|
43
|
+
end
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright 2013-2014 Chef Software, Inc.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
|
|
17
|
+
# Oracle doesn't distribute JRE builds for ARM, only JDK
|
|
18
|
+
# builds. Since we do no want to ship a larger package with a
|
|
19
|
+
# different layout, we just pick the 'jre' folder inside the jdk.
|
|
20
|
+
# This allows us to get as close as an ARM JRE package as we can.
|
|
21
|
+
#
|
|
22
|
+
# expeditor/ignore: deprecated 2021-04
|
|
23
|
+
|
|
24
|
+
name "jre-from-jdk"
|
|
25
|
+
default_version "8u91"
|
|
26
|
+
|
|
27
|
+
unless _64_bit? || armhf?
|
|
28
|
+
raise "The 'jre-from-jdk' can only be installed on armhf and x86_64"
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
license "Oracle-Binary"
|
|
32
|
+
license_file "LICENSE"
|
|
33
|
+
skip_transitive_dependency_licensing true
|
|
34
|
+
|
|
35
|
+
whitelist_file "jre/bin/javaws"
|
|
36
|
+
whitelist_file "jre/bin/policytool"
|
|
37
|
+
whitelist_file "jre/lib"
|
|
38
|
+
whitelist_file "jre/plugin"
|
|
39
|
+
whitelist_file "jre/bin/appletviewer"
|
|
40
|
+
|
|
41
|
+
license_warning = "By including the JRE, you accept the terms of the Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX, which can be found at http://www.oracle.com/technetwork/java/javase/terms/license/index.html"
|
|
42
|
+
license_cookie = "gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie"
|
|
43
|
+
|
|
44
|
+
version "8u91" do
|
|
45
|
+
# https://www.oracle.com/webfolder/s/digest/8u91checksum.html
|
|
46
|
+
if armhf?
|
|
47
|
+
file = "jdk-8u91-linux-arm32-vfp-hflt.tar.gz"
|
|
48
|
+
md5 = "1dd3934a493b474dd79b50adbd6df6a2"
|
|
49
|
+
else
|
|
50
|
+
file = "jdk-8u91-linux-x64.tar.gz"
|
|
51
|
+
md5 = "3f3d7d0cd70bfe0feab382ed4b0e45c0"
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
source url: "http://download.oracle.com/otn-pub/java/jdk/8u91-b14/#{file}",
|
|
55
|
+
md5: md5,
|
|
56
|
+
cookie: license_cookie,
|
|
57
|
+
warning: license_warning,
|
|
58
|
+
unsafe: true
|
|
59
|
+
|
|
60
|
+
relative_path "jdk1.8.0_91"
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
build do
|
|
64
|
+
mkdir "#{install_dir}/embedded/jre"
|
|
65
|
+
|
|
66
|
+
sync "#{project_dir}/jre", "#{install_dir}/embedded/jre"
|
|
67
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
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 "keepalived"
|
|
19
|
+
default_version "1.2.9"
|
|
20
|
+
|
|
21
|
+
license "GPL-2.0"
|
|
22
|
+
license_file "COPYING"
|
|
23
|
+
skip_transitive_dependency_licensing true
|
|
24
|
+
|
|
25
|
+
dependency "popt"
|
|
26
|
+
dependency "openssl"
|
|
27
|
+
|
|
28
|
+
source url: "http://www.keepalived.org/software/keepalived-#{version}.tar.gz"
|
|
29
|
+
|
|
30
|
+
version "1.2.19" do
|
|
31
|
+
source md5: "5c98b06639dd50a6bff76901b53febb6"
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
version "1.2.9" do
|
|
35
|
+
source md5: "adfad98a2cc34230867d794ebc633492"
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
version "1.1.20" do
|
|
39
|
+
source md5: "6c3065c94bb9e2187c4b5a80f6d8be31"
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
relative_path "keepalived-#{version}"
|
|
43
|
+
|
|
44
|
+
build do
|
|
45
|
+
env = with_standard_compiler_flags(with_embedded_path)
|
|
46
|
+
|
|
47
|
+
# This is cherry-picked from change
|
|
48
|
+
# d384ce8b3492b9d76af23e621a20bed8da9c6016 of keepalived, (master
|
|
49
|
+
# branch), and should be no longer necessary after 1.2.9.
|
|
50
|
+
if version == "1.2.9"
|
|
51
|
+
patch source: "keepalived-1.2.9_opscode_centos_5.patch", env: env
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
configure = [
|
|
55
|
+
"./configure",
|
|
56
|
+
"--prefix=#{install_dir}/embedded",
|
|
57
|
+
" --disable-iconv",
|
|
58
|
+
]
|
|
59
|
+
|
|
60
|
+
if suse?
|
|
61
|
+
configure << "--with-kernel-dir=/usr/src/linux/include/uapi"
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
command configure.join(" "), env: env
|
|
65
|
+
|
|
66
|
+
make "-j #{workers}", env: env
|
|
67
|
+
make "install", env: env
|
|
68
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright 2014-2021 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
|
+
# A requirement for api.berkshelf.com that is used in berkshelf specs
|
|
18
|
+
# https://github.com/berkshelf/api.berkshelf.com
|
|
19
|
+
|
|
20
|
+
name "libarchive"
|
|
21
|
+
default_version "3.6.1"
|
|
22
|
+
|
|
23
|
+
license "BSD-2-Clause"
|
|
24
|
+
license_file "COPYING"
|
|
25
|
+
skip_transitive_dependency_licensing true
|
|
26
|
+
|
|
27
|
+
# versions_list: https://github.com/libarchive/libarchive/releases/ filter=*.tar.gz
|
|
28
|
+
|
|
29
|
+
version("3.6.1") { source sha256: "c676146577d989189940f1959d9e3980d28513d74eedfbc6b7f15ea45fe54ee2" }
|
|
30
|
+
version("3.6.0") { source sha256: "a36613695ffa2905fdedc997b6df04a3006ccfd71d747a339b78aa8412c3d852" }
|
|
31
|
+
version("3.5.2") { source sha256: "5f245bd5176bc5f67428eb0aa497e09979264a153a074d35416521a5b8e86189" }
|
|
32
|
+
version("3.5.1") { source sha256: "9015d109ec00bb9ae1a384b172bf2fc1dff41e2c66e5a9eeddf933af9db37f5a" }
|
|
33
|
+
version("3.5.0") { source sha256: "fc4bc301188376adc18780d35602454cc8df6396e1b040fbcbb0d4c0469faf54" }
|
|
34
|
+
|
|
35
|
+
source url: "https://github.com/libarchive/libarchive/releases/download/v#{version}/libarchive-#{version}.tar.gz"
|
|
36
|
+
|
|
37
|
+
relative_path "libarchive-#{version}"
|
|
38
|
+
|
|
39
|
+
dependency "config_guess"
|
|
40
|
+
dependency "libxml2"
|
|
41
|
+
dependency "bzip2"
|
|
42
|
+
dependency "zlib"
|
|
43
|
+
dependency "liblzma"
|
|
44
|
+
|
|
45
|
+
build do
|
|
46
|
+
env = with_standard_compiler_flags(with_embedded_path)
|
|
47
|
+
update_config_guess(target: "build/autoconf/")
|
|
48
|
+
|
|
49
|
+
configure_args = [
|
|
50
|
+
"--prefix=#{install_dir}/embedded",
|
|
51
|
+
"--without-lzo2",
|
|
52
|
+
"--without-nettle",
|
|
53
|
+
"--without-expat",
|
|
54
|
+
"--without-iconv",
|
|
55
|
+
"--disable-bsdtar", # tar command line tool
|
|
56
|
+
"--disable-bsdcpio", # cpio command line tool
|
|
57
|
+
"--disable-bsdcat", # cat w/ decompression command line tool
|
|
58
|
+
"--without-openssl",
|
|
59
|
+
"--without-zstd",
|
|
60
|
+
"--without-lz4",
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
if s390x?
|
|
64
|
+
configure_args << "--disable-xattr --disable-acl"
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
configure configure_args.join(" "), env: env
|
|
68
|
+
|
|
69
|
+
make "-j #{workers}", env: env
|
|
70
|
+
make "-j #{workers} install", env: env
|
|
71
|
+
end
|
|
@@ -0,0 +1,73 @@
|
|
|
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("20210910-3.1") { source sha256: "6792a6a992050762edcca28ff3318cdb7de37dccf7bc30db59fcd7017eed13c5" }
|
|
30
|
+
version("20210419-3.1") { source sha256: "571ebe44b74860823e24a08cf04086ff104fd7dfa1020abf26c52543134f5602" }
|
|
31
|
+
version("20150325-3.1") { source sha256: "c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5" }
|
|
32
|
+
version("20141030-3.1") { source sha256: "9701e16570fb8f7fa407b506986652221b701a9dd61defc05bb7d1c61cdf5a40" }
|
|
33
|
+
version("20130712-3.1") { source sha256: "5d9b1a9dd66f1fe28bbd98e4d8ed1a22d8da0d08d902407dcc4a0702c8d88a37" }
|
|
34
|
+
version("20120601-3.0") { source sha256: "51f0f4b4a97b7ebab26e7b5c2564c47628cdb3042fd8ba8d0605c719d2541918" }
|
|
35
|
+
|
|
36
|
+
source url: "https://www.thrysoee.dk/editline/libedit-#{version}.tar.gz"
|
|
37
|
+
|
|
38
|
+
if version == "20141030-3.1"
|
|
39
|
+
# released tar file has name discrepency in folder name for this version
|
|
40
|
+
relative_path "libedit-20141029-3.1"
|
|
41
|
+
else
|
|
42
|
+
relative_path "libedit-#{version}"
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
build do
|
|
46
|
+
env = with_standard_compiler_flags(with_embedded_path)
|
|
47
|
+
|
|
48
|
+
# The patch is from the FreeBSD ports tree and is for GCC compatibility.
|
|
49
|
+
# http://svnweb.freebsd.org/ports/head/devel/libedit/files/patch-vi.c?annotate=300896
|
|
50
|
+
if version.to_i < 20150325 && (freebsd? || openbsd?)
|
|
51
|
+
patch source: "freebsd-vi-fix.patch", env: env
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
if openbsd?
|
|
55
|
+
patch source: "openbsd-weak-alias-fix.patch", plevel: 1, env: env
|
|
56
|
+
elsif aix?
|
|
57
|
+
# this forces us to build correctly, in the event that the system locale
|
|
58
|
+
# is non-standard.
|
|
59
|
+
env["LC_ALL"] = "en_US"
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
if solaris2?
|
|
63
|
+
patch source: "solaris.patch", plevel: 1, env: env
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
update_config_guess
|
|
67
|
+
|
|
68
|
+
command "./configure" \
|
|
69
|
+
" --prefix=#{install_dir}/embedded", env: env
|
|
70
|
+
|
|
71
|
+
make "-j #{workers}", env: env
|
|
72
|
+
make "-j #{workers} install", env: env
|
|
73
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
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.2"
|
|
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.2") { source sha256: "540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620" }
|
|
27
|
+
version("3.3") { source sha256: "72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056" }
|
|
28
|
+
|
|
29
|
+
source url: "https://github.com/libffi/libffi/releases/download/v#{version}/libffi-#{version}.tar.gz"
|
|
30
|
+
|
|
31
|
+
relative_path "libffi-#{version}"
|
|
32
|
+
|
|
33
|
+
build do
|
|
34
|
+
env = with_standard_compiler_flags(with_embedded_path)
|
|
35
|
+
|
|
36
|
+
env["INSTALL"] = "/opt/freeware/bin/install" if aix?
|
|
37
|
+
|
|
38
|
+
# disable option checking as disable-docs is 3.3+ only
|
|
39
|
+
configure_command = ["--disable-option-checking",
|
|
40
|
+
"--disable-docs",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
if version == "3.3" && mac_os_x? && arm?
|
|
44
|
+
patch source: "libffi-3.3-arm64.patch", plevel: 1, env: env
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# AIX's old version of patch doesn't like the patch here
|
|
48
|
+
unless aix?
|
|
49
|
+
# disable multi-os-directory via configure flag (don't use /lib64)
|
|
50
|
+
# Works on all platforms, and is compatible on 32bit platforms as well
|
|
51
|
+
configure_command << "--disable-multi-os-directory"
|
|
52
|
+
|
|
53
|
+
# add the --disable-multi-os-directory flag to 3.2.1
|
|
54
|
+
if version == "3.2.1"
|
|
55
|
+
patch source: "libffi-3.2.1-disable-multi-os-directory.patch", plevel: 1, env: env
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
configure(*configure_command, env: env)
|
|
60
|
+
|
|
61
|
+
make "-j #{workers}", env: env
|
|
62
|
+
make "-j #{workers} install", env: env
|
|
63
|
+
|
|
64
|
+
# libffi's default install location of header files is awful...
|
|
65
|
+
mkdir "#{install_dir}/embedded/include"
|
|
66
|
+
copy "#{install_dir}/embedded/lib/libffi-#{version}/include/*", "#{install_dir}/embedded/include/"
|
|
67
|
+
|
|
68
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
|
|
37
|
+
relative_path "libiconv-#{version}"
|
|
38
|
+
|
|
39
|
+
build do
|
|
40
|
+
env = with_standard_compiler_flags(with_embedded_path)
|
|
41
|
+
|
|
42
|
+
# freebsd 10 needs to be build PIC
|
|
43
|
+
env["CFLAGS"] << " -fPIC" if freebsd?
|
|
44
|
+
|
|
45
|
+
update_config_guess(target: "build-aux")
|
|
46
|
+
update_config_guess(target: "libcharset/build-aux")
|
|
47
|
+
|
|
48
|
+
configure(env: env)
|
|
49
|
+
|
|
50
|
+
pmake = "-j #{workers}"
|
|
51
|
+
make "#{pmake}", env: env
|
|
52
|
+
make "#{pmake} install-lib" \
|
|
53
|
+
" libdir=#{install_dir}/embedded/lib" \
|
|
54
|
+
" includedir=#{install_dir}/embedded/include", env: env
|
|
55
|
+
end
|
|
@@ -0,0 +1,56 @@
|
|
|
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.32") { source sha256: "80108298f2564ecbfc7110a3042008e665ed00c2e155b36b0188e6c1135ceba5" }
|
|
44
|
+
version("1.23") { source sha256: "60da16356c2fa89a0c542c825d626c8c2811202b6002b56d8574b928a1379ffa" }
|
|
45
|
+
|
|
46
|
+
source url: "https://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-#{version}.tar.gz"
|
|
47
|
+
|
|
48
|
+
relative_path "libintl-perl-#{version}"
|
|
49
|
+
|
|
50
|
+
# See https://github.com/theory/sqitch for more
|
|
51
|
+
|
|
52
|
+
build do
|
|
53
|
+
env = with_standard_compiler_flags(with_embedded_path)
|
|
54
|
+
|
|
55
|
+
command "cpanm -v --notest .", env: env
|
|
56
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
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.6"
|
|
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.6") { source sha256: "a2105abee17bcd2ebd15ced31b4f5eda6e17efd6b10f921a01cda4a44c91b3a0" }
|
|
27
|
+
version("5.2.5") { source sha256: "f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10" }
|
|
28
|
+
version("5.2.4") { source sha256: "b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145" }
|
|
29
|
+
version("5.2.3") { source sha256: "71928b357d0a09a12a4b4c5fafca8c31c19b0e7d3b8ebb19622e96f26dbf28cb" }
|
|
30
|
+
version("5.2.2") { source sha256: "73df4d5d34f0468bd57d09f2d8af363e95ed6cc3a4a86129d2f2c366259902a2" }
|
|
31
|
+
|
|
32
|
+
source url: "https://tukaani.org/xz/xz-#{version}.tar.gz"
|
|
33
|
+
|
|
34
|
+
relative_path "xz-#{version}"
|
|
35
|
+
|
|
36
|
+
build do
|
|
37
|
+
env = with_standard_compiler_flags(with_embedded_path)
|
|
38
|
+
# liblzma properly uses CFLAGS for C compilation and CPPFLAGS for common
|
|
39
|
+
# flags used across tools such as windres. Don't put anything in it
|
|
40
|
+
# that can be misinterpreted by windres.
|
|
41
|
+
env["CPPFLAGS"] = "-I#{install_dir}/embedded/include" if windows?
|
|
42
|
+
|
|
43
|
+
config_command = [
|
|
44
|
+
"--disable-debug",
|
|
45
|
+
"--disable-dependency-tracking",
|
|
46
|
+
"--disable-doc",
|
|
47
|
+
"--disable-scripts",
|
|
48
|
+
"--disable-lzma-links",
|
|
49
|
+
"--disable-lzmainfo",
|
|
50
|
+
"--disable-lzmadec",
|
|
51
|
+
"--disable-xzdec",
|
|
52
|
+
"--disable-xz",
|
|
53
|
+
]
|
|
54
|
+
config_command << "--disable-nls" if windows?
|
|
55
|
+
|
|
56
|
+
configure(*config_command, env: env)
|
|
57
|
+
|
|
58
|
+
make "install", env: env
|
|
59
|
+
end
|