--- gxemul-0.4.6.6.orig/debian/gxemul-doc.docs +++ gxemul-0.4.6.6/debian/gxemul-doc.docs @@ -0,0 +1 @@ +doc --- gxemul-0.4.6.6.orig/debian/control +++ gxemul-0.4.6.6/debian/control @@ -0,0 +1,47 @@ +Source: gxemul +Section: misc +Priority: extra +Maintainer: Jonathan Wiltshire +Build-Depends: debhelper (>= 7), libx11-dev, dpatch +Standards-Version: 3.8.0.0 +Homepage: http://gavare.se/gxemul/ + +Package: gxemul +Architecture: any +Depends: ${shlibs:Depends} +Recommends: gxemul-doc +Description: machine emulator for multiple architectures + GXemul aims at emulating complete machines with enough hardware + emulated to run real unmodified operating systems. The emulation of + these machine types is good enough to run a least one guest operating + system: + . + ARM-based machines: + * CATS (NetBSD/cats, OpenBSD/cats) + * IQ80321 (NetBSD/evbarm) + * NetWinder (NetBSD/netwinder) + MIPS-based machines: + * DECstation 5000/200 (NetBSD/pmax, OpenBSD/pmax, Ultrix, + Linux/DECstation, Sprite) + * Acer Pica-61 (NetBSD/arc) + * NEC MobilePro 770, 780, 800, 880 (NetBSD/hpcmips) + * Malta (NetBSD/evbmips + * Algorithmics P5064 (NetBSD/algor) + * SGI O2 (aka IP32) (NetBSD/sgi) (enough for root-on-nfs) + PowerPC-based machines: + * IBM 6050/6070 (PReP, PowerPC Reference Platform) (NetBSD/prep) + SuperH-based machines: + * Sega Dreamcast (NetBSD/dreamcast) (enough for ramdisk userland) + . + Other machine types and architectures are emulated less completely. + See the documentation in the gxemul-doc package for the exact details + and guides to installing guest operating systems. + +Package: gxemul-doc +Section: doc +Architecture: all +Description: gxemul documentation + This package contains the documentation for gxemul, the machine + emulator for multiple architectures. Among other things, instructions + for how to get different guest operating systems running are + included. --- gxemul-0.4.6.6.orig/debian/changelog +++ gxemul-0.4.6.6/debian/changelog @@ -0,0 +1,238 @@ +gxemul (0.4.6.6-3) unstable; urgency=low + + * Patch against segmentation fault if gxemul is started with arbitrary + parameters (LP: #301041) + + -- Jonathan Wiltshire Mon, 24 Nov 2008 11:10:27 +0000 + +gxemul (0.4.6.6-2) unstable; urgency=low + + * Using debhelper 7 to shrink debian/rules (thanks Sandro Tosi for the + tutorial) + + -- Jonathan Wiltshire Sun, 23 Nov 2008 21:46:20 +0000 + +gxemul (0.4.6.6-1) unstable; urgency=low + + * New upstream release: (Closes: #506704) + - Patch which causes an ARM UND exception to be generated by the instruction word 0xe6000011, which is needed by gdb when running inside the emulator + - Fix for a free() bug in bootlock_iso9660.c + - OpenBSD/landisk installation instructions updated to 4.4 + - Most NetBSD installation instructions updated to 4.0.1 + * Add patch description to 01_manpage_hyphens.dpatch + + -- Jonathan Wiltshire Sun, 16 Nov 2008 17:04:00 +0000 + +gxemul (0.4.6.5-3) unstable; urgency=low + + * Turned hyphens into dashes when used for arguments in the man page + (Closes: #497106) + * Package no longer builds gxemul-doc_0.4.6.5-2_all.deb when binary-indep + target is not called (Closes: #497105) + + -- Jonathan Wiltshire Sat, 30 Aug 2008 01:00:51 +0100 + +gxemul (0.4.6.5-2) unstable; urgency=low + + * Fixed lintian error doc-package-should-be-section-doc + + -- Jonathan Wiltshire Mon, 25 Aug 2008 20:06:00 +0100 + +gxemul (0.4.6.5-1) unstable; urgency=low + + * New upstream release + * New maintainer. (Closes: #482067: O: gxemul -- machine emulator for + multiple architectures) + * No longer ignore make clean errors unless a makefile does not exist + * Standards version 3.8.0.0 + + -- Jonathan Wiltshire Mon, 25 Aug 2008 17:52:27 +0100 + +gxemul (0.4.6.3-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Mon, 25 Feb 2008 07:59:42 +0100 + +gxemul (0.4.6.2-1) unstable; urgency=low + + * New upstream release (closes: #462350). + * debian/control: Upgraded to Standards-Version 3.7.3 (no changes). + + -- Göran Weinholt Thu, 24 Jan 2008 19:49:32 +0100 + +gxemul (0.4.6.1-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Thu, 03 Jan 2008 18:32:27 +0100 + +gxemul (0.4.6-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Sun, 17 Jun 2007 08:58:45 +0200 + +gxemul (0.4.5.1-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Tue, 01 May 2007 12:39:20 +0200 + +gxemul (0.4.5-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Sun, 15 Apr 2007 11:36:41 +0200 + +gxemul (0.4.4.1-1) experimental; urgency=low + + * New upstream release. + * Build with -O2 on m68k (closes: #398659). + + -- Göran Weinholt Sun, 18 Mar 2007 14:28:35 +0100 + +gxemul (0.4.4-1) experimental; urgency=low + + * New upstream release. + + -- Göran Weinholt Mon, 19 Feb 2007 09:09:45 +0100 + +gxemul (0.4.3-1) unstable; urgency=low + + * New upstream release. + * debian/control: Drop the mips64emul dummy package. + * Split the package into gxemul and gxemul-doc and move the + documentation to the latter. + * debian/copyright: Update from upstream's LICENSE file. + + -- Göran Weinholt Sat, 11 Nov 2006 20:24:01 +0100 + +gxemul (0.4.2-2) unstable; urgency=low + + * debian/rules: Use -O0 on m68k to avoid a gcc ICE (closes: #381039). + + -- Göran Weinholt Sat, 26 Aug 2006 20:41:20 +0200 + +gxemul (0.4.2-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Fri, 18 Aug 2006 20:01:07 +0200 + +gxemul (0.4.1-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Sun, 23 Jul 2006 21:21:30 +0200 + +gxemul (0.4.0-1) experimental; urgency=low + + * New upstream release. Uploading to experimental because this release + is instable and the next release will have cleanups and bug fixes. + + -- Göran Weinholt Sat, 24 Jun 2006 14:23:24 +0200 + +gxemul (0.3.8-1) unstable; urgency=low + + * New upstream release. + * debian/control: Add IQ80321 (ARM-based) and IBM 6050 (PowerPC-based) + to the list of emulated machines. + + -- Göran Weinholt Mon, 20 Feb 2006 16:02:32 +0100 + +gxemul (0.3.7-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Sun, 27 Nov 2005 01:01:12 +0100 + +gxemul (0.3.6.2-1) unstable; urgency=low + + * New upstream release. + * debian/control: + + Add CATS (an ARM-based machine) to the list of emulated machines. + + debian/control: Add upstream's homepage to the package description. + + -- Göran Weinholt Sat, 5 Nov 2005 01:34:30 +0100 + +gxemul (0.3.6-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Sun, 9 Oct 2005 06:29:21 +0200 + +gxemul (0.3.5-1) unstable; urgency=low + + * New upstream release + * debian/rules: Don't use -g on m68k because of an ICE in gcc-4.0. + + -- Göran Weinholt Thu, 8 Sep 2005 19:16:01 +0200 + +gxemul (0.3.4-1) unstable; urgency=low + + * New upstream release. + * Updated the package description. + + -- Göran Weinholt Fri, 8 Jul 2005 03:59:38 +0200 + +gxemul (0.3.3.2-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Tue, 14 Jun 2005 20:19:18 +0200 + +gxemul (0.3.3.1-1) unstable; urgency=low + + * New upstream release. + * Upstream renamed from mips64emul to GXemul, updated debian/ + accordingly and added a transitional package. + + -- Göran Weinholt Sun, 5 Jun 2005 03:26:19 +0200 + +mips64emul (0.3-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Wed, 2 Mar 2005 19:35:42 +0100 + +mips64emul (0.2.4-1) unstable; urgency=low + + * New upstream release. + * debian/mips64emul.docs: Install doc/ in its own directory. + + -- Göran Weinholt Thu, 13 Jan 2005 02:54:17 +0100 + +mips64emul (0.2.3-1) unstable; urgency=low + + * New upstream release. + * debian/mips64emul.manpages: manpage moved from doc/ to man/. + + -- Göran Weinholt Thu, 2 Dec 2004 10:22:23 +0100 + +mips64emul (0.2.2-1) unstable; urgency=low + + * New upstream release. + * debian/rules: Switched to dh_installman. + * debian/mips64emul.docs: Include doc/*.png also. + * debian/control: Refined and updated the description. + + -- Göran Weinholt Wed, 3 Nov 2004 19:47:47 +0100 + +mips64emul (0.2-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Sun, 1 Aug 2004 13:36:17 +0200 + +mips64emul (0.1.1-1) unstable; urgency=low + + * New upstream release. + + -- Göran Weinholt Fri, 2 Jul 2004 12:40:55 +0200 + +mips64emul (0.1-1) unstable; urgency=low + + * Initial release (closes: #256172). + + -- Göran Weinholt Wed, 30 Jun 2004 11:22:00 +0200 --- gxemul-0.4.6.6.orig/debian/rules +++ gxemul-0.4.6.6/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +# debian/rules for gxemul. + +export DH_VERBOSE=1 + +CFLAGS = -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +include /usr/share/dpatch/dpatch.make + +configure: configure-stamp +configure-stamp: + dh build --before configure + # Configure the package + CFLAGS="${CFLAGS}" ./configure + touch configure-stamp + +build: patch-stamp configure-stamp build-stamp +build-stamp: + dh build --after configure + touch build-stamp + +clean: unpatch + dh clean + +%: + dh $@ --- gxemul-0.4.6.6.orig/debian/gxemul.install +++ gxemul-0.4.6.6/debian/gxemul.install @@ -0,0 +1 @@ +gxemul usr/bin --- gxemul-0.4.6.6.orig/debian/README.Debian +++ gxemul-0.4.6.6/debian/README.Debian @@ -0,0 +1,6 @@ +This is the Debian package for gxemul, Gavare's eXperimental Emulator. + +Since the documentation for gxemul is rather big, it has been split +into the gxemul-doc package. + + -- Göran Weinholt , Sat, 11 Nov 2006 19:51:34 +0100 --- gxemul-0.4.6.6.orig/debian/watch +++ gxemul-0.4.6.6/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://gavare.se/gxemul/src/gxemul-(\d+\..+)\.tar\.gz debian uupdate --- gxemul-0.4.6.6.orig/debian/copyright +++ gxemul-0.4.6.6/debian/copyright @@ -0,0 +1,44 @@ +This is Debian's prepackaged version of GXemul. It was packaged on +Sat, 26 Jun 2004 04:30:07 +0200 by Göran Weinholt . + +It was downloaded from http://gavare.se/gxemul/ +The author is Anders Gavare . + +Copyright (C) 2003-2007 Anders Gavare. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + + +Exceptions to the license above: + +The demos in the demos/ directories, and the testmachine header files in +src/include/testmachine/, are placed in the public domain. This way, they +can be reused in projects which for some reason are incompatible with the +conditions required by the BSD-style license. + +Some of the header files in the src/include/ directory, containing definitions +of bitfields for hardware devices etc., are copied from NetBSD and other +sources. If you plan to redistribute GXemul (for example as a binary package), +or reuse code from GXemul, then you should check those files for their +license terms. --- gxemul-0.4.6.6.orig/debian/gxemul.manpages +++ gxemul-0.4.6.6/debian/gxemul.manpages @@ -0,0 +1 @@ +man/gxemul.1 --- gxemul-0.4.6.6.orig/debian/compat +++ gxemul-0.4.6.6/debian/compat @@ -0,0 +1 @@ +4 --- gxemul-0.4.6.6.orig/debian/gxemul.docs +++ gxemul-0.4.6.6/debian/gxemul.docs @@ -0,0 +1,3 @@ +README +RELEASE.html +TODO --- gxemul-0.4.6.6.orig/debian/patches/01_manhyphens_patch.dpatch +++ gxemul-0.4.6.6/debian/patches/01_manhyphens_patch.dpatch @@ -0,0 +1,25 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## + +## DP: Replaces hyphens with minus signs in the manpage where appropriate + +--- gxemul-0.4.6.5/man/gxemul.1 2008-06-09 15:22:45.000000000 +0100 ++++ gxemul-0.4.6.5/man/gxemul.1.patched 2008-08-30 17:57:21.000000000 +0100 +@@ -260,7 +260,7 @@ + Set the boot argument (mostly useful for DEC, ARC, or SGI emulation). + Default + .Ar arg +-for DEC is "-a", for ARC/SGI it is "-aN", and for CATS it is "-A". ++for DEC is "-a", for ARC/SGI it is "\-aN", and for CATS it is "\-A". + .It Fl p Ar pc + Add a breakpoint. + .Ar pc +@@ -443,7 +443,7 @@ + NetBSD/pmax filesystem. + .Pp + The following command will start an emulation session based on settings in +-the configuration file "mysession". The -v option tells gxemul to be ++the configuration file "mysession". The \-v option tells gxemul to be + verbose. + .Pp + .Dl "gxemul -v @mysession" --- gxemul-0.4.6.6.orig/debian/patches/00list +++ gxemul-0.4.6.6/debian/patches/00list @@ -0,0 +1,2 @@ +01_manhyphens_patch +05_segfault_params --- gxemul-0.4.6.6.orig/debian/patches/05_segfault_params.dpatch +++ gxemul-0.4.6.6/debian/patches/05_segfault_params.dpatch @@ -0,0 +1,24 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_segfault_params.dpatch by > +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Don't segfault on arbitrary parameters + +@DPATCH@ +diff -urNad gxemul-0.4.6.6~/src/main.c gxemul-0.4.6.6/src/main.c +--- gxemul-0.4.6.6~/src/main.c 2008-11-16 15:35:57.000000000 +0000 ++++ gxemul-0.4.6.6/src/main.c 2008-11-24 11:08:05.000000000 +0000 +@@ -714,6 +714,13 @@ + + get_cmd_args(argc, argv, emul, &diskimages, &n_diskimages); + ++ if (emul->machines[0]->machine_type == MACHINE_NONE) { ++ printf("No machine type specified? Run gxemul -H for a list\n" ++ "of available machine types. Use the -e or -E option(s)\n" ++ "to specify the machine type.\n"); ++ exit(1); ++ } ++ + if (!skip_srandom_call) { + struct timeval tv; + gettimeofday(&tv, NULL);