From a68397ff778db68bd4e78ac26880dda959aaaf18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Bo=C5=99ek?= Date: Fri, 6 May 2022 13:18:08 +0200 Subject: [PATCH] knot-resolver: enable dnstap module build by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 'dnstap' module will be built but not loaded by default at runtime (configuration must be provided for it to be loaded). It is still possible to disable dnstap build manually using menuconfig. "The dnstap module supports logging DNS requests and responses to a unix socket in dnstap format using fstrm framing library. This logging is useful if you need effectively log all DNS traffic."[^1] Adds dependency on 'protobuf', 'protobuf-c', 'libfstrm'. Listed packages are available from OpenWrt packages, have uncomplicated manifests and while 'protobuf-c' doesn't have a maintainer since spring 2020, all the packages (including 'protobuf-c') seem to be maintained - the last updates of all of them in autumn 2021. As stated by Vladimír Čunát from Knot Resolver team they build dnstap while packaging for majority of standard Linux distributions. Therefore this change brings us closer to expected default. [^1]: https://knot-resolver.readthedocs.io/en/stable/modules-dnstap.html Signed-off-by: Šimon Bořek --- net/knot-resolver/Config.in | 2 +- net/knot-resolver/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/knot-resolver/Config.in b/net/knot-resolver/Config.in index 082c887616..30bb446c1b 100644 --- a/net/knot-resolver/Config.in +++ b/net/knot-resolver/Config.in @@ -1,7 +1,7 @@ menu "Configuration" config PACKAGE_knot-resolver_dnstap bool "Build with dnstap support" - default n + default y help knot-resolver dnstap module supports logging DNS responses to a unix socket in dnstap format using fstrm framing library. diff --git a/net/knot-resolver/Makefile b/net/knot-resolver/Makefile index 8541bbbd27..e1465bdecf 100644 --- a/net/knot-resolver/Makefile +++ b/net/knot-resolver/Makefile @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=knot-resolver PKG_VERSION:=5.7.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://secure.nic.cz/files/knot-resolver