unbound: update to 1.1.12
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
This commit is contained in:
parent
fa403a5551
commit
2680dc239a
1 changed files with 18 additions and 11 deletions
|
@ -8,12 +8,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=unbound
|
||||
PKG_VERSION:=1.11.0
|
||||
PKG_RELEASE:=4
|
||||
PKG_VERSION:=1.12.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://nlnetlabs.nl/downloads/unbound
|
||||
PKG_HASH:=9f2f0798f76eb8f30feaeda7e442ceed479bc54db0e3ac19c052d68685e51ef7
|
||||
PKG_HASH:=5b9253a97812f24419bf2e6b3ad28c69287261cf8c8fa79e3e9f6d3bf7ef5835
|
||||
|
||||
PKG_MAINTAINER:=Eric Luehrsen <ericluehrsen@gmail.com>
|
||||
PKG_LICENSE:=BSD-3-Clause
|
||||
|
@ -28,6 +28,7 @@ PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_libunbound_dnscrypt \
|
|||
CONFIG_PACKAGE_libunbound_ipset \
|
||||
CONFIG_PACKAGE_libunbound_libevent \
|
||||
CONFIG_PACKAGE_libunbound_libpthread \
|
||||
CONFIG_PACKAGE_libunbound_nghttp2 \
|
||||
CONFIG_PACKAGE_libunbound_pythonmodule \
|
||||
CONFIG_PACKAGE_libunbound_subnet \
|
||||
CONFIG_PACKAGE_libunbound_dnstap
|
||||
|
@ -41,7 +42,7 @@ define Package/unbound/Default
|
|||
USERID:=unbound:unbound
|
||||
TITLE:=Recursive DNS Server
|
||||
URL:=https://nlnetlabs.nl/projects/unbound/about
|
||||
DEPENDS:=+libopenssl +@OPENSSL_WITH_EC
|
||||
DEPENDS:=+ca-bundle +libopenssl +@OPENSSL_WITH_EC
|
||||
endef
|
||||
|
||||
define Package/unbound-daemon
|
||||
|
@ -66,9 +67,10 @@ define Package/libunbound
|
|||
DEPENDS+=+PACKAGE_libunbound_dnscrypt:libsodium \
|
||||
+PACKAGE_libunbound_ipset:libmnl \
|
||||
+PACKAGE_libunbound_libevent:libevent2 \
|
||||
+PACKAGE_libunbound_libpthread:libpthread \
|
||||
+PACKAGE_libunbound_pythonmodule:python3-base \
|
||||
+PACKAGE_libunbound_dnstap:libprotobuf-c
|
||||
+PACKAGE_libunbound_libpthread:libpthread \
|
||||
+PACKAGE_libunbound_nghttp2:libnghttp2 \
|
||||
+PACKAGE_libunbound_pythonmodule:python3-base \
|
||||
+PACKAGE_libunbound_dnstap:libprotobuf-c
|
||||
endef
|
||||
|
||||
define Package/libunbound/description
|
||||
|
@ -141,6 +143,9 @@ define Package/libunbound/config
|
|||
config PACKAGE_libunbound_libpthread
|
||||
bool "Build with POSIX threading (libpthread) support."
|
||||
default y
|
||||
config PACKAGE_libunbound_nghttp2
|
||||
bool "Build with DNS over HTTPS support (nghttp2 framework)."
|
||||
default n
|
||||
config PACKAGE_libunbound_pythonmodule
|
||||
bool "Build with PYTHON module for prototyping and data analysis."
|
||||
default n
|
||||
|
@ -172,6 +177,8 @@ CONFIGURE_ARGS += \
|
|||
--enable-ipset --with-libmnl="$(STAGING_DIR)/usr",) \
|
||||
$(if $(CONFIG_PACKAGE_libunbound_libevent), \
|
||||
--enable-event-api --with-libevent="$(STAGING_DIR)/usr",--without-libevent) \
|
||||
$(if $(CONFIG_PACKAGE_libunbound_nghttp2), \
|
||||
--with-libnghttp2="$(STAGING_DIR)/usr",) \
|
||||
$(if $(CONFIG_PACKAGE_libunbound_libpthread), \
|
||||
--with-pthreads,--without-pthreads --without-solaris-threads) \
|
||||
$(if $(CONFIG_PACKAGE_libunbound_python),--with-pythonmodule,) \
|
||||
|
@ -200,14 +207,14 @@ define Package/unbound-daemon/install
|
|||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/sbin/unbound $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/etc/unbound
|
||||
$(INSTALL_DATA) \
|
||||
$(INSTALL_CONF) \
|
||||
$(PKG_INSTALL_DIR)/var/lib/unbound/unbound.conf \
|
||||
$(1)/etc/unbound/unbound.conf
|
||||
$(INSTALL_DATA) ./files/root.key $(1)/etc/unbound/root.key
|
||||
$(INSTALL_DATA) ./files/unbound_ext.conf $(1)/etc/unbound/unbound_ext.conf
|
||||
$(INSTALL_DATA) ./files/unbound_srv.conf $(1)/etc/unbound/unbound_srv.conf
|
||||
$(INSTALL_CONF) ./files/unbound_ext.conf $(1)/etc/unbound/unbound_ext.conf
|
||||
$(INSTALL_CONF) ./files/unbound_srv.conf $(1)/etc/unbound/unbound_srv.conf
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_DATA) ./files/unbound.uci $(1)/etc/config/unbound
|
||||
$(INSTALL_CONF) ./files/unbound.uci $(1)/etc/config/unbound
|
||||
$(INSTALL_DIR) $(1)/etc/hotplug.d/ntp
|
||||
$(INSTALL_BIN) ./files/unbound.ntpd $(1)/etc/hotplug.d/ntp/25-unbound
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
|
|
Loading…
Reference in a new issue