|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/slim-1.3.0-r1.ebuild,v 1.1 2007/10/27 18:02:37 angelos Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/slim-1.3.0-r1.ebuild,v 1.1 2007/10/27 18:02:37 angelos Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit toolchain-funcs |
5 |
inherit toolchain-funcs pam |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="Simple Login Manager" |
7 |
DESCRIPTION="Simple Login Manager" |
| 8 |
HOMEPAGE="http://slim.berlios.de" |
8 |
HOMEPAGE="http://slim.berlios.de" |
|
Lines 58-63
Link Here
|
| 58 |
src_install() { |
58 |
src_install() { |
| 59 |
if use pam ; then |
59 |
if use pam ; then |
| 60 |
emake USE_PAM=1 DESTDIR="${D}" install || die "emake install failed." |
60 |
emake USE_PAM=1 DESTDIR="${D}" install || die "emake install failed." |
|
|
61 |
pamd_mimic_system slim auth account password session |
| 61 |
else |
62 |
else |
| 62 |
emake DESTDIR="${D}" install || die "emake install failed." |
63 |
emake DESTDIR="${D}" install || die "emake install failed." |
| 63 |
fi |
64 |
fi |
|
Lines 75-84
Link Here
|
| 75 |
elog "for session management. For further information, see README and" |
76 |
elog "for session management. For further information, see README and" |
| 76 |
elog "xinitrc.sample in /usr/share/doc/${PF}." |
77 |
elog "xinitrc.sample in /usr/share/doc/${PF}." |
| 77 |
elog |
78 |
elog |
| 78 |
if use pam ; then |
|
|
| 79 |
elog "You need to create /etc/pam.d/slim for SLiM to work." |
| 80 |
elog "A simple symlink to /etc/pam.d/system-auth is enough," |
| 81 |
elog "if you don't need any extra configuration" |
| 82 |
elog |
| 83 |
fi |
| 84 |
} |
79 |
} |