############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = bind version = 9.19.9 release = 1.1 groups = Networking/Tools url = https://www.isc.org/bind/ license = Proprietary summary = BIND provides tools for the DNS description BIND (Berkeley Internet Name Domain or named) is the most commonly used DNS server on the Internet, especially on Unix-like systems. end source_dl = https://downloads.isc.org/isc/bind9/%{version}/ sources = %{thisapp}.tar.xz build requires json-c-devel libcap-devel libidn2-devel libuv-devel krb5-devel nghttp2-devel pkg-config openssl-devel >= 1.0.1h-2 end #export LD_LIBRARY_PATH = %{DIR_APP}/lib/bind9/.libs:%{DIR_APP}/lib/dns/.libs:%{DIR_APP}/lib/isc/.libs:%{DIR_APP}/lib/isccfg/.libs:%{DIR_APP}/lib/ns/.libs configure_options += \ --disable-static \ --enable-auto-validation tools = dig nsupdate build %{configure} # Build libraries make -C lib %{PARALLELISMFLAGS} # Build tools for tool in %{tools}; do make -C bin/${tool} %{PARALLELISMFLAGS} || exit $? done end install # Install libraries make -C lib install DESTDIR="%{BUILDROOT}" # Install tools for tool in %{tools}; do make -C bin/${tool} install DESTDIR="%{BUILDROOT}" || exit $? done # Install trusted root key mkdir -pv %{BUILDROOT}%{sysconfdir} install -m 644 %{DIR_SOURCE}/trusted-key.key %{BUILDROOT}%{sysconfdir}/trusted-key.key end end packages package %{name}-utils summary = Utilities for querying the DNS system end package %{name}-debuginfo template DEBUGINFO end end