summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-06-20 07:24:49 +0200
committerHans de Graaff <graaff@gentoo.org>2023-06-20 07:25:50 +0200
commitc99a2499670a3e98c48e2560cd02e27dda31ffc7 (patch)
treee6a5f6e592601cd9f81f037d90770b5f84a78c45 /net-vpn/libreswan
parentdev-perl/WWW-Mechanize: restore Test-Taint test dep (diff)
downloadgentoo-c99a2499670a3e98c48e2560cd02e27dda31ffc7.tar.gz
gentoo-c99a2499670a3e98c48e2560cd02e27dda31ffc7.tar.bz2
gentoo-c99a2499670a3e98c48e2560cd02e27dda31ffc7.zip
net-vpn/libreswan: fix complication with USE=dnssec
Thanks to Alex for the analysis and reporting the bug. Closes: https://bugs.gentoo.org/908822 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'net-vpn/libreswan')
-rw-r--r--net-vpn/libreswan/libreswan-4.11.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-vpn/libreswan/libreswan-4.11.ebuild b/net-vpn/libreswan/libreswan-4.11.ebuild
index c93c077cec25..1077d4072b28 100644
--- a/net-vpn/libreswan/libreswan-4.11.ebuild
+++ b/net-vpn/libreswan/libreswan-4.11.ebuild
@@ -24,7 +24,7 @@ DEPEND="
virtual/libcrypt:=
caps? ( sys-libs/libcap-ng )
curl? ( net-misc/curl )
- dnssec? ( >=net-dns/unbound-1.9.1-r1:= net-libs/ldns:= )
+ dnssec? ( >=net-dns/unbound-1.9.1-r1:= net-libs/ldns:= net-dns/dnssec-root )
ldap? ( net-nds/openldap:= )
pam? ( sys-libs/pam )
seccomp? ( sys-libs/libseccomp )
@@ -66,6 +66,7 @@ src_configure() {
use elibc_musl && append-cflags -DGLIBC_KERN_FLIP_HEADERS
export PREFIX=/usr
+ export DEFAULT_DNSSEC_ROOTKEY_FILE=/etc/dnssec/icannbundle.pem
export FINALEXAMPLECONFDIR=/usr/share/doc/${PF}
export FINALDOCDIR=/usr/share/doc/${PF}/html
export INITSYSTEM=$(usex systemd systemd openrc)