summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/.cvsignore4
-rwxr-xr-xdebian/Default.debian3
-rw-r--r--debian/Makefile.am19
-rw-r--r--debian/README.Debian6
-rw-r--r--debian/changelog.in10
-rw-r--r--debian/changelog.old257
-rw-r--r--debian/control24
-rw-r--r--debian/copyright12
-rw-r--r--debian/dirs11
-rw-r--r--debian/docs6
-rw-r--r--debian/ex.doc-base.package22
-rw-r--r--debian/gdm.pod51
-rw-r--r--debian/gdmchooser.pod26
-rw-r--r--debian/gdmlogin.pod27
-rw-r--r--debian/init69
-rw-r--r--debian/postinst76
-rw-r--r--debian/postrm8
-rwxr-xr-xdebian/rules88
18 files changed, 0 insertions, 719 deletions
diff --git a/debian/.cvsignore b/debian/.cvsignore
deleted file mode 100644
index 79de295c..00000000
--- a/debian/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-*-stamp
-changelog
-Makefile
-Makefile.in
diff --git a/debian/Default.debian b/debian/Default.debian
deleted file mode 100755
index 398fd28f..00000000
--- a/debian/Default.debian
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec /etc/X11/Xsession
diff --git a/debian/Makefile.am b/debian/Makefile.am
deleted file mode 100644
index a5d39a04..00000000
--- a/debian/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-SUBDIRS =
-
-EXTRA_DIST = \
- README.Debian \
- changelog \
- changelog.in \
- changelog.old \
- control \
- copyright \
- dirs \
- docs \
- ex.doc-base.package \
- gdm.pod \
- gdmchooser.pod \
- gdmlogin.pod \
- init \
- postinst \
- postrm \
- rules
diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644
index 0eb4ae1a..00000000
--- a/debian/README.Debian
+++ /dev/null
@@ -1,6 +0,0 @@
-gdm for Debian
---------------
-
-This was built from CVS...
-
- -- Ian McKellar <yakk@yakk.net.au>, Mon, 16 Apr 2001 12:06:39 +0800
diff --git a/debian/changelog.in b/debian/changelog.in
deleted file mode 100644
index 2f9dd062..00000000
--- a/debian/changelog.in
+++ /dev/null
@@ -1,10 +0,0 @@
-gdm (@VERSION@-0.cvs.@DEBIAN_DATESTAMP@) unstable; urgency=low
-
- * Built from CVS...
- * Read changelog.old for actual changelog
-
- -- Ian McKellar <yakk@yakk.net.au> @DEBIAN_DATE@
-
-Local variables:
-mode: debian-changelog
-End:
diff --git a/debian/changelog.old b/debian/changelog.old
deleted file mode 100644
index d700f41c..00000000
--- a/debian/changelog.old
+++ /dev/null
@@ -1,257 +0,0 @@
-gdm (2.0-0.beta4.15) unstable; urgency=low
-
- * Added xutils dependancy (closes: #76148)
- * Added patch to remove locale menu, allowing dependancy on locales to
- be lowered to suggests (closes: #80408)
- * Apparently X has some issues with all the clients being killed in a row,
- and doesn't decide to exit. XDM kills the server instead of the "nice"
- method, so now we do that, too. (closes: #77163)
- * Remove non-sensical code that broke %d (closes: #75094)
- * Add documentation on the face browser (closes: #75091)
- * It seems updating the cookies already happens, so now the hostname is
- reread each time the cookies regenerate (closes: #55712)
- * Remove inappropriate Xsession session.
- * Fix a syslog() format.
-
- -- Ryan Murray <rmurray@debian.org> Sun, 24 Dec 2000 21:43:55 -0800
-
-gdm (2.0-0.beta4.14) unstable; urgency=low
-
- * Fix file descriptor leak in Xserver logfile.
-
- -- Ryan Murray <rmurray@debian.org> Fri, 8 Sep 2000 23:53:49 -0700
-
-gdm (2.0-0.beta4.13) unstable; urgency=low
-
- * Add -deferglyphs 16 to starting of the X server
-
- -- Ryan Murray <rmurray@debian.org> Mon, 21 Aug 2000 22:30:07 -0700
-
-gdm (2.0-0.beta4.12) unstable; urgency=low
-
- * Remove \n at the end of LANG. (closes: #68331)
- * Apply uid switch patch (closes: #67364)
-
- -- Ryan Murray <rmurray@debian.org> Fri, 11 Aug 2000 04:16:40 -0700
-
-gdm (2.0-0.beta4.11) unstable; urgency=low
-
- * Allow up to 128 character passwords (Closes: #66727)
- * Wait until gdm has exited before restarting (Closes: #65446)
-
- -- Ryan Murray <rmurray@debian.org> Sun, 16 Jul 2000 13:23:12 -0700
-
-gdm (2.0-0.beta4.10) unstable; urgency=low
-
- * Update maintainer's e-mail address
- * Force focus to be on the login window when on the root window and
- added accelerators for all menus via Alt+letter, including an extra
- accelerator for ESC to bring down the first menu. (Closes: #61141, #62837)
- * Added README.Debian pointing out the manual (Closes: #61609)
- * Increased delay before restart (didn't close: #65446)
- * Force English to always be in the language list (Closes: #65538)
-
- -- Ryan Murray <rmurray@debian.org> Sun, 18 Jun 2000 18:01:46 -0700
-
-gdm (2.0-0.beta4.9) unstable frozen; urgency=high
-
- * Fix several security related bugs, including one grave bug
- (closes: #63255, #61968)
- * Fix for /etc/environment being read twice (closes: #59042)
- * Fix for LANG not being set correctly, based on a patch used by
- redhat (closes: #59044)
- * Added translations for new locales from CVS.
- * Removed checking for pidfile in gdm code, as start-stop-daemon does
- a better job, for Debian.
- * Added --name to start-stop-daemon line (closes: #59176)
- * Set default locale in LANG before starting gdmlogin. This makes
- GDM's text localized to the setting of DefaultLocale in gdm.conf
- (closes: #57806)
- * Changed build system to dbs, from patch system used by egcs at some
- point.
- * Fix reference of gdmgreeter in gdmlogin manpage (closes: #63680)
- * Fix for buffer overflow in xdmcp.c (closes: #63876)
-
- -- Ryan Murray <rmurray@cyberhqz.com> Wed, 10 May 2000 02:24:59 -0700
-
-gdm (2.0-0.beta4.8) unstable frozen; urgency=medium
-
- * Fix for grave password visible bug. (closes: #55886)
- * Fix for font directive being ignored when gtkrc used (closes: #51374)
- * Change build process to be more friendly when upstream isn't a CVS version
- * Added missing build dependancies (closes: #56046)
- * Moved logfiles to /var/log/gdm (closes: #56018)
- * Don't start gdm if we're in X on the display it manages, or if it's
- running (closes: #53992)
-
- -- Ryan Murray <rmurray@cyberhqz.com> Sun, 30 Jan 2000 23:16:24 -0800
-
-gdm (2.0-0.beta4.7) unstable frozen; urgency=medium
-
- * Modified gdm.conf to start up as :0 on vt7, and added conflicts for other
- display managers. Release Critical bug fix. (closes: #53988, #54234)
- * added dependancy on libpam-modules (closes: #54452)
- * removed --exec from start-stop-daemon to workaround bug #51953 in dpkg.
- (closes: #53064)
- * Added comment for SystemMenu to gdm.conf (closes: #53996)
- * Made path closer to default login path
- * Updated Exclude field in gdm.conf
- * Added text strings describing shutdown/halt
- * increase purge delay to 15 seconds (closes: #53998)
-
- -- Ryan Murray <rmurray@cyberhqz.com> Tue, 18 Jan 2000 00:37:37 -0800
-
-gdm (2.0-0.beta4.6) unstable; urgency=low
-
- * New maintainer.
- * Disable XDMCP by default (safer default)
- * Modified gdm.conf to start up as :1 on vt8 as a default
- * Updated to Standards-Version 3.1.1
- * Moved to FHS 2.1 draft (/var/state -> /var/lib)
- * Applied patch to solve (null) locale/session (Closes: #51846, #52321)
- * Added pam_env.so to /etc/pam.d/gdm (Closes: #52408)
- * Applied retry limit patch (Closes: #51103, #53065)
- * Recompiled with new libesd-dev (Closes: #52245)
- * Compiled with libwrap0
- * export MAIL environment variable in Gnome session script (Closes: #53601)
-
- -- Ryan Murray <rmurray@cyberhqz.com> Wed, 29 Dec 1999 23:50:43 -0800
-
-gdm (2.0-0.beta4.5) unstable; urgency=low
-
- * Added a suggests: xsm and corrected /etc/gdm/Sessions/Xsession
- in order to work even if xsm is not available. Closes: #49632
- * Enable XDMCP by default. Closes: #49104
- * Updated the copyright file.
- * Cleaned the .diff.gz and the rules file.
- * Corrected the man pages.
-
- -- Raphael Hertzog <hertzog@debian.org> Tue, 9 Nov 1999 23:38:24 +0100
-
-gdm (2.0-0.beta4.4) unstable; urgency=low
-
- * Removed the explicit setting of the virtual terminal. It was
- causing problem to people who have getty running on vt8 ...
- * Corrected /etc/gdm/Sessions/Gnome to work with OpenSSH.
- Closes: #49443
-
- -- Raphael Hertzog <hertzog@debian.org> Thu, 4 Nov 1999 19:53:01 +0100
-
-gdm (2.0-0.beta4.3) unstable; urgency=low
-
- * Session/Gnome: doesn't set the PATH since gdm does already take
- care of this. Closes: #48310
- * Session/Xsession: calls freetemp only if it's available.
- Closes: #47916
- * Put a symlink /etc/X11/gdm -> ../gdm. Closes: #46898
- * Now use /etc/locale.alias instead of its own file.
- Closes: #47915
-
- -- Raphael Hertzog <hertzog@debian.org> Wed, 27 Oct 1999 14:33:49 +0200
-
-gdm (2.0-0.beta4.2) unstable; urgency=low
-
- * Changed gdm.conf to explicitely give the virtual console
- to use. Default to "vt8 :1" in order to avoid problems.
- I hope that it closes: #47425, #47451
-
- -- Raphael Hertzog <hertzog@debian.org> Sat, 16 Oct 1999 18:37:17 +0200
-
-gdm (2.0-0.beta4.1) unstable; urgency=low
-
- * New maintainer.
- * Until a proper solution is found, gdm will conflict with xdm, kdm and
- wdm. Closes: #46378
- * Corrected the priority number for init.d scripts K99 -> K01.
- Closes: #46379
- * Recommends gnome-session ...
- * Bug closed by previous NMU :
- closes: #33471, #35672, #36284, #37780, #38034, #38343, #39433, #39703
- closes: #40293, #40308, #41157, #42440, #42493, #42636, #43095, #43667
- closes: #45719, #45916
-
- -- Raphael Hertzog <hertzog@debian.org> Tue, 12 Oct 1999 22:26:43 +0200
-
-gdm (2.0-0.beta4) unstable; urgency=low
-
- * NMU
- * New upstream version.
- * Be more careful for creating user/group. Closes: #45916
-
- -- Raphael Hertzog <hertzog@debian.org> Thu, 30 Sep 1999 20:54:45 +0200
-
-gdm (2.0-0.beta3) unstable; urgency=low
-
- * NMU.
- * New upstream version of gdm (still beta but it does work contrary to
- gdm1). Closes: #45719
- * Does show all users (list of exclusion does exist in gdm.conf)
- Closes: #42440, #42493
- * The X connection problem is solved with this version.
- Closes: #42636, #43667, #43095
- * The macros stuff has moved in /usr/share/aclocal/gnome.
- Closes: #40293
- * gdm is very kind with xserver badly configured. Closes: #35672
- * gdm cleans (not too much however) the environment. MAIL is removed.
- Closes: #33471
- * gdm does restart well. Closes: #38034
- * You can select your language/sessions. Closes: #38343
- * Gdm and xscreensaver do work correctly together. Closes: #39703
- * Gdmgreeter does start. Closes: #40308
- * Gdm does use :1 by default. Closes: #36284, #37780, #41157
- * Gdm does now include /usr/games in the PATH. Closes: #39433
-
- -- Raphael Hertzog <rhertzog@hrnet.fr> Tue, 21 Sep 1999 20:25:01 +0200
-
-gdm2 (0+cvs19990428-1) experimental; urgency=low
-
- * Experimental build of gdm2
-
- -- Steve Haslam <araqnid@debian.org> Mon, 17 May 1999 13:09:22 +0100
-
-gdm (1.0.0-6) unstable; urgency=low
-
- * Don't automatically restart gdm
- * Change init.d restart behaviour, no longer set -e.
- * Made substantial changes to /etc/gdm/Sessions/Gnome; removed /etc/gnomerc
- as a result
-
- -- Steve Haslam <araqnid@debian.org> Wed, 5 May 1999 23:39:08 +0100
-
-gdm (1.0.0-5) unstable; urgency=low
-
- * Replaced the PAM config again.
- * Remove po/*.gmo files when cleaning because changes to them can't be
- represented in .diff.gz files
-
- -- Steve Haslam <araqnid@debian.org> Wed, 21 Apr 1999 17:19:16 +0100
-
-gdm (1.0.0-4) unstable; urgency=low
-
- * Major rewrite of packaging files- now using .dpatch files to hold changes
- * Added -lnsl to LIBS when using -lwrap (from cpbs@debian.org)
-
- -- Steve Haslam <araqnid@debian.org> Tue, 20 Apr 1999 02:48:32 +0100
-
-gdm (1.0.0-3) unstable; urgency=low
-
- * Make /etc/gdm/Init/:0 a conffile too
-
- -- Steve Haslam <araqnid@debian.org> Sat, 27 Mar 1999 14:08:55 +0000
-
-gdm (1.0.0-2) unstable; urgency=low
-
- * Use "update-rc.d gdm defaults 99"
- * Don't strip x mode from /etc/gnomerc
-
- -- Steve Haslam <araqnid@debian.org> Mon, 22 Mar 1999 19:55:48 +0000
-
-gdm (1.0.0-1) unstable; urgency=low
-
- * Initial version.
-
- -- Steve Haslam <araqnid@debian.org> Thu, 18 Mar 1999 21:27:20 +0000
-
-Local variables:
-mode: debian-changelog
-End:
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 996c3295..00000000
--- a/debian/control
+++ /dev/null
@@ -1,24 +0,0 @@
-Source: gdm
-Section: x11
-Priority: optional
-Maintainer: Ryan Murray <rmurray@debian.org>
-Build-Depends: libpam0g-dev, libgnome-dev, libwrap0-dev, debhelper, automake, autoconf, gettext, libtool
-Standards-Version: 3.1.1
-
-Package: gdm
-Architecture: any
-Depends: ${shlibs:Depends}, libpam-modules (>= 0.72-1), xutils, adduser
-Recommends: gnome-session
-Suggests: xsm, locales
-Conflicts: wdm, xdm, kdm
-Description: GNOME Display Manager
- gdm provides the equivalent of a "login:" prompt for X displays- it
- pops up a login window and starts an X session.
- .
- It provides all the functionality of xdm, including XDMCP support for
- managing remote displays.
- .
- The greeting window is written using the GNOME libraries and hence
- looks like a GNOME application- even to the extent of supporting
- themes! By default, the greeter is run as an unprivileged user for
- security.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 065dbb3c..00000000
--- a/debian/copyright
+++ /dev/null
@@ -1,12 +0,0 @@
-This package originally Debianised by Steve Haslam <steve@arise.demon.co.uk>,
-10th March 1999. It was maintained by Raphaël Hertzog <hertzog@debian.org>
-until December 1999. It is now maintained by
-Ryan Murray <rmurray@debian.org>. This packaging was done by
-Ian McKellar <yakk@yakk.net.au>.
-
-Copyright (C) 1998, 1999 Martin Kasper Petersen <mkp@SunSITE.auc.dk>
-
-Originally obtained from GNOME: ftp.gnome.org
-
-License: GPL
-
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index 6af1307c..00000000
--- a/debian/dirs
+++ /dev/null
@@ -1,11 +0,0 @@
-var/log/gdm
-var/lib/gdm
-usr/share/faces
-usr/share/hosts
-etc/pam.d
-etc/X11
-etc/X11/gdm/Init
-etc/X11/gdm/Sessions
-etc/X11/gdm/PreSession
-etc/X11/gdm/PostSession
-usr/sbin
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index 298cdd55..00000000
--- a/debian/docs
+++ /dev/null
@@ -1,6 +0,0 @@
-INSTALL
-NEWS
-README
-README.install
-README.install
-TODO
diff --git a/debian/ex.doc-base.package b/debian/ex.doc-base.package
deleted file mode 100644
index 5bc80a65..00000000
--- a/debian/ex.doc-base.package
+++ /dev/null
@@ -1,22 +0,0 @@
-Document: gdm
-Title: Debian gdm Manual
-Author: <insert document author here>
-Abstract: This manual describes what gdm is
- and how it can be used to
- manage online manuals on Debian systems.
-Section: unknown
-
-Format: debiandoc-sgml
-Files: /usr/share/doc/gdm/gdm.sgml.gz
-
-Format: postscript
-Files: /usr/share/doc/gdm/gdm.ps.gz
-
-Format: text
-Files: /usr/share/doc/gdm/gdm.text.gz
-
-Format: HTML
-Index: /usr/share/doc/gdm/html/index.html
-Files: /usr/share/doc/gdm/html/*.html
-
-
diff --git a/debian/gdm.pod b/debian/gdm.pod
deleted file mode 100644
index 543a3a6a..00000000
--- a/debian/gdm.pod
+++ /dev/null
@@ -1,51 +0,0 @@
-=head1 NAME
-
-gdm - GNOME Display Manager
-
-=head1 SYNOPSIS
-
-gdm
-
-=head1 DESCRIPTION
-
-B<gdm> is the equivalent of xdm(1x) or wdm(1x), but uses the GNOME
-libraries to provide a GNOME look-and-feel. It provides the GNOME
-equivalent of a "login:" prompt.
-
-The full B<gdm> manual is installed as
-F</usr/share/gnome/help/gdm/C/index.html> on your system. This is only a brief
-summary - the HTML manual is the canonical documentation.
-
-B<gdm> reads F</etc/gdm/gdm.conf> for its configuration. For each
-local display, gdm starts an X server and runs gdmlogin(8x) on that
-display. The main gdm process also listens for XDMCP requests from
-remote displays. These requests can either be direct, causing B<gdm>
-to start a gdmlogin(8x) on the remote display, or indirect, causeing
-a gdmchooser(8x) to be opened.
-
-When managing a display, B<gdm> attempts to execute
-F</etc/gdm/Init/>I<display>, or F</etc/gdm/Init/Default> if that does
-not exist. When a user logs in, B<gdm> first attempts
-F</etc/gdm/PreSession/>I<display> (or F</etc/gdm/PreSession/Default>),
-and then one of the sessions in F</etc/gdm/Sessions>. When the session
-has completed, B<gdm> attempts to run
-F</etc/gdm/PostSession/>I<display>, or
-F</etc/gdm/PostSession/>I<Default>. Of all these files, only the
-F</etc/gdm/Sessions> one is required to exist.
-
-B<gdm> maintains information about the displays it is managing in
-F</var/lib/gdm>. This includes xauth information, so this directory
-is not readable to normal users.
-
-B<gdm> uses PAM to perform authentication using the config file
-F</etc/pam.d/gdm>.
-
-=head1 AUTHOR
-
-Martin Kasper Petersen <mkp@SunSITE.auc.dk>
-
-This manual page written by Steve Haslam <araqnid@debian.org> for
-Debian GNU/Linux. Updated by Raphaël Hertzog <hertzog@debian.org>.
-Updated by Ryan Murray <rmurray@debian.org>.
-
-=cut
diff --git a/debian/gdmchooser.pod b/debian/gdmchooser.pod
deleted file mode 100644
index afa15707..00000000
--- a/debian/gdmchooser.pod
+++ /dev/null
@@ -1,26 +0,0 @@
-=head1 NAME
-
-gdmchooser - GNOME Display Manager host chooser window
-
-=head1 SYNOPSIS
-
-gdmchooser
-
-=head1 DESCRIPTION
-
-B<gdmchooser> is invoked by gdm(8). It displays a list of hosts that
-are candidates for logging into via a gdm(8) daemon or compatible,
-such as xdm(1x) or wdm(1x).
-
-=head1 SEE ALSO
-
-gdm(8)
-
-=head1 AUTHOR
-
-Martin Kasper Petersen <mkp@SunSITE.auc.dk>
-
-This manual page written by Steve Haslam <araqnid@debian.org> for
-Debian GNU/Linux.
-
-=cut
diff --git a/debian/gdmlogin.pod b/debian/gdmlogin.pod
deleted file mode 100644
index 9e77630c..00000000
--- a/debian/gdmlogin.pod
+++ /dev/null
@@ -1,27 +0,0 @@
-=head1 NAME
-
-gdmlogin - GNOME Display Manager greeting window
-
-=head1 SYNOPSIS
-
-gdmlogin
-
-=head1 DESCRIPTION
-
-B<gdmlogin> is invoked by gdm(8). It displays a GNOME login window
-and obtains a login/password combination from the user. This is then
-sent to the controlling B<gdm> process for verification.
-
-=head1 SEE ALSO
-
-gdm(8)
-
-=head1 AUTHOR
-
-Martin Kasper Petersen <mkp@SunSITE.auc.dk>
-
-This manual page written by Steve Haslam <araqnid@debian.org> for
-Debian GNU/Linux. Updated by Raphaël Hertzog <hertzog@debian.org>.
-Updated by Ryan Murray <rmurray@debian.org>.
-
-=cut
diff --git a/debian/init b/debian/init
deleted file mode 100644
index 43453ee4..00000000
--- a/debian/init
+++ /dev/null
@@ -1,69 +0,0 @@
-#! /bin/sh
-#
-# skeleton example file to build /etc/init.d/ scripts.
-# This file should be used to construct scripts for /etc/init.d.
-#
-# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
-# Modified for Debian GNU/Linux
-# by Ian Murdock <imurdock@gnu.ai.mit.edu>.
-#
-# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl
-#
-
-# Modified for gdm, Steve Haslam <steve@arise.dmeon.co.uk> 14mar99
-# modified to remove --exec, as it does not work on upgrades. 18jan2000
-# modified to use --name, to detect stale PID files 18mar2000
-# sleep until gdm dies, then restart it 16jul2000
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/bin/gdm
-NAME=gdm
-DESC="GNOME Display Manager"
-
-test -f $DAEMON || exit 0
-
-case "$1" in
- start)
- echo -n "Starting $DESC: "
- start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --name $NAME --exec $DAEMON
- echo "$NAME."
- ;;
- stop)
- echo -n "Stopping $DESC: "
- start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid --name $NAME
- echo "$NAME."
- ;;
- #reload)
- #
- # If the daemon can reload its config files on the fly
- # for example by sending it SIGHUP, do it here.
- #
- # If the daemon responds to changes in its config file
- # directly anyway, make this a do-nothing entry.
- #
- # echo "Reloading $DESC configuration files."
- # start-stop-daemon --stop --signal 1 --quiet --pidfile \
- # /var/run/$NAME.pid --exec $DAEMON
- #;;
- restart|force-reload)
- #
- # If the "reload" option is implemented, move the "force-reload"
- # option to the "reload" entry above. If not, "force-reload" is
- # just the same as "restart".
- #
- $0 stop
- # gdm may take awhile to shutdown. We'll wait for it.
- while start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid --signal 0 --name $NAME; do
- sleep 1
- done
- $0 start
- ;;
- *)
- N=/etc/init.d/$NAME
- # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
- echo "Usage: $N {start|stop|restart|force-reload}" >&2
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index 6c826eb6..00000000
--- a/debian/postinst
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-
-set +e
-
-# is everything in place ?
-if [ ! -x "`which adduser`" ]; then
- echo "I need adduser(8) from the adduser.deb package !";
- exit 1;
-fi
-if [ ! -x "`which addgroup`" ]; then
- echo "I need addgroup(8) from the adduser.deb package !";
- exit 1;
-fi
-if [ ! -x "`which usermod`" ]; then
- echo "I need usermod(8) from the passwd.deb package !";
- exit 1;
-fi
-
-# creating gdm group if he isn't already there
-if ! grep -q ^gdm: /etc/group; then
- echo Adding system group: gdm.
- addgroup gdm
-fi
-
-# creating gdm user if he isn't already there
-if ! grep -q ^gdm: /etc/passwd; then
- echo Adding system user: gdm.
- adduser --system --ingroup gdm --home /var/lib/gdm gdm
-fi
-
-usermod -c "Gnome Display Manager" gdm
-usermod -d "/var/lib/gdm" gdm
-usermod -g "gdm" gdm
-usermod -s "/bin/false" gdm
-
-set -e
-
-if [ -d /var/lib/gdm ]; then
- chown -R gdm:gdm /var/lib/gdm
- chmod 0750 /var/lib/gdm
-fi
-
-# based on xdm's postinst by Branden Robinson
-
-# don't start gdm if we're currently in X on the display it attempts to
-# manage by default.
-nostart=
-gdm_running=
-for hostname in "" "localhost" "$(hostname)" "$(hostname -f)"; do
- if echo $DISPLAY | grep -q "^$hostname:0.*"; then
- nostart=yes
- fi
-done
-
-# or if it's already running
-# NOTE: the binary on disk most likely has changed, so we can't use --exec
-if start-stop-daemon --stop --quiet --signal 0 --pid /var/run/gdm.pid; then
- nostart=yes
- gdm_running=yes
-fi
-
-update-rc.d gdm defaults 99 01 >/dev/null
-
-if [ -d /var/state/gdm ]; then
- if [ "$gdm_running" ]; then
- echo "Note: obsolete directory /var/state/gdm cannot be removed when gdm"
- echo "is running. Reinstall the gdm package (or remove the directory"
- echo "manually) when gdm is not running."
- else
- rm -r /var/state/gdm
- fi
-fi
-
-[ "$nostart" ] || /etc/init.d/gdm start || true
-
-#DEBHELPER#
diff --git a/debian/postrm b/debian/postrm
deleted file mode 100644
index d2440304..00000000
--- a/debian/postrm
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-# Automatically added by dh_installinit
-if [ "$1" = "purge" ] ; then
- update-rc.d gdm remove >/dev/null
-fi
-# End automatically added section
-#DEBHELPER#
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 2df8198c..00000000
--- a/debian/rules
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
-
-debbuilt = debian/gdm.8 debian/gdmchooser.8 debian/gdmlogin.8
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
- ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc/X11
-
- touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
- #/usr/bin/docbook-to-man debian/gdm.sgml > gdm.1
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # Add here commands to clean up after the build process.
- -$(MAKE) distclean
-
- dh_clean
-
-install: build $(debbuilt)
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/gdm.
- $(MAKE) install prefix=$(CURDIR)/debian/gdm/usr sysconfdir=$(CURDIR)/debian/gdm/etc/X11
-
-%.8: %.pod
- pod2man --section=8 --release="GNOME 1.4" --center="Debian GNU/Linux" $< | sed -e 's/debian:://'> $@
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
-# dh_installdebconf
- dh_installdocs
- dh_installexamples
- dh_installmenu
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
- dh_installcron
- dh_installman
- dh_installinfo
-# dh_undocumented
- dh_installchangelogs ChangeLog
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
-# dh_makeshlibs
- dh_installdeb
-# dh_perl
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure