1 |
angelos 07/10/27 18:02:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: slim-1.3.0-r1.ebuild |
5 |
Log: |
6 |
Fixed PAM handling, bug 197225 by Florian Wagner |
7 |
(Portage version: 2.1.3.16) |
8 |
|
9 |
Revision Changes Path |
10 |
1.9 x11-misc/slim/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/slim/ChangeLog?rev=1.9&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/slim/ChangeLog?rev=1.9&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/slim/ChangeLog?r1=1.8&r2=1.9 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v |
19 |
retrieving revision 1.8 |
20 |
retrieving revision 1.9 |
21 |
diff -u -r1.8 -r1.9 |
22 |
--- ChangeLog 8 Sep 2007 12:08:46 -0000 1.8 |
23 |
+++ ChangeLog 27 Oct 2007 18:02:37 -0000 1.9 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for x11-misc/slim |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v 1.8 2007/09/08 12:08:46 nixnut Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v 1.9 2007/10/27 18:02:37 angelos Exp $ |
29 |
+ |
30 |
+*slim-1.3.0-r1 (27 Oct 2007) |
31 |
+ |
32 |
+ 27 Oct 2007; Christoph Mende <angelos@g.o> +slim-1.3.0-r1.ebuild: |
33 |
+ Fixed PAM handling, bug 197225 by Florian Wagner |
34 |
|
35 |
08 Sep 2007; nixnut <nixnut@g.o> slim-1.3.0.ebuild: |
36 |
Added ~ppc wrt bug 188305 |
37 |
|
38 |
|
39 |
|
40 |
1.1 x11-misc/slim/slim-1.3.0-r1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/slim/slim-1.3.0-r1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/slim/slim-1.3.0-r1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: slim-1.3.0-r1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $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 $ |
50 |
|
51 |
inherit toolchain-funcs |
52 |
|
53 |
DESCRIPTION="Simple Login Manager" |
54 |
HOMEPAGE="http://slim.berlios.de" |
55 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
60 |
IUSE="pam" |
61 |
|
62 |
DEPEND="x11-proto/xproto |
63 |
x11-libs/libXmu |
64 |
x11-libs/libX11 |
65 |
x11-libs/libXpm |
66 |
x11-libs/libXft |
67 |
media-libs/libpng |
68 |
media-libs/jpeg |
69 |
pam? ( virtual/pam )" |
70 |
RDEPEND="${DEPEND} |
71 |
media-fonts/corefonts" |
72 |
|
73 |
src_unpack() { |
74 |
unpack ${A} |
75 |
cd "${S}" |
76 |
|
77 |
# respect C[XX]FLAGS, fix crosscompile, |
78 |
# fix linking order for --as-needed" |
79 |
sed -i -e "s:^CXX=.*:CXX=$(tc-getCXX) ${CXXFLAGS}:" \ |
80 |
-e "s:^CC=.*:CC=$(tc-getCC) ${CFLAGS}:" \ |
81 |
-e "s:^MANDIR=.*:MANDIR=/usr/share/man:" \ |
82 |
-e "s:/usr/X11R6:/usr:" \ |
83 |
-e "s:^\t\(.*\)\ \$(LDFLAGS)\ \(.*\):\t\1\ \2\ \$(LDFLAGS):g" \ |
84 |
Makefile || die 'sed failed in Makefile' |
85 |
|
86 |
# Remove all X11R6 references from slim.conf |
87 |
# Set slim to daemon mode as default to stop xdm runscript from throwing errors on stop |
88 |
# Set the default logfile to /dev/null to avoid cluttering up the harddisk |
89 |
# as slim puts a lot of garbage in its logfile |
90 |
sed -i -e 's#X11R6/##g' -e 's#/usr/bin:##' \ |
91 |
-e 's/# daemon/daemon/' \ |
92 |
-e 's#/var/log/slim.log#/dev/null#g' \ |
93 |
slim.conf || die "sed failed in slim.conf" |
94 |
} |
95 |
|
96 |
src_compile() { |
97 |
if use pam ; then |
98 |
emake USE_PAM=1 || die "emake failed." |
99 |
else |
100 |
emake || die "emake failed." |
101 |
fi |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
if use pam ; then |
106 |
emake USE_PAM=1 DESTDIR="${D}" install || die "emake install failed." |
107 |
else |
108 |
emake DESTDIR="${D}" install || die "emake install failed." |
109 |
fi |
110 |
|
111 |
dodoc xinitrc.sample ChangeLog README TODO THEMES |
112 |
} |
113 |
|
114 |
pkg_postinst() { |
115 |
elog |
116 |
elog "The configuration file is located at /etc/slim.conf." |
117 |
elog "If you wish ${PN} to start automatically, set DISPLAYMANAGER=\"${PN}\" " |
118 |
elog "in /etc/conf.d/xdm and run \"rc-update add xdm default\"." |
119 |
elog |
120 |
elog "${PN} uses .xinitrc in the user's home directory and /etc/slim.conf" |
121 |
elog "for session management. For further information, see README and" |
122 |
elog "xinitrc.sample in /usr/share/doc/${PF}." |
123 |
elog |
124 |
if use pam ; then |
125 |
elog "You need to create /etc/pam.d/slim for SLiM to work." |
126 |
elog "A simple symlink to /etc/pam.d/system-auth is enough," |
127 |
elog "if you don't need any extra configuration" |
128 |
elog |
129 |
fi |
130 |
} |
131 |
|
132 |
|
133 |
|
134 |
-- |
135 |
gentoo-commits@g.o mailing list |