Fix PR security/8069 differently:
Add a new option "-S" to "nroff" and use "nroff -S" instead of "groff -S" because "nroff" adds some other (moderately useful and important) options to the "groff" execution.
This commit is contained in:
parent
eeefc02aec
commit
a992b9baef
16
etc/man.conf
16
etc/man.conf
@ -1,4 +1,4 @@
|
||||
# $NetBSD: man.conf,v 1.15 1999/07/26 18:42:21 tron Exp $
|
||||
# $NetBSD: man.conf,v 1.16 1999/07/26 19:31:54 tron Exp $
|
||||
|
||||
# Sheer, raging paranoia...
|
||||
_version BSD.2
|
||||
@ -18,13 +18,13 @@ _subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat4 man4 cat5 man5 c
|
||||
_suffix .0
|
||||
_build .0.Z /usr/bin/zcat %s
|
||||
_build .0.gz /usr/bin/gunzip -c %s
|
||||
_build .[1-9ln] /usr/bin/groff -S -Tascii -man %s
|
||||
_build .[1-9ln].Z /usr/bin/zcat %s | /usr/bin/groff -S -Tascii -man
|
||||
_build .[1-9ln].gz /usr/bin/gunzip -c %s | /usr/bin/groff -S -Tascii -man
|
||||
_build .tbl /usr/bin/tbl %s | /usr/bin/groff -S -Tascii -man
|
||||
_build .tbl.Z /usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/groff -S -Tascii -man
|
||||
_build .tbl.gz /usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/groff -S -Tascii -man
|
||||
_build .me /usr/bin/groff -S -Tascii -me %s 2>/dev/null | cat -S -Tascii
|
||||
_build .[1-9ln] /usr/bin/nroff -S -man %s
|
||||
_build .[1-9ln].Z /usr/bin/zcat %s | /usr/bin/nroff -S -man
|
||||
_build .[1-9ln].gz /usr/bin/gunzip -c %s | /usr/bin/nroff -S -man
|
||||
_build .tbl /usr/bin/tbl %s | /usr/bin/nroff -S -man
|
||||
_build .tbl.Z /usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/nroff -S -man
|
||||
_build .tbl.gz /usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/nroff -S -man
|
||||
_build .me /usr/bin/nroff -S -me %s 2>/dev/null | cat -S -Tascii
|
||||
|
||||
_crunch .Z /usr/bin/compress -c > %s
|
||||
_crunch .gz /usr/bin/gzip -c > %s
|
||||
|
Loading…
Reference in New Issue
Block a user