Package: groff / 1.20.1-10

Metadata

Package Version Patches format
groff 1.20.1-10 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
groffer temporary files.patch | (download)

contrib/groffer/shell/groffer2.sh | 23 1 + 22 - 0 !
1 file changed, 1 insertion(+), 22 deletions(-)

 use mktemp in groffer to eliminate a race condition
 This was forwarded in
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278265#12 and addressed
pdfroff temporary files.patch | (download)

contrib/pdfmark/pdfroff.man | 5 3 + 2 - 0 !
contrib/pdfmark/pdfroff.sh | 15 9 + 6 - 0 !
2 files changed, 12 insertions(+), 8 deletions(-)

 fix temporary file handling vulnerabilities in pdfroff
pdfroff safer.patch | (download)

contrib/pdfmark/pdfroff.man | 2 1 + 1 - 0 !
contrib/pdfmark/pdfroff.sh | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 use -dsafer when calling gs from pdfroff
bashisms gdiffmk.patch | (download)

contrib/gdiffmk/gdiffmk.sh | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 remove unnecessary bashisms from gdiffmk
posix trap.patch | (download)

contrib/eqn2graph/eqn2graph.sh | 2 1 + 1 - 0 !
contrib/grap2graph/grap2graph.sh | 2 1 + 1 - 0 !
contrib/pic2graph/pic2graph.sh | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 use posix-compliant 'trap' arguments
bash scripts.patch | (download)

contrib/eqn2graph/eqn2graph.sh | 2 1 + 1 - 0 !
contrib/grap2graph/grap2graph.sh | 2 1 + 1 - 0 !
contrib/pic2graph/pic2graph.sh | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 the *2graph scripts use $random, which is bash-specific
mdate perl.patch | (download)

mdate.sh | 39 1 + 38 - 0 !
1 file changed, 1 insertion(+), 38 deletions(-)

 avoid relying on awk in mdate.sh
 The results were unpredictable on mips/mipsel.
nroff ifs.patch | (download)

src/roff/nroff/nroff.sh | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 unset ifs at nroff startup
 It's questionable whether we should forward this; as noted in the bug
 trail, there's a decent argument that this is a dash bug.
font sed basic regex.patch | (download)

font/devascii/Makefile.sub | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 '+' isn't a regex metacharacter in sed by default
 Why are we only doing this for devascii?  Probably a bug one way or
 another, but needs review before forwarding.
awk path.patch | (download)

font/devlj4/generate/special.awk | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 adjust #! line of font/devlj4/generate/special.awk
 awk is in /usr/bin/awk on Debian, not /bin/awk.
papersize pre html.patch | (download)

src/preproc/html/pre-html.cpp | 54 54 + 0 - 0 !
1 file changed, 54 insertions(+)

 set appropriate papersize when calling gs from html preprocessor
 This patch seems fishy.  get_papersize was removed upstream in r335.1.348,
 so should we even be applying this any more?  Furthermore, we don't use
 gsPaper anywhere, and looking at devps/DESC here is just nasty.  Needs
 review.
mdoc ec.patch | (download)

tmac/doc.tmac | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 call `ec' before mapping characters
mdoc updates.patch | (download)

tmac/doc-common | 3 3 + 0 - 0 !
tmac/doc-syms | 2 2 + 0 - 0 !
tmac/groff_mdoc.man | 4 3 + 1 - 0 !
3 files changed, 8 insertions(+), 1 deletion(-)

 update mdoc for newer freebsd and posix versions
doc gfdl.patch | (download)

contrib/mom/groff_mom.man | 4 4 + 0 - 0 !
man/ditroff.man | 4 4 + 0 - 0 !
man/groff.man | 4 4 + 0 - 0 !
man/groff_char.man | 4 4 + 0 - 0 !
man/groff_diff.man | 4 4 + 0 - 0 !
man/groff_out.man | 4 4 + 0 - 0 !
man/groff_tmac.man | 4 4 + 0 - 0 !
man/roff.man | 4 4 + 0 - 0 !
src/roff/groff/groff.man | 4 4 + 0 - 0 !
src/roff/troff/troff.man | 4 4 + 0 - 0 !
tmac/groff_trace.man | 4 4 + 0 - 0 !
11 files changed, 44 insertions(+)

 add gfdl references to manual pages licensed under gfdl
doc gzipped.patch | (download)

contrib/pdfmark/pdfroff.man | 2 1 + 1 - 0 !
src/preproc/pic/pic.man | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 adjust documentation references to account for compression
make targets.patch | (download)

Makefile.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 adjust default recursive make targets
 This has been in the groff packaging since records began, and the reason
 for it is unclear.  Needs investigation.
pic eqn warnings.patch | (download)

src/preproc/eqn/main.cpp | 2 2 + 0 - 0 !
src/preproc/pic/main.cpp | 4 4 + 0 - 0 !
2 files changed, 6 insertions(+)

 inhibit -wmac warnings due to pic and eqn
 Define .PS and .PE to empty strings in pic output to inhibit -wmac
 warnings; similarly, define .EQ and .EN to empty strings in eqn output.
libdriver arg safety.patch | (download)

src/libs/libdriver/input.cpp | 9 5 + 4 - 0 !
1 file changed, 5 insertions(+), 4 deletions(-)

 handle ditroff command `dt' without argument gracefully
 Without this patch, grotty goes into an infinite loop if it tries to
 process:
 .
  x T utf8
  x res 240 24 40
  x init
  p1
  Dt
extratmacdirs.patch | (download)

Makefile.in | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 allow adding a version-independent directory to the macro path
 This allows us to put /usr/share/groff/tmac at the end of groff's macro
 path in Debian.
papersize config.patch | (download)

font/devdvi/Makefile.sub | 4 2 + 2 - 0 !
font/devlbp/Makefile.sub | 4 2 + 2 - 0 !
font/devlj4/Makefile.sub | 4 2 + 2 - 0 !
font/devps/Makefile.sub | 4 2 + 2 - 0 !
4 files changed, 8 insertions(+), 8 deletions(-)

 use /etc/papersize in preference to configure-time selection
load desc failure.patch | (download)

src/roff/groff/groff.cpp | 12 10 + 2 - 0 !
1 file changed, 10 insertions(+), 2 deletions(-)

 display more helpful output when failing to load a device
 If the device is known to be one of the devices in the groff binary package
 rather than groff-base, refer the user to that.