svn commit: r459983 - head/dns/unbound/files

Mathieu Arnold mat at FreeBSD.org
Mon Feb 5 13:34:46 UTC 2018


ping.

On Tue, Jan 30, 2018 at 02:01:56PM +0100, Mathieu Arnold wrote:
> ping.
> 
> On Sat, Jan 27, 2018 at 08:37:59AM -0700, Adam Weinberger wrote:
> > Bernard,
> > 
> > This needs a PORTREVISION bump.
> > 
> > # Adam
> > 
> > 
> > --
> > Adam Weinberger
> > adamw at adamw.org
> > http://www.adamw.org
> > 
> > > On 26 Jan, 2018, at 3:16, Bernard Spil <brnrd at freebsd.org> wrote:
> > > 
> > > Author: brnrd
> > > Date: Fri Jan 26 10:16:16 2018
> > > New Revision: 459983
> > > URL: https://svnweb.freebsd.org/changeset/ports/459983
> > > 
> > > Log:
> > >   dns/unbound: Fix rc-script with config in flags
> > > 
> > >    - Adds new option unbound_config
> > > 
> > >   PR:		225360
> > >   Submitted by:	jaap at NLnetLabs.nl
> > >   Approved by:	jaap at NLnetLabs.nl (maintainer)
> > > 
> > > Modified:
> > >   head/dns/unbound/files/unbound.in
> > > 
> > > Modified: head/dns/unbound/files/unbound.in
> > > ==============================================================================
> > > --- head/dns/unbound/files/unbound.in	Fri Jan 26 10:00:03 2018	(r459982)
> > > +++ head/dns/unbound/files/unbound.in	Fri Jan 26 10:16:16 2018	(r459983)
> > > @@ -23,13 +23,15 @@ rcvar=unbound_enable
> > >  command="%%PREFIX%%/sbin/unbound"
> > >  extra_commands="reload"
> > >  start_precmd="start_precmd"
> > > -reload_precmd="%%PREFIX%%/sbin/unbound-checkconf >/dev/null"
> > > +reload_precmd="%%PREFIX%%/sbin/unbound-checkconf ${unbound_conf}
> > > >/dev/null"
> > > 
> > >  load_rc_config $name
> > > 
> > >  pidfile=${unbound_pidfile:-"%%PREFIX%%/etc/unbound/unbound.pid"}
> > >  unbound_enable=${unbound_enable:-"NO"}
> > >  unbound_anchorflags=${unbound_anchorflags:-""}
> > > +unbound_conf=${unbound_conf:-"%%ETCDIR%%/unbound.conf"}
> > > +unbound_flags=${unbound_flags:-" -c ${unbound_conf}"}
> > > 
> > >  start_precmd()
> > >  {
> > > @@ -40,7 +42,7 @@ start_precmd()
> > >  		su -m unbound -c "%%PREFIX%%/sbin/unbound-anchor ${unbound_anchorflags}"
> > >  	fi
> > >  	echo .
> > > -	%%PREFIX%%/sbin/unbound-checkconf > /dev/null
> > > +	%%PREFIX%%/sbin/unbound-checkconf ${unbound_conf} > /dev/null
> > >  	return $?
> > >  }
> > 
> > 
> 
> -- 
> Mathieu Arnold



-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20180205/7a967c47/attachment.sig>


More information about the svn-ports-all mailing list