Commit 98fe7be6 authored by satmandu's avatar satmandu Committed by GitHub

curl -> 7.75 (#5079)

* curl -> 7.75

* also removed libiconv dep

* Update curl.rb
parent 936f9fd0
...@@ -3,46 +3,47 @@ require 'package' ...@@ -3,46 +3,47 @@ require 'package'
class Curl < Package class Curl < Package
description 'Command line tool and library for transferring data with URLs.' description 'Command line tool and library for transferring data with URLs.'
homepage 'https://curl.se/' homepage 'https://curl.se/'
@_ver = "7.74.0" @_ver = '7.75.0'
version @_ver + '-2' version @_ver
compatibility 'all' compatibility 'all'
source_url "https://curl.se/download/curl-#{@_ver}.tar.xz" source_url "https://curl.se/download/curl-#{@_ver}.tar.xz"
source_sha256 '999d5f2c403cf6e25d58319fdd596611e455dd195208746bc6e6d197a77e878b' source_sha256 'fe0c49d8468249000bda75bcfdf9e30ff7e9a86d35f1a21f428d79c389d55675'
binary_url ({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.74.0-2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.74.0-2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.74.0-2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.74.0-2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.75.0-chromeos-x86_64.tar.xz'
}) })
binary_sha256 ({ binary_sha256({
aarch64: '48caa978643acd326ffdf3e3f4bc502d48c8aafc73b1e39e47d710174fad2145', aarch64: '6d0b932c52ecb2ca3dec9e6f713804d632e0744c243019c93fc92eabe5a01edd',
armv7l: '48caa978643acd326ffdf3e3f4bc502d48c8aafc73b1e39e47d710174fad2145', armv7l: '6d0b932c52ecb2ca3dec9e6f713804d632e0744c243019c93fc92eabe5a01edd',
i686: 'fed721a267a16a27df602b6116d0be04423bb58194d567dbf42727e6d61afdf2', i686: '8944cd73ecbc7cbda1a3afc18aafdea28486baad7b7664d6b16c3ccc23ca2c07',
x86_64: 'e8a8120132ce90acda8cc2b9f87c609dd4eca1851a8ef990b2d99eebf84372b1', x86_64: 'a511db565f40b830a623a173739d29a3c935ea2698ebb407b65a630d1e279b17'
}) })
depends_on 'groff' => :build depends_on 'groff' => :build
depends_on 'brotli' depends_on 'brotli'
depends_on 'c_ares' depends_on 'c_ares'
depends_on 'libiconv'
depends_on 'libidn2' depends_on 'libidn2'
depends_on 'libmetalink' depends_on 'libmetalink'
depends_on 'libnghttp2' depends_on 'libnghttp2'
depends_on 'libtirpc' depends_on 'libtirpc'
depends_on 'libunbound' depends_on 'libunbound'
depends_on 'openldap' depends_on 'openldap'
depends_on 'rtmpdump'
depends_on 'zstd' depends_on 'zstd'
depends_on 'rtmpdump'
def self.build def self.build
system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' \ raise StandardError, 'Please remove libiconv before building.' if File.exist?("#{CREW_LIB_PREFIX}/libcharset.so")
system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto'\
./configure #{CREW_OPTIONS} \ ./configure #{CREW_OPTIONS} \
--disable-maintainer-mode \ --disable-maintainer-mode \
--enable-ares \ --enable-ares \
--with-ldap-lib=#{CREW_LIB_PREFIX}/libldap.so \ --with-ldap-lib=ldap \
--with-lber-lib=#{CREW_LIB_PREFIX}/liblber.so" --with-lber-lib=lber \
--with-libmetalink"
system 'make' system 'make'
end end
...@@ -50,9 +51,9 @@ class Curl < Package ...@@ -50,9 +51,9 @@ class Curl < Package
# Python package impacket needed for testing. # Python package impacket needed for testing.
# 1094 tests out of 1097 reported OK: 99% on 10/25/2020 # 1094 tests out of 1097 reported OK: 99% on 10/25/2020
# The 3 tests that failed were FTP, SMB and GOPHER. # The 3 tests that failed were FTP, SMB and GOPHER.
#system 'pip install impacket' # system 'pip3 install impacket'
#system 'make', 'check' # system 'make check || true'
#system 'pip uninstall -y impacket' # system 'pip3 uninstall -y impacket'
end end
def self.install def self.install
......
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