aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--debian/README.Debian8
-rw-r--r--debian/changelog23
-rw-r--r--debian/control14
-rw-r--r--debian/copyright81
-rwxr-xr-xdebian/rules103
6 files changed, 238 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ee9fac..46aaca9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2000-07-04 Marcus Brinkmann <marcus@gnu.org>
+
+ * debian: New directory for Debian packaging stuff.
+ * debian/README.Debian: New file.
+ * debian/changelog: Likewise.
+ * debian/control: Likewise.
+ * debian/rules: Likewise.
+ * debian/copyright: Likewise.
+
1999-10-11 Roland McGrath <roland@baalperazim.frob.com>
* user.c (WriteIncludes): Fix missing newline in last change.
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..b721553
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+MIG for Debian
+--------------
+
+This package contains the Mach Interface Generator. In Debian, it is
+currently only useful on the Hurd.
+
+Marcus Brinkmann <brinkmd@debian.org>
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2e6248a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,23 @@
+mig (1.1-1) unstable; urgency=low
+
+ * CVS snapshot from new upstream release.
+
+ -- Marcus Brinkmann <brinkmd@debian.org> Tue, 4 Jul 2000 21:58:26 +0200
+
+mig (1.0.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Marcus Brinkmann <brinkmd@debian.org> Mon, 24 May 1999 01:29:26 +0200
+
+mig (1.0.1-1) unstable; urgency=low
+
+ * Initial Release.
+ * Added patch by Roland McGrath to have CC or CPP set.
+
+ -- Marcus Brinkmann <brinkmd@debian.org> Mon, 19 Apr 1999 00:42:10 +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..5140690
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,14 @@
+Source: mig
+Section: devel
+Priority: standard
+Maintainer: GNU Hurd Maintainers <bug-hurd@gnu.org>
+Standards-Version: 2.5.0.1
+
+Package: mig
+Section: devel
+Priority: standard
+Architecture: hurd-i386
+Depends: ${shlibs:Depends}
+Description: Mach 3.0 Interface Generator
+ This is the GNU distribution of the MIG, which is needed to compile glibc,
+ hurd and gnumach on a Debian GNU/Hurd system.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..29ab2d8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,81 @@
+This is the Debian GNU/Linux prepackaged version of GNU MIG.
+MIG was written by Carnegie Mellon university, University of Utah, and GNU.
+See the source code for details on who contributed what.
+
+This package was put together by
+Marcus Brinkmann <brinkmd@debian.org>
+from sources obtained from:
+ ftp://alpha.gnu.org/pub/gnu/hurd/src
+
+The source code is covered by the following copyrights:
+
+/*
+ * Mach Operating System
+ * Copyright (c) 1991,1990 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
+ * 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 the
+ * rights to redistribute these changes.
+ */
+
+/*
+ * Copyright (c) 1994 The University of Utah and
+ * the Computer Systems Laboratory at the University of Utah (CSL).
+ * All rights reserved.
+ *
+ * Permission to use, copy, modify and distribute this software is hereby
+ * granted provided that (1) source code retains these copyright, permission,
+ * and disclaimer notices, and (2) redistributions including binaries
+ * reproduce the notices in supporting documentation, and (3) all advertising
+ * materials mentioning features or use of this software display the following
+ * acknowledgement: `This product includes software developed by the
+ * Computer Systems Laboratory at the University of Utah.''
+ *
+ * THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS
+ * IS" CONDITION. THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF
+ * ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ *
+ * CSL requests users of this software to return to csl-dist@cs.utah.edu any
+ * improvements that they make and grant CSL redistribution rights.
+ *
+ * Author: Bryan Ford, University of Utah CSL
+ */
+
+/* alloca.c -- allocate automatically reclaimed memory
+ (Mostly) portable public-domain implementation -- D A Gwyn */
+
+Some files are covered by the following copyright:
+
+ 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/share/common-licenses/GPL'.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..08ba720
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,103 @@
+#!/usr/bin/make -f
+############################ -*- Mode: Makefile -*- ###########################
+## rules ---
+## Author : Marcus Brinkmann <brinkmd@debian.org>
+## Created On : Mon, 19 Apr 1999 00:42:31 +0200
+## Created On Node : localhost
+## Last Modified By : Marcus Brinkmann <brinkmd@debian.org>
+## Last Modified On : Mon, 19 Apr 1999 00:42:31 +0200
+## Last Machine Used: localhost
+## Update Count : 0
+## Status : Unknown, Use with caution!
+## HISTORY :
+## Description :
+##
+###############################################################################
+
+# The name of the package (for example, `Emacs').
+package := mig
+
+# 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)/share/doc/$(package)
+PERLDIR = $(PREFIX)/lib/perl5
+
+# Package specific stuff. The idea is to try to make the rules
+# generic (gradually).
+
+FILES_TO_CLEAN = debian/files debian/substvars
+DIRS_TO_CLEAN = debian/tmp* build
+STAMPS_TO_CLEAN = stamp-build stamp-binary stamp-configure
+
+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
+
+all build: stamp-build
+
+configure: stamp-configure
+stamp-configure:
+ -mkdir build
+ cd build && ../configure --prefix=/usr --libexecdir=/usr/lib/mig/ --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
+ touch stamp-configure
+
+stamp-build: configure
+ $(checkdir)
+ # build package
+ cd build && $(MAKE) CCOPTIONS="$(CFLAGS)"
+ touch stamp-build
+
+clean:
+ $(checkdir)
+ -cd build && test -f Makefile && $(MAKE) clean
+ -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` TAGS
+
+binary: binary-indep binary-arch
+
+binary-indep:
+
+binary-arch: stamp-binary
+stamp-binary: build
+ $(checkroot)
+ $(checkdir)
+ -rm -rf debian/tmp
+
+ $(make_directory) debian/tmp/DEBIAN
+ cd build && $(MAKE) install prefix=`pwd`/../debian/tmp/usr libexecdir=`pwd`/../debian/tmp/usr/lib/mig
+ strip --strip-all debian/tmp/usr/lib/mig/migcom
+
+ # copy doc files but not INSTALL, it won't be needed
+ # compress all but copyright
+ $(make_directory) debian/tmp/$(DOCDIR)
+ $(install_file) README debian/tmp/$(DOCDIR)
+ $(install_file) NEWS debian/tmp/$(DOCDIR)
+ $(install_file) debian/README.Debian debian/tmp/$(DOCDIR)/README.Debian
+ $(install_file) debian/changelog debian/tmp/$(DOCDIR)/changelog.Debian
+ $(install_file) ChangeLog debian/tmp/$(DOCDIR)/changelog
+ gzip -9frq debian/tmp/$(DOCDIR)/.
+ $(install_file) debian/copyright debian/tmp/$(DOCDIR)/copyright
+
+ dpkg-shlibdeps debian/tmp/usr/lib/mig/migcom
+ dpkg-gencontrol -p$(package) -Pdebian/tmp
+ chown -R root.root debian/tmp
+ dpkg --build debian/tmp ..
+
+.PHONY: build clean binary-indep binary-arch binary configure