summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-02-22 10:45:04 +0000
committerThomas Bushnell <thomas@gnu.org>1999-02-22 10:45:04 +0000
commit592785b0ad86d02eb82a8ae88ee17ba4d3084799 (patch)
tree128dfbcf9bffc73322276671d9cd9bf6b0270376
parent67414a6ca9c6cb9dfa61ac1dff9cbcfd9e7b4d89 (diff)
Maintain debian package info here now.
-rw-r--r--debian/README.Debian7
-rw-r--r--debian/TODO5
-rw-r--r--debian/changelog66
-rw-r--r--debian/conffiles1
-rw-r--r--debian/control24
-rw-r--r--debian/copyright29
-rwxr-xr-xdebian/rules150
-rw-r--r--debian/servers.boot16
8 files changed, 298 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 00000000..6d0c3b8b
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,7 @@
+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
new file mode 100644
index 00000000..f6e20d74
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,5 @@
+* daemons/rc
+* splitting in multiple packages
+* postinst script for translators
+
+shlibdeps!
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000..02112bda
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,66 @@
+hurd (19990221-1) unstable; urgency=low
+
+ * New version from CVS.
+ * Put shared library symlinks into the hurd-dev package.
+
+ --
+
+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
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address: "bug-hurd@gnu.org"
+End:
diff --git a/debian/conffiles b/debian/conffiles
new file mode 100644
index 00000000..0610053f
--- /dev/null
+++ b/debian/conffiles
@@ -0,0 +1 @@
+/boot/servers.boot
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000..f50f9fe3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: hurd
+Section: base
+Priority: required
+Maintainer: GNU Hurd Maintainers <bug-hurd@gnu.org>
+Standards-Version: 2.5.0.0
+
+Package: hurd
+Priority: required
+Section: base
+Essential: yes
+Depends: ${shlibs:Depends}
+Provides: makedev
+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
new file mode 100644
index 00000000..784f5768
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+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 GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/doc/copyright/GPL'.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000..4c1dee8e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,150 @@
+#!/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 : Mon, 4 Jan 1999 03:37:08 +0100
+## Last Machine Used: localhost
+## Update Count : 1
+## Status : Unknown, Use with caution!
+## HISTORY :
+## Description :
+##
+###############################################################################
+
+# The name of the package (for example, `emacs').
+package := hurd
+BUILDARCH := $(DEB_BUILD_GNU_TYPE)
+HOSTARCH := $(DEB_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
+DOCDIR = $(PREFIX)/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
+
+install_file = install -o root -g root -m 644
+install_program = install -s -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
+
+all build: stamp-build
+
+configure:
+ aclocal
+ autoconf
+
+stamp-build: configure
+ $(checkdir)
+ mkdir build
+ cd build && ../configure --build=$(BUILDARCH) --host=$(HOSTARCH) --prefix=
+# go and fetch a few beers now...
+ cd build && $(MAKE) no_prof=t
+ 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)
+ 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
+
+# Build architecture-independent files 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
+# 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 debian/tmp/include debian/tmp/include/hurd debian/tmp/lib debian/tmp/hurd debian/tmp/bin debian/tmp/sbin debian/tmp/dev debian/tmp/libexec
+
+# now distribute the files
+# first the source package
+ $(make_directory) debian/$(package)-dev/{DEBIAN,usr/{doc,bin,lib}}
+ ln -s $(package) debian/$(package)-dev/usr/doc/$(package)-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 /lib/$$file debian/$(package)-dev/usr/lib/$$linkname; \\
+ done
+ rm -f debian/tmp/lib/*.so
+
+ dpkg-gencontrol -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,usr/doc/$(package)}
+# kill some nonsense
+ rm -fr debian/tmp/root
+ -rm -f debian/tmp/etc/*
+# 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
+ gzip -9frq debian/tmp$(DOCDIR)/.
+ $(install_file) debian/copyright debian/tmp$(DOCDIR)
+
+ $(install_file) debian/servers.boot debian/tmp/boot/servers.boot
+ $(make_directory) debian/tmp/servers
+
+ $(install_file) debian/conffiles debian/tmp/DEBIAN/conffiles
+
+ dpkg-shlibdeps -p$(package) debian/tmp/bin/* debian/tmp/libexec/* debian/tmp/hurd/* debian/tmp/sbin/*
+ dpkg-gencontrol -p$(package) -Pdebian/tmp
+ chown -R root.root debian/tmp
+ dpkg --build debian/tmp ..
+
+binary-indep: build
+# We have nothing to do here.
+
+.PHONY: build clean binary-indep binary-arch binary
diff --git a/debian/servers.boot b/debian/servers.boot
new file mode 100644
index 00000000..d25129d8
--- /dev/null
+++ b/debian/servers.boot
@@ -0,0 +1,16 @@
+# Boot script file for booting Debian GNU/Hurd. Each line specifies a file to
+# be loaded by the boot loader (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 the boot loader 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)
+
+# default pager
+#/dev/hd0s2 $(add-paging-file) $(default-pager)