summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-08-25 17:49:29 -0400
committerMike Gilbert <floppym@gentoo.org>2016-08-25 17:49:50 -0400
commita77265a69accb9701be0a9f85eef9e14cb81a711 (patch)
tree3299a6b98b9eda03c638400f63f68b94fecf3977 /net-misc
parentnet-fs/sshfs: moved from sys-fs/sshfs (diff)
downloadgentoo-a77265a69accb9701be0a9f85eef9e14cb81a711.tar.gz
gentoo-a77265a69accb9701be0a9f85eef9e14cb81a711.tar.bz2
gentoo-a77265a69accb9701be0a9f85eef9e14cb81a711.zip
net-misc/libreswan: fix WatchDogSec with systemd disabled
Package-Manager: portage-2.3.0_p22
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/libreswan/libreswan-3.18.ebuild1
-rw-r--r--net-misc/libreswan/libreswan-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
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=