Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2012 01:08:36 +0000 (UTC)
From:      Sergey Matveychuk <sem@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303943 - in head/dns/unbound: . files
Message-ID:  <201209090108.q8918axi082428@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209090108.q8918axi082428>