aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/unbound/Makefile1
-rw-r--r--dns/unbound/files/unbound.in3
2 files changed, 4 insertions, 0 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index e6360e5cfc5b..1f098bb51120 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -7,6 +7,7 @@
PORTNAME= unbound
PORTVERSION= 1.4.18
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://unbound.net/downloads/
diff --git a/dns/unbound/files/unbound.in b/dns/unbound/files/unbound.in
index 499f0598bbe8..eb4ce995740a 100644
--- a/dns/unbound/files/unbound.in
+++ b/dns/unbound/files/unbound.in
@@ -1,5 +1,7 @@
#!/bin/sh
#
+# $FreeBSD$
+#
# unbound freebsd startup rc.d script, modified from the named script.
# uses the default unbound installation path and pidfile location.
# copy this to /etc/rc.d/unbound
@@ -18,6 +20,7 @@ rcvar=unbound_enable
command="%%PREFIX%%/sbin/unbound"
extra_commands="reload"
start_precmd="start_precmd"
+reload_precmd="%%PREFIX%%/sbin/unbound-checkconf >/dev/null"
load_rc_config $name