1 |
commit: a77265a69accb9701be0a9f85eef9e14cb81a711 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 25 21:49:29 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 21:49:50 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a77265a6 |
7 |
|
8 |
net-misc/libreswan: fix WatchDogSec with systemd disabled |
9 |
|
10 |
Package-Manager: portage-2.3.0_p22 |
11 |
|
12 |
net-misc/libreswan/libreswan-3.18.ebuild | 1 + |
13 |
net-misc/libreswan/libreswan-9999.ebuild | 1 + |
14 |
2 files changed, 2 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/libreswan/libreswan-3.18.ebuild b/net-misc/libreswan/libreswan-3.18.ebuild |
17 |
index 847bec8..4996606 100644 |
18 |
--- a/net-misc/libreswan/libreswan-3.18.ebuild |
19 |
+++ b/net-misc/libreswan/libreswan-3.18.ebuild |
20 |
@@ -72,6 +72,7 @@ src_configure() { |
21 |
export USE_LIBCURL=$(usetf curl) |
22 |
export USE_LDAP=$(usetf ldap) |
23 |
export USE_SYSTEMD_WATCHDOG=$(usetf systemd) |
24 |
+ export SD_WATCHDOGSEC=$(usex systemd 200 0) |
25 |
export USE_XAUTHPAM=$(usetf pam) |
26 |
export DEBUG_CFLAGS= |
27 |
export OPTIMIZE_CFLAGS= |
28 |
|
29 |
diff --git a/net-misc/libreswan/libreswan-9999.ebuild b/net-misc/libreswan/libreswan-9999.ebuild |
30 |
index 847bec8..4996606 100644 |
31 |
--- a/net-misc/libreswan/libreswan-9999.ebuild |
32 |
+++ b/net-misc/libreswan/libreswan-9999.ebuild |
33 |
@@ -72,6 +72,7 @@ src_configure() { |
34 |
export USE_LIBCURL=$(usetf curl) |
35 |
export USE_LDAP=$(usetf ldap) |
36 |
export USE_SYSTEMD_WATCHDOG=$(usetf systemd) |
37 |
+ export SD_WATCHDOGSEC=$(usex systemd 200 0) |
38 |
export USE_XAUTHPAM=$(usetf pam) |
39 |
export DEBUG_CFLAGS= |
40 |
export OPTIMIZE_CFLAGS= |