Commit 6db35049 authored by satmandu's avatar satmandu Committed by GitHub

bind => 9.17.11, libnghttp2 => 1.43.0 (#5499)

parent 18f6909a
......@@ -3,7 +3,7 @@ require 'package'
class Bind < Package
description 'BIND is open source software that enables you to publish your Domain Name System (DNS) information on the Internet, and to resolve DNS queries for your users.'
homepage 'https://www.isc.org/downloads/bind/'
@_ver = '9.17.10'
@_ver = '9.17.11'
version @_ver
license 'Apache-2.0, BSD, BSD-2, GPL-2, HPND, ISC and MPL-2.0'
compatibility 'all'
......@@ -11,20 +11,20 @@ class Bind < Package
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.10-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.10-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.10-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.10-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.11-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.11-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.11-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.11-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '0655729fa11a71e11da25627a813aabb4110a1e8b694d0ac711adcdec7bf19c9',
armv7l: '0655729fa11a71e11da25627a813aabb4110a1e8b694d0ac711adcdec7bf19c9',
i686: '0fc34d77bd997d9b771ef9309f6a62a61cebbd4878889a383790e57f4b8fd0b4',
x86_64: '052251db56246ff7701b00ad91e868b602e400bf1cba2001fff96026f2fc493a'
aarch64: '732a27d1c4061ac070d159583b1b76068980799a3021999d39e11a6da79d6e84',
armv7l: '732a27d1c4061ac070d159583b1b76068980799a3021999d39e11a6da79d6e84',
i686: '7541e71a39abf95c510d78522e033637b8918fc1bbcb0880149a60d0b6b6cd39',
x86_64: '4f075b386135f94a2508aa13e005033454662c608f23923b9e2f58bad7329377'
})
depends_on 'jsonc'
depends_on 'libcap'
depends_on 'libseccomp'
depends_on 'libuv'
def self.build
......@@ -34,6 +34,7 @@ class Bind < Package
Dir.chdir 'bind9' do
system 'pip3 install ply==3.11'
system 'autoreconf -fi'
system 'filefix'
system "env CFLAGS='-DDIG_SIGCHASE -flto=auto' \
CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
......
......@@ -3,34 +3,40 @@ require 'package'
class Libnghttp2 < Package
description 'library implementing HTTP/2 protocol'
homepage 'https://nghttp2.org/'
version '1.38.0'
version '1.43.0'
license 'MIT'
compatibility 'all'
source_url 'https://github.com/nghttp2/nghttp2/releases/download/v1.38.0/nghttp2-1.38.0.tar.xz'
source_sha256 'ef75c761858241c6b4372fa6397aa0481a984b84b7b07c4ec7dc2d7b9eee87f8'
source_url "https://github.com/nghttp2/nghttp2/releases/download/v#{version}/nghttp2-#{version}.tar.bz2"
source_sha256 '556f24653397c71ebb8270b3c5e5507f0893e6eac2c6eeda6be2ecf6e1f50f62'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libnghttp2-1.38.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libnghttp2-1.38.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libnghttp2-1.38.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libnghttp2-1.38.0-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libnghttp2-1.43.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libnghttp2-1.43.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libnghttp2-1.43.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libnghttp2-1.43.0-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '7375e44ec6c77c7afc760eaa4310d9974e0640cb46053c330b32c0e87bee73f4',
armv7l: '7375e44ec6c77c7afc760eaa4310d9974e0640cb46053c330b32c0e87bee73f4',
i686: 'cc5a56e8d3731aab1f8ff2a983e42d147e5a7234206d961e39b69d24d7cc3ffd',
x86_64: '32428353d0b390ca68f1737ebaead7e5cd5ade1676c7d62896de0553bd58fa39',
binary_sha256({
aarch64: '3a760af4f8f0e4bec998be98b6f942d3baa2bc270a40780922d3bb69b36052af',
armv7l: '3a760af4f8f0e4bec998be98b6f942d3baa2bc270a40780922d3bb69b36052af',
i686: 'ae37feacc654b4f97090ac642003ec9bd1edc2447f19679ba2d03b1c6ec7f6cb',
x86_64: 'af383eeeaaa588726efbd85d883d2eee1f3799a9687d2c16904d229c5662d3db'
})
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make'
Dir.mkdir 'builddir'
Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{CREW_CMAKE_OPTIONS} \
.."
end
system 'ninja -C builddir'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
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