pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/mdocml Updated mdocml to 1.14.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48480072118a
branches:  trunk
changeset: 358857:48480072118a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Feb 22 10:45:05 2017 +0000

description:
Updated mdocml to 1.14.1.

Add test target.

Changes in version 1.14.1, released on February 21, 2017

    --- MAJOR NEW FEATURES ---
 * apropos(1): Reimplement complete semantic search functionality
   without the dependency on SQLite3, using only POSIX APIs.
   This comes with a completely new mandoc.db(5) file format.
 * man(1): Support more than one tag entry for the same search term,
   plus some minor improvements to the less(1) :t support.
 * -Thtml: Use real macro names for CSS classes.
   Systematic cleanup of and many improvements to mandoc.css.
 * -Thtml: Produce human readable HTML code by using indentation
   and better line breaks.  Improve various HTML elements,
   and trim several useless ones.
 * New catman(8) utility, still somewhat experimental.
 * Now includes a portable version of the OpenBSD mandoc regression
   suite, see regress/regress.pl.1 for details.
    --- REMOVED FUNCTIONALITY ---
 * Operating systems that don't provide mmap(3) are no longer supported.
 * Drop support for manpath(1).  Even if your system has manpath(1),
   it is simpler to use MANPATH_DEFAULT in configure.local for
   operating system defaults, man.conf(5) for machine-specific
   modifications, and ${MANPATH}, -m, and -M for user preferences
   than to bother with the complexity of manpath(1).
 * makewhatis(8) -p: No longer warn about missing MLINKS since these
   are no longer needed for anything.
    --- MINOR NEW FEATURES ---
 * mdoc(7): Warn about invalid punctuation and content below NAME.
 * mdoc(7): Warn about .Xr lacking the second argument (section).
 * mdoc(7): Warn about violations of the rule "new sentence, new line".
 * roff(7): Warn about trailing whitespace at the end of comments.
 * mdoc(7): Improve rendering of double quotes.
 * mdoc(7): Always do text production in the validator, never in the
   formatters.  Cleaner, simpler, shorter, helps NetBSD apropos(1)
   and also makes -Ttree output more useful.
 * -Ttree: Show metadata and some additional node flags.
   New -Onoval output option to show the unvalidated tree.
    --- RELIABILITY BUGFIXES ---
 * man(1): Make "man -l" work with standard input from a pipe or file,
   as long as standard output is a terminal.
 * man(7): Fix out of bounds read access if a text node immediately
   preceded the first .SH header.
 * mdoc(7): Fix out of bounds read access for .Bl without a type
   but with a width.
 * mdoc(7): Fix out of bounds read access for .Bl -column starting
   with a tab character instead of a child .It macro.
 * mdoc(7): Fix syntax tree corruption leading to segfaults caused
   by stray block end macros in nested blocks of mismatching type.
 * man(1): Fix NULL dereference when the first of multiple pages
   shown was preformatted.
 * mdoc(7): Fix syntax tree corruption leading to NULL dereference
   caused by partial implicit macros inside .Bl -column table cells.
 * mdoc(7): Fix syntax tree corruption leading to NULL dereference
   for macro sequences like .Bl .Bl .It Bo .El .It.
 * mdoc(7): Fix syntax tree corruption leading to NULL dereference
   caused by .Ta following a nested .Bl -column breaking another block.
 * mdoc(7): Fix syntax tree corruption sometimes leading to NULL
   dereference caused by indirectly broken .Nd or .Nm blocks.
 * mdoc(7) -Thtml: Fix a NULL dereference for .Bl -column with 0 columns.
 * mdoc(7): Fix NULL dereference in some specific cases of a
   block-end macro calling another block-end macro.
 * mdoc(7): Fix NULL dereference if the only child of the head
   of the first .Sh was an empty in-line macro.
 * eqn(7): Fix NULL dereference in the terminal formatter
   for empty matrices and empty square roots.
 * mdoc(7): Fix an assertion failure for a .Bd without a type that
   breaks another block.
 * mdoc(7): Fix an assertion failure that happened for some .Bl -column
   lists containing a column width of "-4n", "-3n", or "-2n".
 * mdoc(7): Fix an assertion failure caused by .Bl -column without .It
   but containing eqn(7) or tbl(7) code.
 * roff(7): Fix an assertion failure caused by \z\[u00FF] with -Tps/-Tpdf.
 * roff(7): Fix an assertion failures caused by whitespace inside \o''
   (overstrike) sequences.
 * -Thtml: Fix an assertion failure caused by -Oman or -Oincludes of
   excessive length.
    --- PORTABILITY IMPROVEMENTS ---
 * man(1): Do not mix stdio narrow and wide stream orientation
   on stdout, which could cause output corruption on glibc.
 * mandoc(1): Autodetect a suitable locale for -Tutf8 mode.
 * ./configure: Autodetect whether PATH_MAX and O_DIRECTORY are defined.
 * ./configure: Autodetect if nanosleep(3) needs -lrt.
 * ./configure: Provide an ${LN} configuration variable.
 * ./configure: Put compiler arguments that may contain -l at the end.
    --- MINOR BUGFIXES ---
 * mdoc(7): Fix SYNOPSIS output if the first child of .Nm is a macro.
 * mdoc(7) -Thtml: Improve formatting of .Bl -tag with short tags.
 * man(7) -Thtml: Preserve whitespace in .nf (nofill) mode.
 * mandoc(1): Error out on invalid output options on the command line.
    --- STRUCTURAL CHANGES, no functional change ---
 * Redesign part of the mandoc_html(3) interfaces, making them much
   easier to use and reducing the amount of code by a few hundred lines.
    --- THANKS TO ---
 * Michael Stapelberg (Debian) for designing the new mandocd(8)
   and parts of the new catman(8), for release testing, and for a
   number of patches and bug reports.
 * Baptiste Daroussin (FreeBSD) for profiling the new makewhatis(8)
   implementation and suggesting an algorithmic improvement which
   more than doubled performance, and for a few bug reports.
 * Ed Maste (FreeBSD) for an important patch improving reproducibility
   of builds in makewhatis(8), and for a few bug reports.
 * Theo Buehler (OpenBSD) for almost twenty important bug reports,
   most of them found by systematic afl(1) fuzzing.
 * Benny Lofgren, David Dahlberg, and in particular Vadim Zhukov
   for crucial help in getting .Bl -tag CSS formatting fixed.
 * Svyatoslav Mishyn (Crux Linux) for an initial version of the
   patch to autodetect a suitable locale for -Tutf8 mode
   and for release testing.
 * Jason McIntyre (OpenBSD) for multiple useful discussions
   and a number of bug reports.
 * Sevan Janiyan (NetBSD) for extensive release testing and multiple
   bug reports.
 * Thomas Klausner and Christos Zoulas (NetBSD), Yuri Pankov (illumos),
   and Leah Neukirchen (Void Linux) for release testing and bug reports.
 * Ulrich Spoerlein (FreeBSD) for release testing.
 * Alexander Bluhm, Andrew Fresh, Antoine Jacoutot, Antony Bentley,
   Christian Weisgerber, Jonathan Gray, Marc Espie, Martijn van Duren,
   Stuart Henderson, Ted Unangst, Theo de Raadt (OpenBSD), Abhinav
   Upadhyay, Kamil Rytarowski (NetBSD), Aaron M. Ucko, Bdale Garbee,
   Reiner Herrmann, Shane Kerr (Debian), Daniel Sabogal (Alpine Linux),
   Carsten Kunze (Heirloom roff), Kristaps Dzonsons (bsd.lv),
   Anton Lindqvist, Jan Stary, Jeremy A. Mates, Mark Patruck,
   Pavan Maddamsetti, Sean Levy <attila%stalphonsos.com@localhost>, and
   Tiago Silva for bug reports.
 * Brent Cook, Marc Espie, Philip Guenther, Todd Miller (OpenBSD)
   and Markus Waldeck for useful discussions.
 * And as usual, OpenCSW for providing me with a Solaris 9/10/11
   testing environment.

diffstat:

 textproc/mdocml/Makefile |  10 ++++++----
 textproc/mdocml/PLIST    |  14 +-------------
 textproc/mdocml/distinfo |  10 +++++-----
 3 files changed, 12 insertions(+), 22 deletions(-)

diffs (80 lines):

diff -r bf534abc930b -r 48480072118a textproc/mdocml/Makefile
--- a/textproc/mdocml/Makefile  Wed Feb 22 10:42:41 2017 +0000
+++ b/textproc/mdocml/Makefile  Wed Feb 22 10:45:05 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2016/12/04 05:17:42 ryoon Exp $
+# $NetBSD: Makefile,v 1.60 2017/02/22 10:45:05 wiz Exp $
 
-DISTNAME=      mdocml-1.13.4
-PKGREVISION=   2
+DISTNAME=      mdocml-1.14.1
 CATEGORIES=    textproc devel
 MASTER_SITES=  http://mdocml.bsd.lv/snapshots/
 
@@ -20,6 +19,10 @@
 SUBST_FILES.roff+=     eqn.7 man.7 mdoc.7 tbl.7
 SUBST_SED.roff=                -e 's,Xr roff,Xr mandoc-roff,g'
 
+# test needs perl
+USE_TOOLS+=    perl:build
+TEST_TARGET=   regress
+
 .include "../../mk/bsd.fast.prefs.mk"
 
 post-extract:
@@ -44,6 +47,5 @@
        ${ECHO} STATIC= >> ${WRKSRC}/configure.local
 .endif
 
-.include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r bf534abc930b -r 48480072118a textproc/mdocml/PLIST
--- a/textproc/mdocml/PLIST     Wed Feb 22 10:42:41 2017 +0000
+++ b/textproc/mdocml/PLIST     Wed Feb 22 10:45:05 2017 +0000
@@ -1,28 +1,16 @@
-@comment $NetBSD: PLIST,v 1.14 2016/09/07 18:50:05 wiz Exp $
+@comment $NetBSD: PLIST,v 1.15 2017/02/22 10:45:05 wiz Exp $
 bin/apropos
 bin/demandoc
 bin/man
 bin/mandoc
 bin/msoelim
 bin/whatis
-include/mandoc/man.h
-include/mandoc/mandoc.h
-include/mandoc/mandoc_aux.h
-include/mandoc/mdoc.h
-include/mandoc/roff.h
-lib/mandoc/libmandoc.a
 man/man1/apropos.1
 man/man1/demandoc.1
 man/man1/man.1
 man/man1/mandoc.1
 man/man1/msoelim.1
 man/man1/whatis.1
-man/man3/mandoc.3
-man/man3/mandoc_escape.3
-man/man3/mandoc_malloc.3
-man/man3/mansearch.3
-man/man3/mchars_alloc.3
-man/man3/tbl.3
 man/man5/man.conf.5
 man/man5/mandoc.db.5
 man/man7/eqn.7
diff -r bf534abc930b -r 48480072118a textproc/mdocml/distinfo
--- a/textproc/mdocml/distinfo  Wed Feb 22 10:42:41 2017 +0000
+++ b/textproc/mdocml/distinfo  Wed Feb 22 10:45:05 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.46 2016/07/14 15:26:42 wiz Exp $
+$NetBSD: distinfo,v 1.47 2017/02/22 10:45:05 wiz Exp $
 
-SHA1 (mdocml-1.13.4.tar.gz) = e7fd98e898704b8e285da3a3e2c4218694c3a51d
-RMD160 (mdocml-1.13.4.tar.gz) = 30159ed4d94aac023e1bb09cba7ca6d258d54c75
-SHA512 (mdocml-1.13.4.tar.gz) = 1d671651ca1bb81d0de86e34de8b95a3bde5b335bda03d1b83b601e26eed167af6ef8bac6f9935603e57514f2734cd8f979ed556c76db629dd5c685892d71ec2
-Size (mdocml-1.13.4.tar.gz) = 370428 bytes
+SHA1 (mdocml-1.14.1.tar.gz) = 7dd020fed9fc2a0f56835e903c92a5ae8cc89632
+RMD160 (mdocml-1.14.1.tar.gz) = 2e2d593e3f6cfcde3bdf57b090947b355ce2b2e8
+SHA512 (mdocml-1.14.1.tar.gz) = 90f00297d162faa404fe4e530f95422c210b8d23a0be5a115c2c8c17255d366e224444901842affb06ed8aaf8febd3e5c79966ff713fa7daf00e8c48b7a857c6
+Size (mdocml-1.14.1.tar.gz) = 549302 bytes
 SHA1 (patch-roff.7) = fb68085cf5c68710a13ec306857760c8a583d86a



Home | Main Index | Thread Index | Old Index