- Update to 1.4.15
* Fixed a little memory leak * Couple other bugs fixed - Run unbound-checkconf before start.
This commit is contained in:
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
|
@ -6,8 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= unbound
|
PORTNAME= unbound
|
||||||
PORTVERSION= 1.4.14
|
PORTVERSION= 1.4.15
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= dns
|
CATEGORIES= dns
|
||||||
MASTER_SITES= http://unbound.net/downloads/
|
MASTER_SITES= http://unbound.net/downloads/
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (unbound-1.4.14.tar.gz) = c15b85145e3175f3d933837071b4ffaae8da4a394139ac0e7f3dfee11712e7d3
|
SHA256 (unbound-1.4.15.tar.gz) = 729d427c00c160de4ee66945d762b3282677e957407450152088369216a30020
|
||||||
SIZE (unbound-1.4.14.tar.gz) = 3546634
|
SIZE (unbound-1.4.15.tar.gz) = 3562742
|
||||||
|
|
|
@ -17,17 +17,18 @@ rcvar=unbound_enable
|
||||||
|
|
||||||
command="%%PREFIX%%/sbin/unbound"
|
command="%%PREFIX%%/sbin/unbound"
|
||||||
extra_commands="reload"
|
extra_commands="reload"
|
||||||
start_precmd="start_unbound_anchor"
|
start_precmd="start_precmd"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
pidfile=${unbound_pidfile:-"%%PREFIX%%/etc/unbound/unbound.pid"}
|
pidfile=${unbound_pidfile:-"%%PREFIX%%/etc/unbound/unbound.pid"}
|
||||||
unbound_enable=${unbound_enable:-"NO"}
|
unbound_enable=${unbound_enable:-"NO"}
|
||||||
|
|
||||||
start_unbound_anchor()
|
start_precmd()
|
||||||
{
|
{
|
||||||
echo -n "Obtaining a trust anchor:"
|
%%PREFIX%%/sbin/unbound-checkconf && \
|
||||||
su -m unbound -c %%PREFIX%%/sbin/unbound-anchor
|
echo -n "Obtaining a trust anchor:" && \
|
||||||
|
su -m unbound -c %%PREFIX%%/sbin/unbound-anchor && \
|
||||||
echo .
|
echo .
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue