Added pam eclass and create pam config file when `pam` flag is enabled.
`vlock` command needs it to work correctly.
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Closes: https://bugs.gentoo.org/690746
Signed-off-by: Takeshi Ito <85nrdzgv@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12480
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
EAPI=7
+inherit pam
+
if [[ ${PV} == "9999" ]] ; then
inherit autotools git-r3
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git"
default
docinto html
dodoc docs/doc/*.html
+ use pam && pamd_mimic_system vlock auth account
}