From: Mike Gilbert Date: Thu, 25 Aug 2016 21:49:29 +0000 (-0400) Subject: net-misc/libreswan: fix WatchDogSec with systemd disabled X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a77265a69accb9701be0a9f85eef9e14cb81a711;p=gentoo.git net-misc/libreswan: fix WatchDogSec with systemd disabled Package-Manager: portage-2.3.0_p22 --- diff --git a/net-misc/libreswan/libreswan-3.18.ebuild b/net-misc/libreswan/libreswan-3.18.ebuild index 847bec8c6629..499660655c49 100644 --- a/net-misc/libreswan/libreswan-3.18.ebuild +++ b/net-misc/libreswan/libreswan-3.18.ebuild @@ -72,6 +72,7 @@ src_configure() { export USE_LIBCURL=$(usetf curl) export USE_LDAP=$(usetf ldap) export USE_SYSTEMD_WATCHDOG=$(usetf systemd) + export SD_WATCHDOGSEC=$(usex systemd 200 0) export USE_XAUTHPAM=$(usetf pam) export DEBUG_CFLAGS= export OPTIMIZE_CFLAGS= diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-9999.ebuild index 847bec8c6629..499660655c49 100644 --- a/net-misc/libreswan/libreswan-9999.ebuild +++ b/net-misc/libreswan/libreswan-9999.ebuild @@ -72,6 +72,7 @@ src_configure() { export USE_LIBCURL=$(usetf curl) export USE_LDAP=$(usetf ldap) export USE_SYSTEMD_WATCHDOG=$(usetf systemd) + export SD_WATCHDOGSEC=$(usex systemd 200 0) export USE_XAUTHPAM=$(usetf pam) export DEBUG_CFLAGS= export OPTIMIZE_CFLAGS=