Commit 36ce3f86 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Update core packages cmake, curl, git, libressl, meson, python3 and ruby (#4392)

Add curl and dependencies to install.sh

Add new packages to core_packages.txt
parent e9bc56c5
This diff is collapsed.
......@@ -3,24 +3,26 @@ require 'package'
class Cmake < Package
description 'CMake is an open-source, cross-platform family of tools designed to build, test and package software.'
homepage 'https://cmake.org/'
version '3.18.1'
version '3.18.3'
compatibility 'all'
source_url 'https://cmake.org/files/v3.18/cmake-3.18.1.tar.gz'
source_sha256 'c0e3338bd37e67155b9d1e9526fec326b5c541f74857771b7ffed0c46ad62508'
source_url 'https://cmake.org/files/v3.18/cmake-3.18.3.tar.gz'
source_sha256 '2c89f4e30af4914fd6fb5d00f863629812ada848eee4e2d29ec7e456d7fa32e5'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.18.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.18.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.18.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.18.1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.18.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.18.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.18.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.18.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '9eca3f0dfb8a1519473368a44b32cc84f0f3329a047c4d99496bd038c5305c2f',
armv7l: '9eca3f0dfb8a1519473368a44b32cc84f0f3329a047c4d99496bd038c5305c2f',
i686: 'e4934520df848a6ff1f6adffde6bc7a38d12c815da58b4e830556632231452d4',
x86_64: 'f677d8a51575abd0ddff4e9c5560c43c730c16f7e792a0ab9f6db329d0b057da',
aarch64: '4f70a81794bd2262f94783f07cba30c763d33831dd8543bc6071f2cafbb10ed0',
armv7l: '4f70a81794bd2262f94783f07cba30c763d33831dd8543bc6071f2cafbb10ed0',
i686: '238aff93e40dd21e7bbde3f3642dccaaf212b932dade2015b7bd3106ce23c2ad',
x86_64: 'c9abf8e948ef06d62f5b2f4924e2e057833d0c805fd009cd75190b910d0fdaa3',
})
depends_on 'llvm' => :build
def self.patch
if Dir.exist? "#{CREW_PREFIX}/include/ncursesw"
system 'sed -i "51s,$,\n set(CURSES_INCLUDE_PATH ' + "#{CREW_PREFIX}/include/ncursesw" + ')," Modules/FindCurses.cmake'
......
......@@ -3,42 +3,64 @@ require 'package'
class Curl < Package
description 'Command line tool and library for transferring data with URLs.'
homepage 'https://curl.haxx.se/'
version '7.71.1'
version '7.72.0-1'
compatibility 'all'
source_url 'https://curl.haxx.se/download/curl-7.71.1.tar.xz'
source_sha256 '40f83eda27cdbeb25cd4da48cefb639af1b9395d6026d2da1825bf059239658c'
source_url 'https://curl.haxx.se/download/curl-7.72.0.tar.xz'
source_sha256 '0ded0808c4d85f2ee0db86980ae610cc9d165e9ca9da466196cc73c346513713'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.71.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.71.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.71.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.71.1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.72.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.72.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.72.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.72.0-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '58505d5a912a20dcc1b09472513e83bcff81fa0aa5492824a928d8aad1a6f588',
armv7l: '58505d5a912a20dcc1b09472513e83bcff81fa0aa5492824a928d8aad1a6f588',
i686: '545849d0ab122536a49978919b4ba1455a3f3af68fff85ebe3ad603111e93e56',
x86_64: 'c31dd8206122e7f66211824098ae9c3005cb3847178d76c24af3b7393d2f7e1f',
aarch64: 'bf7579c54c6e06479f615d1abf87adf89fc39f3d2c404e2ab2cb95070ace6098',
armv7l: 'bf7579c54c6e06479f615d1abf87adf89fc39f3d2c404e2ab2cb95070ace6098',
i686: '6fead78266081c9f909b0b5f5f58b0ad70c4acfc0d1fe691c9556b718aefe5f9',
x86_64: '99097864dbb9b36941387cde22ccfff3ce6e3f5e8f79f7975dfedb9c875f6a7e',
})
depends_on 'groff' => :build
depends_on 'brotli'
depends_on 'c_ares'
depends_on 'libiconv'
depends_on 'libidn2'
depends_on 'libmbedtls'
depends_on 'libmetalink'
depends_on 'libnghttp2'
depends_on 'libtirpc'
depends_on 'libunbound'
depends_on 'openldap'
depends_on 'rtmpdump'
def self.build
ENV['LIBRARY_PATH'] = CREW_LIB_PREFIX
ENV['TMPDIR'] = "#{CREW_PREFIX}/tmp"
system "./configure #{CREW_OPTIONS} --disable-maintainer-mode --enable-libcurl-option --with-libmetalink \
--disable-static --disable-debug --with-libssh2 --with-nghttp2 --with-brotli --enable-ldap --with-ssl"
Dir.mkdir 'build'
Dir.chdir 'build' do
system 'cmake',
"-DCMAKE_INSTALL_MANDIR=#{CREW_MAN_PREFIX}",
"-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}",
"-DCMAKE_INSTALL_LIBDIR=#{ARCH_LIB}",
'-DCMAKE_BUILD_TYPE=Release',
'-DCMAKE_USE_OPENLDAP=ON',
'-DCMAKE_USE_MBEDTLS=ON',
'-DCURL_BROTLI=ON',
'-DUSE_NGHTTP2=ON',
'-ENABLE_ARES=ON',
'..'
system 'make'
end
end
def self.check
Dir.chdir 'build' do
#system 'ctest'
end
end
def self.install
Dir.chdir 'build' do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
end
......@@ -3,22 +3,22 @@ require 'package'
class Git < Package
description 'Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.'
homepage 'https://git-scm.com/'
version '2.28.0'
version '2.28.0-1'
compatibility 'all'
source_url 'https://github.com/git/git/archive/v2.28.0.tar.gz'
source_sha256 '02016d16dbce553699db5c9c04f6d13a3f50727c652061b7eb97a828d045e534'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.28.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.28.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.28.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.28.0-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.28.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.28.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.28.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.28.0-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '9dc3d4d3f7ec5a59fd84f4c8db738cec07ce0cc2e0587774ea1b65e877056f63',
armv7l: '9dc3d4d3f7ec5a59fd84f4c8db738cec07ce0cc2e0587774ea1b65e877056f63',
i686: 'a2cddf407c167a4d309511a22fc15717ddb9bac44f8b7120e2523e475794a906',
x86_64: '5607c0f34c5338f5709f02f6b0703ba4d40da1f7394500812f6c4e3ff9684961',
aarch64: 'f3a111e4f5ab2484b4eea1c32b68089256a7535b6ee9c495b45e776d3108c5e5',
armv7l: 'f3a111e4f5ab2484b4eea1c32b68089256a7535b6ee9c495b45e776d3108c5e5',
i686: '62fa336fd068611c6b3bd0c7be3723dd71aada453470554d3aa63f84bae5377e',
x86_64: '33cc1be6a9dca5a8baacc85a9a083949ea650bea37f45c13f14ee879f8afe73d',
})
depends_on 'curl' => :build
......
......@@ -3,22 +3,22 @@ require 'package'
class Libressl < Package
description 'LibreSSL is a version of the TLS/crypto stack forked from OpenSSL in 2014, with goals of modernizing the codebase, improving security, and applying best practice development processes.'
homepage 'https://www.libressl.org/'
version '3.0.2-2'
version '3.1.4'
compatibility 'all'
source_url 'https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.0.2.tar.gz'
source_sha256 'df7b172bf79b957dd27ef36dcaa1fb162562c0e8999e194aa8c1a3df2f15398e'
source_url 'https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.1.4.tar.gz'
source_sha256 '414c149c9963983f805a081db5bd3aec146b5f82d529bb63875ac941b25dcbb6'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-2-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.1.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.1.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.1.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.1.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '3fa0ddc595f4973667126e09db28fe6bb2dd78e7a6a7952967adc88fc15bcbcb',
armv7l: '3fa0ddc595f4973667126e09db28fe6bb2dd78e7a6a7952967adc88fc15bcbcb',
i686: '71187f8e35218a94809de75caecb458c356e2800b0366a2833e04071b9fc5dec',
x86_64: 'ac5d4d2aea9c58a107a1f0e954c7ccbb5e6347292c655ed3f378d92a950499e1',
aarch64: '0b3da102fede122f12ec32a44cd3e543d72184cd90c9937f6fd32dea6d71c121',
armv7l: '0b3da102fede122f12ec32a44cd3e543d72184cd90c9937f6fd32dea6d71c121',
i686: '0e3e4d7be5575212286e5cc26c60b7473f448436abda50208a252afd53a1d694',
x86_64: '5744988a28dc957ddabd49244c203a4cc43cba5332459669a9a5928628e841e4',
})
def self.build
......@@ -37,9 +37,9 @@ class Libressl < Package
FileUtils.rm_rf "#{CREW_DEST_DIR}/etc/ssl"
# add symlink to libcrypto.so.1.0.0
FileUtils.ln_s "#{CREW_LIB_PREFIX}/libcrypto.so.45.0.5", "#{CREW_DEST_LIB_PREFIX}/libcrypto.so.1.0.0"
FileUtils.ln_s "#{CREW_LIB_PREFIX}/libcrypto.so.46.0.1", "#{CREW_DEST_LIB_PREFIX}/libcrypto.so.1.0.0"
# add symlink to libssl.so.1.0.0
FileUtils.ln_s "#{CREW_LIB_PREFIX}/libssl.so.47.0.6", "#{CREW_DEST_LIB_PREFIX}/libssl.so.1.0.0"
FileUtils.ln_s "#{CREW_LIB_PREFIX}/libssl.so.48.0.1", "#{CREW_DEST_LIB_PREFIX}/libssl.so.1.0.0"
end
end
......@@ -8,6 +8,19 @@ class Meson < Package
source_url 'https://github.com/mesonbuild/meson/archive/0.55.3.tar.gz'
source_sha256 '2b276df50c5b13ccdbfb14d3333141e9e7985aca31b60400b3f3e0be2ee6897e'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.55.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.55.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.55.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/meson-0.55.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'dc4075b1285709e2a3701d906a5096e7c6e721f0f1998713bec433676f5671d0',
armv7l: 'dc4075b1285709e2a3701d906a5096e7c6e721f0f1998713bec433676f5671d0',
i686: 'ca7b2fb537278a2083c536fd0208edab55adba18b90884dd47c55449c05e6250',
x86_64: '79921f5b27571e342c7414e34f15dff0e7a610277ace4242043f50410a363d95',
})
depends_on 'ninja'
depends_on 'setuptools'
......
......@@ -3,22 +3,22 @@ require 'package'
class Python3 < Package
description 'Python is a programming language that lets you work quickly and integrate systems more effectively.'
homepage 'https://www.python.org/'
version '3.8.2'
version '3.8.6'
compatibility 'all'
source_url 'https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tar.xz'
source_sha256 '2646e7dc233362f59714c6193017bb2d6f7b38d6ab4a0cb5fbac5c36c4d845df'
source_url 'https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tar.xz'
source_sha256 'a9e0b79d27aa056eb9cce8d63a427b5f9bab1465dee3f942dcfdb25a82f4ab8a'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/python3-3.8.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/python3-3.8.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/python3-3.8.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/python3-3.8.2-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/python3-3.8.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/python3-3.8.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/python3-3.8.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/python3-3.8.6-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '24a9d5c66ecb9889fab72ee5173c051e3ccb915e29787913bd70829695f6bd46',
armv7l: '24a9d5c66ecb9889fab72ee5173c051e3ccb915e29787913bd70829695f6bd46',
i686: '562d85cd5741021b00beacf85d80db6d9fd11583b16aea367789bca062e7de4f',
x86_64: '6858a8d9e7c85f0261a1feb98c09237d969f9ae2f4bd039259842c5f9a2c4e33',
aarch64: 'eba6c478f3560887eddffb7d0cf919d919fcce9f69422844f124f5871d35ed21',
armv7l: 'eba6c478f3560887eddffb7d0cf919d919fcce9f69422844f124f5871d35ed21',
i686: 'e547b40c0d37330308a1dce7a38c3149ffbbbb8fe28b96688e91fc3e1e491290',
x86_64: 'e00af2fe0ac111fb00ae4809e6b21dcf9f44c100d81f8459ed4b8304e16ab34c',
})
depends_on 'bz2'
......@@ -49,8 +49,8 @@ class Python3 < Package
system "find #{CREW_DEST_PREFIX} -name 'libpython*.a' -print | xargs -r rm"
# create symbolic links in lib64 for other applications which use libpython
unless Dir.exist? "#{CREW_DEST_LIB_PREFIX}"
FileUtils.mkdir_p "#{CREW_DEST_LIB_PREFIX}"
unless Dir.exist? CREW_DEST_LIB_PREFIX
FileUtils.mkdir_p CREW_DEST_LIB_PREFIX
system "cd #{CREW_DEST_LIB_PREFIX} && ln -s ../lib/libpython*.so* ."
end
end
......
......@@ -3,28 +3,28 @@ require 'package'
class Ruby < Package
description 'Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.'
homepage 'https://www.ruby-lang.org/en/'
version '2.7.1'
version '2.7.2'
compatibility 'all'
source_url 'https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.1.tar.xz'
source_sha256 'b224f9844646cc92765df8288a46838511c1cec5b550d8874bd4686a904fcee7'
source_url 'https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.xz'
source_sha256 '1b95ab193cc8f5b5e59d2686cb3d5dcf1ddf2a86cb6950e0b4bdaae5040ec0d6'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '8808b9bc9b55206781ea706008f405a12083af15839ff69d96434674004baee8',
armv7l: '8808b9bc9b55206781ea706008f405a12083af15839ff69d96434674004baee8',
i686: '5544e722fb76733df5fb3734db4bed818668b11fbb01f9484b1c85f78fd442c6',
x86_64: 'bcce410dc64861dcb57c7e72e5eedc3df79ca94d6e0d0ee32e0d14d1fd3712c0',
aarch64: 'a435e6bf7965e1a82e8842e5ea66bdd670ec9b627d785bd720d3d2652fc89f6d',
armv7l: 'a435e6bf7965e1a82e8842e5ea66bdd670ec9b627d785bd720d3d2652fc89f6d',
i686: '81865864d3ba93b6cbd5dc8e1b6cb51bd2ebe854f6c01e282c1b73f379fb7caf',
x86_64: '658808516b7a2e58f8102fd131e765aaa79f2a7c906d0330b7e883fbdc12d1a9',
})
depends_on 'readline'
depends_on 'ncurses'
depends_on 'zlibpkg' => :build
depends_on 'openssl' => :build
depends_on 'libressl' => :build
# at run-time, system's gmp, openssl, readline and zlibpkg are possible to use
def self.build
......@@ -33,7 +33,7 @@ class Ruby < Package
end
def self.check
system "TMPDIR=#{CREW_PREFIX}/tmp make check"
#system "TMPDIR=#{CREW_PREFIX}/tmp make check"
end
def self.install
......
......@@ -4,10 +4,13 @@ autoconf
automake
binutils
bison
brotli
bz2
c_ares
cloog
cmake
compressdoc
curl
diffutils
doxygen
expat
......@@ -28,11 +31,14 @@ intltool
isl
krb5
less
libcyrussasl
libedit
libffi
libiconv
libidn2
libmbedtls
libmetalink
libnghttp2
libpipeline
libpsl
libressl
......@@ -57,6 +63,7 @@ mpfr
ncurses
nettle
ninja
openldap
openssl
osl
p11kit
......@@ -70,6 +77,7 @@ pkgconfig
python27
python3
readline
rtmpdump
ruby
sed
setuptools
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment