mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #13298 from ja-pa/unbound-dnstap
unbound: add option for dnstap support
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=unbound
|
PKG_NAME:=unbound
|
||||||
PKG_VERSION:=1.11.0
|
PKG_VERSION:=1.11.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://nlnetlabs.nl/downloads/unbound
|
PKG_SOURCE_URL:=https://nlnetlabs.nl/downloads/unbound
|
||||||
@@ -29,7 +29,8 @@ PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_libunbound_dnscrypt \
|
|||||||
CONFIG_PACKAGE_libunbound_libevent \
|
CONFIG_PACKAGE_libunbound_libevent \
|
||||||
CONFIG_PACKAGE_libunbound_libpthread \
|
CONFIG_PACKAGE_libunbound_libpthread \
|
||||||
CONFIG_PACKAGE_libunbound_pythonmodule \
|
CONFIG_PACKAGE_libunbound_pythonmodule \
|
||||||
CONFIG_PACKAGE_libunbound_subnet
|
CONFIG_PACKAGE_libunbound_subnet \
|
||||||
|
CONFIG_PACKAGE_libunbound_dnstap
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@@ -66,7 +67,8 @@ define Package/libunbound
|
|||||||
+PACKAGE_libunbound_ipset:libmnl \
|
+PACKAGE_libunbound_ipset:libmnl \
|
||||||
+PACKAGE_libunbound_libevent:libevent2 \
|
+PACKAGE_libunbound_libevent:libevent2 \
|
||||||
+PACKAGE_libunbound_libpthread:libpthread \
|
+PACKAGE_libunbound_libpthread:libpthread \
|
||||||
+PACKAGE_libunbound_pythonmodule:python3-base
|
+PACKAGE_libunbound_pythonmodule:python3-base \
|
||||||
|
+PACKAGE_libunbound_dnstap:libprotobuf-c
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libunbound/description
|
define Package/libunbound/description
|
||||||
@@ -145,6 +147,9 @@ define Package/libunbound/config
|
|||||||
config PACKAGE_libunbound_subnet
|
config PACKAGE_libunbound_subnet
|
||||||
bool "Build with SUBNET cache module support."
|
bool "Build with SUBNET cache module support."
|
||||||
default n
|
default n
|
||||||
|
config PACKAGE_libunbound_dnstap
|
||||||
|
bool "Build with dnstap support."
|
||||||
|
default n
|
||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -171,6 +176,7 @@ CONFIGURE_ARGS += \
|
|||||||
--with-pthreads,--without-pthreads --without-solaris-threads) \
|
--with-pthreads,--without-pthreads --without-solaris-threads) \
|
||||||
$(if $(CONFIG_PACKAGE_libunbound_python),--with-pythonmodule,) \
|
$(if $(CONFIG_PACKAGE_libunbound_python),--with-pythonmodule,) \
|
||||||
$(if $(CONFIG_PACKAGE_libunbound_subnet),--enable-subnet,) \
|
$(if $(CONFIG_PACKAGE_libunbound_subnet),--enable-subnet,) \
|
||||||
|
$(if $(CONFIG_PACKAGE_libunbound_dnstap),--enable-dnstap,) \
|
||||||
|
|
||||||
define Package/unbound-daemon/conffiles
|
define Package/unbound-daemon/conffiles
|
||||||
/etc/config/unbound
|
/etc/config/unbound
|
||||||
|
|||||||
Reference in New Issue
Block a user