--- ldm-2.0.42.orig/debian/ldm-server.postinst +++ ldm-2.0.42/debian/ldm-server.postinst @@ -0,0 +1,37 @@ +#! /bin/sh + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# + +# Enable debconf +. /usr/share/debconf/confmodule + +case "$1" in + configure) + # enable the ldm info daemon in inetd.conf + update-inetd --group LTSP --add "9571 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/ldminfod" + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- ldm-2.0.42.orig/debian/watch +++ ldm-2.0.42/debian/watch @@ -0,0 +1,13 @@ +# ldm does not currenly release tarballs, but the current version can be found +# by looking for the VERSION string in the following URL: +# http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-trunk/annotate/head:/configure.ac + +version=3 + +# check versions uploaded to other distros: + +# ubuntu (ignore 5.x versions, which were bzr prereleases) +http://archive.ubuntu.com/ubuntu/pool/main/l/ldm/ldm_([2-4].*)\.orig\.tar\.gz + +# fedora +http://kojipkgs.fedoraproject.org/packages/ldm/ ([2-9].*)/ --- ldm-2.0.42.orig/debian/compat +++ ldm-2.0.42/debian/compat @@ -0,0 +1 @@ +7 --- ldm-2.0.42.orig/debian/README.source +++ ldm-2.0.42/debian/README.source @@ -0,0 +1,26 @@ +This package uses dpatch to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To get the fully patched source after unpacking the source package, cd +to the root level of the source package and run: + + debian/rules patch + +Removing a patch is as simple as removing its entry from the +debian/patches/00list file, and please also remove the patch file +itself. + +Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" +where you should replace XX with a new number and patchname with a +descriptive shortname of the patch. You can then simply edit all the +files your patch wants to edit, and then simply "exit 0" from the shell +to actually create the patch file. + +To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" +and replace XX_patchname with the actual filename from debian/patches +you want to use. + +To clean up afterwards again, "debian/rules unpatch" will do the +work for you - or you can of course choose to call +"fakeroot debian/rules clean" all together. --- ldm-2.0.42.orig/debian/ldm-server.install +++ ldm-2.0.42/debian/ldm-server.install @@ -0,0 +1 @@ +ldminfod/ldminfod /usr/sbin/ --- ldm-2.0.42.orig/debian/ldm.manpages +++ ldm-2.0.42/debian/ldm.manpages @@ -0,0 +1,2 @@ +man/ldm.1 +misc/ldm-dialog.1 --- ldm-2.0.42.orig/debian/rules +++ ldm-2.0.42/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +export ENABLE_NLS=1 + +include /usr/share/dpatch/dpatch.make + +build: $(DPATCH_STAMPFN) build-stamp +build-stamp: + dh --before dh_auto_configure build + # dh_auto_configure tries to do /usr/lib/ldm/, which is weird, + # cause we already add /ldm/ to the end + dh_auto_configure -- --libexecdir=/usr/lib + dh --after dh_auto_configure build + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh clean + +install: build + dh $@ + +binary-arch: build install + dh --until dh_fixperms binary-arch + # ensure ldm-script is executable to avoid lintian warning + chmod +x debian/ldm/usr/share/ldm/ldm-script + dh --after dh_fixperms binary-arch + +binary-indep: build install + dh $@ + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- ldm-2.0.42.orig/debian/ldm.prerm +++ ldm-2.0.42/debian/ldm.prerm @@ -0,0 +1,11 @@ +#! /bin/sh +set -e + +#DEBHELPER# + +case "$1" in + remove|deconfigure|failed-upgrade) + update-alternatives --remove ldm-theme \ + /usr/share/ldm/themes/ltsp + ;; +esac --- ldm-2.0.42.orig/debian/ldm-server.manpages +++ ldm-2.0.42/debian/ldm-server.manpages @@ -0,0 +1 @@ +ldminfod/doc/ldminfod.8 --- ldm-2.0.42.orig/debian/control +++ ldm-2.0.42/debian/control @@ -0,0 +1,40 @@ +Source: ldm +Section: misc +Priority: extra +Maintainer: LTSP Debian/Ubuntu Maintainers +Uploaders: Carlos Laviola , Oliver Grawert , Petter Reinholdtsen , Vagrant Cascadian , Otavio Salvador , Ryan Niebur +Build-Depends: debhelper (>= 7), flex, bison, libpopt-dev, libgtk2.0-dev, dpatch, intltool, iso-codes, locales, python +Standards-Version: 3.8.2 +Vcs-Bzr: http://bzr.debian.org/bzr/pkg-ltsp/ldm/ldm-debian-packaging/ +Vcs-Browser: http://bazaar.launchpad.net/~vagrantc/ltsp/ldm-debian-packaging/files +Homepage: http://ltsp.org/ +XS-DM-Upload-Allowed: yes + +Package: ldm +Depends: ${misc:Depends}, ${shlibs:Depends}, openssh-client | ssh, xserver-xorg | xserver, gettext-base +Architecture: any +Conflicts: ltsp-client-core (<= 5.0.40~bzr20080121-2) +Recommends: netcat-traditional | netcat, gtk2-engines-ubuntulooks, dmz-cursor-theme +Description: LTSP display manager + ldm is an X11 display manager similar to xdm, gdm and kdm, but unlike + those it wraps the X11 traffic within an SSH tunnel to provide a + secure login mechanism for remote X sessions. + . + LTSP stands for 'Linux Terminal Server Project'. + +Package: ldm-server +Depends: ${misc:Depends}, ${shlibs:Depends}, python, x11-common, openssh-server, update-inetd, openbsd-inetd | inet-superserver +Recommends: ltspfs, gnome-session | x-session-manager | x-window-manager, libasound2-plugins, xauth +Conflicts: ltsp-server (<= 5.1.62) +Architecture: all +Description: LTSP display manager + ldm is an X11 display manager similar to xdm, gdm and kdm, but unlike + those it wraps the X11 traffic within an SSH tunnel to provide a + secure login mechanism for remote X sessions. + . + This package includes the server components used by ldm to discover + available sessions and locales on the server. It also recommends + packages relevent for local device access, a login session, and remote + sound. + . + LTSP stands for 'Linux Terminal Server Project'. --- ldm-2.0.42.orig/debian/ldm.links +++ ldm-2.0.42/debian/ldm.links @@ -0,0 +1 @@ +/usr/share/ltsp/screen.d/ldm /usr/lib/ltsp/screen.d/ldm --- ldm-2.0.42.orig/debian/ldm.examples +++ ldm-2.0.42/debian/ldm.examples @@ -0,0 +1 @@ +debian/doc/ldm-init --- ldm-2.0.42.orig/debian/copyright +++ ldm-2.0.42/debian/copyright @@ -0,0 +1,123 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: LTSP upstream team +Upstream-Name: ldm +Upstream-Source: http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-trunk/ + +Files: debian/* +Copyright: 2007-2009 Vagrant Cascadian + 2009 Ryan Niebur +License: GPL-2+ + +Files: misc/ldm-dialog.c +Copyright: 2009 Ryan Niebur +License: GPL-2+ + +Files: gtkgreet/greeter.c +Copyright: 2007-2008 Oliver Grawert + 2007-2008 Scott Balneaves + 2008 Warren Togami + 2008 Stéphane Graber + 2008 Scott Balneaves + 2008 Vagrant Cascadian + 2008 John Ellson + 2008 Gideon Romm + 2008 Jigish Gohil + 2008 Wolfgang Schweer + 2008 Toshio Kuratomi +License: GPL-2 + +Files: gtkgreet/langwin.c +Copyright: 2007 Oliver Grawert + 2007 Scott Balneaves + 2008 Vagrant Cascadian + 2008 Jigish Gohil + 2008 Wolfgang Schweer + 2009 Ryan Niebur +License: GPL-2 + +Files: gtkgreet/sesswin.c +Copyright: 2007 Oliver Grawert + 2007 Scott Balneaves + 2008 Ryan Niebur +License GPL-2 + +Files: gtkgreet/hostwin.c +Copyright: 2007 Oliver Grawert + 2008 Toshio Kuratomi +License: GPL-2 + +Files: src/ldm.c +Copyright: 2007-2008 Scott Balneaves + 2005-2007 Oliver Grawert + 2007-2008 Gideon Romm + 2008 Vagrant Cascadian + 2008 Warren Togami + 2008 Ryan Niebur +License: GPL-2+ + +Files: src/sshutils.c +Copyright: 2007-2008 Scott Balneaves + 2008 Ryan Niebur + 2008 Warren Togami + 2008 Vagrant Cascadian + 2008 Toshio Kuratomi +License: GPL-2+ + +Files: src/get_ip.c +Copyright: 2007 Oliver Grawert + 2008 Scott Balneaves + 2008 Warren Togami + 2008 Toshio Kuratomi + 2008-2009 Ryan Niebur +License: GPL-2 + +Files: src/greeter_iface.c +Copyright: 2007 Oliver Grawert + 2007-2008 Scott Balneaves + 2007-2008 Vagrant Cascadian + 2008 Ryan Niebur + 2008 John Ellson + 2008 Gideon Romm + 2008 Warren Togami + 2008 Francis Giraldeau + 2008 Toshio Kuratomi +License: GPL-2+ + +Files: src/ldminfo.c +Copyright: 2007 Francis Giraldeau, + 2007-2008 Scott Balneaves + 2008-2009 Ryan Niebur +License: GPL-2+ + +Files: src/ldm-getenv-bool.c +Copyright: 2007-2008 Scott Balneaves + 2008 Ryan Niebur + 2008 Vagrant Cascadian +License: GPL-2+ + +Files: generate_locale_list.py +Copyright: 2009 Ryan Niebur + 2009 Vagrant Cascadian + 2009 Stéphane Graber +License: GPL-2+ + +Files: man/ldm.1 +Copyright: 2007 Canonical Ltd +License: GPL-2+ + +License: GPL-2 + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; version 2. + + On Debian and Ubuntu systems, a copy of the GNU General Public License version + 2 may be found in the file /usr/share/common-licenses/GPL-2. + +License: GPL-2+ + This program is free software; you can 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 of + the License, or (at your option) any later version. + + On Debian and Ubuntu systems, a copy of the GNU General Public License version + 2 may be found in the file /usr/share/common-licenses/GPL-2. --- ldm-2.0.42.orig/debian/ldm.postinst +++ ldm-2.0.42/debian/ldm.postinst @@ -0,0 +1,36 @@ +#! /bin/sh + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# + +case "$1" in + configure) + update-alternatives \ + --install /usr/share/ldm/themes/default \ + ldm-theme /usr/share/ldm/themes/ltsp 50 + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- ldm-2.0.42.orig/debian/ldm.install +++ ldm-2.0.42/debian/ldm.install @@ -0,0 +1 @@ +debian/tmp/* --- ldm-2.0.42.orig/debian/changelog +++ ldm-2.0.42/debian/changelog @@ -0,0 +1,428 @@ +ldm (2:2.0.42-1) unstable; urgency=low + + * new upstream version: + - Revert nomad session selection patch, as it caused logins to fail. + - Implement per session Xauthority directory. + - Add compiz support detection. + + * remove copy of ldminfod manpage, as we use upstream's version now. + * drop patch to revert nomad session selection, reverted upstream. + * add patch to revert hanging logout bug, as it caused logins to fail. + * update Standards-Version to 3.8.2, no changes necessary. + + -- Vagrant Cascadian Sat, 18 Jul 2009 10:29:27 +0200 + +ldm (2:2.0.40-2) unstable; urgency=low + + * apply patch to remove buggy eval_gettext function. instead, always use + eval_gettext function from gettext.sh. depend on gettext-base to ensure + gettext.sh is present. (Closes: #530981) + + * remove largely un-used code to generate debian/control. + + -- Vagrant Cascadian Thu, 28 May 2009 23:52:30 -0700 + +ldm (2:2.0.40-1) unstable; urgency=low + + * new upstream version: + - updated Basque (eu) translation by Piarres Beobide and + Iñaki Larrañaga Murgoitio (Closes: #522393) + - added manpage for ldm-dialog + + * add patch reverting changes to Nomad/xrdp session selection, as it caused + logins to hang. + + -- Vagrant Cascadian Mon, 18 May 2009 15:46:02 -0700 + +ldm (2:2.0.39-1) unstable; urgency=low + + * new upstream version: + - support for Nomad/xrdp by Jigish Gohil. + - updated translations: + + German (de), by Wolfgang Schweer (Closes: #519067) + + Polish (pl), by Piotr Drąg + + Russian (ru), by Yuri Kozlov (Closes: #521647) + + Portuguese (pt), by Pedro Ribeiro (Closes: #519335) + + French (fr), by Stéphane Graber + + Swedish (sv), by Daniel Nylander (Closes: #519018) + + Spanish (es), by José L. Redrejo (Closes: #519093) + + Greek (el), by Alkis Georgopoulos + + Japanese (ja), by Noriko Mizumoto + + Basque (eu), by Piarres Beobide (Closes: #519033) + + * updated to Debian Policy 3.8.1, no changes needed. + + -- Vagrant Cascadian Wed, 01 Apr 2009 08:54:55 -0700 + +ldm (2:2.0.38-1) unstable; urgency=low + + * new upstream version: + - fix to not change X cursor when run from VNC + + * improved package descriptions + + -- Vagrant Cascadian Fri, 06 Mar 2009 15:56:35 -0800 + +ldm (2:2.0.37-2) experimental; urgency=low + + * added ldm-server package + - install ldminfod, which is used by ldm to determine available locales + and sessions + - conflict with versions of ltsp-server that previously included ldminfod + - recommend appropriate packages for login sessions, local device access + and remote sound + + * updated debian/rules to handle multiple binary packages (thanks to Ryan + Niebur) + + -- Vagrant Cascadian Mon, 02 Mar 2009 09:13:37 -0800 + +ldm (2:2.0.37-1) unstable; urgency=low + + * new upstream version: + - updated copyright and license notices + - make ldm-dialog translatable + + [ Ryan Niebur ] + * update debian/copyright and switch to the machine readable copyright + format + + -- Vagrant Cascadian Wed, 25 Feb 2009 15:05:44 -0800 + +ldm (2:2.0.33-1) experimental; urgency=low + + * New upstream version + - fix a race condition in ldm_wait, which was causing the logout + to hang on some thin clients + - updated Greek and French translations + - display the languages in a human friendly way (as opposed to just + displaying the locale code) on the language selection window + - ldm rc.d scripts are now translateable + + [ Ryan Niebur ] + * switch debian/rules to debhelper 7 + * add Homepage field + * add Build-Depends: iso-codes, locales, python + + [ Vagrant Cascadian ] + * patch from Ryan Niebur: add Makefile targets needed by debhelper 7 + + -- Vagrant Cascadian Sat, 31 Jan 2009 21:16:39 -0800 + +ldm (2:2.0.28-1) experimental; urgency=low + + * new upstream version: + - updated ltsp theme + - only allow ldm hooks that consist of numbers, letters, underscores and + hyphens, which prevents backup files from getting executed. + + * recommend dmz-cursor-theme + + -- Vagrant Cascadian Fri, 09 Jan 2009 21:37:58 -0800 + +ldm (2:2.0.27-1) experimental; urgency=low + + * new upstream version: + - updates to theme handling + - disable the username/password entry box instead of hiding it + + * ltsp theme updates: + - add patch to use ubuntulooks engine. + - recommend gtk2-engines-ubuntulooks, as it makes the theme look + considerably nicer, though it works without it installed, too. + + * drop dependency on gtk2-engines-clearlooks, which has never actually been + used. + + -- Vagrant Cascadian Sun, 28 Dec 2008 17:53:55 -0800 + +ldm (2:2.0.24-1) experimental; urgency=low + + * new upstream version: + - no longer propmt for changes in session or language + - display guest login button as a button + - send the greeter the quit command + + -- Vagrant Cascadian Tue, 16 Dec 2008 12:59:08 -0800 + +ldm (2:2.0.23-1) experimental; urgency=low + + * new upstream version: + - Fix broken LDM_DIRECTX + - use ldm-dialog for interactive scripts + + -- Vagrant Cascadian Sat, 13 Dec 2008 17:24:03 -0800 + +ldm (2:2.0.21-1) experimental; urgency=low + + * new upstream version: + - display session names for session selection + - preserve user session and language defaults across logins + + * debian/watch: poll fedora and ubuntu for new upstream versions + + -- Vagrant Cascadian Tue, 09 Dec 2008 12:40:31 -0800 + +ldm (2:2.0.19-1) experimental; urgency=low + + * new upstream version: + - drop x keyboard settings script, which is now handled in ltsp. + - ltsp-cluster scripts added + - use smaller background image for ltsp theme + * updated locale-from-screen patch + * add debian/watch file explaining how to find current version. + * use proper VCS-* headers. + + -- Vagrant Cascadian Mon, 24 Nov 2008 11:11:25 -0800 + +ldm (2:2.0.18-1) experimental; urgency=low + + * new upstream version: + - move X server handling out of ldm and into screen script + - properly handle session logout (Closes: #471793) + - option to use syslog + - use ltsp's xinitrc wrapper if present + - allow selecting server for guest logins + - don't force reboot and poweroff + - hide entry field and prompt after we get a username and password + - treat key like enter, to emulate GDM behavior + * updated locale-from-screen patch + + -- Vagrant Cascadian Thu, 13 Nov 2008 12:59:25 -0800 + +ldm (2:2.0.16-1) experimental; urgency=low + + * new upstream version: + - handle Xsession passed via ldminfod + - ldm initialization scripts: + + ensure X is up and running + + enable/disable the numlock key + + handle keyboard settings using setxkbmap + - simpler handling of timed logins (LDM_LOGIN_TIMEOUT) + - revert fix to login field location, as it causes problems with some + themes. + + -- Vagrant Cascadian Fri, 31 Oct 2008 20:49:30 -0700 + +ldm (2:2.0.13-1) experimental; urgency=low + + * new upstream version: + - option to restrict which users may log in + - fix login field location with wide logos + * remove patches applied upstream: + - startup-hooks + - xsession-with-selected-session + + -- Vagrant Cascadian Wed, 08 Oct 2008 14:39:48 -0700 + +ldm (2:2.0.12-2) experimental; urgency=low + + * apply patch to use /etc/X11/Xsession when selecting session from menu + * added README.source describing use of dpatch + + -- Vagrant Cascadian Tue, 23 Sep 2008 23:10:25 -0700 + +ldm (2:2.0.12-1) experimental; urgency=low + + * new upstream version: + - fix crash on x86_64 + - avoid ldm segfaulting when X fails + * add Ryan Niebur to Uploaders + * add patch from Gideon Romm to run hook scripts before login and after X + has started + + -- Vagrant Cascadian Wed, 17 Sep 2008 12:27:14 -0700 + +ldm (2:2.0.11-1) experimental; urgency=low + + * new upstream version: + - drop localapps hook (moved to ltsp) + - added hook to limit logins to a single user + - added hook to start a debugging terminal + + -- Vagrant Cascadian Mon, 11 Aug 2008 10:41:57 -0700 + +ldm (2:2.0.9-1) experimental; urgency=low + + * new upstream version: + - cleaner handling of ssh interaction: + + fixes tcsh logins (Closes: #490897) + + fixes password expiry (Closes: #482553) + * updated standards-version to 3.8.0, no changes needed. + + -- Vagrant Cascadian Wed, 06 Aug 2008 16:07:50 -0700 + +ldm (2:2.0.6-4) unstable; urgency=medium + + * remove debian.old dir accidentally added in previous upload. + * urgency medium to get important changes into lenny. + + -- Vagrant Cascadian Sat, 11 Oct 2008 14:20:11 -0700 + +ldm (2:2.0.6-3) unstable; urgency=low + + * backported patch from upstream to use /etc/X11/Xsession when user has + selected a session from login menu. (Closes: #499995) + * add debian/README.source explaining use of dpatch + * add Ryan Niebur to Uploaders + + -- Vagrant Cascadian Mon, 29 Sep 2008 09:00:50 -0700 + +ldm (2:2.0.6-2) unstable; urgency=low + + * apply patch to allow for cleanly disconnecting ssh session, so pam + sessions to properly register logouts. thanks to Pascal Legrand for the + report. (Closes: #471793) + * updated Standards-Version to 3.8.0, no changes needed. + + -- Vagrant Cascadian Wed, 20 Aug 2008 16:29:22 -0700 + +ldm (2:2.0.6-1) unstable; urgency=low + + * new upstream version: + - added Greek translation by Alkis Georgopoulos + + * patch to get locale settings if not already defined + + * apply patch to partially fix password expiry. thanks to John S. Skogtvedt. + (debian bug #482553) + + * drop patches for backwards compatibility with old ltsp versions + + -- Vagrant Cascadian Fri, 30 May 2008 15:42:23 -0700 + +ldm (2:2.0.5-1) unstable; urgency=low + + * new upstream version: + - added Russion translation by Yuri Kozlov (Closes: #477987) + - really add Portuguese (Closes: #476166) + + -- Vagrant Cascadian Sun, 04 May 2008 23:15:05 -0700 + +ldm (2:2.0.3-1) unstable; urgency=low + + * new upstream version: + - new and updated translations: + + Vietnamese, by Clytie Siddall (Closes: #477330) + + French, by Jean-Baka Domelevo-Entfellner (Closes: #477285) + + Portuguese, by Pedro Ribeiro (Closes: #476166) + + Polish, by Piotr Drąg + + Finnish, by Ville-Pekka Vainio + + Japanese, by Noriko Mizumoto + * recommend netcat as it is used in ltsp screen scripts + + -- Vagrant Cascadian Wed, 23 Apr 2008 00:08:33 -0500 + +ldm (2:2.0.1-1) experimental; urgency=low + + * new upstream version: + - fix localization support (Closes: #473674, 432708) + thanks to Wolfgang Schweer for the patch + - translations: + + German, by Wolfgang Schweer + + Spanish, by José "L. Redrejo" Rodríguez + + Hungarian, by SZERVÁC Attila (Closes: #473821) + + Basque, by Piarres Beobide (Closes: #473921) + + Swedish, by Daniel Nylander (Closes: 474005) + + Norwegian Bokmål, by Klaus Ade Johnstad + * build-depend on intltool + * use "make install" to install most files + + -- Vagrant Cascadian Sat, 5 Apr 2008 20:38:27 +0200 + +ldm (2:0.1~bzr20080326-1) unstable; urgency=low + + * new upstream: + - use xauth when using unencrypted X sessions rather than disabling access + control restrictions. (Closes: #469462) + - support arbitrary xserver options + - use common X code for ltsp screen script + + * drop fix-access-control patch (applied upstream) + + * compatibility with old ltsp versions: + - include modified copies of screen-x-common and ltsp-common-functions + - update old-ltsp-compatibility patch, add old-ltsp-xauth-compatibility + patch to ensure ldm screen script and xauth code works with all ltsp + versions + + -- Vagrant Cascadian Wed, 26 Mar 2008 06:16:17 -0700 + +ldm (2:0.1~bzr20080308-1) unstable; urgency=high + + * urgency set to high, as it fixes an RC/security bug, and upstream updates + are minor. + + * new upstream: + - move ldm screen.d script to /usr/share/ltsp/screen.d + + keep symlink to old location + + patch to work with either /usr/share or /usr/lib + - move ldm-script and rc.d scripts back to /usr/share/ldm + - change LDM_ALLOW_GUEST variable to LDM_GUESTLOGIN + + * patch fixing X access security bug (Closes: #469462) + + * debian/rules, debian/control: + - add support for and depend on dpatch + + -- Vagrant Cascadian Sat, 8 Mar 2008 21:42:40 -0500 + +ldm (2:0.1~bzr20080219-1) unstable; urgency=low + + * new upstream release from bzr: + - install ldmgtkgreeter and ldm-scripts in /usr/lib + - fixed autologin using slightly modified patch by Francis Giraldeau + (Closes: #462760) + - patch from SZABO Zsolt to fix login using ssh keys + (Closes: #462764) + - LDM_THEME variable to override default ldm theme + - LDM_ALLOW_GUEST variable to display a "Guest Login" button that behaves + similarly to autologin when pressed. + - thanks to Ryan Niebur for help with autologin, ldm theme and guest login + code + - only ask password once. (thanks to Oliver Gravert for the patch) + - do not display month or date on login screen. (idea from Gideon Romm) + - when displaying status message, make entry fields not editable. + (patch from Gideon Romm) + + * debian/control: + - conflict with older versions of ltsp-client-core, as it also shipped an + ldm screen.d script + + -- Vagrant Cascadian Tue, 19 Feb 2008 22:18:05 -0800 + +ldm (2:0.1~bzr20071217-3) unstable; urgency=medium + + * install man pages in the binary-arch target + * allow debian-maintainer uploads + + -- Vagrant Cascadian Fri, 25 Jan 2008 09:34:19 -0800 + +ldm (2:0.1~bzr20071217-2) unstable; urgency=low + + * change priority to extra, as ldm qualifies as "specialized requirements" + * drop ltspfs related ldm hook scripts (moved to ltspfsd package) + + -- Vagrant Cascadian Thu, 10 Jan 2008 16:00:03 -0800 + +ldm (2:0.1~bzr20071217-1+lenny1) testing-security; urgency=low + + * backport patches from sid: + - patch fixing X access security bug (Closes: #469462) + - add support for and build-depend on dpatch + - include ltsp screen script (previously in ltsp-client-core + package, needed to start ldm) + - drop ltspfs related ldm hook scripts (moved to ltspfsd package, + which conflicts with ldm <= 2:0.1~bzr20071217-1) + + -- Vagrant Cascadian Mon, 17 Mar 2008 14:24:04 -0700 + +ldm (2:0.1~bzr20071217-1) unstable; urgency=low + + * new upstream release from bzr branch: + http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-trunk/ + * split ldm into separate source package + (see ltsp changelog for previous history) + * new French translation by Jean-Baka Domelevo-Entfellner (Closes: 454571) + + -- Vagrant Cascadian Mon, 17 Dec 2007 16:38:53 -0800 --- ldm-2.0.42.orig/debian/doc/ldm-init +++ ldm-2.0.42/debian/doc/ldm-init @@ -0,0 +1,22 @@ +#!/bin/sh + +# use this script to run LDM from init. + +# a normal LTSP setup will not require this script- it should be started by +# ltsp's init scripts. + +# copy this script to /etc/ldm-init +# make executable: chmod +x /etc/ldm-init + +# put a line in /etc/inittab: +# L9:23:respawn:/etc/ldm-init + +# install openssh-server, xbase-clients and a window manager on the server + +# run on tty: +tty="7" + +# set ip address of your ssh server: +export LDM_SERVER=10.2.2.2 + +/usr/sbin/ldm vt$tty :$(($tty-1)) --- ldm-2.0.42.orig/debian/patches/revert-upstream-logout.dpatch +++ ldm-2.0.42/debian/patches/revert-upstream-logout.dpatch @@ -0,0 +1,95 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## revert-upstream-logout.dpatch by Vagrant Cascadian +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: revert patch from upstream, as it causes LDM to fail entirely. + +@DPATCH@ +diff -urNad ldm-2.0.42~/src/ldm.c ldm-2.0.42/src/ldm.c +--- ldm-2.0.42~/src/ldm.c 2009-06-03 18:58:35.000000000 -0700 ++++ ldm-2.0.42/src/ldm.c 2009-07-04 18:15:20.000000000 -0700 +@@ -202,10 +202,9 @@ + ldm_wait(GPid pid) + { + siginfo_t info; +- loginfo(_("Waiting for process %d\n"), pid); + do { + int res; +- res = waitid (P_PID, pid, &info, WEXITED | WSTOPPED); ++ res = waitid (P_ALL, 0, &info, WEXITED | WSTOPPED); + if (res == -1) { + int temp; + temp = errno; +diff -urNad ldm-2.0.42~/src/ldm.h ldm-2.0.42/src/ldm.h +--- ldm-2.0.42~/src/ldm.h 2009-06-03 18:58:35.000000000 -0700 ++++ ldm-2.0.42/src/ldm.h 2009-07-04 18:15:20.000000000 -0700 +@@ -44,7 +44,6 @@ + int get_language(); + int get_host(); + int get_session(); +-void *eater(void); + void ssh_session(void); + void ssh_endsession(void); + void close_greeter(void); +diff -urNad ldm-2.0.42~/src/sshutils.c ldm-2.0.42/src/sshutils.c +--- ldm-2.0.42~/src/sshutils.c 2009-06-03 18:58:35.000000000 -0700 ++++ ldm-2.0.42/src/sshutils.c 2009-07-04 18:15:20.000000000 -0700 +@@ -38,7 +38,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -240,7 +239,6 @@ + gchar *userathost; + gchar *command; + gchar *port = NULL; +- pthread_t pt; + + if (ldm.override_port) { + port = g_strconcat(" -p ", ldm.override_port, " ", NULL); +@@ -260,12 +258,6 @@ + + ssh_chat(ldm.sshfd); + +- /* +- * Spawn a thread to keep sshfd clean. +- */ +- +- pthread_create(&pt, NULL, eater, NULL); +- + if (ldm.override_port) { + g_free(port); + } +@@ -297,29 +289,3 @@ + g_free(command); + } + } +- +-void * +-eater(void) +-{ +- fd_set set; +- struct timeval timeout; +- int i, st, size; +- char buf[BUFSIZ]; +- int myfd; +- +- while (1) { +- if (ldm.sshfd == 0) { +- pthread_exit(NULL); +- break; +- } +- +- timeout.tv_sec = (long)1; /* one second timeout */ +- timeout.tv_usec = 0; +- FD_ZERO(&set); +- FD_SET(ldm.sshfd, &set); +- st = select(FD_SETSIZE, &set, NULL, NULL, &timeout); +- if (st > 0) { +- size = read(ldm.sshfd, buf, sizeof buf); +- } +- } +-} --- ldm-2.0.42.orig/debian/patches/ubuntulooks-engine.dpatch +++ ldm-2.0.42/debian/patches/ubuntulooks-engine.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## ubuntulooks-engine.dpatch by Vagrant Cascadian +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Use ubuntulooks engine, as gtk2-engines-ubuntulooks looks almost +## DP: indistinguishable from clearlooks, and is a much smaller package than +## DP: gtk2-engines, which provides clearlooks. + +@DPATCH@ +diff -urNad ldm-2.0.26~/themes/ltsp/greeter-gtkrc ldm-2.0.26/themes/ltsp/greeter-gtkrc +--- ldm-2.0.26~/themes/ltsp/greeter-gtkrc 2008-12-19 11:11:04.000000000 -0800 ++++ ldm-2.0.26/themes/ltsp/greeter-gtkrc 2008-12-28 17:16:12.000000000 -0800 +@@ -56,7 +56,7 @@ + text[SELECTED] = "#000000" + text[INSENSITIVE] = "#B3AFAB" + +- engine "clearlooks" ++ engine "ubuntulooks" + { + menubarstyle = 0 # 0 = flat, 1 = sunken, 2 = flat gradient + menuitemstyle = 0 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button) --- ldm-2.0.42.orig/debian/patches/00list +++ ldm-2.0.42/debian/patches/00list @@ -0,0 +1,4 @@ +locale-from-screen +ubuntulooks-engine +remove-hackish-gettext-function +revert-upstream-logout --- ldm-2.0.42.orig/debian/patches/remove-hackish-gettext-function.dpatch +++ ldm-2.0.42/debian/patches/remove-hackish-gettext-function.dpatch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## remove-hackish-gettext-function.dpatch by Vagrant Cascadian +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: always use gettext.sh, rather than our own hackish and buggy +## DP: implementation, which may have security issues. + +@DPATCH@ +diff -urNad ldm-2.0.40~/share/ldm-script.in ldm-2.0.40/share/ldm-script.in +--- ldm-2.0.40~/share/ldm-script.in 2009-02-25 14:37:31.000000000 -0800 ++++ ldm-2.0.40/share/ldm-script.in 2009-05-28 22:21:12.000000000 -0700 +@@ -30,17 +30,7 @@ + + export TEXTDOMAIN=ldmrc + +-if [ -f /usr/bin/gettext.sh ]; then +- . /usr/bin/gettext.sh +-else +- eval_gettext() { +- if [ $"test" = "\$test" ]; then +- eval "echo $*" +- else +- echo $"$*" +- fi +- } +-fi ++. /usr/bin/gettext.sh + + for SCRIPT in ${SCRIPTS}; do + SCRIPT_NAMES="$SCRIPT_NAMES $(basename $SCRIPT | egrep ^[0-9a-zA-Z_\-]*$)" --- ldm-2.0.42.orig/debian/patches/locale-from-screen.dpatch +++ ldm-2.0.42/debian/patches/locale-from-screen.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## locale-from-screen.dpatch by Vagrant Cascadian +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: source /etc/default/locale if LANG is not set + +@DPATCH@ +diff -urNad ldm-2.0.19~/screen.d/ldm ldm-2.0.19/screen.d/ldm +--- ldm-2.0.19~/screen.d/ldm 2008-11-23 15:18:23.000000000 -0800 ++++ ldm-2.0.19/screen.d/ldm 2008-11-23 16:50:29.000000000 -0800 +@@ -42,6 +42,12 @@ + } + + . /usr/share/ltsp/screen-x-common ++if [ -z "$LANG" ]; then ++ if [ -f /etc/default/locale ]; then ++ . /etc/default/locale ++ export LANG ++ fi ++fi + # backwards compatibility: set DISPLAY from old DISP variable + test -z "$DISPLAY" && DISPLAY="$DISP" + XAUTHORITY=`mktemp -u /var/run/ldm-xauth-XXXXXXXXX`