head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.150 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.148 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.146 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.144 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.142 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.140 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.138 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.136 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.134 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.132 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.130 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.128 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.126 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.124 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.122 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.120 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.118 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.116 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.114 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.112 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.110 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.108 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.106 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.102 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.82 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.104 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.100 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.98 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.96 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.94 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.92 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.90 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.88 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.86 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.84 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.80 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.78 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.76 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.74 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.72 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.70 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.68 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.66 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.64 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.62 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.60 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.58 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.56 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.54 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.52 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.50 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.48 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.46 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.44 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.42 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.40 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.38 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.36 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.34 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.32 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.30 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.28 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.26 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.24 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.22 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.20 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.18 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.16 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.14 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.12 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.10 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.8 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.6 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.4 pkgsrc-2008Q1:1.2.0.2 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.1.0.16 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.14 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.12 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.10 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.8 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.6 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.4 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.2; locks; strict; comment @# @; 1.2 date 2008.03.08.13.02.40; author tnn; state Exp; branches; next 1.1; 1.1 date 2006.05.23.16.07.04; author joerg; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2006.05.23.16.07.04; author salo; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2006.05.24.00.05.17; author salo; state Exp; branches; next ; desc @@ 1.2 log @PR pkg/38194: Aleksej Saushev: Update devel/noweb to 2.11b. CHANGES FOR VERSION 2.11b - released 12 Jun 2006 Make noroff use -mm by default (Debian 218050) Fixed flagrant errors in noweave -x -troff (but bad formatting remains) CHANGES FOR VERSION 2.11a - released 20 May 2006 Clarify instructions for $PATH and $MANPATH (B Pierce) Create examples/Makefile.awk (B Pierce) Clarify documentation: unescaped << and >> not OK in docs chunk (R Hemmecke) Add -lua option to docs2comments filter CHANGES FOR VERSION 2.11 - released 6 April 2006 Braces did not render correctly in [[<<$\{a_i\}$>>]] (Albert Reiner) From Kevin Quick, Windows hints and a new NOTANGLE.BAT Generate postscript with -P cmz for better PDF (Francky Leyn) Clarify for noweave -delay that the first doco chunk is before the first @@ extended xchunks with -summary argument Line in a code chunk opening with unclosed, unescaped << is OK (Ralf Hemmecke) UNDO ME! Make docs2comments filter tolerate embedded @@xref stuff.. Added Windows XP help to FAQ (David Lemmon) Noidx now calculates labels for a code chunk using the number of preceding definitions from the same @@file, not the overall number Change wording for \noweboptions{german} (Christian Lindig) Need to insert \leavevmode in \sublabel so that new \@@bsphack will work right From Yann Dirson, new filters in contrib/ydirson. From Fr'ed'eric Lin'e, some improvements in French translation (apologies to Moli`ere) CHANGES FOR VERSION 2.10c - released 17 Jul 2002 Bug in noidx.nw caused tag NWD1 etc to be used in multiple files. Cleaned up alignment tags in tables emitted by l2h.nw (Federico Di Gregorio) Fixed some bugs in the HTML markup for the hacker's guide Goes back to iconc, except for noidx.nw, which can't be compiled because of the 32-bit polynomial arithmetic CHANGES FOR VERSION 2.10b - released 15 Jul 2002 Bug in xchunks.nw, around line 100 -- db never initialized (Stephen Edwards) In local identifier cross-reference, enable breaks between pages of multiply defined identifiers (option breakdefs) Create a secret \noweboptions{breakcode} for those who want their code chunks broken across page boundaries German is `Benutzt' not `Benutztt' (Johannes Huesing) No longer suggests iconc; compiling with icont is now the default. CHANGES FOR VERSION 2.10a - released 30 Mar 2001 Fixed problem in src/Makefile -- FAQ should be built by `source' not `all' CHANGES FOR VERSION 2.10 - released 16 Jun 2000, but not officially Added -matlab to nountangle (Uwe Brauer) Added \nwblindhyperanchor to \weblabel (Andrew Swann) Changed one more 'char c' to 'unsigned char c' in recognize.nw (Gilles ANDRE) Change noweb.sty to support more than 26 code chunks on a page (F. Leyn) l2h skips optional arguments with \includegraphics fixed bugs in htmltoc having to do with nested anchors on one line Added capacity for two more filters to noweave script Fixed bug in autodefs.sml (including spaces in symbol chars) Added autodefs.mmix Added autodefs.asdl Scripts for Plan 9 rc (Russ Cox) Tinkered with noidx sortkey Added \mbox{} to \nwnewline, so that spaces won't be eaten (John Cummings) Added xchunks filter, per request of Mike Smith & Glenn Holloway Replaced FORTH uniqueid heuristic with 32-bit CRC Added pipedocs filter to pipe documentation chunks through commands Added h2a (convert html to ascii) for use with pipedoces Added docs2comments filter, with pipedocs and h2a, to replace nountangle Added nwmtime filter; helps derive Zephyr web pages Moved the official FAQ to html Added multiple-language support to noweb.sty (Miguel Filgueiras) notangle -L initial newline is a bug and will never be fixed (Harald Soleng) Added \noweboptions{noxref}, intended for temporary use inside documents. @ text @$NetBSD: patch-am,v 1.1 2006/05/23 16:07:04 joerg Exp $ --- src/shell/roff.mm.orig 1998-08-18 21:33:04.000000000 +0200 +++ src/shell/roff.mm @@@@ -214,7 +214,7 @@@@ copy the awk program into a temporary fi .ADDLIST 1a .PRINTLIST -awkfile="/tmp/noweb$$.awk" +awkfile=$(@@MKTEMP@@ -t noweb) || { 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 @@@@ base="`basename $1 | sed '/\./s/\.[^.]*$ tagsfile="$base.nwt" (echo ".so $macrodir/tmac.w" if [ -r "$tagsfile" ]; then - cp $tagsfile /tmp/tags.$$ + tagstemp=$(@@MKTEMP@@ -t 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) @ 1.1 log @Fix insecure temporary file generation. Based on Debian patchset, but handles more cases. Bump revision. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- shell/roff.mm.orig 1998-08-18 21:33:04.000000000 +0200 +++ shell/roff.mm @ 1.1.2.1 log @file patch-am was added on branch pkgsrc-2006Q1 on 2006-05-23 16:07:04 +0000 @ text @d1 32 @ 1.1.2.2 log @Pullup ticket 1665 - requested by joerg security fix for noweb Revisions pulled up: - pkgsrc/devel/noweb/Makefile 1.33 - pkgsrc/devel/noweb/distinfo 1.4 - pkgsrc/devel/noweb/patches/patch-ab 1.1 - pkgsrc/devel/noweb/patches/patch-ac 1.1 - pkgsrc/devel/noweb/patches/patch-ad 1.1 - pkgsrc/devel/noweb/patches/patch-ae 1.1 - pkgsrc/devel/noweb/patches/patch-af 1.1 - pkgsrc/devel/noweb/patches/patch-ag 1.1 - pkgsrc/devel/noweb/patches/patch-ah 1.1 - pkgsrc/devel/noweb/patches/patch-ai 1.1 - pkgsrc/devel/noweb/patches/patch-aj 1.1 - pkgsrc/devel/noweb/patches/patch-ak 1.1 - pkgsrc/devel/noweb/patches/patch-al 1.1 - pkgsrc/devel/noweb/patches/patch-am 1.1 - pkgsrc/devel/noweb/patches/patch-an 1.1 Module Name: pkgsrc Committed By: joerg Date: Tue May 23 16:07:04 UTC 2006 Modified Files: pkgsrc/devel/noweb: Makefile distinfo Added Files: pkgsrc/devel/noweb/patches: patch-ab patch-ac patch-ad patch-ae patch-af patch-ag patch-ah patch-ai patch-aj patch-ak patch-al patch-am patch-an Log Message: Fix insecure temporary file generation. Based on Debian patchset, but handles more cases. Bump revision. @ text @a0 32 $NetBSD: patch-am,v 1.1.2.1 2006/05/24 00:05:17 salo Exp $ --- shell/roff.mm.orig 1998-08-18 21:33:04.000000000 +0200 +++ shell/roff.mm @@@@ -214,7 +214,7 @@@@ copy the awk program into a temporary fi .ADDLIST 1a .PRINTLIST -awkfile="/tmp/noweb$$.awk" +awkfile=$(@@MKTEMP@@ -t noweb) || { 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 @@@@ base="`basename $1 | sed '/\./s/\.[^.]*$ tagsfile="$base.nwt" (echo ".so $macrodir/tmac.w" if [ -r "$tagsfile" ]; then - cp $tagsfile /tmp/tags.$$ + tagstemp=$(@@MKTEMP@@ -t 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) @