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
|
2022-03-27 14:54:50 +02:00
|
|
|
# Depends on: libuv openssl zlib
|
2020-06-25 18:43:13 +02:00
|
|
|
|
|
|
|
name=bindutils
|
2022-10-19 22:50:49 +02:00
|
|
|
version=9.18.8
|
2020-06-25 18:43:13 +02:00
|
|
|
release=1
|
2022-03-27 14:54:50 +02:00
|
|
|
source=(https://ftp.isc.org/isc/bind9/$version/bind-$version.tar.xz
|
|
|
|
utils.patch)
|
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-03-27 14:54:50 +02:00
|
|
|
patch -Np1 -i $SRC/utils.patch
|
|
|
|
|
2022-01-29 18:21:31 +01:00
|
|
|
./configure \
|
2021-04-29 13:13:21 +02:00
|
|
|
--prefix=/usr \
|
2022-03-27 14:54:50 +02:00
|
|
|
--libdir=/usr/lib/bindutils \
|
|
|
|
--includedir=/usr/include/bindutils \
|
2021-04-29 13:13:21 +02:00
|
|
|
--disable-linux-caps \
|
2022-03-27 14:54:50 +02:00
|
|
|
--disable-doh \
|
2021-04-29 13:13:21 +02:00
|
|
|
--with-libxml2=no \
|
2022-03-27 14:54:50 +02:00
|
|
|
--with-gssapi=no
|
2020-06-25 18:43:13 +02:00
|
|
|
|
2021-04-29 13:13:21 +02:00
|
|
|
make -C lib
|
2022-03-27 14:54:50 +02:00
|
|
|
make bind.keys.h
|
2021-04-29 13:13:21 +02:00
|
|
|
make -C bin/dig
|
2022-03-27 14:54:50 +02:00
|
|
|
make -C bin/delv
|
|
|
|
make -C doc
|
|
|
|
make DESTDIR=$PKG -C lib install
|
|
|
|
make DESTDIR=$PKG -C bin/dig install
|
|
|
|
make DESTDIR=$PKG -C bin/delv install
|
2020-06-25 18:43:13 +02:00
|
|
|
|
2022-03-27 14:54:50 +02:00
|
|
|
install -D -m 644 doc/man/delv.1 $PKG/usr/share/man/man1/delv.1
|
2021-04-29 13:13:21 +02:00
|
|
|
install -D -m 644 doc/man/dig.1 $PKG/usr/share/man/man1/dig.1
|
2022-03-27 14:54:50 +02:00
|
|
|
install -D -m 644 doc/man/host.1 $PKG/usr/share/man/man1/host.1
|
|
|
|
install -D -m 644 doc/man/nslookup.1 $PKG/usr/share/man/man1/nslookup.1
|
2020-06-25 18:43:13 +02:00
|
|
|
}
|