summaryrefslogtreecommitdiffstats
path: root/usr.sbin/unbound/control
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-09-15 14:51:23 +0000
committerdes <des@FreeBSD.org>2013-09-15 14:51:23 +0000
commitea05e625ec3e5c83a7066971514f66e15e913ecd (patch)
tree6f049c7799611aead87e6da6b6e21e8d8af772db /usr.sbin/unbound/control
parent3b7e4aa267bc7eedadb66a6fa1fac2a227969a41 (diff)
downloadFreeBSD-src-ea05e625ec3e5c83a7066971514f66e15e913ecd.zip
FreeBSD-src-ea05e625ec3e5c83a7066971514f66e15e913ecd.tar.gz
Build and install the Unbound caching DNS resolver daemon.
Approved by: re (blanket)
Diffstat (limited to 'usr.sbin/unbound/control')
-rw-r--r--usr.sbin/unbound/control/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/usr.sbin/unbound/control/Makefile b/usr.sbin/unbound/control/Makefile
new file mode 100644
index 0000000..7056a9e
--- /dev/null
+++ b/usr.sbin/unbound/control/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+# Vendor sources and generated files
+LDNSDIR= ${.CURDIR}/../../../contrib/ldns
+UNBOUNDDIR= ${.CURDIR}/../../../contrib/unbound
+
+.PATH: ${UNBOUNDDIR} ${UNBOUNDDIR}/smallapp ${UNBOUNDDIR}/doc
+
+PROG= unbound-control
+SCRIPTS= unbound-control-setup.sh
+SRCS= unbound-control.c worker_cb.c
+CFLAGS= -I${UNBOUNDDIR} -I${LDNSDIR}
+DPADD= ${LIBUNBOUND} ${LIBLDNS} ${LIBUTIL} ${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD}
+LDADD= -lunbound -lldns -lutil -lssl -lcrypto -lpthread
+USEPRIVATELIB= ldns
+MAN= unbound-control.8
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud