You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-auth/pambase/files/pambase-20150213-elogind.patch

24 lines
436 B

--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,10 @@
PAMFLAGS += -DHAVE_SYSTEMD=1
endif
+ifeq "$(ELOGIND)" "yes"
+PAMFLAGS += -DHAVE_ELOGIND=1
+endif
+
ifeq "$(GNOME_KEYRING)" "yes"
PAMFLAGS += -DHAVE_GNOME_KEYRING=1
endif
--- a/system-auth.in
+++ b/system-auth.in
@@ -39,3 +39,7 @@
#if HAVE_SYSTEMD
-session optional pam_systemd.so
#endif
+
+#if HAVE_ELOGIND
+-session optional pam_elogind.so
+#endif