1 |
axs 14/02/03 18:19:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: slim-1.3.6-r4.ebuild |
5 |
Removed: slim-1.3.5-r4.ebuild |
6 |
Log: |
7 |
install slimlock suid, bug 500204; remove old |
8 |
|
9 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED) |
10 |
|
11 |
Revision Changes Path |
12 |
1.136 x11-misc/slim/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/ChangeLog?rev=1.136&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/ChangeLog?rev=1.136&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/ChangeLog?r1=1.135&r2=1.136 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v |
21 |
retrieving revision 1.135 |
22 |
retrieving revision 1.136 |
23 |
diff -u -r1.135 -r1.136 |
24 |
--- ChangeLog 22 Dec 2013 13:23:30 -0000 1.135 |
25 |
+++ ChangeLog 3 Feb 2014 18:19:16 -0000 1.136 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for x11-misc/slim |
28 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v 1.135 2013/12/22 13:23:30 ago Exp $ |
30 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v 1.136 2014/02/03 18:19:16 axs Exp $ |
32 |
+ |
33 |
+*slim-1.3.6-r4 (03 Feb 2014) |
34 |
+ |
35 |
+ 03 Feb 2014; Ian Stakenvicius (_AxS_) <axs@g.o> |
36 |
+ +files/slim-1.3.6-fix-slimlock-nopam-v2.patch, +slim-1.3.6-r4.ebuild, |
37 |
+ -files/slim-1.3.4-config.diff, -files/slim-1.3.5-glibc217-crypt.patch, |
38 |
+ -files/slim-1.3.5-honour-cflags.patch, |
39 |
+ -files/slim-1.3.5-systemd-service.patch, -slim-1.3.5-r4.ebuild: |
40 |
+ install slimlock suid, bug 500204; remove old |
41 |
|
42 |
22 Dec 2013; Agostino Sarubbo <ago@g.o> slim-1.3.6-r3.ebuild: |
43 |
Stable for ppc64, wrt bug #491492 |
44 |
|
45 |
|
46 |
|
47 |
1.1 x11-misc/slim/slim-1.3.6-r4.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/slim-1.3.6-r4.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/slim-1.3.6-r4.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: slim-1.3.6-r4.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2014 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/slim-1.3.6-r4.ebuild,v 1.1 2014/02/03 18:19:16 axs Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
CMAKE_MIN_VERSION="2.8.8" |
61 |
inherit cmake-utils pam eutils systemd versionator |
62 |
|
63 |
DESCRIPTION="Simple Login Manager" |
64 |
HOMEPAGE="http://slim.berlios.de" |
65 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
70 |
IUSE="branding pam consolekit" |
71 |
REQUIRED_USE="consolekit? ( pam )" |
72 |
|
73 |
RDEPEND="x11-libs/libXmu |
74 |
x11-libs/libX11 |
75 |
x11-libs/libXpm |
76 |
x11-libs/libXft |
77 |
media-libs/libpng:0= |
78 |
virtual/jpeg:= |
79 |
x11-apps/sessreg |
80 |
consolekit? ( sys-auth/consolekit |
81 |
sys-apps/dbus ) |
82 |
pam? ( virtual/pam |
83 |
!x11-misc/slimlock )" |
84 |
DEPEND="${RDEPEND} |
85 |
virtual/pkgconfig |
86 |
x11-proto/xproto" |
87 |
PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )" |
88 |
|
89 |
src_prepare() { |
90 |
# Our Gentoo-specific config changes |
91 |
epatch "${FILESDIR}"/${P}-config.diff |
92 |
epatch "${FILESDIR}"/${PN}-1.3.5-arm.patch |
93 |
epatch "${FILESDIR}"/${P}-honour-cflags.patch |
94 |
epatch "${FILESDIR}"/${P}-libslim-cmake-fixes.patch |
95 |
epatch "${FILESDIR}"/${PN}-1.3.5-disable-ck-for-systemd.patch |
96 |
epatch "${FILESDIR}"/${P}-strip-systemd-unit-install.patch |
97 |
epatch "${FILESDIR}"/${P}-systemd-session.patch |
98 |
epatch "${FILESDIR}"/${P}-session-chooser.patch |
99 |
epatch "${FILESDIR}"/${P}-fix-slimlock-nopam-v2.patch |
100 |
|
101 |
if use elibc_FreeBSD; then |
102 |
sed -i -e 's/"-DHAVE_SHADOW"/"-DNEEDS_BASENAME"/' CMakeLists.txt \ |
103 |
|| die |
104 |
fi |
105 |
|
106 |
if use branding; then |
107 |
sed -i -e 's/ default/ slim-gentoo-simple/' slim.conf || die |
108 |
fi |
109 |
} |
110 |
|
111 |
src_configure() { |
112 |
mycmakeargs=( |
113 |
$(cmake-utils_use pam USE_PAM) |
114 |
$(cmake-utils_use consolekit USE_CONSOLEKIT) |
115 |
) |
116 |
|
117 |
cmake-utils_src_configure |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
cmake-utils_src_install |
122 |
|
123 |
if use pam ; then |
124 |
pamd_mimic system-local-login slim auth account session |
125 |
pamd_mimic system-local-login slimlock auth |
126 |
fi |
127 |
|
128 |
systemd_dounit slim.service |
129 |
|
130 |
insinto /usr/share/slim |
131 |
newins "${FILESDIR}/Xsession-r3" Xsession |
132 |
|
133 |
insinto /etc/logrotate.d |
134 |
newins "${FILESDIR}/slim.logrotate" slim |
135 |
|
136 |
dodoc xinitrc.sample ChangeLog README TODO THEMES |
137 |
} |
138 |
|
139 |
pkg_postinst() { |
140 |
# note, $REPLACING_VERSIONS will always contain 0 or 1 PV's for slim |
141 |
if [[ -z ${REPLACING_VERSIONS} ]]; then |
142 |
elog |
143 |
elog "The configuration file is located at /etc/slim.conf." |
144 |
elog |
145 |
elog "If you wish ${PN} to start automatically, set DISPLAYMANAGER=\"${PN}\" " |
146 |
elog "in /etc/conf.d/xdm and run \"rc-update add xdm default\"." |
147 |
fi |
148 |
if ! version_is_at_least "1.3.2-r7" "${REPLACING_VERSIONS:-1.0}" ; then |
149 |
elog |
150 |
elog "By default, ${PN} is set up to do proper X session selection, including ~/.xsession" |
151 |
elog "support, as well as selection between sessions available in" |
152 |
elog "/etc/X11/Sessions/ at login by pressing [F1]." |
153 |
elog |
154 |
elog "The XSESSION environment variable is still supported as a default" |
155 |
elog "if no session has been specified by the user." |
156 |
elog |
157 |
elog "If you want to use .xinitrc in the user's home directory for session" |
158 |
elog "management instead, see README and xinitrc.sample in" |
159 |
elog "/usr/share/doc/${PF} and change your login_cmd in /etc/slim.conf" |
160 |
elog "accordingly." |
161 |
elog |
162 |
ewarn "Please note that slim supports consolekit directly. Please do not use any " |
163 |
ewarn "old work-arounds (including calls to 'ck-launch-session' in xinitrc scripts)" |
164 |
ewarn "and enable USE=\"consolekit\" instead." |
165 |
ewarn |
166 |
fi |
167 |
if ! use pam; then |
168 |
elog "You have merged ${PN} without USE=\"pam\", this will cause ${PN} to fall back to" |
169 |
elog "the console when restarting your window manager. If this is not desired, then" |
170 |
elog "please remerge ${PN} with USE=\"pam\"" |
171 |
elog |
172 |
fi |
173 |
} |