From b5861e8f5ab6bb72a9b47a10a9ff461f1bb3c2cb Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 22 Feb 1999 10:48:24 +0000 Subject: Maintain debian package info here now. --- debian/README.Debian | 10 ++++ debian/changelog | 66 ++++++++++++++++++++++ debian/control | 19 +++++++ debian/copyright | 54 ++++++++++++++++++ debian/rules | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 305 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..484893c --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,10 @@ +GNU Mach for Debian +------------------- + +This is the GNU version of the Mach microkernel, currently used as the +basis for the GNU Hurd. + +Let us know if you have hardware troubles. +Compiling a fresh kernel with minimal hardware support is recommended. + +GNU Hurd Maintainers diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a998285 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,66 @@ +gnumach (1:1.1.90-2) unstable; urgency=low + + * Fix package administration information to reflect that maintainership + has been transferred to bug-hurd@gnu.org. + * Merge a few configuration fixes from Marcus Brinkmann. + * Install include files into /usr/include, for the benefit of people + without the /usr symlink. + + -- Gordon Matzigkeit Wed, 17 Feb 1999 16:50:54 -0600 + +gnumach (1:1.1.90-1) unstable; urgency=low + + * New version from OKUJI Yoshinori. + * Use DEB_{BUILD,HOST}_GNU_TYPE, in accordance with Marcus's new + cross-build proposal. + + -- Gordon Matzigkeit Tue, 11 Feb 1999 22:14:01 -0600 + +gnumach (19990116-1) unstable; urgency=low + + * New version from OKUJI Yoshinori. + * Added kmsg. + + -- Marcus Brinkmann Mon, 18 Jan 1999 17:11:58 +0100 + +gnumach (19981118-2) unstable; urgency=low + + * Split into gnumach and gnumach-dev. + * Added keyboard patch by Tudor Hulubei to fix some + keybord issues. + * Bumped Standards: version to 2.5.0.0. + + -- Marcus Brinkmann Sun, 3 Jan 1999 13:53:28 +0100 + +gnumach (19981118-1) unstable; urgency=low + + * New version from OKUJI Yoshinori . + This is not a new upstream version, but includes the Linux 2.0.36 driver. + * Strip the kernel. + + -- Marcus Brinkmann Sat, 19 Dec 1998 05:27:30 +0100 + +gnumach (19981025-1) unstable; urgency=low + + * New upstream snapshot. + + -- Marcus Brinkmann Sat, 7 Nov 1998 18:56:53 +0100 + +gnumach (1.1.3-2) unstable; urgency=low + + * Added CPU_TYPE_{I486,PENTIUM,PENTIUMPRO,POWERPC} to + ./include/mach/machine.h. This is needed for latest hurd release. + * Changed description (thank you, Santiagio). + + -- Marcus Brinkmann Sat, 1 Aug 1998 21:33:31 +0200 + +gnumach (1.1.3-1) unstable; urgency=low + + * Initial Version. + + -- Marcus Brinkmann Sat, 1 Aug 1998 21:33:31 +0200 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "bug-hurd@gnu.org" +End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3b64b0a --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: gnumach +Section: base +Priority: optional +Maintainer: GNU Hurd Maintainers +Standards-Version: 2.5.0.0 + +Package: gnumach +Section: base +Priority: optional +Architecture: hurd-i386 +Description: The GNU version of the Mach microkernel + This is the Utah Mach microkernel used by the Hurd. + +Package: gnumach-dev +Section: devel +Priority: optional +Architecture: hurd-i386 +Description: The GNU version of the Mach microkernel + These are the header files for the Utah Mach microkernel used by the Hurd. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ffa939c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,54 @@ +This package was originally debianized by Marcus Brinkmann + on Sat, 1 Aug 1998 21:26:37 +0200 + +It is currently maintained by its upstream authors, who can be reached +via . + +Sources are available from ftp://alpha.gnu.org/gnu/hurd/contrib/okuji/mach/ + +Copyright statement: + +Please look at the source files for individual copyrights. They are covered +by either of the following copyrights: + +Most of these files are licensed under the following terms: +/* + * Mach Operating System + * Copyright (c) 1993-1989 Carnegie Mellon University + * All Rights Reserved. + * + * Permission to use, copy, modify and distribute this software and its + * documentation is hereby granted, provided that both the copyright + * notice and this permission notice appear in all copies of the + * software, derivative works or modified versions, and any portions + * thereof, and that both notices appear in supporting documentation. + * + * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" + * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR + * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. + * + * Carnegie Mellon requests users of this software to return to + * + * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU + * School of Computer Science + * Carnegie Mellon University + * Pittsburgh PA 15213-3890 + * + * any improvements or extensions that they make and grant Carnegie Mellon + * the rights to redistribute these changes. + */ + +Some of these files are licensed under the following terms: + + 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 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..a530806 --- /dev/null +++ b/debian/rules @@ -0,0 +1,156 @@ +#!/usr/bin/make -f +############################ -*- Mode: Makefile -*- ########################### +## rules --- +## Author : Marcus Brinkmann +## Created On : Sat, 1 Aug 1998 21:33:31 +0200 +## Created On Node : localhost +## Last Modified By : Marcus Brinkmann +## Last Modified On : Sun, 8 Nov 1998 13:55:22 +0100 +## Last Machine Used: localhost +## Update Count : 1 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +############################################################################### + +# The name of the package (for example, `emacs'). +package := gnumach +package-dev := gnumach-dev +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) +DOCDIR-DEV = $(PREFIX)/doc/$(package-dev) + +# Package specific stuff. The idea is to try to make the rules +# generic (gradually). + +FILES_TO_CLEAN = debian/files machine +DIRS_TO_CLEAN = debian/tmp +STAMPS_TO_CLEAN = stamp-build stamp-configure + +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 + +configure: stamp-configure +stamp-configure: + $(checkdir) + -mkdir build + cd build && ../configure \ + --enable-com --enable-floppy --enable-ide --enable-lpr \ + --enable-advansys --enable-buslogic --enable-u1434f --enable-ultrastor \ + --enable-aha152x --enable-aha1542 --enable-aha1740 --enable-aic7xxx \ + --enable-futuredomain --enable-in2000 \ + --enable-ne2000 --enable-3c503 --enable-el2 \ + --enable-3c509 --enable-el3 --enable-wd80x3 --enable-3c501 --enable-el1 \ + --enable-ul --enable-hplanplus --enable-hplan --enable-3c59x --enable-vortex \ + --enable-seeq8005 --enable-hp100 --enable-hpj2577 --enable-hpj2573 \ + --enable-hp27248b --enable-hp2585 --enable-ac3200 --enable-e2100 \ + --enable-at1700 --enable-eth16i --enable-eth32 --enable-znet --enable-znote \ + --enable-eexpress --enable-eexpresspro --enable-depca --enable-de100 \ + --enable-de101 --enable-de200 --enable-de201 --enable-de202 --enable-de210 \ + --enable-de422 --enable-ewrk3 --enable-de203 --enable-de204 --enable-de205 \ + --enable-de4x5 --enable-de425 --enable-de434 --enable-de500 --enable-apricot \ + --enable-wavelan --enable-3c507 --enable-el16 --enable-3c505 --enable-elplus \ + --enable-de600 --enable-de620 --enable-skg16 --enable-ni52 --enable-ni65 \ + --enable-atp --enable-kmsg --build=$(BUILDARCH) --host=$(HOSTARCH) + touch stamp-configure + +all build: stamp-build +stamp-build: configure + $(checkdir) + cd build && $(MAKE) + touch stamp-build + +#--enable-ncr5380 --enable-ncr53c400 --enable-ncr53c406a --enable-ncr53c7xx \ +#--enable-ncr53c8xx +#--enable-qlogic --enable-pas16 --enable-seagate --enable-t128 \ +#--enable-eatadma --enable-eatapio --enable-wd7000 \ +#--enable-eata --enable-am53c974 + +clean: + $(checkdir) + -rm -rf build + -mv BAR device-drivers.h + -rm -f $(FILES_TO_CLEAN) $(STAMPS_TO_CLEAN) + -rm -rf $(DIRS_TO_CLEAN) + -rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ + -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ + -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` + +binary: binary-indep binary-arch + +# Build architecture-independent files here. + +binary-indep: build + $(checkdir) + $(checkroot) + -rm -rf debian/tmp + + $(make_directory) debian/tmp/DEBIAN debian/tmp$(DOCDIR-DEV) + + pfx=`cd debian/tmp && pwd` && cd build && $(MAKE) install-headers prefix=$$pfx + mv debian/tmp/include debian/tmp/usr/. + -find debian/tmp -type d | xargs chmod g-w + + $(install_file) NEWS debian/tmp$(DOCDIR-DEV) + $(install_file) ChangeLog debian/tmp$(DOCDIR-DEV)/ChangeLog + $(install_file) ChangeLog.0 debian/tmp$(DOCDIR-DEV) + $(install_file) ChangeLog.00 debian/tmp$(DOCDIR-DEV) + $(install_file) debian/changelog debian/tmp$(DOCDIR-DEV)/changelog.Debian + gzip -9frq debian/tmp$(DOCDIR-DEV)/. + $(install_file) debian/copyright debian/tmp$(DOCDIR-DEV) + ln -s ChangeLog.gz debian/tmp$(DOCDIR-DEV)/changelog.gz + + dpkg-gencontrol -p$(package-dev) -Pdebian/tmp + chown -R root.root debian/tmp + dpkg --build debian/tmp .. + +binary-arch: build + $(checkdir) + $(checkroot) + -rm -rf debian/tmp + + $(make_directory) debian/tmp/DEBIAN debian/tmp$(DOCDIR) + + pfx=`cd debian/tmp && pwd` && cd build && $(MAKE) install-kernel prefix=$$pfx + strip --strip-all debian/tmp/boot/gnumach + -find debian/tmp -type d | xargs chmod g-w + + $(install_file) README debian/tmp$(DOCDIR) + $(install_file) NEWS debian/tmp$(DOCDIR) + $(install_file) ChangeLog debian/tmp$(DOCDIR)/ChangeLog + $(install_file) ChangeLog.0 debian/tmp$(DOCDIR) + $(install_file) ChangeLog.00 debian/tmp$(DOCDIR) + $(install_file) i386/README-Drivers debian/tmp$(DOCDIR) + $(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) + ln -s ChangeLog.gz debian/tmp$(DOCDIR)/changelog.gz + + 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 configure -- cgit v1.2.3