summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdebase-pam
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2020-11-28 23:42:49 +0300
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2020-11-29 18:54:38 +0000
commit5ae0925444db04bec4d54c3b50a759101f37469d (patch)
tree11041bdad080f9752519df55b2664741014595bb /trinity-base/tdebase-pam
parent11164d9db700785f36a7f91ed22e71497a1ebd4f (diff)
downloadtde-packaging-gentoo-5ae0925444db04bec4d54c3b50a759101f37469d.tar.gz
tde-packaging-gentoo-5ae0925444db04bec4d54c3b50a759101f37469d.zip
Added the translations directory to the unpack list, as well as commits shortcomings correction
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-base/tdebase-pam')
-rw-r--r--trinity-base/tdebase-pam/files/tde-elogind.pam-712
-rw-r--r--trinity-base/tdebase-pam/tdebase-pam-7.ebuild8
2 files changed, 18 insertions, 2 deletions
diff --git a/trinity-base/tdebase-pam/files/tde-elogind.pam-7 b/trinity-base/tdebase-pam/files/tde-elogind.pam-7
new file mode 100644
index 00000000..9baa77df
--- /dev/null
+++ b/trinity-base/tdebase-pam/files/tde-elogind.pam-7
@@ -0,0 +1,12 @@
+#%PAM-1.0
+
+auth required pam_nologin.so
+auth include system-auth
+
+account include system-auth
+
+password include system-auth
+
+session include system-auth
+
+session optional pam_elogind.so
diff --git a/trinity-base/tdebase-pam/tdebase-pam-7.ebuild b/trinity-base/tdebase-pam/tdebase-pam-7.ebuild
index 95f704e7..6a4d676c 100644
--- a/trinity-base/tdebase-pam/tdebase-pam-7.ebuild
+++ b/trinity-base/tdebase-pam/tdebase-pam-7.ebuild
@@ -9,12 +9,16 @@ HOMEPAGE="https://trinitydesktop.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
-IUSE=""
+IUSE="elogind"
DEPEND="sys-libs/pam"
RDEPEND="${DEPEND}"
src_install() {
- newpamd "${FILESDIR}/tde.pam-${PV}" tde
+ if use elogind ; then
+ newpamd "${FILESDIR}/tde-elogind.pam-${PV}" tde
+ else
+ newpamd "${FILESDIR}/tde.pam-${PV}" tde
+ fi
newpamd "${FILESDIR}/tde-np.pam-6" tde-np
}