# /usr/ports/dns/Makefile.local	by jhs_ERASE_@berklix.com
.include "../Makefile.undef"

.if ( defined(BERKLIX_CLIENT) || defined(BERKLIX_GATE) || \
	defined(BERKLIX_SERVER) )	#{
SUBDIR += nslint	# use local named.conf file

SUBDIR += dlint		# can use remote zones too, but
#			# Man dlint: "Dlint uses the zone transfer mechanism
#			# (AXFR) which some nameservers deny to unauthorized
#			# hosts."
#			# These fail with "ERROR: no A records found." :
#			# cnn.com dyn-dns.org freebsd.org
.endif					#}

.if ( defined(BERKLIX_CLIENT) || defined(BERKLIX_GATE) || \
	defined(BERKLIX_SERVER) )	#{
# SUBDIR += bind-tools	# command line tools from latest version eg nslookup
# SUBDIR += bind-tools	# Available on 10.3-STABLE host=slim
# SUBDIR += bind-tools	# Available on 10.4-p12 host=land
#			# On 2019-08-17 current bind-9.14.4.tar.gz

#			cd /usr/ports/dns/bind912; make
#				bind912-9.12.3 conflicts with installed
#				package(s): bind-tools-9.12.3 They will not
#				build together. Please remove them first
#				with pkg delete
#			However is OK with pkg install bind911 & bind913
SUBDIR += bind-tools	# builds on 12.2-stable 2021-10-03
.endif					#}

# Named was removed from FreeBSD-10 src/
.if ( defined(BERKLIX_CLIENT ) || defined(BERKLIX_GATE) || \
	defined(BERKLIX_MINIMAL) || defined(BERKLIX_SERVER) ) #{
# SUBDIR += bind9-devel # Available on 10.3-STABLE host=slim
# SUBDIR += bind9-devel # Available on 10.4-p12 host=land
# SUBDIR += bind9-devel # Available on current 2019-01-01
# SUBDIR += bind9-devel # On 2019-08-17 current: bind9-devel-9.15.0.a0.2019.07.29

# SUBDIR += bind99	# Available on 10.3-STABLE host=slim
# SUBDIR += bind99	# Available on 10.4-p12 host=land
# SUBDIR += bind99	# Not Available on current 2018-11-14 & 2019-08-17

# SUBDIR += bind910	# Available on 10.3-STABLE host=slim
# SUBDIR += bind910	# Available on 10.4-p12 host=land
# SUBDIR += bind910	# Not on current 2019-08-17

# SUBDIR += bind911	# Available on 10.3-STABLE host=slim
# SUBDIR += bind911	# Not Available on 10.4-p12 host=land
# SUBDIR += bind911	# On current 2019-08-17 - 2019-08-17 bind-9.11.9.tar.gz
SUBDIR += bind911	# builds on 12.2-stable 2021-10-03

# See also ~/public_html/src/bsd/fixes/FreeBSD/packages/to_pkg_install
# SUBDIR += bind916	# In current 2021-10-03, doesnt build on stable

.endif					#}

# SUBDIR += bindgraph	# Available on 10.3-STABLE host=slim
# SUBDIR += bindgraph	# Available on 10.4-p12 host=land
# SUBDIR += bindgraph	# Available on current 2019-01-01

# SUBDIR += libbind	# Available on 10.3-STABLE host=slim
# SUBDIR += libbind	# Available on 10.4-p12 host=land

# dig has gone from src/usr.bin/dig in FreeBSD-10
# src/usr.bin/drill/ in FreeBSD-10
# nslookup & dig & host are all 3 installed by either of
# ports/dns/bind99 or ports/dns/bind-tools at 2013-10-12
# Re. DNS in FreeBSD-10: http://blog.des.no/2013/09/dns-again-a-clarification/

.if ( defined(BERKLIX_CLIENT) || defined(BERKLIX_GATE) || \
	defined(BERKLIX_SERVER) )	#{
# SUBDIR += unbound	# unbound-1.4.21 whereas 10.0-ALPHA5 src/ has 1.4.20
.endif					#}
