[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / djbdns-run

File: [cvs.NetBSD.org] / pkgsrc / net / djbdns-run / options.mk (download)

Revision 1.4, Tue Jan 8 18:29:29 2019 UTC (13 months, 1 week ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, HEAD
Changes since 1.3: +2 -2 lines

Let ucspi-tcp6, if installed, satisfy the non-'inet6' DEPENDS. Fix
rbldns_needcdb() to operate on rbldns_data. Ride previous bump.

# $NetBSD: options.mk,v 1.4 2019/01/08 18:29:29 schmonz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.djbdns-run
PKG_SUPPORTED_OPTIONS+=	inet6

.include "../../mk/bsd.options.mk"

FILES_SUBST+=		TINYDNS_LISTENIP=${TINYDNS_LISTENIP:Q}
FILES_SUBST+=		DNSCACHE_LISTENIP=${DNSCACHE_LISTENIP:Q}
FILES_SUBST+=		DNSCACHE_SENDIP=${DNSCACHE_SENDIP:Q}

.if !empty(PKG_OPTIONS:Minet6)
DEPENDS_DJBDNS=		djbdnscurve6-[0-9]*:../../net/djbdnscurve6
DEPENDS+=		ucspi-tcp6-[0-9]*:../../net/ucspi-tcp6
DNSROOTS_GLOBAL=	share/examples/djbdnscurve6/dnsroots.global
TINYDNS_LISTENIP=	::
DNSCACHE_LISTENIP=	::1
DNSCACHE_SENDIP=	::
CONF_FILES+=		${PREFIX}/share/examples/${PKGBASE}/dnscache-ip \
			${PKG_SYSCONFDIR}/dnscache/ip/::1
.else
DEPENDS_DJBDNS=		djbdns>=1.05nb5:../../net/djbdns
DEPENDS+=		{ucspi-tcp6-[0-9]*,ucspi-tcp-[0-9]*}:../../net/ucspi-tcp
DNSROOTS_GLOBAL=	share/examples/djbdns/dnsroots.global
TINYDNS_LISTENIP=	0.0.0.0
DNSCACHE_LISTENIP=	127.0.0.1
DNSCACHE_SENDIP=	0.0.0.0
CONF_FILES+=		${PREFIX}/share/examples/${PKGBASE}/dnscache-ip \
			${PKG_SYSCONFDIR}/dnscache/ip/127.0.0.1
.endif