Mercurial > vanilla
changeset 824:5e649f3517b3
security/polkit: use a custom PAM file as recommended per LFS
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 21 Aug 2019 19:33:45 +0200 |
parents | fdac78a6d06e |
children | 69d38e0ac191 |
files | security/polkit/polkit-1 security/polkit/polkit.sh |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security/polkit/polkit-1 Wed Aug 21 19:33:45 2019 +0200 @@ -0,0 +1,7 @@ +# +# /etc/pam.d/polkit-1 -- PAM configuration file for polkit +# +auth include system-auth +account include system-account +password include system-password +session include system-session
--- a/security/polkit/polkit.sh Wed Aug 21 19:33:19 2019 +0200 +++ b/security/polkit/polkit.sh Wed Aug 21 19:33:45 2019 +0200 @@ -67,6 +67,10 @@ make install DESTDIR=$DESTDIR find $DESTDIR -type f -name "*.la" -delete + if [ "$PAM" = "yes" ]; then + install -Dm0644 ../polkit-1 $DESTDIR/etc/pam.d/polkit-1 + fi + cd .. rm -rf $PKGNAME-$PKGVERSION }