--- m4-1.4.1.orig/debian/changelog +++ m4-1.4.1/debian/changelog @@ -0,0 +1,147 @@ +m4 (1.4.1-1ubuntu1) warty; urgency=low + + * Encode doc-base file in UTF-8 (Warty #691). + + -- Colin Watson <cjwatson@flatline.org.uk> Mon, 16 Aug 2004 11:25:08 +0100 + +m4 (1.4.1-1) unstable; urgency=low + + * The "10th anniversary" release. + * From the official announcement: This release contains long standing bug + fixes to the venerable 10 year old 1.4 release. It does not contain any + of the development code from the forthcoming 2.0 release on the CVS trunk. + * Removed build-dependency on texinfo (the .texi is untouched now). + * Except for the debian/* files, this is now a 0-patch package. + + -- Santiago Vila <sanvila@debian.org> Wed, 9 Jun 2004 16:40:44 +0200 + +m4 (1.4-17) unstable; urgency=medium + + * Propagate `translit' buffer-overrun patch from upstream. + Thanks a lot to Paul Eggert for the report (Closes: #211477). + + -- Santiago Vila <sanvila@debian.org> Thu, 18 Sep 2003 02:42:02 +0200 + +m4 (1.4-16) unstable; urgency=low + + * Changes in /usr/share/doc/m4/examples: + - Modified stackovf.sh to use tempfile if it exists. + - Removed Makefile and Makefile.in, they do not belong there. + + -- Santiago Vila <sanvila@debian.org> Wed, 3 Sep 2003 17:04:48 +0200 + +m4 (1.4-15) unstable; urgency=low + + * Standards-Version: 3.5.8. + + -- Santiago Vila <sanvila@debian.org> Sun, 29 Dec 2002 14:43:42 +0100 + +m4 (1.4-14) unstable; urgency=low + + * Added doc-base support. + * Added support for DEB_BUILD_OPTIONS. + + -- Santiago Vila <sanvila@debian.org> Sat, 24 Nov 2001 14:03:16 +0100 + +m4 (1.4-13) unstable; urgency=low + + * Do not mix buffered and unbuffered I/O, breaks autoconf under GNU/Hurd. + Patch by Robert Bihlmeyer. Closes: #53052, #92629. + + -- Santiago Vila <sanvila@debian.org> Wed, 4 Apr 2001 16:47:08 +0200 + +m4 (1.4-12) unstable; urgency=low + + * Modified maketemp macro to behave like OpenBSD version (Closes: #84416). + * Fixed format string vulnerability (Closes: #84451). + * Build-Depends: texinfo, since the .texi source is now modified. + * Build-Depends-Indep: texi2html, not tetex-bin. + + -- Santiago Vila <sanvila@debian.org> Mon, 5 Feb 2001 18:47:57 +0100 + +m4 (1.4-11) unstable; urgency=low + + * Standards-Version: 3.1.1. + + -- Santiago Vila <sanvila@debian.org> Sat, 16 Dec 2000 20:42:35 +0100 + +m4 (1.4-10) unstable; urgency=low + + * Added m4(1), which refers to the info docs (Bug #33596). + * Updated FSF's address in copyright file. + + -- Santiago Vila <sanvila@ctv.es> Sun, 7 Mar 1999 17:34:21 +0100 + +m4 (1.4-9) unstable; urgency=low + + * Added HTML docs, in a separate package. + + -- Santiago Vila <sanvila@ctv.es> Tue, 13 Oct 1998 21:07:44 +0200 + +m4 (1.4-8) unstable; urgency=low + + * info description in development section, bug #14911. + * Improved check-them, the fix in 1.4-7 made checks 30 and 51 to fail. + * Added NEWS, README, TODO and THANKS to the doc directory. + * Shortened extended description (some info moved to copyright file). + * Rewritten debian/rules. + * Pristine source. + * Added md5sums. + * New maintainer. + + -- Santiago Vila <sanvila@ctv.es> Thu, 4 Dec 1997 13:44:42 +0100 + +m4 (1.4-7) unstable; urgency=low + + * linked against libc6, bug#11703 + * added language control to check-them, bug#11545 + * added change logs to /usr/doc/m4, bug#10236 + * modified location of ./config in control file, bug#9716 + * removed trailing depends + + -- Dale Scheetz <dwarf@polaris.net> Fri, 12 Sep 1997 11:35:12 -0400 + +m4 (1.4-6) unstable; urgency=low + + * fixed binary-arch and binary-indep targets in debian/rules. + + -- Dale Scheetz <dwarf@polaris.net> Sun, 29 Sep 1996 16:29:38 -0400 + +m4 (1.4-5) unstable; urgency=low + + * Converted to Standards-Version 2.1.0.0 + + -- Dale Scheetz <dwarf@polaris.net> Fri, 27 Sep 1996 14:10:56 -0400 + +M4 1.4 Debian 3 - dcs + +* updated debian.rules and debian.control for architecture and name. + +M4 1.4 Debian 2 - dcs + +* Rebuild as ELF + +M4 1.4 Debian 1 - iwj + +* Based on FSF version 1.4. Changes 1.2=>1.3 in Changelog and NEWS. + +M4 1.3 Debian 2 - iwj + +* Corrected some mistakes in debian.README. +* Debian_Revision field in `control' corrected to Package_Revision. +* Added Info manual copyright to debian.README. + +M4 1.3 Debian 1 - iwj + +* Based on FSF version 1.3. Changes 1.2=>1.3 in Changelog and NEWS. +* Added Debian_Revision field to control file. +* debian.rules deletes *.orig files. +* debian.rules build runs regression tests. + +M4 1.2 Debian 2 - iwj + +* Removed debian.rules install target. +* Added --quiet to install-info invocations. + +M4 1.2 Debian 1 - iwj +Initial untested release. --- m4-1.4.1.orig/debian/control +++ m4-1.4.1/debian/control @@ -0,0 +1,24 @@ +Source: m4 +Section: interpreters +Priority: standard +Maintainer: Santiago Vila <sanvila@debian.org> +Standards-Version: 3.6.1 +Build-Depends-Indep: texi2html + +Package: m4 +Architecture: any +Depends: ${shlibs:Depends} +Description: a macro processing language + GNU `m4' is an implementation of the traditional UNIX macro + processor. It is mostly SVR4 compatible, although it has some + extensions (for example, handling more than 9 positional parameters to + macros). `m4' also has builtin functions for including files, running + shell commands, doing arithmetic, etc. Autoconf needs GNU `m4' for + generating `configure' scripts, but not for running them. + +Package: m4-doc +Section: doc +Priority: optional +Architecture: all +Description: Documentation for GNU m4 + This package contains the HTML documentation for GNU m4. --- m4-1.4.1.orig/debian/m4-doc +++ m4-1.4.1/debian/m4-doc @@ -0,0 +1,16 @@ +Document: m4-doc +Title: GNU m4 manual +Author: René Seindal +Abstract: This manual documents GNU m4. + `m4' is a macro processor, in the sense that it copies its input to + the output, expanding macros as it goes. Macros are either builtin or + user-defined, and can take any number of arguments. Besides just doing + macro expansion, `m4' has builtin functions for including named files, + running UNIX commands, doing integer arithmetic, manipulating text in + various ways, recursion, etc... `m4' can be used either as a front-end + to a compiler, or as a macro processor in its own right. +Section: Apps/Tools + +Format: HTML +Index: /usr/share/doc/m4-doc/index.html +Files: /usr/share/doc/m4-doc/*.html --- m4-1.4.1.orig/debian/copyright +++ m4-1.4.1/debian/copyright @@ -0,0 +1,59 @@ +This is the Debian prepackaged version of the FSF's GNU m4 macro processor. +GNU `m4' has been originally written by René Seindal, from Denmark, +with subsequent changes by François Pinard and other volunteers on +the Internet. A list of contributors to the GNU program is in the +THANKS file in the source distribution, or appended below in the +binary package. + +This package was first put together by Ian Jackson <ijackson@nyx.cs.du.edu> +and is currently maintained by Santiago Vila <sanvila@debian.org>. + +The GNU sources for this release were obtained from + +ftp://ftp.gnu.org/pub/gnu/m4/m4-1.4.1.tar.gz. + +The changes were very minimal - merely adding support for the Debian +package maintenance scheme, by adding various debian/* files. + + +Program Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2000, 2003, +2004 Free Software Foundation, Inc.; Modifications for Debian +Copyright (C) 1994 Ian Jackson. + +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; either version 2, or (at your option) +any later version. + +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 with +your Debian system, in /usr/share/common-licenses/GPL, or with the +Debian GNU m4 source package as the file COPYING. If not, write to +the Free Software Foundation, Inc., 59 Temple Place, Suite 330, +Boston, MA 02111-1307 USA + +M4 manual (m4.info) Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2004 +Free Software Foundation, Inc. + +Permission is granted to make and distribute verbatim copies of +this manual provided the copyright notice and this permission notice +are preserved on all copies. + +Permission is granted to process this file through TeX and print the +results, provided the printed document carries copying permission +notice identical to this one except for the removal of this paragraph +(this paragraph not being relevant to the printed manual). + +Permission is granted to copy and distribute modified versions of this +manual under the conditions for verbatim copying, provided that the entire +resulting derived work is distributed under the terms of a permission +notice identical to this one. + +Permission is granted to copy and distribute translations of this manual +into another language, under the above conditions for modified versions, +except that this permission notice may be stated in a translation approved +by the Foundation. --- m4-1.4.1.orig/debian/m4.1 +++ m4-1.4.1/debian/m4.1 @@ -0,0 +1,17 @@ +.TH M4 1 +.SH NAME +m4 \- GNU macro processor +.SH SYNOPSIS +GNU `m4' is an implementation of the traditional UNIX macro +processor. It is mostly SVR4 compatible, although it has some +extensions (for example, handling more than 9 positional parameters to +macros). `m4' also has builtin functions for including files, running +shell commands, doing arithmetic, etc. Autoconf needs GNU `m4' for +generating `configure' scripts, but not for running them. +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +Instead, it has documentation in the GNU Info format. +The manual is also available in HTML format in the +.B m4-doc +package. --- m4-1.4.1.orig/debian/m4-doc.postinst +++ m4-1.4.1/debian/m4-doc.postinst @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = "configure" ]; then + if command -v install-docs >/dev/null 2>&1; then + install-docs -i /usr/share/doc-base/m4-doc + fi +fi --- m4-1.4.1.orig/debian/m4-doc.prerm +++ m4-1.4.1/debian/m4-doc.prerm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then + if command -v install-docs >/dev/null 2>&1; then + install-docs -r m4-doc + fi +fi --- m4-1.4.1.orig/debian/postinst +++ m4-1.4.1/debian/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +set -e +install-info --quiet --section "Development" "Development" \ + --description='The GNU m4 macro preprocessor.' /usr/share/info/m4.info --- m4-1.4.1.orig/debian/prerm +++ m4-1.4.1/debian/prerm @@ -0,0 +1,3 @@ +#!/bin/sh +set -e +install-info --remove --quiet /usr/share/info/m4.info --- m4-1.4.1.orig/debian/rules +++ m4-1.4.1/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f + +package = m4 +docdir = debian/tmp/usr/share/doc/$(package) + +CC = gcc +CFLAGS = -g -Wall +INSTALL_PROGRAM = install + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: + $(checkdir) + ./configure --prefix=/usr + $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" + $(MAKE) check + touch build + +clean: + $(checkdir) + rm -f build + -$(MAKE) distclean + rm -f `find . -name "*~"` + rm -rf debian/tmp debian/files* core debian/substvars + +binary-indep: checkroot build + $(checkdir) + rm -rf debian/tmp + install -d debian/tmp/DEBIAN $(docdir)-doc debian/tmp/usr/share/doc-base + install -m 644 debian/m4-doc debian/tmp/usr/share/doc-base + install -m 755 debian/m4-doc.postinst debian/tmp/DEBIAN/postinst + install -m 755 debian/m4-doc.prerm debian/tmp/DEBIAN/prerm + cd doc && texi2html -split_chapter $(package).texinfo + mv doc/*.html $(docdir)-doc + ln -s $(package)_toc.html $(docdir)-doc/index.html + cp -p debian/copyright $(docdir)-doc + cp -p ChangeLog $(docdir)-doc/changelog + cp -p debian/changelog $(docdir)-doc/changelog.Debian + cd $(docdir)-doc && gzip -9 changelog changelog.Debian + dpkg-gencontrol -isp -p$(package)-doc + cd debian/tmp && \ + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums + chown -R root:root debian/tmp + chmod -R go=rX debian/tmp + dpkg --build debian/tmp .. + +binary-arch: checkroot build + $(checkdir) + rm -rf debian/tmp + install -d debian/tmp/DEBIAN $(docdir)/examples + cd debian/tmp && install -d usr/bin usr/man/man1 + $(MAKE) install prefix=`pwd`/debian/tmp/usr \ + INSTALL_PROGRAM="$(INSTALL_PROGRAM)" + cd debian && install -m 755 prerm postinst tmp/DEBIAN + install -m 644 debian/m4.1 debian/tmp/usr/man/man1 + cp -p debian/changelog $(docdir)/changelog.Debian + cp -p ChangeLog $(docdir)/changelog + cp -p NEWS README TODO THANKS debian/copyright $(docdir) + cp -p examples/* $(docdir)/examples + rm -f $(docdir)/examples/Makefile* + cd $(docdir) && gzip -9 changelog changelog.Debian + gzip -9 debian/tmp/usr/info/* + gzip -r9 debian/tmp/usr/man + cd debian/tmp && mv usr/info usr/man usr/share + dpkg-shlibdeps src/$(package) + dpkg-gencontrol -isp -p$(package) + cd debian/tmp && \ + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums + chown -R root:root debian/tmp + chmod -R go=rX debian/tmp + dpkg --build debian/tmp .. + +define checkdir + test -f src/$(package).c -a -f debian/rules +endef + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot