xdm (1:1.1.10-3) debian-dir only changes

Summary

 debian/NEWS                                  |   26 +
 debian/README.source                         |   73 +++
 debian/TODO                                  |    7 
 debian/changelog                             |  426 ++++++++++++++++++
 debian/compat                                |    1 
 debian/control                               |   45 +
 debian/copyright                             |  132 +++++
 debian/gbp.conf                              |    6 
 debian/local/Xreset                          |   18 
 debian/local/Xsetup                          |    5 
 debian/local/Xstartup                        |   27 +
 debian/local/debian.xpm                      |  308 +++++++++++++
 debian/local/debianbw.xpm                    |  275 +++++++++++
 debian/local/xdm.options                     |    7 
 debian/local/xdm.options.5                   |  169 +++++++
 debian/patches/06_hurd_utsname.diff          |   18 
 debian/patches/20_xdm_log_timestamp.diff     |   48 ++
 debian/patches/21_xdm_log_append.diff        |   33 +
 debian/patches/debian.diff                   |  166 +++++++
 debian/patches/doc_mention_xdm.options.diff  |   14 
 debian/patches/series                        |   11 
 debian/patches/support_logfile_rotation.diff |  160 ++++++
 debian/po/POTFILES.in                        |    1 
 debian/po/ca.po                              |  106 ++++
 debian/po/cs.po                              |  103 ++++
 debian/po/da.po                              |  119 +++++
 debian/po/de.po                              |  117 +++++
 debian/po/el.po                              |  120 +++++
 debian/po/es.po                              |   83 +++
 debian/po/eu.po                              |  108 ++++
 debian/po/fi.po                              |   56 ++
 debian/po/fr.po                              |  114 ++++
 debian/po/gl.po                              |   92 +++
 debian/po/it.po                              |  109 ++++
 debian/po/ja.po                              |  109 ++++
 debian/po/ko.po                              |   85 +++
 debian/po/ml.po                              |   88 +++
 debian/po/nl.po                              |  109 ++++
 debian/po/pl.po                              |   87 +++
 debian/po/pothead.in                         |   29 +
 debian/po/pt.po                              |   91 +++
 debian/po/pt_BR.po                           |  110 ++++
 debian/po/ro.po                              |  111 ++++
 debian/po/ru.po                              |  109 ++++
 debian/po/sk.po                              |   89 +++
 debian/po/sv.po                              |  110 ++++
 debian/po/ta.po                              |   85 +++
 debian/po/templates.pot                      |   73 +++
 debian/po/tr.po                              |  119 +++++
 debian/po/vi.po                              |  107 ++++
 debian/po/zh_CN.po                           |  100 ++++
 debian/rules                                 |  151 ++++++
 debian/watch                                 |    2 
 debian/xdm.README.Debian                     |   54 ++
 debian/xdm.config.in                         |   80 +++
 debian/xdm.dirs                              |    1 
 debian/xdm.init                              |  128 +++++
 debian/xdm.insserv                           |    1 
 debian/xdm.install                           |   20 
 debian/xdm.logrotate                         |   15 
 debian/xdm.pam                               |    9 
 debian/xdm.postinst.in                       |  147 ++++++
 debian/xdm.postrm.in                         |   83 +++
 debian/xdm.preinst.in                        |   25 +
 debian/xdm.prerm.in                          |  158 ++++++
 debian/xdm.templates                         |   32 +
 debian/xsfbs/repack.sh                       |   32 +
 debian/xsfbs/xsfbs.mk                        |  285 ++++++++++++
 debian/xsfbs/xsfbs.sh                        |  622 +++++++++++++++++++++++++++
 69 files changed, 6559 insertions(+)

    
download this patch

Patch contents

--- xdm-1.1.10.orig/debian/rules
+++ xdm-1.1.10/debian/rules
@@ -0,0 +1,151 @@
+#!/usr/bin/make -f
+# debian/rules for the Debian xdm package.
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
+# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
+# Copyright © 2005 David Nusinow <dnusinow@debian.org>
+# Copyright © 2006 Eugene Konev <ejka@imfi.kspu.ru>
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# set this to the name of the main shlib's binary package
+PACKAGE = xdm
+
+include debian/xsfbs/xsfbs.mk
+
+confflags += --with-pam \
+	--with-xdmconfigdir=/etc/X11/xdm \
+	--with-xdmscriptdir=\$${xdmconfigdir} \
+	--with-authdir=/var/lib/xdm \
+	--with-pixmapdir=/usr/share/X11/xdm/pixmaps \
+	--with-color-pixmap=debian.xpm \
+	--with-bw-pixmap=debianbw.xpm \
+	--disable-dynamic-greeter \
+	--disable-xdm-auth \
+	--with-xft
+
+CFLAGS = -Wall -g
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	MAKEFLAGS += -j$(NUMJOBS)
+endif
+
+DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_ARCH_OS  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+	confflags += --build=$(DEB_HOST_GNU_TYPE)
+else
+	confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
+endif
+
+ifeq ($(DEB_BUILD_ARCH_OS), linux)
+	confflags += --with-selinux
+endif
+
+ifneq ($(DEB_BUILD_ARCH_OS), hurd)
+	confflags += --with-default-vt=vt7
+endif
+
+BUILD_DIR := build
+
+stampdir_targets+=config
+config: $(STAMP_DIR)/config
+$(STAMP_DIR)/config: $(STAMP_DIR)/patch
+	dh_testdir
+	autoreconf -vfi
+	>$@
+
+stampdir_targets+=build
+build: $(STAMP_DIR)/build
+$(STAMP_DIR)/build: $(STAMP_DIR)/prepare $(STAMP_DIR)/config
+	dh_testdir
+	mkdir -p $(BUILD_DIR)
+	cd $(BUILD_DIR) && \
+	../configure --prefix=/usr \
+	            --mandir=\$${prefix}/share/man \
+	            --infodir=\$${prefix}/share/info \
+	            $(confflags) \
+	            CFLAGS="$(CFLAGS)" APP_MAN_SUFFIX=1 \
+		    DEF_USER_PATH="/usr/local/bin:/usr/bin:/bin:/usr/games" \
+		    DEF_SYSTEM_PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+	cd $(BUILD_DIR) && $(MAKE)
+	>$@
+
+stampdir_targets+=install
+install: $(STAMP_DIR)/install
+$(STAMP_DIR)/install: $(STAMP_DIR)/build $(STAMP_DIR)/genscripts
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	cd $(BUILD_DIR) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+	install -m 755 debian/local/Xstartup \
+	               debian/tmp/etc/X11/xdm/
+	install -m 755 debian/local/Xreset \
+	               debian/tmp/etc/X11/xdm/
+	install -m 755 debian/local/Xsetup \
+	               debian/tmp/etc/X11/xdm/
+
+	install -m 644 debian/local/xdm.options \
+	               debian/tmp/etc/X11/xdm/
+	install -d debian/tmp/usr/share/man/man5
+	install -m 644 debian/local/xdm.options.5 \
+	               debian/tmp/usr/share/man/man5/
+	install -m 644 debian/local/debian.xpm \
+	               debian/tmp/usr/share/X11/xdm/pixmaps/
+	install -m 644 debian/local/debianbw.xpm \
+	               debian/tmp/usr/share/X11/xdm/pixmaps/
+	install -d debian/tmp/etc/insserv.conf.d
+	install -m 644 debian/xdm.insserv \
+	               debian/tmp/etc/insserv.conf.d/xdm
+	>$@
+
+clean: xsfclean
+	dh_testdir
+	dh_testroot
+	rm -rf $(BUILD_DIR)
+	rm -f aclocal.m4 compile config.guess config.sub config.h.in configure
+	rm -f depcomp install-sh ltmain.sh missing INSTALL
+	rm -f m4/lt*.m4 m4/libtool.m4
+	rm -f $$(find -name Makefile.in)
+	dh_clean
+
+# Build architecture-dependent files here.
+binary-arch: $(STAMP_DIR)/install
+	dh_testdir
+	dh_testroot
+
+	dh_installdocs
+	dh_install --sourcedir=debian/tmp --list-missing
+	dh_installchangelogs ChangeLog
+	dh_installinit --noscripts
+	dh_installdebconf
+	dh_installlogrotate
+	dh_installpam
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-independent files here.
+binary-indep: $(STAMP_DIR)/install
+# Nothing to do
+
+binary: binary-indep binary-arch
+
+.PHONY: build install clean binary binary-indep binary-arch
--- xdm-1.1.10.orig/debian/control
+++ xdm-1.1.10/debian/control
@@ -0,0 +1,45 @@
+Source: xdm
+Section: x11
+Priority: optional
+Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
+Uploaders: David Nusinow <dnusinow@debian.org>, Brice Goglin <bgoglin@debian.org>, Cyril Brulebois <kibi@debian.org>
+Build-Depends:
+ debhelper (>= 5.0.0),
+ pkg-config,
+ libxmu-dev (>= 1:1.0.1),
+ libx11-dev (>= 2:1.0.0),
+ libxau-dev (>= 1:1.0.0),
+ libxaw7-dev (>= 1:1.0.1),
+ libpam0g-dev,
+ libselinux1-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
+ libxinerama-dev (>= 1:1.0.1),
+ libxft-dev,
+ quilt,
+ automake,
+ libtool,
+ xutils-dev
+Standards-Version: 3.8.4
+Vcs-Git: git://git.debian.org/git/pkg-xorg/app/xdm
+Vcs-Browser: http://git.debian.org/?p=pkg-xorg/app/xdm.git
+
+Package: xdm
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ debconf (>= 1.2.9) | debconf-2.0,
+ x11-utils | xbase-clients | xmessage,
+ cpp,
+ lsb-base (>= 3.2-14),
+ x11-xserver-utils,
+ procps,
+Pre-Depends: x11-common (>= 1:7.0.0)
+Provides: x-display-manager
+Description: X display manager
+ xdm manages a collection of X servers, which may be on the local host or
+ remote machines.  It provides services similar to those provided by init,
+ getty, and login on character-based terminals: prompting for login name and
+ password, authenticating the user, and running a session.  xdm supports XDMCP
+ (X Display Manager Control Protocol) and can also be used to run a chooser
+ process which presents the user with a menu of possible hosts that offer
+ XDMCP display management.
--- xdm-1.1.10.orig/debian/xdm.dirs
+++ xdm-1.1.10/debian/xdm.dirs
@@ -0,0 +1 @@
+var/lib/xdm
--- xdm-1.1.10.orig/debian/xdm.templates
+++ xdm-1.1.10/debian/xdm.templates
@@ -0,0 +1,32 @@
+Template: shared/default-x-display-manager
+Type: select
+Choices: ${choices}
+_Description: Default display manager:
+ A display manager is a program that provides graphical login capabilities for
+ the X Window System.
+ .
+ Only one display manager can manage a given X server, but multiple display
+ manager packages are installed. Please select which display manager should
+ run by default.
+ .
+ Multiple display managers can run simultaneously if they are configured to
+ manage different servers; to achieve this, configure the display managers
+ accordingly, edit each of their init scripts in /etc/init.d, and disable the
+ check for a default display manager.
+
+Template: xdm/daemon_name
+Type: string
+Default: /usr/bin/xdm
+Description: internal use only
+ This template is never shown to the user and does not require translation.
+
+Template: xdm/stop_running_server_with_children
+Type: boolean
+Default: false
+_Description: Stop the xdm daemon?
+ The X display manager (xdm) daemon is typically stopped on package upgrade
+ and removal, but it appears to be managing at least one running X session.
+ .
+ If xdm is stopped now, any X sessions it manages will be terminated.
+ Otherwise, the new version will take effect the next time the daemon
+ is restarted.
--- xdm-1.1.10.orig/debian/watch
+++ xdm-1.1.10/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://xorg.freedesktop.org/releases/individual/app/ xdm-(.*)\.tar\.gz
--- xdm-1.1.10.orig/debian/copyright
+++ xdm-1.1.10/debian/copyright
@@ -0,0 +1,132 @@
+This package was downloaded from
+http://xorg.freedesktop.org/releases/individual/app/
+
+Copyright 1988, 1989, 1990, 1991, 1994, 1998  
+The Open Group
+Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of The Open Group shall
+not be used in advertising or otherwise to promote the sale, use or
+other dealings in this Software without prior written authorization
+from The Open Group.
+
+prngc.c:
+Copyright (c) 1995,1999 Theo de Raadt.  All rights reserved.
+Copyright (c) 2001-2002 Damien Miller.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+dm_socket.h, dm_error.h, dm_auth.h
+Copyright 1998 by Thomas E. Dickey <dickey@clark.net>
+
+                        All Rights Reserved
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
+IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name(s) of the above copyright
+holders shall not be used in advertising or otherwise to promote the
+sale, use or other dealings in this Software without prior written
+authorization.
+
+genauth.c:
+Copyright Theodore Ts'o, 1994, 1995, 1996, 1997, 1998, 1999.  All
+rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+   notice, and the entire permission notice in its entirety,
+   including the disclaimer of warranties.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+3. The name of the author may not be used to endorse or promote
+   products derived from this software without specific prior
+   written permission.
+
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
+WHICH ARE HEREBY DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
+OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
+
+Makefile.am
+Copyright 2005  Red Hat, Inc.
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation, and that the name of Red Hat not be used in
+advertising or publicity pertaining to distribution of the software without
+specific, written prior permission.  Red Hat makes no
+representations about the suitability of this software for any purpose. It
+is provided "as is" without express or implied warranty.
+
+RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
--- xdm-1.1.10.orig/debian/README.source
+++ xdm-1.1.10/debian/README.source
@@ -0,0 +1,73 @@
+------------------------------------------------------
+Quick Guide To Patching This Package For The Impatient
+------------------------------------------------------
+
+1. Make sure you have quilt installed
+2. Unpack the package as usual with "dpkg-source -x"
+3. Run the "patch" target in debian/rules
+4. Create a new patch with "quilt new" (see quilt(1))
+5. Edit all the files you want to include in the patch with "quilt edit" 
+   (see quilt(1)).
+6. Write the patch with "quilt refresh" (see quilt(1))
+7. Run the "clean" target in debian/rules
+
+Alternatively, instead of using quilt directly, you can drop the patch in to 
+debian/patches and add the name of the patch to debian/patches/series.
+
+------------------------------------
+Guide To The X Strike Force Packages
+------------------------------------
+
+The X Strike Force team maintains X packages in git repositories on
+git.debian.org in the pkg-xorg subdirectory. Most upstream packages
+are actually maintained in git repositories as well, so they often
+just need to be pulled into git.debian.org in a "upstream-*" branch.
+Otherwise, the upstream sources are manually installed in the Debian
+git repository.
+
+The .orig.tar.gz upstream source file could be generated using this
+"upstream-*" branch in the Debian git repository but it is actually
+copied from upstream tarballs directly.
+
+Due to X.org being highly modular, packaging all X.org applications
+as their own independent packages would have created too many Debian
+packages. For this reason, some X.org applications have been grouped
+into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils,
+x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils.
+Most packages, including the X.org server itself and all libraries
+and drivers are, however maintained independently.
+
+The Debian packaging is added by creating the "debian-*" git branch
+which contains the aforementioned "upstream-*" branch plus the debian/
+repository files.
+When a patch has to be applied to the Debian package, two solutions
+are involved:
+* If the patch is available in one of the upstream branches, it
+  may be git'cherry-picked into the Debian repository. In this
+  case, it appears directly in the .diff.gz.
+* Otherwise, the patch is added to debian/patches/ which is managed
+  with quilt as documented in /usr/share/doc/quilt/README.source.
+
+quilt is actually invoked by the Debian X packaging through a larger
+set of scripts called XSFBS. XSFBS brings some other X specific
+features such as managing dependencies and conflicts due to the video
+and input driver ABIs.
+XSFBS itself is maintained in a separate repository at
+  git://git.debian.org/pkg-xorg/xsfbs.git
+and it is pulled inside the other Debian X repositories when needed.
+
+The XSFBS patching system requires a build dependency on quilt. Also
+a dependency on $(STAMP_DIR)/patch has to be added to debian/rules
+so that the XSFBS patching occurs before the actual build. So the
+very first target of the build (likely the one running autoreconf)
+should depend on $(STAMP_DIR)/patch. It should also not depend on
+anything so that parallel builds are correctly supported (nothing
+should probably run while patching is being done). And finally, the
+clean target should depend on the xsfclean target so that patches
+are unapplied on clean.
+
+When the upstream sources contain some DFSG-nonfree files, they are
+listed in text files in debian/prune/ in the "debian-*" branch of
+the Debian repository. XSFBS' scripts then take care of removing
+these listed files during the build so as to generate a modified
+DFSG-free .orig.tar.gz tarball.
--- xdm-1.1.10.orig/debian/xdm.insserv
+++ xdm-1.1.10/debian/xdm.insserv
@@ -0,0 +1 @@
+$x-display-manager		xdm
--- xdm-1.1.10.orig/debian/xdm.config.in
+++ xdm-1.1.10/debian/xdm.config.in
@@ -0,0 +1,80 @@
+#!/bin/sh
+# Debian xdm package configuration script
+# Copyright 2000-2003 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+
+set -e
+
+# source debconf library
+. /usr/share/debconf/confmodule
+
+THIS_PACKAGE=xdm
+THIS_SCRIPT=config
+
+#INCLUDE_SHELL_LIB#
+
+# set default display manager
+DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
+
+OWNERS=
+if db_metaget shared/default-x-display-manager owners; then
+  OWNERS="$RET"
+fi
+
+CHOICES=
+if db_metaget shared/default-x-display-manager choices; then
+  CHOICES="$RET"
+fi
+
+if [ "$OWNERS" != "$CHOICES" ]; then
+  observe "X display managers now available are \"$OWNERS\""
+  run db_subst shared/default-x-display-manager choices "$OWNERS"
+  run db_fset shared/default-x-display-manager seen false
+fi
+
+# debconf is not a registry; use the current contents of the default display
+# manager file to pre-answer the question if possible
+if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then
+  CURRENT_DEFAULT=$(basename "$(grep -v '^[[:space:]]*#' \
+                                "$DEFAULT_DISPLAY_MANAGER_FILE" |
+                                head -n 1)")
+  if [ -n "$CURRENT_DEFAULT" ]; then
+    if ! which "$CURRENT_DEFAULT" >/dev/null 2>&1; then
+      observe "default display manager \"$CURRENT_DEFAULT\" specified in" \
+              "$DEFAULT_DISPLAY_MANAGER_FILE does not exist or is not" \
+              "executable"
+    fi
+    run db_set shared/default-x-display-manager "$CURRENT_DEFAULT"
+  fi
+else
+  CURRENT_DEFAULT=
+  if db_get shared/default-x-display-manager; then
+    CURRENT_DEFAULT="$RET"
+  fi
+fi
+
+run db_input high shared/default-x-display-manager
+run db_go
+
+# using this display manager?
+NEW_DEFAULT=
+if db_get shared/default-x-display-manager; then
+  NEW_DEFAULT="$RET"
+fi
+
+# move the default display manager file if we're going to change it
+if [ -n "$NEW_DEFAULT" ]; then
+  if [ "$NEW_DEFAULT" != "$CURRENT_DEFAULT" ]; then
+    if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then
+      observe "preparing to change default X display manager from" \
+              "\"$CURRENT_DEFAULT\" to \"$NEW_DEFAULT\""
+      mv "$DEFAULT_DISPLAY_MANAGER_FILE" \
+         "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp"
+    fi
+  fi
+fi
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=80:
--- xdm-1.1.10.orig/debian/xdm.preinst.in
+++ xdm-1.1.10/debian/xdm.preinst.in
@@ -0,0 +1,25 @@
+#!/bin/sh
+# Debian xdm package pre-installation script
+# Copyright 1998-2001, 2003, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+THIS_PACKAGE=xdm
+THIS_SCRIPT=preinst
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "install" ]; then
+  # Create a flag file that tells the postinst script this is an install, not
+  # an upgrade.
+  : >/var/run/xdm.install
+fi
+
+#DEBHELPER#
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=80:
--- xdm-1.1.10.orig/debian/xdm.postinst.in
+++ xdm-1.1.10/debian/xdm.postinst.in
@@ -0,0 +1,147 @@
+#!/bin/sh
+# Debian xdm package post-installation script
+# Copyright 1998-2001, 2003, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+# source debconf library
+. /usr/share/debconf/confmodule
+
+THIS_PACKAGE=xdm
+THIS_SCRIPT=postinst
+
+#INCLUDE_SHELL_LIB#
+
+DAEMON=/usr/bin/xdm
+OLD_DAEMON=/usr/bin/X11/xdm
+
+# debconf is not a registry, so we only fiddle with the default file if it
+# does not exist
+DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
+if ! [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then
+  DEFAULT_DISPLAY_MANAGER=
+  if db_get shared/default-x-display-manager; then
+    DEFAULT_DISPLAY_MANAGER="$RET"
+  fi
+  if [ -n "$DEFAULT_DISPLAY_MANAGER" ]; then
+    DAEMON_NAME=
+    if db_get "$DEFAULT_DISPLAY_MANAGER"/daemon_name; then
+      DAEMON_NAME="$RET"
+    fi
+    if [ -z "$DAEMON_NAME" ]; then
+      # if we were unable to determine the name of the selected daemon (for
+      # instance, if the selected default display manager doesn't provide a
+      # daemon_name question), guess
+      DAEMON_NAME=$(which "$DEFAULT_DISPLAY_MANAGER" 2>/dev/null)
+      if [ -z "$DAEMON_NAME" ]; then
+        warn "unable to determine path to default X display manager" \
+             "$DEFAULT_DISPLAY_MANAGER; not updating" \
+             "$DEFAULT_DISPLAY_MANAGER_FILE"
+      fi
+    fi
+    if [ -n "$DAEMON_NAME" ]; then
+      if [ "$DAEMON_NAME" = "$OLD_DAEMON" ]; then
+        DAEMON_NAME="$DAEMON"
+      fi
+      observe "committing change of default X display manager"
+      echo "$DAEMON_NAME" > "$DEFAULT_DISPLAY_MANAGER_FILE"
+    fi
+  fi
+else
+  DEFAULT_DISPLAY_MANAGER=$(cat "$DEFAULT_DISPLAY_MANAGER_FILE")
+  if [ "$DEFAULT_DISPLAY_MANAGER" = "$OLD_DAEMON" ]; then
+    observe "changing default X display manager from $OLD_DAEMON to $DAEMON"
+    echo "$DAEMON" > "$DEFAULT_DISPLAY_MANAGER_FILE"
+  fi
+fi
+
+# remove the displaced old default display manager file if it exists
+if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" ]; then
+  rm "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp"
+fi
+
+# Registering the init scripts or starting the daemon may cause output to
+# stdout, which can confuse debconf.
+db_stop
+
+if [ -e /etc/init.d/xdm ]; then
+  update-rc.d xdm defaults 99 01
+fi
+
+# Whether we are installing or upgrading, we check the options file to see if
+# the user wants the daemon (re-)started.
+NOSTART=
+XDM_WHERE=
+if [ -e /var/run/xdm.install ]; then
+  # Don't start the daemon if the options file says not to.
+  if ! grep -qs ^start-on-install /etc/X11/xdm/xdm.options; then
+    NOSTART=yes
+  fi
+else
+  # We are upgrading.  Don't start the daemon if the options file says not to.
+  if ! grep -qs ^restart-on-upgrade /etc/X11/xdm/xdm.options; then
+    NOSTART=yes
+  fi
+fi
+
+# At this point we may think we *should* be starting the daemon, but we need to
+# do some more checks.  Clean up the old, obsolete /var/state/xdm directory
+# (which we can only do if the daemon isn't running).
+
+DENYSTART=
+# On upgrades, don't start the daemon if it's already running...
+if [ -z "$FIRSTINST" ] && \
+  start-stop-daemon --stop --quiet --signal 0 --pid /var/run/xdm.pid \
+                     --name $(basename $DAEMON) ; then
+  # Note our refusal to start the daemon if we were supposed to start it.
+  [ -n "$NOSTART" ] || DENYSTART=yes
+  DENIAL_REASON="xdm is already running at pid $(cat /var/run/xdm.pid)"
+  if [ -d /var/state/xdm ]; then
+    warn "obsolete directory /var/state/xdm cannot be removed because" \
+         "$DENIAL_REASON; reinstall the xdm package (or remove the directory" \
+         "manually) when xdm is not running"
+  fi
+else
+  if [ -d /var/state/xdm ]; then
+    rm -r /var/state/xdm
+  fi
+  # ...or if we're currently in X on any of the displays it attempts to manage
+  # by default.
+  if [ -s /etc/X11/xdm/Xservers ]; then
+    MANAGED_DISPLAYS="$(egrep -v '^[[:space:]]*#' /etc/X11/xdm/Xservers \
+                        | sed 's/[[:space:]].*//')"
+    if [ -n "$MANAGED_DISPLAYS" ]; then
+      for MANAGED_DISPLAY in $MANAGED_DISPLAYS; do
+        if echo "$DISPLAY" | grep -q "^$MANAGED_DISPLAY"; then
+          # Note our refusal to start the daemon if we were supposed to start
+          # it.
+          [ -n "$NOSTART" ] || DENYSTART=yes
+          DENIAL_REASON="an X server is already running at $DISPLAY, which"
+          DENIAL_REASON="$DENIAL_REASON xdm is configured to to manage"
+          break
+        fi
+      done
+    fi
+  fi
+fi
+
+# If the user wanted us to start the daemon but we refuse, explain why.
+if [ -n "$DENYSTART" ]; then
+  warn "not starting xdm because $DENIAL_REASON"
+  NOSTART=yes
+fi
+
+[ -n "$NOSTART" ] || invoke-rc.d xdm start || true
+
+#DEBHELPER#
+
+# Remove install flag file.  Leave the "daemon not stopped" flag file, if it
+# exists, so that it will be seen by the init script.
+rm -f /var/run/xdm.install
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=80:
--- xdm-1.1.10.orig/debian/xdm.pam
+++ xdm-1.1.10/debian/xdm.pam
@@ -0,0 +1,9 @@
+auth		requisite	pam_nologin.so
+auth		required	pam_env.so
+auth		required	pam_env.so envfile=/etc/default/locale
+session		required	pam_limits.so
+
+@include common-auth
+@include common-account
+@include common-session
+@include common-password
--- xdm-1.1.10.orig/debian/xdm.logrotate
+++ xdm-1.1.10/debian/xdm.logrotate
@@ -0,0 +1,15 @@
+/var/log/xdm.log {
+    weekly
+    rotate 52
+    compress
+    delaycompress
+    notifempty
+    missingok
+    postrotate
+        if [ -r /var/run/xdm.pid ]; then \
+            kill -s USR2 $(cat /var/run/xdm.pid); \
+        fi
+    endscript
+}
+
+# vim:set ai et sts=4 sw=4 tw=80:
--- xdm-1.1.10.orig/debian/TODO
+++ xdm-1.1.10/debian/TODO
@@ -0,0 +1,7 @@
+In random order:
+* Check for minimal versions of dependencies
+* Check for regressions from monolith
+* Upgrade testing
+* Review maintainer scripts once again
+ - stop/nostop issue especially.
+* Pull in changelogs from monolith
--- xdm-1.1.10.orig/debian/gbp.conf
+++ xdm-1.1.10/debian/gbp.conf
@@ -0,0 +1,6 @@
+[DEFAULT]
+debian-branch = debian-unstable
+upstream-branch = upstream-unstable
+pristine-tar = True
+debian-tag = %(version)s
+upstream-tag = %(version)s
--- xdm-1.1.10.orig/debian/xdm.init
+++ xdm-1.1.10/debian/xdm.init
@@ -0,0 +1,128 @@
+#!/bin/sh
+
+# Copyright 1998-2002, 2004, 2005 Branden Robinson <branden@debian.org>.
+# Copyright 2006 Eugene Konev <ejka@imfi.kspu.ru>
+#
+# This is free software; you may redistribute it and/or modify
+# it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2,
+# or (at your option) any later version.
+#
+# This is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License with
+# the Debian operating system, in /usr/share/common-licenses/GPL;  if
+# not, write to the Free Software Foundation, Inc., 59 Temple Place,
+# Suite 330, Boston, MA 02111-1307 USA
+
+### BEGIN INIT INFO
+# Provides:          xdm
+# Required-Start:    $local_fs $remote_fs
+# Required-Stop:     $local_fs $remote_fs
+# Should-Start:      xfs $named slapd hal
+# Should-Stop:       xfs $named slapd hal
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: The X Display Manager
+### END INIT INFO
+
+set -e
+
+# To start xdm even if it is not the default display manager, change
+# HEED_DEFAULT_DISPLAY_MANAGER to "false."
+# Also overridable from command line like:
+# HEED_DEFAULT_DISPLAY_MANAGER=false /etc/init.d/xdm start
+[ -z "$HEED_DEFAULT_DISPLAY_MANAGER" ] && HEED_DEFAULT_DISPLAY_MANAGER=true
+
+DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+DAEMON=/usr/bin/xdm
+PIDFILE=/var/run/xdm.pid
+
+test -x $DAEMON || exit 0
+
+. /lib/lsb/init-functions
+
+# If we have upgraded the daemon since we last started it, we can't use the
+# --exec argument to start-stop-daemon, because the daemon's inode will have
+# changed.  The risk here is that in a situation where the daemon died, its
+# pidfile was not cleaned up, we've upgraded it, *and* some other process is now
+# running under that pid, start-stop-daemon will send signals to an innocent
+# process.  However, this seems like a corner case.  C'est la vie!
+# Update: --name should prevent signalling innocent processes.
+SSD_START_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --startas $DAEMON"
+SSD_STOP_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --retry TERM/5/TERM/5"
+SSD_RELOAD_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --signal 1"
+
+case "$1" in
+  start)
+    if [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] &&
+       [ -e $DEFAULT_DISPLAY_MANAGER_FILE ] &&
+       [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
+      echo "Not starting X display manager (xdm); it is not the default" \
+        "display manager."
+    else
+      log_daemon_msg "Starting X display manager" "xdm"
+      start-stop-daemon --start --quiet $SSD_START_ARGS \
+        || log_progress_msg "already running"
+      log_end_msg 0
+    fi
+  ;;
+
+  restart)
+    /etc/init.d/xdm stop
+    [ -f $PIDFILE ] && exit 1
+    /etc/init.d/xdm start
+  ;;
+
+  reload)
+    log_daemon_msg "Reloading X display manager configuration..."
+    if ! start-stop-daemon --stop --quiet $SSD_RELOAD_ARGS; then
+      log_progress_msg "not running."
+    fi
+    log_end_msg 0
+  ;;
+
+  force-reload)
+    /etc/init.d/xdm reload
+  ;;
+
+  stop)
+    log_daemon_msg "Stopping X display manager" "xdm"
+    if ! [ -f $PIDFILE ]; then
+      log_progress_msg "not running ($PIDFILE not found)"
+    else
+      start-stop-daemon --stop --quiet $SSD_STOP_ARGS
+      SSD_RES=$?
+      if [ $SSD_RES -eq 1 ]; then
+        log_progress_msg "not running"
+      fi
+      if [ $SSD_RES -eq 2 ]; then
+        log_progress_msg "not responding to TERM signals"
+      else
+	if [ -f $PIDFILE ]; then
+	  log_progress_msg "(removing stale $PIDFILE)"
+	  rm $PIDFILE
+	fi
+      fi
+    fi
+    log_end_msg 0
+  ;;
+
+  status)
+	status_of_proc -p $PIDFILE $DAEMON xdm && exit 0 || exit $?
+  ;;
+
+  *)
+    echo "Usage: /etc/init.d/xdm {start|stop|restart|reload|force-reload|status}"
+    exit 1
+    ;;
+esac
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=80:
--- xdm-1.1.10.orig/debian/xdm.install
+++ xdm-1.1.10/debian/xdm.install
@@ -0,0 +1,20 @@
+etc/X11/app-defaults/Chooser
+etc/X11/xdm/Xaccess
+etc/X11/xdm/Xreset
+etc/X11/xdm/Xresources
+etc/X11/xdm/Xservers
+etc/X11/xdm/Xsession
+etc/X11/xdm/Xsetup
+etc/X11/xdm/Xstartup
+etc/X11/xdm/Xwilling
+etc/X11/xdm/xdm-config
+etc/X11/xdm/xdm.options
+etc/insserv.conf.d/xdm
+usr/bin/xdm
+usr/lib/X11/xdm/chooser
+usr/share/X11/xdm/pixmaps/debianbw.xpm
+usr/share/X11/xdm/pixmaps/debian.xpm
+usr/share/X11/xdm/pixmaps/xorg-bw.xpm
+usr/share/X11/xdm/pixmaps/xorg.xpm
+usr/share/man/man1/xdm.1
+usr/share/man/man5/xdm.options.5
--- xdm-1.1.10.orig/debian/xdm.README.Debian
+++ xdm-1.1.10/debian/xdm.README.Debian
@@ -0,0 +1,54 @@
+Debian README for xdm package
+=============================
+
+Upgraders from Debian GNU/Linux 2.0 or earlier should be aware that the
+/etc/X11/config file is no longer used; its xdm-specific options are now in
+/etc/X11/xdm/xdm.options.
+
+The default configuration for the X display manager (xdm) under Debian
+GNU/Linux presumes that one wishes xdm to manage one local session.  (In
+other words, the xdm login screen occupies one virtual console
+automatically at boot.)  If one does not wish to run a local X server, the
+following line should be commented out of /etc/X11/xdm/Xservers:
+
+:0 local /usr/bin/X vt7
+
+Several configuration files are shipped with the xdm package; they reside
+in the /etc/X11/xdm/ directory.  Extensive documentation about the xdm
+configuration files may be found in the xdm(1) manual page.
+
+xdm-config contains X resources specific to xdm itself.  See the X(1)
+manual page for more information about X resources, and the xdm(1) manual
+pages for documentation of the available xdm resources.
+
+Xresources contains X resources that are designed to be specfic to sessions
+running under xdm.  Note that this file does contain the resource entries
+for xdm itself -- those are contained in the file xdm-config.  See the X(1)
+manual page for more information about X resources.
+
+The above three files, despite being X resource files, are not placed in the
+/etc/X11/Xresources directory because they should not be used automatically 
+in all X sessions; the /etc/X11/Xsession script merges in the resources of 
+all files found in /etc/X11/Xresources, and this action would be inappropriate
+for these resource files.
+
+Xservers contains entries to start the X server(s) on the local machine, and
+on any remote X terminals that do not support XDMCP.  This file is internally
+documented.
+
+Xaccess determines what hosts on the network may use the services of the
+running xdm daemon.  This file is internally documented.  Note that as of
+version 3.3.4-1 of the xdm package, all remote XDMCP access is turned off
+by default.
+
+Xstartup is a shell script which is run (as root) after a user has logged in
+on a server.
+
+Xreset is a shell script which is run (as root) after a user's X session ends on
+a server.
+
+xdm.options contains configuration options for xdm that are specific to the
+Debian GNU/Linux system.  See the xdm.options(5) manual page for more
+information.
+
+vim:set ai et sts=4 sw=4 tw=80:
--- xdm-1.1.10.orig/debian/changelog
+++ xdm-1.1.10/debian/changelog
@@ -0,0 +1,426 @@
+xdm (1:1.1.10-3) unstable; urgency=low
+
+  [ Samuel Thibault ]
+  * Remove vt7 option on hurd-i386 (closes: #584829).
+
+ -- Julien Cristau <jcristau@debian.org>  Fri, 18 Jun 2010 13:38:41 +0100
+
+xdm (1:1.1.10-2) unstable; urgency=low
+
+  [ Julien Cristau ]
+  * debian.diff: stop defining XDMAUTHDIR, it's not used anymore.
+  * debian.diff: replace references to the XFree86 X server with Xorg.
+  * Set default system and user PATHs when running configure instead of
+    patching xdm-config.
+  * Drop obsolete upgrade code from pre-etch versions in preinst, postinst and
+    postrm scripts.
+
+  [ Sven Joachim ]
+  * xdm.init: Implement "status" option (Closes: #583802).
+    - Bump dependency on lsb-base to 3.2-14 for status_of_proc().
+
+ -- Julien Cristau <jcristau@debian.org>  Sun, 06 Jun 2010 18:09:21 +0200
+
+xdm (1:1.1.10-1) unstable; urgency=low
+
+  * New upstream release.
+    - don't delete the pid file from child xdm processes, closes: #372114
+    - clear the "Login incorrect" message properly on next login,
+      closes: #525596.  Thanks, Martin Dickopp!
+    - fix xdmcp with net.ipv6.bindv6only=1
+  * Patches merged upstream:
+    - 02_xdm_zombie_no_error.diff
+    - 15_xdm_openfiles.diff
+    - 90_xdm_write_dummy_auth.diff
+    - 91_xdm_saveserverauth_logging.diff
+    - log_sourcing_better.diff
+    - selinux_support.diff
+    - storepid_rewrite.diff
+  * Xstartup: use id -u $USER, not id -u, since this script is run as root.
+    See #118677.
+  * debian/rules: delete libtool m4 files on clean.
+  * Introduce virtual facility x-display-manager for insserv
+    (closes: #554839).  Thanks, Jonas Meurer!
+  * debian/rules: kill gratuitous uses of $(CURDIR).
+  * debian/xdm.pam: @include common-* after pam_env and friends, so that we
+    still set env vars if e.g. common-auth contains a 'sufficient' module
+    (closes: #444483).
+  * debian/xdm.init: add Short-Description (closes: #510085).
+
+ -- Julien Cristau <jcristau@debian.org>  Mon, 19 Apr 2010 20:55:56 +0200
+
+xdm (1:1.1.9-2) unstable; urgency=low
+
+  [ Cyril Brulebois ]
+  * Add debian/patches/doc_mention_xdm.options.diff: mention
+    xdm.options(5) in xdm(1), as suggested by Chris Pimlott some years ago
+    (Closes: #135692).
+  * Add myself to Uploaders.
+  * Add ${misc:Depends}, and wrap Depends.
+
+  [ Julien Cristau ]
+  * greeter: fix logging of failed login attempts (cherry-picked from upstream
+    git), closes: #576360.
+
+ -- Cyril Brulebois <kibi@debian.org>  Thu, 08 Apr 2010 23:13:05 +0200
+
+xdm (1:1.1.9-1) unstable; urgency=low
+
+  [ Julien Cristau ]
+  * Xreset, Xstartup: don't add /usr/bin/X11 to PATH.
+  * xdm.postrm: remove /etc/X11/default-display-manager on purge if it exists
+    and points to xdm.  Fixes piuparts failure.
+  * xdm.prerm uses ps, add Depends on procps.
+  * Update patches 20_xdm_log_timestamp.diff and 21_xdm_log_append.diff.
+  * Drop 01_xdm_include_fcntl.diff, not necessary.
+  * 15_xdm_openfiles.diff: only keep the race condition fix.  The other change
+    allowed passing NULL as third argument to openFiles(), and used to have an
+    accompanying change in SetUserAuthorization() which seems to have
+    disappeared since then, so this isn't necessary anymore.
+  * log_sourcing_better.diff: resurrect patch header from the monolith's
+    078_xdm_log_sourcing_better.diff.
+  * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
+    good reason.  Thanks, Colin Watson!
+  * Remove myself from Uploaders
+  * Get rid of obsolete svn $Id$ keywords in the packaging.
+
+  [ Brice Goglin ]
+  * New upstream release.
+    + Drop 00_warning_fixes.diff, always entirely fixed upstream.
+    + Drop openlog.diff, irrelevant now.
+    + Drop 03_spelling.diff, 04_xdm_init_log_earlier.diff,
+      07_xdm_more_debug.diff, 08_xdm_execute_more_debug.diff,
+      09_xdm_syserrormsg.diff, 10_xdm_better_logging.diff,
+      11_xdm_strerror.diff, 12_remove_pidfile.diff,
+      applied upstream.
+  * Refresh patches.
+  * Add Xreset hook, closes: #571607.
+  * Bump Standards-Version to 3.8.4, no changes.
+  * Add myself to Uploaders.
+
+ -- Brice Goglin <bgoglin@debian.org>  Sun, 14 Mar 2010 11:44:38 +0100
+
+xdm (1:1.1.8-6) unstable; urgency=low
+
+  * Updated Spanish debconf translation, thanks to Francisco Javier Cuadrado
+    (closes: #504059).
+  * xdm.init: Add Should-{Start,Stop}: hal.
+  * Split xdm_fixes.diff in multiple patches, and document them:
+    - 00_warning_fixes.diff: fix compiler warnings
+    - 01_xdm_include_fcntl.diff: auth.c: include <fcntl.h> for definitions of
+      O_ flags to open()
+    - 02_xdm_zombie_no_error.diff: downgrade an error to info message
+    - 03_spelling.diff: spelling fix
+    - 04_xdm_init_log_earlier.diff: Call InitErrorLog() right after
+      BecomeDaemon()
+    - 07_xdm_more_debug.diff: Add some more log and debug messages
+    - 08_xdm_execute_more_debug.diff: session.c: Add more debugging to
+      execute()
+    - 09_xdm_syserrormsg.diff: Use xdm's _SysErrorMsg() function instead of
+      merely printing errno
+    - 10_xdm_better_logging.diff: Use _SysErrorMsg() in the log message in
+      various error conditions
+    - 11_xdm_strerror.diff: Use xdm's _SysErrorMsg() function instead of
+      strerror()
+    - 12_remove_pidfile.diff: Add RemovePid() function, and register it with
+      atexit()
+    - 15_xdm_openfiles.diff: openFiles() improvements
+    - 20_xdm_log_timestamp.diff: Add timestamping to logging functions, except
+      for LogoutOfMem()
+    - 21_xdm_log_append.diff: Append to the log file if it already exists
+    - 90_xdm_write_dummy_auth.diff: Always attempt to write data to the auth
+      file
+    - 91_xdm_saveserverauth_logging.diff: improve error logging
+    - storepid_rewrite.diff: rewrite StorePid()
+  * Also add a header explaining the changes in debian.diff and
+    support_logfile_rotation.diff.
+  * Run autoreconf at build time; build-depend on automake, libtool and
+    xutils-dev.
+  * Allow parallel builds.
+  * Replace 'Suggests: sessreg | xutils' with dependency on x11-xserver-utils,
+    which also brings xrdb (closes: #527619).  Thanks, Phil Endecott!  Remove
+    explanation about why we need sessreg and cpp from the long description,
+    since we have a Depends on them now anyway.
+  * Cherry-pick one patch from upstream git to fix configure.ac for new
+    libXaw.
+  * Add README.source, bump Standards-Version to 3.8.1.
+
+ -- Julien Cristau <jcristau@debian.org>  Wed, 10 Jun 2009 16:19:31 +0200
+
+xdm (1:1.1.8-5) unstable; urgency=low
+
+  * Updated Polish debconf translation, thanks to Łukasz Paździora
+    (closes: #499073).
+
+ -- Julien Cristau <jcristau@debian.org>  Sun, 05 Oct 2008 20:55:43 +0200
+
+xdm (1:1.1.8-4) unstable; urgency=low
+
+  * Update SELinux patch to get the correct login context (closes: #493524).
+    Thanks, Russell Coker!
+  * debian.diff: Fix remaining bad reference to the auth dir in manpage.
+  * xdm_fixes.diff: open the log file *after* BecomeDaemon(), so we don't send
+    the log to /dev/null (closes: #495776).
+
+ -- Julien Cristau <jcristau@debian.org>  Wed, 20 Aug 2008 15:30:27 +0200
+
+xdm (1:1.1.8-3) unstable; urgency=medium
+
+  * debian/rules: make sure the install stamp is created, and don't try to
+    create the build dir if it already exists.  Fixes unreported FTBFS.
+
+ -- Julien Cristau <jcristau@debian.org>  Tue, 22 Jul 2008 15:30:36 +0200
+
+xdm (1:1.1.8-2) unstable; urgency=low
+
+  * Disable xdm-auth to work around an Xlib bug (closes: #486606).  Add a NEWS
+    entry warning people about XDM-AUTHORIZATION-1 cookies no longer working,
+    thanks to Bernhard R. Link.
+  * New patch 07_openlog.diff: call openlog() in the greeter to set the
+    service name/pid and get proper logging from pam (closes: #382037).
+
+ -- Julien Cristau <jcristau@debian.org>  Thu, 17 Jul 2008 19:06:41 +0200
+
+xdm (1:1.1.8-1) unstable; urgency=low
+
+  * Drop lintian overrides, they're unused anyway.
+  * Remove “-1” debian revision from Build-Depends (thanks to lintian).
+  * New upstream release.
+    + doesn't pass the chooser socket to children (closes: #67086)
+  * Change 'xbase-clients | xmessage' dependency to 'x11-utils | xbase-clients
+    | xmessage'.
+
+ -- Julien Cristau <jcristau@debian.org>  Thu, 22 May 2008 18:28:13 +0200
+
+xdm (1:1.1.7-1) unstable; urgency=low
+
+  [ David Nusinow ]
+  * Add Finnish translation, courtesy of Esko Arajärvi. closes: #468553
+
+  [ Julien Cristau ]
+  * New upstream release.
+  * Refresh patches.
+  * Fix LSB header in xdm.init: don't stop in the S runlevel.  Thanks, Petter
+    Reinholdtsen (closes: #469995).
+
+  [ Brice Goglin ]
+  * Add the upstream URL to debian/copyright.
+  * Add Vcs-Git and Vcs-Browser fields.
+  * Bump Standards-Version: to 3.7.3, no change needed.
+
+ -- Julien Cristau <jcristau@debian.org>  Wed, 12 Mar 2008 15:02:54 +0100
+
+xdm (1:1.1.6-4) unstable; urgency=low
+
+  * Remove /usr/bin/X11 from systemPath and userPath in xdm-config,
+    thanks Sven Joachim, closes: #451617.
+  * Drop -dpi 100 from debian.diff and add a NEWS entry about it,
+    closes: #237877.
+
+ -- Brice Goglin <bgoglin@debian.org>  Thu, 17 Jan 2008 20:50:21 +0100
+
+xdm (1:1.1.6-3) unstable; urgency=low
+
+  * Grab upstream commit 28f4ded22488ce8542ff8b9871f6b4e04614058d to
+    really fix config/Xresources.cpp, closes: #440389.
+
+ -- Brice Goglin <bgoglin@debian.org>  Fri, 21 Sep 2007 21:35:43 +0200
+
+xdm (1:1.1.6-2) unstable; urgency=low
+
+  * Grab upstream commit 923176024d3d6b7f5b392b4f9a07cce8c6ed3823 to
+    fix missing #endif.
+
+ -- Brice Goglin <bgoglin@debian.org>  Wed, 29 Aug 2007 20:36:13 +0200
+
+xdm (1:1.1.6-1) unstable; urgency=low
+
+  [ Debconf translation updates ]
+  * Romanian updated. Closes: #421748
+  * Vietnamese updated. Closes: #427192
+
+  [ Brice Goglin ]
+  * Update to new xsfbs which does not call laptop-detect anymore,
+    closes: #438098.
+  * New upstream release.
+    + Fix non-existing section in the manpage, thanks Luca Capello,
+      closes: #376391.
+    + Revert "Set path to xrdb and default session in debian/rules"
+      now that it is properly fixed upstream.
+
+ -- Brice Goglin <bgoglin@debian.org>  Wed, 29 Aug 2007 09:48:33 +0200
+
+xdm (1:1.1.5-2) unstable; urgency=low
+
+  * Set path to xrdb and default session in debian/rules to work around a bug
+    in configure.ac (closes: #437961).
+
+ -- Julien Cristau <jcristau@debian.org>  Thu, 16 Aug 2007 04:52:04 +0200
+
+xdm (1:1.1.5-1) unstable; urgency=low
+
+  * Use /usr/bin/xdm instead of /usr/bin/X11/xdm in the init script and in the
+    debconf templates.  On upgrades, if /etc/X11/default-display-manager
+    contains /usr/bin/X11/xdm, change it to /usr/bin/xdm (closes: #382418).
+  * New upstream release
+    + fixes race condition in policy.c:Willing() (closes: #256299).
+    + xdm_fixes.diff, debian.diff: drop our changes to config/Xresources.cpp.
+      They don't apply on top of 1.1.5.
+  * Build against libXft (closes: #427233).
+  * Use lsb functions for init script output (closes: #419143).
+
+ -- Julien Cristau <jcristau@debian.org>  Tue, 14 Aug 2007 15:58:19 +0200
+
+xdm (1:1.1.4-3) unstable; urgency=low
+
+  [ Christian Perrier ]
+  * New debconf templates translation:
+    - Korean. Closes: #418073
+
+  [ Julien Cristau ]
+  * Upload to unstable.
+
+ -- Julien Cristau <jcristau@debian.org>  Mon, 09 Apr 2007 04:23:22 +0200
+
+xdm (1:1.1.4-2) experimental; urgency=low
+
+  [ Brice Goglin ]
+  * Restore Provides: x-display-manager which got lost during transition
+    to modular packages. (closes: #384686).
+
+  [ Christian Perrier ]
+  * Debconf templates rewrite by debian-l10n-english team:
+    - Templates proofread and slightly rewritten. Closes: #415772
+    - Translation updates:
+      - Slovak. Closes: #415809, #415822
+      - Russian. Closes: #415812
+      - Swedish. Closes: #415817
+      - Catalan. Closes: #415821
+      - Japanese. Closes: #415823
+      - Galician. Closes: #415828
+      - Basque. Closes: #415843
+      - Czech. Closes: #416037
+      - German. Closes: #416051
+      - Italian. Closes: #416169
+      - Malayalam. Closes: #416392
+      - Tamil. Closes: #416394
+      - Simplified Chinese. Closes: #416565
+      - Dutch. Closes: #416988
+      - French
+      - Brazilian Portuguese. Closes: #417660
+      - Portuguese. Closes: #417654
+
+ -- Julien Cristau <jcristau@debian.org>  Thu, 05 Apr 2007 23:05:16 +0200
+
+xdm (1:1.1.4-1) experimental; urgency=low
+
+  * New upstream release.
+    + Refresh/update all patches.
+    + Drop style and whitespace changes from xdm_fixes.diff, as they won't
+      apply cleanly.
+    + Patch to fix FTBFS on non-linux GNU systems applied upstream
+      (closes: #377023).
+  * Add LSB dependency information to xdm's init script, using patch from
+    Petter Reinholdtsen <pere@hungry.com> (closes: #335388).
+  * Install upstream ChangeLog.
+  * Change my email address in debian/control.
+
+ -- Julien Cristau <jcristau@debian.org>  Wed,  7 Feb 2007 00:08:12 +0100
+
+xdm (1:1.0.5-2) unstable; urgency=high
+
+  * On initial install, don't check if xdm is already running, because
+    start-stop-daemon in d-i always returns true (closes: #407342). Thanks to
+    Joey Hess for the report.
+  * Add myself to Uploaders, and remove Fabio and Branden with their
+    permission.  They're welcome back whenever they have more time!
+
+ -- Julien Cristau <julien.cristau@ens-lyon.org>  Mon, 22 Jan 2007 09:27:20 +0100
+
+xdm (1:1.0.5-1) unstable; urgency=high
+
+  [ Eugene Konev ]
+  * New upstream release. Fixes security bug on linux-2.6 kernels.
+  * Don't build-depend on libselinux1-dev on non-linux arches, thanks
+    Michael Banck and Christian Perrier (closes: #369519)
+  * Fix init script reload target, thanks Alexandr Kazda (closes: #365548)
+  * Fix authDir reference in xdm(1), thanks Kevin Ryde (closes: #373138)
+  * Update README.Debian, thanks Kevin Ryde (closes: #373870)
+  * Pass APP_MAN_SUFFIX=1 to configure explicitely.
+
+ -- David Nusinow <dnusinow@debian.org>  Fri, 30 Jun 2006 00:42:11 -0400
+
+xdm (1:1.0.4-2) unstable; urgency=low
+
+  * Pre-depend on x11-common. Thanks Eugene Konev.
+  * Update standards version to 3.7.2.0
+  * Bump debhelper compat to version 5
+
+ -- David Nusinow <dnusinow@debian.org>  Mon, 22 May 2006 21:00:54 -0400
+
+xdm (1:1.0.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Version x11-common dependency. Thanks Olivier Ponsini, Ian Bruce,
+    and Steve Langasek. (closes: #365134)
+
+ -- David Nusinow <dnusinow@debian.org>  Thu, 18 May 2006 23:25:22 -0400
+
+xdm (1:1.0.1-6) unstable; urgency=low
+
+  * I'll just add this to the pile of brown paper bags on my head. Actually
+    patch on build. Thanks Eugene Konev for the patch. (closes: #362149)
+  * Swap the dependency on xmessage | xbase-clients to xbase-clients |
+    xmessage. xmessage as a package doesn't exist in Debian, and this version
+    will allow installation on both Ubuntu and Debian.
+  * Add build-depends on quilt. Thanks Peter Jordan. (closes: #362149)
+
+ -- David Nusinow <dnusinow@debian.org>  Sat, 15 Apr 2006 13:14:07 -0400
+
+xdm (1:1.0.1-5) unstable; urgency=low
+
+  * Patch on build. Thanks Martin Stolle and Eugene Konev. (closes: #362149)
+
+ -- David Nusinow <dnusinow@debian.org>  Wed, 12 Apr 2006 20:24:16 -0400
+
+xdm (1:1.0.1-4) unstable; urgency=low
+
+  [ Denis Barbier ]
+  * debian/xdm.pam: Let PAM read locale variables from /etc/default/locale.
+
+  [ David Nusinow ]
+  * Upload to unstable
+
+ -- David Nusinow <dnusinow@debian.org>  Tue,  4 Apr 2006 18:44:41 -0400
+
+xdm (1:1.0.1-3) UNRELEASED-experimental; urgency=low
+
+  * Resurrect debconf usage.
+
+ -- Denis Barbier <barbier@debian.org>  Wed, 15 Mar 2006 01:17:13 +0100
+
+xdm (1:1.0.1-2) experimental; urgency=low
+
+  [ David Nusinow ]
+  * Fix PATH in xdm-config. Thanks Nicolas Bonifas. (closes: #353974)
+  * Port patches from trunk
+    + hurd/810_xdm_utsname.diff
+  * Use epoch'ed versions of build-depends for xlibs. Thanks Kurt Roeckx.
+    (closes: #354099)
+
+ -- David Nusinow <dnusinow@debian.org>  Sun, 12 Mar 2006 14:05:02 -0500
+
+xdm (1:1.0.1-1) experimental; urgency=low
+
+  [ Eugene Konev ]
+  * First release of modular package.
+  * Simplify initscript by using start-stop-daemon built-in
+    functionality.
+  * Move /etc/X11/xdm/pixmaps to /usr/share/X11/xdm/pixmaps. They are
+    definitely not conffiles. (closes #79962)
+  * Move chooser to /usr/lib/X11/xdm in accordance with new policy (8.1).
+  * Ship (empty for now) Xsetup, so we don't break users' setups which
+    use it (closes #347857)
+  * autoreconf due to patches to configure.ac
+
+ -- David Nusinow <dnusinow@debian.org>  Mon, 20 Feb 2006 22:03:05 -0500
--- xdm-1.1.10.orig/debian/compat
+++ xdm-1.1.10/debian/compat
@@ -0,0 +1 @@
+5
--- xdm-1.1.10.orig/debian/xdm.prerm.in
+++ xdm-1.1.10/debian/xdm.prerm.in
@@ -0,0 +1,158 @@
+#!/bin/sh
+# Debian xdm package pre-removal script
+# Copyright 1998-2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+# debconf may not be available if some massive purging is going on
+HAVE_DEBCONF=
+if [ -e /usr/share/debconf/confmodule ]; then
+  . /usr/share/debconf/confmodule
+  HAVE_DEBCONF=yes
+fi
+
+THIS_PACKAGE=xdm
+THIS_SCRIPT=prerm
+
+#INCLUDE_SHELL_LIB#
+
+DAEMON=/usr/bin/xdm
+
+case "$1" in
+  # we NEVER want to unconditionally stop xdm; see below
+  upgrade|failed-upgrade)
+    REMOVING=
+    ;;
+  remove|deconfigure)
+    REMOVING=yes
+    ;;
+esac
+
+STOP=
+# are we supposed to restart on upgrade?  if REMOVING xdm, we don't care what
+# the user says, we have to stop the daemon
+if grep -qs ^restart-on-upgrade /etc/X11/xdm/xdm.options ||
+   [ -n "$REMOVING" ]; then
+  # is there an xdm process running?
+  if start-stop-daemon --stop --quiet --signal 0 \
+      --name $(basename $DAEMON); then
+    # any children?
+    PARENTS=$(pidof $DAEMON || true)
+    CHILDREN=
+    if [ -n "$PARENTS" ]; then
+      for PROCESS in $PARENTS; do
+        # make sure we got numbers back
+        [ $PROCESS -eq $PROCESS ] 2> /dev/null ||
+          die "pidof returned non-numeric value"
+        # we could use grep -q here if ps would ignore SIGPIPE :-P
+        if (ps axj | grep "^ *$PROCESS" > /dev/null 2>&1); then
+          CHILDREN=yes
+        fi
+      done
+      if [ -n "$CHILDREN" ]; then
+        if [ -n "$HAVE_DEBCONF" ]; then
+          # ask the question
+          run db_input high xdm/stop_running_server_with_children
+          run db_go
+          # what did the user say?
+          ANSWER=
+          if db_get xdm/stop_running_server_with_children; then
+            ANSWER="$RET"
+          fi
+          if [ "$ANSWER" = "true" ]; then
+            STOP=yes
+          fi
+          # forget that we have seen the question; this is the sort of
+          # non-configuration question that should be asked every time
+          run db_fset xdm/stop_running_server_with_children seen false
+        fi
+      else
+        STOP=yes
+      fi
+    fi
+  fi
+fi
+
+if [ -n "$STOP" ]; then
+  invoke-rc.d xdm stop || true
+fi
+
+DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
+
+if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
+  if [ -n "$HAVE_DEBCONF" ]; then
+    # disown this question
+    run db_unregister shared/default-x-display-manager
+    # does the question still exist?
+    if db_get shared/default-x-display-manager; then
+      if db_metaget shared/default-x-display-manager owners; then
+        observe "X display managers now available are \"$OWNERS\""
+        run db_subst shared/default-x-display-manager choices "$RET"
+      fi
+      DEFAULT_DISPLAY_MANAGER=
+      if db_get shared/default-x-display-manager; then
+        DEFAULT_DISPLAY_MANAGER="$RET"
+      fi
+      # are we removing the currently selected display manager?
+      if [ -n "$DEFAULT_DISPLAY_MANAGER" ]; then
+        if [ "$THIS_PACKAGE" = "$DEFAULT_DISPLAY_MANAGER" ]; then
+          if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then
+            if db_get "$DEFAULT_DISPLAY_MANAGER/daemon_name"; then
+              # does the display manager file reference the current default?  if
+              # so, remove it because it will now be wrong
+              if [ -n "$RET" ]; then
+                if [ "$(cat "$DEFAULT_DISPLAY_MANAGER_FILE")" = "$RET" ]; then
+                  rm "$DEFAULT_DISPLAY_MANAGER_FILE"
+                fi
+              fi
+            fi
+          fi
+          # ask the user to choose a new default
+          run db_fset shared/default-x-display-manager seen false
+          run db_input critical shared/default-x-display-manager
+          run db_go
+          # if the default display manager file doesn't exist, write it with
+          # the path to the new default display manager
+          if ! [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then
+            DEFAULT_DISPLAY_MANAGER=
+            if db_get shared/default-x-display-manager; then
+              DEFAULT_DISPLAY_MANAGER="$RET"
+            fi
+            if [ -n "$DEFAULT_DISPLAY_MANAGER" ]; then
+              warn "new default display manager has been selected; please be" \
+                   "sure to run \"dpkg-reconfigure $RET\" to ensure that it" \
+                   "is configured"
+              DAEMON_NAME=
+              if db_get "$DEFAULT_DISPLAY_MANAGER"/daemon_name; then
+                DAEMON_NAME="$RET"
+              fi
+              if [ -z "$DAEMON_NAME" ]; then
+                # If we were unable to determine the name of the selected daemon
+                # (for instance, if the selected default display manager doesn't
+                # provide a daemon_name question), guess.
+                DAEMON_NAME=$(which "$DEFAULT_DISPLAY_MANAGER" 2>/dev/null)
+                if [ -z "$DAEMON_NAME" ]; then
+                  warn "unable to determine path to default X display manager" \
+                       "$DEFAULT_DISPLAY_MANAGER; not updating" \
+                       "$DEFAULT_DISPLAY_MANAGER_FILE"
+                fi
+              fi
+              if [ -n "$DAEMON_NAME" ]; then
+                echo "$DAEMON_NAME" > "$DEFAULT_DISPLAY_MANAGER_FILE"
+              fi
+            fi
+          fi
+        fi
+      fi
+    fi
+  fi
+fi
+
+#DEBHELPER#
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=80:
--- xdm-1.1.10.orig/debian/xdm.postrm.in
+++ xdm-1.1.10/debian/xdm.postrm.in
@@ -0,0 +1,83 @@
+#!/bin/sh
+# Debian xdm package post-removal script
+# Copyright 1998-2000, 2003, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+THIS_PACKAGE=xdm
+THIS_SCRIPT=postrm
+
+#INCLUDE_SHELL_LIB#
+
+DAEMON=/usr/bin/xdm
+DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
+
+#DEBHELPER#
+
+if [ "$1" = "purge" ]; then
+  update-rc.d xdm remove
+  for DIR in /etc/X11/xdm /var/lib/xdm; do
+    if [ -d "$DIR" ]; then
+      rm -r "$DIR"
+    fi
+  done
+  if [ -f "$DEFAULT_DISPLAY_MANAGER_FILE" ] && \
+     [ "$(cat "$DEFAULT_DISPLAY_MANAGER_FILE")" = "$DAEMON" ]; then
+    rm "$DEFAULT_DISPLAY_MANAGER_FILE"
+    rmdir --ignore-fail-on-non-empty /etc/X11
+  fi
+fi
+
+if [ "$1" = "abort-upgrade" ]; then
+  # NOTE: The following is copied from the postinst script and isn't necessary
+  # if dpkg executes a package's postinst script with the "configure" argument
+  # after unwinding from a failed upgrade.  (See section 6.5 of the Debian
+  # Policy Manual, "Details of unpack phase of installation or upgrade".)
+
+  # We are here because an upgrade is being aborted; check the options file to
+  # see if the user wants the daemon (re-)started.
+  NOSTART=
+  XDM_WHERE=
+  # Don't start the daemon if the options file says not to.
+  if ! grep -qs ^restart-on-upgrade /etc/X11/xdm/xdm.options; then
+    NOSTART=yes
+  fi
+
+  # At this point we may think we *should* be starting the daemon, but we need
+  # to do some more checks.
+
+  # Also don't start the daemon if it's already running...
+  if [ -s /etc/X11/xdm/Xservers ]; then
+    MANAGED_DISPLAYS="$(egrep -v '^[[:space:]]*#' /etc/X11/xdm/Xservers \
+                        | sed 's/[[:space:]].*//')"
+    if [ -n "$MANAGED_DISPLAYS" ]; then
+      for MANAGED_DISPLAY in $MANAGED_DISPLAYS; do
+        if echo "$DISPLAY" | grep -q "^$MANAGED_DISPLAY"; then
+          # Note our refusal to start the daemon if we were supposed to start
+          # it.
+          [ -n "$NOSTART" ] || DENYSTART=yes
+          XDM_WHERE="$DISPLAY, which xdm will attempt to manage"
+          break
+        fi
+      done
+    fi
+  fi
+
+  # If the user wanted us to start the daemon but we refuse, explain why.
+  if [ -n "$DENYSTART" ]; then
+    warn "not starting xdm because it is already running at $XDM_WHERE"
+    NOSTART=yes
+  fi
+
+  [ -n "$NOSTART" ] || invoke-rc.d xdm start || true
+
+  # Remove flag files.
+  rm -f /var/run/xdm.install
+fi
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=80:
--- xdm-1.1.10.orig/debian/NEWS
+++ xdm-1.1.10/debian/NEWS
@@ -0,0 +1,26 @@
+xdm (1:1.1.8-2) unstable; urgency=low
+
+  This version has XDM-AUTHORIZATION-1 cookies disabled. While this
+  fixes a couple of problems, there is a problem with left over cookies
+  in users' .Xauthority files.
+  Usually XDM-AUTHORIZATION-1 cookies from users' .Xauthority files
+  are removed when logging out. If they are still there when installing
+  this version, then this user will not be able to log in again until
+  removing those cookies from .Xauthority using xauth(1) or deleting the
+  whole .Xauthority file. (Do not do this while logged in. No application
+  will be able to connect to the X server after that.)
+
+ -- Julien Cristau <jcristau@debian.org>  Tue, 24 Jun 2008 16:30:47 +0200
+
+xdm (1:1.1.6-4) unstable; urgency=low
+
+  As many other display managers, xdm does not pass -dpi 100 to the
+  X server anymore. xserver-xorg-core now uses 96 instead of 75 by
+  default, it should be fine for most people.
+  In case of problem, the DisplaySize option be used in the Monitor
+  section of your /etc/X11/xorg.conf to force another DPI. If you
+  have multiple RandR 1.2 outputs, DisplaySize should be specified
+  in each Monitor section.
+  See http://wiki.debian.org/XStrikeForce/HowToRandR12
+
+ -- Brice Goglin <bgoglin@debian.org>  Thu, 17 Jan 2008 20:50:28 +0100
--- xdm-1.1.10.orig/debian/po/cs.po
+++ xdm-1.1.10/debian/po/cs.po
@@ -0,0 +1,103 @@
+# debconf templates for xdm package
+# Czech translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Miroslav Kure <kurem@debian.cz>, 2004-2007
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-24 10:42+0100\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Výchozí správce obrazovky:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Správce obrazovky je program, který nabízí grafické přihlášení do systému X "
+"Window."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Je nainstalováno několik správců obrazovky, ale jen jeden může obsluhovat "
+"daný X server. Vyberte, který správce se má spouštět jako výchozí."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Více správců obrazovky může běžet zároveň pouze pokud spravují různé "
+"servery. Pro dosažení takového nastavení je musíte správně nakonfigurovat, "
+"upravit jejich spouštěcí skripty v /etc/init.d a zakázat kontrolu výchozího "
+"správce obrazovky."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Zastavit démona xdm?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Démon xdm (X display manager) je obvykle při aktualizaci nebo odstranění "
+"balíku zastaven, ale zdá se, že spravuje minimálně jedno X sezení."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Pokud by byl xdm zastaven nyní, všechna jím spravovaná X sezení by se "
+"ukončila. V opačném případě zůstane xdm běžet a nová verze se spustí s "
+"příštím restartem démona."
--- xdm-1.1.10.orig/debian/po/ml.po
+++ xdm-1.1.10/debian/po/ml.po
@@ -0,0 +1,88 @@
+# Malayalam translation of xdm debconf template.
+# Copyright (C) 2007 THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the xdm package.
+# Praveen|പ്രവീണ്‍ A|എ <pravi.a@gmail.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm 1.0\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-23 09:46+0530\n"
+"Last-Translator: Praveen|പ്രവീണ്‍ A|എ <pravi.a@gmail.com>\n"
+"Language-Team: Swathanthra|സ്വതന്ത്ര Malayalam|മലയാളം Computing|കമ്പ്യൂട്ടിങ്ങ് <smc-"
+"discuss@googlegroups.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "ഡിഫാള്‍ട്ടായി വേണ്ട പ്രദര്‍ശന മാനേജര്‍:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"എക്സ് ജാലക സിസ്റ്റത്തിന് ഗ്രാഫിക്കലായി അകത്ത് കടക്കാനുള്ള കഴിവുകള്‍ നല്കുന്ന ഒരു പ്രോഗ്രാമാണ് ഒരു "
+"പ്രദര്‍ശന മാനേജര്‍."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"ഏതെങ്കിലും ഒരു എക്സ് സേവകനെ ഒരേ ഒരു പ്രദര്‍ശന മാനേജര്‍‌ക്കേ മാനേജ് ചെയ്യാന്‍ പറ്റൂ, പക്ഷേ "
+"ഒന്നിലധികം പ്രദര്‍ശന മാനേജര്‍ പാക്കേജുകള്‍ ഇന്‍സ്റ്റാള്‍ ചെയ്തിട്ടുണ്ട്. ദയവായി ഡിഫാള്‍ട്ടായി "
+"പ്രവര്‍ത്തിപ്പിക്കേണ്ട പ്രദര്‍ശന മാനേജര്‍ ഏതാണെന്ന് തിരഞ്ഞെടുക്കുക."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"വ്യത്യസ്ത സേവകന്‍മാരെ മാനേജ് ചെയ്യാനായി ക്രമീകരിച്ചിട്ടുണ്ടെങ്കില്‍ ഒന്നിലധികം പ്രദര്‍ശന "
+"മാനേജര്‍മാര്‍ക്ക് ഒരേ സമയം പ്രവര്‍ത്തിക്കാം; ഇത് കൈവരിക്കണമെങ്കില്‍, പ്രദര്‍ശന മാനേജര്‍മാരെ "
+"അനുസൃതമായി ക്രമീകരിക്കുകയും, അവയോരോന്നിന്റേയും /etc/init.d യിലുള്ള ഇനിറ്റ് സ്ക്രിപ്റ്റുകളെ "
+"മാറ്റുകയും, ഡിഫാള്‍ട്ട് പ്രദര്‍ശന മാനേജര്‍ക്കായുള്ള പരിശോദന ഡിസേബിള്‍ ചെയ്യുകയും ചെയ്യുക."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "xdm ഡീമണെ നിര്‍ത്തട്ടേ?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"എക്സ് പ്രദര്‍ശന മാനേജര്‍ (xdm) ഡീമണ്‍ സാധാരണയായി പാക്കേജ് അപ്​ഗ്രേഡിന്റേയും നീക്കം "
+"ചെയ്യലിന്റേയും സമയത്താണ് നിര്‍ത്താറുള്ളത്, പക്ഷേ പ്രവര്‍ത്തിച്ചുകൊണ്ടിരിക്കുന്ന ഒരു എക്സ് "
+"സെഷനെയെങ്കിലും ഇത് മാനേജ് ചെയ്തുകൊണ്ടിരിക്കുന്നത് പോലെ തോന്നുന്നു."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"xdm ഇപ്പോള്‍ നിര്‍ത്തുകയാണെങ്കില്‍, ഇത് മാനേജ് ചെയ്തുകൊണ്ടിരിക്കുന്ന ഏത് എക്സ് സെഷനുകളും "
+"അവസാനിപ്പിക്കുന്നതായിരിക്കും. അല്ലെങ്കില്‍, അടുത്ത തവണ ഡീമണ്‍ വീണ്ടും തുടങ്ങുമ്പോള്‍ പുതിയ ലക്കം "
+"നിലവില്‍ വരും."
--- xdm-1.1.10.orig/debian/po/pothead.in
+++ xdm-1.1.10/debian/po/pothead.in
@@ -0,0 +1,29 @@
+# debconf templates for xorg-x11 package
+#
+#
+# Copyright:
+# Branden Robinson, 2000-2004
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf is available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: SOURCE_VERSION\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: DATE\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
--- xdm-1.1.10.orig/debian/po/pt.po
+++ xdm-1.1.10/debian/po/pt.po
@@ -0,0 +1,91 @@
+# debconf templates for xorg-x11 package
+# Portuguese translation
+# Copyright:
+# Branden Robinson, 2000-2004
+# Eduardo Silva <jobezone@yahoo.com>, 2007
+# 
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: xserver-xorg_debian_po\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 19:35+0100\n"
+"PO-Revision-Date: 2007-04-04 00:38+0100\n"
+"Last-Translator: Eduardo Silva <jobezone@yahoo.com>\n"
+"Language-Team: Portuguese <traduz@debianPT.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Seleccione o gestor de ecrã por omissão desejado."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Um gestor de ecrã é um programa que fornece capacidades de autenticação "
+"gráfica ao X Window System."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Apenas um único gestor de ecrã pode gerir um dado servidor X, mas estão "
+"instalados múltiplos pacotes de gestores de ecrã.  Por favor seleccione qual "
+"o gestor de ecrã que deve ser executado por omissão."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Podem ser executados em simultâneo múltiplos gestores de écran se estes "
+"estiverem configurados para gerir diferentes servidores; para fazer isto, "
+"configure os gestores de ecrã de acordo, edite cada um dos seus scripts "
+"\"init\" em /etc/init.d, e desligue a verificação de um gestor de écran de "
+"omissão."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Deseja parar o daemon xdm?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"O daemon do gestor de ecrã X (xdm) é tipicamente parado na actualização ou "
+"remoção de pacotes, mas parece que este está a gerir pelo menos uma sessão X "
+"activa."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Se o xdm for parado agora, todas as sessões X que este estiver a gerir serão "
+"terminadas. Caso contrário, a nova versão terá efeito da próxima vez que o "
+"daemon for reiniciado."
--- xdm-1.1.10.orig/debian/po/ca.po
+++ xdm-1.1.10/debian/po/ca.po
@@ -0,0 +1,106 @@
+# debconf templates for xorg-x11 package
+# Catalan translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Ivan Vilata i Balaguer <net.selidor@ivan>, 2002-2007
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm 1:1.0.5-2\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-22 11:00+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <debian-l10n-catalan@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Escolliu el gestor de pantalla:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Un gestor de pantalla (display manager) és un programa que proporciona la "
+"capacitat d’un quadre gràfic d’entrada (login) a l’X Window System."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Només un gestor de pantalla pot gestionar un servidor X determinat, però "
+"teniu instaŀlats diversos paquets de gestor de pantalla.  Per favor, "
+"escolliu quin gestor de pantalla s'executarà per defecte."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Poden haver diversos gestors de pantalla corrent simultàniament si es "
+"configuren per a gestionar diferents servidors; per a aconseguir açò, "
+"configureu adequadament els gestors de pantalla, editeu cadascun dels seus "
+"scripts d’inici en «/etc/init.d», i deshabiliteu la comprovació de gestor de "
+"pantalla per defecte."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Voleu detenir el dimoni «xdm»?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"El dimoni gestor de pantalla d’X, «xdm», sol ser detingut en actualitzar‐ne "
+"i eliminar‐ne el paquet, però sembla que ara està gestionant almenys una "
+"sessió X activa."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Si es deté «xdm» ara, terminaran totes les sessions X que està gestionant.  "
+"Altrament, podeu deixar corrent «xdm», i la nova versió surtirà efecte a la "
+"següent volta que el dimoni es reinicie."
--- xdm-1.1.10.orig/debian/po/eu.po
+++ xdm-1.1.10/debian/po/eu.po
@@ -0,0 +1,108 @@
+# translation of xdm-eu.po to librezale
+# debconf templates for xorg-x11 package
+# Euskara translation
+#
+#
+# Copyright:
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf is available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+# Branden Robinson, 2000-2004.
+# Piarres Beobide <pi@beobide.net>, 2005, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm-eu\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-22 16:06+0100\n"
+"Last-Translator: Piarres Beobide <pi@beobide.net>\n"
+"Language-Team: librezale <librezale@librezale.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Lehenetsiriko pantaila kudeatzailea:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Pantaila kudeatzailea X Leiho Sistemarako saio hasiera grafiko aukera ematen "
+"duen programa bat da."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Jakindako X zerbitzari bat pantaila kudeatzaile batek bakarrik kudea dezake, "
+"baina pantaila kudeatzaile anitz daude instalaturik.  Hautatu zein pantaila "
+"kudeatzaile erabili nahi duzun lehenetsi bezala."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Pantaila kudeatzaile anitz batera martxan egon daitezke, zerbitzari "
+"ezberdinak kudeatzeko konfiguraturik badaude; hau lortzeko, pantaila "
+"kudeatzaileak behar bezala konfiguratu eta /etc/init.d-eko init script-ean "
+"lehenetsiriko pantaila kudeatzailea arakatzeko aukera ezgaitu."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Xdm deabrua gelditu?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"X Pantaila Kudeatzaile (xdm) deabrua arruntean gelditu egiten da pakete "
+"eguneraketa edo ezabaketa egiterakoan, baina dirudienez martxan dagoen X "
+"saio bat beintzat kudeatzen ari da."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"xdm orain gelditu ezkero, kudeatzen ari den edozein X saio itxi egingo da. "
+"Bestela xdm martxan utz dezakezu eta bersio berria deabrua abiarazten den "
+"hurrengo aldian erabiliko da."
--- xdm-1.1.10.orig/debian/po/nl.po
+++ xdm-1.1.10/debian/po/nl.po
@@ -0,0 +1,109 @@
+# debconf templates for xorg-x11 package
+# Dutch translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Wouter Verhelst, 2002
+# Bart Cornelis, 2003
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-22 20:24+0100\n"
+"Last-Translator: Bart Cornelis <cobaco@skolelinux.no>\n"
+"Language-Team: debian-l10n-dutch <debian-l10n-dutch@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Dutch\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Standaard beeldschermbeheerder:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Een beeldschermbeheerder is een programma waarmee u zich grafisch op het "
+"systeem kunt aanmelden, waarna u in de grafische omgeving (het X Window "
+"System) terecht komt."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Elke X-server kan door slechts één beeldschermbeheerder beheerd worden, "
+"hoewel er meerdere beeldschermbeheerders geïnstalleerd kunnen zijn. Welke "
+"beeldschermbeheerder dient standaard gebruikt te worden?"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Het is mogelijk om meerdere beeldschermbeheerders tegelijk te draaien zolang "
+"deze verschillende servers beheren. Om dat te bereiken dient u de "
+"beeldschermbeheerders overeenkomstig in te stellen door in hun init-scripts "
+"(in /etc/init.d) de controle of ze de standaard beeldschermbeheerder zijn "
+"uit te schakelen."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Wilt u de xdm-achtergronddienst stoppen?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Normaal wordt de beeldschermbeheerder (xdm) gestopt bij opwaardering en "
+"verwijdering van dit pakket; momenteel is er echter minstens één lopende X-"
+"sessie actief."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Als xdm nu gestopt word, worden alle door xdm beheerde X-sessies afgesloten. "
+"Als u xdm nu laat draaien wordt de nieuwe versie pas actief de eerstvolgende "
+"keer dat de achtergronddienst herstart wordt. "
--- xdm-1.1.10.orig/debian/po/de.po
+++ xdm-1.1.10/debian/po/de.po
@@ -0,0 +1,117 @@
+# translation of xdm to german
+# debconf templates for xorg-x11 package
+# German translation
+#
+#
+# Copyrights:
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+# Branden Robinson, 2000-2004.
+# Martin Schuster, 2001.
+# Sebastian Rittau, 2001.
+# Erich Schubert, 2001.
+# Knut Suebert, 2001.
+# Sebastian Feltel, 2001.
+# Philipp Matthias Hahn, 2001.
+# Veit Waltemath, 2002.
+# Andreas Metzler, 2002.
+# Alwin Meschede <ameschede@gmx.de>, 2004, 2005, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: de\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-24 12:33+0100\n"
+"Last-Translator: Alwin Meschede <ameschede@gmx.de>\n"
+"Language-Team: german <debian-l10n-german@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms:  nplurals=2; plural=(n != 1);\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Standardmäßiger Display-Manager:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Ein Display-Manager ist ein Programm, welches grafische Anmeldemöglichkeiten "
+"für das X Window System zur Verfügung stellt."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Nur ein einziger Display-Manager kann einen gegebenen X-Server verwalten, es "
+"sind allerdings mehrere Display-Manager installiert. Bitte wählen Sie den "
+"Display-Manager aus, der standardmäßig ausgeführt werden soll."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Es können mehrere Display-Manager gleichzeitig laufen, wenn diese so "
+"konfiguriert sind, dass sie verschiedene X-Server verwalten. Um dies zu "
+"erreichen, konfigurieren Sie die Display-Manager entsprechend, editieren Sie "
+"jedes ihrer Init-Skripte in /etc/init.d, und schalten Sie die Überprüfung "
+"auf einen Standard-Display-Manager ab."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Soll der xdm-Dienst gestoppt werden?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Der X Display Manager (xdm) Dienst wird meist beim Aktualisieren oder "
+"Entfernen eines Pakets gestoppt, aber er scheint mindestens eine laufende X-"
+"Sitzung zu verwalten."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Wenn xdm jetzt gestoppt wird, werden alle Sitzungen beendet, die er gerade "
+"verwaltet. Alternativ können Sie xdm weiter laufen lassen, die neue Version "
+"wird dann aktiv, sobald der Dienst das nächste Mal gestartet wird."
--- xdm-1.1.10.orig/debian/po/fi.po
+++ xdm-1.1.10/debian/po/fi.po
@@ -0,0 +1,56 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 19:35+0100\n"
+"PO-Revision-Date: 2008-02-29 15:30+0200\n"
+"Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
+"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Finnish\n"
+"X-Poedit-Country: FINLAND\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Oletusnäytönhallintaohjelma:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "A display manager is a program that provides graphical login capabilities for the X Window System."
+msgstr "Näytönhallintaohjelma on ohjelma, joka tarjoaa graafisen sisäänkirjautumisruudun X-ikkunointijärjestelmään."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Only one display manager can manage a given X server, but multiple display manager packages are installed. Please select which display manager should run by default."
+msgstr "Kutakin X-palvelinta voi hoitaa vain yksi näytönhallintaohjelma, mutta useampia näytönhallintaohjelmapaketteja on asennettuna. Valitse mikä näytönhallintaohjelma tulisi ajaa oletuksena."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Multiple display managers can run simultaneously if they are configured to manage different servers; to achieve this, configure the display managers accordingly, edit each of their init scripts in /etc/init.d, and disable the check for a default display manager."
+msgstr "Useampi näytönhallintaohjelma voi olla ajossa yhtäaikaisesti, jos ne on asetettu hoitamaan eri palvelimia. Saadaksesi tämän aikaan, aseta näytönhallintaohjelmat tämän mukaisesti, muokkaa kunkin niistä alustustiedostoja hakemistossa /etc/init.d ja poista oletusnäytönhallintaohjelman tarkistus käytöstä."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Pysäytetäänkö xdm-taustaohjelma?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "The X display manager (xdm) daemon is typically stopped on package upgrade and removal, but it appears to be managing at least one running X session."
+msgstr "X display manager (xdm) -taustaohjelma pysäytetään yleensä päivitettäessä tai poistettaessa pakettia, mutta se näyttää hoitavan ainakin yhtä ajossa olevaa X-istuntoa."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "If xdm is stopped now, any X sessions it manages will be terminated. Otherwise, the new version will take effect the next time the daemon is restarted."
+msgstr "Jos xdm pysäytetään nyt, kaikki sen hoitamat X-istunnot lopetetaan. Muussa tapauksessa uusi versio otetaan käyttöön ensi kerralla, kun taustaohjelma käynnistetään uudelleen."
+
--- xdm-1.1.10.orig/debian/po/da.po
+++ xdm-1.1.10/debian/po/da.po
@@ -0,0 +1,119 @@
+# debconf templates for xorg-x11 package
+# Danish translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Dennis Haney, 2002
+# Morten Brix Pedersen <morten@wtf.dk>, 2003.
+# Claus Hindsgaul <claus_h@image.dk>, 2004, 2005.
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xorg-x11 6.8.2.dfsg.1-5+SVN\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 18:08+0100\n"
+"PO-Revision-Date: 2005-08-29 17:06+0200\n"
+"Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n"
+"Language-Team: Danish <dansk@klid.dk>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.9.1\n"
+"Plural-Forms:  nplurals=2; plural=(n != 1);\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+#, fuzzy
+msgid "Default display manager:"
+msgstr "Vælg den ønskede logindhåndtering."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"En logindhåndtering er et program der giver et grafisk logind til X Window-"
+"systemet."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+#, fuzzy
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Der kan kun køre én logindhåndtering for hver X-server, men der er "
+"installeret flere logindhåndteringer Vælg hvilken logindhåndtering der skal "
+"benyttes som standard."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+#, fuzzy
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"(Flere logindhåndteringer kan køre samtidig. hvis de er sat op til at "
+"håndtere forskellige servere. For at få dette til at fungere, skal "
+"logindhåndteringenerne sættes op til det. Det gør du ved at fjerne tjekket "
+"for standard logindhåndtering i deres initialiseringsskripter i /etc/init.d.)"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+#, fuzzy
+msgid "Stop the xdm daemon?"
+msgstr "Vil du stoppe xdm-dæmonen?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+#, fuzzy
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"X-logindhåndteringsdæmonen (xdm) stoppes typisk under opgradering eller "
+"afinstallation af pakken, men det ser ud til at der allerede kører mindst én "
+"X-session. Hvis xdm bliver stoppet nu, vil alle de X-sessioner, den "
+"håndterer, blive afbrudt. Ellers kan du lade xdm køre, så den nye version "
+"først bliver taget i brug næste gang dæmonen bliver genstartet."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+#, fuzzy
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"X-logindhåndteringsdæmonen (xdm) stoppes typisk under opgradering eller "
+"afinstallation af pakken, men det ser ud til at der allerede kører mindst én "
+"X-session. Hvis xdm bliver stoppet nu, vil alle de X-sessioner, den "
+"håndterer, blive afbrudt. Ellers kan du lade xdm køre, så den nye version "
+"først bliver taget i brug næste gang dæmonen bliver genstartet."
--- xdm-1.1.10.orig/debian/po/vi.po
+++ xdm-1.1.10/debian/po/vi.po
@@ -0,0 +1,107 @@
+# debconf templates for xorg-x11 package
+# Vietnamese translation
+# 
+# 
+# Copyright:
+# Branden Robinson, 2000-2004
+# Clytie Siddall <clytie@riverland.net.au>, 2005.
+# 
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+# 
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# 
+# Some information specific to po-debconf is available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+# 
+# Developers do not need to manually edit POT or PO files.
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm 1:1.0.5-2\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 19:35+0100\n"
+"PO-Revision-Date: 2007-06-02 20:54+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: LocFactoryEditor 1.6.3b1\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Bộ quản lý trình bày mặc định:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Bộ quản lý trình bày là chương trình cung cấp khả năng đăng nhập kiểu đồ họa "
+"cho Hệ thống Cửa sổ X."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Chỉ một bộ quản lý trình bày có thể quản lý mỗi trình phục vụ X (X server) "
+"đã cho, nhưng mà nhiều gói bộ quản lý trình bày đã được cài đặt. Hãy chọn bộ "
+"quản lý trình bày nào nên chạy theo mặc định."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Nhiều bộ quản lý trình bày có khả năng chạy đồng thời nếu mỗi điều có cấu "
+"hình quản lý trình phục vụ riêng. Để làm như thế, bạn hãy cấu hình mọi bộ "
+"quản lý trình bày một cách thích hợp, sửa đổi môi văn lệnh sơ khởi (init "
+"script) trong </etc/init.d>, và tắt khả năng kiểm tra có bộ quản lý trình "
+"bày mặc định."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Ngừng chạy trình nền xdm không?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Trình nền (dæmon) quản lý trình bày X (xdm) thường được ngừng khi cập nhật "
+"hay gỡ bỏ gói phần mềm, nhưng mà có vẻ là nó hiện thời quản lý ít nhất một "
+"phiên chạy X."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Nếu xmd bị ngừng ngay bây giờ, phiên chạy X nào nó quản lý sẽ bị kết thúc. "
+"Không thì phiên bản mới sẽ có tác động lần kế tiếp khởi chạy trình nền."
--- xdm-1.1.10.orig/debian/po/gl.po
+++ xdm-1.1.10/debian/po/gl.po
@@ -0,0 +1,92 @@
+# debconf templates for xorg-x11 package
+# Galician translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Jacobo Tarrio, 2001, 2006
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xorg-x11\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-22 13:03+0100\n"
+"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
+"Language-Team: Galician <trasno@ceu.fi.udc.es>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Xestor de pantalla por defecto:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Un xestor de pantalla é un programa que fornece capacidades de inicio de "
+"sesión gráfico para o sistema X Window."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Só un xestor de pantalla pode xestionar un servidor X determinado, pero hai "
+"varios paquetes de xestores de pantalla instalados. Escolla o xestor de "
+"pantalla que se debería executar por defecto."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Pódense executar varios xestores de pantalla ao mesmo tempo se se configuran "
+"para xestionar servidores distintos; para facelo, configure os xestores de "
+"pantalla, edite cada un dos scripts de inicio de /etc/init.d e desactive a "
+"comprobación do xestor de pantalla por defecto."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "¿Deter o servizo de xdm?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Adoita se deter o servizo do xestor de pantalla de X (xdm) ao actualizar ou "
+"eliminar o paquete, pero semella que está a xestionar alomenos unha sesión X "
+"en execución."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Se se detén xdm agora, hase cortar calquera sesión X que xestione. Se non, a "
+"nova versión ha tomar efecto a próxima vez que reinicie o servizo."
--- xdm-1.1.10.orig/debian/po/ta.po
+++ xdm-1.1.10/debian/po/ta.po
@@ -0,0 +1,85 @@
+# translation of templates.po to TAMIL
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Dr.T.Vasudevan <agnihot3@gmail.com>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: templates\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-26 16:49+0530\n"
+"Last-Translator: Dr.T.Vasudevan <agnihot3@gmail.com>\n"
+"Language-Team: TAMIL <ubuntu-l10n-tam@lists.ubuntu.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "முன்னிருப்பு காட்சி மேலாளர்:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"காட்சி மேலாளர் என்பது வரைகலை உள்நுழைவு இயலுமையை எக்ஸ் விண்டோஸ் அமைப்புக்கு தரும் "
+"நிரலாகும்."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"ஒரு கொடுக்கப் பட்ட X சேவையகத்தில் ஒரு காட்சி மேலாளர்தான் மேலாள இயலும். ஆனால் பல காட்சி "
+"மேலாளர்கள் நிறுவப் பட்டுள்ளன. எது முன்னிருப்பாக இருக்க வேண்டும் என தேர்ந்தெடுங்கள்"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"வெவ்வேறு சேவையகங்களை மேலாள வடிவமைத்தால் பல காட்சி மேலாளர்கள் ஒரே நேரத்தில் இயங்கக் "
+"கூடும். இதை செய்ய காட்சி மேலாளர்களை தகுந்தாற் போல வடிவமையுங்கள். அவற்றின் இனிட் சிறு "
+"நிரல்களை /etc/init.d இல் திருத்துங்கள். முன்னிருப்பு காட்சி மேலாளர் தேர்வை செயலிழக்கச் "
+"செய்யவும்."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "எக்ஸ்டிஎம் கிங்கரனை நிறுத்தவா?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"எக்ஸ்டிஎம் கிங்கரன் வழக்கமாக பொதி மேலாக்கம் அல்லது நீக்கம் நிகழும் போது நிறுத்தப் படும். "
+"ஆனால் அது ஒரு எக்ஸ் அமர்வையாவது இயக்குவது போல தெரிகிறது."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"இப்போது எக்ஸ்டிஎம் நிறுத்தப் பட்டால் அது மேலாளும் எக்ஸ் அமர்வுகள் நிறுத்தப் படும். அல்லது "
+"புதிய பதிப்பு கிங்கரன் அடுத்த முறை இயங்கும் போது செயல் ல் படும்."
--- xdm-1.1.10.orig/debian/po/sv.po
+++ xdm-1.1.10/debian/po/sv.po
@@ -0,0 +1,110 @@
+# debconf templates for xorg-x11 package
+# Swedish translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# André Dahlqvist, 2001
+# Peter Toneby, 2002
+# Mikael Hedin, 2002
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xserver-xorg\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-22 10:43+0100\n"
+"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
+"Language-Team: Swedish <sv@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Swedish\n"
+"X-Poedit-Country: SWEDEN\n"
+"X-Poedit-SourceCharset: iso-8859-1\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Standarddisplayhanterare:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"En displayhanterare är det program som tillhandahåller grafiska "
+"inloggningsmöjligheter i X Window System."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Endast en displayhanterare kan hantera en angiven X-server, men flera "
+"displayhanterarpaket kan vara installerade. Välj vilken displayhanterare som "
+"skall köras som standard."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Flera displayhanterare kan köras samtidigt om de är konfigurerade att "
+"hantera olika servrar. För att uppnå detta ska du konfigurera "
+"displayhanterarnas init-skript under /etc/init.d, och inaktivera kontrollen "
+"efter en standarddisplayhanterare."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Stoppa xdm-demonen?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"X-displayhanterardemonen (xdm) stoppas vanligtvis vid paketuppgradering och "
+"borttagning men det verkar som om den hanterar åtminstone en körande X-"
+"session."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Om xdm stoppas nu kommer de X-sessioner som den hanterar att avslutas. Om "
+"inte kommer den nya versionen att bli aktiv nästa gång som demonen startas "
+"om."
--- xdm-1.1.10.orig/debian/po/ru.po
+++ xdm-1.1.10/debian/po/ru.po
@@ -0,0 +1,109 @@
+# translation of xserver-xorg_debian_po_ru.po to Russian
+# debconf templates for xorg-x11 package
+# Russian translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Ilgiz Kalmetev, 2002, 2003
+# Serge Winitzki, 2003
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+# Yuri Kozlov <kozlov.y@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xserver-xorg_debian_po_ru\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-22 12:07+0300\n"
+"Last-Translator: asv <alyoshin@pisem.net>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.9.1\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Менеджер дисплеев по умолчанию:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Менеджер дисплеев -- это программа, которая обеспечивает возможность "
+"графического входа в систему для X Window System."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Данный X-сервер может обслуживать только один менеджер дисплеев, но "
+"установлено несколько пакетов менеджеров дисплеев. Пожалуйста, выберите "
+"менеджер дисплеев, который должен запускаться по умолчанию."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Несколько менеджеров дисплеев могут запускаться одновременно, если они "
+"настроены на обслуживание разных серверов; чтобы добиться этого,  настройте "
+"менеджеры дисплеев соответственно, отредактируйте их сценарии инициализации "
+"в /etc/init.d и отключите проверку менеджера дисплеев по умолчанию."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Остановить сервер-демон xdm?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Сервер-демон менеджера X-дисплеев (xdm) обычно останавливают при обновлении "
+"или удалении пакета, но, кажется, что xdm сейчас управляет по крайней мере "
+"одним X-сеансом."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Если сейчас остановить xdm, то все управляемые им X-сеансы будут прерваны. "
+"Или вы можете не останавливать xdm, и тогда новая версия будет загружена "
+"тогда, когда xdm снова перезапустят."
--- xdm-1.1.10.orig/debian/po/sk.po
+++ xdm-1.1.10/debian/po/sk.po
@@ -0,0 +1,89 @@
+# debconf templates for xorg-x11 package
+# Slovak translation
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Miroslav Kure <kurem@debian.cz>, 2004
+# Peter Mann <Peter.Mann@tuke.sk>, 2005
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xorg-x11\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-22 09:30+0100\n"
+"Last-Translator: Peter Mann <Peter.Mann@tuke.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Zvoľte predvoleného správcu obrazovky:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Správca obrazovky je program, ktorý ponúka grafické prihlásenie do systému X "
+"Window."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Máte nainštalovaných viac správcov obrazovky, ale iba jeden môže obsluhovať "
+"daný X server. Zvoľte si správcu, ktorý bude predvolený."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Súbežne môže byť spustených viac správcov obrazovky, ale iba v prípade "
+"viacero rozdielnych serverov. Pre dosiahnutie takéhoto nastavenia ich musíte "
+"správne nastaviť, upraviť ich spúšťacie skripty v /etc/init.d a zakázať "
+"kontrolu predvoleného správcu obrazovky."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Zastaviť správcu obrazovky xdm?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Správca obrazovky xdm (X display manager) sa zvykne zastaviť pri "
+"aktualizácii alebo odstraňovaní balíka, lenže teraz to vyzerá tak, že má na "
+"starosti aspoň jedno ďalšie spustené X sedenie."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Ak by sa teraz xdm zastavil, všetky ním ovládané X sedenia by sa ukončili. V "
+"opačnom prípade môžete nechať xdm spustený, pričom nová verzia sa spustí pri "
+"ďalšom reštarte xdm."
--- xdm-1.1.10.orig/debian/po/templates.pot
+++ xdm-1.1.10/debian/po/templates.pot
@@ -0,0 +1,73 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 19:35+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
--- xdm-1.1.10.orig/debian/po/ko.po
+++ xdm-1.1.10/debian/po/ko.po
@@ -0,0 +1,85 @@
+# Korean translations for xdm package
+# xdm 패키지에 대한 한국어 번역문.
+# Copyright (C) 2007 THE xdm'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the xdm package.
+# Sunjae Park <darehanl@gmail.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-04-07 20:03-0400\n"
+"Last-Translator: Sunjae Park <darehanl@gmail.com>\n"
+"Language-Team: Korean <debian-l10n-korean@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "기본 화면관리자:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"화면 관리자는 그래픽 로그인 기능을 제공하는 X 윈도우 시스템을 위한 프로그램입"
+"니다."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"한 화면관리자는 X 서버 하나만을 관리할 수 있는데도 설치된 화면 관리자가 여러 "
+"개 있습니다. 기본으로 사용할 화면관리자를 선택해주십시오."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"서로 다른 서버를 관리하도록 설정할 경우 화면관리자를 동시에 여러 개 실행시킬 "
+"수 있습니다. 이를 위해서는 각각의 화면관리자를 적절히 설정하고 /etc/init.d에 "
+"에 있는 init 스크립트를 수정해서 기본 화면관리자 검사를 비활성하십시오."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "xdm 데몬을 중지시킬까요?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"X 화면관리자(xdm) 데몬은 일반적으로 꾸러미를 설치하고 업그레이드할 때 중지되"
+"지만 현재 하나 이상의 X 세션을 관리하는 중인 것 같습니다."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"xdm을 지금 중지시키면 xdm이 관리하고 있는 X 세션은 모두 중단됩니다. 지금 중지"
+"시키지 않으면 새로 설치한 버전은 데몬을 다시 시작할 때부터 사용됩니다."
--- xdm-1.1.10.orig/debian/po/tr.po
+++ xdm-1.1.10/debian/po/tr.po
@@ -0,0 +1,119 @@
+# translation of tr.po to Turkish
+# debconf templates for xorg-x11 package
+# Turkish translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+# Osman Yüksel <yuxel@sonsuzdongu.com>, 2004, 2006.
+# Recai Oktaş <roktas@debian.org>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xorg-x11\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 18:08+0100\n"
+"PO-Revision-Date: 2006-01-11 04:57+0200\n"
+"Last-Translator: Osman Yüksel <yuxel@sonsuzdongu.com>\n"
+"Language-Team: Debian L10n Turkish <debian-l10n-turkish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.10.2\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+#, fuzzy
+msgid "Default display manager:"
+msgstr "Kullanmak istediğiniz öntanımlı ekran yöneticisini seçin."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Ekran yöneticisi, X Window Sistemi'ne grafik arayüz ile giriş yapmayı sağlar."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+#, fuzzy
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Sadece bir ekran yöneticisi verilen X sunucusunu yönetebilir; ancak birden "
+"fazla ekran yöneticisi kurulu durumda.  Lütfen öntanımlı olarak çalıştırmak "
+"istediğiniz ekran yöneticisini seçin."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+#, fuzzy
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"(Eğer farklı sunucuları çalıştırmak için ayarlanırsa birden fazla ekran "
+"yöneticisi kullanılabilir.  Bunun için /etc/init.d içindeki ilgili betikleri "
+"değiştirin ve öntanımlı ekran yöneticisini denetleyen işlevleri devre dışı "
+"bırakın.)"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+#, fuzzy
+msgid "Stop the xdm daemon?"
+msgstr "xdm servisini durdurmak istiyor musunuz?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+#, fuzzy
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"X ekran yöneticisi (xdm) servisi, paket güncelleme ve kaldırma sırasında "
+"genellikle durdurulur.  Fakat öyle görünüyor ki xdm, çalışan (en az) bir X "
+"oturumunu yönetiyor.  Eğer xdm şimdi durdurulursa yönetilen X oturumları da "
+"sonlandırılacaktır.  Böyle yapmak yerine xdm'i çalışır vaziyette "
+"bırakabilirsiniz.  Yeni sürüm, xdm servisinin bir sonraki çalıştırılışında "
+"etkin olacaktır."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+#, fuzzy
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"X ekran yöneticisi (xdm) servisi, paket güncelleme ve kaldırma sırasında "
+"genellikle durdurulur.  Fakat öyle görünüyor ki xdm, çalışan (en az) bir X "
+"oturumunu yönetiyor.  Eğer xdm şimdi durdurulursa yönetilen X oturumları da "
+"sonlandırılacaktır.  Böyle yapmak yerine xdm'i çalışır vaziyette "
+"bırakabilirsiniz.  Yeni sürüm, xdm servisinin bir sonraki çalıştırılışında "
+"etkin olacaktır."
--- xdm-1.1.10.orig/debian/po/it.po
+++ xdm-1.1.10/debian/po/it.po
@@ -0,0 +1,109 @@
+# debconf templates for xorg-x11 package
+# Italian translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Matteo Dell'Amico, 2002
+# Emanuele Aina, 2002
+# Luca Monducci, 2004
+# Danilo Piazzalunga, 2004-2007
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xorg-x11 6.8.2.dfsg.1-10\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-25 14:40+0200\n"
+"Last-Translator: Danilo Piazzalunga <danilopiazza@gmail.com>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Display manager predefinito."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Un display manager è un programma che fornisce capacità di login grafico per "
+"il sistema X Window."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Solo un display manager può gestire un dato server X, ma sono installati più "
+"pacchetti di display manager. Scegliere il display manager da usare come "
+"predefinito."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Possono essere eseguiti più display manager contemporaneamente, a patto che "
+"siano impostati per gestire server diversi; per fare questo, configurare i "
+"display manager in maniera appropriata, modificare ciascuno dei loro script "
+"di avvio in /etc/init.d e disabilitare il controllo per un display manager "
+"predefinito."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Arrestare il demone xdm?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Il demone del display manager X (xdm) viene tipicamente fermato in fase di "
+"aggiornamento o rimozione del pacchetto, ma pare che al momento stia "
+"gestendo almeno una sessione attiva di X."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Se xdm viene arrestato ora, anche tutte le sessioni di X che gestisce "
+"verranno terminate. In alternativa, la nuova versione sarà usata a partire "
+"dal prossimo avvio del demone."
--- xdm-1.1.10.orig/debian/po/zh_CN.po
+++ xdm-1.1.10/debian/po/zh_CN.po
@@ -0,0 +1,100 @@
+# debconf templates for xdm package
+# simplified Chinese translation
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Carlos Z.F. Liu <carlosliu@users.sourceforge.net>, 2005
+# Ming Hua <minghua@rice.edu>, 2005,2007
+#
+# This file is distributed under the same license as the xdm package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: 1:1.0.5-2\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-28 18:50-0500\n"
+"Last-Translator: Ming Hua <minghua@rice.edu>\n"
+"Language-Team: Debian Chinese [GB] <debian-chinese-gb@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "默认显示管理器:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr "显示管理器是为 X 窗口系统提供图形界面登录模式的程序。"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"一个给定的 X 服务器只能由一个显示管理器来管理,但是系统中已经安装了多个显示管"
+"理器软件包。请选择一个作为默认的显示管理器。"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"如果多个显示管理器被配置为分别管理不同的 X 服务器,那么它们可以同时运行。要做"
+"到这一点,您要按照需求分别对各显示管理器进行设置,编辑它们在 /etc/init.d 目录"
+"下的 init 脚本,并且关闭对默认显示管理器的检查。"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "停止 xdm 守护进程吗?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"X 显示管理器 (xdm) 守护进程通常会在软件包升级和卸载时被停止,但看起来它目前在"
+"管理一个或多个正在运行的 X 会话。"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"如果 xdm 现在就被停止,它所管理的全部 X 会话都会被中止。如果不停止 xdm,新安"
+"装的版本将会在守护进程下次重新启动时生效。"
--- xdm-1.1.10.orig/debian/po/el.po
+++ xdm-1.1.10/debian/po/el.po
@@ -0,0 +1,120 @@
+# debconf templates for xorg-x11 package
+# Greek translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Konstantinos Margaritis <markos@debian.org>, 2004
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: el\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 18:08+0100\n"
+"PO-Revision-Date: 2005-12-19 18:40+0200\n"
+"Last-Translator: Konstantinos Margaritis <markos@debian.org>\n"
+"Language-Team: Greek <debian-l10n-greek@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+#, fuzzy
+msgid "Default display manager:"
+msgstr "Επιλέξτε τον επιθυμητό διαχειριστή οθόνης."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Ο διαχειριστής οθόνης είναι ένα πρόγραμμα που προσφέρει τη δυνατότητα "
+"σύνδεσης στο σύστημα παραθύρων X μέσω γραφικού περιβάλλοντος."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+#, fuzzy
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Μόνο ένας διαχειριστής οθόνης μπορεί να χειρίζεται ένα συγκεκριμένο "
+"εξυπηρετητή X, αλλά περισσότεροι από ένας είναι εγκατεστημένοι. Παρακαλώ "
+"επιλέξτε τον διαχειριστή οθόνης που θα εκτελείται ως προκαθορισμένος."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+#, fuzzy
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Πολλαπλοί διαχειριστές οθόνης μπορούν να τρέχουν ταυτόχρονα, αν έχουν "
+"ρυθμιστεί να χειρίζονται διαφορετικούς διακομιστές X. Για να επιτευχθεί "
+"αυτό, ρυθμίστε τους διαχειριστές οθόνης κατάλληλα, επεξεργαστείτε τα αρχεία "
+"εκκίνησής τους στον κατάλογο /etc/init.d, και απενεργοποιήστε τον έλεγχο για "
+"προκαθορισμένο διαχειριστή οθόνης."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+#, fuzzy
+msgid "Stop the xdm daemon?"
+msgstr "Θέλετε να σταματήσετε να χρησιμοποιείτε τον δαίμονα xdm;"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+#, fuzzy
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Κανονικά, η λειτουργία του δαίμονα του διαχειριστή οθόνης των X (xdm) "
+"διακόπτεται με κάθε αναβάθμιση και διαγραφή του πακέτου, αλλά στη "
+"συγκεκριμένη περίπτωση φαίνεται ότι διαχειρίζεται ήδη τουλάχιστον μια "
+"συνεδρία των X (X session). Αν ο xdm τερματιστεί τώρα, οποιεσδήποτε "
+"συνεδρίες των X χειρίζεται θα τερματιστούν επίσης. Διαφορετικά, μπορείτε να "
+"αφήσετε τον xdm να συνεχίσει τη λειτουργία του και η νέα έκδοση να "
+"χρησιμοποιηθεί την επόμενη φορά που θα τρέξει ο δαίμονας."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+#, fuzzy
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Κανονικά, η λειτουργία του δαίμονα του διαχειριστή οθόνης των X (xdm) "
+"διακόπτεται με κάθε αναβάθμιση και διαγραφή του πακέτου, αλλά στη "
+"συγκεκριμένη περίπτωση φαίνεται ότι διαχειρίζεται ήδη τουλάχιστον μια "
+"συνεδρία των X (X session). Αν ο xdm τερματιστεί τώρα, οποιεσδήποτε "
+"συνεδρίες των X χειρίζεται θα τερματιστούν επίσης. Διαφορετικά, μπορείτε να "
+"αφήσετε τον xdm να συνεχίσει τη λειτουργία του και η νέα έκδοση να "
+"χρησιμοποιηθεί την επόμενη φορά που θα τρέξει ο δαίμονας."
--- xdm-1.1.10.orig/debian/po/ro.po
+++ xdm-1.1.10/debian/po/ro.po
@@ -0,0 +1,111 @@
+# translation of ro.po to Romanian
+# debconf templates for xorg-x11 package
+#
+#
+# Copyright:
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf is available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+# Branden Robinson, 2000--2004.
+# Eddy Petrişor <eddy.petrisor@gmail.com>, 2005.
+# Ruşeţ Zeno <rzeno@cwazy.co.uk>, 2005.
+# Eddy Petrisor <eddy.petrisor@gmail.com>, 2005.
+# Eddy Petrișor <eddy.petrisor@gmail.com>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: ro\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-24 16:16+0200\n"
+"Last-Translator: Eddy Petrișor <eddy.petrisor@gmail.com>\n"
+"Language-Team: Romanian <debian-l10n-romanian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms:  nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
+"20)) ? 1 : 2;\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Managerul de ecran implicit:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Un manager de ecran este un program care oferă facilitatea de autentificare "
+"grafică sistemului de ferestre X."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Doar un singur manager de ecran poate gestiona un anumit server X, dar acum "
+"sunt instalaţi mai mulţi. Selectaţi managerul care ar trebui să pornească în "
+"mod implicit."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Mai mulţi manageri de ecran pot rula simultan dacă sunt configuraţi să "
+"gestioneze servere diferite; pentru a obţine acest lucru, configuraţi "
+"managerii de ecran în mod corespunzător, editaţi fiecare dintre script-urile "
+"lor de iniţializare din /etc/init.d şi dezactivaţi testul legat de managerul "
+"de ecran implicit."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Se opreşte serviciul xdm?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Serviciul de management al ecranului X (xdm) este, în mod obişnuit, oprit la "
+"înnoirea sau ştergerea pachetului, dar acum se pare că acesta gestionează "
+"cel puţin o sesiune X."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Dacă xdm este oprit acum, orice sesiune X gestionată de el va fi terminată. "
+"Altfel, noua versiune va avea efect la următoarea repornire a serviciului."
--- xdm-1.1.10.orig/debian/po/fr.po
+++ xdm-1.1.10/debian/po/fr.po
@@ -0,0 +1,114 @@
+# translation of fr.po to French
+# debconf templates for xorg-x11 package
+# French translation
+#
+#
+# Copyrights:
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+# Branden Robinson, 2000-2004.
+# Thomas Morin, 2001.
+# Patrice Karatchentzeff, 2001.
+# Jérôme Schell, 2001.
+# Jean-Christophe Dubacq, 2002.
+# Christian Perrier <bubulle@debian.org>, 2003, 2004, 2006, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: fr\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 18:08+0100\n"
+"PO-Revision-Date: 2007-03-22 20:06+0100\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms: Plural-Forms: nplurals=2; plural=n>1;\n"
+"\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Gestionnaire graphique de session par défaut :"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Un gestionnaire graphique de session est un programme qui permet de se "
+"connecter depuis le système X Window."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Un seul gestionnaire graphique de session peut s'occuper d'un serveur X "
+"donné, bien que plusieurs gestionnaires puissent être installés "
+"simultanément. Veuillez choisir celui qui sera utilisé par défaut."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Plusieurs gestionnaires graphiques peuvent être lancés en même temps, s'ils "
+"gèrent des serveurs X différents ; pour cela, configurez correctement chacun "
+"des gestionnaires graphiques, modifiez leurs scripts de lancement dans /etc/"
+"init.d, et désactivez le test de gestionnaire graphique par défaut."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Faut-il arrêter le démon xdm ?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Le gestionnaire de sessions X (xdm) est généralement arrêté lors de la mise "
+"à jour ou de la suppression du paquet. Cependant, il semble qu'il gère "
+"actuellement encore au moins une session X."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Si xdm est arrêté maintenant, toutes les sessions X qu'il gère seront "
+"terminées. L'autre possibilité est de laisser fonctionner xdm, la nouvelle "
+"version ne devenant active qu'au prochain redémarrage du démon."
+
--- xdm-1.1.10.orig/debian/po/es.po
+++ xdm-1.1.10/debian/po/es.po
@@ -0,0 +1,83 @@
+# xdm po-debconf translation to Spanish
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# This file is distributed under the same license as the xdm package.
+#
+# Changes:
+#  - Initial translation
+#       Branden Robinson 2000-2004
+#       Carlos Valdivia Yagüe, 2001
+#       Javier Fernandez-Sanguino Peña, 2003
+#       David Martínez Moreno, 2001, 2002, 2005
+#       Francisco Javier Cuadrado <fcocuadrado@gmail.com>
+#
+# Traductores, si no conoce el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+#   info -n '(gettext)PO Files'
+#   info -n '(gettext)Header Entry'
+# Equipo de traducción al español, por favor, lean antes de traducir
+# los siguientes documentos:
+#
+#  - El proyecto de traducción de Debian al español
+#    http://www.debian.org/intl/spanish/
+#    especialmente las notas de traducción en
+#    http://www.debian.org/intl/spanish/notas
+#
+#  - La guía de traducción de po's de debconf:
+#    /usr/share/doc/po-debconf/README-trans
+#    o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm 1:1.0.5-2\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 19:35+0100\n"
+"PO-Revision-Date: 2008-10-30 22:46+0100\n"
+"Last-Translator: Francisco Javier Cuadrado <fcocuadrado@gmail.com>\n"
+"Language-Team: ES <debian-l10n-spanish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Gestor de sesiones predeterminado:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "A display manager is a program that provides graphical login capabilities for the X Window System."
+msgstr "Un gestor de sesiones es un programa que le ofrece la posibilidad de identificarse gráficamente en su sistema mediante el sistema de ventanas de X."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Only one display manager can manage a given X server, but multiple display manager packages are installed. Please select which display manager should run by default."
+msgstr "Sólo un gestor de sesiones puede gestionar un servidor de X dado, pero están instalados varios paquetes de gestores de sesiones. Por favor, seleccione cuál gestor de sesiones debería ejecutarse de manera predeterminada."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Multiple display managers can run simultaneously if they are configured to manage different servers; to achieve this, configure the display managers accordingly, edit each of their init scripts in /etc/init.d, and disable the check for a default display manager."
+msgstr "Se pueden ejecutar múltiples gestores de sesiones simultáneamente si se configuran para gestionar distintos servidores; para conseguirlo, configure los gestores de sesiones apropiadamente, edite cada uno de sus scripts de inicio en «/etc/init.d», y desactive la comprobación del gestor de sesiones predeterminado."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "¿Desea detener el demonio de xdm?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "The X display manager (xdm) daemon is typically stopped on package upgrade and removal, but it appears to be managing at least one running X session."
+msgstr "El demonio del gestor de sesiones de X (xdm) generalmente se detiene al actualizar los paquetes y al eliminarlos, pero parece que en este momento está gestionando al menos una sesión de X."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "If xdm is stopped now, any X sessions it manages will be terminated. Otherwise, the new version will take effect the next time the daemon is restarted."
+msgstr "Si detiene xdm ahora, cualquier sesión de X que gestione será interrumpida. De otro modo, la nueva versión tendrá efecto cuando el demonio se reinicie."
+
--- xdm-1.1.10.orig/debian/po/pt_BR.po
+++ xdm-1.1.10/debian/po/pt_BR.po
@@ -0,0 +1,110 @@
+# Brazilian Portuguese translation (xdm) 
+# debconf templates for xdm package
+#
+#
+# Copyrights:
+#
+# This file is distributed under the same license as the xdm package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+# Branden Robinson, 2000-2004.
+# Gustavo Noronha Silva, 2001.
+# Henrique de Moraes Holschuh, 2001.
+# André Luís Lopes <andrelop@debian.org>, 2001-2005.
+# Eder L. Marques <frolic@debian-ce.org>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm 1:1.0.5-2\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 19:35+0100\n"
+"PO-Revision-Date: 2007-03-27 01:16-0300\n"
+"Last-Translator: Eder L. Marques <frolic@debian-ce.org>\n"
+"Language-Team:  l10n portuguese <debian-l10n-portuguese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"pt_BR utf-8\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Gerenciador de sessão padrão:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Um gerenciador de sessão é um programa que provê capacidades de login "
+"gráfico para o 'X Window System'."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Somente um gerenciador de sessão pode gerenciar um dado servidor X, mas "
+"diversos pacotes de gerenciadores de sessão estão instalados. Por favor "
+"selecione qual gerenciador de sessão deverá ser executado por padrão."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Múltiplos gerenciadores de sessão podem ser executados simultaneamente se "
+"eles estão configurados para gerenciar servidores diferentes; para conseguir "
+"isso, configure os gerenciadores de sessão apropriadamente, edite cada um "
+"dos seus scripts de inicialização em /etc/init.d, e desabilite a checagem "
+"por um gerenciador de sessão padrão."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Deseja parar o daemon xdm?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"O daemon do gerenciador de sessão do X (xdm) tipicamente é parado em "
+"atualizações e remoções de pacotes, mas ele parece estar gerenciando pelo "
+"menos uma sessão X em execução. "
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Caso o xdm seja parado agora, quaisquer sessões X que ele esteja gerenciando "
+"serão encerradas. Caso contrário a nova versão terá efeito na próxima vez "
+"que o daemon for reiniciado."
--- xdm-1.1.10.orig/debian/po/POTFILES.in
+++ xdm-1.1.10/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] xdm.templates
--- xdm-1.1.10.orig/debian/po/ja.po
+++ xdm-1.1.10/debian/po/ja.po
@@ -0,0 +1,109 @@
+# debconf templates for xorg-x11 package
+# Japanese translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# ISHIKAWA Mutsumi, 2001
+# Tomohiro KUBOTA, 2001, 2002
+# Kenshi Muto, 2001, 2003, 2004
+# Takeo Nakano, 2001, 2003
+#
+# This file is distributed under the same license as the xorg-x11 package.
+# Please see debian/copyright.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xorg-x11 6.9.dfsg.1-3+SVN\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 06:38+0100\n"
+"PO-Revision-Date: 2007-03-22 19:09+0900\n"
+"Last-Translator: Kenshi Muto <kmuto@debian.org> and ISHIKAWA Mutsumi "
+"<ishikawa@debian.org>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "デフォルトのディスプレイマネージャ:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"ディスプレイマネージャとは、X Window System 上でのグラフィカルなログイン機能"
+"を提供するものです。"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"ひとつの X サーバを管理できるのはひとつのディスプレイマネージャだけですが、"
+"ディスプレイマネージャパッケージが複数インストールされています。どのディスプ"
+"レイマネージャをデフォルトで起動させるか選択して下さい。"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"異なるサーバを担当するように設定すれば、複数のディスプレイサーバは同時に動作"
+"できます。そのようにするには、/etc/init.d にある各ディスプレイマネージャの初"
+"期化スクリプトを編集し、デフォルトディスプレイマネージャのチェックを無効にし"
+"て下さい。"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "xdm デーモンを停止しますか?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"X ディスプレイマネージャ (xdm) デーモンは、普通、パッケージの更新や削除の際に"
+"停止させられます。しかし xdm は現在動作中の X セッションを最低ひとつは管理し"
+"ているようです。"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"いま xdm を停止すると、この xdm が管理している X セッションは停止します。ある"
+"いは次にデーモンをリスタートしたときに新しいバージョンの xdm を有効にすること"
+"もできます。"
--- xdm-1.1.10.orig/debian/po/pl.po
+++ xdm-1.1.10/debian/po/pl.po
@@ -0,0 +1,87 @@
+# debconf templates for xdm package
+# Polish translation
+#
+#
+# Copyrights:
+# Branden Robinson, 2000-2004
+# Marcin Owsiany, 2001, 2002
+# Łukasz Paździora, 2008
+#
+# This file is distributed under the same license as the xdm package.
+#
+
+msgid ""
+msgstr ""
+"Project-Id-Version: xdm 1.1.8-4\n"
+"Report-Msgid-Bugs-To: debian-x@lists.debian.org\n"
+"POT-Creation-Date: 2007-03-22 18:08+0100\n"
+"PO-Revision-Date: 2008-09-10 20:40+0200\n"
+"Last-Translator: Łukasz Paździora <lukpaz@gmail.com>\n"
+"Language-Team: Polish <debian-l10n-polish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid "Default display manager:"
+msgstr "Wybierz domyślnego menadżera wyświetlania:"
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"A display manager is a program that provides graphical login capabilities "
+"for the X Window System."
+msgstr ""
+"Menadżer wyświtlania to program, który umożliwia logowanie się bezpośrednio do "
+"systemu X Window."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Only one display manager can manage a given X server, but multiple display "
+"manager packages are installed. Please select which display manager should "
+"run by default."
+msgstr ""
+"Tylko jeden menadżer wyświetlania może kontrolować dany X serwer, ale "
+"zainstalowanych jest obecnie kilka takich programów. Wybierz, który menadżer "
+"ma być uruchamiany domyślnie."
+
+#. Type: select
+#. Description
+#: ../xdm.templates:1001
+msgid ""
+"Multiple display managers can run simultaneously if they are configured to "
+"manage different servers; to achieve this, configure the display managers "
+"accordingly, edit each of their init scripts in /etc/init.d, and disable the "
+"check for a default display manager."
+msgstr ""
+"Można uruchomić kilka menadżerów wyświetlania, ale muszą one kontrolować różne serwery; można to osiągnąć konfigurując odpowiednio każdy z nich i wyłączając w ich skryptach startowych fragment sprawdzający domyślnego menadżera okien."
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid "Stop the xdm daemon?"
+msgstr "Zatrzymać usługę xdm?"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"The X display manager (xdm) daemon is typically stopped on package upgrade "
+"and removal, but it appears to be managing at least one running X session."
+msgstr ""
+"Usługa menadżera okien (X display menager - xdm) jest zazwyczaj zatrzymywana przy aktualizacji oraz usuwaniu pakietu, ale wygląda na to, że obsługuje jeszcze co najmniej jedną uruchomioną sesję wyświetlania"
+
+#. Type: boolean
+#. Description
+#: ../xdm.templates:3001
+msgid ""
+"If xdm is stopped now, any X sessions it manages will be terminated. "
+"Otherwise, the new version will take effect the next time the daemon is "
+"restarted."
+msgstr ""
+"Jeśli xdm zostanie zatrzymany teraz, wszystkie sesje wyświetlania, którymi zarządza zostaną zakończone. W przeciwnym przypadku nowa wersja wejdzie w życie po następnym uruchomieniu usługi"
\ No newline at end of file
--- xdm-1.1.10.orig/debian/xsfbs/repack.sh
+++ xdm-1.1.10/debian/xsfbs/repack.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+set -e
+
+if ! [ -d debian/prune ]; then
+	exit 0
+fi
+
+if [ "x$1" != x--upstream-version ]; then
+	exit 1
+fi
+
+version="$2"
+filename="$3"
+
+if [ -z "$version" ] || ! [ -f "$filename" ]; then
+	exit 1
+fi
+
+dir="$(pwd)"
+tempdir="$(mktemp -d)"
+
+cd "$tempdir"
+tar xf "$dir/$filename"
+cat "$dir"/debian/prune/* | while read file; do rm -f */$file; done
+
+tar czf "$dir/$filename" *
+cd "$dir"
+rm -rf "$tempdir"
+echo "Done pruning upstream tarball"
+
+exit 0
--- xdm-1.1.10.orig/debian/xsfbs/xsfbs.mk
+++ xdm-1.1.10/debian/xsfbs/xsfbs.mk
@@ -0,0 +1,285 @@
+#!/usr/bin/make -f
+
+# Debian X Strike Force Build System (XSFBS): Make portion
+
+# Copyright 1996 Stephen Early
+# Copyright 1997 Mark Eichin
+# Copyright 1998-2005, 2007 Branden Robinson
+# Copyright 2005 David Nusinow
+#
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+
+# Originally by Stephen Early <sde1000@debian.org>
+# Modified by Mark W. Eichin <eichin@kitten.gen.ma.us>
+# Modified by Adam Heath <doogie@debian.org>
+# Modified by Branden Robinson <branden@debian.org>
+# Modified by Fabio Massimo Di Nitto <fabbione@fabbione.net>
+# Modified by David Nusinow <dnusinow@debian.org>
+# Acknowledgements to Manoj Srivastava.
+
+# Pass $(DH_OPTIONS) into the environment for debhelper's benefit.
+export DH_OPTIONS
+
+# force quilt to not use ~/.quiltrc and to use debian/patches
+QUILT = QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null
+
+# Set up parameters for the upstream build environment.
+
+# Determine (source) package name from Debian changelog.
+SOURCE_NAME:=$(shell dpkg-parsechangelog -ldebian/changelog \
+                        | grep '^Source:' | awk '{print $$2}')
+
+# Determine package version from Debian changelog.
+SOURCE_VERSION:=$(shell dpkg-parsechangelog -ldebian/changelog \
+                        | grep '^Version:' | awk '{print $$2}')
+
+# Determine upstream version number.
+UPSTREAM_VERSION:=$(shell echo $(SOURCE_VERSION) | sed 's/-.*//')
+
+# Determine the source version without the epoch for make-orig-tar-gz
+NO_EPOCH_VER:=$(shell echo $(UPSTREAM_VERSION) | sed 's/^.://')
+
+# Figure out who's building this package.
+BUILDER:=$(shell echo $${DEBEMAIL:-$${EMAIL:-$$(echo $$LOGNAME@$$(cat /etc/mailname 2>/dev/null))}})
+
+# Find out if this is an official build; an official build has nothing but
+# digits, dots, and/or the codename of a release in the Debian part of the
+# version number.  Anything else indicates an unofficial build.
+OFFICIAL_BUILD:=$(shell VERSION=$(SOURCE_VERSION); if ! expr "$$(echo $${VERSION\#\#*-} | sed 's/\(woody\|sarge\|etch\|lenny\)//g')" : ".*[^0-9.].*" >/dev/null 2>&1; then echo yes; fi)
+
+# Set up parameters for the Debian build environment.
+
+# Determine our architecture.
+BUILD_ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+# Work around some old-time dpkg braindamage.
+BUILD_ARCH:=$(subst i486,i386,$(BUILD_ARCH))
+# The DEB_HOST_ARCH variable may be set per the Debian cross-compilation policy.
+ifdef DEB_HOST_ARCH
+ ARCH:=$(DEB_HOST_ARCH)
+else
+ # dpkg-cross sets the ARCH environment variable; if set, use it.
+ ifdef ARCH
+  ARCH:=$(ARCH)
+ else
+  ARCH:=$(BUILD_ARCH)
+ endif
+endif
+
+# $(STAMP_DIR) houses stamp files for complex targets.
+STAMP_DIR:=stampdir
+
+# $(DEBTREEDIR) is where all install rules are told (via $(DESTDIR)) to place
+# their files.
+DEBTREEDIR:=$(CURDIR)/debian/tmp
+
+# All "important" targets have four lines:
+#   1) A target name that is invoked by a package-building tool or the user.
+#      This consists of a dependency on a "$(STAMP_DIR)/"-prefixed counterpart.
+#   2) A line delcaring 1) as a phony target (".PHONY:").
+#   3) A "$(STAMP_DIR)/"-prefixed target which does the actual work, and may
+#   depend on other targets.
+#   4) A line declaring 3) as a member of the $(stampdir_targets) variable; the
+#   "$(STAMP_DIR)/" prefix is omitted.
+#
+# This indirection is needed so that the "stamp" files that signify when a rule
+# is done can be located in a separate "stampdir".  Recall that make has no way
+# to know when a goal has been met for a phony target (like "build" or
+# "install").
+#
+# At the end of each "$(STAMP_DIR)/" target, be sure to run the command ">$@"
+# so that the target will not be run again.  Removing the file will make Make
+# run the target over.
+
+# All phony targets should be declared as dependencies of .PHONY, even if they
+# do not have "($STAMP_DIR)/"-prefixed counterparts.
+
+# Define a harmless default rule to keep things from going nuts by accident.
+.PHONY: default
+default:
+
+# Set up the $(STAMP_DIR) directory.
+.PHONY: stampdir
+stampdir_targets+=stampdir
+stampdir: $(STAMP_DIR)/stampdir
+$(STAMP_DIR)/stampdir:
+	mkdir $(STAMP_DIR)
+	>$@
+
+# Set up the package build directory as quilt expects to find it.
+.PHONY: prepare
+stampdir_targets+=prepare
+prepare: $(STAMP_DIR)/prepare
+$(STAMP_DIR)/prepare: $(STAMP_DIR)/logdir $(STAMP_DIR)/genscripts
+	>$@
+
+.PHONY: logdir
+stampdir_targets+=logdir
+logdir: $(STAMP_DIR)/logdir
+$(STAMP_DIR)/logdir: $(STAMP_DIR)/stampdir
+	mkdir -p $(STAMP_DIR)/log
+	>$@
+
+# Apply all patches to the upstream source.
+.PHONY: patch
+stampdir_targets+=patch
+patch: $(STAMP_DIR)/patch
+$(STAMP_DIR)/patch: $(STAMP_DIR)/prepare
+	if ! [ `which quilt` ]; then \
+		echo "Couldn't find quilt. Please install it or add it to the build-depends for this package."; \
+		exit 1; \
+	fi; \
+	if $(QUILT) next >/dev/null 2>&1; then \
+	  echo -n "Applying patches..."; \
+	  if $(QUILT) push -a -v >$(STAMP_DIR)/log/patch 2>&1; then \
+	    cat $(STAMP_DIR)/log/patch; \
+	    echo "successful."; \
+	  else \
+	    cat $(STAMP_DIR)/log/patch; \
+	    echo "failed! (check $(STAMP_DIR)/log/patch for details)"; \
+	    exit 1; \
+	  fi; \
+	else \
+	  echo "No patches to apply"; \
+	fi; \
+	>$@
+
+# Revert all patches to the upstream source.
+.PHONY: unpatch
+unpatch: $(STAMP_DIR)/logdir
+	rm -f $(STAMP_DIR)/patch
+	@echo -n "Unapplying patches..."; \
+	if $(QUILT) applied >/dev/null 2>/dev/null; then \
+	  if $(QUILT) pop -a -v >$(STAMP_DIR)/log/unpatch 2>&1; then \
+	    cat $(STAMP_DIR)/log/unpatch; \
+	    echo "successful."; \
+	  else \
+	    cat $(STAMP_DIR)/log/unpatch; \
+	    echo "failed! (check $(STAMP_DIR)/log/unpatch for details)"; \
+	    exit 1; \
+	  fi; \
+	else \
+	  echo "nothing to do."; \
+	fi
+
+# Clean the generated maintainer scripts.
+.PHONY: cleanscripts
+cleanscripts:
+	rm -f $(STAMP_DIR)/genscripts
+	rm -f debian/*.config \
+	      debian/*.postinst \
+	      debian/*.postrm \
+	      debian/*.preinst \
+	      debian/*.prerm
+
+# Clean the package build tree.
+.PHONY: xsfclean
+xsfclean: cleanscripts unpatch
+	dh_testdir
+	rm -rf .pc
+	rm -rf $(STAMP_DIR)
+	dh_clean
+
+# Remove files from the upstream source tree that we don't need, or which have
+# licensing problems.  It must be run before creating the .orig.tar.gz.
+#
+# Note: This rule is for Debian package maintainers' convenience, and is not
+# needed for conventional build scenarios.
+.PHONY: prune-upstream-tree
+prune-upstream-tree:
+	# Ensure we're in the correct directory.
+	dh_testdir
+	grep -rvh '^#' debian/prune/ | xargs --no-run-if-empty rm -rf
+
+# Verify that there are no offsets or fuzz in the patches we apply.
+#
+# Note: This rule is for Debian package maintainers' convenience, and is not
+# needed for conventional build scenarios.
+.PHONY: patch-audit
+patch-audit: prepare unpatch
+	@echo -n "Auditing patches..."; \
+	>$(STAMP_DIR)/log/patch; \
+	FUZZY=; \
+	while [ -n "$$($(QUILT) next)" ]; do \
+	  RESULT=$$($(QUILT) push -v | tee -a $(STAMP_DIR)/log/patch | grep ^Hunk | sed 's/^Hunk.*\(succeeded\|FAILED\).*/\1/');\
+	  case "$$RESULT" in \
+	    succeeded) \
+	      echo "fuzzy patch: $$($(QUILT) top)" \
+	        | tee -a $(STAMP_DIR)/log/$$($(QUILT) top); \
+	      FUZZY=yes; \
+	      ;; \
+	    FAILED) \
+	      echo "broken patch: $$($(QUILT) next)" \
+	        | tee -a $(STAMP_DIR)/log/$$($(QUILT) next); \
+	      exit 1; \
+	      ;; \
+	  esac; \
+	done; \
+	if [ -n "$$FUZZY" ]; then \
+	  echo "there were fuzzy patches; please fix."; \
+	  exit 1; \
+	else \
+	  echo "done."; \
+	fi
+
+# Generate the maintainer scripts.
+.PHONY: genscripts
+stampdir_targets+=genscripts
+genscripts: $(STAMP_DIR)/genscripts
+$(STAMP_DIR)/genscripts: $(STAMP_DIR)/stampdir
+	for FILE in debian/*.config.in \
+	            debian/*.postinst.in \
+	            debian/*.postrm.in \
+	            debian/*.preinst.in \
+	            debian/*.prerm.in; do \
+	  if [ -e "$$FILE" ]; then \
+	    MAINTSCRIPT=$$(echo $$FILE | sed 's/.in$$//'); \
+	    sed -n '1,/^#INCLUDE_SHELL_LIB#$$/p' <$$FILE \
+	      | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >$$MAINTSCRIPT.tmp; \
+	    cat debian/xsfbs/xsfbs.sh >>$$MAINTSCRIPT.tmp; \
+	    sed -n '/^#INCLUDE_SHELL_LIB#$$/,$$p' <$$FILE \
+	      | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >>$$MAINTSCRIPT.tmp; \
+	    sed -e 's/@SOURCE_VERSION@/$(SOURCE_VERSION)/' \
+	        -e 's/@OFFICIAL_BUILD@/$(OFFICIAL_BUILD)/' \
+	      <$$MAINTSCRIPT.tmp >$$MAINTSCRIPT; \
+	    rm $$MAINTSCRIPT.tmp; \
+	  fi; \
+	done
+	# Validate syntax of generated shell scripts.
+	#sh debian/scripts/validate-posix-sh debian/*.config \
+	#                                    debian/*.postinst \
+	#                                    debian/*.postrm \
+	#                                    debian/*.preinst \
+	#                                    debian/*.prerm
+	>$@
+
+# Compute dependencies for drivers
+#
+VIDEODEP = $(shell cat /usr/share/xserver-xorg/videodrvdep 2>/dev/null)
+INPUTDEP = $(shell cat /usr/share/xserver-xorg/xinputdep 2>/dev/null)
+
+# these two can be removed post-squeeze
+VIDEOABI = $(shell cat /usr/share/xserver-xorg/videoabiver 2>/dev/null)
+INPUTABI = $(shell cat /usr/share/xserver-xorg/inputabiver 2>/dev/null)
+VIDDRIVER_PROVIDES = xserver-xorg-video-$(VIDEOABI)
+INPDRIVER_PROVIDES = xserver-xorg-input-$(INPUTABI)
+
+ifeq ($(PACKAGE),)
+PACKAGE=$(shell awk '/^Package:/ { print $$2; exit }' < debian/control)
+endif
+
+.PHONY: serverabi
+serverabi: install
+ifeq ($(VIDEODEP),)
+	@echo 'error: xserver-xorg-dev >= 1.7.6.901 needs to be installed'
+	@exit 1
+else
+	echo "xviddriver:Depends=$(VIDEODEP)" >> debian/$(PACKAGE).substvars
+	echo "xinpdriver:Depends=$(INPUTDEP)" >> debian/$(PACKAGE).substvars
+	# the following is there for compatibility...
+	echo "xviddriver:Provides=$(VIDDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars
+	echo "xinpdriver:Provides=$(INPDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars
+	echo "xserver:Depends=$(VIDEODEP), $(INPUTDEP)" >> debian/$(PACKAGE).substvars
+endif
+
+# vim:set noet ai sts=8 sw=8 tw=0:
--- xdm-1.1.10.orig/debian/xsfbs/xsfbs.sh
+++ xdm-1.1.10/debian/xsfbs/xsfbs.sh
@@ -0,0 +1,622 @@
+# This is the X Strike Force shell library for X Window System package
+# maintainer scripts.  It serves to define shell functions commonly used by
+# such packages, and performs some error checking necessary for proper operation
+# of those functions.  By itself, it does not "do" much; the maintainer scripts
+# invoke the functions defined here to accomplish package installation and
+# removal tasks.
+
+# If you are reading this within a Debian package maintainer script (e.g.,
+# /var/lib/dpkg/info/PACKAGE.{config,preinst,postinst,prerm,postrm}), you can
+# skip past this library by scanning forward in this file to the string
+# "GOBSTOPPER".
+
+SOURCE_VERSION=@SOURCE_VERSION@
+OFFICIAL_BUILD=@OFFICIAL_BUILD@
+
+# Use special abnormal exit codes so that problems with this library are more
+# easily tracked down.
+SHELL_LIB_INTERNAL_ERROR=86
+SHELL_LIB_THROWN_ERROR=74
+SHELL_LIB_USAGE_ERROR=99
+
+# old -> new variable names
+if [ -z "$DEBUG_XORG_PACKAGE" ] && [ -n "$DEBUG_XFREE86_PACKAGE" ]; then
+  DEBUG_XORG_PACKAGE="$DEBUG_XFREE86_PACKAGE"
+fi
+if [ -z "$DEBUG_XORG_DEBCONF" ] && [ -n "$DEBUG_XFREE86_DEBCONF" ]; then
+  DEBUG_XORG_DEBCONF="$DEBUG_XFREE86_DEBCONF"
+fi
+
+# initial sanity checks
+if [ -z "$THIS_PACKAGE" ]; then
+  cat >&2 <<EOF
+Error: package maintainer script attempted to use shell library without
+definining \$THIS_PACKAGE shell variable.  Please report the package name,
+version, and the text of this error message to the Debian Bug Tracking System.
+Visit <http://www.debian.org/Bugs/Reporting> on the World Wide Web for
+instructions, read the file /usr/share/doc/debian/bug-reporting.txt from the
+"doc-debian" package, or install the "reportbug" package and use the command of
+the same name to file a report against version $SOURCE_VERSION of this package.
+EOF
+  exit $SHELL_LIB_USAGE_ERROR
+fi
+
+if [ -z "$THIS_SCRIPT" ]; then
+  cat >&2 <<EOF
+Error: package maintainer script attempted to use shell library without
+definining \$THIS_SCRIPT shell variable.  Please report the package name,
+version, and the text of this error message to the Debian Bug Tracking System.
+Visit <http://www.debian.org/Bugs/Reporting> on the World Wide Web for
+instructions, read the file /usr/share/doc/debian/bug-reporting.txt from the
+"doc-debian" package, or install the "reportbug" package and use the command of
+the same name to file a report against version $SOURCE_VERSION of the
+"$THIS_PACKAGE" package.
+EOF
+  exit $SHELL_LIB_USAGE_ERROR
+fi
+
+if [ "$1" = "reconfigure" ] || [ -n "$DEBCONF_RECONFIGURE" ]; then
+  RECONFIGURE="true"
+else
+  RECONFIGURE=
+fi
+
+if ([ "$1" = "install" ] || [ "$1" = "configure" ]) && [ -z "$2" ]; then
+  FIRSTINST="yes"
+fi
+
+if [ -z "$RECONFIGURE" ] && [ -z "$FIRSTINST" ]; then
+  UPGRADE="yes"
+fi
+
+trap "message;\
+      message \"Received signal.  Aborting $THIS_PACKAGE package $THIS_SCRIPT script.\";\
+      message;\
+      exit 1" HUP INT QUIT TERM
+
+reject_nondigits () {
+  # syntax: reject_nondigits [ operand ... ]
+  #
+  # scan operands (typically shell variables whose values cannot be trusted) for
+  # characters other than decimal digits and barf if any are found
+  while [ -n "$1" ]; do
+    # does the operand contain anything but digits?
+    if ! expr "$1" : "[[:digit:]]\+$" > /dev/null 2>&1; then
+      # can't use die(), because it wraps message() which wraps this function
+      echo "$THIS_PACKAGE $THIS_SCRIPT error: reject_nondigits() encountered" \
+           "possibly malicious garbage \"$1\"" >&2
+      exit $SHELL_LIB_THROWN_ERROR
+    fi
+    shift
+  done
+}
+
+reject_unlikely_path_chars () {
+  # syntax: reject_unlikely_path_chars [ operand ... ]
+  #
+  # scan operands (typically shell variables whose values cannot be trusted) for
+  # characters unlikely to be seen in a path and which the shell might
+  # interpret and barf if any are found
+  while [ -n "$1" ]; do
+    # does the operand contain any funny characters?
+    if expr "$1" : '.*[!$&()*;<>?|].*' > /dev/null 2>&1; then
+      # can't use die(), because I want to avoid forward references
+      echo "$THIS_PACKAGE $THIS_SCRIPT error: reject_unlikely_path_chars()" \
+           "encountered possibly malicious garbage \"$1\"" >&2
+      exit $SHELL_LIB_THROWN_ERROR
+    fi
+    shift
+  done
+}
+
+# Query the terminal to establish a default number of columns to use for
+# displaying messages to the user.  This is used only as a fallback in the
+# event the COLUMNS variable is not set.  ($COLUMNS can react to SIGWINCH while
+# the script is running, and this cannot, only being calculated once.)
+DEFCOLUMNS=$(stty size 2> /dev/null | awk '{print $2}') || true
+if ! expr "$DEFCOLUMNS" : "[[:digit:]]\+$" > /dev/null 2>&1; then
+  DEFCOLUMNS=80
+fi
+
+message () {
+  # pretty-print messages of arbitrary length
+  reject_nondigits "$COLUMNS"
+  echo "$*" | fmt -t -w ${COLUMNS:-$DEFCOLUMNS} >&2
+}
+
+observe () {
+  # syntax: observe message ...
+  #
+  # issue observational message suitable for logging someday when support for
+  # it exists in dpkg
+  if [ -n "$DEBUG_XORG_PACKAGE" ]; then
+    message "$THIS_PACKAGE $THIS_SCRIPT note: $*"
+  fi
+}
+
+warn () {
+  # syntax: warn message ...
+  #
+  # issue warning message suitable for logging someday when support for
+  # it exists in dpkg; also send to standard error
+  message "$THIS_PACKAGE $THIS_SCRIPT warning: $*"
+}
+
+die () {
+  # syntax: die message ...
+  #
+  # exit script with error message
+  message "$THIS_PACKAGE $THIS_SCRIPT error: $*"
+  exit $SHELL_LIB_THROWN_ERROR
+}
+
+internal_error () {
+  # exit script with error; essentially a "THIS SHOULD NEVER HAPPEN" message
+  message "internal error: $*"
+  if [ -n "$OFFICIAL_BUILD" ]; then
+    message "Please report a bug in the $THIS_SCRIPT script of the" \
+            "$THIS_PACKAGE package, version $SOURCE_VERSION to the Debian Bug" \
+            "Tracking System.  Include all messages above that mention the" \
+            "$THIS_PACKAGE package.  Visit " \
+            "<http://www.debian.org/Bugs/Reporting> on the World Wide Web for" \
+            "instructions, read the file" \
+            "/usr/share/doc/debian/bug-reporting.txt from the doc-debian" \
+            "package, or install the reportbug package and use the command of" \
+            "the same name to file a report."
+  fi
+  exit $SHELL_LIB_INTERNAL_ERROR
+}
+
+usage_error () {
+  message "usage error: $*"
+  message "Please report a bug in the $THIS_SCRIPT script of the" \
+          "$THIS_PACKAGE package, version $SOURCE_VERSION to the Debian Bug" \
+          "Tracking System.  Include all messages above that mention the" \
+          "$THIS_PACKAGE package.  Visit " \
+          "<http://www.debian.org/Bugs/Reporting> on the World Wide Web for" \
+          "instructions, read the file" \
+          "/usr/share/doc/debian/bug-reporting.txt from the doc-debian" \
+          "package, or install the reportbug package and use the command of" \
+          "the same name to file a report."
+  exit $SHELL_LIB_USAGE_ERROR
+}
+
+font_update () {
+  # run $UPDATECMDS in $FONTDIRS
+
+  local dir cmd shortcmd x_font_dir_prefix
+
+  x_font_dir_prefix="/usr/share/fonts/X11"
+
+  if [ -z "$UPDATECMDS" ]; then
+    usage_error "font_update() called but \$UPDATECMDS not set"
+  fi
+  if [ -z "$FONTDIRS" ]; then
+    usage_error "font_update() called but \$FONTDIRS not set"
+  fi
+
+  reject_unlikely_path_chars "$UPDATECMDS"
+  reject_unlikely_path_chars "$FONTDIRS"
+
+  for dir in $FONTDIRS; do
+    if [ -d "$x_font_dir_prefix/$dir" ]; then
+      for cmd in $UPDATECMDS; do
+        if which "$cmd" > /dev/null 2>&1; then
+          shortcmd=${cmd##*/}
+          observe "running $shortcmd in $dir font directory"
+	  cmd_opts=
+          if [ "$shortcmd" = "update-fonts-alias" ]; then
+            cmd_opts=--x11r7-layout
+          fi
+          if [ "$shortcmd" = "update-fonts-dir" ]; then
+            cmd_opts=--x11r7-layout
+          fi
+          if [ "$shortcmd" = "update-fonts-scale" ]; then
+            cmd_opts=--x11r7-layout
+          fi
+          $cmd $cmd_opts $dir || warn "$cmd $cmd_opts $dir" \
+                              "failed; font directory data may not" \
+                              "be up to date"
+        else
+          warn "$cmd not found; not updating corresponding $dir font" \
+               "directory data"
+        fi
+      done
+    else
+      warn "$dir is not a directory; not updating font directory data"
+    fi
+  done
+}
+
+remove_conffile_prepare () {
+  # syntax: remove_conffile_prepare filename official_md5sum ...
+  #
+  # Check a conffile "filename" against a list of canonical MD5 checksums.
+  # If the file's current MD5 checksum matches one of the "official_md5sum"
+  # operands provided, then prepare the conffile for removal from the system.
+  # We defer actual deletion until the package is configured so that we can
+  # roll this operation back if package installation fails.
+  #
+  # Call this function from a preinst script in the event $1 is "upgrade" or
+  # "install" and verify $2 to ensure the package is being upgraded from a
+  # version (or installed over a version removed-but-not-purged) prior to the
+  # one in which the conffile was obsoleted.
+
+  local conffile current_checksum
+
+  # validate arguments
+  if [ $# -lt 2 ]; then
+    usage_error "remove_conffile_prepare() called with wrong number of" \
+                "arguments; expected at least 2, got $#"
+    exit $SHELL_LIB_USAGE_ERROR
+  fi
+
+  conffile="$1"
+  shift
+
+  # does the conffile even exist?
+  if [ -e "$conffile" ]; then
+    # calculate its checksum
+    current_checksum=$(md5sum < "$conffile" | sed 's/[[:space:]].*//')
+    # compare it to each supplied checksum
+    while [ -n "$1" ]; do
+      if [ "$current_checksum" = "$1" ]; then
+        # we found a match; move the confffile and stop looking
+        observe "preparing obsolete conffile $conffile for removal"
+        mv "$conffile" "$conffile.$THIS_PACKAGE-tmp"
+        break
+      fi
+      shift
+    done
+  fi
+}
+
+remove_conffile_lookup () {
+  # syntax: remove_conffile_lookup package filename
+  #
+  # Lookup the md5sum of a conffile in dpkg's database, and prepare for removal
+  # if it matches the actual file's md5sum.
+  #
+  # Call this function when you would call remove_conffile_prepare but only
+  # want to check against dpkg's status database instead of known checksums.
+
+  local package conffile old_md5sum
+
+  # validate arguments
+  if [ $# -ne 2 ]; then
+    usage_error "remove_conffile_lookup() called with wrong number of" \
+                "arguments; expected 1, got $#"
+    exit $SHELL_LIB_USAGE_ERROR
+  fi
+
+  package="$1"
+  conffile="$2"
+
+  if ! [ -e "$conffile" ]; then
+    return
+  fi
+  old_md5sum="$(dpkg-query -W -f='${Conffiles}' "$package" | \
+    awk '{ if (match($0, "^ '"$conffile"' ")) print $2}')"
+  if [ -n "$old_md5sum" ]; then
+    remove_conffile_prepare "$conffile" "$old_md5sum"
+  fi
+}
+
+remove_conffile_commit () {
+  # syntax: remove_conffile_commit filename
+  #
+  # Complete the removal of a conffile "filename" that has become obsolete.
+  #
+  # Call this function from a postinst script after having used
+  # remove_conffile_prepare() in the preinst.
+
+  local conffile
+
+  # validate arguments
+  if [ $# -ne 1 ]; then
+    usage_error "remove_conffile_commit() called with wrong number of" \
+                "arguments; expected 1, got $#"
+    exit $SHELL_LIB_USAGE_ERROR
+  fi
+
+  conffile="$1"
+
+  # if the temporary file created by remove_conffile_prepare() exists, remove it
+  if [ -e "$conffile.$THIS_PACKAGE-tmp" ]; then
+    observe "committing removal of obsolete conffile $conffile"
+    rm "$conffile.$THIS_PACKAGE-tmp"
+  fi
+}
+
+remove_conffile_rollback () {
+  # syntax: remove_conffile_rollback filename
+  #
+  # Roll back the removal of a conffile "filename".
+  #
+  # Call this function from a postrm script in the event $1 is "abort-upgrade"
+  # or "abort-install" is  after having used remove_conffile_prepare() in the
+  # preinst.
+
+  local conffile
+
+  # validate arguments
+  if [ $# -ne 1 ]; then
+    usage_error "remove_conffile_rollback() called with wrong number of" \
+                "arguments; expected 1, got $#"
+    exit $SHELL_LIB_USAGE_ERROR
+  fi
+
+  conffile="$1"
+
+  # if the temporary file created by remove_conffile_prepare() exists, move it
+  # back
+  if [ -e "$conffile.$THIS_PACKAGE-tmp" ]; then
+    observe "rolling back removal of obsolete conffile $conffile"
+    mv "$conffile.$THIS_PACKAGE-tmp" "$conffile"
+  fi
+}
+
+replace_conffile_with_symlink_prepare () {
+  # syntax: replace_conffile_with_symlink_prepare oldfilename newfilename \
+  # official_md5sum ...
+  #
+  # Check a conffile "oldfilename" against a list of canonical MD5 checksums.
+  # If the file's current MD5 checksum matches one of the "official_md5sum"
+  # operands provided, then prepare the conffile for removal from the system.
+  # We defer actual deletion until the package is configured so that we can
+  # roll this operation back if package installation fails. Otherwise copy it
+  # to newfilename and let dpkg handle it through conffiles mechanism.
+  #
+  # Call this function from a preinst script in the event $1 is "upgrade" or
+  # "install" and verify $2 to ensure the package is being upgraded from a
+  # version (or installed over a version removed-but-not-purged) prior to the
+  # one in which the conffile was obsoleted.
+
+  local conffile current_checksum
+
+  # validate arguments
+  if [ $# -lt 3 ]; then
+    usage_error "replace_conffile_with_symlink_prepare() called with wrong" \
+                " number of arguments; expected at least 3, got $#"
+    exit $SHELL_LIB_USAGE_ERROR
+  fi
+
+  oldconffile="$1"
+  shift
+  newconffile="$1"
+  shift
+
+  remove_conffile_prepare "$_oldconffile" "$@"
+  # If $oldconffile still exists, then md5sums didn't match.
+  # Copy it to new one.
+  if [ -f "$oldconffile" ]; then
+    cp "$oldconffile" "$newconffile"
+  fi
+
+}
+
+replace_conffile_with_symlink_commit () {
+  # syntax: replace_conffile_with_symlink_commit oldfilename
+  #
+  # Complete the removal of a conffile "oldfilename" that has been
+  # replaced by a symlink.
+  #
+  # Call this function from a postinst script after having used
+  # replace_conffile_with_symlink_prepare() in the preinst.
+
+  local conffile
+
+  # validate arguments
+  if [ $# -ne 1 ]; then
+    usage_error "replace_conffile_with_symlink_commit() called with wrong" \
+                "number of arguments; expected 1, got $#"
+    exit $SHELL_LIB_USAGE_ERROR
+  fi
+
+  conffile="$1"
+
+  remove_conffile_commit "$conffile"
+}
+
+replace_conffile_with_symlink_rollback () {
+  # syntax: replace_conffile_with_symlink_rollback oldfilename newfilename
+  #
+  # Roll back the replacing of a conffile "oldfilename" with symlink to
+  # "newfilename".
+  #
+  # Call this function from a postrm script in the event $1 is "abort-upgrade"
+  # or "abort-install" and verify $2 to ensure the package failed to upgrade
+  # from a version (or install over a version removed-but-not-purged) prior
+  # to the one in which the conffile was obsoleted.
+  # You should have  used replace_conffile_with_symlink_prepare() in the
+  # preinst.
+
+  local conffile
+
+  # validate arguments
+  if [ $# -ne 2 ]; then
+    usage_error "replace_conffile_with_symlink_rollback() called with wrong" \
+                "number of arguments; expected 2, got $#"
+    exit $SHELL_LIB_USAGE_ERROR
+  fi
+
+  oldconffile="$1"
+  newconffile="$2"
+
+  remove_conffile_rollback "$_oldconffile"
+  if [ -f "$newconffile" ]; then
+    rm "$newconffile"
+  fi
+}
+
+run () {
+  # syntax: run command [ argument ... ]
+  #
+  # Run specified command with optional arguments and report its exit status.
+  # Useful for commands whose exit status may be nonzero, but still acceptable,
+  # or commands whose failure is not fatal to us.
+  #
+  # NOTE: Do *not* use this function with db_get or db_metaget commands; in
+  # those cases the return value of the debconf command *must* be checked
+  # before the string returned by debconf is used for anything.
+
+  local retval
+
+  # validate arguments
+  if [ $# -lt 1 ]; then
+    usage_error "run() called with wrong number of arguments; expected at" \
+                "least 1, got $#"
+    exit $SHELL_LIB_USAGE_ERROR
+  fi
+
+  "$@" || retval=$?
+
+  if [ ${retval:-0} -ne 0 ]; then
+    observe "command \"$*\" exited with status $retval"
+  fi
+}
+
+make_symlink_sane () {
+  # syntax: make_symlink_sane symlink target
+  #
+  # Ensure that the symbolic link symlink exists, and points to target.
+  #
+  # If symlink does not exist, create it and point it at target.
+  #
+  # If symlink exists but is not a symbolic link, back it up.
+  #
+  # If symlink exists, is a symbolic link, but points to the wrong location, fix
+  # it.
+  #
+  # If symlink exists, is a symbolic link, and already points to target, do
+  # nothing.
+  #
+  # This function wouldn't be needed if ln had an -I, --idempotent option.
+
+  # Validate arguments.
+  if [ $# -ne 2 ]; then
+    usage_error "make_symlink_sane() called with wrong number of arguments;" \
+      "expected 2, got $#"
+    exit $SHELL_LIB_USAGE_ERROR
+  fi
+
+  # We could just use the positional parameters as-is, but that makes things
+  # harder to follow.
+  local symlink target
+
+  symlink="$1"
+  target="$2"
+
+  if [ -L "$symlink" ] && [ "$(readlink "$symlink")" = "$target" ]; then
+      observe "link from $symlink to $target already exists"
+  else
+    observe "creating symbolic link from $symlink to $target"
+    mkdir -p "${target%/*}" "${symlink%/*}"
+    ln -s -b -S ".dpkg-old" "$target" "$symlink"
+  fi
+}
+
+migrate_dir_to_symlink () {
+  # syntax: migrate_dir_to_symlink old_location new_location
+  #
+  # Per Debian Policy section 6.5.4, "A directory will never be replaced by a
+  # symbolic link to a directory or vice versa; instead, the existing state
+  # (symlink or not) will be left alone and dpkg will follow the symlink if
+  # there is one."
+  #
+  # We have to do it ourselves.
+  #
+  # This function moves the contents of old_location, a directory, into
+  # new_location, a directory, then makes old_location a symbolic link to
+  # new_location.
+  #
+  # old_location need not exist, but if it does, it must be a directory (or a
+  # symlink to a directory).  If it is not, it is backed up.  If new_location
+  # exists already and is not a directory, it is backed up.
+  #
+  # This function should be called from a package's preinst so that other
+  # packages unpacked after this one --- but before this package's postinst runs
+  # --- are unpacked into new_location even if their payloads contain
+  # old_location filespecs.
+
+  # Validate arguments.
+  if [ $# -ne 2 ]; then
+    usage_error "migrate_dir_to_symlink() called with wrong number of"
+                "arguments; expected 2, got $#"
+    exit $SHELL_LIB_USAGE_ERROR
+  fi
+
+  # We could just use the positional parameters as-is, but that makes things
+  # harder to follow.
+  local new old
+
+  old="$1"
+  new="$2"
+
+  # Is old location a symlink?
+  if [ -L "$old" ]; then
+    # Does it already point to new location?
+    if [ "$(readlink "$old")" = "$new" ]; then
+      # Nothing to do; migration has already been done.
+      observe "migration of $old to $new already done"
+      return 0
+    else
+      # Back it up.
+      warn "backing up symbolic link $old as $old.dpkg-old"
+      mv -b "$old" "$old.dpkg-old"
+    fi
+  fi
+
+  # Does old location exist, but is not a directory?
+  if [ -e "$old" ] && ! [ -d "$old" ]; then
+      # Back it up.
+      warn "backing up non-directory $old as $old.dpkg-old"
+      mv -b "$old" "$old.dpkg-old"
+  fi
+
+  observe "migrating $old to $new"
+
+  # Is new location a symlink?
+  if [ -L "$new" ]; then
+    # Does it point the wrong way, i.e., back to where we're migrating from?
+    if [ "$(readlink "$new")" = "$old" ]; then
+      # Get rid of it.
+      observe "removing symbolic link $new which points to $old"
+      rm "$new"
+    else
+      # Back it up.
+      warn "backing up symbolic link $new as $new.dpkg-old"
+      mv -b "$new" "$new.dpkg-old"
+    fi
+  fi
+
+  # Does new location exist, but is not a directory?
+  if [ -e "$new" ] && ! [ -d "$new" ]; then
+    warn "backing up non-directory $new as $new.dpkg-old"
+    mv -b "$new" "$new.dpkg-old"
+  fi
+
+  # Create new directory if it does not yet exist.
+  if ! [ -e "$new" ]; then
+    observe "creating $new"
+    mkdir -p "$new"
+  fi
+
+  # Copy files in old location to new location.  Back up any filenames that
+  # already exist in the new location with the extension ".dpkg-old".
+  observe "copying files from $old to $new"
+  if ! (cd "$old" && cp -a -b -S ".dpkg-old" . "$new"); then
+    die "error(s) encountered while copying files from $old to $new"
+  fi
+
+  # Remove files at old location.
+  observe "removing $old"
+  rm -r "$old"
+
+  # Create symlink from old location to new location.
+  make_symlink_sane "$old" "$new"
+}
+
+# vim:set ai et sw=2 ts=2 tw=80:
+
+# GOBSTOPPER: The X Strike Force shell library ends here.
--- xdm-1.1.10.orig/debian/patches/support_logfile_rotation.diff
+++ xdm-1.1.10/debian/patches/support_logfile_rotation.diff
@@ -0,0 +1,160 @@
+From: Branden Robinson <branden@debian.org>
+Subject: add support for logfile rotation
+
+- Implement new ReopenLogFile() and ReopenLogFileNotify() functions.
+  ReopenLogFileNotify() is a signal handler for SIGUSR2.
+- Move the definition of the WRITES() macro from error.c to dm_error.h
+  so that dm.c can use it as well.
+- Document xdm's signal handling in its manpage.
+
+Forward-ported by Eugene Konev and Julien Cristau.
+
+Index: xdm/dm.c
+===================================================================
+--- xdm.orig/dm.c
++++ xdm/dm.c
+@@ -90,8 +90,10 @@
+ extern FILE    *fdopen();
+ #endif
+ 
+-static SIGVAL	StopAll (int n), RescanNotify (int n);
++static SIGVAL	StopAll (int n), RescanNotify (int n),
++				ReopenLogFileNotify (int n);
+ static void	RescanServers (void);
++static void ReopenLogFile (void);
+ static void	RestartDisplay (struct display *d, int forceReserver);
+ static void	ScanServers (void);
+ static void	SetAccessFileTime (void);
+@@ -100,6 +102,7 @@
+ static void	TerminateProcess (pid_t pid, int signal);
+ 
+ volatile int	Rescan;
++volatile int	Reopen;
+ static long	ServersModTime, ConfigModTime, AccessFileModTime;
+ 
+ int nofork_session = 0;
+@@ -209,6 +212,7 @@
+     AddOtherEntropy();
+ #endif
+     (void) Signal (SIGHUP, RescanNotify);
++    (void) Signal (SIGUSR2, ReopenLogFileNotify);
+ #ifndef UNRELIABLE_SIGNALS
+     (void) Signal (SIGCHLD, ChildNotify);
+ #endif
+@@ -219,6 +223,11 @@
+ #endif
+ 	   AnyDisplaysLeft ())
+     {
++	if (Reopen)
++	{
++	    ReopenLogFile ();
++		Reopen = 0;
++	}
+ 	if (Rescan)
+ 	{
+ 	    RescanServers ();
+@@ -243,6 +252,7 @@
+     int olderrno = errno;
+ 
+     Debug ("Caught SIGHUP\n");
++    Reopen = 1;
+     Rescan = 1;
+ #ifdef SIGNALS_RESET_WHEN_CAUGHT
+     (void) Signal (SIGHUP, RescanNotify);
+@@ -250,6 +260,26 @@
+     errno = olderrno;
+ }
+ 
++/*
++ * Handle a SIGUSR2: set variable that will instruct the main loop to
++ * reopen the log file.
++ */
++static void
++ReopenLogFileNotify (int n)
++{
++#ifdef SIGNALS_RESET_WHEN_CAUGHT
++    int olderrno = errno;
++#endif
++
++    /* Debug() is not safe inside a signal handler. */
++    WRITES(STDERR_FILENO, "ReopenLogFileNotify handling SIGUSR2\n");
++    Reopen = 1;
++#ifdef SIGNALS_RESET_WHEN_CAUGHT
++    (void) Signal (SIGUSR2, ReopenLogFileNotify);
++    errno = olderrno;
++#endif
++}
++
+ static void
+ ScanServers (void)
+ {
+@@ -317,6 +347,14 @@
+ }
+ 
+ static void
++ReopenLogFile (void)
++{
++    Debug ("closing standard error file descriptor %d\n", STDERR_FILENO);
++    close (STDERR_FILENO);
++    InitErrorLog ();
++}
++
++static void
+ SetConfigFileTime (void)
+ {
+     struct stat	statb;
+Index: xdm/dm_error.h
+===================================================================
+--- xdm.orig/dm_error.h
++++ xdm/dm_error.h
+@@ -40,6 +40,8 @@
+ #  define GCC_PRINTFLIKE(fmt,var) /*nothing*/
+ # endif
+ 
++#define WRITES(fd, buf) write(fd, buf, strlen(buf))
++
+ extern void Debug        (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
+ extern void InitErrorLog (void);
+ extern void LogAppend    (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
+Index: xdm/xdm.man.cpp
+===================================================================
+--- xdm.orig/xdm.man.cpp
++++ xdm/xdm.man.cpp
+@@ -1407,6 +1407,37 @@
+ multiple window systems on the same hardware, you'll probably be more
+ interested in
+ .I xinit.
++.SH "ASYNCHRONOUS EVENTS"
++.B xdm
++uses
++.B SIGALRM
++and
++.B SIGUSR1
++for its own inter-process communication purposes, managing the relationship
++between the parent
++.B xdm
++process and its children.
++Sending these signals to any
++.B xdm
++process may result in unexpected behavior.
++.TP
++.B SIGHUP
++causes
++.B xdm
++to rescan its configuration files and reopen its log file.
++.TP
++.B SIGTERM
++causes
++.B xdm
++to terminate its children and shut down.
++.TP
++.B SIGUSR2
++causes
++.B xdm
++to reopen its log file.
++This is useful if log rotation is desired, but
++.B SIGHUP
++is too disruptive.
+ .SH FILES
+ .TP 20
+ .I XDMDIR/xdm-config
--- xdm-1.1.10.orig/debian/patches/doc_mention_xdm.options.diff
+++ xdm-1.1.10/debian/patches/doc_mention_xdm.options.diff
@@ -0,0 +1,14 @@
+Index: xdm/xdm.man.cpp
+===================================================================
+--- xdm.orig/xdm.man.cpp
++++ xdm/xdm.man.cpp
+@@ -1473,7 +1473,8 @@
+ .IR Xserver (__appmansuffix__),
+ .\" .IR chooser (__appmansuffix__), \" except that there isn't a manual for it yet
+ .\" .IR xdmshell (__appmansuffix__), \" except that there isn't a manual for it yet
+-.IR fonts.conf (__filemansuffix__).
++.IR fonts.conf (__filemansuffix__),
++.IR xdm.options (__filemansuffix__).
+ .br
+ .I "X Display Manager Control Protocol"
+ .br
--- xdm-1.1.10.orig/debian/patches/series
+++ xdm-1.1.10/debian/patches/series
@@ -0,0 +1,11 @@
+# this one might need some ifdefs
+06_hurd_utsname.diff
+
+# patch 20 has signal safety issues
+20_xdm_log_timestamp.diff
+21_xdm_log_append.diff
+
+support_logfile_rotation.diff
+
+debian.diff
+doc_mention_xdm.options.diff
--- xdm-1.1.10.orig/debian/patches/20_xdm_log_timestamp.diff
+++ xdm-1.1.10/debian/patches/20_xdm_log_timestamp.diff
@@ -0,0 +1,48 @@
+From 8eb75e620cca2d9c64682942e171a07b00a60749 Mon Sep 17 00:00:00 2001
+From: Julien Cristau <jcristau@debian.org>
+Date: Wed, 23 Dec 2009 16:51:22 +0100
+Subject: [PATCH] Add timestamping to logging functions
+
+Based on patch by Branden Robinson <branden@debian.org>
+---
+ error.c |   20 +++++++++++++++++---
+ 1 files changed, 17 insertions(+), 3 deletions(-)
+
+Index: xdm/error.c
+===================================================================
+--- xdm.orig/error.c
++++ xdm/error.c
+@@ -64,9 +64,6 @@
+ 	va_end(args);		\
+     } while(0)
+ 
+-#define LogHeader(type)		\
+-    LogAppend("xdm %s (pid %ld): ", type, (long)getpid())
+-
+ /* Append more text to the log without a new header, right after
+    having called LogInfo or LogError */
+ void
+@@ -75,6 +72,23 @@
+     LogVarArgsWrite(fmt);
+ }
+ 
++static void
++LogHeader(const char *type) {
++    time_t seconds;
++    size_t rc = 0;
++    struct tm *timestamp = NULL;
++    char timebuf[256];
++    if (time(&seconds) != (time_t) -1)
++	timestamp = localtime(&seconds);
++
++    if (timestamp)
++	rc = strftime(timebuf, 255, "%c", timestamp);
++    if (!rc)
++	strcpy(timebuf, "(time unavailable)");
++
++    LogAppend("%s xdm %s (pid %ld): ", timebuf, type, (long)getpid());
++}
++
+ void
+ LogInfo(const char * fmt, ...)
+ {
--- xdm-1.1.10.orig/debian/patches/debian.diff
+++ xdm-1.1.10/debian/patches/debian.diff
@@ -0,0 +1,166 @@
+# HG changeset patch
+# User ejka@imfi.kspu.ru
+# Node ID 96e35758da2d69a8a9cd281b25c7dcb7364f5d3b
+# Parent  24626b4361c54d148fbc4b7cf1a9f4f2de3ec74b
+Ported parts of 905_debian_xdm.diff. Some changes are now done through
+configure flags
+
+* config/Xservers.ws.cpp:
+  - add comments to help local admins
+  - run local server with TCP listening turned off for security
+* config/Xsession.cpp: replace guts with simple call to Debian's Xsession
+  script
+* config/xdm-config.cpp:
+  - Supply a simpler default configuration, so that no matter what X server
+    number is used, people get the same results.
+
+Index: xdm/config/Xservers.ws.cpp
+===================================================================
+--- xdm.orig/config/Xservers.ws.cpp
++++ xdm/config/Xservers.ws.cpp
+@@ -9,4 +9,26 @@
+ XCOMM look like:
+ XCOMM	XTerminalName:0 foreign
+ XCOMM
+-:0 local BINDIR/X :0 DEFAULTVT
++XCOMM When adding X servers, please keep the following things in mind:
++XCOMM - If the X server's number is not zero, it must be passed to the X
++XCOMM   server's command line as its first argument.
++XCOMM - When using the Xorg X server, it is wise to add the vtXX
++XCOMM   option to each local X server, since this is the only sure way
++XCOMM   of knowing in advance which X server attaches to which virtual
++XCOMM   console.
++XCOMM - SECURITY NOTE: Always pass the "-nolisten tcp" option to the X
++XCOMM   server, as shown in the examples below, unless you know you
++XCOMM   need the X server listening on a TCP port.  Omitting this
++XCOMM   option can expose your X server to attacks from remote hosts.
++XCOMM   Note also that SSH's X11 port-forwarding option works even with
++XCOMM   X servers that do not listen on a TCP port, so you do not need
++XCOMM   to remove the "-nolisten tcp" option for SSH's benefit.
++XCOMM - See the Xserver(1) manpage for a description of X server
++XCOMM   options.  If you are using the Xorg X server, see the
++XCOMM   Xorg(1) manpage for a description of options specific to it
++XCOMM   (such as "-depth").
++XCOMM
++XCOMM Examples for multiple local X displays:
++XCOMM :0 local BINDIR/X :0 vt9 -depth 15 -nolisten tcp
++XCOMM :1 local BINDIR/X :1 vt10 -depth 8 -nolisten tcp
++:0 local BINDIR/X :0 DEFAULTVT -nolisten tcp
+Index: xdm/config/Xsession.cpp
+===================================================================
+--- xdm.orig/config/Xsession.cpp
++++ xdm/config/Xsession.cpp
+@@ -1,84 +1,5 @@
+ XCOMM!SHELL_CMD
+ XCOMM
+ 
+-XCOMM redirect errors to a file in user's home directory if we can
+-
+-errfile="$HOME/.xsession-errors"
+-if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null )
+-then
+-	exec > "$errfile" 2>&1
+-else
+-#ifdef MKTEMP_COMMAND
+-	mktemp=MKTEMP_COMMAND
+- 	for errfile in "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
+-	do
+-		if ef="$( umask 077 && $mktemp "$errfile.XXXXXX" 2> /dev/null)"
+-		then
+-			exec > "$ef" 2>&1
+-			mv "$ef" "$errfile" 2> /dev/null
+- 			break
+- 		fi
+-	done
+-#else
+-XCOMM Since this system doesn't have a mktemp command to allow secure
+-XCOMM creation of files in shared directories, no fallback error log
+-XCOMM is being used.   See https://bugs.freedesktop.org/show_bug.cgi?id=5898
+-XCOMM
+-XCOMM 	for errfile in "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
+-XCOMM	do
+-XCOMM		if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null )
+-XCOMM		then
+-XCOMM			exec > "$errfile" 2>&1
+-XCOMM			break
+-XCOMM		fi
+-XCOMM	done
+-
+-	exec > /dev/null 2>&1
+-
+-#endif
+-fi
+-
+-case $# in
+-1)
+-	case $1 in
+-	failsafe)
+-		exec BINDIR/xterm -geometry 80x24-0-0
+-		;;
+-	esac
+-esac
+-
+-XCOMM The startup script is not intended to have arguments.
+-
+-startup=$HOME/.xsession
+-resources=$HOME/.Xresources
+-
+-if [ -s "$startup" ]; then
+-	if [ -x "$startup" ]; then
+-		exec "$startup"
+-	else
+-		exec /bin/sh "$startup"
+-	fi
+-else
+-	if [ -r "$resources" ]; then
+-		BINDIR/xrdb -load "$resources"
+-	fi
+-#if defined(__SCO__) || defined(__UNIXWARE__)
+-        [ -r /etc/default/xdesktops ] && {
+-                . /etc/default/xdesktops
+-        }
+-
+-        [ -r /etc/default/xdm ] && {
+-                . /etc/default/xdm
+-        }
+-
+-        XCOMM Allow the user to over-ride the system default desktop
+-        [ -r $HOME/.xdmdesktop ] && {
+-                . $HOME/.xdmdesktop
+-        }
+-
+-        [ -n "$XDESKTOP" ] && {
+-                exec `eval $XDESKTOP`
+-        }
+-#endif
+-	exec BINDIR/xsm
+-fi
++# invoke global X session script
++. /etc/X11/Xsession
+Index: xdm/config/xdm-config.cpp
+===================================================================
+--- xdm.orig/config/xdm-config.cpp
++++ xdm/config/xdm-config.cpp
+@@ -18,19 +18,16 @@
+ DisplayManager*resources:	XDMCONFIGDIR/Xresources
+ DisplayManager.willing:		SU nobody -c XDMSCRIPTDIR/Xwilling
+ ! All displays should use authorization, but we cannot be sure
+-! X terminals may not be configured that way, so they will require
+-! individual resource settings.
++! X terminals will be configured to support it, so those that do not will
++! require individual resource settings.
+ DisplayManager*authorize:	true
+ !
+ DisplayManager*chooser:		CHOOSERPATH
+ DisplayManager*startup:		XDMSCRIPTDIR/Xstartup
+ DisplayManager*session:		XDMSCRIPTDIR/Xsession
++DisplayManager*setup:		XDMSCRIPTDIR/Xsetup
+ DisplayManager*reset:		XDMSCRIPTDIR/Xreset
+ DisplayManager*authComplain:	true
+-! The following three resources set up display :0 as the console.
+-DisplayManager._0.setup:	XDMSCRIPTDIR/Xsetup_0
+-DisplayManager._0.startup:	XDMSCRIPTDIR/GiveConsole
+-DisplayManager._0.reset:	XDMSCRIPTDIR/TakeConsole
+ #ifdef XPM
+ DisplayManager*loginmoveInterval:	10
+ #endif /* XPM */
--- xdm-1.1.10.orig/debian/patches/06_hurd_utsname.diff
+++ xdm-1.1.10/debian/patches/06_hurd_utsname.diff
@@ -0,0 +1,18 @@
+---
+ auth.c |    2 --
+ 1 file changed, 2 deletions(-)
+
+Index: xdm/auth.c
+===================================================================
+--- xdm.orig/auth.c
++++ xdm/auth.c
+@@ -56,9 +56,7 @@
+ # include <netdnet/dnetdb.h>
+ #endif
+ 
+-#if defined(hpux)
+ # include <sys/utsname.h>
+-#endif
+ 
+ #if defined(SYSV) && defined(i386)
+ # include <sys/stream.h>
--- xdm-1.1.10.orig/debian/patches/21_xdm_log_append.diff
+++ xdm-1.1.10/debian/patches/21_xdm_log_append.diff
@@ -0,0 +1,33 @@
+From: Julien Cristau <jcristau@debian.org>
+Subject: Append to the log file instead of truncating it
+
+Based on patch by Branden Robinson <branden@debian.org>
+
+Index: xdm/error.c
+===================================================================
+--- xdm.orig/error.c
++++ xdm/error.c
+@@ -38,6 +38,7 @@
+ 
+ #include <stdio.h>
+ #include <stdarg.h>
++#include <errno.h>
+ 
+ #include "dm.h"
+ #include "dm_error.h"
+@@ -140,13 +141,13 @@
+ {
+     int	i;
+     if (errorLogFile[0]) {
+-	i = creat (errorLogFile, 0666);
++	i = open (errorLogFile, O_WRONLY|O_CREAT|O_APPEND, 0666);
+ 	if (i != -1) {
+ 	    if (i != STDERR_FILENO) {
+ 		dup2 (i, STDERR_FILENO);
+ 		close (i);
+ 	    }
+ 	} else
+-	    LogError ("Cannot open errorLogFile %s\n", errorLogFile);
++	    LogError ("Cannot open errorLogFile %s: %s\n", errorLogFile, _SysErrorMsg (errno));
+     }
+ }
--- xdm-1.1.10.orig/debian/local/xdm.options
+++ xdm-1.1.10/debian/local/xdm.options
@@ -0,0 +1,7 @@
+# configuration options for xdm
+# See xdm.options(5) for an explanation of the available options.
+
+no-ignore-nologin
+no-restart-on-upgrade
+no-start-on-install
+use-sessreg
--- xdm-1.1.10.orig/debian/local/debian.xpm
+++ xdm-1.1.10/debian/local/debian.xpm
@@ -0,0 +1,308 @@
+/* XPM */
+static char * debian_xpm[] = {
+"200 265 39 1",
+" 	c None",
+".	c #CCAAAA",
+"+	c #CCBBBB",
+"@	c #CC9999",
+"#	c #BB8888",
+"$	c #BB5555",
+"%	c #BB7777",
+"&	c #BB9999",
+"*	c #AA4444",
+"=	c #AA2222",
+"-	c #AA0000",
+";	c #AA3333",
+">	c #990000",
+",	c #BB6666",
+"'	c #AA1111",
+")	c #AA5555",
+"!	c #BB4444",
+"~	c #BBBBBB",
+"{	c #AAAAAA",
+"]	c #666666",
+"^	c #555555",
+"/	c #222222",
+"(	c #777777",
+"_	c #333333",
+":	c #000000",
+"<	c #776666",
+"[	c #111111",
+"}	c #998888",
+"|	c #444444",
+"1	c #888888",
+"2	c #999999",
+"3	c #AA9999",
+"4	c #887777",
+"5	c #BBAAAA",
+"6	c #554444",
+"7	c #665555",
+"8	c #221111",
+"9	c #443333",
+"0	c #332222",
+"                                                                                                                                                                                                        ",
+"                                                                                                      ......+                                                                                           ",
+"                                                                                              .@#.   ..                                                                                                 ",
+"                                                                                       .$%&%*=-;&     .##@                                                                                              ",
+"                                                                                     #*>>>>>>>=$**$,#&@.#.     #,.                                                                                      ",
+"                                                                                  .%=>>>>>>>>>>>>>>>*@.@#,;='=$$>>;,.                                                                                   ",
+"                                                                                @$'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=$&                                                                                ",
+"                                                                              &;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'$@                                                                             ",
+"                                                                            #=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>;#                                                                           ",
+"                                                                          #=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=#     .                                                                   ",
+"                                                                        #=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=%,;'>';#                                                                ",
+"                                                                      @;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'.                                                               ",
+"                                                                     $>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>* .+                                                            ",
+"                                                                   @=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>;.,%                                                           ",
+"                                                                  ,>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>-,*;.                                                         ",
+"                                                               % *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>->'%                                                        ",
+"                                                              ,>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*.                                                      ",
+"                                                             $>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'->>'=;;;;;;;='->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=.                                                     ",
+"                                                            $>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'*%&..#&.           ..#%*=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'&                                                    ",
+"                                                           *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>;#   .+                     .#$'>>>>>>>>>>>>>>>>>>>>>>>>>>>%                                                   ",
+"                                                         +;>>>>>>>>>>>>>>>>>>>>>>>>>>>>=&                                @$'>>>>>>>>>>>>>>>>>>>>>>>>>%                                                  ",
+"                                                        .=>>>>>>>>>>>>>>>>>>>>>>>>>>>'%                                     #=>>>>>>>>>>>>>>>>>>>>>>>>,                                                 ",
+"                                                       @=>>>>>>>>>>>>>>>>>>>>>>>>>>',.                                        #=>>>>>>>>>>>>>>>>>>>>>>>,                                                ",
+"                                                      @'>>>>>>>>>>>>>>>>>>>>>>>>'$&@                                            ,>>>>>>>>>>>>>>>>>>>>>>>%                                               ",
+"                                                     @'>>>>>>>>>>>>>>>>>>>>>>>>>=;;#                                             @=>>>>>>>>>>>>>>>>>>>>>>#                                              ",
+"                                                    .'>>>>>>>>>>>>>>>>>>>>>>=$,#@.                                                 *>>>>>>>>>>>>>>>>>>>>>'@                                             ",
+"                                                   .=>>>>>>>>>>>>>>>>>>>>>;#                                                        ,>>>>>>>>>>>>>>>>>>>>>=.                                            ",
+"                                                   ;>>>>>>>>>>>>>>>>>>>>'%                                                           #'>>>>>>>>>>>>>>>>>>>>;                                            ",
+"                                                  %>>>>>>>>>>>>>>>>>>>>'@                                                             &'>>>>>>>>>>>>>>>>>>>>,                                           ",
+"                                                 +'>>>>>>>>>>>>>>>>>>>=.                                                               &'>>>>>>>>>>>>>>>>>>>>&                                          ",
+"                                                 %>>>>>>>>>>>>>>>>>>>'%$                                                                &'>>>>>>>>>>>>>>>>>>>=                                          ",
+"                                                %'>>>>>>>>>>>>>>>>>>>=;.                                                                 #>>>>>>>>>>>>>>>>>>>>,                                         ",
+"                                               .'>>>>>>>>>>>>>>>>>',.                                                                     %>>>>>>>>>>>>>>>>>>>-.                                        ",
+"                                               ,>>>>>>>>>>>>>>>>>,                                                                         $>>>>>>>>>>>>>>>>>>>*                                        ",
+"                                              +'>>>>>>>>>>>>>>>=@                                                                           ;>>>>>>>>>>>>>>>>>>>&                                       ",
+"                                              %>>>>>>>>>>>>>>>$                                                                             .'>>>>>>>>>>>>>>>>>>;                                       ",
+"                                              =>>>>>>>>>>>>>>%                                                                               #>>>>>>>>>>>>>>>>>>>&                                      ",
+"                                     %'      #>>>>>>>>>>>>>'#                                                                                 $>>>>>>>>>>>>>>>>>>*                                      ",
+"                                     $;      *>>>>>>>>>>>>'@                                                                                  +'>>>>>>>>>>>>>>>>>>.                                     ",
+"                                     =#     .>>>>>>>>>>>>'@                                                                                    #>>>>>>>>>>>>>>>>>>,                                     ",
+"                                    .&      *>>>>>>>>>>>'@                                                                                      ;>>>>>>>>>>>>>=>>-;                                     ",
+"                                          .$>>>>>>>>>>>'@                                                                                       @>>>>>>>>>>'#%.$>'@.                                    ",
+"                                         %>>>>>>>>>>>>'@                                                                                         *>>>>>>>>>;   .'>.+                                    ",
+"                                         =>>>>>>>>>>>-#                                                                                          &>>>>>>>>>=    ,>&                                     ",
+"                                        #>>>>>>>>>>>>#                                                                                            ;>>>>>>>>>.   .'&                                     ",
+"                                        ;>>>>>>>>>>>,                                                                                             #>>>>>>>>>$#.  $&                                     ",
+"                                       &>>>>>>>>>>>*                                                      +.@@@.                                   '>>>>>>>>>>$  .,                                     ",
+"                                       *>>>>>>>>>>=                                                   &,;'>>>>>>';,&                               $>>>>>>>>>>-   $                                     ",
+"                                      .->>>>>>>>>'@                                                .,'>>>>>>>>>>>>>>',.                            &>>>>>>>>>>>.  #.                                    ",
+"                                  @   ,>>>>>>>>>>%                                               .$>>>>>>>>>>>>>>>>>>>-$.                           '>>>>>>>>>>&   %                                    ",
+"                                 %#   =>>>>>>>>>'.                                              %'>>>>>>>';,#&@+.&&%$=>>'#                          *>>>>>>>>>>,   ,                                    ",
+"                                 ;.  &>>>>>>>>>>>=                                            .*>>>>>>'*&             .%=>$                         %>>>>>>>>>>;   #.                                   ",
+"                                 ;   $>>>>>>>>>>>%                                           .=>>>>>'%.                  @;;.                       &>>>>>>>>>*'    #                                   ",
+"                                 ,   '>>>>>>>>>>'.                                          .=>>>>-,                       #;.                      +>>>>>>>>>%;.   &                                   ",
+"                                 .  #>>>>>>>>>>>,                                           ;>>>>;.                          ,.                      '>>>>>>>>;.@   @                                   ",
+"                                    *>>>>>>>>>>'.                                          *>>>>$                             @                      =>>>>>>>>>.    .                                   ",
+"                                    >>>>>>>>>>>,                                          &>>>>%                                                     *>>>>>>>>>,     .                                  ",
+"                                   #>>>>>>>>>>'.                                          =>>>%                                                      @>>>>>>>>>'.                                       ",
+"                                   *>>>>>>>>>>%                                         .;>>>,                                                       &>>>>>>>>>>%                                       ",
+"                                   '>>>>>>>>>=                                          ;>>>*                                                        &>>>>>>>>>=                                        ",
+"                                  &>>>>>>>>>>%                                         %>>>'.                                                        &>>>>>>>>>;                                        ",
+"                                  $>>>>>>>>>'                                          '>>>#                                                         &>>>>>>>>>=                                        ",
+"                                  =>>>>>>>>>$                                         %>>>;                                                          &>>>>>>>>>'                                        ",
+"                                  '>>>>>>>>>&                                         =>>>&                                                          +>>>>>>>>>>#.                                      ",
+"                                  *>>>>>>>>>+                                        @>>>;                                                           +>>>>>>>>>>-;                                      ",
+"                                  ,>>>>>>>>'                                         $>>>#                                                           +>>>>>>>>>>>,                                      ",
+"                                  ,>>>>>>>>=                                         '>>'.                                                           +>>>>>>>>>>>.                                      ",
+"                                  ,>>>>>>>>;                                        #>>>*                                          %.                +>>>>>>>>>>;                                       ",
+"                                  ,>>>>>>>>*                                        =>>>%                                         .-.                .>>>>>>>>>>%                                       ",
+"                                  ,>>>>>>>>$                                       #>>>>.                                         .>.                &>>>>>>>>>>.                                       ",
+"                                  ,>>>>>>>>,                                       %>>>'                                           *.                #>>>>>>>>>'                                        ",
+"                                  ,>>>>>>>>%                                       $>>>=                                           .                 %>>>>>>>>*;                                        ",
+"                                  ,>>>>>>>>@                                       *>>>;                                                             )>>>>>>>>%,                                        ",
+"                                  *>>>>>>>>.                                       *>>>*                                                             ,>>>>>>>=##                                        ",
+"                                  *>>>>>>>>                                        ;>>>*                                                            +@>>>>>>>%+.                                        ",
+"                                  *>>>>>>>'                                        ;>>>*.                                                           +.>>>>>>>%.                                         ",
+"                                  *>>>>>>>=                                        ;>>>',                                                            #>>>>>>>#@  @                                      ",
+"                                  *>>>>>>>;                                        ;>>>>*                                                            $>>>>>>>.@  @                                      ",
+"                                  *>>>>>>>*                                        *>>>>*                                      + .                   =>>>>>>=.. ..                                      ",
+"                                  *>>>>>>>$                                        $>>>>=                                     .# @                  &>>>>>>>,.  &                                       ",
+"                                  *>>>>>>>,                                        %>>>>>.                                    , @.                  $>>>>>>>.+  &                                       ",
+"                                  ,>>>>>>>,                                        #>>>>>@                                   ## ,                  +'>>>>>>*    @                                       ",
+"                                  ,>>>>>>>%                                        +>>>>>,                                   , %&                  %>>>>>>>&   ..                                       ",
+"                                  )>>>>>>>%                                         =>>>>=                                   %;*                 .$>>>>>>>;    @                                        ",
+"                                  *>>>>>>>%                                         $>>>>>.                                   #.                .->>>>>>>>&    @                                        ",
+"                                  *>>>>>>>%                                         &>>>>>,                                                     ,>>>>>>>>;     .                                        ",
+"                                  *>>>>>>>%                                          '>>>>'.                                                    ;>>>>>>>>%    @                                         ",
+"                                  *>>>>>>>,                                          ,>>>>>,                                                    )>>>>>'*>.    .                                         ",
+"                                  *>>>>>>>$                                         +.'>>>>'.                  %$$,,$;%                         ;>>>>>% ;    +.                                         ",
+"                                  ,>>>>>>>*                                         ..,>>>>>$                  .$=>>>#                         &>>>>>=  .    .                                          ",
+"                                  ,>>>>>>>=                                          %+'>>>>>&                    .#&                         #->>>>>#       .                                          ",
+"                                  %>>>>>>>>.                                         #&#>>>>>=.                                              %>>>>>>>.      +                                           ",
+"                                  #>>>>>>>>%                                      #   $ *>>>>>*                                             ,>>>>>>>>@                                                  ",
+"                                  @>>>>>>>>=                                      '.  &..=>>>>>,                                           $>>>>>>>;!.                                                  ",
+"                                  .>>>>>>>>>,                                     =*   . .'>>>>>,                                        .;>>>>>>>* %                                                   ",
+"                                   >>>>>>>>>,                                     @'&+%   &'>>>>>,                                      .=>>>>>>>*  +                                                   ",
+"                                   =>>>>>>>>,                                      %= #$   #>>>>>>$                                  # #'>>>>>>>*                                                       ",
+"                                   *>>>>>>>>#                                       ;% *%   #'>>>>>;.                               ,.$>>>>>>>>$                                                        ",
+"                                   ,>>>>>>>>&                                       .=. =#.. &'>>>>>'#                            .=='>>>>>>>>,                                                         ",
+"                                   %>>>>>>>>,                                        &$ .=&%. @'>>>>>>*.                         @=>>>>>>>>>'#                                                          ",
+"                                   .>>>>>>>>'.                                        #. .=@$. .=>>>>>>'$.                     .,->>>>>>>>>;.                                                           ",
+"                                    ->>>>>>>>,                                            .;#;.  *>>>>>>>'$&               @%%*->>>>>>>>>'%                                                             ",
+"                                    ;>>>>>>>>%                                             .;%=#  ,>>>>>>>>>'$#.        @%;>>>>>>>>>>>>>;@                                                              ",
+"                                    ,>>>>>>>>%                                               $*>$  &'>>>>>>>>>>>'=****='>>>>>>>>>>>>>>;&                                                                ",
+"                                    &>>>>>>>>;                                                %'>=# .>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>;#                                                                  ",
+"                                     ->>>>>>>>.                                                .;>>;#%,;>>>>>>>>>>>>>>>>>>>>>>>>>'$@                                                                    ",
+"                                     ;>>>>>>>>,                                                  #=>>'# .%*=>>>>>>>>>>>>>>>>>>=$&                                                                       ",
+"                                     %>>>>>>>>'.                                                   ,'>>$    .&,*;=='-''==;*,&.                                                                          ",
+"                                     .>>>>>>>>>$                                                     %'>=#          .                                                                                   ",
+"                                      =>>>>>>>>>$&.                                                    #;-=$&+                                                                                          ",
+"                                      ,>>>>>>>>>>>>*.                                                    .%;'>=*,%&&@@@@@.                                                                              ",
+"                                      .>>>>>>>>>>>>>;                                                        &%$;='''';$#                                                                               ",
+"                                       =>>>>>>>>>>>>>%                                                                                                                                                  ",
+"                                       %>>>>>>>>>>>>>'.                                                                                                                                                 ",
+"                                       .'>>>>>>>>>>>>>,                                                                                                                                                 ",
+"                                        *>>>>>>>>>>>-''.                                                                                                                                                ",
+"                                        &>>>>>>>>>>>>#',                                                                                                                                                ",
+"                                         ;>>>>>>>>>>>,.%                                                                                                                                                ",
+"                                         #>>>>>>>>>>>'                                                                                                                                                  ",
+"                                          =>>>>>>>>>>>%                                                                                                                                                 ",
+"                                          %>>>>>>>>>>>'.                                                                                                                                                ",
+"                                           '>>>>>>>>>>>*                                                                                                                                                ",
+"                                           %>>>>>>>>>>>>#                                                                                                                                               ",
+"                                            =>>>>>>>>>>>'                                                                                                                                               ",
+"                                            %>>>>>>>>>>>%                                                                                                                                               ",
+"                                             =>>>>>>>>>>$                                                                                                                                               ",
+"                                             &>>>>>>>>>>>#                                                                                                                                              ",
+"                                              *>>>>>>>>>>>%                                                                                                                                             ",
+"                                              .'>>>>>>>>>>%.                                                                                                                                            ",
+"                                               %>>>>>>>>>>$                                                                                                                                             ",
+"                                                ;>>>>>>>>>'.                                                                                                                                            ",
+"                                                .->>>>>>>>>;                                                                                                                                            ",
+"                                                 %>>>>>>>>>>%                                                                                                                                           ",
+"                                                  ;>>>>>>>>>'.                                                                                                                                          ",
+"                                                  .'>>>>>>>>>;                                                                                                                                          ",
+"                                                   #>>>>>>>>>>$                                                                                                                                         ",
+"                                                    ,>>>>>>>>>>#                                                                                                                                        ",
+"                                                     ;>>>>>>>>>'..                                                                                                                                      ",
+"                                                     .=>>>>>>>>>;*                                                                                                                                      ",
+"                                                      @'>>>>>>>>>>@                                                                                                                                     ",
+"                                                       #>>>>>>>>>>$                                                                                                                                     ",
+"                                                        %>>>>>>>>>-@                                                                                                                                    ",
+"                                                         ,>>>>>>>>>;                                                                                                                                    ",
+"                                                          $>>>>>>>>>,                                                                                                                                   ",
+"                                                           $>>>>>>>>>#                                                                                                                                  ",
+"                                                            $>>>>>>>>'$*#                                                                                                                               ",
+"                                                             $>>>>>>>>>>'.                                                                                                                              ",
+"                                                              ,>>>>>>>>>>=.                                                                                                                             ",
+"                                                               %>>>>>>>>>>=.                                                                                                                            ",
+"                                                                #'>>>>>>>>>'&                                                                                                                           ",
+"                                                                 @'>>>>>>>>>>$@                                                                                                                         ",
+"                                                                  .;>>>>>>>>>>*                                                                                                                         ",
+"                                                                    $>>>>>>>>'+                                                                                                                         ",
+"                                                                     #'>>>>>>>',.                                                                                                                       ",
+"                                                                      .;>>>>>>>>'#                                                                                                                      ",
+"                                                                        %'>>>>>>>>$. ..                                                                                                                 ",
+"                                                                         .;>>>>>>>>',.*.                                                                                                                ",
+"                                                                           #'>>>>>>>>>''.                                                                                                               ",
+"                                                                             ,'>>>>>>>>>=.                                                                                                              ",
+"                                                                              .$>>>>>>>>>=.                                                                                                             ",
+"                                                                                .$->>>>>>>=@                                                                                                            ",
+"                                                                                  .,'>>>>>>-,                                                                                                           ",
+"                                                                                     #;>>>>>>=#                                                                                                         ",
+"                                                                                       .%;>>>>>')#.                                                                                                     ",
+"                                                                                          .%*'>>>>-=)%#.                                                                                                ",
+"                                                                                              @%,*;=>>>>'*,&                                                                                            ",
+"                                                                                                      +....@.                                                                                           ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                   %%                                                                                   ",
+"                                                                                                                  %>>%                                                                                  ",
+"                                                                                 ~                               %>>>>%                                                                                 ",
+"                                {]]                                            {^/                              %>>>>>>%                                                                                ",
+"                             {(_::<                                         {(_::[                             %>>>>>>>>%                                                                               ",
+"                       {}(]|[:::::1                                    {2(^/:::::/                            %>>>>>>>>>>%                                                                              ",
+"                       1::::::::::1                                  {_::::::::::_                           %>>>>>>>>>>>>%                                                                             ",
+"                        ^:::::::::3                                   {[:::::::::_                           *>>>>>>>>>>>>;                                                                             ",
+"                        3:::::::::{                                    ]:::::::::|                            *>>>>>>>>>>;                                                                              ",
+"                         [::::::::~                                    3:::::::::|                             *>>>>>>>>;                                                                               ",
+"                         _::::::::~                                     [::::::::^                              *>>>>>>;                                                                                ",
+"                         |::::::::                                      /::::::::]                               *>>>>;                                                                                 ",
+"                         ^:::::::[                                      |::::::::]                                *>>;                                                                                  ",
+"                         ^:::::::[                                      ^::::::::]                                 *;                                                                                   ",
+"                         ^:::::::[                                      ]::::::::]                                                                                                                      ",
+"                         ^:::::::_                                      ]::::::::(                                                                                                                      ",
+"                         ^:::::::_                                      4::::::::(                                                                                                                      ",
+"                         ^:::::::_                                      4::::::::(                                                                                                                      ",
+"                         ^:::::::_                                      4::::::::(                                                                                                                      ",
+"               3221223   ^:::::::_                 {21444}{             4::::::::(        {21}2{                       {(}                 322222235                          16        314441{         ",
+"           3]/[:::::::[/^_:::::::|              26/::::::::[6}          1::::::::(     {]/::::::/(                  {4|[:2           ~2]|[::::::::::/|(5                  5}^/:/     3^[:::::::[^3      ",
+"         2_::::::::::::::::::::::|            1/::::::::::::::_2        2::::::::1    ([::::::::::[1         {21]^_[:::::{         1|[:::::::::::::::::[75          {]]^_/:::::/    ^:::::::::::::]     ",
+"       ~|::::::::::::::::::::::::|          {|::::::::::::::::::(       2::::::::}   ^::::::::::::::^        {/::::::::::       {][::::::::::::::::::::::/2          6:::::::::/  {/:::::::::::::::^    ",
+"      {/:::::::::::::::::::::::::|         {/::::::::::::::::::::(      2::::::::}  ]::::::::::::::::^        {:::::::::[      2[:::::::::::::::::::::::::[3         ~[::::::::/  /:::::::::::::::::1   ",
+"     {8::::::::::::::::::::::::::|        {/::::::::::::::::::::::}     2::::::::} 2::::::::::::::::::]        _::::::::_      ~[::::::::::::::::::::::::::/          ^::::::::/ 7::::::::::::::::::/   ",
+"     _:::::::::::[/_/[:::::::::::|        _::::::::_(222][::::::::/     2::::::::} /:::::::::::::::::::{       ]::::::::_       ]:::::::::::::::::::::::::::(         (::::::::/{::::::::::::::::::::1  ",
+"    ]::::::::::^2     {</::::::::|       (:::::::[1      5_::::::::(    2::::::::}(::::::::::::::::::::|       1::::::::_       {::::::::[|(4121]_::::::::::/         2::::::::/|:::[6(1(^[::::::::::^  ",
+"   {:::::::::[2          /:::::::|      {[:::::::}         /:::::::/    2::::::::1/::::_]]7/::::::::::::{      2::::::::|        |::::[]3         }[:::::::::{        {::::::::[[::^{     {_:::::::::/  ",
+"   |::::::::[{           |:::::::|      ]:::::::^          }::::::::2   2::::::::^:::/2     4[::::::::::]      {::::::::|        (::[(~            2:::::::::(        {:::::::::::]        5/::::::::[  ",
+"  {:::::::::}            |:::::::|     5[:::::::{           /:::::::]   2::::::::[::[{       }::::::::::/      ~::::::::|        {:|{               |::::::::]         [:::::::::_          (:::::::::{ ",
+"  (::::::::|             |:::::::^     (:::::::_            ]:::::::_   2:::::::::::}         ]::::::::::{     ~::::::::|         (                 1::::::::|         [:::::::::}          {:::::::::{ ",
+"  _::::::::2             |:::::::7     _:::::::]            1:::::::[   2::::::::::|           [:::::::::1      [:::::::|                           {::::::::|         [::::::::[            [::::::::{ ",
+" {::::::::/              |:::::::7    ~[:::::::2            {::::::::{  2::::::::::2           ]:::::::::<      [:::::::|                            ::::::::|         /::::::::|            [::::::::{ ",
+" 1::::::::]              |:::::::7    1::::::::{             [:::::::2  2:::::::::/            {:::::::::|      [:::::::|                            /:::::::|         _::::::::(            _::::::::{ ",
+" ^::::::::1              |:::::::7    ]:::::::[              [:::::::1  2:::::::::^             /::::::::_      [:::::::|                            /:::::::|         _::::::::2            _::::::::{ ",
+" |::::::::{              |:::::::7    |:::::::/              [:::::::<  2:::::::::4             |::::::::/      [:::::::|                            /:::::::|         _::::::::{            _::::::::{ ",
+" /:::::::[               |:::::::7    /:::::::_              [:::::::]  2:::::::::2             <:::::::::      [:::::::|                            /:::::::|         _::::::::{            _::::::::{ ",
+" [:::::::[               _:::::::7    [:::::::9              [:::::::]  2:::::::::{             1:::::::::      [:::::::|                347||_///||^[:::::::|         _::::::::{            _::::::::{ ",
+"5::::::::_               /:::::::7   5::::::::[||||||||||||||::::::::]  2::::::::[              {:::::::::5     [:::::::|             1|[::::::::::::::::::::|         _:::::::[             9::::::::{ ",
+"2::::::::9               /:::::::7   {:::::::::::::::::::::::::::::::]  2::::::::_              {:::::::::{     [:::::::|           1/:::::::::::::::::::::::|         _:::::::[             9::::::::{ ",
+"2::::::::9               /:::::::7   {:::::::::::::::::::::::::::::::]  2::::::::_              {:::::::::{     /:::::::|         5|:::::::::::::::::::::::::|         _:::::::[             9::::::::{ ",
+"2::::::::9               /:::::::7   {:::::::::::::::::::::::::::::::]  2::::::::|              {:::::::::      /:::::::|        {/::::::::::::::::::::::::::|         _:::::::[             9::::::::{ ",
+"2::::::::9               /:::::::7   {:::::::::::::::::::::::::::::::]  2::::::::|               [::::::::      /:::::::|        /::::::::::/6]111111_:::::::|         9:::::::[             9::::::::{ ",
+"2::::::::9               /:::::::7   {:::::::::::::::::::::::::::::::4  2::::::::]               [:::::::[      /:::::::|       ^:::::::::|2         |:::::::|         _:::::::[             9::::::::{ ",
+"2::::::::/               /:::::::7   {::::::::[2222222222222222222222{  2::::::::]              {::::::::_      8:::::::|      3:::::::::1           |:::::::|         _:::::::[             9::::::::{ ",
+"2::::::::[               /:::::::7   {::::::::/                         2::::::::]              {::::::::9      [:::::::|      |::::::::1            |:::::::|         _:::::::[             9::::::::{ ",
+"2::::::::[               /:::::::7   {::::::::[                         2::::::::]              {::::::::]      [:::::::|     ~[:::::::^             /:::::::|         _:::::::[             9::::::::{ ",
+"~:::::::::{              /:::::::^    [:::::::[                         2::::::::]              {::::::::(      [:::::::|     1::::::::{             /:::::::|         _:::::::[             9::::::::{ ",
+" [::::::::1              [:::::::|    [::::::::{                        2::::::::]              }::::::::2      [:::::::|     ]:::::::/              ::::::::|         _:::::::[             9::::::::{ ",
+" /::::::::(              [:::::::|    _::::::::2                        2::::::::]              (:::::::[       [:::::::|     |:::::::|             ~::::::::|         _:::::::[             9::::::::{ ",
+" |::::::::|              [:::::::|    ^::::::::]                        2::::::::]              ^:::::::_       [:::::::|     /:::::::^             2::::::::|         _:::::::[             9::::::::{ ",
+" ]::::::::[             {::::::::|    (::::::::_                        2::::::::]              /:::::::]       [:::::::|     8:::::::^             (::::::::|         _:::::::[             9::::::::{ ",
+" 1:::::::::2            3::::::::_    3:::::::::{                       2::::::::]             {::::::::2       [:::::::|     8:::::::|             |::::::::|         _:::::::[             9::::::::{ ",
+" {:::::::::^            1::::::::_     [::::::::<                       2::::::::]             1:::::::/        [:::::::|     8:::::::/            5[::::::::|         _:::::::[             9::::::::{ ",
+"  /::::::::[{           ^::::::::/     ^::::::::[5                      2::::::::]             _:::::::]       ~::::::::|     /::::::::~           ]:::::::::|         _:::::::[             _::::::::{ ",
+"  ^:::::::::^           [::::::::[     2:::::::::^                      2::::::::]            {::::::::{       ~::::::::|     _::::::::1          {[:::::::::|         /:::::::[             _::::::::{ ",
+"  2::::::::::1         ]::::::::::      /:::::::::(                     2::::::::]            |:::::::^        ~::::::::|     6::::::::/          _::::::::::|         [:::::::[             _::::::::{ ",
+"   /::::::::::1       1:::::::::::5     1::::::::::(                    1::::::::]           4:::::::[{        ~::::::::_     (:::::::::]       {_:::[:::::::|         [:::::::[             _::::::::{ ",
+"   (:::::::::::|1~ ~2|::::::::::::{      _::::::::::|{             {|2  4::::::::|          2[:::::::]         3::::::::_     {::::::::::|2   {([:::/9:::::::|         [:::::::[             _::::::::3 ",
+"    /:::::::::::::[::::::_::::::::1      3::::::::::::6}~       ~1|::{  4::::::::|         (::::::::_          2::::::::_      /:::::::::::[//::::::4|:::::::/         [:::::::[             [::::::::2 ",
+"    1:::::::::::::::::::/^::::::::(       4::::::::::::::/||||_/::::[   ]::::::::_~     ~1_::::::::[{          2::::::::[      (:::::::::::::::::::0 |:::::::/        5:::::::::{            [::::::::2 ",
+"     ^::::::::::::::::::1^::::::::^        ]::::::::::::::::::::::::_   ^::::::::::/_|_/::::::::::[{           1:::::::::       [::::::::::::::::::2 |:::::::/        {:::::::::{            [::::::::1 ",
+"      _::::::::::::::::| ^::::::::_         ]:::::::::::::::::::::::|   _::::::::::::::::::::::::/{            ]:::::::::{      }:::::::::::::::::(  ^::::::::        {:::::::::{           {:::::::::( ",
+"       _::::::::::::::/{ ]:::::::::          2/:::::::::::::::::::::^   [:::::::::::::::::::::::|5             ^:::::::::1       <:::::::::::::::]   ^::::::::2       2:::::::::2           {:::::::::^ ",
+"        ]::::::::::::_{  ]:::::::::1           ][:::::::::::::::::::^  {[:::::::::::::::::::::/}               /:::::::::^        (::::::::::::[4    ]::::::::7       (:::::::::(           1:::::::::/ ",
+"         {|[:::::::/(    ]:::::::::|             1|[:::::::::::::::/1    2^_:::::::::::::::[|2                2:::[[[[[[:[5        3|::::::::[^{     (::::::::[{      _:::[[::::|           ^::[[[[[:::{",
+"           51]^^7(2      {222~   {22                2(^|_///0|^7(2~          21]^||////|^(2                   {2~       ~25          {1]^^](2        {223   {22{      2{      ~23           {{       {2{"};
+
--- xdm-1.1.10.orig/debian/local/Xreset
+++ xdm-1.1.10/debian/local/Xreset
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# This script is run as root after the user's X session ends.
+
+# Use common Xreset framework if it exist
+if [ -x /etc/X11/Xreset ] ; then
+    /etc/X11/Xreset
+fi
+
+# Remove the utmp entry for the session.
+if grep -qs '^use-sessreg' /etc/X11/xdm/xdm.options \
+  && which sessreg >/dev/null 2>&1; then
+    sessreg -d -l "$DISPLAY" -u /var/run/utmp -x /etc/X11/xdm/Xservers "$USER"
+fi
+
+exit 0
+
+# vim:set ai et sts=4 sw=4 tw=80:
--- xdm-1.1.10.orig/debian/local/Xsetup
+++ xdm-1.1.10/debian/local/Xsetup
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# This script is run as root before showing login widget.
+
+#xsetroot -solid rgb:8/8/8
--- xdm-1.1.10.orig/debian/local/debianbw.xpm
+++ xdm-1.1.10/debian/local/debianbw.xpm
@@ -0,0 +1,275 @@
+/* XPM */
+static char * debianbw_xpm[] = {
+"200 265 7 1",
+" 	c None",
+".	c #B6B6B6",
+"+	c #929292",
+"@	c #6D6D6D",
+"#	c #494949",
+"$	c #242424",
+"%	c #000000",
+"                                                                                                                                                                                                        ",
+"                                                                                                      .......                                                                                           ",
+"                                                                                              ..+.   ..                                                                                                 ",
+"                                                                                       .++.+@@#@.     .++.                                                                                              ",
+"                                                                                     +@#######@+@@+++...+.     ++.                                                                                      ",
+"                                                                                  .+@###############@...++@@@@++##@+.                                                                                   ",
+"                                                                                .+@##################################@+.                                                                                ",
+"                                                                              .@########################################@+.                                                                             ",
+"                                                                            +@#############################################@+                                                                           ",
+"                                                                          +@#################################################@+     .                                                                   ",
+"                                                                        +@#####################################################@++@@#@@+                                                                ",
+"                                                                      .@###############################################################@.                                                               ",
+"                                                                     +##################################################################@ ..                                                            ",
+"                                                                   .@####################################################################@.++                                                           ",
+"                                                                  +########################################################################+@@.                                                         ",
+"                                                               + @############################################################################@+                                                        ",
+"                                                              +#@###############################################################################@.                                                      ",
+"                                                             +##################################@###@@@@@@@@@@@##################################@.                                                     ",
+"                                                            +##############################@@+...+..           ..++@@#############################@.                                                    ",
+"                                                           @#############################@+   ..                     .++@###########################+                                                   ",
+"                                                         .@############################@.                                .+@#########################+                                                  ",
+"                                                        .@###########################@+                                     +@########################+                                                 ",
+"                                                       .@##########################@+.                                        +@#######################+                                                ",
+"                                                      .@########################@+..                                            +#######################+                                               ",
+"                                                     .@#########################@@@+                                             .@######################+                                              ",
+"                                                    .@######################@+++..                                                 @#####################@.                                             ",
+"                                                   .@#####################@+                                                        +#####################@.                                            ",
+"                                                   @####################@+                                                           +@####################@                                            ",
+"                                                  +####################@.                                                             .@####################+                                           ",
+"                                                 .@###################@.                                                               .@####################.                                          ",
+"                                                 +###################@++                                                                .@###################@                                          ",
+"                                                +@###################@@.                                                                 +####################+                                         ",
+"                                               .@#################@+.                                                                     +####################.                                        ",
+"                                               +#################+                                                                         +###################@                                        ",
+"                                              .@###############@.                                                                           @###################.                                       ",
+"                                              +###############+                                                                             .@##################@                                       ",
+"                                              @##############+                                                                               +###################.                                      ",
+"                                     +@      +#############@+                                                                                 +##################@                                      ",
+"                                     +@      @############@.                                                                                  .@##################.                                     ",
+"                                     @+     .############@.                                                                                    +##################+                                     ",
+"                                    ..      @###########@.                                                                                      @#############@###@                                     ",
+"                                          .+###########@.                                                                                       .##########@++.+#@..                                    ",
+"                                         +############@.                                                                                         @#########@   .@#..                                    ",
+"                                         @############+                                                                                          .#########@    +#.                                     ",
+"                                        +############+                                                                                            @#########.   .@.                                     ",
+"                                        @###########+                                                                                             +#########++.  +.                                     ",
+"                                       .###########@                                                      ......                                   @##########+  .+                                     ",
+"                                       @##########@                                                   .+@@######@@+.                               +###########   +                                     ",
+"                                      .##########@.                                                .+@##############@+.                            .###########.  +.                                    ",
+"                                  .   +##########+                                               .+####################+.                           @##########.   +                                    ",
+"                                 ++   @#########@.                                              +@#######@@++......++@##@+                          @##########+   +                                    ",
+"                                 @.  .###########@                                            .@######@@.             .+@#+                         +##########@   +.                                   ",
+"                                 @   +###########+                                           .@#####@+.                  .@@.                       .#########@@    +                                   ",
+"                                 +   @##########@.                                          .@#####+                       +@.                      .#########+@.   .                                   ",
+"                                 .  +###########+                                           @####@.                          +.                      @########@..   .                                   ",
+"                                    @##########@.                                          @####+                             .                      @#########.    .                                   ",
+"                                    ###########+                                          .####+                                                     @#########+     .                                  ",
+"                                   +##########@.                                          @###+                                                      .#########@.                                       ",
+"                                   @##########+                                         .@###+                                                       .##########+                                       ",
+"                                   @#########@                                          @###@                                                        .#########@                                        ",
+"                                  .##########+                                         +###@.                                                        .#########@                                        ",
+"                                  +#########@                                          @###+                                                         .#########@                                        ",
+"                                  @#########+                                         +###@                                                          .#########@                                        ",
+"                                  @#########.                                         @###.                                                          .##########+.                                      ",
+"                                  @#########.                                        .###@                                                           .###########@                                      ",
+"                                  +########@                                         +###+                                                           .###########+                                      ",
+"                                  +########@                                         @##@.                                                           .###########.                                      ",
+"                                  +########@                                        +###@                                          +.                .##########@                                       ",
+"                                  +########@                                        @###+                                         .#.                .##########+                                       ",
+"                                  +########+                                       +####.                                         .#.                .##########.                                       ",
+"                                  +########+                                       +###@                                           @.                +#########@                                        ",
+"                                  +########+                                       +###@                                           .                 +########@@                                        ",
+"                                  +########.                                       @###@                                                             @########++                                        ",
+"                                  @########.                                       @###@                                                             +#######@++                                        ",
+"                                  @########                                        @###@                                                            ..#######+..                                        ",
+"                                  @#######@                                        @###@.                                                           ..#######+.                                         ",
+"                                  @#######@                                        @###@+                                                            +#######+.  .                                      ",
+"                                  @#######@                                        @####@                                                            +#######..  .                                      ",
+"                                  @#######@                                        @####@                                      . .                   @######@.. ..                                      ",
+"                                  @#######+                                        +####@                                     .+ .                  .#######+.  .                                       ",
+"                                  @#######+                                        +#####.                                    + ..                  +#######..  .                                       ",
+"                                  +#######+                                        +#####.                                   ++ +                  .@######@    .                                       ",
+"                                  +#######+                                        .#####+                                   + +.                  +#######.   ..                                       ",
+"                                  @#######+                                         @####@                                   +@@                 .+#######@    .                                        ",
+"                                  @#######+                                         +#####.                                   +.                .#########.    .                                        ",
+"                                  @#######+                                         .#####+                                                     +########@     .                                        ",
+"                                  @#######+                                          @####@.                                                    @########+    .                                         ",
+"                                  @#######+                                          +#####+                                                    @#####@@#.    .                                         ",
+"                                  @#######+                                         ..@####@.                  ++++++@+                         @#####+ @    ..                                         ",
+"                                  +#######@                                         ..+#####+                  .+@###+                         .#####@  .    .                                          ",
+"                                  +#######@                                          +.@#####.                    .+.                         +######+       .                                          ",
+"                                  +########.                                         +.+#####@.                                              +#######.      .                                           ",
+"                                  +########+                                      +   + @#####@                                             +########.                                                  ",
+"                                  .########@                                      @.  ...@#####+                                           +#######@@.                                                  ",
+"                                  .#########+                                     @@   . .@#####+                                        .@#######@ +                                                   ",
+"                                   #########+                                     .@..+   .@#####+                                      .@#######@  .                                                   ",
+"                                   @########+                                      +@ ++   +######+                                  + +@#######@                                                       ",
+"                                   @########+                                       @+ @+   +@#####@.                               +.+########+                                                        ",
+"                                   +########.                                       .@. @+.. .@#####@+                            .@@@########+                                                         ",
+"                                   +########+                                        .+ .@.+. .@######@.                         .@#########@+                                                          ",
+"                                   .########@.                                        +. .@.+. .@######@+.                     .+##########@.                                                           ",
+"                                    #########+                                            .@+@.  @#######@+.               .++@##########@+                                                             ",
+"                                    @########+                                             .@+@+  +#########@++.        .+@#############@.                                                              ",
+"                                    +########+                                               +@#+  .@###########@@@@@@@@##############@.                                                                ",
+"                                    .########@                                                +@#@+ .###############################@+                                                                  ",
+"                                     #########.                                                .@##@+++@#########################@+.                                                                    ",
+"                                     @########+                                                  +@##@+ .+@@##################@+.                                                                       ",
+"                                     +########@.                                                   +@##+    ..+@@@@@#@@@@@@+..                                                                          ",
+"                                     .#########+                                                     +@#@+          .                                                                                   ",
+"                                      @#########+..                                                    +@#@+..                                                                                          ",
+"                                      +############@.                                                    .+@@#@@++........                                                                              ",
+"                                      .#############@                                                        .++@@@@@@@++                                                                               ",
+"                                       @#############+                                                                                                                                                  ",
+"                                       +#############@.                                                                                                                                                 ",
+"                                       .@#############+                                                                                                                                                 ",
+"                                        @############@@.                                                                                                                                                ",
+"                                        .############+@+                                                                                                                                                ",
+"                                         @###########+.+                                                                                                                                                ",
+"                                         +###########@                                                                                                                                                  ",
+"                                          @###########+                                                                                                                                                 ",
+"                                          +###########@.                                                                                                                                                ",
+"                                           @###########@                                                                                                                                                ",
+"                                           +############+                                                                                                                                               ",
+"                                            @###########@                                                                                                                                               ",
+"                                            +###########+                                                                                                                                               ",
+"                                             @##########+                                                                                                                                               ",
+"                                             .###########+                                                                                                                                              ",
+"                                              @###########+                                                                                                                                             ",
+"                                              .@##########+.                                                                                                                                            ",
+"                                               +##########+                                                                                                                                             ",
+"                                                @#########@.                                                                                                                                            ",
+"                                                .##########@                                                                                                                                            ",
+"                                                 +##########+                                                                                                                                           ",
+"                                                  @#########@.                                                                                                                                          ",
+"                                                  .@#########@                                                                                                                                          ",
+"                                                   +##########+                                                                                                                                         ",
+"                                                    +##########+                                                                                                                                        ",
+"                                                     @#########@..                                                                                                                                      ",
+"                                                     .@#########@@                                                                                                                                      ",
+"                                                      .@##########.                                                                                                                                     ",
+"                                                       +##########+                                                                                                                                     ",
+"                                                        +##########.                                                                                                                                    ",
+"                                                         +#########@                                                                                                                                    ",
+"                                                          +#########+                                                                                                                                   ",
+"                                                           +#########+                                                                                                                                  ",
+"                                                            +########@+@+                                                                                                                               ",
+"                                                             +##########@.                                                                                                                              ",
+"                                                              +##########@.                                                                                                                             ",
+"                                                               +##########@.                                                                                                                            ",
+"                                                                +@#########@.                                                                                                                           ",
+"                                                                 .@##########+.                                                                                                                         ",
+"                                                                  .@##########@                                                                                                                         ",
+"                                                                    +########@.                                                                                                                         ",
+"                                                                     +@#######@+.                                                                                                                       ",
+"                                                                      .@########@+                                                                                                                      ",
+"                                                                        +@########+. ..                                                                                                                 ",
+"                                                                         .@########@+.@.                                                                                                                ",
+"                                                                           +@#########@@.                                                                                                               ",
+"                                                                             +@#########@.                                                                                                              ",
+"                                                                              .+#########@.                                                                                                             ",
+"                                                                                .+########@.                                                                                                            ",
+"                                                                                  .+@#######+                                                                                                           ",
+"                                                                                     +@######@+                                                                                                         ",
+"                                                                                       .+@#####@@+.                                                                                                     ",
+"                                                                                          .+@@#####@@++.                                                                                                ",
+"                                                                                              .++@@@####@@+.                                                                                            ",
+"                                                                                                      .......                                                                                           ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                                                                                                        ",
+"                                                                                                                   ++                                                                                   ",
+"                                                                                                                  +##+                                                                                  ",
+"                                                                                 .                               +####+                                                                                 ",
+"                                .@@                                            .#$                              +######+                                                                                ",
+"                             .@$%%@                                         .@$%%%                             +########+                                                                               ",
+"                       .+@@#%%%%%%+                                    .+@#$%%%%%$                            +##########+                                                                              ",
+"                       +%%%%%%%%%%+                                  .$%%%%%%%%%%$                           +############+                                                                             ",
+"                        #%%%%%%%%%+                                   .%%%%%%%%%%$                           @############@                                                                             ",
+"                        +%%%%%%%%%.                                    @%%%%%%%%%#                            @##########@                                                                              ",
+"                         %%%%%%%%%.                                    +%%%%%%%%%#                             @########@                                                                               ",
+"                         $%%%%%%%%.                                     %%%%%%%%%#                              @######@                                                                                ",
+"                         #%%%%%%%%                                      $%%%%%%%%@                               @####@                                                                                 ",
+"                         #%%%%%%%%                                      #%%%%%%%%@                                @##@                                                                                  ",
+"                         #%%%%%%%%                                      #%%%%%%%%@                                 @@                                                                                   ",
+"                         #%%%%%%%%                                      @%%%%%%%%@                                                                                                                      ",
+"                         #%%%%%%%$                                      @%%%%%%%%@                                                                                                                      ",
+"                         #%%%%%%%$                                      @%%%%%%%%@                                                                                                                      ",
+"                         #%%%%%%%$                                      @%%%%%%%%@                                                                                                                      ",
+"                         #%%%%%%%$                                      @%%%%%%%%@                                                                                                                      ",
+"               +++++++   #%%%%%%%$                 .++@@@+.             @%%%%%%%%@        .++++.                       .@+                 ++++++++.                          +#        ++@@@+.         ",
+"           +@$%%%%%%%%%$#$%%%%%%%#              +#$%%%%%%%%%#+          +%%%%%%%%@     .@$%%%%%%$@                  .@#%%+           .+@#%%%%%%%%%%%$#@.                  .+#$%$     +#%%%%%%%%%#+      ",
+"         +$%%%%%%%%%%%%%%%%%%%%%%#            +$%%%%%%%%%%%%%%$+        +%%%%%%%%+    @%%%%%%%%%%%%+         .++@#$%%%%%%.         +#%%%%%%%%%%%%%%%%%%%@.          .@@#$$%%%%%$    #%%%%%%%%%%%%%@     ",
+"       .#%%%%%%%%%%%%%%%%%%%%%%%%#          .#%%%%%%%%%%%%%%%%%%@       +%%%%%%%%+   #%%%%%%%%%%%%%%#        .$%%%%%%%%%%       .@%%%%%%%%%%%%%%%%%%%%%%%$+          #%%%%%%%%%$  .$%%%%%%%%%%%%%%%#    ",
+"      .$%%%%%%%%%%%%%%%%%%%%%%%%%#         .$%%%%%%%%%%%%%%%%%%%%@      +%%%%%%%%+  @%%%%%%%%%%%%%%%%#        .%%%%%%%%%%      +%%%%%%%%%%%%%%%%%%%%%%%%%%%+         .%%%%%%%%%$  $%%%%%%%%%%%%%%%%%+   ",
+"     .$%%%%%%%%%%%%%%%%%%%%%%%%%%#        .$%%%%%%%%%%%%%%%%%%%%%%+     +%%%%%%%%+ +%%%%%%%%%%%%%%%%%%@        $%%%%%%%%$      .%%%%%%%%%%%%%%%%%%%%%%%%%%%$          #%%%%%%%%$ @%%%%%%%%%%%%%%%%%%$   ",
+"     $%%%%%%%%%%%%$$$%%%%%%%%%%%%#        $%%%%%%%%$@+++@%%%%%%%%%$     +%%%%%%%%+ $%%%%%%%%%%%%%%%%%%%.       @%%%%%%%%$       @%%%%%%%%%%%%%%%%%%%%%%%%%%%@         @%%%%%%%%$.%%%%%%%%%%%%%%%%%%%%+  ",
+"    @%%%%%%%%%%#+     .@$%%%%%%%%#       @%%%%%%%%+      .$%%%%%%%%@    +%%%%%%%%+@%%%%%%%%%%%%%%%%%%%%#       +%%%%%%%%$       .%%%%%%%%%#@@+++@$%%%%%%%%%%$         +%%%%%%%%$#%%%%#@+@#%%%%%%%%%%%#  ",
+"   .%%%%%%%%%%+          $%%%%%%%#      .%%%%%%%%+         $%%%%%%%$    +%%%%%%%%+$%%%%$@@@$%%%%%%%%%%%%.      +%%%%%%%%#        #%%%%%@+         +%%%%%%%%%%.        .%%%%%%%%%%%%#.     .$%%%%%%%%%$  ",
+"   #%%%%%%%%%.           #%%%%%%%#      @%%%%%%%#          +%%%%%%%%+   +%%%%%%%%#%%%$+     @%%%%%%%%%%%@      .%%%%%%%%#        @%%%@.            +%%%%%%%%%@        .%%%%%%%%%%%@        .$%%%%%%%%%  ",
+"  .%%%%%%%%%+            #%%%%%%%#     .%%%%%%%%.           $%%%%%%%@   +%%%%%%%%%%%%.       +%%%%%%%%%%$      .%%%%%%%%#        .%#.               #%%%%%%%%@         %%%%%%%%%%$          @%%%%%%%%%. ",
+"  @%%%%%%%%#             #%%%%%%%#     @%%%%%%%$            @%%%%%%%$   +%%%%%%%%%%%+         @%%%%%%%%%%.     .%%%%%%%%#         @                 +%%%%%%%%#         %%%%%%%%%%+          .%%%%%%%%%. ",
+"  $%%%%%%%%+             #%%%%%%%@     $%%%%%%%@            +%%%%%%%%   +%%%%%%%%%%#           %%%%%%%%%%+      %%%%%%%%#                           .%%%%%%%%#         %%%%%%%%%%            %%%%%%%%%. ",
+" .%%%%%%%%$              #%%%%%%%@    .%%%%%%%%+            .%%%%%%%%.  +%%%%%%%%%%+           @%%%%%%%%%@      %%%%%%%%#                            %%%%%%%%#         $%%%%%%%%#            %%%%%%%%%. ",
+" +%%%%%%%%@              #%%%%%%%@    +%%%%%%%%.             %%%%%%%%+  +%%%%%%%%%$            .%%%%%%%%%#      %%%%%%%%#                            $%%%%%%%#         $%%%%%%%%@            $%%%%%%%%. ",
+" #%%%%%%%%+              #%%%%%%%@    @%%%%%%%%              %%%%%%%%+  +%%%%%%%%%#             $%%%%%%%%$      %%%%%%%%#                            $%%%%%%%#         $%%%%%%%%+            $%%%%%%%%. ",
+" #%%%%%%%%.              #%%%%%%%@    #%%%%%%%$              %%%%%%%%@  +%%%%%%%%%@             #%%%%%%%%$      %%%%%%%%#                            $%%%%%%%#         $%%%%%%%%.            $%%%%%%%%. ",
+" $%%%%%%%%               #%%%%%%%@    $%%%%%%%$              %%%%%%%%@  +%%%%%%%%%+             @%%%%%%%%%      %%%%%%%%#                            $%%%%%%%#         $%%%%%%%%.            $%%%%%%%%. ",
+" %%%%%%%%%               $%%%%%%%@    %%%%%%%%#              %%%%%%%%@  +%%%%%%%%%.             +%%%%%%%%%      %%%%%%%%#                +@@##$$$$###%%%%%%%%#         $%%%%%%%%.            $%%%%%%%%. ",
+".%%%%%%%%$               $%%%%%%%@   .%%%%%%%%%##############%%%%%%%%@  +%%%%%%%%%              .%%%%%%%%%.     %%%%%%%%#             +#%%%%%%%%%%%%%%%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+"+%%%%%%%%#               $%%%%%%%@   .%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@  +%%%%%%%%$              .%%%%%%%%%.     %%%%%%%%#           +$%%%%%%%%%%%%%%%%%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+"+%%%%%%%%#               $%%%%%%%@   .%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@  +%%%%%%%%$              .%%%%%%%%%.     $%%%%%%%#         .#%%%%%%%%%%%%%%%%%%%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+"+%%%%%%%%#               $%%%%%%%@   .%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@  +%%%%%%%%#              .%%%%%%%%%      $%%%%%%%#        .$%%%%%%%%%%%%%%%%%%%%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+"+%%%%%%%%#               $%%%%%%%@   .%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@  +%%%%%%%%#               %%%%%%%%%      $%%%%%%%#        $%%%%%%%%%%$#@++++++$%%%%%%%#         #%%%%%%%%             #%%%%%%%%. ",
+"+%%%%%%%%#               $%%%%%%%@   .%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@  +%%%%%%%%@               %%%%%%%%%      $%%%%%%%#       #%%%%%%%%%#+         #%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+"+%%%%%%%%$               $%%%%%%%@   .%%%%%%%%%++++++++++++++++++++++.  +%%%%%%%%@              .%%%%%%%%$      $%%%%%%%#      +%%%%%%%%%+           #%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+"+%%%%%%%%%               $%%%%%%%@   .%%%%%%%%$                         +%%%%%%%%@              .%%%%%%%%#      %%%%%%%%#      #%%%%%%%%+            #%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+"+%%%%%%%%%               $%%%%%%%@   .%%%%%%%%%                         +%%%%%%%%@              .%%%%%%%%@      %%%%%%%%#     .%%%%%%%%#             $%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+".%%%%%%%%%.              $%%%%%%%#    %%%%%%%%%                         +%%%%%%%%@              .%%%%%%%%@      %%%%%%%%#     +%%%%%%%%.             $%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+" %%%%%%%%%+              %%%%%%%%#    %%%%%%%%%.                        +%%%%%%%%@              +%%%%%%%%+      %%%%%%%%#     @%%%%%%%$              %%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+" $%%%%%%%%@              %%%%%%%%#    $%%%%%%%%+                        +%%%%%%%%@              @%%%%%%%%       %%%%%%%%#     #%%%%%%%#             .%%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+" #%%%%%%%%#              %%%%%%%%#    #%%%%%%%%@                        +%%%%%%%%@              #%%%%%%%$       %%%%%%%%#     $%%%%%%%#             +%%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+" @%%%%%%%%%             .%%%%%%%%#    @%%%%%%%%$                        +%%%%%%%%@              $%%%%%%%@       %%%%%%%%#     $%%%%%%%#             @%%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+" +%%%%%%%%%+            +%%%%%%%%$    +%%%%%%%%%.                       +%%%%%%%%@             .%%%%%%%%+       %%%%%%%%#     $%%%%%%%#             #%%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+" .%%%%%%%%%#            +%%%%%%%%$     %%%%%%%%%@                       +%%%%%%%%@             +%%%%%%%$        %%%%%%%%#     $%%%%%%%$            .%%%%%%%%%#         $%%%%%%%%             #%%%%%%%%. ",
+"  $%%%%%%%%%.           #%%%%%%%%$     #%%%%%%%%%.                      +%%%%%%%%@             $%%%%%%%@       .%%%%%%%%#     $%%%%%%%%.           @%%%%%%%%%#         $%%%%%%%%             $%%%%%%%%. ",
+"  #%%%%%%%%%#           %%%%%%%%%%     +%%%%%%%%%#                      +%%%%%%%%@            .%%%%%%%%.       .%%%%%%%%#     $%%%%%%%%+          .%%%%%%%%%%#         $%%%%%%%%             $%%%%%%%%. ",
+"  +%%%%%%%%%%+         @%%%%%%%%%%      $%%%%%%%%%@                     +%%%%%%%%@            #%%%%%%%#        .%%%%%%%%#     #%%%%%%%%$          $%%%%%%%%%%#         %%%%%%%%%             $%%%%%%%%. ",
+"   $%%%%%%%%%%+       +%%%%%%%%%%%.     +%%%%%%%%%%@                    +%%%%%%%%@           @%%%%%%%%.        .%%%%%%%%$     @%%%%%%%%%@       .$%%%%%%%%%%%#         %%%%%%%%%             $%%%%%%%%. ",
+"   @%%%%%%%%%%%#+. .+#%%%%%%%%%%%%.      $%%%%%%%%%%#.             .#+  @%%%%%%%%#          +%%%%%%%%@         +%%%%%%%%$     .%%%%%%%%%%#+   .@%%%%$#%%%%%%%#         %%%%%%%%%             $%%%%%%%%+ ",
+"    $%%%%%%%%%%%%%%%%%%%%$%%%%%%%%+      +%%%%%%%%%%%%#+.       .+#%%.  @%%%%%%%%#         @%%%%%%%%$          +%%%%%%%%$      $%%%%%%%%%%%%$$%%%%%%@#%%%%%%%$         %%%%%%%%%             %%%%%%%%%+ ",
+"    +%%%%%%%%%%%%%%%%%%%$#%%%%%%%%@       @%%%%%%%%%%%%%%$####$$%%%%%   @%%%%%%%%$.     .+$%%%%%%%%%.          +%%%%%%%%%      @%%%%%%%%%%%%%%%%%%%$ #%%%%%%%$        .%%%%%%%%%.            %%%%%%%%%+ ",
+"     #%%%%%%%%%%%%%%%%%%+#%%%%%%%%#        @%%%%%%%%%%%%%%%%%%%%%%%%$   #%%%%%%%%%%$$#$$%%%%%%%%%%%.           +%%%%%%%%%       %%%%%%%%%%%%%%%%%%%+ #%%%%%%%$        .%%%%%%%%%.            %%%%%%%%%+ ",
+"      $%%%%%%%%%%%%%%%%# #%%%%%%%%$         @%%%%%%%%%%%%%%%%%%%%%%%#   $%%%%%%%%%%%%%%%%%%%%%%%%$.            @%%%%%%%%%.      +%%%%%%%%%%%%%%%%%@  #%%%%%%%%        .%%%%%%%%%.           .%%%%%%%%%@ ",
+"       $%%%%%%%%%%%%%%$. @%%%%%%%%%          +$%%%%%%%%%%%%%%%%%%%%%#   %%%%%%%%%%%%%%%%%%%%%%%%#.             #%%%%%%%%%+       @%%%%%%%%%%%%%%%@   #%%%%%%%%+       +%%%%%%%%%+           .%%%%%%%%%# ",
+"        @%%%%%%%%%%%%$.  @%%%%%%%%%+           @%%%%%%%%%%%%%%%%%%%%#  .%%%%%%%%%%%%%%%%%%%%%%$+               $%%%%%%%%%#        @%%%%%%%%%%%%%@    @%%%%%%%%@       @%%%%%%%%%@           +%%%%%%%%%$ ",
+"         .#%%%%%%%%$@    @%%%%%%%%%#             +#%%%%%%%%%%%%%%%%$+    +#$%%%%%%%%%%%%%%%%#+                +%%%%%%%%%%%.        +#%%%%%%%%%#.     @%%%%%%%%%.      $%%%%%%%%%#           #%%%%%%%%%%.",
+"           .+@##@@+      .+++.   .++                +@##$$$$$##@@+.          ++@###$$$$##@+                   .+.       .+.          .+@##@@+        .+++   .++.      +.      .++           ..       .+."};
--- xdm-1.1.10.orig/debian/local/xdm.options.5
+++ xdm-1.1.10/debian/local/xdm.options.5
@@ -0,0 +1,169 @@
+.\" Copyright 1998, 2002-2004 Branden Robinson <branden@debian.org>.
+.\"
+.\" This is free software; you may redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as
+.\" published by the Free Software Foundation; version 2.
+.\"
+.\" This is distributed in the hope that it will be useful, but
+.\" WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License with
+.\" the Debian operating system, in /usr/share/common-licenses/GPL;  if
+.\" not, write to the Free Software Foundation, Inc., 59 Temple Place,
+.\" Suite 330, Boston, MA 02111-1307 USA
+.TH xdm.options 5 "2004\-10\-31" "Debian Project"
+.SH NAME
+xdm.options \- configuration options for the X display manager
+.SH DESCRIPTION
+.I /etc/X11/xdm/xdm.options
+contains a set of flags that determine some of the behavior of the
+X display manager
+.BR xdm (1x).
+Most of
+.BR xdm 's
+behavior is customized through other files; consult the
+.B xdm
+manual page if this manual page does not describe the behavior you want to
+alter.
+.PP
+.I /etc/X11/xdm/xdm.options
+may contain comments, which begin with a hash mark (\(oq#\(cq) and end at
+the next newline, just like comments in shell scripts.
+The rest of the file consists of options which are expressed as words
+separated by hyphens, with only one option per line.
+Options are enabled by simply placing them in the file; they are disabled
+by prefixing the option name with \(oqno\-\(cq.
+.PP
+Available options are:
+.TP
+.B ignore\-nologin
+Normally, if the
+.BR nologin (5)
+file exists, its contents will be displayed using
+.BR xmessage (1x)
+(if xmessage is available), and the user will be returned to the
+.B xdm
+login screen after xmessage is dismissed instead of starting the X session.
+If this option is enabled,
+.B xdm
+starts a session as usual (after
+.B xmessage
+is dismissed, if
+.B xmessage
+is available and the
+.I nologin
+file exists).
+This behavior is disabled by default:
+.I nologin
+is heeded, not ignored.
+.TP
+.B restart\-on\-upgrade
+.B Enable this option with caution on \(oqproduction\(cq machines;
+it causes the daemon to be stopped and restarted on upgrade, even if the
+process has children (which means it is managing X sessions).
+Typically when a
+package that contains a daemon is being installed or upgraded, its
+maintainer scripts stop a running daemon process before installing the new
+binary, and restart it after the new binary is installed.
+Stopping
+.B xdm
+causes immediate termination of any sessions it manages; in some situations
+this could be an unwelcome surprise (for instance, for remote
+.B xdm
+users who had no idea the administrator was performing system maintenance).
+On the other hand, for machines that stay up for long periods of time,
+leaving the old daemon running can be a bad idea if the new version has,
+for instance, a fix for a security vulnerability (overwriting
+.BR xdm 's
+executable on the file system has no effect on the copy of
+.B xdm
+in memory).
+The
+.B xdm
+package's pre\-removal script checks to see if the
+.B xdm
+process has any
+children; if it does, it is possible that someone's session would be killed
+by stopping
+.BR xdm ,
+so a warning is issued and an opportunity to abort the upgrade of
+.B xdm
+is provided.
+Furthermore, restarting
+.B xdm
+on upgrade can be surprising, because a locally\-managed X server can
+change the active VT even while other packages are continuing to upgrade.
+If, by intent or accident, the X server does not honor the key sequence to
+switch VTs back to a virtual console, this can be undesirable.
+This behavior is disabled by default:
+.B xdm
+will be not be stopped or started during an upgrade of its package; the
+administrator will have to do so by hand (with
+.B invoke\-rc.d xdm restart
+or by rebooting the system) before the newly installed
+.B xdm
+binary is used.
+.TP
+.B start\-on\-install
+.B Enable this option with caution;
+it causes the
+.B xdm
+daemon to be started immediately after the package is installed.
+See the above entry regarding
+.B restart\-on\-upgrade
+for other caveats regarding the consequences of starting the
+.B xdm
+daemon during package management.
+This behavior is disabled by default:
+.B xdm
+will not be started when it is installed.
+Changing this setting can affect future installs if the package is removed,
+but not purged (which removes \(oqconffiles\(cq, including
+.IR xdm.options ).
+.TP
+.B use\-sessreg
+This option causes the
+.I /etc/X11/xdm/Xreset
+script to call the
+.BR sessreg (1x)
+program to register X sessions managed by
+.B xdm
+in the
+.BR utmp (5)
+and
+.BR wtmp (5)
+files.
+If it is disabled, the
+.I utmp
+and
+.I  wtmp
+files will have no record of
+.B xdm
+sessions.
+This behavior is enabled by default; sessreg will be used.
+.PP
+Users of older versions of the Debian system should note that the
+\(oqrun\-xconsole\(cq option has been removed.
+The shell script named
+.I /etc/X11/xdm/Xreset
+can be edited to disable or modify the running of xconsole on the
+.B xdm
+greeter screen; see
+.BR xdm (1x)
+for more information.
+.SH AUTHORS
+Stephen Early, Mark Eichin, and Branden Robinson customized
+.BR xdm 's
+startup and reset scripts and package maintainer scripts to implement the
+functionality described above.
+This manual page was written by Branden Robinson.
+.SH SEE ALSO
+.BR sessreg (1x),
+.BR xmessage (1x),
+.BR xdm (1x),
+.BR nologin (5),
+.BR utmp (5),
+.BR wtmp (5)
+.\" vim:set et tw=80:
--- xdm-1.1.10.orig/debian/local/Xstartup
+++ xdm-1.1.10/debian/local/Xstartup
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# This script is run as root after the user logs in.  If this script exits with
+# a return code other than 0, the user's session will not be started.
+
+if [ -e /etc/nologin ]; then
+  # always display the nologin message, if possible
+  if [ -s /etc/nologin ] && which xmessage > /dev/null 2>&1; then
+    xmessage -file /etc/nologin -geometry 640x480
+  fi
+  if [ "$(id -u $USER)" != "0" ] && \
+     ! grep -qs '^ignore-nologin' /etc/X11/xdm/xdm.options; then
+    exit 1
+  fi
+fi
+
+# Insert a utmp entry for the session.
+if grep -qs '^use-sessreg' /etc/X11/xdm/xdm.options \
+  && which sessreg >/dev/null 2>&1; then
+    exec sessreg -a -l "$DISPLAY" -u /var/run/utmp \
+                 -x /etc/X11/xdm/Xservers "$USER"
+  # NOTREACHED
+fi
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=0: