Commit 29e06897 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Update bind from 9.14.2 to 9.17.3 (#4181)

parent 5c358fd6
...@@ -3,44 +3,47 @@ require 'package' ...@@ -3,44 +3,47 @@ require 'package'
class Bind < 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.' 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/' homepage 'https://www.isc.org/downloads/bind/'
version '9.14.2' version '9.17.3'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.isc.org/isc-projects/bind9/-/archive/v9_14_2/bind9-v9_14_2.tar.bz2' source_url 'file:///dev/null'
source_sha256 'da7d117bfc94c37874dbde635737f67c4896f4beaad27249f1f064e658fa93d9' source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.14.2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.14.2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.14.2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.14.2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.17.3-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'd26cfb9fcbe3e7ca1abb6708c0a4478007cd8200fc5ef0d8d01748c8059cac8f', aarch64: 'b7dd57b241a5ef20ff4ecc36b90e442c3ae35b5f60aa890791226f54bfe188c8',
armv7l: 'd26cfb9fcbe3e7ca1abb6708c0a4478007cd8200fc5ef0d8d01748c8059cac8f', armv7l: 'b7dd57b241a5ef20ff4ecc36b90e442c3ae35b5f60aa890791226f54bfe188c8',
i686: 'f5303d850a1d90ad4c9dc0d4a8c7ffccf1d1aa679df7d422b65ea4751a8f9831', i686: 'a548e1980be640b0f541df3a1a4ad6f61483e39ba323b17159dccc68cd47286c',
x86_64: '2543ca2376418d59ae4f53f80c5bc11a62eb10489feacd22c9ec0a5359165989', x86_64: '60b6dabf560447184b9022188c74965ec22fd40becbf49d526b5ea36f0cc2c39',
}) })
depends_on 'libcap' depends_on 'libcap'
depends_on 'libseccomp' depends_on 'libseccomp'
depends_on 'python3' depends_on 'libuv'
depends_on 'readline'
def self.build def self.build
system 'pip3 install ply==3.11' system 'git clone https://gitlab.isc.org/isc-projects/bind9.git'
system './configure', Dir.chdir 'bind9' do
'--with-seccomp', system 'git checkout v9_17_3'
'--with-gost=yes', system 'pip3 install ply==3.11'
'--with-ecdsa=yes', system 'autoreconf -fi'
'--with-randomdev=no', system './configure',
"--prefix=#{CREW_PREFIX}", "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}" '--disable-maintainer-mode',
system 'make' "--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
end end
def self.install def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install" Dir.chdir 'bind9' do
system 'pip3 uninstall -y ply' system "make DESTDIR=#{CREW_DEST_DIR} install"
system "pip3 install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I ply==3.11" system 'pip3 uninstall -y ply'
system "pip3 install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I ply==3.11"
end
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