void-packages/srcpkgs/bind/template
Colin Booth 0f251b6693 bind: remove obsolete configuration options
Removed options:
--enable-atomic - removed 9.13.3 (commit 5024)
--enable-fetchlimit - removed pre-bind9
--enable-ipv6 - made default 9.14
--enable-openssl-hash - removed 9.14, default was already yes
--enable-seccomp - removed 9.13.0 (commit 4898)
--enable-sit - removed 9.11, replaced with DNS COOKIE option in configs (commit 4152)
--enable-threads - on-threaded support removed 9.13.3 (commit 5011)
--with-ecdsa - comes from openssl availability (removed 9.14)
--with-eddsa - comes from openssl availability (removed 9.14)
--with-geoip - marked as obsolete in 9.16
--with-randomdev - removed 9.13.0 (commit 4936)
--without-gost - GOST support removed 9.13.1 (commit 4961)

There don't seem to be any new options added that seem like must-haves,
so unless someone speaks up I'm not going to be adding anything right
now.
2021-03-08 01:08:48 -03:00

72 lines
2.1 KiB
Bash

# Template file for 'bind'
pkgname=bind
version=9.16.12
revision=2
_fullver="${version}${_patchver:+-${_patchver}}"
wrksrc="${pkgname}-${_fullver}"
build_style=gnu-configure
configure_args="--disable-static --enable-largefile --with-libtool
--sysconfdir=/etc/named --enable-epoll --with-openssl=${XBPS_CROSS_BASE}/usr
--with-gssapi=/usr/bin --with-readline --with-tuning=default --without-python
--with-libidn2 --disable-backtrace"
hostmakedepends="automake libtool perl pkg-config"
makedepends="openssl-devel libxml2-devel libcap-devel readline-devel mit-krb5-devel
libatomic-devel libidn2-devel libuv-devel $(vopt_if geoip geoip-devel)"
checkdepends="python3-pytest"
short_desc="Berkeley Internet Name Domain server"
maintainer="Randy McCaskill <randy@mccaskill.us>"
license="MPL-2.0"
homepage="https://www.isc.org/downloads/bind/"
changelog="https://gitlab.isc.org/isc-projects/bind9/-/blob/v9_16/CHANGES"
distfiles="https://ftp.isc.org/isc/bind9/${_fullver}/bind-${_fullver}.tar.xz"
checksum=9914af9311fd349cab441097898d94fb28d0bfd9bf6ed04fe1f97f042644da7f
# guarantee subpackage ordering
subpackages="bind-libs bind-utils bind-devel"
# requires special network setup
make_check=extended
conf_files="/etc/named/named.conf"
system_accounts="named"
named_descr="BIND DNS server"
named_homedir="/var/named"
make_dirs="/var/named 0770 root named"
build_options="geoip"
build_options_default="geoip"
post_install() {
vsv named
vinstall ${FILESDIR}/named.logrotate 600 etc/logrotate.d named
vinstall ${FILESDIR}/named.conf 640 etc/named
vinstall bin/tests/system/common/root.hint 640 var/named
vinstall ${FILESDIR}/127.0.0.zone 640 var/named
vinstall ${FILESDIR}/localhost.zone 640 var/named
vlicense COPYRIGHT LICENSE
}
bind-libs_package() {
short_desc+=" - Runtime libraries"
pkg_install() {
vmove "usr/lib/*-*.so"
}
}
bind-utils_package() {
short_desc+=" - DNS utils"
pkg_install() {
for f in dig host nslookup; do
vmove usr/bin/${f}
vmove usr/share/man/man1/${f}.1
done
}
}
bind-devel_package() {
depends="bind-libs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}