--- kdm-gdmcompat-0.13.orig/.gbp.conf +++ kdm-gdmcompat-0.13/.gbp.conf @@ -0,0 +1,33 @@ +# Configuration file for git-buildpackage and friends + +[DEFAULT] +# the default build command: +#builder = debuild -i\.git/ -I.git +# the default clean command: +#cleaner = debuild clean +# the default branch for upstream sources: +upstream-branch = master +# the default branch for the debian patch: +debian-branch = debian +# the default tag formats used: +upstream-tag = upstream/%(version)s +debian-tag = debian/%(version)s +pristine-tar = True + +# Options only affecting git-buildpackage +[git-buildpackage] +upstream-branch = master +# uncomment this to automatically GPG sign tags +#sign-tags = True +# keyid to GPG sign tags with +#keyid = 0xdeadbeef +# push to a remote repository after a successful tag: +#posttag = git-push git.example.com +# use this for more svn-buildpackage like bahaviour: +export-dir = ../build-area/ +#tarball-dir = ../tarballs/ + +# Options only affecting git-dch +[git-dch] +#git-log = --no-merges +#snapshot-number = snapshot + 1 --- kdm-gdmcompat-0.13.orig/debian/rules +++ kdm-gdmcompat-0.13/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + install gdmflexiserver debian/kdm-gdmcompat/usr/bin/ + install --mode=0644 \ + gdmflexiserver.1 debian/kdm-gdmcompat/usr/share/man/man1/ + + install gdm-emulatord debian/kdm-gdmcompat/usr/sbin/ + install --mode=0644 \ + gdm-emulatord.8 debian/kdm-gdmcompat/usr/share/man/man8/ + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installinit -- defaults 21 01 + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch + +.PHONY: build clean install binary-indep binary-arch binary --- kdm-gdmcompat-0.13.orig/debian/kdm-gdmcompat.postrm +++ kdm-gdmcompat-0.13/debian/kdm-gdmcompat.postrm @@ -0,0 +1,21 @@ +#!/bin/bash +# kdmflexiserver package post-removal script +# +# Copyright (C) 2007, 2009 Fabian Knittel +# Licensed under the GNU General Public License; either version 2 of the +# license, or (at your option) any later version. See the file +# /usr/share/common-licenses/GPL-2 or . + +set -e + +undo_divert() +{ + dpkg-divert --rename --package kdm-gdmcompat --remove $1 +} + +if [ "$1" = "remove" ]; then + undo_divert /usr/bin/gdmflexiserver + undo_divert /usr/share/man/man1/gdmflexiserver.1.gz +fi + +#DEBHELPER# --- kdm-gdmcompat-0.13.orig/debian/kdm-gdmcompat.postinst +++ kdm-gdmcompat-0.13/debian/kdm-gdmcompat.postinst @@ -0,0 +1,20 @@ +#!/bin/bash +# kdmflexiserver package post-installation script +# +# Copyright (C) 2009 Fabian Knittel +# Licensed under the GNU General Public License; either version 2 of the +# license, or (at your option) any later version. See the file +# /usr/share/common-licenses/GPL-2 or . + +set -e + +if [ "$1" = "configure" ]; then + # The old divert might still be lying around. Attempt to remove it. + RET=$(dpkg-divert --list /usr/share/man/man8/gdmflexiserver.8.gz) + if [ ! -z "$RET" ]; then + dpkg-divert --rename --package kdm-gdmcompat --remove \ + /usr/share/man/man8/gdmflexiserver.8.gz + fi +fi + +#DEBHELPER# --- kdm-gdmcompat-0.13.orig/debian/kdm-gdmcompat.dirs +++ kdm-gdmcompat-0.13/debian/kdm-gdmcompat.dirs @@ -0,0 +1,5 @@ +usr/bin +usr/sbin +etc/init.d +usr/share/man/man1 +usr/share/man/man8 --- kdm-gdmcompat-0.13.orig/debian/copyright +++ kdm-gdmcompat-0.13/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Fabian Knittel + on Wed, 2 Feb 2007 03:21:52 +0100. + +Upstream Author: Fabian Knittel + +Copyright (C) 2007, 2008 Fabian Knittel +Copyright (C) 2008 Philipp Kern + +License: + + Licensed under the GNU General Public License; either version 2 of the + license, or (at your option) any later version. See the file + /usr/share/common-licenses/GPL-2 or . + +The Debian packaging is (C) 2007, 2008 Fabian Knittel and is licensed under +the GPL; either version 2 of the license, or (at your option) any later +version, see `/usr/share/common-licenses/GPL-2'. --- kdm-gdmcompat-0.13.orig/debian/compat +++ kdm-gdmcompat-0.13/debian/compat @@ -0,0 +1 @@ +7 --- kdm-gdmcompat-0.13.orig/debian/kdm-gdmcompat.init +++ kdm-gdmcompat-0.13/debian/kdm-gdmcompat.init @@ -0,0 +1,74 @@ +#! /bin/sh +# +### BEGIN INIT INFO +# Provides: kdm-gdmcompat +# Required-Start: $remote_fs $syslog kdm +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Starts GDM emulation daemon. +# Description: Starts the GDM emulation daemon gdm-emulator to provide +# the gdm control socket. +### END INIT INFO +# +# Copyright (C) 2007, 2008 Fabian Knittel +# Licensed under the GNU General Public License; either version 2 of the +# license, or (at your option) any later version. See the file +# /usr/share/common-licenses/GPL-2 or . + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/gdm-emulatord +DAEMON_OPTS="" +NAME=gdm-emulatord +DESC="GDM emulation daemon for KDM" +PID_FILE=/var/run/$NAME.pid +DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +start_daemon() { + start-stop-daemon --start --quiet --pidfile $PID_FILE \ + --exec $DAEMON -- $DAEMON_OPTS +} + +stop_daemon() { + start-stop-daemon --stop --quiet --pidfile $PID_FILE +} + +case "$1" in + start) + if [ -e $DEFAULT_DISPLAY_MANAGER_FILE ] && + [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "/usr/bin/kdm" ]; then + echo -n "Not starting $DESC; " + echo "kdm is not the default display manager." + else + log_begin_msg "Starting $DESC" + start_daemon + log_end_msg 0 + fi + ;; + stop) + log_begin_msg "Stopping $DESC" + stop_daemon + log_end_msg 0 + ;; + restart|force-reload) + log_begin_msg "Restarting $DESC" + stop_daemon + sleep 1 + start_daemon + log_end_msg 0 + ;; + status) + status_of_proc $DAEMON "$DESC" -p $PID_FILE + exit $? + ;; + *) + echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- kdm-gdmcompat-0.13.orig/debian/control +++ kdm-gdmcompat-0.13/debian/control @@ -0,0 +1,22 @@ +Source: kdm-gdmcompat +Section: kde +Priority: extra +Maintainer: Fabian Knittel +Uploaders: Philipp Kern +Standards-Version: 3.8.4 +Build-Depends: debhelper (>=7) +VCS-Git: git://opensource.fsmi.uni-karlsruhe.de/git/kdm-gdmcompat.git +VCS-Browser: http://opensource.fsmi.uni-karlsruhe.de/cgi-bin/gitweb.cgi?p=kdm-gdmcompat.git;a=summary +Homepage: http://opensource.fsmi.uni-karlsruhe.de/projects/kdm-gdmcompat/ + +Package: kdm-gdmcompat +Architecture: all +Depends: kdm, xauth, lsb-base (>= 3.2-13), ${misc:Depends} +Enhances: kdm +Replaces: kdmflexiserver +Conflicts: kdmflexiserver +Description: Provide basic gdm functionality to systems running kdm + This package provides a gdmflexiserver replacement utility and a daemon + emulating gdm's control socket. The idea is to allow screen savers (especially + xscreensaver and gnome-screensaver) and desktops which depend on gdm, to + seamlessly integrate with kdm. The tools communicate with kdm via kdmctl. --- kdm-gdmcompat-0.13.orig/debian/changelog +++ kdm-gdmcompat-0.13/debian/changelog @@ -0,0 +1,136 @@ +kdm-gdmcompat (0.13-2) unstable; urgency=low + + * debian/kdm-gdmcompat.init: LSB header changes + - depend on $remote_fs in Required-Start + - no longer depend on $local_fs in Should-Start + * debian/control: add ${misc:Depends} to the dependency line + * debian/control: change section from admin to kde + * debian/control: bump Standards-Version to 3.8.4 + + -- Philipp Kern Sat, 05 Jun 2010 00:11:19 +0200 + +kdm-gdmcompat (0.13-1) unstable; urgency=low + + * New upstream release: + - Move gdmflexiserver's man page to section 1. + - Move socket location from /tmp/.gdm_socket to /var/run/gdm_socket. + * Support the "status" action in the init.d script and correctly declare + the dependency on lsb-base. Patch by Peter Eisentraut. (Closes: #527127) + * Bump debhelper compat version to v7. (Fixes lintian warning.) + * Minor clean-up to debian/rules. (Fixes lintian warning + dh-clean-k-is-deprecated.) + * Bump standards version to 3.8.1, no changes. (Fixes lintian warning.) + * Change diverts for gdmflexiserver's man page. + + -- Fabian Knittel Wed, 13 May 2009 21:36:55 +0200 + +kdm-gdmcompat (0.12-1) unstable; urgency=low + + * New upstream release: + - Fix license references and change license to GNU GPLv2 or later. + * Refer to /usr/share/common-licenses/GPL-2 and + http://www.gnu.org/licences/gpl-2.0.txt instead of the unversioned + variants (which currently refer to v3). + + -- Fabian Knittel Sun, 14 Dec 2008 19:26:23 +0100 + +kdm-gdmcompat (0.11-2) unstable; urgency=low + + * Target Debian unstable. + * Add VCS information and link to homepage to debian/control. + * Update debian/copyright with new email address of upstream author. + + -- Philipp Kern Sun, 23 Nov 2008 17:19:35 +0100 + +kdm-gdmcompat (0.11-1) fsmi-lenny; urgency=low + + * New upstream release: + + Supports session authentication. + + -- Fabian Knittel Tue, 18 Nov 2008 15:26:06 +0100 + +kdm-gdmcompat (0.10-3) fsmi-lenny; urgency=low + + * Do not provide gdm in init script. + + -- Fabian Knittel Mon, 17 Nov 2008 17:51:51 +0100 + +kdm-gdmcompat (0.10-2) fsmi-lenny; urgency=low + + * Revert to using dpkg-overrides instead of replacing gdm, as some packages + have versioned depends on gdm. + * Minor cleanup. + + -- Fabian Knittel Mon, 17 Nov 2008 17:37:18 +0100 + +kdm-gdmcompat (0.10-1) fsmi-lenny; urgency=low + + * Renamed package to clarify scope. + * Changed to non-native package. + * Add Replaces and Conflicts control entries for gdm. + + -- Fabian Knittel Fri, 14 Nov 2008 17:03:55 +0100 + +kdmflexiserver (0.9) fsmi-etch; urgency=low + + * Compatibility with the new fast-user-switch-applet shipped by + Debian with a patch from Fedora to specify the user it should + switch to. + * Reply to the request for a minimum UID of the users displayed. + + -- Philipp Kern Tue, 29 Jul 2008 18:53:13 +0200 + +kdmflexiserver (0.8) fsmi-etch; urgency=low + + * Decreased the log level for socket-level messages (i.e. + receiving/sending data) to LOG_DEBUG + + -- Philipp Kern Sun, 30 Sep 2007 21:12:57 +0200 + +kdmflexiserver (0.7) fsmi-etch; urgency=low + + * Uses dh_installinit to properly add, remove, restart + /etc/init.d/kdmflexiserver. + + -- Fabian Knittel Sat, 28 Jul 2007 23:12:06 +0200 + +kdmflexiserver (0.6) fsmi-etch; urgency=low + + * gdm-emulator: Bumps advertised gdm version number to 2.16.0 + * gdm-emulator: Properly formats server listings. + * gdm-emulator: Supports SET_VT. + + -- Fabian Knittel Sat, 28 Jul 2007 22:38:07 +0200 + +kdmflexiserver (0.5) unstable; urgency=low + + * Bugfix: Goes to background again. + + -- Fabian Knittel Wed, 2 May 2007 20:05:31 +0200 + +kdmflexiserver (0.4) unstable; urgency=low + + * Replaces logger with direct syslog logging. + * Ignores SIGPIPE and logs various exit-signals. + * Properly handles ALL_SERVERS and CONSOLE_SERVERS. + + -- Fabian Knittel Wed, 2 May 2007 19:56:23 +0200 + +kdmflexiserver (0.3) unstable; urgency=low + + * Fixes gdm-emulator's interaction with the gnome-panel (would hang the + complete desktop). + + -- Fabian Knittel Wed, 7 Feb 2007 15:32:57 +0100 + +kdmflexiserver (0.2) unstable; urgency=low + + * Adds gdm-emulator to support gnome-screensaver. + + -- Fabian Knittel Tue, 6 Feb 2007 20:35:57 +0100 + +kdmflexiserver (0.1) unstable; urgency=low + + * Initial release. + + -- Fabian Knittel Tue, 6 Feb 2007 02:26:50 +0100 --- kdm-gdmcompat-0.13.orig/debian/kdm-gdmcompat.preinst +++ kdm-gdmcompat-0.13/debian/kdm-gdmcompat.preinst @@ -0,0 +1,20 @@ +#!/bin/sh +# kdm-gdmcompat package pre-installation script +# +# Copyright (C) 2007, 2009 Fabian Knittel +# Licensed under the GNU General Public License; either version 2 of the +# license, or (at your option) any later version. See the file +# /usr/share/common-licenses/GPL-2 or . + +set -e + +do_divert() +{ + dpkg-divert --rename --package kdm-gdmcompat \ + --divert $1.gdm-orig --add $1 +} + +do_divert /usr/bin/gdmflexiserver +do_divert /usr/share/man/man1/gdmflexiserver.1.gz + +#DEBHELPER#