Commit 44bf1bbd authored by Casey Strouse's avatar Casey Strouse Committed by GitHub

Merge pull request #4114 from uberhacker/update-curl-package

Update curl from 7.69.1 to 7.70.0
parents cd1ef188 9a251ae0
......@@ -3,21 +3,21 @@ require 'package'
class Curl < Package
description 'Command line tool and library for transferring data with URLs.'
homepage 'https://curl.haxx.se/'
version '7.69.1'
source_url 'https://curl.haxx.se/download/curl-7.69.1.tar.xz'
source_sha256 '03c7d5e6697f7b7e40ada1b2256e565a555657398e6c1fcfa4cb251ccd819d4f'
version '7.70.0'
source_url 'https://curl.haxx.se/download/curl-7.70.0.tar.xz'
source_sha256 '032f43f2674008c761af19bf536374128c16241fb234699a55f9fb603fcfbae7'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.69.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.69.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.69.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.69.1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.70.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.70.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.70.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.70.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '991776840afbdf259a7d0e2c04669cfdbc6732f99c1f967541ede6be8d4b3623',
armv7l: '991776840afbdf259a7d0e2c04669cfdbc6732f99c1f967541ede6be8d4b3623',
i686: '62ed095da0b4344ef7e6d73d474d76899a5d8c3c62b8b337159d2707e5b494b3',
x86_64: 'ad171822283ad474aa1235ce385541c66e08f299441d6e0d718b2272c5e56cbf',
aarch64: '267a2e42282fe8d75d2ea5f2b7a85d06a34b002a7f2ee6e5f473a1082bf6b79a',
armv7l: '267a2e42282fe8d75d2ea5f2b7a85d06a34b002a7f2ee6e5f473a1082bf6b79a',
i686: '9c1341459a7febb56423108c4a60f0d6c7ea0d616c96fc36b4fbc2e01fe8ff76',
x86_64: '8a66e93101ff728ef712d05080cfbb028a57f344fe7c4548c01efa2c6ef1d955',
})
depends_on 'groff' => :build
......@@ -31,20 +31,8 @@ class Curl < Package
def self.build
ENV['LIBRARY_PATH'] = CREW_LIB_PREFIX
ENV['TMPDIR'] = "#{CREW_PREFIX}/tmp"
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-dependency-tracking',
'--disable-maintainer-mode',
'--enable-libcurl-option',
'--with-libmetalink',
'--disable-static',
'--disable-debug',
'--with-libssh2',
'--with-nghttp2',
'--with-brotli',
'--enable-ldap',
'--with-ssl'
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"
system 'make'
end
......
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