mirror of
https://github.com/coolsnowwolf/packages
synced 2025-01-07 07:07:02 +08:00
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 <cotequeiroz@gmail.com>
This commit is contained in:
parent
420b42fab9
commit
3914f223c4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user