Commit dc82f56d authored by Ed Reel's avatar Ed Reel Committed by GitHub

Add symlink to libcrypto.so.1.0.0 in libressl package (#4189)

parent c0c44bf5
...@@ -50,8 +50,8 @@ case "${ARCH}" in ...@@ -50,8 +50,8 @@ case "${ARCH}" in
"aarch64") "aarch64")
urls+=('https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-armv7l.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-armv7l.tar.xz')
sha256s+=('fbd8a589befb3d10400af6e4975d02a6940bab4907628f8fc0d6913ea89f70ae') sha256s+=('fbd8a589befb3d10400af6e4975d02a6940bab4907628f8fc0d6913ea89f70ae')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-armv7l.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-1-chromeos-armv7l.tar.xz')
sha256s+=('42bcf153de5343a4c131424d4e09ca7f4f8e1749a0fc2e0f632f7992ba2351b3') sha256s+=('d75da64edc43b1a48013e175ecb0264c991ae89af0a830577318e44e1f76c9ab')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-armv7l.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-armv7l.tar.xz')
sha256s+=('8808b9bc9b55206781ea706008f405a12083af15839ff69d96434674004baee8') sha256s+=('8808b9bc9b55206781ea706008f405a12083af15839ff69d96434674004baee8')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-armv7l.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-armv7l.tar.xz')
...@@ -68,8 +68,8 @@ case "${ARCH}" in ...@@ -68,8 +68,8 @@ case "${ARCH}" in
fi fi
urls+=('https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-armv7l.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-armv7l.tar.xz')
sha256s+=('fbd8a589befb3d10400af6e4975d02a6940bab4907628f8fc0d6913ea89f70ae') sha256s+=('fbd8a589befb3d10400af6e4975d02a6940bab4907628f8fc0d6913ea89f70ae')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-armv7l.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-1-chromeos-armv7l.tar.xz')
sha256s+=('42bcf153de5343a4c131424d4e09ca7f4f8e1749a0fc2e0f632f7992ba2351b3') sha256s+=('d75da64edc43b1a48013e175ecb0264c991ae89af0a830577318e44e1f76c9ab')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-armv7l.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-armv7l.tar.xz')
sha256s+=('8808b9bc9b55206781ea706008f405a12083af15839ff69d96434674004baee8') sha256s+=('8808b9bc9b55206781ea706008f405a12083af15839ff69d96434674004baee8')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-armv7l.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-armv7l.tar.xz')
...@@ -82,8 +82,8 @@ case "${ARCH}" in ...@@ -82,8 +82,8 @@ case "${ARCH}" in
"i686") "i686")
urls+=('https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-i686.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-i686.tar.xz')
sha256s+=('4d625e92969fde16c1a92601740e22c07331f8056452edf7cf0bf2c1c88aa152') sha256s+=('4d625e92969fde16c1a92601740e22c07331f8056452edf7cf0bf2c1c88aa152')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-i686.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-1-chromeos-i686.tar.xz')
sha256s+=('f613572c9f9c91b79b09d008fa387ecb393be9b60d37f837ea6cdc74cdf9633b') sha256s+=('e60f92481e20edb9399eb0329c29f30036fd1d47806b5cdc51f56ed8eb43516b')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-i686.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-i686.tar.xz')
sha256s+=('5544e722fb76733df5fb3734db4bed818668b11fbb01f9484b1c85f78fd442c6') sha256s+=('5544e722fb76733df5fb3734db4bed818668b11fbb01f9484b1c85f78fd442c6')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-i686.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-i686.tar.xz')
...@@ -96,8 +96,8 @@ case "${ARCH}" in ...@@ -96,8 +96,8 @@ case "${ARCH}" in
"x86_64") "x86_64")
urls+=('https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-x86_64.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/gcc8-8.3.0-chromeos-x86_64.tar.xz')
sha256s+=('ae8c8c33e4090f7fdbd39b2364754dcfc5f6bdd9a74062fde3eeb6272562f48b') sha256s+=('ae8c8c33e4090f7fdbd39b2364754dcfc5f6bdd9a74062fde3eeb6272562f48b')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-x86_64.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-1-chromeos-x86_64.tar.xz')
sha256s+=('a2fce2036a54b1b3ca597d4fb3ee358c9fb7b3b54ea1e3a944fc7eb35a6f8e81') sha256s+=('fb489cd49f4d61616970c8a19767975bfd67c0828433d0cf7880646f2d723035')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-x86_64.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.7.1-chromeos-x86_64.tar.xz')
sha256s+=('bcce410dc64861dcb57c7e72e5eedc3df79ca94d6e0d0ee32e0d14d1fd3712c0') sha256s+=('bcce410dc64861dcb57c7e72e5eedc3df79ca94d6e0d0ee32e0d14d1fd3712c0')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-x86_64.tar.xz') urls+=('https://dl.bintray.com/chromebrew/chromebrew/libiconv-1.16-chromeos-x86_64.tar.xz')
......
...@@ -3,40 +3,40 @@ require 'package' ...@@ -3,40 +3,40 @@ require 'package'
class Libressl < 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.' 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/' homepage 'https://www.libressl.org/'
version '3.0.2' version '3.0.2-1'
compatibility 'all' compatibility 'all'
source_url 'https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.0.2.tar.gz' source_url 'https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.0.2.tar.gz'
source_sha256 'df7b172bf79b957dd27ef36dcaa1fb162562c0e8999e194aa8c1a3df2f15398e' source_sha256 'df7b172bf79b957dd27ef36dcaa1fb162562c0e8999e194aa8c1a3df2f15398e'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libressl-3.0.2-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '42bcf153de5343a4c131424d4e09ca7f4f8e1749a0fc2e0f632f7992ba2351b3', aarch64: 'd75da64edc43b1a48013e175ecb0264c991ae89af0a830577318e44e1f76c9ab',
armv7l: '42bcf153de5343a4c131424d4e09ca7f4f8e1749a0fc2e0f632f7992ba2351b3', armv7l: 'd75da64edc43b1a48013e175ecb0264c991ae89af0a830577318e44e1f76c9ab',
i686: 'f613572c9f9c91b79b09d008fa387ecb393be9b60d37f837ea6cdc74cdf9633b', i686: 'e60f92481e20edb9399eb0329c29f30036fd1d47806b5cdc51f56ed8eb43516b',
x86_64: 'a2fce2036a54b1b3ca597d4fb3ee358c9fb7b3b54ea1e3a944fc7eb35a6f8e81', x86_64: 'fb489cd49f4d61616970c8a19767975bfd67c0828433d0cf7880646f2d723035',
}) })
def self.build def self.build
system './configure', system "./configure #{CREW_OPTIONS} --with-openssldir=/etc/ssl"
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--with-openssldir=/etc/ssl'
system 'make' system 'make'
end end
def self.check
system 'make', 'check'
end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
# remove all files under /etc/ssl (use system's /etc/ssl as is) # remove all files under /etc/ssl (use system's /etc/ssl as is)
FileUtils.rm_rf "#{CREW_DEST_DIR}/etc/ssl" FileUtils.rm_rf "#{CREW_DEST_DIR}/etc/ssl"
end
def self.check # add symlink to libcrypto.so.1.0.0
system "make", "check" FileUtils.ln_s "#{CREW_LIB_PREFIX}/libcrypto.so.45.0.5", "#{CREW_DEST_LIB_PREFIX}/libcrypto.so.1.0.0"
end end
end 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