From a1a7a8615c2aaadfa3ef8dbefe2811dce33cd235 Mon Sep 17 00:00:00 2001 From: Jan Pavlinec Date: Thu, 25 Feb 2021 14:46:21 +0100 Subject: [PATCH] knot-resolver: update to version 5.3.0 Changes: - remove arch limit - add libnghttpd2 dependency Signed-off-by: Jan Pavlinec (cherry picked from commit 9103076ec73aa1e941e1316075f8a1e8ca053bfe) --- net/knot-resolver/Makefile | 8 ++++---- net/knot-resolver/patches/030-fix-policy-hack.patch | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/net/knot-resolver/Makefile b/net/knot-resolver/Makefile index 4647549277..ceec3d1d06 100644 --- a/net/knot-resolver/Makefile +++ b/net/knot-resolver/Makefile @@ -10,12 +10,12 @@ PKG_RELRO_FULL:=0 include $(TOPDIR)/rules.mk PKG_NAME:=knot-resolver -PKG_VERSION:=5.2.1 +PKG_VERSION:=5.3.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://secure.nic.cz/files/knot-resolver -PKG_HASH:=aa37b744c400f437acba7a54aebcbdbe722ece743d342cbc39f2dd8087f05826 +PKG_HASH:=fb6cb2c03f4fffbdd8a0098127383d03b14cf7d6abf3a0cd229fb13ff68ee33e PKG_MAINTAINER:=Jan Pavlinec PKG_LICENSE:=GPL-3.0-later @@ -41,10 +41,10 @@ define Package/knot-resolver +luasec \ +luasocket \ +libstdcpp \ + +libnghttp2 \ +lmdb \ PACKAGE_knot-resolver_dnstap:libfstrm \ - PACKAGE_knot-resolver_dnstap:libprotobuf-c \ - @(aarch64||mips64||mips64el||powerpc64||x86_64) + PACKAGE_knot-resolver_dnstap:libprotobuf-c USERID:=kresd=3536:kresd=3536 endef diff --git a/net/knot-resolver/patches/030-fix-policy-hack.patch b/net/knot-resolver/patches/030-fix-policy-hack.patch index 6d013a6ccd..a4eac6c8dc 100644 --- a/net/knot-resolver/patches/030-fix-policy-hack.patch +++ b/net/knot-resolver/patches/030-fix-policy-hack.patch @@ -2,7 +2,7 @@ This patch fixes the problem with forwarding in knot-resolver v4.3.0. It reintroduces a fix which enables policy related hack (knot/knot-resolver#205 (comment 94566) ) --- a/modules/policy/policy.lua +++ b/modules/policy/policy.lua -@@ -985,7 +985,7 @@ policy.layer = { +@@ -982,7 +982,7 @@ policy.layer = { if bit.band(state, bit.bor(kres.FAIL, kres.DONE)) ~= 0 then return state end local qry = req:initial() -- same as :current() but more descriptive return policy.evaluate(policy.rules, req, qry, state) -- 2.30.2