omnibus-software 22.11.239 → 23.2.281
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.expeditor/config.yml +11 -0
- data/.expeditor/software_upload.pipeline.yml +13 -0
- data/CHANGELOG.md +10 -0
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/config/patches/bash/updated_race-condition.patch +15 -0
- data/config/patches/openssl/openssl-1.0.1j-windows-relocate-dll.patch +28 -4
- data/config/software/bash.rb +15 -6
- data/config/software/bzip2.rb +2 -0
- data/config/software/cacerts.rb +2 -0
- data/config/software/chef.rb +3 -2
- data/config/software/cmake.rb +6 -0
- data/config/software/curl.rb +3 -1
- data/config/software/erlang.rb +4 -6
- data/config/software/expat.rb +4 -1
- data/config/software/git-windows.rb +2 -0
- data/config/software/git.rb +5 -1
- data/config/software/go.rb +6 -1
- data/config/software/google-protobuf.rb +1 -1
- data/config/software/gtar.rb +2 -0
- data/config/software/libarchive.rb +4 -1
- data/config/software/libedit.rb +3 -0
- data/config/software/libffi.rb +4 -1
- data/config/software/libiconv.rb +2 -0
- data/config/software/libintl-perl.rb +1 -0
- data/config/software/liblzma.rb +5 -1
- data/config/software/libtool.rb +2 -0
- data/config/software/libxml2.rb +2 -0
- data/config/software/libxslt.rb +5 -1
- data/config/software/libyaml.rb +2 -0
- data/config/software/logrotate.rb +2 -1
- data/config/software/make.rb +4 -1
- data/config/software/makedepend.rb +4 -1
- data/config/software/mpc.rb +3 -1
- data/config/software/mpfr.rb +1 -0
- data/config/software/ncurses.rb +4 -1
- data/config/software/opensearch.rb +4 -1
- data/config/software/openssl-fips.rb +4 -0
- data/config/software/openssl.rb +4 -0
- data/config/software/patch.rb +2 -0
- data/config/software/pcre.rb +2 -0
- data/config/software/pkg-config-lite.rb +2 -0
- data/config/software/popt.rb +2 -1
- data/config/software/postgresql.rb +3 -4
- data/config/software/python.rb +3 -1
- data/config/software/redis.rb +2 -1
- data/config/software/ruby-msys2-devkit.rb +6 -0
- data/config/software/ruby.rb +2 -0
- data/config/software/sqitch.rb +2 -1
- data/config/software/stunnel.rb +6 -6
- data/config/software/util-macros.rb +2 -0
- data/config/software/xproto.rb +2 -1
- data/config/software/zlib.rb +4 -1
- data/scripts/internal_sources.rb +78 -0
- data/scripts/internal_sources.yml +413 -0
- data/test/generate_steps.rb +11 -1
- data/test/omnibus-build.sh +5 -0
- data/test/omnibus.rb +4 -0
- metadata +11 -6
data/config/software/make.rb
CHANGED
@@ -15,16 +15,19 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
name "make"
|
18
|
-
default_version "4.
|
18
|
+
default_version "4.4"
|
19
19
|
|
20
20
|
license "GPL-3.0"
|
21
21
|
license_file "COPYING"
|
22
22
|
|
23
23
|
# version_list: url=https://ftp.gnu.org/gnu/make/ filter=*.tar.gz
|
24
24
|
|
25
|
+
version("4.4") { source sha256: "581f4d4e872da74b3941c874215898a7d35802f03732bdccee1d4a7979105d18" }
|
25
26
|
version("4.3") { source sha256: "e05fdde47c5f7ca45cb697e973894ff4f5d79e13b750ed57d7b66d8defc78e19" }
|
26
27
|
|
27
28
|
source url: "https://ftp.gnu.org/gnu/make/make-#{version}.tar.gz"
|
29
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
30
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
28
31
|
|
29
32
|
relative_path "make-#{version}"
|
30
33
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
name "makedepend"
|
18
|
-
default_version "1.0.
|
18
|
+
default_version "1.0.8"
|
19
19
|
|
20
20
|
license "MIT"
|
21
21
|
license_file "COPYING"
|
@@ -23,10 +23,13 @@ skip_transitive_dependency_licensing true
|
|
23
23
|
|
24
24
|
# version_list: url=https://www.x.org/releases/individual/util/ Filter=makedepend-*.tar.gz
|
25
25
|
|
26
|
+
version("1.0.8") { source sha256: "275f0d2b196bfdc740aab9f02bb48cb7a97e4dfea011a7b468ed5648d0019e54" }
|
26
27
|
version("1.0.6") { source sha256: "845f6708fc850bf53f5b1d0fb4352c4feab3949f140b26f71b22faba354c3365" }
|
27
28
|
version("1.0.5") { source sha256: "503903d41fb5badb73cb70d7b3740c8b30fe1cc68c504d3b6a85e6644c4e5004" }
|
28
29
|
|
29
30
|
source url: "https://www.x.org/releases/individual/util/makedepend-#{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"]}"
|
30
33
|
|
31
34
|
relative_path "makedepend-#{version}"
|
32
35
|
|
data/config/software/mpc.rb
CHANGED
@@ -13,9 +13,10 @@
|
|
13
13
|
# See the License for the specific language governing permissions and
|
14
14
|
# limitations under the License.
|
15
15
|
#
|
16
|
+
# expeditor/ignore: deprecated 2022-12
|
16
17
|
|
17
18
|
name "mpc"
|
18
|
-
default_version "1.
|
19
|
+
default_version "1.3.1"
|
19
20
|
|
20
21
|
dependency "gmp"
|
21
22
|
dependency "mpfr"
|
@@ -25,6 +26,7 @@ license_file "COPYING.LESSER"
|
|
25
26
|
|
26
27
|
# version_list: url=https://ftp.gnu.org/gnu/mpc/ filter=*.tar.gz
|
27
28
|
|
29
|
+
version("1.3.1") { source sha256: "ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8" }
|
28
30
|
version("1.2.1") { source sha256: "17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459" }
|
29
31
|
version("1.1.0") { source sha256: "6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e" }
|
30
32
|
|
data/config/software/mpfr.rb
CHANGED
data/config/software/ncurses.rb
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
name "ncurses"
|
18
|
-
default_version "6.
|
18
|
+
default_version "6.4"
|
19
19
|
|
20
20
|
license "MIT"
|
21
21
|
license_file "http://invisible-island.net/ncurses/ncurses-license.html"
|
@@ -25,12 +25,15 @@ skip_transitive_dependency_licensing true
|
|
25
25
|
dependency "config_guess"
|
26
26
|
|
27
27
|
# versions_list: https://ftp.gnu.org/gnu/ncurses/ filter=*.tar.gz
|
28
|
+
version("6.4") { source sha256: "6931283d9ac87c5073f30b6290c4c75f21632bb4fc3603ac8100812bed248159" }
|
28
29
|
version("6.3") { source sha256: "97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059" }
|
29
30
|
version("6.2") { source sha256: "30306e0c76e0f9f1f0de987cf1c82a5c21e1ce6568b9227f7da5b71cbea86c9d" }
|
30
31
|
version("6.1") { source sha256: "aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17" }
|
31
32
|
version("5.9") { source sha256: "9046298fb440324c9d4135ecea7879ffed8546dd1b58e59430ea07a4633f563b" }
|
32
33
|
|
33
34
|
source url: "https://ftp.gnu.org/gnu/ncurses/ncurses-#{version}.tar.gz"
|
35
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
36
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
34
37
|
|
35
38
|
relative_path "ncurses-#{version}"
|
36
39
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
name "opensearch"
|
18
|
-
default_version "2.
|
18
|
+
default_version "2.4.1"
|
19
19
|
|
20
20
|
dependency "server-open-jre"
|
21
21
|
license "Apache-2.0"
|
@@ -26,6 +26,9 @@ source url: "https://artifacts.opensearch.org/releases/bundle/opensearch/#{versi
|
|
26
26
|
relative_path "opensearch-#{version}"
|
27
27
|
|
28
28
|
# versions_list:https://opensearch.org/docs/latest/version-history/
|
29
|
+
version("2.4.1") { source sha256: "f2b71818ad84cdab1b736211efbdd79d33835a92d46f66a237fa1182d012410d" }
|
30
|
+
version("2.4.0") { source sha256: "82bee5f68ea3d74a7d835d35f1479509b8497d01c1ae758a4737f5ea799e38e8" }
|
31
|
+
version("2.3.0") { source sha256: "696500b3126d2f2ad7216456cff1c58e8ea89402d76e0544a2e547549cf910ca" }
|
29
32
|
version("2.2.0") { source sha256: "4480c15682ddcd10cebb8a1103f4efafa789d7aee9d4c8c9201cd9864d5ed58c" }
|
30
33
|
version("2.1.0") { source sha256: "bccd737e0f4e4554d3918f011a1e379ebda9e53473c70b4264aa28ce719611e3" }
|
31
34
|
version("2.0.1") { source sha256: "8366dc71c839935330dbe841b415b37f28573de5ae7718e75f2e1c50756e0d99" }
|
@@ -26,10 +26,14 @@ skip_transitive_dependency_licensing true
|
|
26
26
|
# You are then supposed to manually verify the PGP signatures.
|
27
27
|
# When making an "official" build - make sure you go do that...
|
28
28
|
source url: "https://www.openssl.org/source/old/fips/openssl-fips-#{version}.tar.gz", extract: :lax_tar
|
29
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz", extract: :lax_tar,
|
30
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
29
31
|
|
30
32
|
version("2.0.16") {
|
31
33
|
source sha256: "a3cd13d0521d22dd939063d3b4a0d4ce24494374b91408a05bdaca8b681c63d4", \
|
32
34
|
url: "https://www.openssl.org/source/openssl-fips-#{version}.tar.gz", extract: :lax_tar
|
35
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz", extract: :lax_tar,
|
36
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
33
37
|
}
|
34
38
|
version("2.0.14") { source sha256: "8ea069ec39f9c49d85b9831b16daa29936b4527446998336cf93e575f07626c0" }
|
35
39
|
version("2.0.11") { source sha256: "a6532875956d357a05838ca2c9865b8eecac211543e4246512684b17acbbdfac" }
|
data/config/software/openssl.rb
CHANGED
@@ -37,11 +37,15 @@ end
|
|
37
37
|
# 1.0.2u was the last public release of 1.0.2. Subsequent releases come from a support contract with OpenSSL Software Services
|
38
38
|
if version.satisfies?("< 1.1.0")
|
39
39
|
source url: "https://s3.amazonaws.com/chef-releng/openssl/openssl-#{version}.tar.gz", extract: :lax_tar
|
40
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz", extract: :lax_tar,
|
41
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
40
42
|
else
|
41
43
|
# As of 2020-09-09 even openssl-1.0.0.tar.gz can be downloaded from /source/openssl-VERSION.tar.gz
|
42
44
|
# However, the latest releases are not in /source/old/VERSION/openssl-VERSION.tar.gz.
|
43
45
|
# Let's stick with the simpler one for now.
|
44
46
|
source url: "https://www.openssl.org/source/openssl-#{version}.tar.gz", extract: :lax_tar
|
47
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz", extract: :lax_tar,
|
48
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
45
49
|
end
|
46
50
|
|
47
51
|
version("3.0.5") { source sha256: "aa7d8d9bef71ad6525c55ba11e5f4397889ce49c2c9349dcea6d3e4f0b024a7a" }
|
data/config/software/patch.rb
CHANGED
@@ -31,6 +31,8 @@ version("2.7.5") { source sha256: "7436f5a19f93c3ca83153ce9c5cbe4847e97c5d956e57
|
|
31
31
|
version("2.7") { source sha256: "59c29f56faa0a924827e6a60c6accd6e2900eae5c6aaa922268c717f06a62048" }
|
32
32
|
|
33
33
|
source url: "https://ftp.gnu.org/gnu/patch/patch-#{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"]}"
|
34
36
|
|
35
37
|
relative_path "patch-#{version}"
|
36
38
|
|
data/config/software/pcre.rb
CHANGED
@@ -32,6 +32,8 @@ version("8.44") { source sha256: "aecafd4af3bd0f3935721af77b889d9024b2e01d96b584
|
|
32
32
|
version("8.38") { source sha256: "9883e419c336c63b0cb5202b09537c140966d585e4d0da66147dc513da13e629" }
|
33
33
|
|
34
34
|
source url: "https://downloads.sourceforge.net/project/pcre/pcre/#{version}/pcre-#{version}.tar.gz"
|
35
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
36
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
35
37
|
|
36
38
|
relative_path "pcre-#{version}"
|
37
39
|
|
@@ -28,6 +28,8 @@ dependency "config_guess"
|
|
28
28
|
version("0.28-1") { source sha256: "21b76ec4e115ee30f9b3077a2506e48e8b837332ed4d30c9776502e69c6a29e5" }
|
29
29
|
|
30
30
|
source url: "https://downloads.sourceforge.net/project/pkgconfiglite/#{version}/pkg-config-lite-#{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"]}"
|
31
33
|
|
32
34
|
relative_path "pkg-config-lite-#{version}"
|
33
35
|
|
data/config/software/popt.rb
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
name "popt"
|
18
|
-
default_version "1.
|
18
|
+
default_version "1.19"
|
19
19
|
|
20
20
|
license "MIT"
|
21
21
|
license_file "COPYING"
|
@@ -24,6 +24,7 @@ skip_transitive_dependency_licensing true
|
|
24
24
|
dependency "config_guess"
|
25
25
|
|
26
26
|
# versions_list: https://github.com/rpm-software-management/popt/releases filter=*.tar.gz
|
27
|
+
version("1.19") { source sha256: "c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9" }
|
27
28
|
version("1.18") { source sha256: "5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1" }
|
28
29
|
version("1.16") { source sha256: "e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8" }
|
29
30
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
name "postgresql"
|
18
|
-
default_version "
|
18
|
+
default_version "15.1"
|
19
19
|
|
20
20
|
license "PostgreSQL"
|
21
21
|
license_file "COPYRIGHT"
|
@@ -30,14 +30,13 @@ dependency "config_guess"
|
|
30
30
|
|
31
31
|
# version_list: url=https://ftp.postgresql.org/pub/source/v#{version}/ filter=*.tar.bz2
|
32
32
|
|
33
|
+
version("15.1") { source sha256: "64fdf23d734afad0dfe4077daca96ac51dcd697e68ae2d3d4ca6c45cb14e21ae" }
|
34
|
+
version("15.0") { source sha256: "72ec74f4a7c16e684f43ea42e215497fcd4c55d028a68fb72e99e61ff40da4d6" }
|
33
35
|
version("14.5") { source sha256: "d4f72cb5fb857c9a9f75ec8cf091a1771272802f2178f0b2e65b7b6ff64f4a30" }
|
34
36
|
version("14.4") { source sha256: "c23b6237c5231c791511bdc79098617d6852e9e3bdf360efd8b5d15a1a3d8f6a" }
|
35
37
|
version("14.3") { source sha256: "279057368bf59a919c05ada8f95c5e04abb43e74b9a2a69c3d46a20e07a9af38" }
|
36
38
|
version("14.2") { source sha256: "2cf78b2e468912f8101d695db5340cf313c2e9f68a612fb71427524e8c9a977a" }
|
37
39
|
version("14.1") { source sha256: "4d3c101ea7ae38982f06bdc73758b53727fb6402ecd9382006fa5ecc7c2ca41f" }
|
38
|
-
version("13.6") { source sha256: "bafc7fa3d9d4da8fe71b84c63ba8bdfe8092935c30c0aa85c24b2c08508f67fc" }
|
39
|
-
version("13.5") { source sha256: "9b81067a55edbaabc418aacef457dd8477642827499560b00615a6ea6c13f6b3" }
|
40
|
-
version("13.3") { source sha256: "3cd9454fa8c7a6255b6743b767700925ead1b9ab0d7a0f9dcb1151010f8eb4a1" }
|
41
40
|
|
42
41
|
# Version 12.x will EoL November 14, 2024
|
43
42
|
version("12.7") { source sha256: "8490741f47c88edc8b6624af009ce19fda4dc9b31c4469ce2551d84075d5d995" }
|
data/config/software/python.rb
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
name "python"
|
18
|
-
default_version "3.
|
18
|
+
default_version "3.11.1"
|
19
19
|
|
20
20
|
license "Python-2.0"
|
21
21
|
license_file "LICENSE"
|
@@ -32,6 +32,8 @@ end
|
|
32
32
|
|
33
33
|
# version_list: url=https://www.python.org/ftp/python/#{version}/ filter=*.tgz
|
34
34
|
|
35
|
+
version("3.11.1") { source sha256: "baed518e26b337d4d8105679caf68c5c32630d702614fc174e98cb95c46bdfa4" }
|
36
|
+
version("3.11.0") { source sha256: "64424e96e2457abbac899b90f9530985b51eef2905951febd935f0e73414caeb" }
|
35
37
|
version("3.10.5") { source sha256: "18f57182a2de3b0be76dfc39fdcfd28156bb6dd23e5f08696f7492e9e3d0bf2d" }
|
36
38
|
version("3.10.4") { source sha256: "f3bcc65b1d5f1dc78675c746c98fcee823c038168fc629c5935b044d0911ad28" }
|
37
39
|
version("3.10.2") { source sha256: "3c0ede893011319f9b0a56b44953a3d52c7abf9657c23fb4bc9ced93b86e9c97" }
|
data/config/software/redis.rb
CHANGED
@@ -21,8 +21,9 @@ license_file "COPYING"
|
|
21
21
|
skip_transitive_dependency_licensing true
|
22
22
|
|
23
23
|
dependency "config_guess"
|
24
|
-
default_version "7.0.
|
24
|
+
default_version "7.0.8"
|
25
25
|
|
26
|
+
version("7.0.8") { source sha256: "06a339e491306783dcf55b97f15a5dbcbdc01ccbde6dc23027c475cab735e914" }
|
26
27
|
version("7.0.4") { source sha256: "f0e65fda74c44a3dd4fa9d512d4d4d833dd0939c934e946a5c622a630d057f2f" }
|
27
28
|
version("7.0.2") { source sha256: "5e57eafe7d4ac5ecb6a7d64d6b61db775616dbf903293b3fcc660716dbda5eeb" }
|
28
29
|
version("7.0.0") { source sha256: "284d8bd1fd85d6a55a05ee4e7c31c31977ad56cbf344ed83790beeb148baa720" }
|
@@ -29,16 +29,22 @@ if windows_arch_i386?
|
|
29
29
|
version "3.0.3-1" do
|
30
30
|
source url: "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-#{version}/rubyinstaller-devkit-#{version}-x86.exe",
|
31
31
|
sha256: "4cf4d3522c33472354f3c1af998f1cff8371d4a9a5958067efaa04bb9147b2be"
|
32
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/rubyinstaller-devkit-#{version}-x86.exe",
|
33
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
32
34
|
end
|
33
35
|
else
|
34
36
|
version "3.0.3-1" do
|
35
37
|
source url: "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-#{version}/rubyinstaller-devkit-#{version}-x64.exe",
|
36
38
|
sha256: "be05e2de16d75088613cc998beb2938aa2946384884ed7f9142daec9a848d08c"
|
39
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/rubyinstaller-devkit-#{version}-x64.exe",
|
40
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
37
41
|
end
|
38
42
|
|
39
43
|
version "3.1.2-1" do
|
40
44
|
source url: "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-#{version}/rubyinstaller-devkit-#{version}-x64.exe",
|
41
45
|
sha256: "5f0fd4a206b164a627c46e619d2babbcafb0ed4bc3e409267b9a73b6c58bdec1"
|
46
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/rubyinstaller-devkit-#{version}-x64.exe",
|
47
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
42
48
|
end
|
43
49
|
end
|
44
50
|
|
data/config/software/ruby.rb
CHANGED
@@ -60,6 +60,8 @@ version("2.6.8") { source sha256: "1807b78577bc08596a390e8a41aede37b8512190
|
|
60
60
|
version("2.6.7") { source sha256: "e4227e8b7f65485ecb73397a83e0d09dcd39f25efd411c782b69424e55c7a99e" }
|
61
61
|
|
62
62
|
source url: "https://cache.ruby-lang.org/pub/ruby/#{version.match(/^(\d+\.\d+)/)[0]}/ruby-#{version}.tar.gz"
|
63
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
64
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
63
65
|
|
64
66
|
# In order to pass notarization we need to sign any binaries and libraries included in the package.
|
65
67
|
# This makes sure we include and bins and libs that are brought in by gems.
|
data/config/software/sqitch.rb
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
name "sqitch"
|
18
|
-
default_version "1.3.
|
18
|
+
default_version "1.3.1"
|
19
19
|
|
20
20
|
license "MIT"
|
21
21
|
license_file "https://raw.githubusercontent.com/theory/sqitch/master/README.md"
|
@@ -28,6 +28,7 @@ dependency "libintl-perl"
|
|
28
28
|
|
29
29
|
# version_list: url=https://github.com/theory/#{name}/releases/download/v#{version}/ filter=app-sqitch-*.tar.gz
|
30
30
|
|
31
|
+
version("1.3.1") { source sha256: "f5e768d298cd4047ee2ae42319782e8c2cda312737bcbdbfaf580bd47efe8b94" }
|
31
32
|
version("1.3.0") { source sha256: "7d07635ec77a7faf3c50281c76ec833c68702f14470996cb2203a8bc6abc5bf2" }
|
32
33
|
version("1.2.1") { source sha256: "020835a13429effd8fda12d5627604ecf99293775918f4f8ba9ccc5ed796e5e7" }
|
33
34
|
version("1.1.0") { source sha256: "ee146cd75d6300837e6ca559bb0bde247d42123c96b2c5d4b2800f38d3e3d1ab" }
|
data/config/software/stunnel.rb
CHANGED
@@ -26,12 +26,12 @@ dependency "openssl"
|
|
26
26
|
|
27
27
|
# version_list: url=https://www.stunnel.org/downloads/ filter=*.tar.gz
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
else
|
32
|
-
source url: "https://www.stunnel.org/downloads/stunnel-#{version}.tar.gz"
|
33
|
-
end
|
29
|
+
source url: "https://www.stunnel.org/archive/5.x/stunnel-#{version}.tar.gz"
|
30
|
+
|
34
31
|
relative_path "stunnel-#{version}"
|
32
|
+
|
33
|
+
version("5.67") { source sha256: "3086939ee6407516c59b0ba3fbf555338f9d52f459bcab6337c0f00e91ea8456" }
|
34
|
+
version("5.66") { source sha256: "558178704d1aa5f6883aac6cc5d6bbf2a5714c8a0d2e91da0392468cee9f579c" }
|
35
35
|
version("5.65") { source sha256: "60c500063bd1feff2877f5726e38278c086f96c178f03f09d264a2012d6bf7fc" }
|
36
36
|
version("5.64") { source sha256: "eebe53ed116ba43b2e786762b0c2b91511e7b74857ad4765824e7199e6faf883" }
|
37
37
|
version("5.63") { source sha256: "c74c4e15144a3ae34b8b890bb31c909207301490bd1e51bfaaa5ffeb0a994617" }
|
@@ -58,7 +58,7 @@ build do
|
|
58
58
|
env["WIN32_SSL_DIR_PATCHED"] = "#{install_dir}/embedded"
|
59
59
|
|
60
60
|
mingw = ENV["MSYSTEM"].downcase
|
61
|
-
target = (mingw == "mingw32" ? "mingw" :
|
61
|
+
target = (mingw == "mingw32" ? "mingw" : "mingw64")
|
62
62
|
# Starting omnibus-toolchain version 1.1.115 we do not build msys2 as a part of omnibus-toolchain anymore, but pre install it in image
|
63
63
|
# so here we set the path to default install of msys2 first and default to OMNIBUS_TOOLCHAIN_INSTALL_DIR for backward compatibility
|
64
64
|
msys_path = ENV["MSYS2_INSTALL_DIR"] ? "#{ENV["MSYS2_INSTALL_DIR"]}" : "#{ENV["OMNIBUS_TOOLCHAIN_INSTALL_DIR"]}/embedded/bin"
|
@@ -24,6 +24,8 @@ version("1.19.0") { source sha256: "0d4df51b29023daf2f63aebf3ebc638ea88efedfd560
|
|
24
24
|
version("1.18.0") { source sha256: "cf4ab0e17bfee0f7689cdcff8c7d7f164c9a710f851f91c488f5cd81fac9c0aa" }
|
25
25
|
|
26
26
|
source url: "https://www.x.org/releases/individual/util/util-macros-#{version}.tar.gz"
|
27
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
28
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
27
29
|
|
28
30
|
license "MIT"
|
29
31
|
license_file "COPYING"
|
data/config/software/xproto.rb
CHANGED
@@ -24,7 +24,8 @@ version("7.0.28") { source sha256: "6cabc8ce3fa2b1a2427871167b62c24d5b08a58bd3e8
|
|
24
24
|
version("7.0.25") { source sha256: "e3dc634103f923a2276289745eb7b702b18cfc885ea4b2382bd35a8cc3d935cb" }
|
25
25
|
|
26
26
|
source url: "https://www.x.org/releases/individual/proto/xproto-#{version}.tar.gz"
|
27
|
-
|
27
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
28
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
28
29
|
license "MIT"
|
29
30
|
license_file "COPYING"
|
30
31
|
skip_transitive_dependency_licensing true
|
data/config/software/zlib.rb
CHANGED
@@ -15,16 +15,19 @@
|
|
15
15
|
#
|
16
16
|
|
17
17
|
name "zlib"
|
18
|
-
default_version "1.2.
|
18
|
+
default_version "1.2.13"
|
19
19
|
|
20
20
|
# version_list: url=https://zlib.net/fossils/ filter=*.tar.gz
|
21
21
|
|
22
|
+
version("1.2.13") { source sha256: "b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30" }
|
22
23
|
version("1.2.12") { source sha256: "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9" }
|
23
24
|
version("1.2.11") { source sha256: "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1" }
|
24
25
|
version("1.2.8") { source sha256: "36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d" }
|
25
26
|
version("1.2.6") { source sha256: "21235e08552e6feba09ea5e8d750805b3391c62fb81c71a235c0044dc7a8a61b" }
|
26
27
|
|
27
28
|
source url: "https://zlib.net/fossils/zlib-#{version}.tar.gz"
|
29
|
+
internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.tar.gz",
|
30
|
+
authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
|
28
31
|
|
29
32
|
license "Zlib"
|
30
33
|
license_file "README"
|
@@ -0,0 +1,78 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require "net/http"
|
3
|
+
require "openssl"
|
4
|
+
require "tmpdir"
|
5
|
+
require "yaml"
|
6
|
+
|
7
|
+
ARTIFACTORY_REPO_URL = ENV["ARTIFACTORY_REPO_URL"] || "https://artifactory-internal.ps.chef.co/artifactory/omnibus-software-local"
|
8
|
+
ARTIFACTORY_TOKEN = ENV["ARTIFACTORY_TOKEN"]
|
9
|
+
|
10
|
+
def print_usage
|
11
|
+
puts "Must provide path to internal_sources.yml file."
|
12
|
+
puts "Usage: ./internal_sources.rb <file path> [only]"
|
13
|
+
puts ""
|
14
|
+
puts " <file path>: Path to an internal_sources.yml file."
|
15
|
+
puts " [only]: (Optional) Name of software to upload. Skips all others."
|
16
|
+
end
|
17
|
+
|
18
|
+
def validate_checksum!(response, source)
|
19
|
+
if source.key?("sha256")
|
20
|
+
response.header["x-checksum-sha256"] == source["sha256"]
|
21
|
+
elsif source.key?("md5")
|
22
|
+
response.header["x-checksum-md5"] == source["md5"]
|
23
|
+
elsif source.key?("sha1")
|
24
|
+
response.header["x-checksum-sha1"] == source["sha1"]
|
25
|
+
else
|
26
|
+
raise "Unknown checksum format supplied for '#{source["url"]}'"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def exists_in_artifactory?(name, source)
|
31
|
+
uri = URI(ARTIFACTORY_REPO_URL)
|
32
|
+
file_name = File.basename(source["url"])
|
33
|
+
dir_name = name
|
34
|
+
path = File.join(uri.path, dir_name, file_name)
|
35
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
36
|
+
http.use_ssl = true
|
37
|
+
response = http.head(path)
|
38
|
+
validate_checksum!(response, source)
|
39
|
+
end
|
40
|
+
|
41
|
+
def maybe_upload(name, source)
|
42
|
+
unless exists_in_artifactory?(name, source)
|
43
|
+
Dir.mktmpdir do |dir|
|
44
|
+
puts "Downloading #{name} from #{source["url"]}"
|
45
|
+
raise "Failed to download" unless system("wget -q -P #{dir} #{source["url"]}")
|
46
|
+
|
47
|
+
file_name = File.basename(source["url"])
|
48
|
+
downloaded_file = File.join(dir, file_name)
|
49
|
+
repo_url = File.join(ARTIFACTORY_REPO_URL, name, file_name)
|
50
|
+
puts "Uploading #{downloaded_file} to #{repo_url}"
|
51
|
+
raise "Failed to upload" unless system("curl -s -H 'X-JFrog-Art-Api:#{ARTIFACTORY_TOKEN}' -T '#{downloaded_file}' #{repo_url}")
|
52
|
+
|
53
|
+
puts ""
|
54
|
+
end
|
55
|
+
else
|
56
|
+
puts "#{File.basename(source["url"])} exists in artifactory already...skipping"
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
if ARGV.size < 1 || ARGV.size > 2
|
61
|
+
print_usage
|
62
|
+
exit(1)
|
63
|
+
end
|
64
|
+
|
65
|
+
file_path = ARGV[0]
|
66
|
+
only = ARGV[1]
|
67
|
+
|
68
|
+
unless File.exist?(file_path)
|
69
|
+
abort("File '#{file_path}' does not exist")
|
70
|
+
end
|
71
|
+
|
72
|
+
yaml = YAML.load_file file_path
|
73
|
+
yaml["software"].each do |software|
|
74
|
+
next if only && software["name"] != only
|
75
|
+
|
76
|
+
name = software["name"]
|
77
|
+
software["sources"].each { |source| maybe_upload(name, source) }
|
78
|
+
end
|