diff options
author | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2021-10-16 14:12:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-16 14:12:47 +0200 |
commit | 4b603bc0a229ee286d34cb5b06b1b149367dd1e8 (patch) | |
tree | 1feb43b08ef55d059768b28a20f500db9c265637 /net | |
parent | e475df4b7972da5045fed6ae1996be9b0e86092c (diff) | |
parent | 2b3b2ffe42cab96504e4e56683317ff1cb6dc4f6 (diff) |
Merge pull request #16890 from paper42/knot-resolver-5.4.2
knot-resolver: update to 5.4.2
Diffstat (limited to 'net')
-rw-r--r-- | net/knot-resolver/Makefile | 6 | ||||
-rw-r--r-- | net/knot-resolver/patches/030-fix-policy-hack.patch | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/net/knot-resolver/Makefile b/net/knot-resolver/Makefile index 23d6f4423..ca96f48c6 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.4.0 +PKG_VERSION:=5.4.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://secure.nic.cz/files/knot-resolver -PKG_HASH:=534af671b98433b23b57039acc9d7d3c100a4888a8cf9aeba36161774ca0815e +PKG_HASH:=ea6a219571a752056669bae3f2c0c3ed0bec58af5ab832d505a3ec9c4063a58b PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com> PKG_LICENSE:=GPL-3.0-later @@ -56,7 +56,6 @@ define Package/knot-resolver/config source "$(SOURCE)/Config.in" endef -# kres_gen_test breaks on cross, fix is already upstream MESON_ARGS+= \ $(if $(CONFIG_PACKAGE_knot-resolver_dnstap), -Ddnstap=enabled,-Ddnstap=disabled) \ -Dcapng=disabled \ @@ -69,7 +68,6 @@ MESON_ARGS+= \ -Dkeyfile_default=/etc/knot-resolver/root.keys \ -Dprefix=/usr \ -Dunit_tests=disabled \ - -Dkres_gen_test=false \ -Dutils=disabled define Package/knot-resolver/install diff --git a/net/knot-resolver/patches/030-fix-policy-hack.patch b/net/knot-resolver/patches/030-fix-policy-hack.patch index 88f5c06d1..f7d46bafd 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 -@@ -984,7 +984,7 @@ policy.layer = { +@@ -1000,7 +1000,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) |