From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1D2C21392EF for ; Thu, 13 Mar 2014 14:12:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7172E0A45; Thu, 13 Mar 2014 14:12:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 723BBE0A45 for ; Thu, 13 Mar 2014 14:12:53 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89A2333FBFD for ; Thu, 13 Mar 2014 14:12:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 452B51824A for ; Thu, 13 Mar 2014 14:12:51 +0000 (UTC) From: "Samuli Suominen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Samuli Suominen" Message-ID: <1394718747.c1058bd8ccde0c56454a48339e9afb7a6e7fa80f.ssuominen@gentoo> Subject: [gentoo-commits] proj/pambase:master commit in: / X-VCS-Repository: proj/pambase X-VCS-Files: Makefile system-auth.in X-VCS-Directories: / X-VCS-Committer: ssuominen X-VCS-Committer-Name: Samuli Suominen X-VCS-Revision: c1058bd8ccde0c56454a48339e9afb7a6e7fa80f X-VCS-Branch: master Date: Thu, 13 Mar 2014 14:12:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9e382336-fc89-4cad-a71d-a3379551d02f X-Archives-Hash: 910268d13b3056487b033e0444e71f96 commit: c1058bd8ccde0c56454a48339e9afb7a6e7fa80f Author: Samuli Suominen gentoo org> AuthorDate: Thu Mar 13 13:52:27 2014 +0000 Commit: Samuli Suominen gentoo org> CommitDate: Thu Mar 13 13:52:27 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pambase.git;a=commit;h=c1058bd8 Import -systemd.patch and -systemd-auth.patch from gentoo-x86, see both bugs #372229 and #485470 --- Makefile | 4 ++++ system-auth.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 7d3e22a..ec5d240 100644 --- a/Makefile +++ b/Makefile @@ -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