Browse Source

bind: update to 9.18.32

Waldemar Brodkorb 9 months ago
parent
commit
d16d5c9037
2 changed files with 5 additions and 2 deletions
  1. 2 2
      package/bind/Makefile
  2. 3 0
      package/bind/files/named.init

+ 2 - 2
package/bind/Makefile

@@ -4,9 +4,9 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		bind
-PKG_VERSION:=		9.18.30
+PKG_VERSION:=		9.18.32
 PKG_RELEASE:=		1
-PKG_HASH:=		9f6817640970267317e5aa143ecf70531040f2155636b1a63ea45379aa09034a
+PKG_HASH:=		dc840cdf9d54578d98400f2edf7008b1b33a1721be6e490eb1e42d0d11d9cff4
 PKG_DESCR:=		dns server
 PKG_SECTION:=		net/dns
 PKG_DEPENDS:=		libxml2 libopenssl libuv openssl-util

+ 3 - 0
package/bind/files/named.init

@@ -11,6 +11,9 @@ autostop) ;;
 		exec sh $0 start
 		;;
 	start)
+		if [ ! -f /etc/rndc.key ]; then
+			rndc-confgen -a 2>/dev/null
+		fi
 		if [ -f /etc/bind/named.conf ]; then
 			/usr/sbin/named -c /etc/bind/named.conf &
 		fi