Merge pull request #9268 from EricLuehrsen/unbound_192_1806
[openwrt-18.06] unbound: update to 1.9.2 with package bug fixes
This commit is contained in:
commit
28007a8bde
2 changed files with 13 additions and 13 deletions
|
@ -8,16 +8,16 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=unbound
|
PKG_NAME:=unbound
|
||||||
PKG_VERSION:=1.9.1
|
PKG_VERSION:=1.9.2
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
PKG_MAINTAINER:=Eric Luehrsen <ericluehrsen@gmail.com>
|
PKG_MAINTAINER:=Eric Luehrsen <ericluehrsen@gmail.com>
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.unbound.net/downloads
|
PKG_SOURCE_URL:=https://nlnetlabs.nl/downloads/unbound
|
||||||
PKG_HASH:=c3c0bf9b86ccba4ca64f93dd4fe7351308ab54293f297a67de5a8914c1dc59c5
|
PKG_HASH:=6f7acec5cf451277fcda31729886ae7dd62537c4f506855603e3aa153fcb6b95
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
|
@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/unbound/Default
|
define Package/unbound/Default
|
||||||
TITLE:=Validating Recursive DNS Server
|
TITLE:=Validating Recursive DNS Server
|
||||||
URL:=http://www.unbound.net/
|
URL:=https://nlnetlabs.nl/projects/unbound/about
|
||||||
DEPENDS:=+libopenssl
|
DEPENDS:=+libopenssl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ endef
|
||||||
|
|
||||||
define Package/libunbound/install
|
define Package/libunbound/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libunbound.so.* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libunbound.so.* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,unbound))
|
$(eval $(call BuildPackage,unbound))
|
||||||
|
|
|
@ -1017,13 +1017,13 @@ unbound_hostname() {
|
||||||
|
|
||||||
case "$UNBOUND_D_DOMAIN_TYPE" in
|
case "$UNBOUND_D_DOMAIN_TYPE" in
|
||||||
deny|inform_deny|refuse|static)
|
deny|inform_deny|refuse|static)
|
||||||
|
if [ "$UNBOUND_TXT_DOMAIN" != "local" ] ; then
|
||||||
{
|
{
|
||||||
# avoid upstream involvement in RFC6762 like responses (link only)
|
# avoid involvement in RFC6762, unless it is the local zone name
|
||||||
echo " local-zone: local. $UNBOUND_D_DOMAIN_TYPE"
|
echo " local-zone: local always_nxdomain"
|
||||||
echo " domain-insecure: local"
|
|
||||||
echo " private-domain: local"
|
|
||||||
echo
|
echo
|
||||||
} >> $UNBOUND_CONFFILE
|
} >> $UNBOUND_CONFFILE
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue