# HG changeset patch # User David Demelier # Date 1566408825 -7200 # Node ID 5e649f3517b3baf3ea29b7a2b3f95cf0aa9cecfb # Parent fdac78a6d06efb82c16abd5a964427b13540ca9e security/polkit: use a custom PAM file as recommended per LFS diff -r fdac78a6d06e -r 5e649f3517b3 security/polkit/polkit-1 --- /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 diff -r fdac78a6d06e -r 5e649f3517b3 security/polkit/polkit.sh --- 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 }