summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-04 11:18:34 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-04 11:18:34 +0000
commit2c8e89b64383c4d6d4c06f4bb49b873eb300aa8b (patch)
treebe11308b740d044f3743455dbe17428169feab09 /x11-apps
parentold (diff)
downloadhistorical-2c8e89b64383c4d6d4c06f4bb49b873eb300aa8b.tar.gz
historical-2c8e89b64383c4d6d4c06f4bb49b873eb300aa8b.tar.bz2
historical-2c8e89b64383c4d6d4c06f4bb49b873eb300aa8b.zip
old
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/xinit/ChangeLog7
-rw-r--r--x11-apps/xinit/Manifest13
-rw-r--r--x11-apps/xinit/files/0001-Gentoo-specific-customizations.patch62
-rw-r--r--x11-apps/xinit/files/xdm-setup.initd-114
-rw-r--r--x11-apps/xinit/files/xdm.confd-224
-rw-r--r--x11-apps/xinit/files/xdm.initd-4246
-rw-r--r--x11-apps/xinit/files/xserver.pamd5
7 files changed, 10 insertions, 361 deletions
diff --git a/x11-apps/xinit/ChangeLog b/x11-apps/xinit/ChangeLog
index 1afdbe36073b..4fc2b2d1dbe0 100644
--- a/x11-apps/xinit/ChangeLog
+++ b/x11-apps/xinit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-apps/xinit
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v 1.208 2011/03/05 18:02:33 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/ChangeLog,v 1.209 2011/05/04 11:18:34 scarabeus Exp $
+
+ 04 May 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ -files/0001-Gentoo-specific-customizations.patch, -files/xdm-setup.initd-1,
+ -files/xdm.confd-2, -files/xdm.initd-4, -files/xserver.pamd:
+ old
05 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> xinit-1.3.0-r2.ebuild:
ppc64 stable wrt #354237
diff --git a/x11-apps/xinit/Manifest b/x11-apps/xinit/Manifest
index f7fa4a82ac14..cd5149face35 100644
--- a/x11-apps/xinit/Manifest
+++ b/x11-apps/xinit/Manifest
@@ -3,23 +3,18 @@ Hash: SHA1
AUX 00-xhost 255 RMD160 4009438bd6ffbd718ea0221d6a1b8641c51a101c SHA1 91adb21d02629cd14f5f5fa8a56ec9421e0dc46b SHA256 780a53d697e5cdc8ae7cf24f97e554a9ff7b41d46f205774d7414cecfca3ab97
AUX 0001-Gentoo-customizations.patch 1508 RMD160 8af271ddcaf20e588baaf6e8477e4354fa2ea0f8 SHA1 a538ef116aad391163853aa04586622515dc7c0d SHA256 3b43514ca65c882def485497917c67e64c570fa0c1ef8d758bd949d41e0f9a9c
-AUX 0001-Gentoo-specific-customizations.patch 1508 RMD160 ea3ca11470a4f504c84a9b68a059ecc458eef9e8 SHA1 437c7767000e3bc174ab122d954700187ca2b23a SHA256 b95cb7cb6be7f2a9ee42e45f77c851c3bdc50e0c3d34e2ebd706d50ba1cc60e7
AUX Xsession 2187 RMD160 ffb290e9a8656b17d7744797456a45df53cafd79 SHA1 8ba8de5114871f8500f428a03f87a42714d0ce14 SHA256 bdf2cceaafb71762bc1c6491f9bd8cc24089dea7ef65b0a030acadf7f4aa4ab3
AUX chooser.sh 1301 RMD160 4ebebef5d48d0b344f1c8af8baac60ece9671a12 SHA1 67f1afc86fb2788c6d75713bfb37550820360b5e SHA256 6ca40e2f592a10357d3396240213f0ebd81dd34882bab18bad2e9e94ad4036f0
AUX startDM.sh 923 RMD160 b457ea1bf2cb059a4faf5c98811589412c5026fc SHA1 b462b58ac0d76f0f5b1c8e3562da75d99488b7da SHA256 e7f2d95b3b4b6b5d711f926f8a3b7b0163b4d9e40b40489bcbd1316806e47499
-AUX xdm-setup.initd-1 340 RMD160 65c5ee210735aaaa49033ae29f91ae658b8cd512 SHA1 1f5453bc2810b0cb89d3ec8f78871bbfd3a0a450 SHA256 1b8b39f95f17e0e6e61d20339804800834f4bd0fcbd6023f5d9039c1ed9599db
-AUX xdm.confd-2 1262 RMD160 188ec46199168d90cb09cfe6b946bbf69f426c0c SHA1 4931a80b17a41ed4812aedf7fd1082df7e9f1335 SHA256 44042c13cbc759e2580a32f8a30b58eb2eb71c1d5f4b4cd94e9de476667862bb
-AUX xdm.initd-4 6515 RMD160 3fcde7817879552b9cee0f09063116db8b8183a7 SHA1 fc4f56fdeccdec537f52fbc34c1ba89591c5b8de SHA256 1df57f1d7249d227025cd1444f857be3a78898dad06f5f0fe6be17bf2c0e1fa2
-AUX xserver.pamd 125 RMD160 4b75f8bf5e68ac7181a22beaccc153ac250eb8e9 SHA1 e35845021328044659036b9f82a95c17f21beb25 SHA256 f179c3417b94295fe12776f9da4a08898a3ee4199e26abff6457717caeb29bb2
AUX xserverrc 45 RMD160 ba59828df58de185ac8cbe762f746cc4b5b25594 SHA1 297121e4f3bc8abbaade83cd2583d16e8887e15b SHA256 86835010b5350c41035495b7b845db0eecf1e4b7eeaf152b12a881fa502e5387
DIST xinit-1.3.0.tar.bz2 138315 RMD160 6759083ed787beace9f485e69d46b97fb397edbd SHA1 6437292214bbca6efad8889c68e72a1ca584928b SHA256 ba76e36e1a42a7cf76505b7e6fc4777f5d14f45ddff74341abfb7dd10d5fe04c
EBUILD xinit-1.3.0-r2.ebuild 1685 RMD160 4b1d8eea0f1317cc51dd897c925e9967cbfb0050 SHA1 0d2525c679e4dfc7958d7b4bc22fcb4dd709fc38 SHA256 8b458cb3aadd7ed01775f0b95caa7ae5619cd0eaf0984cd34d7129ed139f524b
-MISC ChangeLog 32024 RMD160 54c67a5d08fc1c3e4e7acde018733e15dc9d64a1 SHA1 252db6d266a1c99ce1f2863b9f7e29b7dc83d90b SHA256 d33c8c3d959480acb767b3c755a834e71a2b90f35e9fea65dbcebc32db421558
+MISC ChangeLog 32226 RMD160 68e85784752dc6896bcec461ba565666ffeb8273 SHA1 fff5adafbb7c41001e71060365736043509d8b6d SHA256 2dd5ff870f1134b69445444d718f408382ac496336816fe25c1c82b20028b8d1
MISC metadata.xml 323 RMD160 269a698f418e2fb289704dcf9dd8ee2291c5b266 SHA1 5dc07448925c52d5cc1e2c7cd1d5d9fb4537d04a SHA256 cc0d02e6168e77461049b0a9a0493e11d5ff21b19de24ac2436c536b74055444
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk2nGvEACgkQVWmRsqeSphOzfQCeIqSu7LP229sd+quZdqqDZMCM
-xO0An2CGih02z1SQAqxHjsdaxIrDmMty
-=AGF2
+iEYEARECAAYFAk3BNfYACgkQHB6c3gNBRYdHMQCgrgj/6cHD1X753rFsKls/FRAS
+MYQAoJz5o1ucCnOn2hoemYy0QeAqvfSA
+=nvyP
-----END PGP SIGNATURE-----
diff --git a/x11-apps/xinit/files/0001-Gentoo-specific-customizations.patch b/x11-apps/xinit/files/0001-Gentoo-specific-customizations.patch
deleted file mode 100644
index dc972a70a029..000000000000
--- a/x11-apps/xinit/files/0001-Gentoo-specific-customizations.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 4f039767273b60f9a1a24867db0988d46abe5972 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?R=C3=A9mi=20Cardona?= <remi@gentoo.org>
-Date: Tue, 8 Dec 2009 15:22:13 +0100
-Subject: [PATCH] Gentoo-specific customizations
-
----
- xinitrc.cpp | 29 +++++++++++++++++------------
- 1 files changed, 17 insertions(+), 12 deletions(-)
-
-diff --git a/xinitrc.cpp b/xinitrc.cpp
-index 379b1f3..159f294 100644
---- a/xinitrc.cpp
-+++ b/xinitrc.cpp
-@@ -2,8 +2,8 @@ XCOMM!SHELL_CMD
-
- userresources=$HOME/.Xresources
- usermodmap=$HOME/.Xmodmap
--sysresources=XINITDIR/.Xresources
--sysmodmap=XINITDIR/.Xmodmap
-+sysresources=XINITDIR/Xresources
-+sysmodmap=XINITDIR/Xmodmap
-
- XCOMM merge in defaults and keymaps
-
-@@ -84,19 +84,24 @@ fi
- XCOMM This is the fallback case if nothing else is executed above
- #endif /* !defined(__SCO__) && !defined(__UNIXWARE__) */
-
--#ifdef __APPLE__
-+if [ -n "`/etc/X11/chooser.sh`" ]; then
-+ command="`/etc/X11/chooser.sh`"
-+else
-+ failsafe="yes"
-+fi
-
- if [ -d XINITDIR/xinitrc.d ] ; then
-- for f in XINITDIR/xinitrc.dXSLASHGLOB.sh ; do
-+ for f in XINITDIR/xinitrc.dXSLASHGLOB ; do
- [ -x "$f" ] && . "$f"
- done
- unset f
- fi
--
--#endif
--
--TWM &
--XCLOCK -geometry 50x50-1+1 &
--XTERM -geometry 80x50+494+51 &
--XTERM -geometry 80x20+494-0 &
--exec XTERM -geometry 80x66+0+0 -name login
-+if [ -n "$failsafe" ]; then
-+ TWM &
-+ XCLOCK -geometry 50x50-1+1 &
-+ XTERM -geometry 80x50+494+51 &
-+ XTERM -geometry 80x20+494-0 &
-+ exec XTERM -geometry 80x66+0+0 -name login
-+else
-+ exec $command
-+fi
---
-1.6.5.5
-
diff --git a/x11-apps/xinit/files/xdm-setup.initd-1 b/x11-apps/xinit/files/xdm-setup.initd-1
deleted file mode 100644
index 047bbd59c239..000000000000
--- a/x11-apps/xinit/files/xdm-setup.initd-1
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/files/xdm-setup.initd-1,v 1.7 2009/11/14 14:18:43 scarabeus Exp $
-
-depend() {
- need localmount
-}
-
-start() {
- if get_bootparam "nox" ; then
- touch /etc/.noxdm
- fi
-}
diff --git a/x11-apps/xinit/files/xdm.confd-2 b/x11-apps/xinit/files/xdm.confd-2
deleted file mode 100644
index 1ca9517ccce8..000000000000
--- a/x11-apps/xinit/files/xdm.confd-2
+++ /dev/null
@@ -1,24 +0,0 @@
-# We always try and start X on a static VT. The various DMs normally default
-# to using VT7. If you wish to use the xdm init script, then you should ensure
-# that the VT checked is the same VT your DM wants to use. We do this check to
-# ensure that you haven't accidentally configured something to run on the VT
-# in your /etc/inittab file so that you don't get a dead keyboard.
-CHECKVT=7
-
-# What display manager do you use ? [ xdm | gdm | kdm | kdm-4.3 | gpe | entrance ]
-# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
-#
-# KDE-specific note:
-# - If you are using kdeprefix go with "kdm-4.Y", e.g. "kdm-4.3".
-# You can find possible versions by looking at the directories in /usr/kde/.
-# - Else, if you are using KDE 3 enter "kdm-3.5"
-# - Else, if you are using KDE 4 enter "kdm" without a version
-DISPLAYMANAGER="xdm"
-
-# Set whether xorg should depend on hald or not. If set to 'auto' then the init
-# script tries to determine the dependency on hald automatically, by examining
-# xorg.conf files on various locations. If you have built xorg without hal
-# use-flag, you should set 'no' here. If xorg has been built with hal then you
-# may set 'auto' or 'yes' here.
-# Possible values are: [ yes | no | auto ]
-NEEDS_HALD="auto"
diff --git a/x11-apps/xinit/files/xdm.initd-4 b/x11-apps/xinit/files/xdm.initd-4
deleted file mode 100644
index d4f6082eb106..000000000000
--- a/x11-apps/xinit/files/xdm.initd-4
+++ /dev/null
@@ -1,246 +0,0 @@
-#!/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-4,v 1.2 2009/12/21 11:29:45 scarabeus Exp $
-
-# This is here to serve as a note to myself, and future developers.
-#
-# Any Display manager (gdm,kdm,xdm) has the following problem: if
-# it is started before any getty, and no vt is specified, it will
-# usually run on vt2. When the getty on vt2 then starts, and the
-# DM is already started, the getty will take control of the keyboard,
-# leaving us with a "dead" keyboard.
-#
-# Resolution: add the following line to /etc/inittab
-#
-# x:a:once:/etc/X11/startDM.sh
-#
-# and have /etc/X11/startDM.sh start the DM in daemon mode if
-# a lock is present (with the info of what DM should be started),
-# else just fall through.
-#
-# How this basically works, is the "a" runlevel is a additional
-# runlevel that you can use to fork processes with init, but the
-# runlevel never gets changed to this runlevel. Along with the "a"
-# runlevel, the "once" key word means that startDM.sh will only be
-# run when we specify it to run, thus eliminating respawning
-# startDM.sh when "xdm" is not added to the default runlevel, as was
-# done previously.
-#
-# This script then just calls "telinit a", and init will run
-# /etc/X11/startDM.sh after the current runlevel completes (this
-# script should only be added to the actual runlevel the user is
-# using).
-#
-# Martin Schlemmer
-# aka Azarah
-# 04 March 2002
-
-
-hald_depend() {
- if [ "${NEEDS_HALD}" = "yes" ]; then
- need hald
- elif [ "${NEEDS_HALD}" = "no" ]; then
- use hald
- else
- local found=0
- # search paths according to xorg.conf man page
- for xorgconf in "${XORGCONFIG}" "/etc/X11/${XORGCONFIG}" \
- /etc/X11/xorg.conf{-4,} /etc/xorg.conf \
- "/usr/etc/X11/xorg.conf.$(hostname)" \
- /usr/etc/X11/xorg.conf{-4,} \
- "/usr/lib/X11/xorg.conf.$(hostname)" \
- /usr/lib/X11/xorg.conf{-4,}
- do
- if [ -f "${xorgconf}" ]; then
- # we found the config file
- found=1
-
- # check if AutoAddDevices has been disabled
- if grep -Eiq '^[[:blank:]]*Option[[:blank:]]+"AutoAddDevices"[[:blank:]]+"(0|off|false|no)"' "${xorgconf}"; then
- # there might be another ServerLayout section which requires hald
- use hald
- else
- need hald
- fi
-
- # baselayout-2 only
- [ ! -n "${RC_UNAME}" ] && config "${xorgconf}"
-
- # process only the first existing file in the search list
- break
- fi
- done
-
- # if no configuration file was found, we must depend
- # on hald for automatic discovery of input devices
- [ ${found} -eq 0 ] && need hald
- fi
-}
-
-depend() {
- need localmount xdm-setup
-
- # this should start as early as possible
- # we can't do 'before *' as that breaks it
- # (#139824) Start after ypbind and autofs for network authentication
- # (#145219 #180163) Could use lirc mouse as input device
- # (#70689 comment #92) Start after consolefont to avoid display corruption
- # (#291269) Start after quota, since some dm need readable home
- after bootmisc consolefont modules netmount
- after readahead-list ypbind autofs openvpn gpm lircmd
- after quota
- before alsasound
-
- # Start before X
- use acpid consolekit xfs
-
- hald_depend
-}
-
-setup_dm() {
- local MY_XDM="$(echo "${DISPLAYMANAGER}" | tr '[:upper:]' '[:lower:]')"
-
- # Load our root path from profile.env
- # Needed for kdm
- PATH="${PATH}:$(. /etc/profile.env; echo "${ROOTPATH}")"
-
- case "${MY_XDM}" in
- kdm|kde)
- EXE="$(which kdm)"
- PIDFILE=/var/run/kdm.pid
- ;;
- kdm-*)
- EXE="/usr/kde/${MY_XDM#kdm-}/bin/kdm"
- PIDFILE=/var/run/kdm.pid
- ;;
- entrance*)
- EXE=/usr/sbin/entranced
- PIDFILE=/var/lib/entranced.pid
- ;;
- gdm|gnome)
- EXE=/usr/bin/gdm
- [ "${RC_UNAME}" != "Linux" ] && NAME=gdm-binary
- PIDFILE=/var/run/gdm.pid
- ;;
- wdm)
- EXE=/usr/bin/wdm
- PIDFILE=
- ;;
- gpe)
- EXE=/usr/bin/gpe-dm
- PIDFILE=/var/run/gpe-dm.pid
- ;;
- *)
- # first find out if there is such executable
- EXE="$(which ${MY_XDM} 2>/dev/null)"
- PIDFILE="/var/run/${MY_XDM}.pid"
-
- # warn user that he is doing sick things if the exe was not found
- if [ "${EXE}" = "" ]; then
- echo "ERROR: Your XDM value is invalid."
- echo " No ${MY_XDM} executable could be found on your system."
- fi
- ;;
- esac
-
- if ! [ -x "${EXE}" ]; then
- EXE=/usr/bin/xdm
- PIDFILE=/var/run/xdm.pid
- if ! [ -x "/usr/bin/xdm" ]; then
- echo "ERROR: Please set your DISPLAYMANAGER variable in /etc/conf.d/xdm,"
- echo " or install x11-apps/xdm package"
- eend 255
- fi
- fi
-}
-
-# Check to see if something is defined on our VT
-vtstatic() {
- if [ -e /etc/inittab ] ; then
- grep -Eq "^[^#]+.*\<tty$1\>" /etc/inittab
- elif [ -e /etc/ttys ] ; then
- grep -q "^ttyv$(($1 - 1))" /etc/ttys
- else
- return 1
- fi
-}
-
-start() {
- local EXE= NAME= PIDFILE=
- setup_dm
-
- if [ -f /etc/.noxdm ] ; then
- einfo "Skipping ${EXE}, /etc/.noxdm found"
- rm /etc/.noxdm
- return 0
- fi
-
- ebegin "Setting up ${EXE##*/}"
-
- # save the prefered DM
- save_options "service" "${EXE}"
- save_options "name" "${NAME}"
- save_options "pidfile" "${PIDFILE}"
-
- if [ -n "${CHECKVT-y}" ] ; then
- if vtstatic "${CHECKVT:-7}" ; then
- if [ -x /sbin/telinit ] && [ "${SOFTLEVEL}" != "BOOT" ] && [ "${RC_SOFTLEVEL}" != "BOOT" ] ; then
- ewarn "Something is already defined on VT ${CHECKVT:-7}, will start X later"
- telinit a >/dev/null 2>/dev/null
- return 0
- else
- eerror "Something is already defined on VT ${CHECKVT:-7}, not starting"
- return 1
- fi
- fi
- fi
-
- /etc/X11/startDM.sh
- eend 0
-}
-
-stop() {
- local retval=0
- local curvt=
- if [ -t 0 ] ; then
- if type fgconsole >/dev/null 2>/dev/null ; then
- curvt="$(fgconsole 2>/dev/null)"
- else
- curvt="$(tty)"
- case "${curvt}" in
- /dev/ttyv[0-9]*) curvt="${curvt#/dev/ttyv*}" ;;
- *) curvt= ;;
- esac
- fi
- fi
- local myexe="$(get_options "service")"
- 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
- start-stop-daemon --stop --exec "${myexe}" --retry TERM/5/TERM/5 \
- ${mypidfile:+--pidfile} ${mypidfile} \
- ${myname:+--name} ${myname}
- retval=$?
- fi
-
- # switch back to original vt
- if [ -n "${curvt}" ] ; then
- if type chvt >/dev/null 2>/dev/null ; then
- chvt "${curvt}"
- else
- vidcontrol -s "$((${curvt} + 1))"
- fi
- fi
-
- eend ${retval} "Error stopping ${myservice}"
- return ${retval}
-}
-
-# vim: set ts=4 :
diff --git a/x11-apps/xinit/files/xserver.pamd b/x11-apps/xinit/files/xserver.pamd
deleted file mode 100644
index b093f86a70c5..000000000000
--- a/x11-apps/xinit/files/xserver.pamd
+++ /dev/null
@@ -1,5 +0,0 @@
-#%PAM-1.0
-auth sufficient pam_rootok.so
-auth required pam_permit.so
-
-account required pam_permit.so