diff options
author | mid-kid <esteve.varela@gmail.com> | 2017-08-05 11:57:16 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-12 06:57:20 +0700 |
commit | c77a9aa92802b46f3be80151192aeb0683aeeb57 (patch) | |
tree | 0672c6c300dc67acdb7b3025b18c51720f2b3d2c /desktop/i3lock/i3lock.SlackBuild | |
parent | 622b84a27cd8e1cd74d6eb7fef30d3b4d40f3ffe (diff) |
desktop/i3lock: Updated for version 2.9.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/i3lock/i3lock.SlackBuild')
-rw-r--r-- | desktop/i3lock/i3lock.SlackBuild | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/desktop/i3lock/i3lock.SlackBuild b/desktop/i3lock/i3lock.SlackBuild index 2493ae5a9db8c..5fa35477e646d 100644 --- a/desktop/i3lock/i3lock.SlackBuild +++ b/desktop/i3lock/i3lock.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=i3lock -VERSION=${VERSION:-2.9} +VERSION=${VERSION:-2.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,23 +69,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# This patch reverts a commit that prevents the leakage of information through -# composited notifications. -# That commit causes issues (lag, most notably) on certain compositors. -# See the upstream issue: https://github.com/i3/i3lock/issues/128 -# You're welcome to try to comment this patch out and see whether it just works for you, -# or just leave this as is. -patch -p0 -i $CWD/i3lock-2.9-revert-composite.patch - # This patch removes all the PAM-related code, # and checks the password against shadow instead. -patch -p0 -i $CWD/i3lock-2.9-no-pam.patch +patch -p0 -i $CWD/i3lock-2.9.1-no-pam.patch make install DESTDIR=$PKG -# i3lock needs suid to make sure it isn't killed and to read shadow. +# i3lock needs setuid to make sure it isn't killed by the kernel and to read shadow. # Don't worry, the privileges are dropped really soon after starting # and everything else runs as your user. +chown root:shadow $PKG/usr/bin/i3lock chmod 4755 $PKG/usr/bin/i3lock find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |