summaryrefslogtreecommitdiffstats
path: root/usr.sbin/unbound
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/unbound')
-rw-r--r--usr.sbin/unbound/Makefile5
-rw-r--r--usr.sbin/unbound/Makefile.inc3
-rw-r--r--usr.sbin/unbound/anchor/Makefile18
-rw-r--r--usr.sbin/unbound/checkconf/Makefile17
-rw-r--r--usr.sbin/unbound/control/Makefile18
-rw-r--r--usr.sbin/unbound/daemon/Makefile17
6 files changed, 78 insertions, 0 deletions
diff --git a/usr.sbin/unbound/Makefile b/usr.sbin/unbound/Makefile
new file mode 100644
index 0000000..2672d23
--- /dev/null
+++ b/usr.sbin/unbound/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+SUBDIR= daemon anchor checkconf control
+
+.include <bsd.subdir.mk>
diff --git a/usr.sbin/unbound/Makefile.inc b/usr.sbin/unbound/Makefile.inc
new file mode 100644
index 0000000..265f86d
--- /dev/null
+++ b/usr.sbin/unbound/Makefile.inc
@@ -0,0 +1,3 @@
+# $FreeBSD$
+
+.include "../Makefile.inc"
diff --git a/usr.sbin/unbound/anchor/Makefile b/usr.sbin/unbound/anchor/Makefile
new file mode 100644
index 0000000..1404766
--- /dev/null
+++ b/usr.sbin/unbound/anchor/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+# Vendor sources and generated files
+LDNSDIR= ${.CURDIR}/../../../contrib/ldns
+UNBOUNDDIR= ${.CURDIR}/../../../contrib/unbound
+EXPATDIR= ${.CURDIR}/../../../contrib/expat
+
+.PATH: ${UNBOUNDDIR} ${UNBOUNDDIR}/smallapp ${UNBOUNDDIR}/doc
+
+PROG= unbound-anchor
+SRCS= unbound-anchor.c
+CFLAGS= -I${UNBOUNDDIR} -I${LDNSDIR} -I${EXPATDIR}/lib
+DPADD= ${LIBUNBOUND} ${LIBLDNS} ${LIBUTIL} ${LIBBSDXML} ${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD}
+LDADD= -lunbound -lldns -lutil -lbsdxml -lssl -lcrypto -lpthread
+USEPRIVATELIB= ldns
+MAN= unbound-anchor.8
+
+.include <bsd.prog.mk>
diff --git a/usr.sbin/unbound/checkconf/Makefile b/usr.sbin/unbound/checkconf/Makefile
new file mode 100644
index 0000000..6a58806
--- /dev/null
+++ b/usr.sbin/unbound/checkconf/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+# Vendor sources and generated files
+LDNSDIR= ${.CURDIR}/../../../contrib/ldns
+UNBOUNDDIR= ${.CURDIR}/../../../contrib/unbound
+
+.PATH: ${UNBOUNDDIR} ${UNBOUNDDIR}/smallapp ${UNBOUNDDIR}/doc
+
+PROG= unbound-checkconf
+SRCS= unbound-checkconf.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-checkconf.8
+
+.include <bsd.prog.mk>
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>
diff --git a/usr.sbin/unbound/daemon/Makefile b/usr.sbin/unbound/daemon/Makefile
new file mode 100644
index 0000000..0f9044f
--- /dev/null
+++ b/usr.sbin/unbound/daemon/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+# Vendor sources and generated files
+LDNSDIR= ${.CURDIR}/../../../contrib/ldns
+UNBOUNDDIR= ${.CURDIR}/../../../contrib/unbound
+
+.PATH: ${UNBOUNDDIR} ${UNBOUNDDIR}/daemon ${UNBOUNDDIR}/doc
+
+PROG= unbound
+SRCS= acl_list.c cachedump.c daemon.c remote.c stats.c unbound.c worker.c
+CFLAGS= -I${UNBOUNDDIR} -I${LDNSDIR}
+DPADD= ${LIBUNBOUND} ${LIBLDNS} ${LIBUTIL} ${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD}
+LDADD= -lunbound -lldns -lutil -lssl -lcrypto -lpthread
+USEPRIVATELIB= ldns
+MAN= unbound.8 unbound.conf.5
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud