# ChangeLog for x11-apps/xinit
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v 1.79 2007/04/05 15:30:19 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v 1.80 2007/04/13 08:23:08 uberlord Exp $
+
+*xinit-1.0.3-r3 (13 Apr 2007)
+
+ 13 Apr 2007; Roy Marples <uberlord@gentoo.org> files/xdm.initd,
+ +xinit-1.0.3-r3.ebuild:
+ I've been a bad bug and caused bugs #174071 and #174271. But I'm a good boy
+ now as I've fixed them :)
05 Apr 2007; Roy Marples <uberlord@gentoo.org> files/startDM.sh,
files/xdm.initd:
MD5 1ef321642c38bfb020e92723722319fb files/xdm.confd 668
RMD160 336b367da62beb39bcf4ce60efc07c7c00dc7133 files/xdm.confd 668
SHA256 d8b6828dae11bd2e632c9000b087d59c66192e1e21183124e7bf90ddee09f128 files/xdm.confd 668
-AUX xdm.initd 4601 RMD160 862f9f63e38fbccc05af5b78047df85c484769b6 SHA1 e648b57f668456b9066d89bf18cbfdba0be97fa4 SHA256 56dd0b6a4df7f9b57a1ed0506989d6117033e347460ae9c8b5d29a1d2cac27ff
-MD5 536c9b80dff6f857629d2c7a61aaa796 files/xdm.initd 4601
-RMD160 862f9f63e38fbccc05af5b78047df85c484769b6 files/xdm.initd 4601
-SHA256 56dd0b6a4df7f9b57a1ed0506989d6117033e347460ae9c8b5d29a1d2cac27ff files/xdm.initd 4601
+AUX xdm.initd 4645 RMD160 16121dfbbd7057bd59f22f86f265fcc1dc9782ca SHA1 fa6c6ab8e8331b01698e0d6f58f71644de5f3495 SHA256 a99cb3c5bb2fed770ff60677a627f55871e47c362a1684a7c1c3613efb814cbb
+MD5 4da011f47d25411729838fffa34f07fd files/xdm.initd 4645
+RMD160 16121dfbbd7057bd59f22f86f265fcc1dc9782ca files/xdm.initd 4645
+SHA256 a99cb3c5bb2fed770ff60677a627f55871e47c362a1684a7c1c3613efb814cbb files/xdm.initd 4645
AUX xdm.start 3974 RMD160 67f3b69fc9c006146999271935e1ae06d093130a SHA1 12763e84e31632c0421159e8feca2f9855966b7b SHA256 151b697f62e335850118a5d7d113d83fb37f2a75407985cd1e433de93eb55ded
MD5 5dd1b14c1942c59025be5fa7d470f281 files/xdm.start 3974
RMD160 67f3b69fc9c006146999271935e1ae06d093130a files/xdm.start 3974
MD5 2a472fd2f501be4c61e00c122ed5ee88 xinit-1.0.3-r2.ebuild 1503
RMD160 bfe1eea1ecd23c6b87cb146bf7e2d0e22eaeecb2 xinit-1.0.3-r2.ebuild 1503
SHA256 088f79d72e4044694f38a755e27b67020d1321955430ef95ddfdb02e5a41f706 xinit-1.0.3-r2.ebuild 1503
+EBUILD xinit-1.0.3-r3.ebuild 1505 RMD160 74848598f267dcbab15155058fb9e31acbf92427 SHA1 95a509af55637f65ef0aec4d46255f15f25e7da5 SHA256 76114ffcb26c480615833a8135b229ddf65e8ba9e0f9c514b2cec4d3b8b434b8
+MD5 ba55d62b310b4f6d68a3b542251a6bc3 xinit-1.0.3-r3.ebuild 1505
+RMD160 74848598f267dcbab15155058fb9e31acbf92427 xinit-1.0.3-r3.ebuild 1505
+SHA256 76114ffcb26c480615833a8135b229ddf65e8ba9e0f9c514b2cec4d3b8b434b8 xinit-1.0.3-r3.ebuild 1505
EBUILD xinit-1.0.3.ebuild 1336 RMD160 4395f36048cc77b18430f512172cb11340a942e4 SHA1 e37465a133ad1df799166cd55c5c3f929ea730d6 SHA256 aea3003858e5cec5d12e116e9a20496662c9d443193ca10a46d568b9af663c99
MD5 24a82969244654b6d5f3c7fbf05b102b xinit-1.0.3.ebuild 1336
RMD160 4395f36048cc77b18430f512172cb11340a942e4 xinit-1.0.3.ebuild 1336
SHA256 aea3003858e5cec5d12e116e9a20496662c9d443193ca10a46d568b9af663c99 xinit-1.0.3.ebuild 1336
-MISC ChangeLog 12892 RMD160 1f4927419477fe6b53d87b7805172bd0fa1a70b9 SHA1 f7599183860946754dc9369feb1483ffacb73ddd SHA256 bd43a62ac7aa0333e28322a1b8b378f9fb6eaf6572824c6e8453800e99e9c2db
-MD5 39609ea893fe98677dc6d27ae5f92532 ChangeLog 12892
-RMD160 1f4927419477fe6b53d87b7805172bd0fa1a70b9 ChangeLog 12892
-SHA256 bd43a62ac7aa0333e28322a1b8b378f9fb6eaf6572824c6e8453800e99e9c2db ChangeLog 12892
+MISC ChangeLog 13122 RMD160 cf7be285547dca13cc01d9978b657e74fe0bd4cf SHA1 c2d26ac312b8d1ad6f010fe15b3a0e00bba3237a SHA256 00c8b96005001e7bd106a1fdd511016b912903f3f9f64357b04246fe250a7c72
+MD5 473267f28d9eeceba6e0761fdbe08c42 ChangeLog 13122
+RMD160 cf7be285547dca13cc01d9978b657e74fe0bd4cf ChangeLog 13122
+SHA256 00c8b96005001e7bd106a1fdd511016b912903f3f9f64357b04246fe250a7c72 ChangeLog 13122
MISC metadata.xml 156 RMD160 c1274bdccf57603d580de0075ba07a35b7509560 SHA1 6f78f604e3d079d39189b40aaaa1ddb06182ad91 SHA256 5101ab0d4cc8c7125eea733c44e86962769bd77acaf53b69223b9cadcdd29055
MD5 a37bab73e2f24b213932c30997d3d360 metadata.xml 156
RMD160 c1274bdccf57603d580de0075ba07a35b7509560 metadata.xml 156
MD5 273fc0942d2b4ea4d51a2447ba6b1c77 files/digest-xinit-1.0.3-r2 235
RMD160 427f07a6108e50a618c487041421ba91e25f146f files/digest-xinit-1.0.3-r2 235
SHA256 a37b78e123e42af15479c362d492e682e687a13cb9c1f038ec3e395f12612242 files/digest-xinit-1.0.3-r2 235
+MD5 273fc0942d2b4ea4d51a2447ba6b1c77 files/digest-xinit-1.0.3-r3 235
+RMD160 427f07a6108e50a618c487041421ba91e25f146f files/digest-xinit-1.0.3-r3 235
+SHA256 a37b78e123e42af15479c362d492e682e687a13cb9c1f038ec3e395f12612242 files/digest-xinit-1.0.3-r3 235
--- /dev/null
+MD5 f04a903cc0e18b3c338f58eb90f6caf8 xinit-1.0.3.tar.bz2 97629
+RMD160 e0299e1cb07d12400b9513752dccde1dc0d9cb78 xinit-1.0.3.tar.bz2 97629
+SHA256 c77a58cba815eb1dde2242a819e80d7d84d753678837ac24d385e3ec65d33186 xinit-1.0.3.tar.bz2 97629
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/files/xdm.initd,v 1.3 2007/04/05 15:30:19 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/files/xdm.initd,v 1.4 2007/04/13 08:23:08 uberlord Exp $
# This is here to serve as a note to myself, and future developers.
#
PIDFILE=/var/run/kdm.pid
;;
entrance*)
- EXE=/usr/sbin/enranced
+ EXE=/usr/sbin/entranced
PIDFILE=/var/lib/entranced.pid
;;
gdm|gnome)
for opt in $(cat /proc/cmdline) ; do
[ "${opt}" = "${1}" ] && return 0
done
+
+ return 1
}
start() {
local myname="$(get_options "name")"
local mypidfile="$(get_options "pidfile")"
local myservice=${myexe##*/}
-
+
+ [ -z "${myexe}" ] && return 0
+
ebegin "Stopping ${myservice}"
if start-stop-daemon --quiet --test --stop --exec "${myexe}" ; then
retval=$?
fi
- #switch back to original vt
+ # switch back to original vt
if [ -n "${curvt}" ] ; then
if type chvt >/dev/null 2>/dev/null ; then
chvt "${curvt}"
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/xinit-1.0.3-r3.ebuild,v 1.1 2007/04/13 08:23:08 uberlord Exp $
+
+# Must be before x-modular eclass is inherited
+# This is enabled due to modified Makefile.am from the patches
+SNAPSHOT="yes"
+
+inherit x-modular pam
+
+DESCRIPTION="X Window System initializer"
+
+LICENSE="${LICENSE} GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="minimal"
+
+RDEPEND="x11-apps/xauth
+ x11-libs/libX11"
+DEPEND="${RDEPEND}"
+PDEPEND="!minimal? ( x11-wm/twm
+ x11-apps/xclock
+ x11-apps/xrdb
+ x11-apps/xsm
+ x11-terms/xterm )"
+
+PATCHES="${FILESDIR}/nolisten-tcp-and-black-background.patch
+ ${FILESDIR}/gentoo-startx-customization-0.99.4.patch"
+
+src_unpack() {
+ x-modular_unpack_source
+ x-modular_patch_source
+
+ sed -i -e "s:^XINITDIR.*:XINITDIR = \$(sysconfdir)/X11/xinit:g" ${S}/Makefile.am
+
+ x-modular_reconf_source
+}
+
+src_install() {
+ x-modular_src_install
+ exeinto /etc/X11
+ doexe ${FILESDIR}/chooser.sh ${FILESDIR}/startDM.sh
+ exeinto /etc/X11/Sessions
+ doexe ${FILESDIR}/Xsession
+ exeinto /etc/X11/xinit
+ doexe ${FILESDIR}/xinitrc
+ newinitd ${FILESDIR}/xdm.initd xdm
+ newconfd ${FILESDIR}/xdm.confd xdm
+ newpamd ${FILESDIR}/xserver.pamd xserver
+
+ # Remove the XSTATICVT option as it's pointless on FreeBSD
+ # at this time.
+ if use x86-fbsd ; then
+ sed -i -e '1, /^$/ d' "${D}"/etc/conf.d/xdm || die
+ fi
+}