summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-14 15:09:12 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-14 15:09:12 +0000
commit2e4f2e1d582a93f6204936644823c5a3f0135050 (patch)
tree6bc3337f3572e390bd244eca0fd8fded3e7a119a /x11-misc
parentFix dependencies with USE="postgres". (diff)
downloadgentoo-2-2e4f2e1d582a93f6204936644823c5a3f0135050.tar.gz
gentoo-2-2e4f2e1d582a93f6204936644823c5a3f0135050.tar.bz2
gentoo-2-2e4f2e1d582a93f6204936644823c5a3f0135050.zip
Install as setuid with USE="-pam" wrt #290315.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xlockmore/ChangeLog6
-rw-r--r--x11-misc/xlockmore/xlockmore-5.29.1.ebuild9
2 files changed, 12 insertions, 3 deletions
diff --git a/x11-misc/xlockmore/ChangeLog b/x11-misc/xlockmore/ChangeLog
index b348896bf2e2..f54d991204ec 100644
--- a/x11-misc/xlockmore/ChangeLog
+++ b/x11-misc/xlockmore/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/xlockmore
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v 1.80 2010/02/14 14:54:59 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v 1.81 2010/02/14 15:09:12 ssuominen Exp $
+
+ 14 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
+ xlockmore-5.29.1.ebuild:
+ Install as setuid with USE="-pam" wrt #290315.
*xlockmore-5.29.1 (14 Feb 2010)
diff --git a/x11-misc/xlockmore/xlockmore-5.29.1.ebuild b/x11-misc/xlockmore/xlockmore-5.29.1.ebuild
index f6b185edd0ea..104e8d7ac3dc 100644
--- a/x11-misc/xlockmore/xlockmore-5.29.1.ebuild
+++ b/x11-misc/xlockmore/xlockmore-5.29.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/xlockmore-5.29.1.ebuild,v 1.1 2010/02/14 14:54:59 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/xlockmore-5.29.1.ebuild,v 1.2 2010/02/14 15:09:12 ssuominen Exp $
EAPI=2
inherit flag-o-matic pam
@@ -72,7 +72,12 @@ src_install() {
|| die "einstall failed"
pamd_mimic_system xlock auth
- use pam && fperms 755 /usr/bin/xlock
+
+ if use pam; then
+ fperms 755 /usr/bin/xlock
+ else
+ fperms 4755 /usr/bin/xlock
+ fi
dohtml docs/xlock.html
dodoc README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO}