summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-04-30 14:03:21 +0000
committerRoy Marples <uberlord@gentoo.org>2007-04-30 14:03:21 +0000
commit282e1c7d181c98faefa20885106e89f1b30d82bc (patch)
treeb17a906bed36a7dfbf685151f3c00ab7f8d33e13 /gnome-base
parentamd64 stable, bug 171021 (diff)
downloadgentoo-2-282e1c7d181c98faefa20885106e89f1b30d82bc.tar.gz
gentoo-2-282e1c7d181c98faefa20885106e89f1b30d82bc.tar.bz2
gentoo-2-282e1c7d181c98faefa20885106e89f1b30d82bc.zip
shadow is a glibc specific thing, fixes -pam for FreeBSD.
(Portage version: 2.1.2.5)
Diffstat (limited to 'gnome-base')
-rw-r--r--gnome-base/gdm/ChangeLog5
-rw-r--r--gnome-base/gdm/gdm-2.18.1.ebuild12
2 files changed, 12 insertions, 5 deletions
diff --git a/gnome-base/gdm/ChangeLog b/gnome-base/gdm/ChangeLog
index 95d90aea34e5..036459c31569 100644
--- a/gnome-base/gdm/ChangeLog
+++ b/gnome-base/gdm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for gnome-base/gdm
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v 1.205 2007/04/21 00:08:46 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v 1.206 2007/04/30 14:03:21 uberlord Exp $
+
+ 30 Apr 2007; Roy Marples <uberlord@gentoo.org> gdm-2.18.1.ebuild:
+ shadow is a glibc specific thing, fixes -pam for FreeBSD.
*gdm-2.18.1 (20 Apr 2007)
diff --git a/gnome-base/gdm/gdm-2.18.1.ebuild b/gnome-base/gdm/gdm-2.18.1.ebuild
index 792b25482218..e37c9bc43240 100644
--- a/gnome-base/gdm/gdm-2.18.1.ebuild
+++ b/gnome-base/gdm/gdm-2.18.1.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-base/gdm/gdm-2.18.1.ebuild,v 1.1 2007/04/21 00:08:46 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-2.18.1.ebuild,v 1.2 2007/04/30 14:03:21 uberlord Exp $
inherit eutils pam gnome2
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.gnome.org/projects/gdm/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="accessibility branding ipv6 pam selinux tcpd xinerama"
+IUSE="accessibility branding ipv6 pam selinux tcpd xinerama elibc_glibc"
# Name of the tarball with gentoo specific files
GDM_EXTRA="${PN}-2.8-gentoo-files-r2"
@@ -23,7 +23,7 @@ RDEPEND="pam? (
virtual/pam
sys-auth/consolekit
)
- !pam? ( sys-apps/shadow )
+ !pam? ( elibc_glibc? ( sys-apps/shadow ) )
>=dev-libs/glib-2.8
>=x11-libs/gtk+-2.6
>=x11-libs/pango-1.3
@@ -77,8 +77,12 @@ pkg_setup() {
--with-console-kit=yes"
else
G2CONF="${G2CONF} --enable-console-helper=no \
- --enable-authentication-scheme=shadow \
--with-console-kit=no"
+ if use elibc_glibc; then
+ G2CONF="${G2CONF} --enable-authentication-scheme=shadow"
+ else
+ G2CONF="${G2CONF} --enable-authentication-scheme=crypt"
+ fi
fi
enewgroup gdm