2020-06-25 18:43:13 +02:00
|
|
|
# Description: Bind tools
|
2021-04-29 13:13:21 +02:00
|
|
|
# URL: https://www.isc.org/bind/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: openssl zlib libuv
|
2020-06-25 18:43:13 +02:00
|
|
|
|
|
|
|
name=bindutils
|
2022-01-28 11:56:48 +01:00
|
|
|
version=9.18.0
|
2020-06-25 18:43:13 +02:00
|
|
|
release=1
|
2020-06-25 18:56:35 +02:00
|
|
|
source=(https://ftp.isc.org/isc/bind9/$version/bind-$version.tar.xz)
|
2020-06-25 18:43:13 +02:00
|
|
|
|
|
|
|
build() {
|
2021-04-29 13:13:21 +02:00
|
|
|
cd bind-$version
|
2020-06-25 18:43:13 +02:00
|
|
|
|
2022-01-28 11:56:48 +01:00
|
|
|
## can be removed in 3.7 again
|
|
|
|
prt-get isinst nghttp2-libs || PKGMK_BINDUTILS+=' --disable-doh'
|
|
|
|
|
|
|
|
./configure $PKGMK_BINDUTILS \
|
2021-04-29 13:13:21 +02:00
|
|
|
--prefix=/usr \
|
|
|
|
--disable-linux-caps \
|
|
|
|
--with-libxml2=no \
|
|
|
|
--with-libjson=no \
|
|
|
|
--with-gssapi=no \
|
|
|
|
--with-python=no
|
2020-06-25 18:43:13 +02:00
|
|
|
|
2021-04-29 13:13:21 +02:00
|
|
|
make -C lib
|
|
|
|
make -C bin/dig
|
|
|
|
make -C doc/man
|
2020-06-25 18:43:13 +02:00
|
|
|
|
2021-04-29 13:13:21 +02:00
|
|
|
install -D -m 755 bin/dig/host $PKG/usr/bin/host
|
|
|
|
install -D -m 644 doc/man/host.1 $PKG/usr/share/man/man1/host.1
|
|
|
|
install -D -m 755 bin/dig/dig $PKG/usr/bin/dig
|
|
|
|
install -D -m 644 doc/man/dig.1 $PKG/usr/share/man/man1/dig.1
|
2020-06-25 18:43:13 +02:00
|
|
|
}
|