Commit Graph

22 Commits

Author SHA1 Message Date
schwarze
84233c0355 Maintenance update to groff-1.22.2.
* New features: gropdf(1), pdfmom(1)
* Lots of our patches were accepted upstream, lots of upstream bug fixes.
Tested by landry@ and pascal@, ok landry@ and sthen@.
2013-03-30 23:10:05 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
sthen
9366d3a0a9 let dpb build groff in parallel, suggested by espie@ 2012-09-25 19:31:59 +00:00
schwarze
54bbdb42f3 In the footers of manuals formatted with groff,
do not print "OpenBSD 5.0" but "OpenBSD ports".
While here, remove some noise from the groff build log.
Bump the groff package.

Technically, this changes the contents of all packages that USE_GROFF,
but please refrain from bumping the world:  Having "OpenBSD 5.0" in
the footers of some ports manual until they are updated the next time,
or until the next libc bump if they aren't, is not a real problem.

string "OpenBSD ports" suggested and patch ok'ed by sthen@
2012-05-28 13:23:28 +00:00
schwarze
a9e83bd435 Correct the expansion of -xbd5,
keeping groff in sync with the mandoc(1) fix just committed by guenther@;
also committed upstream by Werner Lemberg <wl at gnu dot org>.
2012-02-26 22:28:34 +00:00
schwarze
e5e54bed0e Avoid bogus -k flags; proposed by pascal@.
Build fonts before using them; fixes parallel builds as tested by naddy@.
In case we ever support PDF, don't break parallel builds; ok pascal@.
These are all purely build system fixes; no package change, no bump.
2012-01-01 21:05:33 +00:00
pascal
9c83004f63 Don't pick up gmkdir and gawk (ac_cv_path_AWK is not respected here).
ok schwarze@
2011-12-13 18:16:37 +00:00
schwarze
98b4adfee4 General cleanup:
* Unbreak groff manuals by using tbl(1); reported by pascal@.
* Deal with our Mdocdate cvs keyword; as designed by jmc@ in 2007.
* Use troffrc for OpenBSD config changes; suggested by Werner Lemberg.
* Unbreak the hdtbl examples; from upstream.
* Volume names in man(7) page headers; suggested by Yuri Pankov.
* Update various string tables; coordinated with upstream.
* Add a README explaining local changes; using feedback from pascal@.
* Better description and bump.
ok pascal@, and tested in an i386 bulk build by naddy@, thanks!
2011-12-04 15:41:26 +00:00
schwarze
25d26710b1 Format groff manuals with groff before installing them
because mandoc(1) doesn't like them, with the exception
of groff_mdoc(7), which is derived from the traditional
mdoc.samples(7) and which is just fine with mandoc(1).
Problem reported and fix tested by <Pascal dot Stumpf at cubes dot de>.
naddy@ and deraadt@ agree with the general direction
2011-10-12 22:00:07 +00:00
schwarze
a3bd54ca5a Represent bullets (for example in .Bl -bullet) by "o\bo" instead of "+\bo"
to agree with mandoc(1) and reduce noise in automatic output comparisons.
ok ajacoutot@
2011-07-07 05:27:15 +00:00
schwarze
2ad97ee4b1 Following http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538330,
Solar Designer did an audit of temp file handling in groff-1.20.
He found and fixed *lots* of ugliness, but most does not look
exploitable and some was already improved in groff-1.21.

This is my own fix for the only one that, with a huge amount of extra
paranoia, might be worth patching.  To mount an exploit, the attacker
would need to trick root into setting an unusable TMPDIR (or similar)
variable in the environment such that mktemp -d fails, then convince
root to run pdfroff (*you* don't run that as root, do you?), then
handle a race condition to find the PID and predict the temp file
name to mount a symlink attack.

"I think we should still go for the fix" jasper@
2011-06-23 12:14:51 +00:00
kili
df86ff5428 Don't use #!/usr/bin/env perl in installed scripts, just use
#!/usr/bin/perl.

ok schwarze@, espie@ (well, kind of)
2011-04-13 16:20:34 +00:00
espie
cbfa779924 work-around until someone actually debugs the grammar: use the provided
generated file, don't call yacc.

okay millert@, naddy@
2011-03-22 22:27:03 +00:00
schwarze
4f18fef153 Support upgrades from both groff-1.15+groff-mdoc
and from groff-mdoc only to groff-1.21.
Muliple cluesticks applied by and OK espie@.
2011-03-20 17:30:24 +00:00
schwarze
c72e745e6b First major OpenBSD groff update since 2000.
Lots of new functionality, lots of bug fixes, and bringing in
significant maintenance efforts from upstream.
To name just one specific example, the number of arguments mdoc(7)
macros can take is no longer limited.
Two of the more tricky patches contributed by naddy@, thanks!
Tested in bulk builds by landry@.
Tested on sparc (GCC 2) by phessler@ and on alpha (GCC 3) by naddy@.
ok naddy@, landry@

Before using this to build ports, make sure you install
the src/usr.sbin/pkg_add/OpenBSD/PackingElement.pm patch
i'm going to commit right afterwards as well, or you will end up
with ports manuals containing ANSI escape sequences.
2011-03-19 16:48:53 +00:00
espie
811d94d9d6 new depends 2010-11-20 19:56:47 +00:00
schwarze
f8b61892f7 Increase the -man -Tascii text width from 65 to 78 characters.
Patch by millert@, see OpenBSD tmac.an rev. 1.2.
Bump.
Requested by naddy@; ok espie@.
2010-10-28 14:41:55 +00:00
espie
881087b89d make sure groff has its macros 2010-10-19 21:26:26 +00:00
jasper
4cbdf54235 - sync after nicm's commit to base.
ok nicm@
2010-05-25 18:56:07 +00:00
espie
085056043c synch with -current, fixes build for gcc4 2010-05-22 10:39:24 +00:00
ajacoutot
9c3a466b8b Zap empty line. Use punctuation and capital. 2010-04-05 14:49:25 +00:00
espie
be01fb283b groff from OpenBSD 4.7, so that we can move forward 2010-04-05 14:30:32 +00:00