# Created by: Allan Jude # $FreeBSD$ PORTNAME= gdnsd PORTVERSION= 1.10.1 CATEGORIES= dns MASTER_SITES= http://downloads.gdnsd.net/ \ http://gdnsd.scaleengine.net/gdnsd/ MAINTAINER= ports@scaleengine.com COMMENT= Authoritative-only GeoIP-aware DNS server LICENSE= GPLv3 LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var --with-rootdir=${LOCALBASE}/etc/gdnsd USE_LDCONFIG= yes USE_XZ= yes USES= pkgconfig CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib USE_RC_SUBR= gdnsd USERS?= gdnsd GROUPS?= gdnsd OPTIONS_DEFINE= GEOIP URCU GEOIP_DESC= Enable GeoIP Support GEOIP_RUN_DEPENDS= ${LOCALBASE}/share/GeoIP/GeoIP.dat:${PORTSDIR}/net/GeoIP URCU_DESC= Read-Copy-Update Support (Faster Zone Parsing) URCU_CONFIGURE_WITH= urcu URCU_LIB_DEPENDS= liburcu.so:${PORTSDIR}/sysutils/liburcu .include post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdnsd/zones .include