--- noweb-2.11b.orig/debian/noweb.emacsen-startup +++ noweb-2.11b/debian/noweb.emacsen-startup @@ -0,0 +1,10 @@ +;-*-emacs-lisp-*- + +;; Just assign the noweb major mode to .nw files + +(autoload 'noweb-mode "/usr/share/emacs/site-lisp/noweb-mode.el" + "Minor (meta) mode for editing noweb sources." t) + +(or (assoc "\\.nw$" auto-mode-alist) + (setq auto-mode-alist (cons '("\\.nw$" . noweb-mode) + auto-mode-alist))) --- noweb-2.11b.orig/debian/control +++ noweb-2.11b/debian/control @@ -0,0 +1,36 @@ +Source: noweb +Section: devel +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Hubert Chathi +Build-Depends: iconc, icont, iconx, debhelper (>= 5.0.34), texlive-latex-base, texlive-latex-extra, dpatch +Standards-Version: 3.7.3 +Homepage: http://www.eecs.harvard.edu/~nr/noweb/ + +Package: noweb +Architecture: any +Depends: ${shlibs:Depends}, iconx, gawk +Replaces: nowebm +Multi-Arch: foreign +Description: A WEB-like literate-programming tool + noweb is designed to meet the needs of literate programmers while + remaining as simple as possible. Its primary advantages are + simplicity, extensibility, and language-independence. + . + The noweb manual is only 3 pages; an additional page explains how to + customize its LaTeX output. noweb works ``out of the box'' with any + programming language, and supports TeX, latex, and HTML back ends. + . + The primary sacrifice relative to WEB is that code is not + prettyprinted. + +Package: nowebm +Architecture: all +Depends: noweb +Description: A WEB-like literate-programming tool - transitional package + noweb is designed to meet the needs of literate programmers while + remaining as simple as possible. Its primary advantages are + simplicity, extensibility, and language-independence. + . + This is a transitional package. You can safely remove this package + after it is installed. --- noweb-2.11b.orig/debian/noweb.dirs +++ noweb-2.11b/debian/noweb.dirs @@ -0,0 +1,8 @@ +usr/share/man +usr/share/emacs/site-lisp +usr/share/texmf/tex/plain/misc +usr/share/texmf/tex/latex/litprog +usr/share/groff/tmac +usr/lib/noweb +usr/bin +etc/emacs/site-start.d --- noweb-2.11b.orig/debian/rules +++ noweb-2.11b/debian/rules @@ -0,0 +1,168 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 by Joey Hess. +# +# Modified to use dbs by Federico Di Gregorio. +# Modified to change from dbs to dpatch by Norman Ramsey + +package := noweb +version := 2.11a + +ifeq ($(DEB_BUILD_ARCH),hppa) + ICONC=iconc -nes -p-ffunction-sections +else +ifeq ($(DEB_BUILD_ARCH),ia64) + ICONC=iconc -nes -p-ffunction-sections +else + ICONC=iconc +endif +endif + +# we overwite iconc until we can be sure it works +ICONC=icont + +CFLAGS := -O2 -Wall +INSTALL = install +INSTALL_DATA := $(INSTALL) -m644 +INSTALL_DIR := $(INSTALL) -p -d -o root -g root -m 755 +INSTALL_FILE := $(INSTALL) -p -o root -g root -m 644 +INSTALL_PROGRAM := $(INSTALL) -m755 +INSTALL_SCRIPT := $(INSTALL) -p -o root -g root -m 755 +DPATCH_DIR = /usr/share/dpatch + +destdir := $(CURDIR)/debian/noweb + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + + +# the dbs rules +DEB_SOURCE_PACKAGE := noweb +include $(DPATCH_DIR)/dpatch.make + +# Some vars needed for clean building the package + +DEBIAN_ROOT := $(CURDIR)/debian/$(package) + + +# Make rules + +configure: patch patch-awk + +# eventually drop this +BUILD_TREE := $(CURDIR) + +patch-awk: patch-awk-stamp +patch-awk-stamp: + cd $(BUILD_TREE)/src && ./awkname awk + touch patch-awk-stamp + +unpatch-awk: + cd $(BUILD_TREE)/src && ./awkname nawk + rm -f patch-awk-stamp + +build-arch: build-arch-stamp +build-arch-stamp: configure + dh_testdir + cd $(BUILD_TREE)/src && \ + $(MAKE) LIBSRC=icon ICONC="${ICONC}" \ + BIN=/usr/bin LIB=/usr/lib/noweb MAN=/usr/share/man \ + LIBNAME=/usr/lib/noweb ELISP=/usr/share/emacs/site-lisp \ + TEXINPUTS=/usr/share/texmf/tex/plain/misc \ + TEXNAME=/usr/share/texmf/tex/plain/misc + cd $(BUILD_TREE)/contrib/norman && icont scopehack + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: build-arch-stamp + dh_testdir + cd $(BUILD_TREE)/src/xdoc && latex guide.tex && \ + while grep -s 'Rerun to get cross-references right' guide.log; \ + do latex guide.tex; done && \ + dvips guide.dvi -o guide.ps + cd $(BUILD_TREE)/src/xdoc && latex onepage.tex && \ + while grep -s 'Rerun to get cross-references right' onepage.log; \ + do latex onepage.tex; done && \ + dvips onepage.dvi -o onepage.ps + cd $(BUILD_TREE)/src/xdoc && ../icon/sl2h guide.tex | \ + ../icon/htmltoc >guide.html + touch build-indep-stamp + +build: build-arch build-indep + +clean: clean-patched unpatch-awk unpatch +clean-patched: + dh_testdir + dh_testroot + rm -fr build-*-stamp + -cd $(BUILD_TREE)/src && $(MAKE) clean + -rm -f $(BUILD_TREE)/contrib/norman/scopehack + -rm -f `find . -name "*~" -name "core"` + -rm -rf debian/files* debian/substvars debian/noweb + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + cd $(BUILD_TREE)/src && \ + $(MAKE) install LIBSRC=icon \ + BIN=$(destdir)/usr/bin LIB=$(destdir)/usr/lib/noweb \ + LIBNAME=/usr/lib/noweb MAN=$(destdir)/usr/share/man \ + ELISP=$(destdir)/usr/share/emacs/site-lisp \ + TEXINPUTS=$(destdir)/usr/share/texmf/tex/plain/misc \ + TEXNAME=/usr/share/texmf/tex/plain/misc + install $(BUILD_TREE)/contrib/norman/scopehack $(destdir)/usr/lib/noweb + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installdocs -i + dh_installchangelogs -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installdocs -a $(BUILD_TREE)/src/README $(BUILD_TREE)/src/FAQ \ + $(BUILD_TREE)/src/xdoc/guide.html $(BUILD_TREE)/src/xdoc/guide.ps \ + $(BUILD_TREE)/src/xdoc/guide.dvi \ + $(BUILD_TREE)/src/xdoc/onepage.ps $(BUILD_TREE)/src/xdoc/onepage.dvi + dh_installexamples -a $(BUILD_TREE)/examples/* + dh_installemacsen -a + dh_installman -a + dh_installchangelogs -a + dh_link -a /usr/share/man/man1/notangle.1 \ + /usr/share/man/man1/noweave.1 \ + /usr/share/man/man1/notangle.1 \ + /usr/share/man/man1/nountangle.1 +# removes because is in standard tetex (and other not-needed files) + rm debian/noweb/usr/share/doc/noweb/examples/multicol.sty + rm debian/noweb/usr/share/doc/noweb/examples/primes.b?? + dh_strip -a + dh_compress -a + dh_fixperms -a +# gives tmac its name and move it to right directory + mv debian/noweb/usr/lib/noweb/tmac.w \ + debian/noweb/usr/share/groff/tmac/noweb.tmac + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- noweb-2.11b.orig/debian/index.html +++ noweb-2.11b/debian/index.html @@ -0,0 +1,65 @@ + + + +noweb for Debian GNU/Linux + + + +

noweb for Debian GNU/Linux

+ +

This package contains the Debianized version of noweb, +a simple literate-programming tool. + +

noweb is designed to meet the needs of literate programmers while +remaining as simple as possible. Its primary advantages are simplicity, +extensibility, and language-independence. + +

The noweb manual is only 3 pages; an additional page explains how +to customize its LaTeX output. noweb works ``out of the box'' with +any programming language, and supports TeX, latex, and HTML back ends. + +

The primary sacrifice relative to the original +WEB is that code is not prettyprinted; but a number of +prettyprinter exist for noweb, from the simplest one (dpp), +to the very complex and featurefull (pretzel). + +

How to begin

+First read the + +noweb manual page (it's only three pages!), then go to the +example directory +and try some of them. After that you can begin writing literate code! +If you want to customize your LaTeX output don't forget to read +the + +noweb style manual page. + +If you really want, you can go to the + +official noweb homepage (external link). There are some +links and other interesting stuff. + +

noweb also comes with some good manual pages for all the other tools +like + +notangle and noweave, the + +noweb filters and + +noroots. + +

More documentation

+

Some more documentation avaiable with this package +(you need dwww to read the man page): + + + + + + + + +
guide.html The noweb hacker guide
README Upstream README
FAQUpstream FAQ
changelogUpstream changelog
changelog.DebianDebian package changelog
+ + + --- noweb-2.11b.orig/debian/noweb.postinst +++ noweb-2.11b/debian/noweb.postinst @@ -0,0 +1,29 @@ +#!/bin/sh -e + +# Move a conffile without triggering a dpkg question +# http://www.dpkg.org/dpkg/ConffileHandling +mv_conffile() { + OLDCONFFILE="$1" + NEWCONFFILE="$2" + + if [ -e "$OLDCONFFILE" ]; then + echo "Preserving user changes to $NEWCONFFILE ..." + mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new + mv -f "$OLDCONFFILE" "$NEWCONFFILE" + fi +} + +case "$1" in +configure) + if dpkg --compare-versions "$2" le "2.11b-3"; then + mv_conffile "/etc/emacs/site-start.d/50nowebm.el" "/etc/emacs/site-start.d/50noweb.el" + fi +esac + +# simply run texhash to register the new .sty and .tex files +if [ -x /usr/bin/texhash ] ; then + texhash +fi + +#DEBHELPER# + --- noweb-2.11b.orig/debian/compat +++ noweb-2.11b/debian/compat @@ -0,0 +1 @@ +5 --- noweb-2.11b.orig/debian/noweb.preinst +++ noweb-2.11b/debian/noweb.preinst @@ -0,0 +1,24 @@ +#!/bin/sh -e + +# Prepare to move a conffile without triggering a dpkg question +# http://www.dpkg.org/dpkg/ConffileHandling +prep_mv_conffile() { + CONFFILE="$1" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' $CONFFILE'{s/.* //;p}}\" /var/lib/dpkg/status`" + if [ "$md5sum" = "$old_md5sum" ]; then + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" le "2.11b-3"; then + prep_mv_conffile "/etc/emacs/site-start.d/50nowebm.el" + fi +esac + +#DEBHELPER# --- noweb-2.11b.orig/debian/noweb.doc-base.guide +++ noweb-2.11b/debian/noweb.doc-base.guide @@ -0,0 +1,16 @@ +Document: noweb-guide +Title: The noweb Hacker's Guide +Author: Norman Ramsey +Abstract: This manual describes what noweb is and how to change + and extend it. Ordinary users will find nothing of interest here. +Section: Apps/Programming + +Format: DVI +Files: /usr/share/doc/noweb/guide.dvi.gz + +Format: PostScript +Files: /usr/share/doc/noweb/guide.ps.gz + +Format: HTML +Index: /usr/share/doc/noweb/guide.html +Files: /usr/share/doc/noweb/guide.html --- noweb-2.11b.orig/debian/changelog +++ noweb-2.11b/debian/changelog @@ -0,0 +1,318 @@ +noweb (2.11b-7.1ubuntu1) raring; urgency=low + + * Merge from Debian unstable. Remaining changes: + - debian/control: Mark as Multi-Arch: foreign. + + -- Logan Rosen Sat, 09 Mar 2013 13:40:12 -0500 + +noweb (2.11b-7.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/patches/99_touch.dpatch: Add src/Makefile to the list of touched + files. (Closes: #701056) + + -- Maximiliano Curia Thu, 21 Feb 2013 21:43:25 +0100 + +noweb (2.11b-7ubuntu2) quantal; urgency=low + + * Rebuild for new armel compiler default of ARMv5t. + + -- Colin Watson Mon, 08 Oct 2012 08:34:56 +0100 + +noweb (2.11b-7ubuntu1) precise; urgency=low + + * Add multiarch metadata to satisfy build-deps correctly (LP: #967380) + + -- Wookey Wed, 28 Mar 2012 13:54:16 +0000 + +noweb (2.11b-7build1) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Sun, 07 Mar 2010 00:58:22 +0100 + +noweb (2.11b-7) unstable; urgency=low + + * debian/patches/13_bashism.dpatch: Fix unportable backslash in call to echo. + (Closes: #486052) + * debian/patches/00list: It helps if this file is updated. + + -- Hubert Chathi Mon, 16 Jun 2008 13:16:19 -0400 + +noweb (2.11b-6) unstable; urgency=low + + * debian/patches/12_nostrip.dpatch: Comment out call to strip in + Makefile. (Closes: #437653) + + -- Hubert Chathi Wed, 11 Jun 2008 12:49:51 -0400 + +noweb (2.11b-5) unstable; urgency=low + + * Use debian/compat file for debhelper compatibility version instead of + DH_COMPAT variable. + * Use $(CURDIR) instead of $(PWD). + * Use Homepage field instead of homepage in description. + + -- Hubert Chathi Fri, 06 Jun 2008 16:53:31 -0400 + +noweb (2.11b-4) unstable; urgency=low + + * Remove/move old conffile /etc/emacs/site-start.d/50nowebm.el if + present. (Closes: #454705) + * Bump standards version to 3.7.3 (no changes needed). + + -- Hubert Chathi Fri, 06 Jun 2008 10:00:27 -0400 + +noweb (2.11b-3) unstable; urgency=low + + * Use vmargin.sty instead of vpage.sty in onepage.tex. (Closes: #420614) + * Fix German translation. (Closes: #418892) + * Update build-depends for texlive. + * Rename binary package to noweb, as per upstream's request. (Closes: #404507) + + -- Hubert Chan Wed, 16 May 2007 14:22:41 -0400 + +noweb (2.11b-2) unstable; urgency=low + + * New maintainer. (Closes: #398109) + * Acknowledge NMUs. Thanks to Martin Zobel-Helas, Norman Ramsey, Joey + Hess, Martin Shulze, Steve Langasek. (Closes: #218050, #284691) + * Fix patches so that we have a working clean target always, and push + touching of roff output later into the patch. + * Touch manpages to avoid rebuilding. (Closes: #394551) + * Fix up a few minor build issues. + * Update copyright file. + * Remove obsolete README.Debian file, and other unnecessary cruft. + * Add homepage to package description. + + -- Hubert Chan Wed, 22 Nov 2006 18:13:25 -0500 + +noweb (2.11b-1.4) unstable; urgency=low + + * Non-maintainer upload. + * build-depend on awk instead of gawk (Closes: #339835) + + -- Martin Zobel-Helas Fri, 15 Sep 2006 14:20:25 +0000 + +noweb (2.11b-1.3) unstable; urgency=low + + [ Norman Ramsey ] + * Non-maintainer upload. + * Fixed some problems with Makefiles + * Added scopehack to distribution. Closes: #284691 + * New upstream release + - Closes: #218050 (and a related problem with noweave -x) + - Closes: #223376 + - notes limits of htmltoc in man page (won't fix #157853) + + [ Joey Hess ] + * Cleaned up the changelog bug closings, etc. + + -- Joey Hess Tue, 13 Jun 2006 14:57:58 -0400 + +noweb (2.11a-1.0) unstable; urgency=low + + * NMU + + [ Norman Ramsey ] + * New upstream release + * The security release put in patches that caused noweb to be + unbuildable without noweb. Existing patches were split and + reordered to eliminate this problem. In the process, I transitioned + the package from dbs to dpatch, as recommended in the dbs man pages + and the New Maintainer's Guide. + + [ Joey Hess ] + * Add a dependency on gawk, which provides nawk, which noroots uses. + Closes: #339835 + * Fix path in README.Debian. Closes: #223376 + * Current standards-version. + + -- Joey Hess Fri, 9 Jun 2006 18:57:15 -0400 + +noweb (2.10c-3.3) unstable; urgency=low + + * NMU + * Patch from Matt Kraai to complete xlibs-dev transition. Closes: #347128 + + -- Joey Hess Sun, 5 Mar 2006 20:49:54 -0500 + +noweb (2.10c-3.2) stable-security; urgency=high + + * Non-maintainer upload by the Security Team + * Applied patch by Javier Fernández-Sanguino Peña to fix insecure + temporary files [debian/patches/005_security_CVE-2005-3342] + + -- Martin Schulze Thu, 26 Jan 2006 20:54:50 +0100 + +noweb (2.10c-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Apply complete security fixes for DSA-323-1 to the version in sid + (closes: #271146). + + -- Steve Langasek Tue, 21 Sep 2004 00:19:02 -0700 + +noweb (2.10c-3) unstable; urgency=low + + * Changed "nobweb" to "noweb" is noweb-mode.el. (Closes: #196757) + * 002_tmp_fix: applied patch from Yann Dirson to change last instance of + /tmp/tags.$$ to $tmpfile (no more "troff: fatal error: can't find + macro file gm" error.) (Closes: #218050) + * html-tidy says guide.html has some problems (empty

, etc.) but not + the table error described in the bug report. (Closes: #67876) + + -- Federico Di Gregorio Sun, 2 Nov 2003 12:21:56 +0100 + +noweb (2.10c-2) unstable; urgency=low + + * Updated Standards-Version field to 3.5.9. + * Fixed debian/rules to explicitly define DESTDIR (Closes: #175242) + * Patch 002_tmp_fix (Closes: #173240) + - fixes insecure usage of /tmp by cpif + - fixes insecure usage of /tmp by noroff + * Switched to icont only again (Closes: #142644) + * Removed full stop from synopsis. + * Removed debian/nowebm.conffiles (dh_installemacs does that) + + -- Federico Di Gregorio Fri, 4 Apr 2003 11:18:40 +0200 + +noweb (2.10c-1) unstable; urgency=low + + * New upstream release. + * Resynced version number. + * Re-enabled iconc, let see if it compiles right on strange archs. + * Reintegrated cpif into main package. + + -- Federico Di Gregorio Wed, 24 Jul 2002 20:48:22 +0200 + +noweb (2.10b.1-1) unstable; urgency=low + + * postrm script calls texhash on remove only (closes: #153226). + * Closing bugs fixed in NMU (closes: #132119). + * Finally switched to debhelper V3 and dbs. + * ICONC=icont as suggested by the upstream author. That should fix all + the build problems on non-i386 archs. + * Created cpif package as requested on the BTS 2 years ago (closes: #54182) + * Changed upstream version to 2.10b.1 to be able to upload new source + tarball, next upstream version will be 2.10c and will be in sync + again. + + -- Federico Di Gregorio Wed, 17 Jul 2002 12:51:42 +0200 + +noweb (2.10b-1) unstable; urgency=low + + * New upstream release (closes: #153170). + + -- Federico Di Gregorio Tue, 16 Jul 2002 18:00:50 +0200 + +noweb (2.9a-10) unstable; urgency=high + + * Fixed wrong url in copyright (closes: #145523). + * Set urgency=high to hopefully get in woody (noweb is stable, the only + fixes are compiling problems on some archs.) + + -- Federico Di Gregorio Thu, 2 May 2002 14:26:04 +0200 + +noweb (2.9a-9) unstable; urgency=high + + * Trying to fix the ia64 bug the hppa way. + + -- Federico Di Gregorio Mon, 29 Apr 2002 21:45:42 +0200 + +noweb (2.9a-8) unstable; urgency=low + + * Applied patch from LaMont Jones (closes: #144323). + + -- Federico Di Gregorio Wed, 24 Apr 2002 11:17:09 +0200 + +noweb (2.9a-7.1) unstable; urgency=low + + * Non-maintainer upload. + * Make /etc/emacs/site-start.d/50nowebm.el a conffile (closes: #132119). + + -- Colin Watson Sun, 10 Feb 2002 15:45:10 +0000 + +noweb (2.9a-7) frozen unstable; urgency=low + + * Re-upload with bumped version to avoid overwrite problems. + + -- Federico Di Gregorio Wed, 19 Sep 2001 15:58:20 +0200 + +noweb (2.9a-6) frozen unstable; urgency=low + + * Added build deps (Closes: #109356). + * Bumped up policy version. + + -- Federico Di Gregorio Mon, 3 Sep 2001 18:30:17 +0200 + +noweb (2.9a-5) frozen unstable; urgency=low + + * Applied patch from Paco Moya to fix a + path in /etc/emacs/site-start.d/50nowebm.el. + + -- Federico Di Gregorio Wed, 26 Jan 2000 18:23:09 +0100 + +noweb (2.9a-4) frozen unstable; urgency=low + + * Argh! I missed to specify "frozen" again. Let's re-upload the whole + stuff again (and again (and again (and ...))) + + -- Federico Di Gregorio Thu, 20 Jan 2000 20:24:41 +0100 + +noweb (2.9a-3) unstable; urgency=low + + * Reupload to make it into frozen. + + -- Federico Di Gregorio Thu, 20 Jan 2000 09:40:27 +0100 + +noweb (2.9a-2) unstable; urgency=low + + * Fixed bug in debian/rules. Now shell scripts are built with + correct path. + + -- Federico Di Gregorio Sat, 15 Jan 2000 19:12:46 +0100 + +noweb (2.9a-1) unstable; urgency=low + + * New upstream version (fixes: #54115) + * Applied PowerPC patch from Konstantinos Margaritis + (fixes: #51874) + * Applied postinst/prerm patch from Rafael Laboissiere + (fixes: #34029) + * Changed documentation entry from menu to docbase (fixes: #32100) + * Now FHS compliant (fixes: #42451) + * Adption of debhelper in debian/rules. + * Lintian clean! + + -- Federico Di Gregorio Sat, 8 Jan 2000 12:23:04 +0100 + +noweb (2.8a-3) frozen unstable; urgency=low + + * Got new licence from upstream author: noweb can now stay + in main! (Thank you a lot Norman.) + * Changed name to nowebm (noweb-modified). This is required by + the licence to do any modification (packaging/bugfixing/etc...) + * Removed mawk dependence (fixes: #19622). + * Made the package lintian-clean. + + -- Federico Di Gregorio Mon, 13 Apr 1998 22:14:14 +0100 + +noweb (2.8a-2) unstable; urgency=low + + * Moved LaTeX .sty file to .../latex/litprog. + * Added documentation (onepage.ps) got from Norman noweb page. + * Removed bashisms from debian/rules. + + -- Federico Di Gregorio Sat, 28 Feb 1998 12:14:14 +0100 + +noweb (2.8a-1) unstable; urgency=low + + * Initial release. (And now if only Norman would change the license...) + + -- Federico Di Gregorio Tue, 18 Nov 1997 11:47:27 +0100 + + + + --- noweb-2.11b.orig/debian/copyright +++ noweb-2.11b/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by: + + Federico Di Gregorio on + Thu, 18 Nov 1997 12:00:00 + +The current Debian maintainer is Hubert Chan . + +The original, pristine sources can be obtained from: + + http://www.eecs.harvard.edu/~nr/noweb/dist + +Copyright: + +Noweb is copyright 1989-2000 by Norman Ramsey. All rights reserved. + +Noweb is protected by copyright. It is not public-domain +software or shareware, and it is not protected by a ``copyleft'' +agreement like the one used by the Free Software Foundation. + +Noweb is available free for any use in any field of endeavor. You may +redistribute noweb in whole or in part provided you acknowledge its +source and include this COPYRIGHT file. You may modify noweb and +create derived works, provided you retain this copyright notice, but +the result may not be called noweb without my written consent. + +You may sell noweb if you wish. For example, you may sell a CD-ROM +including noweb. + +You may sell a derived work, provided that all source code for your +derived work is available, at no additional charge, to anyone who buys +your derived work in any form. You must give permisson for said +source code to be used and modified under the terms of this license. +You must state clearly that your work uses or is based on noweb and +that noweb is available free of change. You must also request that +bug reports on your work be reported to you. --- noweb-2.11b.orig/debian/noweb.postrm +++ noweb-2.11b/debian/noweb.postrm @@ -0,0 +1,8 @@ +#!/bin/sh -e + +# simply run texhash to get rid of the .sty and .tex files +if [ "$1" = "remove" -a -x /usr/bin/texhash ] ; then + texhash +fi + +#DEBHELPER# --- noweb-2.11b.orig/debian/noweb.doc-base.onepage +++ noweb-2.11b/debian/noweb.doc-base.onepage @@ -0,0 +1,11 @@ +Document: noweb-onepage +Title: A One-Page Guide to Using noweb with LaTeX +Author: Norman Ramsey after Lee Wittenberg and Carl Gregory +Abstract: One page introduction to noweb and LaTeX for ordinary users. +Section: Apps/Programming + +Format: PostScript +Files: /usr/share/doc/noweb/onepage.ps.gz + +Format: DVI +Files: /usr/share/doc/noweb/onepage.dvi.gz --- noweb-2.11b.orig/debian/patches/12_nostrip.dpatch +++ noweb-2.11b/debian/patches/12_nostrip.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 12_nostrip.dpatch by Hubert Chathi +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Don't strip binaries. This is done by dh_strip. + +@DPATCH@ +diff -urNad noweb~/src/Makefile noweb/src/Makefile +--- noweb~/src/Makefile 2008-04-19 22:24:14.000000000 -0400 ++++ noweb/src/Makefile 2008-06-11 12:46:32.000000000 -0400 +@@ -99,7 +99,7 @@ + + install-code: install-shell + -mkdir $(BIN) $(LIB) 2>/dev/null +- strip c/nt c/markup c/mnt c/finduses ++ #strip c/nt c/markup c/mnt c/finduses + cp c/nt c/markup c/mnt c/finduses $(LIB) + cd $(LIBSRC); make ICONT=$(ICONT) ICONC=$(ICONC) LIB=$(LIB) BIN=$(BIN) install + cd lib; make LIB=$(LIB) install +diff -urNad noweb~/src/Makefile.nw noweb/src/Makefile.nw +--- noweb~/src/Makefile.nw 2008-04-19 22:24:10.000000000 -0400 ++++ noweb/src/Makefile.nw 2008-06-11 12:46:12.000000000 -0400 +@@ -73,7 +73,7 @@ + + install-code: install-shell + -mkdir $(BIN) $(LIB) 2>/dev/null +- strip c/nt c/markup c/mnt c/finduses ++ #strip c/nt c/markup c/mnt c/finduses + cp c/nt c/markup c/mnt c/finduses $(LIB) + cd $(LIBSRC); make ICONT=$(ICONT) ICONC=$(ICONC) LIB=$(LIB) BIN=$(BIN) install + cd lib; make LIB=$(LIB) install --- noweb-2.11b.orig/debian/patches/01_debian.dpatch +++ noweb-2.11b/debian/patches/01_debian.dpatch @@ -0,0 +1,82 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_debian.dpatch by , +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: modify source to follow Debian conventions + +@DPATCH@ + +diff -ruN noweb/src/icon/Makefile noweb/src/icon/Makefile +--- noweb/src/icon/Makefile 2002-07-18 00:43:46.000000000 +0200 ++++ noweb/src/icon/Makefile 2003-04-04 11:20:45.000000000 +0200 +@@ -32,9 +32,9 @@ + touch $(SRCS) + + install: $(EXECS) +- cp $(LIBEXECS) $(LIB) +- cp $(BINEXECS) $(BIN) +- cp $(LIBSPECIAL) $(LIB)/autodefs.c ++ cp $(LIBEXECS) $(DESTDIR)/$(LIB) ++ cp $(BINEXECS) $(DESTDIR)/$(BIN) ++ cp $(LIBSPECIAL) $(DESTDIR)/$(LIB)/autodefs.c + + uninstall: + for i in $(LIBEXECS); do rm -f $(LIB)/$$i; done +diff -ruN noweb/src/lib/Makefile noweb/src/lib/Makefile +--- noweb/src/lib/Makefile 2006-06-12 17:52:18.957203000 -0400 ++++ noweb/src/lib/Makefile 2006-06-12 18:26:16.018379000 -0400 +@@ -11,9 +11,9 @@ + chmod +x unmarkup emptydefn toascii nwmtime pipedocs h2a btdefn + + install: all +- cp unmarkup emptydefn toascii nwmtime h2a btdefn $(LIB) +- sed 's@|LIBDIR|@$(LIB)@g' pipedocs > $(LIB)/pipedocs +- chmod +x $(LIB)/pipedocs ++ cp unmarkup emptydefn toascii nwmtime h2a btdefn $(DESTDIR)/$(LIB) ++ sed 's@|LIBDIR|@$(LIBNAME)@g' pipedocs > $(DESTDIR)/$(LIB)/pipedocs ++ chmod +x $(DESTDIR)/$(LIB)/pipedocs + + uninstall: + for i in unmarkup emptydefn toascii nwmtime h2a btdefn; do rm -f $(LIB)/$$i; done +diff -ruN noweb/src/Makefile noweb/src/Makefile +--- noweb/src/Makefile 2002-07-18 00:47:31.000000000 +0200 ++++ noweb/src/Makefile 2003-04-04 11:20:45.000000000 +0200 +@@ -122,10 +122,11 @@ + sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/htmltoc.1 > $(MANDIR)/htmltoc.$(MANEXT) + sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebstyle.7 > $(MAN7DIR)/nowebstyle.$(MAN7EXT) + sed -e "s@|LIBDIR|@$(LIBNAME)@" -e "s@|TEXINPUTS|@$(TEXNAME)@" xdoc/nowebfilters.7 > $(MAN7DIR)/nowebfilters.$(MAN7EXT) +- rm -f $(MANDIR)/noweave.$(MANEXT) +- (cd $(MANDIR); ln notangle.$(MANEXT) noweave.$(MANEXT)) +- rm -f $(MANDIR)/nountangle.$(MANEXT) +- (cd $(MANDIR); ln notangle.$(MANEXT) nountangle.$(MANEXT)) ++ # removed and replaced by dh_link --fog ++ #rm -f $(MANDIR)/noweave.$(MANEXT) ++ #(cd $(MANDIR); ln -s notangle.$(MANEXT) noweave.$(MANEXT)) ++ #rm -f $(MANDIR)/nountangle.$(MANEXT) ++ #(cd $(MANDIR); ln -s notangle.$(MANEXT) nountangle.$(MANEXT)) + uninstall-man: + rm -f $(MANDIR)/cpif.$(MANEXT) + rm -f $(MANDIR)/nodefs.$(MANEXT) +@@ -181,7 +181,8 @@ + install-tex: + -mkdir $(TEXINPUTS) 2>/dev/null + cp tex/nwmac.tex tex/noweb.sty $(TEXINPUTS) +- -texhash || echo "Program texhash not found or failed" ++ # we run texhash in the postinst script instead --uhoreg ++ #texhash || echo "Program texhash not found or failed" + + uninstall-tex: + rm -f $(TEXINPUTS)/nwmac.tex $(TEXINPUTS)/noweb.sty +diff -u noweb/src/xdoc/Makefile noweb/src/xdoc/Makefile +--- noweb/src/xdoc/Makefile ++++ noweb/src/xdoc/Makefile +@@ -19,7 +19,7 @@ + RCSFILES=*.nw *.tex Makefile + DOVERSION=./doversion + +-all: $(SRCS) ++all: $(MANPAGES) + source: $(SRCS) + touch: $(SRCS) + touch $(SRCS) + --- noweb-2.11b.orig/debian/patches/06_roff_output.dpatch +++ noweb-2.11b/debian/patches/06_roff_output.dpatch @@ -0,0 +1,48 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 06_roff_output.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fix temp things in code generated from roff.nw +## DP: (needed to be moved *after* security update to source) + +@DPATCH@ + +diff -ur noweb/src/shell/noroff noweb/src/shell/noroff +--- noweb/src/shell/noroff 2004-09-13 13:45:46.601909792 +0100 ++++ noweb/src/shell/noroff 2004-09-13 13:42:23.458792240 +0100 +@@ -35,9 +35,10 @@ + + base="`basename $1 | sed '/\./s/\.[^.]*$//'`" + tagsfile="$base.nwt" + (echo ".so $macrodir/tmac.w" + if [ -r "$tagsfile" ]; then +- cp $tagsfile /tmp/tags.$$ ++ tagstemp=$(tempfile -p tags) || { echo "$0: Cannot create temporary file" >&2; exit 1; } ++ cp $tagsfile $tagstemp + $AWK '{ + if (sub(/^###TAG### / , "")) tags[$1] = $2 + else if (sub(/^###BEGINCHUNKS###/, "")) printf ".de CLIST\n.CLISTBEGIN\n" +@@ -88,8 +93,8 @@ + # print str3 + # print convquote(str3) + # } +- function tag(s) { if (s in tags) return tags[s]; else return "???" }' /tmp/tags.$$ +- rm -f /tmp/tags.$$ ++ function tag(s) { if (s in tags) return tags[s]; else return "???" }' $tagstemp ++ rm -f $tagstemp + fi + cat "$@") | + ($ROFF $opts 2>$tagsfile) +diff -ur noweb/src/shell/toroff noweb/src/shell/toroff +--- noweb/src/shell/toroff 2002-07-17 23:50:08.000000000 +0100 ++++ noweb/src/shell/toroff 2004-09-13 13:42:49.214876720 +0100 +@@ -9,7 +9,8 @@ + exit 1;; + esac + done +-awkfile="/tmp/noweb$$.awk" ++awkfile=$(tempfile -p noweb -s .awk) || { echo "$0: Cannot create temporary file" >&2; exit 1; } ++ + trap 'rm -f $awkfile' 0 1 2 10 14 15 + cat > $awkfile << 'EOF' + /^@begin docs 0$/ { if (delay) next } --- noweb-2.11b.orig/debian/patches/99_touch.dpatch +++ noweb-2.11b/debian/patches/99_touch.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh +## 99_touch.dpatch by , +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: update timestamp to avoid needing noweb to build noweb + +# earlier patches hit the noweb file from which these files are derived; +# by touching them, we make it possible to build noweb without already +# having noweb + +case $1 in + -patch) + sleep 1 # so that we have at least a second difference in timestaps + for x in src/shell/tmac.w src/shell/noroff src/shell/toroff \ + src/xdoc/notangle.1 src/xdoc/nowebstyle.7 src/xdoc/noweb.1 \ + src/xdoc/cpif.1 src/xdoc/nuweb2noweb.1 src/tex/noweb.sty \ + src/tex/nwmac.tex src/Makefile; do + touch $x; + done + ;; +esac --- noweb-2.11b.orig/debian/patches/08_tmac_dir.dpatch +++ noweb-2.11b/debian/patches/08_tmac_dir.dpatch @@ -0,0 +1,47 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 08_tmac_dir.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: look for noweb's troff macros in the correct directory + +@DPATCH@ +--- noweb/src/shell/noroff 2006-06-12 18:38:15.000000000 -0400 ++++ noweb/src/shell/noroff 2006-06-12 18:52:50.352582000 -0400 +@@ -4,7 +4,7 @@ + + ROFF="groff" + AWK=nawk +-macrodir=|LIBDIR| ++macrodir=/usr/share/groff/tmac + + opts= + +@@ -35,7 +35,7 @@ + + base="`basename $1 | sed '/\./s/\.[^.]*$//'`" + tagsfile="$base.nwt" +-(echo ".so $macrodir/tmac.w" ++(echo ".so $macrodir/noweb.tmac" + if [ -r "$tagsfile" ]; then + tagstemp=$(tempfile -p tags) || { echo "$0: Cannot create temporary file" >&2; exit 1; } + cp $tagsfile $tagstemp +--- noweb/src/shell/roff.nw 2006-06-12 18:38:15.000000000 -0400 ++++ noweb/src/shell/roff.nw 2006-06-12 18:52:50.352582000 -0400 +@@ -631,7 +631,7 @@ + + ROFF="groff" + AWK=nawk +-macrodir=|LIBDIR| ++macrodir=/usr/share/groff/tmac + + opts= + +@@ -662,7 +662,7 @@ + + base="`basename $1 | sed '/\./s/\.[^.]*$//'`" + tagsfile="$base.nwt" +-(echo ".so $macrodir/tmac.w" ++(echo ".so $macrodir/noweb.tmac" + if [ -r "$tagsfile" ]; then + tagstemp=$(tempfile -p tags) || { echo "$0: Cannot create temporary file" >&2; exit 1; } + cp $tagsfile $tagstemp --- noweb-2.11b.orig/debian/patches/04_uninstall.dpatch +++ noweb-2.11b/debian/patches/04_uninstall.dpatch @@ -0,0 +1,34 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_uninstall.dpatch by Hubert Chan +## +## All lines beginning with ## DP:' are a description of the patch. +## DP: Add uninstall targets to some makefiles + +@DPATCH@ +--- noweb-2.11b.orig/src/icon/Makefile ++++ noweb-2.11b/src/icon/Makefile +@@ -36,6 +36,11 @@ + cp $(BINEXECS) $(BIN) + cp $(LIBSPECIAL) $(LIB)/autodefs.c + ++uninstall: ++ for i in $(LIBEXECS); do rm -f $(LIB)/$$i; done ++ for i in $(BINEXECS); do rm -f $(BIN)/$$i; done ++ rm -f $(LIB)/autodefs.c ++ + clean: + /bin/rm -f *.tex *.dvi *.aux *.log *.blg *.bbl *~ *.toc *.html *.u1 *.u2 + /bin/rm -f *.[ch] *.ps *.gz +--- noweb-2.11b.orig/src/lib/Makefile ++++ noweb-2.11b/src/lib/Makefile +@@ -15,6 +15,10 @@ + sed 's@|LIBDIR|@$(LIB)@g' pipedocs > $(LIB)/pipedocs + chmod +x $(LIB)/pipedocs + ++uninstall: ++ for i in unmarkup emptydefn toascii nwmtime h2a btdefn; do rm -f $(LIB)/$$i; done ++ rm -f $(LIB)/pipedocs ++ + checkin: + ci -l $(CINAME) $(CIMSG) $(RCSFILES) + --- noweb-2.11b.orig/debian/patches/10_vmargin.dpatch +++ noweb-2.11b/debian/patches/10_vmargin.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_vmargin.dpatch by Hubert Chan +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: use vmargin instead of (obsolete) vpage + +@DPATCH@ +--- noweb-2.11b.orig/src/xdoc/onepage.tex ++++ noweb-2.11b/src/xdoc/onepage.tex +@@ -0,7 +0,7 @@ + \documentclass{article} + \usepackage{alltt,multicol,array,tabularx} + \pagestyle{empty} +-\usepackage{vpage} ++\usepackage{vmargin} + \setpapersize{USletter} + \setmarginsrb{0.75in}{0.75in}{0.75in}{0.75in}{0pt}{0pt}{0pt}{0pt} + --- noweb-2.11b.orig/debian/patches/05_security_CVE-2005-3342.dpatch +++ noweb-2.11b/debian/patches/05_security_CVE-2005-3342.dpatch @@ -0,0 +1,107 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_security_CVE-2005-3342.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: remove unacceptable uses of /tmp files + +@DPATCH@ + +diff -Nru noweb/contrib/rsc/rc/cpif.nw noweb/contrib/rsc/rc/cpif.nw +--- noweb/contrib/rsc/rc/cpif.nw 2000-03-28 01:52:18.000000000 +0200 ++++ noweb/contrib/rsc/rc/cpif.nw 2005-10-26 00:50:47.000000000 +0200 +@@ -24,7 +24,7 @@ + exit usage + } + +-new=/tmp/noweb.$pid ++new=$(tempfile -p noweb) || { echo "$0: Cannot create temporary file" >&2; exit 1; } + + # trap 'rm -f $new; exit 1' 1 2 15 # clean up files + +diff -Nru noweb/contrib/rsc/rc/toascii.nw noweb/contrib/rsc/rc/toascii.nw +--- noweb/contrib/rsc/rc/toascii.nw 2000-03-28 01:52:18.000000000 +0200 ++++ noweb/contrib/rsc/rc/toascii.nw 2005-10-26 00:51:38.000000000 +0200 +@@ -38,9 +38,9 @@ + Also arranged here is a temporary file for storage of the awk program on an + ugly system, as discussed below. + <>= +-awkfile=/tmp/awk$pid.tmp +-textfile=/tmp/text$pid.tmp +-tagsfile=/tmp/tags$pid.tmp ++awkfile=$(tempfile -p awk) || { echo "$0: Cannot create temporary file" >&2; exit 1; } ++textfile=$(tempfile -p text ) || { echo "$0: Cannot create temporary file" >&2; exit 1; } ++tagsfile=$(tempfile -p tags ) || { echo "$0: Cannot create temporary file" >&2; exit 1; } + @ %def textfile tagsfile awkfile + The actual formatting of the text, code, and index entries is done by various + unix text processing commands in pipelines. There are four formatting pipes: +diff -Nru noweb/src/lib/h2a noweb/src/lib/h2a +--- noweb/src/lib/h2a 1999-09-16 22:07:47.000000000 +0200 ++++ noweb/src/lib/h2a 2005-10-26 00:42:09.000000000 +0200 +@@ -6,7 +6,7 @@ + -[0-9]*) opts="$opts -width=`expr 0 - $1`" ; shift ;; + esac + +-html=/tmp/$$.html; ++html=`tempfile` || { echo "$0: Cannot create temporary file" >&2; exit 1; } + trap 'rm -f $html; exit 1' 1 2 15 # clean up files + + awk ' +diff -Nru noweb/src/shell/roff.mm noweb/src/shell/roff.mm +--- noweb/src/shell/roff.mm 1998-08-18 21:33:04.000000000 +0200 ++++ noweb/src/shell/roff.mm 2005-10-26 00:45:11.000000000 +0200 +@@ -214,7 +214,7 @@ + .ADDLIST 1a + .PRINTLIST + +-awkfile="/tmp/noweb$$.awk" ++awkfile=$(tempfile -p noweb -s .awk) || { echo "$0: Cannot create temporary file" >&2; exit 1; } + trap 'rm -f $awkfile' 0 1 2 10 14 15 + cat > $awkfile \&<< 'EOF' + \c +@@ -1628,14 +1628,15 @@ + tagsfile="$base.nwt" + (echo ".so $macrodir/tmac.w" + if [ -r "$tagsfile" ]; then +- cp $tagsfile /tmp/tags.$$ ++ tagstemp=$(tempfile -p tags) || { echo "$0: Cannot create temporary file" >&2; exit 1; } ++ cp $tagsfile $tagstemp + $AWK '\c + .USE "action for \*[BEGINCONVQUOTE]tags\*[ENDCONVQUOTE] line" 11c + \& + \c + .USE "functions" 8a +-\&' /tmp/tags.$$ +- rm -f /tmp/tags.$$ ++\&' $tagstemp ++ rm -f $tagstemp + fi + cat "$@") | + ($ROFF $opts 2>$tagsfile) +diff -Nru noweb/src/shell/roff.nw noweb/src/shell/roff.nw +--- noweb/src/shell/roff.nw 1998-08-17 02:27:09.000000000 +0200 ++++ noweb/src/shell/roff.nw 2005-10-26 00:46:47.000000000 +0200 +@@ -80,7 +80,8 @@ + other, and quoting each quote is ugly. The pragmatic solution is to + copy the awk program into a temporary file, using a shell here-document. + <>= +-awkfile="/tmp/noweb$$.awk" ++awkfile=$(tempfile -p noweb -s .awk) || { echo "$0: Cannot create temporary file" >&2; exit 1; } ++ + trap 'rm -f $awkfile' 0 1 2 10 14 15 + cat > $awkfile << 'EOF' + <> +@@ -664,10 +665,11 @@ + tagsfile="$base.nwt" + (echo ".so $macrodir/tmac.w" + if [ -r "$tagsfile" ]; then +- cp $tagsfile /tmp/tags.$$ ++ tagstemp=$(tempfile -p tags) || { echo "$0: Cannot create temporary file" >&2; exit 1; } ++ cp $tagsfile $tagstemp + $AWK '<> +- <>' /tmp/tags.$$ +- rm -f /tmp/tags.$$ ++ <>' $tagstemp ++ rm -f $tagstemp + fi + cat "$@") | + ($ROFF $opts 2>$tagsfile) --- noweb-2.11b.orig/debian/patches/09_awk.dpatch +++ noweb-2.11b/debian/patches/09_awk.dpatch @@ -0,0 +1,102 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 09_awk.dpatch by based on patch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: support gawk + +@DPATCH@ +--- noweb-2.11b.orig/src/awkname ++++ noweb-2.11b/src/awkname +@@ -7,12 +7,13 @@ + rc=0 + new=/tmp/$$.new; old=/tmp/$$.old + +-for file in lib/emptydefn lib/unmarkup lib/toascii lib/btdefn \ ++for file in ../examples/sharpline \ ++ lib/emptydefn lib/unmarkup lib/toascii lib/btdefn lib/pipedocs \ + awk/noidx awk/totex awk/tohtml awk/noindex \ +- shell/nocount shell/nountangle shell/noweb shell/noroots ++ shell/nocount shell/nountangle shell/noweb shell/noroots shell/noroff shell/toroff + do + trap 'rm -f $new $old; exit 1' 1 2 15 # clean up files +- if sed -e "s/nawk '/$1 '/" -e "s/nawk -f/$1 -f/" < $file >$new; then ++ if sed -e "s/\\(g\\|n\\|\\)awk \\('\\|-f\\)/$1 \\2/" -e "s/^AWK=\\(g\\|n\\|\\)awk/AWK=$1/" < $file >$new; then + cp $file $old # save original file + trap 'trap "" 1 2 15; cp $old $file # ignore signals + rm -f $new $old; exit 1' 1 2 15 # during restore +--- noweb-2.11b.orig/src/xdoc/manpage.nw ++++ noweb-2.11b/src/xdoc/manpage.nw +@@ -358,9 +358,7 @@ + \".PP + \".I noweb + \"requires the new version of +-\".IR awk , +-\"assumed to be called +-\".IR nawk . ++\".IR awk . + \"DEC + \".I nawk + \"has a bug in that that causes +@@ -561,9 +559,7 @@ + .PP + .I noweb + requires the new version of +-.IR awk , +-assumed to be called +-.IR nawk . ++.IR awk . + DEC + .I nawk + has a bug in that that causes problems with braces in +--- noweb-2.11b.orig/src/xdoc/notangle.txt ++++ noweb-2.11b/src/xdoc/notangle.txt +@@ -332,8 +332,6 @@ + + + +- +- + The _-_L option of _n_o_t_a_n_g_l_e puts an implicit initial newline in the for- + mat string. + +--- noweb-2.11b.orig/src/xdoc/noweb.txt ++++ noweb-2.11b/src/xdoc/noweb.txt +@@ -93,9 +93,9 @@ + and use _n_o_w_e_a_v_e and _n_o_t_a_n_g_l_e instead. If the design were better, we + could all use the same commands. + +- _n_o_w_e_b requires the new version of _a_w_k, assumed to be called _n_a_w_k. DEC +- _n_a_w_k has a bug in that that causes problems with braces in _T_e_X output. +- GNU _g_a_w_k is reported to work. ++ _n_o_w_e_b requires the new version of _a_w_k. DEC _n_a_w_k has a bug in that that ++ causes problems with braces in _T_e_X output. GNU _g_a_w_k is reported to ++ work. + + The default _L_a_T_e_X pagestyles don't set the width of the boxes contain- + ing headers and footers. Since _n_o_w_e_b code paragraphs are extra wide, +--- noweb-2.11b.orig/src/xdoc/notangle.1 ++++ noweb-2.11b/src/xdoc/notangle.1 +@@ -584,9 +584,7 @@ + \".PP + \".I noweb + \"requires the new version of +-\".IR awk , +-\"assumed to be called +-\".IR nawk . ++\".IR awk . + \"DEC + \".I nawk + \"has a bug in that that causes +--- noweb-2.11b.orig/src/xdoc/noweb.1 ++++ noweb-2.11b/src/xdoc/noweb.1 +@@ -169,9 +169,7 @@ + .PP + .I noweb + requires the new version of +-.IR awk , +-assumed to be called +-.IR nawk . ++.IR awk . + DEC + .I nawk + has a bug in that that causes problems with braces in --- noweb-2.11b.orig/debian/patches/00list +++ noweb-2.11b/debian/patches/00list @@ -0,0 +1,12 @@ +01_debian +02_tmp_fix +04_uninstall +05_security_CVE-2005-3342 +06_roff_output +08_tmac_dir +09_awk +10_vmargin +11_german +12_nostrip +13_bashism +99_touch --- noweb-2.11b.orig/debian/patches/13_bashism.dpatch +++ noweb-2.11b/debian/patches/13_bashism.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 13_bashism.dpatch by Hubert Chathi +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix unportable backslash in call to echo. (Closes: #486052) + +@DPATCH@ +diff -urNad noweb~/src/shell/noweave noweb/src/shell/noweave +--- noweb~/src/shell/noweave 2008-04-19 22:24:10.000000000 -0400 ++++ noweb/src/shell/noweave 2008-06-16 13:14:32.000000000 -0400 +@@ -100,7 +100,7 @@ + echo " or perform other functions." 1>&2 + echo "-autodefs lang Source is in language 'lang'; find definitions automatically." 1>&2 + echo "-showautodefs List languages that can be used with -autodefs" 1>&2 +- echo '-option opt Add \noweboptions{opt} to header (latex only)' 1>&2 ++ printf '-option opt Add \\noweboptions{opt} to header (latex only)\n' 1>&2 + echo "-delay Delay markup until after first documentation chunk." 1>&2 + echo "-tk Expand tab stops every k columns" 1>&2 + echo "-t Copy tabs to the output" 1>&2 +diff -urNad noweb~/src/shell/noweave.nw noweb/src/shell/noweave.nw +--- noweb~/src/shell/noweave.nw 2008-04-19 22:24:10.000000000 -0400 ++++ noweb/src/shell/noweave.nw 2008-06-16 13:13:38.000000000 -0400 +@@ -347,7 +347,7 @@ + if [ "X$newopt" = "Xlongxref" ]; then shortxref="-longxref"; fi + <> ;; + <