diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2014-03-13 15:52:27 +0200 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2014-03-13 15:52:27 +0200 |
commit | c1058bd8ccde0c56454a48339e9afb7a6e7fa80f (patch) | |
tree | 44f60d5a971f8f05f335033f7a4f9f855ea13552 | |
parent | Add pam.d files for login, passwd and su. (diff) | |
download | pambase-c1058bd8ccde0c56454a48339e9afb7a6e7fa80f.tar.gz pambase-c1058bd8ccde0c56454a48339e9afb7a6e7fa80f.tar.bz2 pambase-c1058bd8ccde0c56454a48339e9afb7a6e7fa80f.zip |
Import -systemd.patch and -systemd-auth.patch from gentoo-x86, see both bugs #372229 and #485470
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | system-auth.in | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -28,6 +28,10 @@ ifeq "$(CONSOLEKIT)" "yes" PAMFLAGS += -DHAVE_CONSOLEKIT=1 endif +ifeq "$(SYSTEMD)" "yes" +PAMFLAGS += -DHAVE_SYSTEMD=1 +endif + ifeq "$(GNOME_KEYRING)" "yes" PAMFLAGS += -DHAVE_GNOME_KEYRING=1 endif diff --git a/system-auth.in b/system-auth.in index a80d653..43df701 100644 --- a/system-auth.in +++ b/system-auth.in @@ -35,3 +35,7 @@ password optional pam_permit.so session optional pam_ssh.so #endif #include "system-session.inc" + +#if HAVE_SYSTEMD +-session optional pam_systemd.so +#endif |