commit:     a2aa97bc2228233f5ab69c437a5f7d6a40cec05b
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sun Feb 21 18:12:01 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Mar  2 19:23:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2aa97bc

kde-base/kdebase-pam: Add pam_kwallet.so entries

Package-Manager: portage-2.2.27

 kde-base/kdebase-pam/files/kde.pam-10      | 14 ++++++++++++++
 kde-base/kdebase-pam/kdebase-pam-10.ebuild | 25 +++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/kde-base/kdebase-pam/files/kde.pam-10 
b/kde-base/kdebase-pam/files/kde.pam-10
new file mode 100644
index 0000000..d7b2b64
--- /dev/null
+++ b/kde-base/kdebase-pam/files/kde.pam-10
@@ -0,0 +1,14 @@
+#%PAM-1.0
+
+auth       required     pam_nologin.so
+
+auth       include      system-local-login
+
+account    include      system-local-login
+
+password   include      system-local-login
+
+session    include      system-local-login
+
+-auth      optional     pam_kwallet.so kdehome=.kde4
+-session   optional     pam_kwallet.so

diff --git a/kde-base/kdebase-pam/kdebase-pam-10.ebuild 
b/kde-base/kdebase-pam/kdebase-pam-10.ebuild
new file mode 100644
index 0000000..22ca965
--- /dev/null
+++ b/kde-base/kdebase-pam/kdebase-pam-10.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit pam
+
+DESCRIPTION="pam.d files used by several KDE components"
+HOMEPAGE="https://www.kde.org";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="virtual/pam"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_install() {
+       newpamd "${FILESDIR}/kde.pam-${PV}" kde
+       newpamd "${FILESDIR}/kde-np.pam-9" kde-np
+}

Reply via email to