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/go.rb
DELETED
@@ -1,123 +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
|
-
|
17
|
-
name "go"
|
18
|
-
default_version "1.19.5"
|
19
|
-
license "BSD-3-Clause"
|
20
|
-
license_file "https://raw.githubusercontent.com/golang/go/master/LICENSE"
|
21
|
-
|
22
|
-
# Defaults
|
23
|
-
platform = "linux"
|
24
|
-
arch = "amd64"
|
25
|
-
ext = "tar.gz"
|
26
|
-
|
27
|
-
if windows?
|
28
|
-
platform = "windows"
|
29
|
-
ext = "zip"
|
30
|
-
|
31
|
-
# version_list: url=https://golang.org/dl/ filter=*.windows-amd64.zip
|
32
|
-
version("1.19.5") { source sha256: "167db91a2e40aeb453d3e59d213ecab06f62e1c4a84d13a06ccda1d999961caa" }
|
33
|
-
version("1.19.1") { source sha256: "b33584c1d93b0e9c783de876b7aa99d3018bdeccd396aeb6d516a74e9d88d55f" }
|
34
|
-
version("1.19") { source sha256: "bcaaf966f91980d35ae93c37a8fe890e4ddfca19448c0d9f66c027d287e2823a" }
|
35
|
-
version("1.18.5") { source sha256: "73753620602d4b4469770040c53db55e5dd6af2ad07ecc18f71f164c3224eaad" }
|
36
|
-
version("1.18.3") { source sha256: "9c46023f3ad0300fcfd1e62f2b6c2dfd9667b1f2f5c7a720b14b792af831f071" }
|
37
|
-
version("1.18.2") { source sha256: "41fc44109c39a98e0c3672989ac5ad205cbb5768067e099dc4fb2b75cba922cf" }
|
38
|
-
version("1.17.7") { source sha256: "1b648165d62a2f5399f3c42c7e59de9f4aa457212c4ea763e1b650546fac72e2" }
|
39
|
-
version("1.17.6") { source sha256: "5bf8f87aec7edfc08e6bc845f1c30dba6de32b863f89ae46553ff4bbcc1d4954" }
|
40
|
-
version("1.17.5") { source sha256: "671faf99cd5d81cd7e40936c0a94363c64d654faa0148d2af4bbc262555620b9" }
|
41
|
-
version("1.17.2") { source sha256: "fa6da0b829a66f5fab7e4e312fd6aa1b2d8f045c7ecee83b3d00f6fe5306759a" }
|
42
|
-
version("1.17") { source sha256: "2a18bd65583e221be8b9b7c2fbe3696c40f6e27c2df689bbdcc939d49651d151" }
|
43
|
-
version("1.16.3") { source sha256: "a4400345135b36cb7942e52bbaf978b66814738b855eeff8de879a09fd99de7f" }
|
44
|
-
|
45
|
-
elsif mac_os_x?
|
46
|
-
platform = "darwin"
|
47
|
-
|
48
|
-
# version_list: url=https://golang.org/dl/ filter=*.darwin-amd64.tar.gz
|
49
|
-
version("1.19.5") { source sha256: "23d22bb6571bbd60197bee8aaa10e702f9802786c2e2ddce5c84527e86b66aa0" }
|
50
|
-
version("1.19.1") { source sha256: "b2828a2b05f0d2169afc74c11ed010775bf7cf0061822b275697b2f470495fb7" }
|
51
|
-
version("1.19") { source sha256: "df6509885f65f0d7a4eaf3dfbe7dda327569787e8a0a31cbf99ae3a6e23e9ea8" }
|
52
|
-
version("1.18.5") { source sha256: "828eeca8b5abea3e56921df8fa4b1101380a5ebcfee10acbc8ffe7ec0bf5876b" }
|
53
|
-
version("1.18.3") { source sha256: "d9dcf8fc35da54c6f259be41954783a9f4984945a855d03a003a7fd6ea4c5ca1" }
|
54
|
-
version("1.18.2") { source sha256: "1f5f539ce0baa8b65f196ee219abf73a7d9cf558ba9128cc0fe4833da18b04f2" }
|
55
|
-
version("1.18") { source sha256: "70bb4a066997535e346c8bfa3e0dfe250d61100b17ccc5676274642447834969" }
|
56
|
-
version("1.17.7") { source sha256: "7c3d9cc70ee592515d92a44385c0cba5503fd0a9950f78d76a4587916c67a84d" }
|
57
|
-
version("1.17.6") { source sha256: "874bc6f95e07697380069a394a21e05576a18d60f4ba178646e1ebed8f8b1f89" }
|
58
|
-
version("1.17.5") { source sha256: "2db6a5d25815b56072465a2cacc8ed426c18f1d5fc26c1fc8c4f5a7188658264" }
|
59
|
-
version("1.17.2") { source sha256: "7914497a302a132a465d33f5ee044ce05568bacdb390ab805cb75a3435a23f94" }
|
60
|
-
version("1.17") { source sha256: "355bd544ce08d7d484d9d7de05a71b5c6f5bc10aa4b316688c2192aeb3dacfd1" }
|
61
|
-
version("1.16.3") { source sha256: "6bb1cf421f8abc2a9a4e39140b7397cdae6aca3e8d36dcff39a1a77f4f1170ac" }
|
62
|
-
|
63
|
-
elsif armhf?
|
64
|
-
platform = "armv6l"
|
65
|
-
# version_list: url=https://golang.org/dl/ filter=*.linux-armv6l.tar.gz
|
66
|
-
version("1.19.5") { source sha256: "ec14f04bdaf4a62bdcf8b55b9b6434cc27c2df7d214d0bb7076a7597283b026a" }
|
67
|
-
version("1.19.1") { source sha256: "efe93f5671621ee84ce5e262e1e21acbc72acefbaba360f21778abd083d4ad16" }
|
68
|
-
version("1.19") { source sha256: "25197c7d70c6bf2b34d7d7c29a2ff92ba1c393f0fb395218f1147aac2948fb93" }
|
69
|
-
version("1.18.5") { source sha256: "d5ac34ac5f060a5274319aa04b7b11e41b123bd7887d64efb5f44ead236957af" }
|
70
|
-
version("1.18.3") { source sha256: "b8f0b5db24114388d5dcba7ca0698510ea05228b0402fcbeb0881f74ae9cb83b" }
|
71
|
-
version("1.18.2") { source sha256: "570dc8df875b274981eaeabe228d0774985de42e533ffc8c7ff0c9a55174f697" }
|
72
|
-
version("1.17.7") { source sha256: "874774f078b182fa21ffcb3878467eb5cb7e78bbffa6343ea5f0fbe47983433b" }
|
73
|
-
version("1.17.6") { source sha256: "9ac723e6b41cb7c3651099a09332a8a778b69aa63a5e6baaa47caf0d818e2d6d" }
|
74
|
-
version("1.17.5") { source sha256: "aa1fb6c53b4fe72f159333362a10aca37ae938bde8adc9c6eaf2a8e87d1e47de" }
|
75
|
-
version("1.17.2") { source sha256: "04d16105008230a9763005be05606f7eb1c683a3dbf0fbfed4034b23889cb7f2" }
|
76
|
-
version("1.17") { source sha256: "ae89d33f4e4acc222bdb04331933d5ece4ae71039812f6ccd7493cb3e8ddfb4e" }
|
77
|
-
version("1.16.3") { source sha256: "0dae30385e3564a557dac7f12a63eedc73543e6da0f6017990e214ce8cc8797c" }
|
78
|
-
elsif arm?
|
79
|
-
platform = "arm64"
|
80
|
-
# version_list: url=https://golang.org/dl/ filter=*.linux-arm64.tar.gz
|
81
|
-
version("1.19.5") { source sha256: "fc0aa29c933cec8d76f5435d859aaf42249aa08c74eb2d154689ae44c08d23b3" }
|
82
|
-
version("1.19.1") { source sha256: "49960821948b9c6b14041430890eccee58c76b52e2dbaafce971c3c38d43df9f" }
|
83
|
-
version("1.19") { source sha256: "efa97fac9574fc6ef6c9ff3e3758fb85f1439b046573bf434cccb5e012bd00c8" }
|
84
|
-
version("1.18.5") { source sha256: "006f6622718212363fa1ff004a6ab4d87bbbe772ec5631bab7cac10be346e4f1" }
|
85
|
-
version("1.18.3") { source sha256: "beacbe1441bee4d7978b900136d1d6a71d150f0a9bb77e9d50c822065623a35a" }
|
86
|
-
version("1.18.2") { source sha256: "fc4ad28d0501eaa9c9d6190de3888c9d44d8b5fb02183ce4ae93713f67b8a35b" }
|
87
|
-
version("1.17.7") { source sha256: "a5aa1ed17d45ee1d58b4a4099b12f8942acbd1dd09b2e9a6abb1c4898043c5f5" }
|
88
|
-
version("1.17.6") { source sha256: "82c1a033cce9bc1b47073fd6285233133040f0378439f3c4659fe77cc534622a" }
|
89
|
-
version("1.17.5") { source sha256: "6f95ce3da40d9ce1355e48f31f4eb6508382415ca4d7413b1e7a3314e6430e7e" }
|
90
|
-
version("1.17.2") { source sha256: "a5a43c9cdabdb9f371d56951b14290eba8ce2f9b0db48fb5fc657943984fd4fc" }
|
91
|
-
version("1.17") { source sha256: "01a9af009ada22122d3fcb9816049c1d21842524b38ef5d5a0e2ee4b26d7c3e7" }
|
92
|
-
version("1.16.3") { source sha256: "566b1d6f17d2bc4ad5f81486f0df44f3088c3ed47a3bec4099d8ed9939e90d5d" }
|
93
|
-
else
|
94
|
-
# version_list: url=https://golang.org/dl/ filter=*.linux-amd64.tar.gz
|
95
|
-
version("1.19.5") { source sha256: "36519702ae2fd573c9869461990ae550c8c0d955cd28d2827a6b159fda81ff95" }
|
96
|
-
version("1.19.1") { source sha256: "acc512fbab4f716a8f97a8b3fbaa9ddd39606a28be6c2515ef7c6c6311acffde" }
|
97
|
-
version("1.19") { source sha256: "464b6b66591f6cf055bc5df90a9750bf5fbc9d038722bb84a9d56a2bea974be6" }
|
98
|
-
version("1.18.5") { source sha256: "9e5de37f9c49942c601b191ac5fba404b868bfc21d446d6960acc12283d6e5f2" }
|
99
|
-
version("1.18.3") { source sha256: "956f8507b302ab0bb747613695cdae10af99bbd39a90cae522b7c0302cc27245" }
|
100
|
-
version("1.18.2") { source sha256: "e54bec97a1a5d230fc2f9ad0880fcbabb5888f30ed9666eca4a91c5a32e86cbc" }
|
101
|
-
version("1.18") { source sha256: "e85278e98f57cdb150fe8409e6e5df5343ecb13cebf03a5d5ff12bd55a80264f" }
|
102
|
-
version("1.17.7") { source sha256: "02b111284bedbfa35a7e5b74a06082d18632eff824fd144312f6063943d49259" }
|
103
|
-
version("1.17.6") { source sha256: "231654bbf2dab3d86c1619ce799e77b03d96f9b50770297c8f4dff8836fc8ca2" }
|
104
|
-
version("1.17.5") { source sha256: "bd78114b0d441b029c8fe0341f4910370925a4d270a6a590668840675b0c653e" }
|
105
|
-
version("1.17.2") { source sha256: "f242a9db6a0ad1846de7b6d94d507915d14062660616a61ef7c808a76e4f1676" }
|
106
|
-
version("1.17") { source sha256: "6bf89fc4f5ad763871cf7eac80a2d594492de7a818303283f1366a7f6a30372d" }
|
107
|
-
version("1.16.3") { source sha256: "951a3c7c6ce4e56ad883f97d9db74d3d6d80d5fec77455c6ada6c1f7ac4776d2" }
|
108
|
-
end
|
109
|
-
|
110
|
-
source url: "https://dl.google.com/go/go#{version}.%{platform}-%{arch}.%{ext}" % { platform: platform, arch: arch, ext: ext }
|
111
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.%{platform}-%{arch}.%{ext}",
|
112
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
113
|
-
|
114
|
-
build do
|
115
|
-
# We do not use 'sync' since we've found multiple errors with other software definitions
|
116
|
-
mkdir "#{install_dir}/embedded/go"
|
117
|
-
copy "#{project_dir}/go/*", "#{install_dir}/embedded/go"
|
118
|
-
|
119
|
-
mkdir "#{install_dir}/embedded/bin"
|
120
|
-
%w{go gofmt}.each do |bin|
|
121
|
-
link "#{install_dir}/embedded/go/bin/#{bin}", "#{install_dir}/embedded/bin/#{bin}"
|
122
|
-
end
|
123
|
-
end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 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
|
-
### NOTE ###
|
18
|
-
# We build this definition from source rather than installing from the
|
19
|
-
# gem so the native extension builds against the correct ruby rather than shipping
|
20
|
-
# a vendored library for each 2.x version of ruby, which is what is packaged
|
21
|
-
# with the gem.
|
22
|
-
|
23
|
-
name "google-protobuf"
|
24
|
-
default_version "v3.21.12"
|
25
|
-
|
26
|
-
dependency "ruby"
|
27
|
-
|
28
|
-
source git: "https://github.com/google/protobuf.git"
|
29
|
-
|
30
|
-
# versions_list: https://github.com/protocolbuffers/protobuf/tags filter=*.tar.gz
|
31
|
-
|
32
|
-
license :project_license
|
33
|
-
|
34
|
-
build do
|
35
|
-
mkdir "#{project_dir}/ruby/ext/google/protobuf_c/third_party/utf8_range"
|
36
|
-
copy "#{project_dir}/third_party/utf8_range/utf8_range.h", "#{project_dir}/ruby/ext/google/protobuf_c/third_party/utf8_range"
|
37
|
-
copy "#{project_dir}/third_party/utf8_range/naive.c", "#{project_dir}/ruby/ext/google/protobuf_c/third_party/utf8_range"
|
38
|
-
copy "#{project_dir}/third_party/utf8_range/range2-neon.c", "#{project_dir}/ruby/ext/google/protobuf_c/third_party/utf8_range"
|
39
|
-
copy "#{project_dir}/third_party/utf8_range/range2-sse.c", "#{project_dir}/ruby/ext/google/protobuf_c/third_party/utf8_range"
|
40
|
-
copy "#{project_dir}/third_party/utf8_range/LICENSE", "#{project_dir}/ruby/ext/google/protobuf_c/third_party/utf8_range"
|
41
|
-
|
42
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
43
|
-
gem "build google-protobuf.gemspec", env: env, cwd: "#{project_dir}/ruby"
|
44
|
-
gem "install google-protobuf-*.gem", env: env, cwd: "#{project_dir}/ruby"
|
45
|
-
end
|
data/config/software/gtar.rb
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2016-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
|
-
|
17
|
-
name "gtar"
|
18
|
-
default_version "1.34"
|
19
|
-
|
20
|
-
# version_list: url=https://ftp.gnu.org/gnu/tar/ filter=*.tar.gz
|
21
|
-
version("1.34") { source sha256: "03d908cf5768cfe6b7ad588c921c6ed21acabfb2b79b788d1330453507647aed" }
|
22
|
-
version("1.33") { source sha256: "7c77c427e8cce274d46a6325d45a55b08e13e2d2d0c9e6c0860a6d2b9589ff0e" }
|
23
|
-
version("1.32") { source sha256: "b59549594d91d84ee00c99cf2541a3330fed3a42c440503326dab767f2fbb96c" }
|
24
|
-
version("1.30") { source sha256: "4725cc2c2f5a274b12b39d1f78b3545ec9ebb06a6e48e8845e1995ac8513b088" }
|
25
|
-
version("1.29") { source sha256: "cae466e6e58c7292355e7080248f244db3a4cf755f33f4fa25ca7f9a7ed09af0" }
|
26
|
-
|
27
|
-
license "GPL-3.0"
|
28
|
-
license_file "COPYING"
|
29
|
-
|
30
|
-
source url: "https://ftp.gnu.org/gnu/tar/tar-#{version}.tar.gz"
|
31
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/tar-#{version}.tar.gz",
|
32
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
33
|
-
|
34
|
-
relative_path "tar-#{version}"
|
35
|
-
|
36
|
-
build do
|
37
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
38
|
-
|
39
|
-
configure_command = [
|
40
|
-
"./configure",
|
41
|
-
"FORCE_UNSAFE_CONFIGURE=1",
|
42
|
-
"--prefix=#{install_dir}/embedded",
|
43
|
-
]
|
44
|
-
|
45
|
-
# First off let's disable selinux support, as it causes issues on some platforms
|
46
|
-
# We're not doing it on every platform because this breaks on macOS
|
47
|
-
unless osx?
|
48
|
-
configure_command << " --without-selinux"
|
49
|
-
end
|
50
|
-
|
51
|
-
if s390x?
|
52
|
-
# s390x doesn't support posix acls
|
53
|
-
configure_command << " --without-posix-acls"
|
54
|
-
elsif aix? && version.satisfies?("< 1.32")
|
55
|
-
# xlc doesn't allow duplicate entries in case statements
|
56
|
-
patch_env = env.dup
|
57
|
-
patch_env["PATH"] = "/opt/freeware/bin:#{env["PATH"]}"
|
58
|
-
patch source: "aix_extra_case.patch", plevel: 0, env: patch_env
|
59
|
-
end
|
60
|
-
|
61
|
-
command configure_command.join(" "), env: env
|
62
|
-
make "-j #{workers}", env: env
|
63
|
-
make "-j #{workers} install", env: env
|
64
|
-
end
|
data/config/software/help2man.rb
DELETED
@@ -1,40 +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 "help2man"
|
19
|
-
default_version "1.40.5"
|
20
|
-
|
21
|
-
version "1.47.3" do
|
22
|
-
source url: "https://ftp.gnu.org/gnu/help2man/help2man-1.47.3.tar.xz",
|
23
|
-
md5: "d1d44a7a7b2bd61755a2045d96ecaea0"
|
24
|
-
end
|
25
|
-
|
26
|
-
version "1.40.5" do
|
27
|
-
source url: "https://ftp.gnu.org/gnu/help2man/help2man-1.40.5.tar.gz",
|
28
|
-
md5: "75a7d2f93765cd367aab98986a75f88c"
|
29
|
-
end
|
30
|
-
|
31
|
-
relative_path "help2man-1.40.5"
|
32
|
-
|
33
|
-
build do
|
34
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
35
|
-
|
36
|
-
command "./configure --prefix=#{install_dir}/embedded", env: env
|
37
|
-
|
38
|
-
make env: env
|
39
|
-
make "install", env: env
|
40
|
-
end
|
@@ -1,37 +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
|
-
# expeditor/ignore: deprecated 2021-04
|
17
|
-
|
18
|
-
name "highline-gem"
|
19
|
-
default_version "1.6.21"
|
20
|
-
|
21
|
-
license "Ruby"
|
22
|
-
license_file "https://raw.githubusercontent.com/JEG2/highline/master/LICENSE"
|
23
|
-
license_file "http://www.ruby-lang.org/en/LICENSE.txt"
|
24
|
-
# highline does not have any dependencies. We only install it from
|
25
|
-
# rubygems here.
|
26
|
-
skip_transitive_dependency_licensing true
|
27
|
-
|
28
|
-
dependency "ruby"
|
29
|
-
|
30
|
-
build do
|
31
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
32
|
-
|
33
|
-
gem "install highline" \
|
34
|
-
" --version '#{version}'" \
|
35
|
-
" --bindir '#{install_dir}/embedded/bin'" \
|
36
|
-
" --no-document", env: env
|
37
|
-
end
|
data/config/software/ibm-jre.rb
DELETED
@@ -1,59 +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 "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
|
data/config/software/inspec.rb
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright:: Copyright (c) Chef Software Inc.
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
#
|
16
|
-
# expeditor/ignore: no version pinning
|
17
|
-
|
18
|
-
name "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
|
@@ -1,67 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2013-2014 Chef Software, Inc.
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
#
|
16
|
-
|
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
|
@@ -1,68 +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 "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
|
@@ -1,74 +0,0 @@
|
|
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.2"
|
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.2") { source sha256: "ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3" }
|
30
|
-
version("3.6.1") { source sha256: "c676146577d989189940f1959d9e3980d28513d74eedfbc6b7f15ea45fe54ee2" }
|
31
|
-
version("3.6.0") { source sha256: "a36613695ffa2905fdedc997b6df04a3006ccfd71d747a339b78aa8412c3d852" }
|
32
|
-
version("3.5.2") { source sha256: "5f245bd5176bc5f67428eb0aa497e09979264a153a074d35416521a5b8e86189" }
|
33
|
-
version("3.5.1") { source sha256: "9015d109ec00bb9ae1a384b172bf2fc1dff41e2c66e5a9eeddf933af9db37f5a" }
|
34
|
-
version("3.5.0") { source sha256: "fc4bc301188376adc18780d35602454cc8df6396e1b040fbcbb0d4c0469faf54" }
|
35
|
-
|
36
|
-
source url: "https://github.com/libarchive/libarchive/releases/download/v#{version}/libarchive-#{version}.tar.gz"
|
37
|
-
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
38
|
-
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
39
|
-
|
40
|
-
relative_path "libarchive-#{version}"
|
41
|
-
|
42
|
-
dependency "config_guess"
|
43
|
-
dependency "libxml2"
|
44
|
-
dependency "bzip2"
|
45
|
-
dependency "zlib"
|
46
|
-
dependency "liblzma"
|
47
|
-
|
48
|
-
build do
|
49
|
-
env = with_standard_compiler_flags(with_embedded_path)
|
50
|
-
update_config_guess(target: "build/autoconf/")
|
51
|
-
|
52
|
-
configure_args = [
|
53
|
-
"--prefix=#{install_dir}/embedded",
|
54
|
-
"--without-lzo2",
|
55
|
-
"--without-nettle",
|
56
|
-
"--without-expat",
|
57
|
-
"--without-iconv",
|
58
|
-
"--disable-bsdtar", # tar command line tool
|
59
|
-
"--disable-bsdcpio", # cpio command line tool
|
60
|
-
"--disable-bsdcat", # cat w/ decompression command line tool
|
61
|
-
"--without-openssl",
|
62
|
-
"--without-zstd",
|
63
|
-
"--without-lz4",
|
64
|
-
]
|
65
|
-
|
66
|
-
if s390x?
|
67
|
-
configure_args << "--disable-xattr --disable-acl"
|
68
|
-
end
|
69
|
-
|
70
|
-
configure configure_args.join(" "), env: env
|
71
|
-
|
72
|
-
make "-j #{workers}", env: env
|
73
|
-
make "-j #{workers} install", env: env
|
74
|
-
end
|