summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-03-28 12:34:41 +0000
committerRoy Marples <uberlord@gentoo.org>2007-03-28 12:34:41 +0000
commitbe77a109cd11cfa5ca66f4e5c6e2331e6500e090 (patch)
treeaa5dba9f76618fb4f5eaca33b555ee11527d6ddd /gnome-extra
parentgnome-screensaver>=2.16 doesn't work with OpenPAM and isn't likely to in a wh... (diff)
downloadgentoo-2-be77a109cd11cfa5ca66f4e5c6e2331e6500e090.tar.gz
gentoo-2-be77a109cd11cfa5ca66f4e5c6e2331e6500e090.tar.bz2
gentoo-2-be77a109cd11cfa5ca66f4e5c6e2331e6500e090.zip
-pam really doesn't use PAM. Keyworded ~x86-fbsd.
(Portage version: 2.1.2.2)
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-screensaver/ChangeLog7
-rw-r--r--gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild21
-rw-r--r--gnome-extra/gnome-screensaver/gnome-screensaver-2.18.0.ebuild22
3 files changed, 25 insertions, 25 deletions
diff --git a/gnome-extra/gnome-screensaver/ChangeLog b/gnome-extra/gnome-screensaver/ChangeLog
index 49eb5abeea58..1d95ad6f517d 100644
--- a/gnome-extra/gnome-screensaver/ChangeLog
+++ b/gnome-extra/gnome-screensaver/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for gnome-extra/gnome-screensaver
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/ChangeLog,v 1.36 2007/03/27 21:25:50 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/ChangeLog,v 1.37 2007/03/28 12:34:41 uberlord Exp $
+
+ 28 Mar 2007; Roy Marples <uberlord@gentoo.org>
+ gnome-screensaver-2.16.2.ebuild, gnome-screensaver-2.18.0.ebuild:
+ -pam really doesn't use PAM
+ Keyworded ~x86-fbsd.
*gnome-screensaver-2.18.0 (27 Mar 2007)
diff --git a/gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild b/gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild
index e3168fb33a26..650ced0c45c6 100644
--- a/gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild
+++ b/gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild,v 1.12 2007/03/18 01:25:49 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/gnome-screensaver-2.16.2.ebuild,v 1.13 2007/03/28 12:34:41 uberlord Exp $
inherit gnome2 eutils
@@ -9,7 +9,7 @@ HOMEPAGE="http://live.gnome.org/GnomeScreensaver"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="debug doc xinerama opengl pam"
RDEPEND=">=gnome-base/gconf-2.6.1
@@ -27,8 +27,8 @@ RDEPEND=">=gnome-base/gconf-2.6.1
xinerama? (
x11-libs/libXinerama
x11-proto/xineramaproto )
- pam? ( sys-libs/pam )
- !pam? ( sys-apps/shadow )
+ pam? ( virtual/pam )
+ !pam? ( kernel_linux? ( sys-apps/shadow ) )
x11-libs/libX11
x11-libs/libXext
@@ -51,17 +51,11 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
-
pkg_setup() {
- if use pam ; then
- G2CONF="--enable-pam"
- else
- G2CONF="--with-shadow"
- fi
-
G2CONF="${G2CONF} \
$(use_enable doc docbook-docs) \
$(use_enable debug) \
+ $(use_enable pam) \
$(use_enable xinerama) \
$(use_with opengl gl) \
--enable-locking \
@@ -90,7 +84,10 @@ src_install() {
dodoc ${S}/xss-conversion.txt
- # If you are using shadow, you need to set the setuid bit on the dialog
+ # Non PAM users will need this suid to read the password hashes.
+ # OpenPAM users will probably need this too when
+ # http://bugzilla.gnome.org/show_bug.cgi?id=370847
+ # is fixed.
if ! use pam ; then
fperms +s /usr/libexec/gnome-screensaver-dialog
fi
diff --git a/gnome-extra/gnome-screensaver/gnome-screensaver-2.18.0.ebuild b/gnome-extra/gnome-screensaver/gnome-screensaver-2.18.0.ebuild
index a4b2cb3eecf7..0340c4832f3c 100644
--- a/gnome-extra/gnome-screensaver/gnome-screensaver-2.18.0.ebuild
+++ b/gnome-extra/gnome-screensaver/gnome-screensaver-2.18.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/gnome-screensaver-2.18.0.ebuild,v 1.1 2007/03/27 21:25:50 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/gnome-screensaver-2.18.0.ebuild,v 1.2 2007/03/28 12:34:41 uberlord Exp $
inherit gnome2
@@ -9,8 +9,8 @@ HOMEPAGE="http://live.gnome.org/GnomeScreensaver"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug doc xinerama opengl pam"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug doc xinerama opengl pam kernel_linux"
RDEPEND=">=gnome-base/gconf-2.6.1
>=x11-libs/gtk+-2.8
@@ -30,8 +30,8 @@ RDEPEND=">=gnome-base/gconf-2.6.1
x11-libs/libXinerama
x11-proto/xineramaproto
)
- pam? ( sys-libs/pam )
- !pam? ( sys-apps/shadow )
+ pam? ( virtual/pam )
+ !pam? ( kernel_linux? ( sys-apps/shadow ) )
x11-libs/libX11
x11-libs/libXext
x11-libs/libXrandr
@@ -53,15 +53,10 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
pkg_setup() {
- if use pam ; then
- G2CONF="--enable-pam"
- else
- G2CONF="--with-shadow"
- fi
-
G2CONF="${G2CONF} \
$(use_enable doc docbook-docs) \
$(use_enable debug) \
+ $(use_enable pam) \
$(use_enable xinerama) \
$(use_with opengl gl) \
--enable-locking --with-libexif --with-dpms-ext \
@@ -84,7 +79,10 @@ src_install() {
dodoc ${S}/xss-conversion.txt
- # If you are using shadow, you need to set the setuid bit on the dialog
+ # Non PAM users will need this suid to read the password hashes.
+ # OpenPAM users will probably need this too when
+ # http://bugzilla.gnome.org/show_bug.cgi?id=370847
+ # is fixed.
if ! use pam ; then
fperms +s /usr/libexec/gnome-screensaver-dialog
fi