summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-12-08 11:04:31 +0100
committerJohannes Huber <johu@gentoo.org>2016-12-08 11:05:55 +0100
commit8208b3e5881593eb8d5136b75c859ee75ec78e32 (patch)
treecfd3fadf027af6f1ab610de124edb91b8e7b846b /kde-plasma/kdebase-pam
parentgnome-extra/gnome-tweak-tool: remove unused patches (diff)
downloadgentoo-8208b3e5881593eb8d5136b75c859ee75ec78e32.tar.gz
gentoo-8208b3e5881593eb8d5136b75c859ee75ec78e32.tar.bz2
gentoo-8208b3e5881593eb8d5136b75c859ee75ec78e32.zip
kde-base/kdebase-pam -> kde-plasma/kdebase-pam
Diffstat (limited to 'kde-plasma/kdebase-pam')
-rw-r--r--kde-plasma/kdebase-pam/files/kde-np.pam-1010
-rw-r--r--kde-plasma/kdebase-pam/files/kde.pam-1014
-rw-r--r--kde-plasma/kdebase-pam/kdebase-pam-10.ebuild25
-rw-r--r--kde-plasma/kdebase-pam/metadata.xml8
4 files changed, 57 insertions, 0 deletions
diff --git a/kde-plasma/kdebase-pam/files/kde-np.pam-10 b/kde-plasma/kdebase-pam/files/kde-np.pam-10
new file mode 100644
index 000000000000..f5499e6dc45f
--- /dev/null
+++ b/kde-plasma/kdebase-pam/files/kde-np.pam-10
@@ -0,0 +1,10 @@
+#%PAM-1.0
+
+auth required pam_nologin.so
+auth required pam_permit.so
+
+account include system-local-login
+
+password include system-local-login
+
+session include system-local-login
diff --git a/kde-plasma/kdebase-pam/files/kde.pam-10 b/kde-plasma/kdebase-pam/files/kde.pam-10
new file mode 100644
index 000000000000..d7b2b6499e3e
--- /dev/null
+++ b/kde-plasma/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-plasma/kdebase-pam/kdebase-pam-10.ebuild b/kde-plasma/kdebase-pam/kdebase-pam-10.ebuild
new file mode 100644
index 000000000000..dcafb7407ddc
--- /dev/null
+++ b/kde-plasma/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=6
+
+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 x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="virtual/pam"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_install() {
+ newpamd "${FILESDIR}/kde.pam-${PV}" kde
+ newpamd "${FILESDIR}/kde-np.pam-${PV}" kde-np
+}
diff --git a/kde-plasma/kdebase-pam/metadata.xml b/kde-plasma/kdebase-pam/metadata.xml
new file mode 100644
index 000000000000..2fdbf33d963d
--- /dev/null
+++ b/kde-plasma/kdebase-pam/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+</pkgmetadata>