unbound: correct forward of root domain 8595/head
authorEric Luehrsen <ericluehrsen@gmail.com>
Fri, 5 Apr 2019 04:14:50 +0000 (00:14 -0400)
committerEric Luehrsen <ericluehrsen@gmail.com>
Fri, 5 Apr 2019 04:14:50 +0000 (00:14 -0400)
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
net/unbound/Makefile
net/unbound/files/unbound.sh

index a82aa8e987342348294fd82d7c94a43848a9e1c0..0c35e45d9bc6add9ac6b45e33784ddf67992243a 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=unbound
 PKG_VERSION:=1.9.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENSE
index 696cb3753b566e09a9907249f04c8d26fc39aaab..529b689f947ec3013f715eb70e3dd7c704a860a2 100644 (file)
@@ -592,7 +592,7 @@ unbound_forward() {
       for fdomain in $UNBOUND_LIST_FORWARD ; do
         {
           echo "forward-zone:"
-          echo "  name: \"$fdomain.\""
+          echo "  name: \"${fdomain%.}.\""
           for fresolver in $resolvers ; do
           echo "  forward-addr: $fresolver"
           done