--- nasm-2.06.orig/debian/rdflib.1 +++ nasm-2.06/debian/rdflib.1 @@ -0,0 +1,39 @@ +.TH RDFLIB 1 "September 6, 1999" "Debian Project" "Debian Manual" +.SH NAME +rdflib \- manage a library file for use with ldrdf(1) +.SH SYNOPSIS +.B rdflib +.I command +.I arguments +.SH DESCRIPTION +.B rdflib +manages a library file which can be used by +.BR ldrdf (1). +It is supplied with a shell script +.B makelib +which should probably be used to create libraries. +.SH COMMANDS +.TP +.BI c " library-file" +Create (or truncate) a library. +.TP +.BI a " library-file object-file module" +Add the +.I object-file +to the library under the name +.IR module . +.TP +.BI x " library-file module object-file" +Extract a +.I module +from the library to the file +.IR object-file . +.TP +.B t " library-file" +Display a list of modules in the library. +.SH NOTES +A remove command will be added soon. +.SH AUTHORS +Julian Hall . +.PP +This manual page was written by Matej Vela . --- nasm-2.06.orig/debian/control +++ nasm-2.06/debian/control @@ -0,0 +1,20 @@ +Source: nasm +Section: devel +Priority: optional +Maintainer: Anibal Monsalve Salazar +Standards-Version: 3.8.2 +Build-Depends: debhelper (>= 7), texinfo, quilt +Homepage: http://nasm.sourceforge.net/ + +Package: nasm +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: General-purpose x86 assembler + Netwide Assembler. NASM will currently output flat-form binary files, + a.out, COFF and ELF Unix object files, and Microsoft 16-bit DOS and + Win32 object files. + . + Also included is NDISASM, a prototype x86 binary-file disassembler + which uses the same instruction table as NASM. + . + NASM is released under the GNU Lesser General Public License (LGPL). --- nasm-2.06.orig/debian/rdfdump.1 +++ nasm-2.06/debian/rdfdump.1 @@ -0,0 +1,24 @@ +.TH RDFDUMP 1 "September 6, 1999" "Debian Project" "Debian Manual" +.SH NAME +rdfdump \- dumps an RDOFF object in human-readable form +.SH SYNOPSIS +.B rdfdump +[-v] +.RI < filename > +.SH DESCRIPTION +.B rdfdump +prints a list of the header records in an RDOFF object in human-readable +form, and optionally prints a hex dump of the contents of the segments. +.PP +.B rdfdump +supports both version 1 and 2 of RDOFF. It will give warnings if the RDOFF2 +format is violated (it looks for incorrect lengths for header records, and +checks the overall length count at the start of the file). +.SH OPTIONS +.TP +-v +Print a hex dump of the contents of the segments. +.SH AUTHORS +Julian Hall . +.PP +This manual page was written by Matej Vela . --- nasm-2.06.orig/debian/doc-base +++ nasm-2.06/debian/doc-base @@ -0,0 +1,18 @@ +Document: nasm-manual +Title: NASM Manual +Author: Julian Hall and Simon Tatham +Abstract: Documentation for NASM, the Netwide Assembler + NASM is an assembler targetting the Intel x86 series of processors, + with portable source. +Section: Programming + +Format: HTML +Index: /usr/share/doc/nasm/html/nasmdoc0.html +Files: /usr/share/doc/nasm/html/nasm*.html + +Format: info +Index: /usr/share/info/nasm.info.gz +Files: /usr/share/info/nasm.info*.gz + +Format: text +Files: /usr/share/doc/nasm/nasmdoc.txt.gz --- nasm-2.06.orig/debian/rdx.1 +++ nasm-2.06/debian/rdx.1 @@ -0,0 +1,21 @@ +.TH RDX 1 "September 6, 1999" "Debian Project" "Debian Manual" +.SH NAME +rdx \- load and execute an RDOFF object +.SH SYNOPSIS +.B rdx +.I object +.SH DESCRIPTION +.B rdx +loads an RDOFF +.IR object , +and then calls +.RB ` _main ', +which it expects to be a C-style function, accepting two parameters, +.I argc +and +.I argv +in normal C style. +.SH AUTHORS +Julian Hall . +.PP +This manual page was written by Matej Vela . --- nasm-2.06.orig/debian/compat +++ nasm-2.06/debian/compat @@ -0,0 +1 @@ +7 --- nasm-2.06.orig/debian/watch +++ nasm-2.06/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/nasm/ nasm-([\d\.]+).tar.gz --- nasm-2.06.orig/debian/rules +++ nasm-2.06/debian/rules @@ -0,0 +1,52 @@ +#! /usr/bin/make -f + +include /usr/share/quilt/quilt.make + +export CFLAGS := -O2 +ifneq ($(findstring debug,$(DEB_BUILD_OPTIONS)),) +CFLAGS += -g +endif + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build.stamp + mv config.h.in .config.h.in + [ ! -f Makefile ] || $(MAKE) distclean + mv .config.h.in config.h.in + [ ! -f doc/Makefile ] || $(MAKE) -C doc spotless + rm -f `find -name Makefile` + +build: patch build.stamp +build.stamp: + dh_testdir + ./configure --prefix=/usr --mandir=/usr/share/man + $(MAKE) all doc + > $@ + +binary: binary-arch binary-indep + +binary-arch: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs usr/bin usr/share/man/man1 + $(MAKE) INSTALLROOT=$(CURDIR)/debian/nasm install install_rdf +# dh_installdocs AUTHORS README TODO doc/html doc/nasmdoc.txt doc/nasmdoc.ps doc/nasmdoc.pdf + dh_installdocs AUTHORS README TODO doc/html doc/nasmdoc.txt doc/nasmdoc.ps + dh_installexamples misc/nasm.sl test/* + dh_installman debian/*.1 + dh_installinfo doc/info/* + dh_installchangelogs CHANGES + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: build + +.PHONY: clean build binary binary-arch binary-indep --- nasm-2.06.orig/debian/copyright +++ nasm-2.06/debian/copyright @@ -0,0 +1,161 @@ +Upstream sources of nasm were obtained from +. +Newer sources are downloaded from +. + +nasm-0.99.06-20071101.tar.gz was downloded as +nasm_0.99.06.orig.tar.gz from +ftp://ftp.zytor.com/pub/nasm/snapshots/20071101/nasm-0.99.06-20071101.tar.gz + +The original authors are Julian Hall and Simon +Tatham . + +nasm was packaged for Debian by Vincent Renardias , +and subsequently maintained by Matej Vela and later +Ivo Timmermans . + +Christian Kesselheim was the previous maintainer +of this package. It's currently maintained by +Anibal Monsalve Salazar + +Copyright Notices + + copyright (C) 1996 Simon Tatham and Julian Hall + Copyright (C) 1999 by Andrew Zabolotny + Copyright (C) 1991-1998 SciTech Software, Inc. + Copyright 2007 The NASM Authors + Copyright 1998-2003, O'Reilly & Associates + Copyright (c) 1996,99 Julian Hall. All rights reserved. + Copyright (c) 2002 RET & COM Research. + Copyright (C) 1998-2000 by DooM Legacy Team. + copyright (C) 1998 John S. Fine + +nasm is released under the terms of the GNU Lesser General Public License. +(See section X below.) + + Terms and Conditions for the use of the Netwide Assembler + ========================================================= + + Can I have the gist without reading the legalese? + ------------------------------------------------- + + Basically, NASM is free. You can't charge for it. You can copy it as + much as you like. You can incorporate it, or bits of it, into other + free programs if you want. (But we want to know about it if you do, + and we want to be mentioned in the credits.) We may well allow you + to incorporate it into commercial software too, but we'll probably + demand some money for it, and we'll certainly demand to be given + credit. And in extreme cases (although I can't immediately think of + a reason we might actually want to do this) we may refuse to let you + do it at all. + + NASM LICENCE AGREEMENT + ====================== + + By "the Software" this licence refers to the complete contents of + the NASM archive, excluding this licence document itself, and + excluding the contents of the `test' directory. The Netwide + Disassembler, NDISASM, is specifically included under this licence. + + I. The Software is freely redistributable; anyone may copy the + Software, or parts of the Software, and give away as many copies as + they like to anyone, as long as this licence document is kept with + the Software. Charging a fee for the Software is prohibited, + although a fee may be charged for the act of transferring a copy, + and you can offer warranty protection and charge a fee for that. + + II. The Software, or parts thereof, may be incorporated into other + freely redistributable software (by which we mean software that may + be obtained free of charge) without requiring permission from the + authors, as long as due credit is given to the authors of the + Software in the resulting work, as long as the authors are informed + of this action if possible, and as long as those parts of the + Software that are used remain under this licence. + + III. Modified forms of the Software may be created and distributed + as long as the authors are informed of this action if possible, as + long as the resulting work remains under this licence, as long as + the modified form of the Software is distributed with documentation + which still gives credit to the original authors of the Software, + and as long as the modified form of the Software is distributed with + a clear statement that it is not the original form of the Software + in the form that it was distributed by the authors. + + IV. The Software, or parts thereof, may be incorporated into other + software which is not freely redistributable (i.e. software for + which a fee is charged), as long as permission is granted from the + authors of the Software. The authors reserve the right to grant this + permission only for a fee, which may at our option take the form of + royalty payments. The authors also reserve the right to refuse to + grant permission if they deem it necessary. For further information + about who exactly the authors are, see clause XI below. + + V. The Software may be incorporated, in its original archive form, + into software collections or archives which are not freely + redistributable, as long as it is clearly stated that the Software + itself remains freely redistributable and remains under this licence + and no other. Such collections are deemed not to fall under article + IV of this licence. + + VI. Object files or programs generated by the Software as output do + not fall under this licence at all, and may be placed under any + licence the author wishes. The authors explicitly lay no claim to, + and assert no rights over, any programs written by other people and + assembled into object form by the Software. + + VII. You may not copy, modify or distribute the Software except + under the terms given in this licence document. You may not + sublicense the Software or in any way place it under any other + licence than this one. Since you have not signed this licence, you + are not of course required to accept it; however, no other licence + applies to the Software, and nothing else grants you any permission + to copy, modify, sublicense or distribute the Software in any way. + These actions are therefore prohibited if you do not accept this + licence. + + VIII. There is no warranty for the Software, to the extent permitted + by applicable law. The authors provide the Software "as is" without + warranty of any kind, either expressed or implied, including but not + limited to the implied warranties of merchantability and fitness for + a particular purpose. The entire risk as to the quality and + performance of the Software is with you. Should the Software prove + defective, you assume the cost of all necessary servicing, repair or + correction. + + IX. In no event, unless required by applicable law or agreed to in + writing, will any of the authors be liable to you for damages, + including any general, special, incidental or consequential damages, + arising out of the use or the inability to use the Software, + including but not limited to loss of data or data being rendered + inaccurate or a failure of the Software to operate with any other + programs, even if you have been advised of the possibility of such + damages. + + X. In addition to what this Licence otherwise provides, the Software + may be distributed in such a way as to be compliant with the GNU + Lesser General Public Licence, as published by the Free Software Foundation, + Cambridge, MA, USA; version 2.1, or, at your option, any later version; + incorporated herein by reference. You must include a copy of this + Licence with such distribution. Furthermore, patches sent to the + authors for the purpose of inclusion in the official release version + are considered cleared for release under the full terms of this + Licence. + + XI. The authors of NASM are the original authors (Simon Tatham and + Julian Hall) and all those who the original authors feel have + contributed significantly to the overall project. If you wish to + contact the authors, Julian Hall (jules@earthcorp.com) should be your + first port of call. + + XII. Should any part of this agreement be deemed unenforcable, it is + intended that the remainder of the agreement be held in force. + + END OF LICENCE AGREEMENT + +The Debian packaging is copyright (C) 1996-1999 Vincent Renardias, (C) +1999-2001 Matej Vela, (C) 2001 Ivo Timmermans, (C) 2002 Christian +Kesselheim and also released under the terms of the GNU General +Public License; version 2, or any later version. + +On Debian systems, the complete text of the GNU General Public License +can be found in /usr/share/common-licenses/GPL-2. --- nasm-2.06.orig/debian/ldrdf.1 +++ nasm-2.06/debian/ldrdf.1 @@ -0,0 +1,41 @@ +.TH LDRDF 1 "September 6, 1999" "Debian Project" "Debian Manual" +.SH NAME +ldrdf \- link RDOFF objects and libraries produced by rdflib(1) +.SH SYNOPSIS +.B ldrdf +.RI "[-o " output-file ] +.I object-file\c +.RI "... [-l" library "...]" +.SH DESCRIPTION +.B ldrdf +is a version of unix +.BR ld (1) +(or DOS LINK) for use with RDOFF files. It is capable of linking RDOFF +objects, and libraries produced with the +.BR rdflib (1) +utility. +.PP +Libraries must be specified with their path as no search is performed. +Modules in libraries are not linked to the program unless they are +referred to. +.SH OPTIONS +.TP +.RI "-o " output-file +Specify an output file. The default output filename is +.RI ' aout.rdx '. +.TP +-v +Increase verbosity level. Currently 4 verbosity levels are available: +default (which only prints error information), normal (which prints +information about the produced object, -v), medium (which prints information +about what the program is doing, -v -v) and high (which prints all available +information, -v -v -v). +.TP +-p +Change alignment value to which multiple segments combigned into a single +segment should be aligned (must be either 1, 2, 4, 8, 16, 32 or 256; default +is 16). +.SH AUTHORS +Julian Hall . +.PP +This manual page was written by Matej Vela . --- nasm-2.06.orig/debian/rdf2com.1 +++ nasm-2.06/debian/rdf2com.1 @@ -0,0 +1 @@ +.so man1/rdf2bin.1 --- nasm-2.06.orig/debian/rdf2bin.1 +++ nasm-2.06/debian/rdf2bin.1 @@ -0,0 +1,31 @@ +.TH RDF2BIN 1 "September 6, 1999" "Debian Project" "Debian Manual" +.SH NAME +rdf2bin, rdf2com \- convert an RDOFF object file to flat binary +.SH SYNOPSIS +.B rdf2bin +.RI "[-o " relocation-origin ] +.RI "[-p " segment-alignment ] +.I input-file +.I output-file +.br +.B rdf2com +.RI "[-p " segment-alignment ] +.I input-file +.I output-file +.SH OPTIONS +.TP +.RI "-o " relocation-origin +Relocate at origin +.IR relocation-origin . +If invoked as +.BR rdf2com , +the default relocation origin will be 0x100. Else, the default origin is 0. +.TP +.RI "-p " segment-alignment +Pad segments until their size is a multiple of +.IR segment-alignment . +By default, 16 is used. +.SH AUTHORS +Julian Hall . +.PP +This manual page was written by Matej Vela . --- nasm-2.06.orig/debian/changelog +++ nasm-2.06/debian/changelog @@ -0,0 +1,321 @@ +nasm (2.06-1) unstable; urgency=low + + * New upstream + * Fix out-of-date-standards-version + * Fix copyright-refers-to-symlink-license + * DH compatibility level is 7 + + -- Anibal Monsalve Salazar Sun, 12 Jul 2009 22:10:05 +1000 + +nasm (2.05.01-1) unstable; urgency=low + + * New upstream + * Refresh 01-doc-Makefile.in.patch + + -- Anibal Monsalve Salazar Sat, 01 Nov 2008 16:55:12 +1100 + +nasm (2.03.01-1) unstable; urgency=low + + * New upstream + doc/nasmdoc.rtf is not shipped + * Standards version is 3.8.0 + * Fix CVE-2008-2719 + Off-by-one error in the ppscan function (preproc.c) + closes: #486715 + * Doc-base section is Programming + + -- Anibal Monsalve Salazar Tue, 17 Jun 2008 22:47:55 +1000 + +nasm (2.02-1) unstable; urgency=low + + * New upstream + * Added debian/watch file + * Updated debian/copyright + + -- Anibal Monsalve Salazar Fri, 29 Feb 2008 20:01:54 +1100 + +nasm (2.01-1) unstable; urgency=low + + * New upstream. Closes: #461201 + * debian/control + - Bumped Standards-Version to 3.7.3 + - Added homepage header + * Removed debian/patches/04-FreeBSD-ELF-header.patch + - Bug#450935 was resolved upstream. See + http://sourceware.org/bugzilla/show_bug.cgi?id=4424 + + -- Anibal Monsalve Salazar Tue, 22 Jan 2008 20:24:58 +1100 + +nasm (0.99.06-2) unstable; urgency=low + + * Fixed FreeBSD ELF header, closes: #450935 + Patch by Petr Salinger + + -- Anibal Monsalve Salazar Tue, 13 Nov 2007 18:20:50 +1100 + +nasm (0.99.06-1) unstable; urgency=low + + * New upstream release. + * Build-depends on quilt. + * Updated debian/copyright. + + -- Anibal Monsalve Salazar Sat, 03 Nov 2007 21:37:15 +1100 + +nasm (0.99.05-1) unstable; urgency=low + + * New upstream release. + + -- Anibal Monsalve Salazar Mon, 22 Oct 2007 23:15:29 +1000 + +nasm (0.99.04-1) unstable; urgency=low + + * New upstream release. + + -- Anibal Monsalve Salazar Thu, 11 Oct 2007 08:42:16 +1000 + +nasm (0.99.02-1) unstable; urgency=low + + * New upstream release. + Fixed "nasm build errors: invalid operands in non-64-bit mode", + Closes: #441383 + + -- Anibal Monsalve Salazar Mon, 10 Sep 2007 09:28:58 +1000 + +nasm (0.99.01-1) unstable; urgency=low + + * debian/control Build-Depends: removed gs-common. + Please see #428876 and #435229. + * Fixed the following lintian messages: + - W: nasm: extra-license-file usr/share/doc/nasm/COPYING.gz + + -- Anibal Monsalve Salazar Tue, 21 Aug 2007 22:40:37 +1000 + +nasm (0.99.01-0) unstable; urgency=low + + * New upstream release. Closes: #319344. + * New maintainer. Closes: #438649. + * Ack NMUs. Closes: #285889, #309049. + * Fixed "FTBFS if built twice in a row". Closes: #424593. + Patch by Joachim Reichel . + * debian/control: added Homepage. + * Fixed the following lintian messages: + - W: nasm source: debian-rules-sets-DH_COMPAT line 3 + - W: nasm source: package-uses-deprecated-debhelper-compat-version 3 + - W: nasm source: ancient-standards-version 3.5.6 (current is 3.7.2) + + -- Anibal Monsalve Salazar Sun, 19 Aug 2007 10:10:42 +1000 + +nasm (0.98.38-1.2) unstable; urgency=HIGH + + * NMU + * Patch from Moritz Muehlenhoff to avoid a buffer overflow in the outieee + code. Closes: #309049 (CAN-2005-1194) + + -- Joey Hess Tue, 17 May 2005 21:56:06 -0400 + +nasm (0.98.38-1.1) unstable; urgency=HIGH + + * NMU + * Fix buffer overflow in error message handling. (CAN-2004-1287) + Closes: #285889 + + -- Joey Hess Thu, 30 Dec 2004 14:45:47 -0500 + +nasm (0.98.38-1) unstable; urgency=low + + * New upstream release + + -- Christian Kesselheim Mon, 5 Apr 2004 23:20:39 +0200 + +nasm (0.98.34-1) unstable; urgency=low + + * New upstream release + + -- Christian Kesselheim Fri, 12 Jul 2002 15:18:52 +0200 + +nasm (0.98.33-2) unstable; urgency=low + + * Build dependencies fixed; gs-common added (closes: #149276) + + -- Christian Kesselheim Sun, 9 Jun 2002 18:56:21 +0200 + +nasm (0.98.33-1) unstable; urgency=low + + * New upstream release + + -- Christian Kesselheim Thu, 6 Jun 2002 13:25:11 +0200 + +nasm (0.98.30-1) unstable; urgency=low + + * New upstream release (closes: #144394) + + -- Christian Kesselheim Thu, 9 May 2002 00:18:02 +0200 + +nasm (0.98.28cvs-1) unstable; urgency=high + + * The "I took the wrong CVS tag last time" release; my assumption, that + 0.98bf would represent the stable branch was a misunderstanding. It's + just a (quite old) stable release (without P4 support), instead + (closes: #143814, #136525) + * Should build on hppa, again (closes: #143373) + * License changed from GPL to LGPL + + -- Christian Kesselheim Mon, 22 Apr 2002 11:19:59 +0200 + +nasm (0.98.28bf-1) unstable; urgency=high + + * New maintainer + * New upstream release; switched back to the bugfixed ("bf") branch + (closes: #136263) + * ndisasm segfaults no longer on "damn near any file" (closes: #128498) + * Broken macros fixed (closes: #132755) + * The "org" directive is no longer case sensitive :-) (closes: #122295) + * Nasm should not generate wrong addresses in some .text situations + any more (closes: #136525) + + -- Christian Kesselheim Wed, 17 Apr 2002 12:28:43 +0200 + +nasm (0.98.08-2) unstable; urgency=low + + * Set maintainer to QA. + + -- Ivo Timmermans Thu, 11 Apr 2002 20:32:48 +0200 + +nasm (0.98.08-1) unstable; urgency=low + + * New upstream release. + + -- Ivo Timmermans Tue, 20 Nov 2001 15:12:43 +0100 + +nasm (0.98-5) unstable; urgency=low + + * New maintainer. (Closes: #116548) + + -- Ivo Timmermans Mon, 22 Oct 2001 16:21:29 +0200 + +nasm (0.98-4) unstable; urgency=low + + * nasm.c: `-I' is same as `-i'. (Thanks to Tom Joseph for the patch.) + * Orphaning. + * Moved to debhelper 3. + * Conforms to Standards version 3.5.4: + * Added build dependencies. + * debian/rules: Support the `debug' build option. + + -- Matej Vela Thu, 31 May 2001 10:53:25 +0200 + +nasm (0.98-3) unstable; urgency=low + + * Made fully FHS compliant. Closes: Bug#45757. + * debian/rules: Removed `cd rdoff && $(MAKE)' since it was + redundant. + + -- Matej Vela Thu, 23 Sep 1999 07:20:09 +0200 + +nasm (0.98-2) unstable; urgency=low + + * New maintainer. + * Wrote missing manual pages. + * Removed `-ansi -pedantic' from GCCFLAGS as recommended in Policy + section 4.1. Added an #ifndef around the strdup prototype in + rdoff/rdoff.h to prevent compilation from breaking since glibc + defines strdup as a macro. + * Updated debian/copyright with respect to license changes from + 0.98p6 and 0.98. + * Added doc-base support. + * Installing MODIFIED to /usr/doc/nasm since it is referenced by + Changes. Not installing Readme because it's about lcc. + * Conforms to Standards version 3.0.1. + * Converted to debhelper. + + -- Matej Vela Mon, 6 Sep 1999 02:09:46 +0200 + +nasm (0.98-1) unstable; urgency=low + + * Upstream upgrade. + * Now use my @debian.org address. + + -- Vincent Renardias Fri, 4 Jun 1999 13:33:41 +0200 + +nasm (0.97-1.2) frozen unstable; urgency=low + + * Non-maintainer upload + * Fixed copyright file: the Licence changed in 0.97 but we didn't + notice it + + -- Juan Cespedes Mon, 14 Dec 1998 12:56:26 +0100 + +nasm (0.97-1.1) frozen unstable; urgency=medium + + * Non-maintainer upload + * Updated copyright file to show that this package belongs to `main' + (fixes important Bug#21945) + + -- Juan Cespedes Wed, 9 Dec 1998 16:38:22 +0100 + +nasm (0.97-1) unstable; urgency=low + + * Upstream upgrade. + * Some improvments contributed by JHM Dassen. + * Stays in 'main', since the author allowed to distribute this (0.97) + version under either GPL or the nasm licence. Future version will + have the same licensing conditions (closes Bugs #14859,18290,18302). + * Fix documentation pbm (Bug #15052). + + -- Vincent Renardias Tue, 17 Feb 1998 21:06:35 +0100 + +nasm (0.95-2) unstable; urgency=low + + * Upstream upgrade. + + -- Vincent Renardias Tue, 11 Nov 1997 01:49:41 +0100 + +nasm (0.95-2) unstable; urgency=low + + * Added nasm's homepage URL in copyright file (Bug #14526). + + -- Vincent Renardias Sun, 9 Nov 1997 21:45:17 +0100 + +nasm (0.95-1) unstable; urgency=low + + * Upstream upgrade. + + -- Vincent Renardias Fri, 1 Aug 1997 20:17:19 +0200 + +nasm (0.94-3) unstable; urgency=low + + * Cosmetix change (fix bug #9622). + + -- Vincent Renardias Fri, 9 May 1997 15:24:48 +0200 + +nasm (0.94-2) unstable; urgency=low + + * Rebuilt with libc6. + + -- Vincent Renardias Thu, 1 May 1997 21:52:35 +0200 + +nasm (0.94-1) unstable; urgency=low + + * Upstream upgrade. + + -- Vincent Renardias Mon, 14 Apr 1997 20:01:30 +0200 + +nasm (0.93-1) unstable; urgency=low + + * Upstream upgrade. + * Included upstream 'Changes' file. + + -- Vincent Renardias Sat, 1 Feb 1997 20:06:57 +0100 + +nasm (0.90-2) unstable; urgency=low + + * Moved from 'non-free' to devel. + + -- Vincent Renardias Thu, 31 Oct 1996 20:30:28 +0100 + +nasm (0.90-1) unstable; urgency=low + + * Initial Release. + + -- Vincent Renardias Thu, 31 Oct 1996 02:20:23 +0100 + --- nasm-2.06.orig/debian/patches/series +++ nasm-2.06/debian/patches/series @@ -0,0 +1,3 @@ +01-doc-Makefile.in.patch +02-nasm.man.patch +03-ndisasm.man.patch --- nasm-2.06.orig/debian/patches/03-ndisasm.man.patch +++ nasm-2.06/debian/patches/03-ndisasm.man.patch @@ -0,0 +1,94 @@ +--- nasm-0.99.05.orig/ndisasm.man ++++ nasm-0.99.05/ndisasm.man +@@ -0,0 +1,91 @@ ++NDISASM(1) NDISASM(1) ++ ++ ++ ++NNAAMMEE ++ ndisasm - the Netwide Disassembler - 80x86 binary file disassembler ++ ++SSYYNNOOPPSSIISS ++ nnddiissaassmm [ --oo origin ] [ --ss sync‐point [...]] [ --aa | --ii ] [ --bb bits ] [ ++ ‐‐uu ] [ --ee hdrlen ] [ --kk offset,length [...]] infile ++ nnddiissaassmm --hh ++ nnddiissaassmm --rr ++ ++DDEESSCCRRIIPPTTIIOONN ++ The nnddiissaassmm command generates a disassembly listing of the binary file ++ _i_n_f_i_l_e and directs it to stdout. ++ ++ OOPPTTIIOONNSS ++ --hh Causes nnddiissaassmm to exit immediately, after giving a summary of ++ its invocation options. ++ ++ --rr Causes nnddiissaassmm to exit immediately, after displaying its version ++ number. ++ ++ --oo _o_r_i_g_i_n ++ Specifies the notional load address for the file. This option ++ causes nnddiissaassmm to get the addresses it lists down the left hand ++ margin, and the target addresses of PC‐relative jumps and calls, ++ right. ++ ++ --ss _s_y_n_c_‐_p_o_i_n_t ++ Manually specifies a synchronisation address, such that nnddiissaassmm ++ will not output any machine instruction which encompasses bytes ++ on both sides of the address. Hence the instruction which _s_t_a_r_t_s ++ at that address will be correctly disassembled. ++ ++ --ee _h_d_r_l_e_n ++ Specifies a number of bytes to discard from the beginning of the ++ file before starting disassembly. This does not count towards ++ the calculation of the disassembly offset: the first _d_i_s_a_s_s_e_m_‐ ++ _b_l_e_d instruction will be shown starting at the given load ++ address. ++ ++ --kk _o_f_f_s_e_t_,_l_e_n_g_t_h ++ Specifies that _l_e_n_g_t_h bytes, starting from disassembly offset ++ _o_f_f_s_e_t, should be skipped over without generating any output. ++ The skipped bytes still count towards the calculation of the ++ disassembly offset. ++ ++ --aa or --ii ++ Enables automatic (or intelligent) sync mode, in which nnddiissaassmm ++ will attempt to guess where synchronisation should be performed, ++ by means of examining the target addresses of the relative jumps ++ and calls it disassembles. ++ ++ --bb _b_i_t_s ++ Specifies either 16‐bit or 32‐bit mode. The default is 16‐bit ++ mode. ++ ++ --uu Specifies 32‐bit mode, more compactly than using ‘‐b 32’. ++ ++ --pp _v_e_n_d_o_r ++ Prefers instructions as defined by _v_e_n_d_o_r in case of a conflict. ++ Known _v_e_n_d_o_r names include iinntteell, aammdd, ccyyrriixx, and iiddtt. The ++ default is iinntteell. ++ ++ ++RREESSTTRRIICCTTIIOONNSS ++ nnddiissaassmm only disassembles binary files: it has no understanding of the ++ header information present in object or executable files. If you want ++ to disassemble an object file, you should probably be using oobbjjdduummpp(11). ++ ++ Auto‐sync mode won’t necessarily cure all your synchronisation prob‐ ++ lems: a sync marker can only be placed automatically if a jump or call ++ instruction is found to refer to it _b_e_f_o_r_e nnddiissaassmm actually disassem‐ ++ bles that part of the code. Also, if spurious jumps or calls result ++ from disassembling non‐machine‐code data, sync markers may get placed ++ in strange places. Feel free to turn auto‐sync off and go back to doing ++ it manually if necessary. ++ ++ nnddiissaassmm can only keep track of 8192 sync markers internally at once: ++ this is to do with portability, since DOS machines don’t take kindly to ++ more than 64K being allocated at a time. ++ ++ ++SSEEEE AALLSSOO ++ oobbjjdduummpp(11). ++ ++ ++ ++ The Netwide Assembler Project NDISASM(1) --- nasm-2.06.orig/debian/patches/02-nasm.man.patch +++ nasm-2.06/debian/patches/02-nasm.man.patch @@ -0,0 +1,274 @@ +--- nasm-0.99.05.orig/nasm.man ++++ nasm-0.99.05/nasm.man +@@ -0,0 +1,271 @@ ++NASM(1) NASM(1) ++ ++ ++ ++NNAAMMEE ++ nasm - the Netwide Assembler - portable 80x86 assembler ++ ++SSYYNNOOPPSSIISS ++ nnaassmm [ --ff format ] [ --oo outfile ] [ _o_p_t_i_o_n_s... ] infile ++ nnaassmm --hh ++ nnaassmm --rr ++ ++DDEESSCCRRIIPPTTIIOONN ++ The nnaassmm command assembles the file _i_n_f_i_l_e and directs output to the ++ file _o_u_t_f_i_l_e if specified. If _o_u_t_f_i_l_e is not specified, nnaassmm will ++ derive a default output file name from the name of its input file, usu‐ ++ ally by appending ‘.o’ or ‘.obj’, or by removing all extensions for a ++ raw binary file. Failing that, the output file name will be ‘nasm.out’. ++ ++ OOPPTTIIOONNSS ++ --hh Causes nnaassmm to exit immediately, after giving a summary of its ++ invocation options, and listing all its supported output file ++ formats. ++ ++ --aa Causes nnaassmm to assemble the given input file without first ++ applying the macro preprocessor. ++ ++ --ee Causes nnaassmm to preprocess the given input file, and write the ++ output to _s_t_d_o_u_t (or the specified output file name), and not ++ actually assemble anything. ++ ++ --MM Causes nnaassmm to output Makefile‐style dependencies to stdout; ++ normal output is suppressed. ++ ++ --EE _f_i_l_e_n_a_m_e ++ Causes nnaassmm to redirect error messages to _f_i_l_e_n_a_m_e. This option ++ exists to support operating systems on which stderr is not eas‐ ++ ily redirected. ++ ++ --rr Causes nnaassmm to exit immediately, after displaying its version ++ number. _(_o_b_s_o_l_e_t_e_) ++ ++ --vv Causes nnaassmm to exit immediately, after displaying its version ++ number. ++ ++ --ff _f_o_r_m_a_t ++ Specifies the output file format. Formats include _b_i_n, to pro‐ ++ duce flat‐form binary files, and _a_o_u_t and _e_l_f to produce Linux ++ a.out and ELF object files, respectively. ++ ++ --oo _o_u_t_f_i_l_e ++ Specifies a precise name for the output file, overriding nnaassmm’s ++ default means of determining it. ++ ++ --ll _l_i_s_t_f_i_l_e ++ Causes an assembly listing to be directed to the given file, in ++ which the original source is displayed on the right hand side ++ (plus the source for included files and the expansions of multi‐ ++ line macros) and the generated code is shown in hex on the left. ++ ++ --ss Causes nnaassmm to send its error messages and/or help text to _s_t_d_‐ ++ _o_u_t instead of _s_t_d_e_r_r. ++ ++ --ww_[_+_‐_]_f_o_o ++ Causes nnaassmm to enable or disable certain classes of warning mes‐ ++ sages, for example --ww++oorrpphhaann‐‐llaabbeellss or --ww‐‐mmaaccrroo‐‐ppaarraammss to, ++ respectively, enable warnings about labels alone on lines or ++ disable warnings about incorrect numbers of parameters in macro ++ calls. ++ ++ --II _d_i_r_e_c_t_o_r_y ++ Adds a directory to the search path for include files. The ++ directory specification must include the trailing slash, as it ++ will be directly prepended to the name of the include file. ++ ++ --ii _d_i_r_e_c_t_o_r_y ++ Same as the --II option. ++ ++ --PP _f_i_l_e ++ Specifies a file to be pre‐included, before the main source file ++ starts to be processed. ++ ++ --pp _f_i_l_e ++ Same as the --PP option. ++ ++ --DD _m_a_c_r_o_[_=_v_a_l_u_e_] ++ Pre‐defines a single‐line macro. ++ ++ --dd _m_a_c_r_o_[_=_v_a_l_u_e_] ++ Same as the --DD option. ++ ++ --UU _m_a_c_r_o ++ Undefines a single‐line macro. ++ ++ --uu _m_a_c_r_o ++ Same as the --UU option. ++ ++ ++ SSYYNNTTAAXX ++ This man page does not fully describe the syntax of nnaassmm’s assembly ++ language, but does give a summary of the differences from other assem‐ ++ blers. ++ ++ _R_e_g_i_s_t_e_r_s have no leading ‘%’ sign, unlike ggaass, and floating‐point ++ stack registers are referred to as _s_t_0, _s_t_1, and so on. ++ ++ _F_l_o_a_t_i_n_g_‐_p_o_i_n_t _i_n_s_t_r_u_c_t_i_o_n_s may use either the single‐operand form or ++ the double. A _T_O keyword is provided; thus, one could either write ++ ++ fadd st0,st1 ++ fadd st1,st0 ++ ++ or one could use the alternative single‐operand forms ++ ++ fadd st1 ++ fadd to st1 ++ ++ _U_n_i_n_i_t_i_a_l_i_s_e_d _s_t_o_r_a_g_e is reserved using the _R_E_S_B, _R_E_S_W, _R_E_S_D, _R_E_S_Q and ++ _R_E_S_T pseudo‐opcodes, each taking one parameter which gives the number ++ of bytes, words, doublewords, quadwords or ten‐byte words to reserve. ++ ++ _R_e_p_e_t_i_t_i_o_n of data items is not done by the _D_U_P keyword as seen in DOS ++ assemblers, but by the use of the _T_I_M_E_S prefix, like this: ++ ++ message: times 3 db ’abc’ ++ times 64‐$+message db 0 ++ ++ which defines the string ‘abcabcabc’, followed by the right number of ++ zero bytes to make the total length up to 64 bytes. ++ ++ _S_y_m_b_o_l _r_e_f_e_r_e_n_c_e_s are always understood to be immediate (i.e. the ++ address of the symbol), unless square brackets are used, in which case ++ the contents of the memory location are used. Thus: ++ ++ mov ax,wordvar ++ ++ loads AX with the address of the variable ‘wordvar’, whereas ++ ++ mov ax,[wordvar] ++ mov ax,[wordvar+1] ++ mov ax,[es:wordvar+bx] ++ ++ all refer to the _c_o_n_t_e_n_t_s of memory locations. The syntaxes ++ ++ mov ax,es:wordvar[bx] ++ es mov ax,wordvar[1] ++ ++ are not legal at all, although the use of a segment register name as an ++ instruction prefix is valid, and can be used with instructions such as ++ _L_O_D_S_B which can’t be overridden any other way. ++ ++ _C_o_n_s_t_a_n_t_s may be expressed numerically in most formats: a trailing H, Q ++ or B denotes hex, octal or binary respectively, and a leading ‘0x’ or ++ ‘$’ denotes hex as well. Leading zeros are not treated specially at ++ all. Character constants may be enclosed in single or double quotes; ++ there is no escape character. The ordering is little‐endian (reversed), ++ so that the character constant _’_a_b_c_d_’ denotes 0x64636261 and not ++ 0x61626364. ++ ++ _L_o_c_a_l _l_a_b_e_l_s begin with a period, and their ‘locality’ is granted by ++ the assembler prepending the name of the previous non‐local symbol. ++ Thus declaring a label ‘.loop’ after a label ‘label’ has actually ++ defined a symbol called ‘label.loop’. ++ ++ DDIIRREECCTTIIVVEESS ++ _S_E_C_T_I_O_N _n_a_m_e or _S_E_G_M_E_N_T _n_a_m_e causes nnaassmm to direct all following code ++ to the named section. Section names vary with output file format, ++ although most formats support the names _._t_e_x_t, _._d_a_t_a and _._b_s_s. (The ++ exception is the _o_b_j format, in which all segments are user‐definable.) ++ ++ _A_B_S_O_L_U_T_E _a_d_d_r_e_s_s causes nnaassmm to position its notional assembly point at ++ an absolute address: so no code or data may be generated, but you can ++ use _R_E_S_B, _R_E_S_W and _R_E_S_D to move the assembly point further on, and you ++ can define labels. So this directive may be used to define data struc‐ ++ tures. When you have finished doing absolute assembly, you must issue ++ another _S_E_C_T_I_O_N directive to return to normal assembly. ++ ++ _B_I_T_S _1_6 or _B_I_T_S _3_2 switches the default processor mode for which nnaassmm ++ is generating code: it is equivalent to _U_S_E_1_6 or _U_S_E_3_2 in DOS assem‐ ++ blers. ++ ++ _E_X_T_E_R_N _s_y_m_b_o_l and _G_L_O_B_A_L _s_y_m_b_o_l import and export symbol definitions, ++ respectively, from and to other modules. Note that the _G_L_O_B_A_L directive ++ must appear before the definition of the symbol it refers to. ++ ++ _S_T_R_U_C _s_t_r_u_c_n_a_m_e and _E_N_D_S_T_R_U_C, when used to bracket a number of _R_E_S_B, ++ _R_E_S_W or similar instructions, define a data structure. In addition to ++ defining the offsets of the structure members, the construct also ++ defines a symbol for the size of the structure, which is simply the ++ structure name with ___s_i_z_e tacked on to the end. ++ ++ FFOORRMMAATT‐‐SSPPEECCIIFFIICC DDIIRREECCTTIIVVEESS ++ _O_R_G _a_d_d_r_e_s_s is used by the _b_i_n flat‐form binary output format, and ++ specifies the address at which the output code will eventually be ++ loaded. ++ ++ _G_R_O_U_P _g_r_p_n_a_m_e _s_e_g_1 _s_e_g_2_._._. is used by the _o_b_j (Microsoft 16‐bit) out‐ ++ put format, and defines segment groups. This format also uses ++ _U_P_P_E_R_C_A_S_E, which directs that all segment, group and symbol names out‐ ++ put to the object file should be in uppercase. Note that the actual ++ assembly is still case sensitive. ++ ++ _L_I_B_R_A_R_Y _l_i_b_n_a_m_e is used by the _r_d_f output format, and causes a depen‐ ++ dency record to be written to the output file which indicates that the ++ program requires a certain library in order to run. ++ ++ MMAACCRROO PPRREEPPRROOCCEESSSSOORR ++ Single‐line macros are defined using the _%_d_e_f_i_n_e or _%_i_d_e_f_i_n_e commands, ++ in a similar fashion to the C preprocessor. They can be overloaded with ++ respect to number of parameters, although defining a macro with no ++ parameters prevents the definition of any macro with the same name tak‐ ++ ing parameters, and vice versa. _%_d_e_f_i_n_e defines macros whose names ++ match case‐sensitively, whereas _%_i_d_e_f_i_n_e defines case‐insensitive ++ macros. ++ ++ Multi‐line macros are defined using _%_m_a_c_r_o and _%_i_m_a_c_r_o (the distinction ++ is the same as that between _%_d_e_f_i_n_e and _%_i_d_e_f_i_n_e), whose syntax is as ++ follows: ++ ++ %macro _n_a_m_e _m_i_n_p_r_m[‐_m_a_x_p_r_m][+][.nolist] [_d_e_f_a_u_l_t_s] ++ ++ %endmacro ++ ++ Again, these macros may be overloaded. The trailing plus sign indicates ++ that any parameters after the last one get subsumed, with their sepa‐ ++ rating commas, into the last parameter. The _d_e_f_a_u_l_t_s part can be used ++ to specify defaults for unspecified macro parameters after _m_i_n_p_a_r_a_m. ++ _%_e_n_d_m is a valid synonym for _%_e_n_d_m_a_c_r_o. ++ ++ To refer to the macro parameters within a macro expansion, you use _%_1, ++ _%_2 and so on. You can also enforce that a macro parameter should con‐ ++ tain a condition code by using _%_+_1, and you can invert the condition ++ code by using _%_‐_1. You can also define a label specific to a macro ++ invocation by prefixing it with a double % sign. ++ ++ Files can be included using the _%_i_n_c_l_u_d_e directive, which works like C. ++ ++ The preprocessor has a ‘context stack’, which may be used by one macro ++ to store information that a later one will retrieve. You can push a ++ context on the stack using _%_p_u_s_h, remove one using _%_p_o_p, and change the ++ name of the top context (without disturbing any associated definitions) ++ using _%_r_e_p_l. Labels and _%_d_e_f_i_n_e macros specific to the top context may ++ be defined by prefixing their names with %$, and things specific to the ++ next context down with %$$, and so on. ++ ++ Conditional assembly is done by means of _%_i_f_d_e_f, _%_i_f_n_d_e_f, _%_e_l_s_e and ++ _%_e_n_d_i_f as in C. (Except that _%_i_f_d_e_f can accept several putative macro ++ names, and will evaluate TRUE if any of them is defined.) In addition, ++ the directives _%_i_f_c_t_x and _%_i_f_n_c_t_x can be used to condition on the name ++ of the top context on the context stack. The obvious set of ‘else‐if’ ++ directives, _%_e_l_i_f_d_e_f, _%_e_l_i_f_n_d_e_f, _%_e_l_i_f_c_t_x and _%_e_l_i_f_n_c_t_x are also sup‐ ++ ported. ++ ++BBUUGGSS ++ There is a reported seg‐fault on some (Linux) systems with some large ++ source files. This appears to be very hard to reproduce. All other ++ _k_n_o_w_n bugs have been fixed... ++ ++RREESSTTRRIICCTTIIOONNSS ++ There is no support for listing files, symbol maps, or debugging ++ object‐file records. The advanced features of the ELF and Win32 object ++ file formats are not supported, and there is no means for warning the ++ programmer against using an instruction beyond the capability of the ++ target processor. ++ ++SSEEEE AALLSSOO ++ aass(11), lldd(11). ++ ++ ++ ++ The Netwide Assembler Project NASM(1) --- nasm-2.06.orig/debian/patches/01-doc-Makefile.in.patch +++ nasm-2.06/debian/patches/01-doc-Makefile.in.patch @@ -0,0 +1,17 @@ +--- a/doc/Makefile.in 2008-10-30 04:57:33.000000000 +1100 ++++ b/doc/Makefile.in 2008-11-01 17:02:23.000000000 +1100 +@@ -27,7 +27,7 @@ PSTOPDF = @PSTOPDF@ # BSD/MacOS X util + PS2PDF = @PS2PDF@ # Part of GhostScript + + SRCS = nasmdoc.src inslist.src changes.src +-OUT = info html nasmdoc.txt nasmdoc.ps nasmdoc.pdf ++OUT = info html nasmdoc.txt nasmdoc.ps + + # exports + export srcdir +@@ -98,4 +98,4 @@ install: all + $(INSTALL_DATA) info/* $(INSTALLROOT)$(infodir) + mkdir -p $(INSTALLROOT)$(docdir)/html + $(INSTALL_DATA) html/* $(INSTALLROOT)$(docdir)/html +- $(INSTALL_DATA) nasmdoc.ps nasmdoc.pdf nasmdoc.txt $(INSTALLROOT)$(docdir) ++ $(INSTALL_DATA) nasmdoc.ps nasmdoc.txt $(INSTALLROOT)$(docdir)