kde-base/kdebase-pam: Add pam_kwallet.so entries
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Sun, 21 Feb 2016 18:12:01 +0000 (19:12 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 2 Mar 2016 19:23:17 +0000 (06:23 +1100)
Package-Manager: portage-2.2.27

kde-base/kdebase-pam/files/kde.pam-10 [new file with mode: 0644]
kde-base/kdebase-pam/kdebase-pam-10.ebuild [new file with mode: 0644]

diff --git a/kde-base/kdebase-pam/files/kde.pam-10 b/kde-base/kdebase-pam/files/kde.pam-10
new file mode 100644 (file)
index 0000000..d7b2b64
--- /dev/null
@@ -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 (file)
index 0000000..22ca965
--- /dev/null
@@ -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
+}