extra/bind to 9.18.12-2

This commit is contained in:
Kevin Mihelich 2023-03-05 21:15:29 +00:00
parent 7f7b276eb5
commit fa1f3606b0

View file

@ -9,18 +9,15 @@
_pkgver=9.18.12
pkgname=bind
pkgver=${_pkgver//-/.}
pkgrel=1
pkgrel=2
pkgdesc='A complete, highly portable implementation of the DNS protocol'
url='https://www.isc.org/software/bind/'
license=('MPL2')
arch=('x86_64')
options=('!emptydirs' '!makeflags')
makedepends=('libcap' 'libxml2' 'zlib' 'krb5' 'e2fsprogs' 'openssl' 'readline'
'libidn2' 'dnssec-anchors' 'python' 'json-c' 'python-ply' 'lmdb' 'zlib' 'icu'
'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' 'jemalloc')
'openssl' 'readline' 'xz' 'zlib' 'jemalloc' 'libnghttp2')
conflicts=('bind-tools' 'dnsutils')
replaces=('bind-tools' 'dnsutils' 'host')
provides=('bind-tools' 'dnsutils' 'dns-server')
@ -67,8 +64,6 @@ build() {
export CFLAGS
# support to chase DNSSEC signature chains
CFLAGS+=' -DDIG_SIGCHASE'
# compile with gcc10, https://gcc.gnu.org/gcc-10/porting_to.html
CFLAGS+=' -fcommon'
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@ -86,6 +81,9 @@ build() {
make
}
# No test suite because it requires root.
# See: https://gitlab.isc.org/isc-projects/bind9/-/blob/main/README.md#testing.
package() {
cd "bind-$_pkgver"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"