From b3ed10f51bb745ce288d1c862898cc91105e04a2 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 1 Apr 2013 23:44:08 +0700 Subject: [PATCH] Updated mate-screensaver SlackBuild to work with PAM Signed-off-by: Willy Sudiarto Raharjo --- testing/mate-screensaver/mate-screensaver.SlackBuild | 3 +++ testing/mate-screensaver/mate-screensaver.pam | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 testing/mate-screensaver/mate-screensaver.pam diff --git a/testing/mate-screensaver/mate-screensaver.SlackBuild b/testing/mate-screensaver/mate-screensaver.SlackBuild index f1ac1bf..a67d97f 100644 --- a/testing/mate-screensaver/mate-screensaver.SlackBuild +++ b/testing/mate-screensaver/mate-screensaver.SlackBuild @@ -116,6 +116,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/etc/pam.d/ +install -m644 $CWD/mate-screensaver.pam $PKG/etc/pam.d/mate-screensaver + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/testing/mate-screensaver/mate-screensaver.pam b/testing/mate-screensaver/mate-screensaver.pam new file mode 100644 index 0000000..6dc5b93 --- /dev/null +++ b/testing/mate-screensaver/mate-screensaver.pam @@ -0,0 +1,2 @@ +#%PAM-1.0 +auth required pam_unix_auth.so