- Update to 1.4.15

* Fixed a little memory leak
  * Couple other bugs fixed
- Run unbound-checkconf before start.
This commit is contained in:
Sergey Matveychuk 2012-01-26 13:44:58 +00:00
parent c2310b365f
commit 4050999bef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289848
3 changed files with 8 additions and 8 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= unbound
PORTVERSION= 1.4.14
PORTREVISION= 2
PORTVERSION= 1.4.15
CATEGORIES= dns
MASTER_SITES= http://unbound.net/downloads/

View file

@ -1,2 +1,2 @@
SHA256 (unbound-1.4.14.tar.gz) = c15b85145e3175f3d933837071b4ffaae8da4a394139ac0e7f3dfee11712e7d3
SIZE (unbound-1.4.14.tar.gz) = 3546634
SHA256 (unbound-1.4.15.tar.gz) = 729d427c00c160de4ee66945d762b3282677e957407450152088369216a30020
SIZE (unbound-1.4.15.tar.gz) = 3562742

View file

@ -17,17 +17,18 @@ rcvar=unbound_enable
command="%%PREFIX%%/sbin/unbound"
extra_commands="reload"
start_precmd="start_unbound_anchor"
start_precmd="start_precmd"
load_rc_config $name
pidfile=${unbound_pidfile:-"%%PREFIX%%/etc/unbound/unbound.pid"}
unbound_enable=${unbound_enable:-"NO"}
start_unbound_anchor()
start_precmd()
{
echo -n "Obtaining a trust anchor:"
su -m unbound -c %%PREFIX%%/sbin/unbound-anchor
%%PREFIX%%/sbin/unbound-checkconf && \
echo -n "Obtaining a trust anchor:" && \
su -m unbound -c %%PREFIX%%/sbin/unbound-anchor && \
echo .
}