You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
576 B
29 lines
576 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="7"
|
|
|
|
inherit pam
|
|
|
|
DESCRIPTION="pam.d files used by several Trinity components"
|
|
HOMEPAGE="https://trinitydesktop.org/"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
|
|
IUSE="elogind"
|
|
|
|
DEPEND="sys-libs/pam"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}"
|
|
|
|
src_install() {
|
|
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
|
|
}
|