extra/bind to 9.18.0-1

This commit is contained in:
Kevin Mihelich 2022-02-19 15:34:12 +00:00
parent abab6b46f7
commit 8f462464cb

View file

@ -5,9 +5,8 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - !makeflags - bind build doesn't like concurrency
# - build v6 as armv6kz
_pkgver=9.16.25
_pkgver=9.18.0
pkgname=bind
pkgver=${_pkgver//-/.}
pkgrel=1
@ -21,7 +20,7 @@ makedepends=('libcap' 'libxml2' 'zlib' 'krb5' 'e2fsprogs' 'openssl' 'readline'
'xz' 'libmaxminddb' 'libnsl' 'libuv' 'python-sphinx')
depends=('bash' 'dnssec-anchors' 'e2fsprogs' 'glibc' 'icu' 'libedit' 'json-c'
'krb5' 'libcap' 'libidn2' 'libmaxminddb' 'libnsl' 'libuv' 'libxml2' 'lmdb'
'openssl' 'python' 'python-ply' 'readline' 'xz' 'zlib')
'openssl' 'python' 'python-ply' 'readline' 'xz' 'zlib' 'jemalloc')
conflicts=('bind-tools' 'dnsutils')
replaces=('bind-tools' 'dnsutils' 'host')
provides=('bind-tools' 'dnsutils' 'dns-server')
@ -39,7 +38,7 @@ source=("https://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.xz"{,.asc}
'localhost.zone'
'localhost.ip6.zone'
'127.0.0.zone')
sha256sums=('9fa328850f82843ef8b7bf1ff5322cb68b110273a33f375ba41f35270f5e1ff3'
sha256sums=('56525bf5caf01fd8fd9d90910880cc0f8a90a27a97d169187d651d4ecf0c411c'
'SKIP'
'f0423c4ee8495da487e07e9144bec1d25f46a0cd2dfa7cfd7a761ef15bfefc98'
'7c0acefcfcc3ae093550caed7ec90fe84bec8f7477459ffa7e71dda76bcbdb2c'
@ -69,7 +68,6 @@ build() {
CFLAGS+=' -DDIG_SIGCHASE'
# compile with gcc10, https://gcc.gnu.org/gcc-10/porting_to.html
CFLAGS+=' -fcommon'
[[ $CARCH == "armv6h" ]] && CFLAGS+=" -march=armv6zk"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@ -78,15 +76,12 @@ build() {
--disable-static \
--enable-fixed-rrset \
--enable-full-report \
--enable-dnsrps \
--with-python=/usr/bin/python \
--with-maxminddb \
--with-openssl \
--with-libidn2 \
--with-json-c \
--with-libxml2 \
--with-lmdb \
--with-libtool
--with-lmdb
make
}