From adcaa7de9a9e497c37c9279cf2597fb1b90c9fab Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Wed, 14 Jan 2015 02:42:55 +0200 Subject: Add pambase to kogaion desk --- .../pambase/files/pambase-20120417-systemd-2.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sys-auth/pambase/files/pambase-20120417-systemd-2.patch (limited to 'sys-auth/pambase/files/pambase-20120417-systemd-2.patch') diff --git a/sys-auth/pambase/files/pambase-20120417-systemd-2.patch b/sys-auth/pambase/files/pambase-20120417-systemd-2.patch new file mode 100644 index 00000000..047fb41c --- /dev/null +++ b/sys-auth/pambase/files/pambase-20120417-systemd-2.patch @@ -0,0 +1,29 @@ +http://bugs.gentoo.org/372229 + +--- Makefile ++++ Makefile +@@ -28,6 +28,10 @@ + PAMFLAGS += -DHAVE_CONSOLEKIT=1 + endif + ++ifeq "$(SYSTEMD)" "yes" ++PAMFLAGS += -DHAVE_SYSTEMD=1 ++endif ++ + ifeq "$(GNOME_KEYRING)" "yes" + PAMFLAGS += -DHAVE_GNOME_KEYRING=1 + endif +--- system-login.in ++++ system-login.in +@@ -45,7 +45,10 @@ + #endif + session include system-auth + #if HAVE_CONSOLEKIT +-session optional pam_ck_connector.so nox11 ++-session optional pam_ck_connector.so nox11 ++#endif ++#if HAVE_SYSTEMD ++-session optional pam_systemd.so + #endif + #if HAVE_GNOME_KEYRING + session optional pam_gnome_keyring.so auto_start -- cgit v1.2.3