diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-12-03 18:30:11 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2006-12-03 18:30:11 +0000 |
commit | d1066f8e45a4e79c8d312eaa42b4a635887c23d3 (patch) | |
tree | 4636f41c2b82b2d167a983ac0b6f515709e541ab | |
parent | ec7f7778b12854a0faefaac341289445af9d7e7c (diff) |
2006-12-03 Thomas Schwinge <tschwinge@gnu.org>
* debian/Makefile: Remove file.
* debian/README.Debian: Likewise.
* debian/TODO: Likewise.
* debian/changelog: Likewise.
* debian/conffiles: Likewise.
* debian/control: Likewise.
* debian/copyright: Likewise.
* debian/postinst: Likewise.
* debian/prerm: Likewise.
* debian/rc: Likewise.
* debian/rules: Likewise.
* debian/servers.boot: Likewise.
* debian/shlibs: Likewise.
* debian/shlibs.local: Likewise.
* debian/update-rc.d: Likewise.
-rw-r--r-- | debian/ChangeLog | 18 | ||||
-rw-r--r-- | debian/Makefile | 28 | ||||
-rw-r--r-- | debian/README.Debian | 7 | ||||
-rw-r--r-- | debian/TODO | 11 | ||||
-rw-r--r-- | debian/changelog | 386 | ||||
-rw-r--r-- | debian/conffiles | 7 | ||||
-rw-r--r-- | debian/control | 28 | ||||
-rw-r--r-- | debian/copyright | 29 | ||||
-rw-r--r-- | debian/postinst | 89 | ||||
-rw-r--r-- | debian/prerm | 71 | ||||
-rwxr-xr-x | debian/rc | 137 | ||||
-rwxr-xr-x | debian/rules | 199 | ||||
-rw-r--r-- | debian/servers.boot | 22 | ||||
-rw-r--r-- | debian/shlibs | 16 | ||||
-rw-r--r-- | debian/shlibs.local | 15 | ||||
-rwxr-xr-x | debian/update-rc.d | 207 |
16 files changed, 18 insertions, 1252 deletions
diff --git a/debian/ChangeLog b/debian/ChangeLog index d8cb47c8..5027f923 100644 --- a/debian/ChangeLog +++ b/debian/ChangeLog @@ -1,3 +1,21 @@ +2006-12-03 Thomas Schwinge <tschwinge@gnu.org> + + * debian/Makefile: Remove file. + * debian/README.Debian: Likewise. + * debian/TODO: Likewise. + * debian/changelog: Likewise. + * debian/conffiles: Likewise. + * debian/control: Likewise. + * debian/copyright: Likewise. + * debian/postinst: Likewise. + * debian/prerm: Likewise. + * debian/rc: Likewise. + * debian/rules: Likewise. + * debian/servers.boot: Likewise. + * debian/shlibs: Likewise. + * debian/shlibs.local: Likewise. + * debian/update-rc.d: Likewise. + 2002-11-18 Marcus Brinkmann <marcus@gnu.org> * control (Uploader): Add Neal. diff --git a/debian/Makefile b/debian/Makefile deleted file mode 100644 index f94ee802..00000000 --- a/debian/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# Makefile for Debian Hurd packaging directory -# Copyright (C) 1999 Free Software Foundation, Inc. -# Gordon Matzigkeit <gord@fig.org>, 1999-03-17 -# -# This file is part of the GNU Hurd. -# -# The GNU Hurd 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, or (at -# your option) any later version. -# -# The GNU Hurd 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 -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. - -dir := debian -makemode := misc - -# Just distribute the files we need. -DIST_FILES = README.Debian TODO changelog conffiles control copyright \ - rules servers.boot - -include ../Makeconf diff --git a/debian/README.Debian b/debian/README.Debian deleted file mode 100644 index 2e62dc8d..00000000 --- a/debian/README.Debian +++ /dev/null @@ -1,7 +0,0 @@ -GNU Hurd for Debian -=================== - -This is the Hurd release for Debian GNU/Hurd. -It contains essential system software and libraries. - -GNU Hurd Maintainers <bug-hurd@gnu.org> diff --git a/debian/TODO b/debian/TODO deleted file mode 100644 index ba3dc95e..00000000 --- a/debian/TODO +++ /dev/null @@ -1,11 +0,0 @@ -* daemons/rc - -* Split into multiple packages, so that we can provide virtual - packages that correspond closer to the existing Debian GNU/Linux - ones. But be careful that you don't use existing packagenames, or - bug reports will not be assigned correctly. - -* A postinstallation script which sets up translators correctly. - Better a script that manages translators, so changes by users are honored. - -* Split out pic libraries, build profiling libs (when they work). diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 6aac530e..00000000 --- a/debian/changelog +++ /dev/null @@ -1,386 +0,0 @@ -hurd (20021118-1) unstable; urgency=low - - * New snapshot from CVS. - kbd, mouse as usual, with bug fixes from David Walter. - Change terminal type to mach-color. - - -- Marcus Brinkmann <brinkmd@debian.org> Tue, 18 Nov 2002 21:32:22 +0200 - -hurd (20021011-1) unstable; urgency=low - - * New snapshot from CVS. - kbd, mouse as usual. - Build libpthread. - debian/control: Add libncursesw5-dev as build-dependency. - debian/shlibs: Add libpthread - debian/control: Add myself as an uploader. - - -- Neal H. Walfield <neal@desdemona> Fri, 11 Oct 2002 21:42:21 -0400 - -hurd (20020918-1) unstable; urgency=low - - * New snapshot from CVS. - kbd, mouse as usual. - Change terminal type to mach-color. - - -- Marcus Brinkmann <brinkmd@debian.org> Tue, 18 Sep 2002 23:13:06 +0200 - -hurd (20020804-1) unstable; urgency=low - - * New snapshot from CVS. - kbd, mouse as usual. - Change terminal type to mach-color. - - -- Marcus Brinkmann <brinkmd@debian.org> Sun, 4 Aug 2002 20:46:28 +0200 - -hurd (20020523-1) unstable; urgency=low - - * New snapshot from CVS. - kbd, mouse as usual. - Change terminal type to mach-color. - - -- Marcus Brinkmann <brinkmd@debian.org> Thu, 23 May 2002 15:29:40 +0200 - -hurd (20020418-1) unstable; urgency=low - - * New snapshot from CVS. - kbd, mouse as usual. - Change terminal type to mach-color. - - -- Marcus Brinkmann <brinkmd@debian.org> Thu, 18 Apr 2002 15:22:39 +0200 - -hurd (20011105-1) unstable; urgency=low - - * New snapshot from CVS. - * Additional patches: - kbd, mouse as usual (well, the intention was there :). - Change terminal type to mach-color. - Compiled with -O2 rather than -O3. - - -- Marcus Brinkmann <brinkmd@debian.org> Mon, 5 Nov 2001 00:00:26 +0100 - -hurd (20011016-1) unstable; urgency=low - - * New snapshot from CVS. - * Additional patches: - kbd, mouse as usual. - Change terminal type to mach-color. - Compiled with -O2 rather than -O3. - - -- Marcus Brinkmann <brinkmd@debian.org> Tue, 16 Oct 2001 19:43:21 +0200 - -hurd (20011013-1) unstable; urgency=low - - * New snapshot from CVS. - * Additional patches: - kbd, mouse as usual. - Change terminal type to mach-color. - Compiled with -O2 rather than -O3. - * debian/rules: Change way how to find executables by Kevin Kreamer. - * debian/control: Add `file' to build dependencies by Kevin Kreamer. - - -- Marcus Brinkmann <brinkmd@debian.org> Sat, 13 Oct 2001 01:05:30 +0200 - -hurd (20010817-2) unstable; urgency=low - - * Include a copy of update-rc.d, moved from dpkg to init providing - package. - - -- Marcus Brinkmann <brinkmd@debian.org> Sun, 2 Sep 2001 19:40:00 +0200 - -hurd (20010817-1) unstable; urgency=low - - * New snapshot from CVS, closes: #105476, #39894. - * Additional patches: - kbd, mouse as usual. - Change terminal type to mach-color. - Compiled with -O2 rather than -O3. - - -- Marcus Brinkmann <brinkmd@debian.org> Fri, 17 Aug 2001 22:16:01 +0200 - -hurd (20010718-1) unstable; urgency=low - - * New snapshot from CVS. - * Additional patches: - kbd, mouse as usual. - Change terminal type to mach-color. - Compiled with -O2 rather than -O3. - - -- Marcus Brinkmann <brinkmd@debian.org> Thu, 18 Jul 2001 21:43:52 +0200 - -hurd (20010608) unstable; urgency=low - - * New snapshot from CVS. - * Additional patches: - kbd, mouse as usual. - Change terminal type to mach-color. - Compiled with -O2 rather than -O3. - - -- Marcus Brinkmann <brinkmd@debian.org> Fri, 8 Jun 2001 23:02:47 +0200 - -hurd (20010527) unstable; urgency=low - - * New snapshot from CVS. - * Additional patches: - kbd, mouse as usual. - Change terminal type to mach-color. - - -- Marcus Brinkmann <brinkmd@debian.org> Sat, 27 May 2001 01:34:21 +0200 - -hurd (20010426) unstable; urgency=low - - * New snapshot from CVS. - * Additional patches: - kbd, mouse as usual. - Change terminal type to mach-color. - storeio hack to prevent double activation. - - -- Marcus Brinkmann <brinkmd@debian.org> Fri, 27 Apr 2001 00:09:56 +0200 - -hurd (20010311) unstable; urgency=low - - * New snapshot from CVS. - * Additional patches: - kbd, mouse as usual. - Change terminal type to mach-color. - - -- Marcus Brinkmann <brinkmd@debian.org> Sun, 11 Mar 2001 22:45:21 +0100 - -hurd (20010111) unstable; urgency=low - - * New snapshot from CVS, containing lots of small bug fixes, and: - + Together with gnumach 1.2-9, you can access large stores with - storeinfo, storeread (because libstore uses the new interface in - gnumach, and off64_t internally). - + pfinet contains support for network ioctls. The corresponding - changes in the glibc library are not available in Debian yet, though. - * streamdev is renamed to streamio. - - -- Marcus Brinkmann <brinkmd@debian.org> Fri, 12 Jan 2001 00:06:41 +0100 - -hurd (20001204) unstable; urgency=low - - * New snapshot from CVS, with a couple of bug fixes: - pfinet: Don't leak references. - ext2fs, ufs: Avoid a dn_set_?time vs sync thread race. - Corretly deny too long filenames. - nfsd: Fix a couple of memory leaks. - - * Additional patchs: - libdiskfs: Don't crash when symlink target is the empty string. - streamdev, kbd, mouse: New translators for X and klog device. - - -- Marcus Brinkmann <brinkmd@debian.org> Mon, 4 Dec 2000 15:18:39 +0100 - -hurd (20001127) unstable; urgency=low - - * New snapshot from CVS, really fixes isofs now. - - -- Marcus Brinkmann <brinkmd@debian.org> Mon, 27 Nov 2000 21:07:03 +0100 - -hurd (20001126) unstable; urgency=low - - * New snapshot from CVS, closes: #68417, #69281, #68626 - * Fix in 20001030 closes: #72319 - * debian/control: Add build dependencies, closes: #75734 - - -- Marcus Brinkmann <brinkmd@debian.org> Sun, 26 Nov 2000 05:53:19 +0100 - -hurd (20001030) unstable; urgency=low - - * New snapshot from CVS. - * Still contains all the goodies, streadev, kbd, mouse. Now opening - kbd, mouse more than once doesn't crash them (thanks Erik Verbruggen - <ejv@cs.kun.nl>) - * sutils/MAKEDEV.sh: kmsg is really klog. - - -- Marcus Brinkmann <brinkmd@debian.org> Tue, 30 Oct 2000 18:02:29 +0200 - -hurd (20000921) unstable; urgency=low - - * New snapshot from CVS - * Add streamdev by OKUJI Yoshinori - (source: ftp://alpha.gnu.org/contrib/okuji/hurd/streamdev-19990920.tar.gz) - * Add kbd and mouse by UCHIYAMA Yasushi <uch@nop.or.jp>. - * sutils/MAKEDEV.sh: Add kbd and kmsg. No sense to add mouse, as you need - to configure it (see /hurd/mouse --help). - - -- Marcus Brinkmann <brinkmd@debian.org> Sat, 23 Sep 2000 04:27:58 +0200 - -hurd (20000803) unstable; urgency=low - - * New snapshot from CVS. - * isofs: Patch to fix symlink handling. - - -- Marcus Brinkmann <brinkmd@debian.org> Thu, 3 Aug 2000 21:09:44 +0200 - -hurd (20000726) unstable; urgency=low - - * New snapshot from CVS. - * Fixes the infamous zero hole bug (actually both of them). - - -- Marcus Brinkmann <brinkmd@debian.org> Wed, 26 Jul 2000 02:24:06 +0200 - -hurd (20000703) unstable; urgency=low - - * New snapshot from CVS. - * exec/hashexec.c (check_hashbang: Fix off by one error in line 178. - Patch by Kalle Olavi Niemital. - - -- Marcus Brinkmann <bug-hurd@gnu.org> Mon, 3 Jul 2000 00:44:47 +0200 - -hurd (20000130) unstable; urgency=low - - * New snapshot from CVS. Closes: Bug#54282, Bug#40302, Bug#56076. - - -- Marcus Brinkmann <brinkmd@debian.org> Sun, 30 Jan 2000 14:55:39 +0100 - -hurd (19991209) unstable; urgency=low - - * New snapshot from CVS. - - -- Marcus Brinkmann <brinkmd@debian.org> Thu, 9 Dec 1999 23:43:23 +0100 - -hurd (19991022) unstable; urgency=low - - * New snapshot from CVS. - * libdiskfs/init-startup.c: Disable periodic syncing before shutting down. - This fixes the fs-unclean-on-reboot bug! - - -- Marcus Brinkmann <brinkmd@debian.org> Fri, 22 Oct 1999 21:32:02 +0200 - -hurd (19991004) unstable; urgency=high - - * New snapshot from CVS. - term: Realize bogus devices. - ext2fs: Important bug fixes! - - -- Marcus Brinkmann <brinkmd@debian.org> Sun, 3 Oct 1999 18:01:17 +0200 - -hurd (19990923) unstable; urgency=low - - * New snapshot from CVS. - MAKEDEV: pty created with mode 0666. - Implements pathconf for libdiskfs and libnetfs. - Various bug fixes. - * Development package now includes pic libraries. - - -- Marcus Brinkmann <brinkmd@debian.org> Sun, 19 Sep 1999 19:29:00 +0200 - -hurd (19990907) unstable; urgency=low - - * New snapshot from CVS. - * gzip /boot/serverboot to /boot/serverboot.gz - - -- Marcus Brinkmann <brinkmd@debian.org> Mon, 23 Aug 1999 15:12:10 +0200 - -hurd (19990725) unstable; urgency=low - - * New snapshot from CVS. - - -- Marcus Brinkmann <brinkmd@debian.org> Thu, 25 Jul 1999 16:16:03 +0200 - -hurd (19990714) unstable; urgency=low - - * New snapshot from CVS. - * debian/rules: etc/motd is in base-files, do not include it. - * Activate split-init. - - -- Marcus Brinkmann <brinkmd@debian.org> Wed, 14 Jul 1999 16:38:00 +0200 - -hurd (19990616) unstable; urgency=low - - * New snapshot from CVS. - * Now contains info and ps documentation. - - -- Marcus Brinkmann <brinkmd@debian.org> Thu, 17 Jun 1999 17:35:54 +0200 - -hurd (19990524) unstable; urgency=low - - * New snapshot from CVS. - - -- Marcus Brinkmann <brinkmd@debian.org> Mon, 24 May 1999 15:09:45 +0200 - -hurd (19990523) unstable; urgency=low - - * New snapshot from CVS, fixes: #38062, #37670, #37878, #37944. - - -- Marcus Brinkmann <brinkmd@debian.org> Mon, 24 May 1999 01:08:26 +0200 - -hurd (19990517fixed) unstable; urgency=low - - * debian/shlibs: corrected. - * exec/hashexec.c: Applied patch by Roland to make it work. - - -- Marcus Brinkmann <brinkmd@debian.org> Sun, 17 May 1999 00:25:11 +0200 - -hurd (19990517) unstable; urgency=low - - * New snapshot from CVS. - * Add shlibs file. - - -- Marcus Brinkmann <brinkmd@debian.org> Sun, 16 May 1999 15:28:09 +0200 - -hurd (19990425-1) unstable; urgency=low - - * Put shared library symlinks into the hurd-dev package. - * Clarify instructions in provided servers.boot. - * libfshelp/fetch-root.c: De-patched a change by tb which produced - strange errors. - - -- Marcus Brinkmann <brinkmd@debian.org> Thu, 29 Apr 1999 22:47:51 +0200 - -hurd (19990212-2) unstable; urgency=low - - * debian/control: Added Depends line for Hurd. - * Update docs to reflect new group maintainership. - * debian/copyright: Hurd libraries are *not* under the LGPL, so add a - clarifying note. - * Put static libraries and header files into /usr/lib and /usr/include - for people without the /usr symlink. - - -- Gordon Matzigkeit <bug-hurd@gnu.org> Wed, 17 Feb 1999 15:40:44 -0600 - -hurd (19990212-1) unstable; urgency=low - - * New upstream version from CVS. - * Deleted old libthreads... there's no going back now. - - -- Gordon Matzigkeit <gord@debian.org> Fri, 12 Feb 1999 03:25:55 -0600 - -hurd (19981204-1) unstable; urgency=low - - * New upstream release, supposed to work with glibc 2.0.106. - * Commented out use of old libthreads. - - -- Marcus Brinkmann <brinkmd@debian.org> Sun, 20 Dec 1998 04:24:40 +0100 - -hurd (19980915-2) unstable; urgency=low - - * exec/hashexec.c: Applied patch by Thomas Bushnell to fix make. - - -- Marcus Brinkmann <brinkmd@debian.org> Fri, 6 Nov 1998 23:10:11 +0100 - -hurd (19980915-1) unstable; urgency=low - - * New upstream release. - * debian/rules: Strip all binaries. - * debian/TODO: New file. - - -- Marcus Brinkmann <brinkmd@debian.org> Thu, 8 Oct 1998 03:34:40 +0200 - -hurd (19980716-2) unstable; urgency=low - - * Reverted libthreads to provide threadsafe malloc, as we use older - version of glibc2 for now. - * Do not remove size 0 files in 'rules clean', because hurd depends on - them. - * Do not build profiling libraries. - - -- Marcus Brinkmann <brinkmd@debian.org> Tue, 4 Aug 1998 21:58:55 +0200 - -hurd (19980716-1) unstable; urgency=low - - * Initial Version. - - -- Marcus Brinkmann <brinkmd@debian.org> Tue, 4 Aug 1998 21:58:55 +0200 diff --git a/debian/conffiles b/debian/conffiles deleted file mode 100644 index 61edd051..00000000 --- a/debian/conffiles +++ /dev/null @@ -1,7 +0,0 @@ -/boot/servers.boot -/etc/ttys -/etc/login/.bash_login -/etc/login/.bashrc -/etc/login/.hushlogin -/etc/login/.profile -/etc/login/README diff --git a/debian/control b/debian/control deleted file mode 100644 index e02b70c5..00000000 --- a/debian/control +++ /dev/null @@ -1,28 +0,0 @@ -Source: hurd -Section: base -Priority: required -Maintainer: GNU Hurd Maintainers <bug-hurd@gnu.org> -Standards-Version: 3.5.5.0 -Build-Depends: file, mig (>= 1.3-2), texinfo, tetex-bin, autoconf, libncursesw5-dev -Uploaders: Marcus Brinkmann <brinkmd@debian.org>, Neal H. Walfield <neal@debian.org> - -Package: hurd -Priority: required -Section: base -Essential: yes -Depends: ${hurd:Depends} -Provides: makedev, login, fakeroot -Replaces: makedev, login, fakeroot -Conflicts: makedev, login, fakeroot -Architecture: hurd-i386 -Description: The GNU Hurd - This is the GNU Hurd package. It contains essential system software and - libraries. - -Package: hurd-dev -Priority: standard -Section: devel -Architecture: hurd-i386 -Depends: hurd -Description: The GNU Hurd (development files) - This package includes the header files and the static libraries. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 51ed720a..00000000 --- a/debian/copyright +++ /dev/null @@ -1,29 +0,0 @@ -This package was debianized by Marcus Brinkmann <brinkmd@debian.org> -on Tue, 4 Aug 1998 21:52:45 +0200 - -It is currently maintained by its upstream authors, who can be reached -via <bug-hurd@gnu.org>. - -Sources are available from ftp://alpha.gnu.org/pub/hurd/src/ - -Copyright statement: - -Note that the libraries distributed with the GNU Hurd are placed under -the standard GNU General Public License (*not* the Library General -Public License). - - 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 dated June, 1991. - - This program 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 - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -On Debian systems, the complete text of the GNU General Public License -can be found in `/usr/share/common-licenses/GPL'. diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index 05e30d3e..00000000 --- a/debian/postinst +++ /dev/null @@ -1,89 +0,0 @@ -#! /bin/sh -# postinst.skeleton -# Skeleton maintainer script showing all the possible cases. -# Written by Charles Briscoe-Smith, March-June 1998. Public Domain. - -# Abort if any command returns an error value -set -e - -# This script is called as the last step of the installation of the -# package. All the package's files are in place, dpkg has already done -# its automatic conffile handling, and all the packages we depend of -# are already fully installed and configured. - -# The following idempotent stuff doesn't generally need protecting -# against being run in the abort-* cases. - -# Install info files into the dir file. - -install-info --quiet --section "Hurd" "The Hurd" /usr/share/info/hurd.info.gz - -# Manage alternatives. - -update-alternatives --quiet \ - --install /libexec/runsystem runsystem /libexec/runsystem.gnu 20 - -# Take care that a "login" user exists. Useful for our login shell. - -if ! grep --quiet '^login:' /etc/passwd ; then - adduser --quiet --system --home /etc/login --gecos "Not logged in" --no-create-home login - chsh -s /bin/bash login -fi - -case "$1" in - configure) - # Configure this package. If the package must prompt the user for - # information, do it here. - - # There are three sub-cases: - if test "${2+set}" != set; then - # We're being installed by an ancient dpkg which doesn't remember - # which version was most recently configured, or even whether - # there is a most recently configured version. - : - - elif test -z "$2" -o "$2" = "<unknown>"; then - # The package has not ever been configured on this system, or was - # purged since it was last configured. - : - - else - # Version $2 is the most recently configured version of this - # package. - : - - fi ;; - abort-upgrade) - # Back out of an attempt to upgrade this package FROM THIS VERSION - # to version $2. Undo the effects of "prerm upgrade $2". - : - - ;; - abort-remove) - if test "$2" != in-favour; then - echo "$0: undocumented call to \`postinst $*'" 1>&2 - exit 0 - fi - # Back out of an attempt to remove this package, which was due to - # a conflict with package $3 (version $4). Undo the effects of - # "prerm remove in-favour $3 $4". - : - - ;; - abort-deconfigure) - if test "$2" != in-favour -o "$5" != removing; then - echo "$0: undocumented call to \`postinst $*'" 1>&2 - exit 0 - fi - # Back out of an attempt to deconfigure this package, which was - # due to package $6 (version $7) which we depend on being removed - # to make way for package $3 (version $4). Undo the effects of - # "prerm deconfigure in-favour $3 $4 removing $6 $7". - : - - ;; - *) echo "$0: didn't understand being called with \`$1'" 1>&2 - exit 0;; -esac - -exit 0 diff --git a/debian/prerm b/debian/prerm deleted file mode 100644 index e6adae87..00000000 --- a/debian/prerm +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -# Abort if any command returns an error value -set -e - -# This script is called as the first step in removing the package from -# the system. This includes cases where the user explicitly asked for -# the package to be removed, upgrade, automatic removal due to conflicts, -# and deconfiguration due to temporary removal of a depended-on package. - -# Info files should be uninstalled from the dir file in any case. -install-info --quiet --remove hurd - -# Because we run this in almost all cases, we do it here instead below. - -if [ "$1" != "upgrade" ]; then - update-alternatives --remove runsystem /libexec/runsystem.gnu -fi - -case "$1" in - remove) - # This package about to be removed. - : - - # There are two sub-cases: - if test "${2+set}" = set; then - if test "$2" != in-favour; then - echo "$0: undocumented call to \`prerm $*'" 1>&2 - exit 0 - fi - # We are being removed because of a conflict with package $3 - # (version $4), which is now being installed. - : - - else - # The package is being removed in its own right. - : - - fi - - - ;; - - deconfigure) - if test "$2" != in-favour -o "$5" != removing; then - echo "$0: undocumented call to \`prerm $*'" 1>&2 - exit 0 - fi - # Package $6 (version $7) which we depend on is being removed due - # to a conflict with package $3 (version $4), and this package is - # being deconfigured until $6 can be reinstalled. - : - - ;; - upgrade) - # Prepare to upgrade FROM THIS VERSION of this package to version $2. - : - - ;; - failed-upgrade) - # Prepare to upgrade from version $2 of this package TO THIS VERSION. - # This is only used if the old version's prerm couldn't handle it, - # and returned non-zero. (Fix old prerm bugs here.) - : - - ;; - *) echo "$0: didn't understand being called with \`$1'" 1>&2 - exit 0;; -esac - -exit 0 diff --git a/debian/rc b/debian/rc deleted file mode 100755 index d56a5f3f..00000000 --- a/debian/rc +++ /dev/null @@ -1,137 +0,0 @@ -#!/bin/bash -PATH=/bin:/sbin - -# Start the default pager. It will bail if there is already one running. -/hurd/mach-defpager - -# Set up swap space. This will complain if no default pager is functioning. -swapon -a - -# Check filesystems. -if [ -r /fastboot ] -then - # ... or don't. - rm -f /fastboot - echo Fast boot ... skipping disk checks -elif [ $1x = autobootx ] -then - echo Automatic boot in progress... - date - - /sbin/fsck --preen --writable - - case $? in - # Successful completion - 0) - ;; - # Filesystem modified (but ok now) - 1 | 2) - ;; - # Fsck couldn't fix it. - 4 | 8) - echo "Automatic boot failed... help!" - exit 1 - ;; - # Signal that really interrupted something - 20 | 130 | 131) - echo "Boot interrupted" - exit 1 - ;; - # Special `let fsck finish' interruption (SIGQUIT) - 12) - echo "Boot interrupted (filesystem checks complete)" - exit 1 - ;; - # Oh dear. - *) - echo "Unknown error during fsck (exit status $?)" - exit 1 - ;; - esac -fi - -echo -n cleaning up left over files... -rm -f /etc/nologin -rm -f /var/lock/LCK.* -if test -d /tmp; then - - # Forcibly remove all translators in the directory. - # It is then safe to attempt to remove files and descend directories. - # All parameters must begin with "./". - function remove_translators() { - local f - for f; do - settrans -pagfS "$f" - if [ -L "$f" ] || [ ! -d "$f" ]; then - rm "$f" - else - remove_translators "$f"/* "$f"/.[!.] "$f"/.??* - rmdir "$f" - fi - done - } - - (cd /tmp - shopt -s nullglob - for f in * .[!.] .??*; do - case "$f" in - 'lost+found'|'quotas') ;; - *) remove_translators "./$f" - esac - done) - - unset -f remove_translators # because it relies on nullglob - -fi - -if test -d /var/run; then - (cd /var/run && { - find . ! -type d ! -name utmp ! -name innd.pid \ - -exec rm -f -- {} \; - cp /dev/null utmp - if grep -q ^utmp: /etc/group - then - chmod 664 utmp - chgrp utmp utmp - fi; }) -fi - -echo done - -# This file must exist for e2fsck to work. XXX -touch /var/run/mtab - -#echo -n restoring pty permissions... -#chmod 666 /dev/tty[pqrs]* -#echo done - -#echo -n updating /etc/motd... -#echo GNU\'s Not Unix Version `uname --release` > /tmp/newmotd -#egrep -v 'GNU|Version' /etc/motd >> /tmp/newmotd -#mv /tmp/newmotd /etc/motd -#echo done - -chmod 664 /etc/motd - -( - trap ":" INT QUIT TSTP - - if [ -d /etc/rc.boot ] - then - for i in /etc/rc.boot/S* - do - [ ! -f $i ] && continue - $i start - done - fi - if [ -d /etc/rc2.d ] - then - for i in /etc/rc2.d/S* - do - [ ! -f $i ] && continue - $i start - done - fi -) - -date diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 94ec8fe3..00000000 --- a/debian/rules +++ /dev/null @@ -1,199 +0,0 @@ -#!/usr/bin/make -f -############################ -*- Mode: Makefile -*- ########################### -## rules --- -## Author : Marcus Brinkmann <brinkmd@debian.org> -## Created On : Sat, 1 Aug 1998 21:33:31 +0200 -## Created On Node : localhost -## Last Modified By : Marcus Brinkmann -## Last Modified On : Thu, 23 Sep 1999 01:41:38 +0200 -## Last Machine Used: localhost -## Update Count : 2 -## Status : Unknown, Use with caution! -## HISTORY : -## Description : -## -############################################################################### - -# The name of the package (for example, `emacs'). -package := hurd - -DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) - -# Configuration variables (these should be pretty generic) -CC = cc -CFLAGS = -O2 -g -pipe -Wall -LDFLAGS = -s -PREFIX = /usr -BINDIR = $(PREFIX)/bin -MANDIR = $(PREFIX)/man -INFODIR = $(PREFIX)/share/info -DOCDIR = $(PREFIX)/share/doc/$(package) - -# Package specific stuff. The idea is to try to make the rules -# generic (gradually). - -FILES_TO_CLEAN = debian/files include/*.h -DIRS_TO_CLEAN = debian/tmp debian/$(package)-dev build -STAMPS_TO_CLEAN = stamp-build stamp-config - -install_file = install -o root -g root -m 644 -install_program = install -s -o root -g root -m 755 -install_script = install -o root -g root -m 755 -make_directory = install -d -o root -g root -m 755 - -define checkdir - test -f debian/rules -endef - -define checkroot - @test 0 = "`id -u`" || (echo need root priviledges; exit 1) -endef - -# Next is NOT a phony target. - -configure: configure.in - autoconf - -# The next IS a phony target. - -config: stamp-config -stamp-config: configure - $(checkdir) - -mkdir build - cd build && ../configure --disable-profile \ - --build=$(DEB_BUILD_GNU_TYPE) \ - --host=$(DEB_HOST_GNU_TYPE) --prefix= - touch stamp-config - -all build: config stamp-build -stamp-build: - $(checkdir) - cd build && $(MAKE) -# XXX-doc - cd build && $(MAKE) -C doc hurd.info - cd build && $(MAKE) -C doc hurd.ps - touch stamp-build - -clean: - $(checkdir) -# -cd build && make clean no_deps=t - -rm -f $(FILES_TO_CLEAN) $(STAMPS_TO_CLEAN) - -rm -rf $(DIRS_TO_CLEAN) -# XXX-doc - -rm -f doc/hurd.d doc/hurd.info* version.texi - for NAME in hurd/*.h; do \ - if [ -L $$NAME ] ; then \ - rm -f $$NAME ; \ - fi \ - done - -rm -f core `find . \( -name '*.o' -name '*.orig' -o -name '*.rej' -o -name '*~' \ - -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ - -o -name '.*.rej' -o -name '.SUMS' \) -print` - -binary: binary-indep binary-arch - -binary-indep: -# We have nothing to do here. - -binary-arch: build - $(checkdir) - $(checkroot) - -rm -rf debian/{tmp,$(package)-dev} - -# first the general install - $(make_directory) debian/tmp/boot - cd build && $(MAKE) install prefix=`pwd`/../debian/tmp no_prof=t -# kill the profiling libs - -rm -f debian/tmp/lib/*_p.a -# /etc/motd is in base-files! - -rm -f debian/tmp/etc/motd -# probably we'll make debug packages later, for now, strip'em - -strip --strip-unneeded debian/tmp/lib/lib*.so - -strip --strip-debug debian/tmp/lib/lib*.a - -strip --strip-all debian/tmp/bin/* - -strip --strip-all debian/tmp/sbin/* - -strip --strip-all debian/tmp/boot/* - -strip --strip-all debian/tmp/hurd/* - -strip --strip-all debian/tmp/libexec/* - chmod 0644 debian/tmp/lib/lib*.a - chmod 0755 $(addprefix debian/tmp/, \ - include include/hurd \ - lib hurd bin sbin \ - dev libexec etc etc/login) - -# now distribute the files -# first the source package - $(make_directory) debian/$(package)-dev/{DEBIAN,usr/{share/doc,bin,lib}} - ln -s $(package) debian/$(package)-dev$(DOCDIR)-dev - mv debian/tmp/include debian/$(package)-dev/usr/. - mv debian/tmp/lib/*.a debian/$(package)-dev/usr/lib/. - # Create development library links. - for file in `cd debian/tmp/lib && ls *.so.*`; do \ - linkname=`echo "$$file" | sed 's/\..*$$/.so/'`; \ - ln -sf $$file debian/$(package)-dev/usr/lib/$$linkname; \ - done - rm -f debian/tmp/lib/*.so - - dpkg-gencontrol -isp -p$(package)-dev -Pdebian/$(package)-dev - chown -R root.root debian/$(package)-dev - dpkg --build debian/$(package)-dev .. - -# now the shared libs and other stuff - $(make_directory) debian/tmp/DEBIAN - $(make_directory) debian/tmp$(DOCDIR) - $(make_directory) debian/tmp$(INFODIR) - - gzip -9fq debian/tmp/boot/serverboot - -# Only found in CVS, not the distribution. -# $(install_file) BUGS debian/tmp$(DOCDIR) -# $(install_file) TODO debian/tmp$(DOCDIR) - $(install_file) INSTALL debian/tmp$(DOCDIR) - $(install_file) NEWS debian/tmp$(DOCDIR) - $(install_file) README debian/tmp$(DOCDIR) - $(install_file) tasks debian/tmp$(DOCDIR) - $(install_file) ChangeLog debian/tmp$(DOCDIR)/changelog - $(install_file) debian/README.Debian debian/tmp$(DOCDIR) - $(install_file) debian/changelog debian/tmp$(DOCDIR)/changelog.Debian -# XXX-doc - $(install_file) build/doc/hurd.ps debian/tmp$(DOCDIR) - gzip -9frq debian/tmp$(DOCDIR)/. - $(install_file) debian/copyright debian/tmp$(DOCDIR) - -# XXX-doc - $(install_file) build/doc/hurd.info* debian/tmp$(INFODIR) - -gzip -9frq debian/tmp$(INFODIR) -# XXX Remove the vague attempt of the makefiles to install the docs. - rm -fR debian/tmp/info - - $(install_file) debian/servers.boot debian/tmp/boot/servers.boot - $(make_directory) debian/tmp/servers - -# libexec/runsystem is managed by update-alternatives - mv debian/tmp/libexec/runsystem debian/tmp/libexec/runsystem.gnu - -# We have our own rc, slightly modified. - cp debian/rc debian/tmp/libexec/rc - $(install_script) debian/update-rc.d debian/tmp/sbin - - $(install_file) debian/conffiles debian/tmp/DEBIAN/conffiles - $(install_file) debian/shlibs debian/tmp/DEBIAN/shlibs - $(install_script) debian/postinst debian/tmp/DEBIAN/postinst - $(install_script) debian/prerm debian/tmp/DEBIAN/prerm - - # Get list of dynamically linked executables - dpkg-shlibdeps -p$(package) \ - `file debian/tmp/bin/* \ - debian/tmp/hurd/* \ - debian/tmp/lib/* \ - debian/tmp/lib/hurd/console/* \ - debian/tmp/libexec/* \ - debian/tmp/sbin/* \ - | egrep '(executable.*dynamic)|(shared object)' \ - | cut -f 1 -d ':'` - dpkg-gencontrol -isp -p$(package) -Pdebian/tmp - chown -R root.root debian/tmp - dpkg --build debian/tmp .. - -.PHONY: build config clean binary-indep binary-arch binary diff --git a/debian/servers.boot b/debian/servers.boot deleted file mode 100644 index 2eb4da05..00000000 --- a/debian/servers.boot +++ /dev/null @@ -1,22 +0,0 @@ -# GNU Mach boot script for Debian GNU/Hurd. Each line specifies a -# file for serverboot to load (the first word), and actions to be done -# with it. - -# First, the bootstrap filesystem. It needs several ports as arguments, -# as well as the user flags from the boot loader. -/hurd/ext2fs.static --bootflags=${boot-args} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -Tdevice ${root-device} $(task-create) $(task-resume) - -# Now the exec server; to load the dynamically-linked exec server -# program, we have serverboot in fact load and run ld.so, which in -# turn loads and runs /hurd/exec. This task is created, and its task -# port saved in ${exec-task} to be passed to the fs above, but it is -# left suspended; the fs will resume the exec task once it is ready. -/lib/ld.so.1 /hurd/exec $(exec-task=task-create) - -# To swap to a Linux swap partition, use something like the following. -# You can also add swap partitions to /etc/fstab. -#/dev/hd0s2 $(add-linux-paging-file) - -# Don't make serverboot the default pager. The real default pager will -# we started early in /libexec/rc. -die $(serverboot) diff --git a/debian/shlibs b/debian/shlibs deleted file mode 100644 index 54a3f7c1..00000000 --- a/debian/shlibs +++ /dev/null @@ -1,16 +0,0 @@ -libshouldbeinlibc 0.3 hurd (>= 20020804-1) -libftpconn 0.3 hurd (>= 20020804-1) -libports 0.3 hurd (>= 20020804-1) -libthreads 0.3 hurd (>= 20020804-1) -libhurdbugaddr 0.3 hurd (>= 20020804-1) -libstore 0.3 hurd (>= 20020804-1) -libihash 0.3 hurd (>= 20020804-1) -libpipe 0.3 hurd (>= 20020804-1) -libtrivfs 0.3 hurd (>= 20020804-1) -libpager 0.3 hurd (>= 20020804-1) -libnetfs 0.3 hurd (>= 20020804-1) -libiohelp 0.3 hurd (>= 20020804-1) -libfshelp 0.3 hurd (>= 20020804-1) -libps 0.3 hurd (>= 20020804-1) -libdiskfs 0.3 hurd (>= 20020804-1) -libpthread 0.3 hurd (>= 20021011-1) diff --git a/debian/shlibs.local b/debian/shlibs.local deleted file mode 100644 index e518f87d..00000000 --- a/debian/shlibs.local +++ /dev/null @@ -1,15 +0,0 @@ -libshouldbeinlibc 0.3 -libftpconn 0.3 -libports 0.3 -libthreads 0.3 -libhurdbugaddr 0.3 -libstore 0.3 -libihash 0.3 -libpipe 0.3 -libtrivfs 0.3 -libpager 0.3 -libnetfs 0.3 -libiohelp 0.3 -libfshelp 0.3 -libps 0.3 -libdiskfs 0.3 diff --git a/debian/update-rc.d b/debian/update-rc.d deleted file mode 100755 index 83d12ffd..00000000 --- a/debian/update-rc.d +++ /dev/null @@ -1,207 +0,0 @@ -#! /usr/bin/perl -# -# update-rc.d Update the links in /etc/rc[0-9S].d/ -# -# Version: @(#)update-rc.d.pl 2.02 05-Mar-1998 miquels@cistron.nl -# - -$initd = "/etc/init.d"; -$etcd = "/etc/rc"; -$notreally = 0; - -# Print usage message and die. - -sub usage { - print STDERR "update-rc.d: error: @_\n" if ($#_ >= 0); - print STDERR <<EOF; -usage: update-rc.d [-n] [-f] <basename> remove - update-rc.d [-n] <basename> defaults [NN | sNN kNN] - update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] . - -n: not really - -f: force -EOF - exit (1); -} - -# Check out options. - -while($#ARGV >= 0 && ($_ = $ARGV[0]) =~ /^-/) { - shift @ARGV; - if (/^-n$/) { $notreally++; next } - if (/^-f$/) { $force++; next } - if (/^-h|--help$/) { &usage; } - &usage("unknown option"); -} - -# Action. - -&usage() if ($#ARGV < 1); -$bn = shift @ARGV; -if ($ARGV[0] ne 'remove') { - if (! -f "$initd/$bn") { - print STDERR "update-rc.d: $initd/$bn: file does not exist\n"; - exit (1); - } -} elsif (-f "$initd/$bn") { - if (!$force) { - printf STDERR "update-rc.d: $initd/$bn exists during rc.d purge (use -f to force)\n"; - exit (1); - } else { - printf STDERR "update-rc.d: $initd/$bn exists during rc.d purge (continuing)\n"; - } -} - -$_ = $ARGV[0]; -if (/^remove$/) { &checklinks ("remove"); } -elsif (/^defaults$/) { &defaults; &makelinks } -elsif (/^(start|stop)$/) { &startstop; &makelinks; } -else { &usage; } - -exit (0); - -# Check if there are links in /etc/rc[0-9S].d/ -# Remove if the first argument is "remove" and the links -# point to $bn. - -sub is_link () { - my ($op, $fn, $bn) = @_; - if (! -l $fn) { - print STDERR "update-rc.d: warning: $fn is not a symbolic link\n"; - return 0; - } else { - $linkdst = readlink ($fn); - if (! defined $linkdst) { - die ("update-rc.d: error reading symbolic link: $!\n"); - } - if (($linkdst ne "../init.d/$bn") && ($linkdst ne "../init.d/$bn")) { - print STDERR "update-rc.d: warning: $fn is not a link to ../init.d/$bn\n"; - return 0; - } - } - return 1; -} - -sub checklinks { - my ($i, $found, $fn, $islnk); - - print " Removing any system startup links for $initd/$bn ...\n" - if ($_[0] eq 'remove'); - - $found = 0; - - foreach $i (0..9, 'S') { - unless (chdir ("$etcd$i.d")) { - next if ($i =~ m/^[789S]$/); - die("update-rc.d: chdir $etcd$i.d: $!\n"); - } - opendir(DIR, "."); - foreach $_ (readdir(DIR)) { - next unless (/^[SK]\d\d$bn$/); - $fn = "$etcd$i.d/$_"; - $found = 1; - $islnk = &is_link ($_[0], $fn, $bn); - next if ($_[0] ne 'remove'); - if (! $islnk) { - print " $fn is not a link to ../init.d/$bn; not removing\n"; - next; - } - print " $etcd$i.d/$_\n"; - next if ($notreally); - unlink ("$etcd$i.d/$_") || - die("update-rc.d: unlink: $!\n"); - } - closedir(DIR); - } - $found; -} - -# Process the arguments after the "defaults" keyword. - -sub defaults { - my ($start, $stop) = (20, 20); - - &usage ("defaults takes only one or two codenumbers") if ($#ARGV > 2); - $start = $stop = $ARGV[1] if ($#ARGV >= 1); - $stop = $ARGV[2] if ($#ARGV >= 2); - &usage ("codenumber must be a number between 0 and 99") - if ($start !~ /^\d\d?$/ || $stop !~ /^\d\d?$/); - - $start = sprintf("%02d", $start); - $stop = sprintf("%02d", $stop); - - $stoplinks[0] = $stoplinks[1] = $stoplinks[6] = "K$stop"; - $startlinks[2] = $startlinks[3] = - $startlinks[4] = $startlinks[5] = "S$start"; - - 1; -} - -# Process the arguments after the start or stop keyword. - -sub startstop { - - my($letter, $NN, $level); - - while ($#ARGV >= 0) { - if ($ARGV[0] eq 'start') { $letter = 'S'; } - elsif ($ARGV[0] eq 'stop') { $letter = 'K' } - else { - &usage("expected start|stop"); - } - - if ($ARGV[1] !~ /^\d\d?$/) { - &usage("expected NN after $ARGV[0]"); - } - $NN = sprintf("%02d", $ARGV[1]); - - shift @ARGV; shift @ARGV; - $level = shift @ARGV; - do { - if ($level !~ m/^[0-9S]$/) { - &usage( - "expected runlevel [0-9S] (did you forget \".\" ?)"); - } - if (! -d "$etcd$level.d") { - print STDERR - "update-rc.d: $etcd$level.d: no such directory\n"; - exit(1); - } - $level = 99 if ($level eq 'S'); - $startlinks[$level] = "$letter$NN" if ($letter eq 'S'); - $stoplinks[$level] = "$letter$NN" if ($letter eq 'K'); - } while (($level = shift @ARGV) ne '.'); - &usage("action with list of runlevels not terminated by \`.'") - if ($level ne '.'); - } - 1; -} - -# Create the links. - -sub makelinks { - my($t, $i); - my @links; - - if (&checklinks) { - print " System startup links for $initd/$bn already exist.\n"; - exit (0); - } - print " Adding system startup for $initd/$bn ...\n"; - - # nice unreadable perl mess :) - - for($t = 0; $t < 2; $t++) { - @links = $t ? @startlinks : @stoplinks; - for($i = 0; $i <= $#links; $i++) { - $lvl = $i; - $lvl = 'S' if ($i == 99); - next if ($links[$i] eq ''); - print " $etcd$lvl.d/$links[$i]$bn -> ../init.d/$bn\n"; - next if ($notreally); - symlink("../init.d/$bn", "$etcd$lvl.d/$links[$i]$bn") - || die("update-rc.d: symlink: $!\n"); - } - } - - 1; -} |