Commit 7f1ae24c authored by Ed Reel's avatar Ed Reel Committed by GitHub

Update curl, git, libiconv, libressl and rtmpdump packages (#4532)

Add pre-built binaries

Update install.sh

Remove absolute path from curl in crew
parent 983b1822
......@@ -496,9 +496,9 @@ def download
end
Dir.chdir CREW_BREW_DIR do
if @opt_verbose then
system('/usr/bin/curl', '-v', '--retry', '3', '--progress-bar', '-C', '-', '--insecure', '-L', '-#', url, '-o', filename)
system('curl', '-v', '--retry', '3', '--progress-bar', '-C', '-', '--insecure', '-L', '-#', url, '-o', filename)
else
system('/usr/bin/curl', '--retry', '3', '--progress-bar', '-C', '-', '--insecure', '-L', '-#', url, '-o', filename)
system('curl', '--retry', '3', '--progress-bar', '-C', '-', '--insecure', '-L', '-#', url, '-o', filename)
end
abort 'Checksum mismatch. :/ Try again.'.lightred unless
Digest::SHA256.hexdigest( File.read("./#{filename}") ) == sha256sum
......
This diff is collapsed.
......@@ -3,22 +3,22 @@ require 'package'
class Curl < Package
description 'Command line tool and library for transferring data with URLs.'
homepage 'https://curl.haxx.se/'
version '7.72.0-1'
version '7.73.0'
compatibility 'all'
source_url 'https://curl.haxx.se/download/curl-7.72.0.tar.xz'
source_sha256 '0ded0808c4d85f2ee0db86980ae610cc9d165e9ca9da466196cc73c346513713'
source_url 'https://curl.haxx.se/download/curl-7.73.0.tar.xz'
source_sha256 '7c4c7ca4ea88abe00fea4740dcf81075c031b1d0bb23aff2d5efde20a3c2408a'
binary_url ({
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',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.73.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.73.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.73.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.73.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'bf7579c54c6e06479f615d1abf87adf89fc39f3d2c404e2ab2cb95070ace6098',
armv7l: 'bf7579c54c6e06479f615d1abf87adf89fc39f3d2c404e2ab2cb95070ace6098',
i686: '6fead78266081c9f909b0b5f5f58b0ad70c4acfc0d1fe691c9556b718aefe5f9',
x86_64: '99097864dbb9b36941387cde22ccfff3ce6e3f5e8f79f7975dfedb9c875f6a7e',
aarch64: '0f75d8a211f66cf27c0f9bfe35b10761f21c6f6d71665d10d5511c1c72017c58',
armv7l: '0f75d8a211f66cf27c0f9bfe35b10761f21c6f6d71665d10d5511c1c72017c58',
i686: '3109622744ec710f5f7d37678f108f382f481a7297fbecc01902fb5933a0cfa1',
x86_64: 'ab8fc3bdc5f2495067b979105b21fc684952beb463a356051fb5736d70f5e1da',
})
depends_on 'groff' => :build
......@@ -33,34 +33,23 @@ class Curl < Package
depends_on 'libunbound'
depends_on 'openldap'
depends_on 'rtmpdump'
depends_on 'zstd'
def self.build
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
system "./configure #{CREW_OPTIONS} --disable-maintainer-mode --enable-ares --with-ldap-lib=#{CREW_LIB_PREFIX}/libldap.so --with-lber-lib=#{CREW_LIB_PREFIX}/liblber.so"
system 'make'
end
def self.check
Dir.chdir 'build' do
#system 'ctest'
end
# Python package impacket needed for testing.
# 1094 tests out of 1097 reported OK: 99% on 10/25/2020
# The 3 tests that failed were FTP, SMB and GOPHER.
#system 'pip install impacket'
#system 'make', 'check'
#system 'pip uninstall -y impacket'
end
def self.install
Dir.chdir 'build' do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
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-1'
version '2.29.1'
compatibility 'all'
source_url 'https://github.com/git/git/archive/v2.28.0.tar.gz'
source_sha256 '02016d16dbce553699db5c9c04f6d13a3f50727c652061b7eb97a828d045e534'
source_url 'https://github.com/git/git/archive/v2.29.1.tar.gz'
source_sha256 'ba2c36747abd2f07ed8ba61481cbb2290188f7a784d5d6ba2a052b56b139dd9f'
binary_url ({
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',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.29.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.29.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.29.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/git-2.29.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'f3a111e4f5ab2484b4eea1c32b68089256a7535b6ee9c495b45e776d3108c5e5',
armv7l: 'f3a111e4f5ab2484b4eea1c32b68089256a7535b6ee9c495b45e776d3108c5e5',
i686: '62fa336fd068611c6b3bd0c7be3723dd71aada453470554d3aa63f84bae5377e',
x86_64: '33cc1be6a9dca5a8baacc85a9a083949ea650bea37f45c13f14ee879f8afe73d',
aarch64: '34d1b4b333195d6aaf5856665dbd9a8b56152603e93fd85f36a1b9c69de8852a',
armv7l: '34d1b4b333195d6aaf5856665dbd9a8b56152603e93fd85f36a1b9c69de8852a',
i686: '0246035512a9cd81206672ccb996b97a1252050e9473340278c324988ca90b6d',
x86_64: 'b850298e9dbbbcc9777d8fff1c95bcf701f26124780fa9976c6dd4381bcc204a',
})
depends_on 'curl' => :build
......@@ -27,7 +27,7 @@ class Git < Package
def self.build
system 'autoreconf -i'
system "./configure --without-tcltk #{CREW_OPTIONS} --with-perl=#{CREW_PREFIX}/bin/perl --with-python=#{CREW_PREFIX}/bin/python3 \
system "./configure --with-openssl=#{CREW_PREFIX}/etc/ssl --without-tcltk #{CREW_OPTIONS} --with-perl=#{CREW_PREFIX}/bin/perl --with-python=#{CREW_PREFIX}/bin/python3 \
--with-gitconfig=#{CREW_PREFIX}/etc/gitconfig --with-gitattributes=#{CREW_PREFIX}/etc/gitattributes"
system 'make'
end
......
......@@ -3,22 +3,22 @@ require 'package'
class Libiconv < Package
description 'GNU charset conversion library for libc which does not implement it.'
homepage 'https://www.gnu.org/software/libiconv/'
version '1.16'
version '1.16-1'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/libiconv/libiconv-1.16.tar.gz'
source_sha256 'e6a1b1b589654277ee790cce3734f07876ac4ccfaecbee8afa0b649cf529cc04'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'daee13f0eef96fb2d65a06d129f702cacbf8c70747d7f0dd2d27a9df977372b7',
armv7l: 'daee13f0eef96fb2d65a06d129f702cacbf8c70747d7f0dd2d27a9df977372b7',
i686: 'a7afa407d80bc94038711a636f10cf9af7fae7fce5b68220f4d9c51eca44849e',
x86_64: 'cc29b28830c4bc496b2ef495e9dd43d96e596f879d02d7176222575bb83b5088',
aarch64: '6746c57dfa263dd4a4e32a3246f0ca97bee9c15075fd84f5dfbe4cf872ddcc2e',
armv7l: '6746c57dfa263dd4a4e32a3246f0ca97bee9c15075fd84f5dfbe4cf872ddcc2e',
i686: 'f43a3150b8427b719e0a810426490b84bd4c9b2c9dddc0141ac10b543029dbeb',
x86_64: '449564c5ca12cc7f78241c3d9df8476b0f449fdc3930f01f7c3a6506ae3eb1a2',
})
def self.build
......
......@@ -3,26 +3,26 @@ 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.1.4'
version '3.2.2'
compatibility 'all'
source_url 'https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.1.4.tar.gz'
source_sha256 '414c149c9963983f805a081db5bd3aec146b5f82d529bb63875ac941b25dcbb6'
source_url 'https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.2.2.tar.gz'
source_sha256 'a9d1e1d030b8bcc67bf6428b8c0fff14a5602e2236257b9e3d77acaf12e2a7a1'
binary_url ({
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',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.2.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.2.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.2.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.2.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '0b3da102fede122f12ec32a44cd3e543d72184cd90c9937f6fd32dea6d71c121',
armv7l: '0b3da102fede122f12ec32a44cd3e543d72184cd90c9937f6fd32dea6d71c121',
i686: '0e3e4d7be5575212286e5cc26c60b7473f448436abda50208a252afd53a1d694',
x86_64: '5744988a28dc957ddabd49244c203a4cc43cba5332459669a9a5928628e841e4',
aarch64: '36a493288d8d24cdb4c52866d37fcc47530417158717819443b4a087fd035d08',
armv7l: '36a493288d8d24cdb4c52866d37fcc47530417158717819443b4a087fd035d08',
i686: 'f900f8674e63a71e2206f8458d94c039e375af3be7027047818fd680fb78aa78',
x86_64: '2995523debedf84f763b79fb73b7958656c6d8e1a20628220e4b3d45b3dfa25a',
})
def self.build
system "./configure #{CREW_OPTIONS} --with-openssldir=/etc/ssl"
system "./configure #{CREW_OPTIONS} --with-openssldir=#{CREW_PREFIX}/etc/ssl"
system 'make'
end
......@@ -32,14 +32,5 @@ class Libressl < Package
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
# remove all files under /etc/ssl (use system's /etc/ssl as is)
FileUtils.rm_rf "#{CREW_DEST_DIR}/etc/ssl"
# add symlink to 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.48.0.1", "#{CREW_DEST_LIB_PREFIX}/libssl.so.1.0.0"
end
end
......@@ -3,22 +3,22 @@ require 'package'
class Rtmpdump < Package
description 'rtmpdump is a toolkit for RTMP streams.'
homepage 'https://rtmpdump.mplayerhq.hu/'
version 'c5f04a58'
version 'c5f04a58f'
compatibility 'all'
source_url 'https://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/c5f04a58fc2aeea6296ca7c44ee4734c18401aa3.tar.gz'
source_sha256 'fd8c21263d93fbde8bee8aa6c5f6a657789674bb0f9e74f050651504d5f43b46'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58f-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58f-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58f-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58f-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '31c1053a2ba5775de0ea099447af443bdcb8732a7851c581219c7bc9177cafe4',
armv7l: '31c1053a2ba5775de0ea099447af443bdcb8732a7851c581219c7bc9177cafe4',
i686: 'f21b4f9f4c3978db0bb4e0814993b7af076e04c6b86d6a3b5fa548f6fa0cf9e6',
x86_64: '74ec242f369bdf542f725a7675a11be49d8ee898f6f2b963b406b4004d45effe',
aarch64: '9e8f50f34f570d8bd6fb161fd96dc4c3384259e07eeebf03cc975b4eb9d21306',
armv7l: '9e8f50f34f570d8bd6fb161fd96dc4c3384259e07eeebf03cc975b4eb9d21306',
i686: '3f28349cce85d7cc73208f7bd921543baea29dd1994e068ecf3597119b761a18',
x86_64: '015f35c6556f9fa4100093e0cb44581ad0725a25391b301ce8972e5a090c8cec',
})
def self.build
......
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