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