commit:     5930d3b547b79659d32ce3e78d0616fd7b8a281f
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 25 21:28:01 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 21:28:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5930d3b5

net-misc/libreswan: add systemd USE flag

Package-Manager: portage-2.3.0_p22

 net-misc/libreswan/libreswan-3.18.ebuild | 4 +++-
 net-misc/libreswan/libreswan-9999.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-misc/libreswan/libreswan-3.18.ebuild 
b/net-misc/libreswan/libreswan-3.18.ebuild
index 316039d..847bec8 100644
--- a/net-misc/libreswan/libreswan-3.18.ebuild
+++ b/net-misc/libreswan/libreswan-3.18.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://libreswan.org/";
 
 LICENSE="GPL-2 BSD-4 RSA DES"
 SLOT="0"
-IUSE="caps curl dnssec ldap pam"
+IUSE="caps curl dnssec ldap pam systemd"
 
 COMMON_DEPEND="
        dev-libs/gmp:0=
@@ -30,6 +30,7 @@ COMMON_DEPEND="
        dnssec? ( net-dns/unbound net-libs/ldns )
        ldap? ( net-nds/openldap )
        pam? ( sys-libs/pam )
+       systemd? ( sys-apps/systemd:0= )
 "
 DEPEND="${COMMON_DEPEND}
        app-text/docbook-xml-dtd:4.1.2
@@ -70,6 +71,7 @@ src_configure() {
        export USE_LIBCAP_NG=$(usetf caps)
        export USE_LIBCURL=$(usetf curl)
        export USE_LDAP=$(usetf ldap)
+       export USE_SYSTEMD_WATCHDOG=$(usetf systemd)
        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 316039d..847bec8 100644
--- a/net-misc/libreswan/libreswan-9999.ebuild
+++ b/net-misc/libreswan/libreswan-9999.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://libreswan.org/";
 
 LICENSE="GPL-2 BSD-4 RSA DES"
 SLOT="0"
-IUSE="caps curl dnssec ldap pam"
+IUSE="caps curl dnssec ldap pam systemd"
 
 COMMON_DEPEND="
        dev-libs/gmp:0=
@@ -30,6 +30,7 @@ COMMON_DEPEND="
        dnssec? ( net-dns/unbound net-libs/ldns )
        ldap? ( net-nds/openldap )
        pam? ( sys-libs/pam )
+       systemd? ( sys-apps/systemd:0= )
 "
 DEPEND="${COMMON_DEPEND}
        app-text/docbook-xml-dtd:4.1.2
@@ -70,6 +71,7 @@ src_configure() {
        export USE_LIBCAP_NG=$(usetf caps)
        export USE_LIBCURL=$(usetf curl)
        export USE_LDAP=$(usetf ldap)
+       export USE_SYSTEMD_WATCHDOG=$(usetf systemd)
        export USE_XAUTHPAM=$(usetf pam)
        export DEBUG_CFLAGS=
        export OPTIMIZE_CFLAGS=

Reply via email to