svn commit: r303943 - in head/dns/unbound: . files

Sergey Matveychuk sem at FreeBSD.org
Sun Sep 9 01:08:37 UTC 2012


Author: sem
Date: Sun Sep  9 01:08:36 2012
New Revision: 303943
URL: http://svn.freebsd.org/changeset/ports/303943

Log:
  - Run unbound-checkconf on startup
  
  Submitted by:	Anton Yuzhaninov <citrin at citrin.ru>

Modified:
  head/dns/unbound/Makefile
  head/dns/unbound/files/unbound.in

Modified: head/dns/unbound/Makefile
==============================================================================
--- head/dns/unbound/Makefile	Sun Sep  9 00:06:57 2012	(r303942)
+++ head/dns/unbound/Makefile	Sun Sep  9 01:08:36 2012	(r303943)
@@ -7,6 +7,7 @@
 
 PORTNAME=	unbound
 PORTVERSION=	1.4.18
+PORTREVISION=	1
 CATEGORIES=	dns
 MASTER_SITES=	http://unbound.net/downloads/
 

Modified: head/dns/unbound/files/unbound.in
==============================================================================
--- head/dns/unbound/files/unbound.in	Sun Sep  9 00:06:57 2012	(r303942)
+++ head/dns/unbound/files/unbound.in	Sun Sep  9 01:08:36 2012	(r303943)
@@ -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
 



More information about the svn-ports-all mailing list