From 5c0c407e4696a7d253b85b8f17c6810d6fe2f6f8 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Tue, 20 Dec 2022 10:05:04 -0300 Subject: [PATCH] libreswan: set DNSSEC_ROOTKEY_FILE, LINUX_VARIANT Libreswan will set DEFAULT_DNSSEC_ROOTKEY_FILE from the LINUX_VARIANT variable, which is taken from the ID field in /etc/os-release. This points to the host file, which is wrong. Set both variables when calling make. Signed-off-by: Eneas U de Queiroz --- net/libreswan/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/libreswan/Makefile b/net/libreswan/Makefile index bcc4c0f415..cbbb33cadf 100644 --- a/net/libreswan/Makefile +++ b/net/libreswan/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libreswan PKG_VERSION:=4.9 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://download.libreswan.org/ @@ -84,9 +84,11 @@ MAKE_FLAGS+= \ PREFIX="/usr" \ FINALRUNDIR="/var/run/pluto" \ FINALNSSDIR="/etc/ipsec.d" \ + DEFAULT_DNSSEC_ROOTKEY_FILE=/etc/unbound/root.key \ MODPROBEARGS="-q" \ OSDEP=linux \ BUILDENV=linux \ + LINUX_VARIANT="openwrt" \ ARCH="$(LINUX_KARCH)" \ define Build/Prepare -- 2.30.2