Gentoo Archives: gentoo-commits

From: "William Hubbs (williamh)" <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-apps/xinit: ChangeLog xinit-1.0.8-r9.ebuild
Date: Tue, 06 Oct 2009 16:44:41
Message-Id: E1MvD9T-0003cw-N3@stork.gentoo.org
1 williamh 09/10/06 16:44:39
2
3 Modified: ChangeLog
4 Added: xinit-1.0.8-r9.ebuild
5 Log:
6 moved .noxdm to /etc for security bug #287913.
7 (Portage version: 2.2_rc44/cvs/Linux i686)
8
9 Revision Changes Path
10 1.152 x11-apps/xinit/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xinit/ChangeLog?rev=1.152&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xinit/ChangeLog?rev=1.152&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xinit/ChangeLog?r1=1.151&r2=1.152
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v
19 retrieving revision 1.151
20 retrieving revision 1.152
21 diff -u -r1.151 -r1.152
22 --- ChangeLog 5 Oct 2009 16:07:14 -0000 1.151
23 +++ ChangeLog 6 Oct 2009 16:44:39 -0000 1.152
24 @@ -1,16 +1,22 @@
25 # ChangeLog for x11-apps/xinit
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v 1.151 2009/10/05 16:07:14 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v 1.152 2009/10/06 16:44:39 williamh Exp $
29
30 - 05 Oct 2009; Raúl Porcel <armin76@g.o> xinit-1.0.8-r8.ebuild:
31 +*xinit-1.0.8-r9 (06 Oct 2009)
32 +
33 + 06 Oct 2009; William Hubbs <williamh@g.o> files/xdm-setup.initd-1,
34 + +xinit-1.0.8-r9.ebuild, files/xdm.initd-3:
35 + Moved .noxdm to /etc for security bug #287913.
36 +
37 + 05 Oct 2009; Raúl Porcel <armin76@g.o> xinit-1.0.8-r8.ebuild:
38 arm/ia64/s390/sh/sparc stable wrt #156570
39
40 - 01 Oct 2009; Rémi Cardona <remi@g.o> -files/xdm.initd-1,
41 + 01 Oct 2009; Rémi Cardona <remi@g.o> -files/xdm.initd-1,
42 -files/gentoo-startx-customization-1.0.4.patch, -files/xdm.start,
43 -files/xsession.env.d:
44 prune ${FILESDIR}
45
46 - 01 Oct 2009; Rémi Cardona <remi@g.o> -xinit-1.0.4.ebuild,
47 + 01 Oct 2009; Rémi Cardona <remi@g.o> -xinit-1.0.4.ebuild,
48 -xinit-1.0.5-r1.ebuild, -xinit-1.0.5-r2.ebuild, -xinit-1.0.8.ebuild,
49 -xinit-1.0.8-r2.ebuild, -xinit-1.0.8-r3.ebuild:
50 drop old ebuilds
51 @@ -46,28 +52,28 @@
52 when .noxdm is touched so that it will not be restarted in later
53 runlevels.
54
55 - 23 Sep 2009; Rémi Cardona <remi@g.o> files/xdm-setup.initd-1,
56 + 23 Sep 2009; Rémi Cardona <remi@g.o> files/xdm-setup.initd-1,
57 files/xdm.initd-3:
58 touch the .noxdm file in / instead of /etc/init.d (partly fixes bug
59 #285929
60
61 - 21 Sep 2009; Tomáš Chvátal <scarabeus@g.o>
62 + 21 Sep 2009; Tomáš Chvátal <scarabeus@g.o>
63 xinit-1.0.8-r8.ebuild:
64 Remove not required dependencies (aka kill hal useflag). Per #g-dev
65 discussion.
66
67 *xinit-1.0.8-r8 (21 Sep 2009)
68
69 - 21 Sep 2009; Tomáš Chvátal <scarabeus@g.o>
70 + 21 Sep 2009; Tomáš Chvátal <scarabeus@g.o>
71 +xinit-1.0.8-r8.ebuild:
72 Revbump the xinint for the last commit so automagicness is fixed even for
73 those whom already compiled the thing.
74
75 - 21 Sep 2009; Tomáš Chvátal <scarabeus@g.o>
76 + 21 Sep 2009; Tomáš Chvátal <scarabeus@g.o>
77 xinit-1.0.8-r7.ebuild:
78 Disable automagicness. Per bug #285741.
79
80 - 19 Sep 2009; Tomáš Chvátal <scarabeus@g.o>
81 + 19 Sep 2009; Tomáš Chvátal <scarabeus@g.o>
82 xinit-1.0.8-r7.ebuild, metadata.xml:
83 Adjust the hal/consolekit mess to be more sane.
84
85 @@ -97,10 +103,10 @@
86 The xdm script now looks only for the file /etc/init.d/.noxdm
87 to know when to skip starting X.
88
89 - 31 Aug 2009; Tomáš Chvátal <scarabeus@g.o> files/xdm.initd-2:
90 + 31 Aug 2009; Tomáš Chvátal <scarabeus@g.o> files/xdm.initd-2:
91 Adjust xdm init script to die bit sane way. Per bug #207075.
92
93 - 28 Aug 2009; Petteri Räty <betelgeuse@g.o> xinit-1.0.8-r4.ebuild:
94 + 28 Aug 2009; Petteri Räty <betelgeuse@g.o> xinit-1.0.8-r4.ebuild:
95 Migrate to EAPI 2 in order to get rid of built_with_use.
96
97 23 Jun 2009; Tobias Klausmann <klausman@g.o> xinit-1.0.8-r4.ebuild:
98 @@ -109,7 +115,7 @@
99 30 May 2009; Angelo Arrifano files/xdm.confd-1, files/xdm.initd-2:
100 Add GPE (gpe-dm) support.
101
102 - 15 May 2009; Raúl Porcel <armin76@g.o> xinit-1.0.8-r4.ebuild:
103 + 15 May 2009; Raúl Porcel <armin76@g.o> xinit-1.0.8-r4.ebuild:
104 arm/s390 stable
105
106 05 May 2009; Christian Faulhammer <fauli@g.o> xinit-1.0.4.ebuild,
107 @@ -125,7 +131,7 @@
108 16 Apr 2009; Jeroen Roovers <jer@g.o> xinit-1.0.8-r4.ebuild:
109 Stable for HPPA (bug #251832).
110
111 - 15 Apr 2009; Raúl Porcel <armin76@g.o> xinit-1.0.8-r4.ebuild:
112 + 15 Apr 2009; Raúl Porcel <armin76@g.o> xinit-1.0.8-r4.ebuild:
113 ia64/sh stable wrt #251832
114
115 06 Apr 2009; Friedrich Oslage <bluebird@g.o> xinit-1.0.8-r4.ebuild:
116 @@ -134,7 +140,7 @@
117 05 Apr 2009; Markus Meier <maekke@g.o> xinit-1.0.8-r4.ebuild:
118 x86 stable, bug #251832
119
120 - 05 Apr 2009; Olivier Crête <tester@g.o> xinit-1.0.8-r4.ebuild:
121 + 05 Apr 2009; Olivier Crête <tester@g.o> xinit-1.0.8-r4.ebuild:
122 Stable on amd64, bug #251832
123
124 03 Apr 2009; Brent Baude <ranger@g.o> xinit-1.0.8-r4.ebuild:
125 @@ -197,7 +203,7 @@
126 14 Dec 2007; nixnut <nixnut@g.o> xinit-1.0.5-r1.ebuild:
127 Stable on ppc wrt bug 201998
128
129 - 12 Dec 2007; Raúl Porcel <armin76@g.o> xinit-1.0.5-r1.ebuild:
130 + 12 Dec 2007; Raúl Porcel <armin76@g.o> xinit-1.0.5-r1.ebuild:
131 alpha/ia64 stable wrt #201998
132
133 12 Dec 2007; Ferris McCormick <fmccor@g.o> xinit-1.0.5-r1.ebuild:
134 @@ -239,7 +245,7 @@
135 10 Sep 2007; Jeroen Roovers <jer@g.o> xinit-1.0.4.ebuild:
136 Stable for HPPA (bug #191615).
137
138 - 09 Sep 2007; Raúl Porcel <armin76@g.o> xinit-1.0.4.ebuild:
139 + 09 Sep 2007; Raúl Porcel <armin76@g.o> xinit-1.0.4.ebuild:
140 alpha/ia64 stable wrt #191615
141
142 08 Sep 2007; Joseph Jezak <josejx@g.o> xinit-1.0.4.ebuild:
143 @@ -266,7 +272,7 @@
144 09 Jul 2007; Roy Marples <uberlord@g.o> files/xdm.initd-1:
145 The xdm init script is now after modules, #179032.
146
147 - 02 Jul 2007; Raúl Porcel <armin76@g.o> xinit-1.0.3-r3.ebuild:
148 + 02 Jul 2007; Raúl Porcel <armin76@g.o> xinit-1.0.3-r3.ebuild:
149 alpha stable wrt #175465
150
151 24 Jun 2007; Joshua Kinard <kumba@g.o> xinit-1.0.3-r4.ebuild:
152 @@ -299,7 +305,7 @@
153 Move logic operations out of [ ] tests, so we have consistent syntax of the
154 code logic.
155
156 - 25 Apr 2007; Raúl Porcel <armin76@g.o> xinit-1.0.3-r3.ebuild:
157 + 25 Apr 2007; Raúl Porcel <armin76@g.o> xinit-1.0.3-r3.ebuild:
158 Stable on ia64 wrt bug #175465
159
160 25 Apr 2007; Markus Rothe <corsair@g.o> xinit-1.0.3-r3.ebuild:
161 @@ -445,7 +451,7 @@
162 11 May 2006; Donnie Berkholz <spyderous@g.o>; files/xdm.start,
163 -xinit-1.0.2-r3.ebuild, +xinit-1.0.2-r4.ebuild:
164 (#133060) Also use hald, or it's possible to log in without the desktop
165 - environment handling events (Tiziano Müller).
166 + environment handling events (Tiziano Müller).
167
168 23 Apr 2006; Donnie Berkholz <spyderous@g.o>; files/xdm.confd:
169 (#131032) Also note that for dynamic VT, you need to remove the VT arg from
170 @@ -493,7 +499,7 @@
171 04 Apr 2006; Donnie Berkholz <spyderous@g.o>; +xinit-1.0.2.ebuild:
172 Better portability among different /bin/sh'es.
173
174 - 31 Mar 2006; Diego Pettenò <flameeyes@g.o> xinit-1.0.1.ebuild:
175 + 31 Mar 2006; Diego Pettenò <flameeyes@g.o> xinit-1.0.1.ebuild:
176 Add ~x86-fbsd keyword.
177
178 23 Mar 2006; Donnie Berkholz <spyderous@g.o>; files/chooser.sh:
179 @@ -559,7 +565,7 @@
180 Bump for 7.0RC2. Also add regenerated startx customization patch, which was
181 probably around longer than I've been using Linux.
182
183 - 02 Nov 2005; Diego Pettenò <flameeyes@g.o> xinit-0.99.2-r1.ebuild:
184 + 02 Nov 2005; Diego Pettenò <flameeyes@g.o> xinit-0.99.2-r1.ebuild:
185 If you use dopamd, inherit pam eclass.
186
187 30 Oct 2005; Joshua Baergen <joshuabaergen@g.o>
188
189
190
191 1.1 x11-apps/xinit/xinit-1.0.8-r9.ebuild
192
193 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xinit/xinit-1.0.8-r9.ebuild?rev=1.1&view=markup
194 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-apps/xinit/xinit-1.0.8-r9.ebuild?rev=1.1&content-type=text/plain
195
196 Index: xinit-1.0.8-r9.ebuild
197 ===================================================================
198 # Copyright 1999-2009 Gentoo Foundation
199 # Distributed under the terms of the GNU General Public License v2
200 # $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/xinit-1.0.8-r9.ebuild,v 1.1 2009/10/06 16:44:39 williamh Exp $
201
202 EAPI="2"
203
204 # Must be before x-modular eclass is inherited
205 # This is enabled due to modified Makefile.am from the patches
206 SNAPSHOT="yes"
207
208 inherit x-modular pam
209
210 DESCRIPTION="X Window System initializer"
211
212 LICENSE="${LICENSE} GPL-2"
213 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
214 IUSE="consolekit minimal pam"
215
216 RDEPEND="
217 x11-apps/xauth
218 x11-libs/libX11
219 consolekit? (
220 sys-auth/consolekit
221 sys-apps/dbus[X]
222 )
223 "
224 DEPEND="${RDEPEND}"
225 PDEPEND="!minimal? (
226 x11-apps/xclock
227 x11-apps/xrdb
228 x11-apps/xsm
229 x11-terms/xterm
230 x11-wm/twm
231 )
232 "
233
234 PATCHES=( "${FILESDIR}"/nolisten-tcp-and-black-background.patch
235 "${FILESDIR}"/gentoo-startx-customization-1.0.8.patch
236 "${FILESDIR}"/xinit-1.0.4-console-kit.patch )
237
238 pkg_setup() {
239 CONFIGURE_OPTIONS="$(use_with consolekit)"
240 }
241
242 src_prepare() {
243 x-modular_patch_source
244
245 sed -i -e "s:^XINITDIR.*:XINITDIR = \$(sysconfdir)/X11/xinit:g" "${S}/Makefile.am"
246
247 x-modular_reconf_source
248 }
249
250 src_install() {
251 x-modular_src_install
252 exeinto /etc/X11
253 doexe "${FILESDIR}"/chooser.sh "${FILESDIR}"/startDM.sh || die
254 exeinto /etc/X11/Sessions
255 doexe "${FILESDIR}"/Xsession || die
256 exeinto /etc/X11/xinit
257 doexe "${FILESDIR}"/xinitrc || die
258 newinitd "${FILESDIR}"/xdm.initd-3 xdm
259 newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup
260 newconfd "${FILESDIR}"/xdm.confd-1 xdm
261 newpamd "${FILESDIR}"/xserver.pamd xserver
262 }
263
264 pkg_postinst() {
265 x-modular_pkg_postinst
266 ewarn "If you use startx to start X instead of a login manager like gdm/kdm,"
267 ewarn "you can set the XSESSION variable to anything in /etc/X11/Sessions/ or"
268 ewarn "any executable. When you run startx, it will run this as the login session."
269 ewarn "You can set this in a file in /etc/env.d/ for the entire system,"
270 ewarn "or set it per-user in ~/.bash_profile (or similar for other shells)."
271 ewarn "Here's an example of setting it for the whole system:"
272 ewarn " echo XSESSION=\"Gnome\" > /etc/env.d/90xsession"
273 ewarn " env-update && source /etc/profile"
274 }