svn commit: r294110 - vendor/mdocml/20160116
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jan 15 23:10:39 UTC 2016
Author: bapt
Date: Fri Jan 15 23:10:37 2016
New Revision: 294110
URL: https://svnweb.freebsd.org/changeset/base/294110
Log:
Tag import of mdocml 20160116
Added:
vendor/mdocml/20160116/
- copied from r294088, vendor/mdocml/dist/
vendor/mdocml/20160116/compat_err.c
- copied unchanged from r294109, vendor/mdocml/dist/compat_err.c
vendor/mdocml/20160116/compat_getline.c
- copied unchanged from r294109, vendor/mdocml/dist/compat_getline.c
vendor/mdocml/20160116/compat_isblank.c
- copied unchanged from r294109, vendor/mdocml/dist/compat_isblank.c
vendor/mdocml/20160116/compat_mkdtemp.c
- copied unchanged from r294109, vendor/mdocml/dist/compat_mkdtemp.c
vendor/mdocml/20160116/compat_progname.c
- copied unchanged from r294109, vendor/mdocml/dist/compat_progname.c
vendor/mdocml/20160116/compat_stringlist.c
- copied unchanged from r294109, vendor/mdocml/dist/compat_stringlist.c
vendor/mdocml/20160116/compat_stringlist.h
- copied unchanged from r294109, vendor/mdocml/dist/compat_stringlist.h
vendor/mdocml/20160116/compat_vasprintf.c
- copied unchanged from r294109, vendor/mdocml/dist/compat_vasprintf.c
vendor/mdocml/20160116/config.h
- copied unchanged from r294109, vendor/mdocml/dist/config.h
vendor/mdocml/20160116/config.log
- copied unchanged from r294109, vendor/mdocml/dist/config.log
vendor/mdocml/20160116/man.conf.5
- copied unchanged from r294109, vendor/mdocml/dist/man.conf.5
vendor/mdocml/20160116/manconf.h
- copied unchanged from r294109, vendor/mdocml/dist/manconf.h
vendor/mdocml/20160116/mandoc.css
- copied unchanged from r294109, vendor/mdocml/dist/mandoc.css
vendor/mdocml/20160116/mandoc_ohash.c
- copied unchanged from r294109, vendor/mdocml/dist/mandoc_ohash.c
vendor/mdocml/20160116/mandoc_ohash.h
- copied unchanged from r294109, vendor/mdocml/dist/mandoc_ohash.h
vendor/mdocml/20160116/mdoc_state.c
- copied unchanged from r294109, vendor/mdocml/dist/mdoc_state.c
vendor/mdocml/20160116/roff.h
- copied unchanged from r294109, vendor/mdocml/dist/roff.h
vendor/mdocml/20160116/roff_int.h
- copied unchanged from r294109, vendor/mdocml/dist/roff_int.h
vendor/mdocml/20160116/soelim.1
- copied unchanged from r294109, vendor/mdocml/dist/soelim.1
vendor/mdocml/20160116/soelim.c
- copied unchanged from r294109, vendor/mdocml/dist/soelim.c
vendor/mdocml/20160116/tag.c
- copied unchanged from r294109, vendor/mdocml/dist/tag.c
vendor/mdocml/20160116/tag.h
- copied unchanged from r294109, vendor/mdocml/dist/tag.h
vendor/mdocml/20160116/test-err.c
- copied unchanged from r294109, vendor/mdocml/dist/test-err.c
vendor/mdocml/20160116/test-getline.c
- copied unchanged from r294109, vendor/mdocml/dist/test-getline.c
vendor/mdocml/20160116/test-isblank.c
- copied unchanged from r294109, vendor/mdocml/dist/test-isblank.c
vendor/mdocml/20160116/test-mkdtemp.c
- copied unchanged from r294109, vendor/mdocml/dist/test-mkdtemp.c
vendor/mdocml/20160116/test-pledge.c
- copied unchanged from r294109, vendor/mdocml/dist/test-pledge.c
vendor/mdocml/20160116/test-progname.c
- copied unchanged from r294109, vendor/mdocml/dist/test-progname.c
vendor/mdocml/20160116/test-rewb-bsd.c
- copied unchanged from r294109, vendor/mdocml/dist/test-rewb-bsd.c
vendor/mdocml/20160116/test-rewb-sysv.c
- copied unchanged from r294109, vendor/mdocml/dist/test-rewb-sysv.c
vendor/mdocml/20160116/test-stringlist.c
- copied unchanged from r294109, vendor/mdocml/dist/test-stringlist.c
vendor/mdocml/20160116/test-vasprintf.c
- copied unchanged from r294109, vendor/mdocml/dist/test-vasprintf.c
Replaced:
vendor/mdocml/20160116/INSTALL
- copied unchanged from r294109, vendor/mdocml/dist/INSTALL
vendor/mdocml/20160116/LICENSE
- copied unchanged from r294109, vendor/mdocml/dist/LICENSE
vendor/mdocml/20160116/Makefile
- copied unchanged from r294109, vendor/mdocml/dist/Makefile
vendor/mdocml/20160116/Makefile.depend
- copied unchanged from r294109, vendor/mdocml/dist/Makefile.depend
vendor/mdocml/20160116/NEWS
- copied unchanged from r294109, vendor/mdocml/dist/NEWS
vendor/mdocml/20160116/TODO
- copied unchanged from r294109, vendor/mdocml/dist/TODO
vendor/mdocml/20160116/apropos.1
- copied unchanged from r294109, vendor/mdocml/dist/apropos.1
vendor/mdocml/20160116/att.c
- copied unchanged from r294109, vendor/mdocml/dist/att.c
vendor/mdocml/20160116/cgi.c
- copied unchanged from r294109, vendor/mdocml/dist/cgi.c
vendor/mdocml/20160116/cgi.h.example
- copied unchanged from r294109, vendor/mdocml/dist/cgi.h.example
vendor/mdocml/20160116/chars.c
- copied unchanged from r294109, vendor/mdocml/dist/chars.c
vendor/mdocml/20160116/compat_fts.c
- copied unchanged from r294109, vendor/mdocml/dist/compat_fts.c
vendor/mdocml/20160116/compat_fts.h
- copied unchanged from r294109, vendor/mdocml/dist/compat_fts.h
vendor/mdocml/20160116/compat_ohash.h
- copied unchanged from r294109, vendor/mdocml/dist/compat_ohash.h
vendor/mdocml/20160116/compat_sqlite3_errstr.c
- copied unchanged from r294109, vendor/mdocml/dist/compat_sqlite3_errstr.c
vendor/mdocml/20160116/configure
- copied unchanged from r294109, vendor/mdocml/dist/configure
vendor/mdocml/20160116/configure.local.example
- copied unchanged from r294109, vendor/mdocml/dist/configure.local.example
vendor/mdocml/20160116/demandoc.c
- copied unchanged from r294109, vendor/mdocml/dist/demandoc.c
vendor/mdocml/20160116/eqn.7
- copied unchanged from r294109, vendor/mdocml/dist/eqn.7
vendor/mdocml/20160116/eqn.c
- copied unchanged from r294109, vendor/mdocml/dist/eqn.c
vendor/mdocml/20160116/gmdiff
- copied unchanged from r294109, vendor/mdocml/dist/gmdiff
vendor/mdocml/20160116/html.c
- copied unchanged from r294109, vendor/mdocml/dist/html.c
vendor/mdocml/20160116/html.h
- copied unchanged from r294109, vendor/mdocml/dist/html.h
vendor/mdocml/20160116/lib.c
- copied unchanged from r294109, vendor/mdocml/dist/lib.c
vendor/mdocml/20160116/libman.h
- copied unchanged from r294109, vendor/mdocml/dist/libman.h
vendor/mdocml/20160116/libmandoc.h
- copied unchanged from r294109, vendor/mdocml/dist/libmandoc.h
vendor/mdocml/20160116/libmdoc.h
- copied unchanged from r294109, vendor/mdocml/dist/libmdoc.h
vendor/mdocml/20160116/libroff.h
- copied unchanged from r294109, vendor/mdocml/dist/libroff.h
vendor/mdocml/20160116/main.c
- copied unchanged from r294109, vendor/mdocml/dist/main.c
vendor/mdocml/20160116/main.h
- copied unchanged from r294109, vendor/mdocml/dist/main.h
vendor/mdocml/20160116/man.1
- copied unchanged from r294109, vendor/mdocml/dist/man.1
vendor/mdocml/20160116/man.c
- copied unchanged from r294109, vendor/mdocml/dist/man.c
vendor/mdocml/20160116/man.cgi.8
- copied unchanged from r294109, vendor/mdocml/dist/man.cgi.8
vendor/mdocml/20160116/man.h
- copied unchanged from r294109, vendor/mdocml/dist/man.h
vendor/mdocml/20160116/man_hash.c
- copied unchanged from r294109, vendor/mdocml/dist/man_hash.c
vendor/mdocml/20160116/man_html.c
- copied unchanged from r294109, vendor/mdocml/dist/man_html.c
vendor/mdocml/20160116/man_macro.c
- copied unchanged from r294109, vendor/mdocml/dist/man_macro.c
vendor/mdocml/20160116/man_term.c
- copied unchanged from r294109, vendor/mdocml/dist/man_term.c
vendor/mdocml/20160116/man_validate.c
- copied unchanged from r294109, vendor/mdocml/dist/man_validate.c
vendor/mdocml/20160116/mandoc.1
- copied unchanged from r294109, vendor/mdocml/dist/mandoc.1
vendor/mdocml/20160116/mandoc.3
- copied unchanged from r294109, vendor/mdocml/dist/mandoc.3
vendor/mdocml/20160116/mandoc.c
- copied unchanged from r294109, vendor/mdocml/dist/mandoc.c
vendor/mdocml/20160116/mandoc.h
- copied unchanged from r294109, vendor/mdocml/dist/mandoc.h
vendor/mdocml/20160116/mandoc_aux.c
- copied unchanged from r294109, vendor/mdocml/dist/mandoc_aux.c
vendor/mdocml/20160116/mandoc_aux.h
- copied unchanged from r294109, vendor/mdocml/dist/mandoc_aux.h
vendor/mdocml/20160116/mandoc_char.7
- copied unchanged from r294109, vendor/mdocml/dist/mandoc_char.7
vendor/mdocml/20160116/mandoc_headers.3
- copied unchanged from r294109, vendor/mdocml/dist/mandoc_headers.3
vendor/mdocml/20160116/mandocdb.c
- copied unchanged from r294109, vendor/mdocml/dist/mandocdb.c
vendor/mdocml/20160116/manpage.c
- copied unchanged from r294109, vendor/mdocml/dist/manpage.c
vendor/mdocml/20160116/manpath.c
- copied unchanged from r294109, vendor/mdocml/dist/manpath.c
vendor/mdocml/20160116/mansearch.3
- copied unchanged from r294109, vendor/mdocml/dist/mansearch.3
vendor/mdocml/20160116/mansearch.c
- copied unchanged from r294109, vendor/mdocml/dist/mansearch.c
vendor/mdocml/20160116/mansearch.h
- copied unchanged from r294109, vendor/mdocml/dist/mansearch.h
vendor/mdocml/20160116/mchars_alloc.3
- copied unchanged from r294109, vendor/mdocml/dist/mchars_alloc.3
vendor/mdocml/20160116/mdoc.7
- copied unchanged from r294109, vendor/mdocml/dist/mdoc.7
vendor/mdocml/20160116/mdoc.c
- copied unchanged from r294109, vendor/mdocml/dist/mdoc.c
vendor/mdocml/20160116/mdoc.h
- copied unchanged from r294109, vendor/mdocml/dist/mdoc.h
vendor/mdocml/20160116/mdoc_argv.c
- copied unchanged from r294109, vendor/mdocml/dist/mdoc_argv.c
vendor/mdocml/20160116/mdoc_hash.c
- copied unchanged from r294109, vendor/mdocml/dist/mdoc_hash.c
vendor/mdocml/20160116/mdoc_html.c
- copied unchanged from r294109, vendor/mdocml/dist/mdoc_html.c
vendor/mdocml/20160116/mdoc_macro.c
- copied unchanged from r294109, vendor/mdocml/dist/mdoc_macro.c
vendor/mdocml/20160116/mdoc_man.c
- copied unchanged from r294109, vendor/mdocml/dist/mdoc_man.c
vendor/mdocml/20160116/mdoc_term.c
- copied unchanged from r294109, vendor/mdocml/dist/mdoc_term.c
vendor/mdocml/20160116/mdoc_validate.c
- copied unchanged from r294109, vendor/mdocml/dist/mdoc_validate.c
vendor/mdocml/20160116/msec.c
- copied unchanged from r294109, vendor/mdocml/dist/msec.c
vendor/mdocml/20160116/out.c
- copied unchanged from r294109, vendor/mdocml/dist/out.c
vendor/mdocml/20160116/out.h
- copied unchanged from r294109, vendor/mdocml/dist/out.h
vendor/mdocml/20160116/preconv.c
- copied unchanged from r294109, vendor/mdocml/dist/preconv.c
vendor/mdocml/20160116/read.c
- copied unchanged from r294109, vendor/mdocml/dist/read.c
vendor/mdocml/20160116/roff.7
- copied unchanged from r294109, vendor/mdocml/dist/roff.7
vendor/mdocml/20160116/roff.c
- copied unchanged from r294109, vendor/mdocml/dist/roff.c
vendor/mdocml/20160116/st.c
- copied unchanged from r294109, vendor/mdocml/dist/st.c
vendor/mdocml/20160116/tbl.c
- copied unchanged from r294109, vendor/mdocml/dist/tbl.c
vendor/mdocml/20160116/tbl_data.c
- copied unchanged from r294109, vendor/mdocml/dist/tbl_data.c
vendor/mdocml/20160116/tbl_html.c
- copied unchanged from r294109, vendor/mdocml/dist/tbl_html.c
vendor/mdocml/20160116/tbl_layout.c
- copied unchanged from r294109, vendor/mdocml/dist/tbl_layout.c
vendor/mdocml/20160116/tbl_opts.c
- copied unchanged from r294109, vendor/mdocml/dist/tbl_opts.c
vendor/mdocml/20160116/tbl_term.c
- copied unchanged from r294109, vendor/mdocml/dist/tbl_term.c
vendor/mdocml/20160116/term.c
- copied unchanged from r294109, vendor/mdocml/dist/term.c
vendor/mdocml/20160116/term.h
- copied unchanged from r294109, vendor/mdocml/dist/term.h
vendor/mdocml/20160116/term_ascii.c
- copied unchanged from r294109, vendor/mdocml/dist/term_ascii.c
vendor/mdocml/20160116/term_ps.c
- copied unchanged from r294109, vendor/mdocml/dist/term_ps.c
vendor/mdocml/20160116/test-dirent-namlen.c
- copied unchanged from r294109, vendor/mdocml/dist/test-dirent-namlen.c
vendor/mdocml/20160116/test-fts.c
- copied unchanged from r294109, vendor/mdocml/dist/test-fts.c
vendor/mdocml/20160116/test-getsubopt.c
- copied unchanged from r294109, vendor/mdocml/dist/test-getsubopt.c
vendor/mdocml/20160116/test-mmap.c
- copied unchanged from r294109, vendor/mdocml/dist/test-mmap.c
vendor/mdocml/20160116/test-ohash.c
- copied unchanged from r294109, vendor/mdocml/dist/test-ohash.c
vendor/mdocml/20160116/test-reallocarray.c
- copied unchanged from r294109, vendor/mdocml/dist/test-reallocarray.c
vendor/mdocml/20160116/test-sqlite3.c
- copied unchanged from r294109, vendor/mdocml/dist/test-sqlite3.c
vendor/mdocml/20160116/test-sqlite3_errstr.c
- copied unchanged from r294109, vendor/mdocml/dist/test-sqlite3_errstr.c
vendor/mdocml/20160116/test-strcasestr.c
- copied unchanged from r294109, vendor/mdocml/dist/test-strcasestr.c
vendor/mdocml/20160116/test-strlcat.c
- copied unchanged from r294109, vendor/mdocml/dist/test-strlcat.c
vendor/mdocml/20160116/test-strlcpy.c
- copied unchanged from r294109, vendor/mdocml/dist/test-strlcpy.c
vendor/mdocml/20160116/test-strptime.c
- copied unchanged from r294109, vendor/mdocml/dist/test-strptime.c
vendor/mdocml/20160116/test-strsep.c
- copied unchanged from r294109, vendor/mdocml/dist/test-strsep.c
vendor/mdocml/20160116/test-strtonum.c
- copied unchanged from r294109, vendor/mdocml/dist/test-strtonum.c
vendor/mdocml/20160116/test-wchar.c
- copied unchanged from r294109, vendor/mdocml/dist/test-wchar.c
vendor/mdocml/20160116/tree.c
- copied unchanged from r294109, vendor/mdocml/dist/tree.c
Deleted:
vendor/mdocml/20160116/chars.in
vendor/mdocml/20160116/compat_fgetln.c
vendor/mdocml/20160116/example.style.css
vendor/mdocml/20160116/man-cgi.css
vendor/mdocml/20160116/manpath.h
vendor/mdocml/20160116/style.css
vendor/mdocml/20160116/test-fgetln.c
Copied: vendor/mdocml/20160116/INSTALL (from r294109, vendor/mdocml/dist/INSTALL)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/mdocml/20160116/INSTALL Fri Jan 15 23:10:37 2016 (r294110, copy of r294109, vendor/mdocml/dist/INSTALL)
@@ -0,0 +1,160 @@
+$Id: INSTALL,v 1.13 2015/11/07 14:01:16 schwarze Exp $
+
+About mdocml, the portable mandoc distribution
+----------------------------------------------
+The mandoc manpage compiler toolset is a suite of tools compiling
+mdoc(7), the roff(7) macro language of choice for BSD manual pages,
+and man(7), the predominant historical language for UNIX manuals.
+It includes a man(1) manual viewer and additional tools.
+For general information, see <http://mdocml.bsd.lv/>.
+
+In case you have questions or want to provide feedback, read
+<http://mdocml.bsd.lv/contact.html>. Consider subscribing to the
+discuss@ mailing list mentioned on that page. If you intend to
+help with the development of mandoc, consider subscribing to the
+tech@ mailing list, too.
+
+Enjoy using the mandoc toolset!
+
+Ingo Schwarze, Karlsruhe, March 2015
+
+
+Installation
+------------
+Before manually installing mandoc on your system, please check
+whether the newest version of mandoc is already installed by default
+or available via a binary package or a ports system. A list of the
+latest bundled and ported versions of mandoc for various operating
+systems is maintained at <http://mdocml.bsd.lv/ports.html>.
+
+Regarding how packages and ports are maintained for your operating
+system, please consult your operating system documentation.
+To install mandoc manually, the following steps are needed:
+
+1. If you want to build the CGI program, man.cgi(8), too, run the
+command "echo BUILD_CGI=1 > configure.local". Then run "cp
+cgi.h.examples cgi.h" and edit cgi.h as desired.
+
+2. Run "./configure".
+This script attempts autoconfiguration of mandoc for your system.
+Read both its standard output and the file "Makefile.local" it
+generates. If anything looks wrong or different from what you
+wish, read the file "configure.local.example", create and edit
+a file "configure.local", and re-run "./configure" until the
+result seems right to you.
+On Solaris 10 and earlier, you may have to run "ksh ./configure"
+because the native /bin/sh lacks some POSIX features.
+
+3. Run "make".
+Any POSIX-compatible make, in particular both BSD make and GNU make,
+should work. If the build fails, look at "configure.local.example"
+and go back to step 2.
+
+4. Run "make -n install" and check whether everything will be
+installed to the intended places. Otherwise, put some *DIR or *NM*
+variables into "configure.local" and go back to step 2.
+
+5. Run "sudo make install". If you intend to build a binary
+package using some kind of fake root mechanism, you may need a
+command like "make DESTDIR=... install". Read the *-install targets
+in the "Makefile" to understand how DESTDIR is used.
+
+6. If you want to use the integrated man(1) and your system uses
+manpath(1), make sure it is configured correctly, in particular,
+it returns all directory trees where manual pages are installed.
+Otherwise, if your system uses man.conf(5), make sure it contains
+a "_whatdb" line for each directory tree, and the order of these
+lines meets your wishes.
+
+7. If you compiled with database support, run the command "sudo
+makewhatis" to build mandoc.db(5) databases in all the directory
+trees configured in step 6. Whenever installing new manual pages,
+re-run makewhatis(8) to update the databases, or apropos(1) will
+not find the new pages.
+
+8. To set up a man.cgi(8) server, read its manual page.
+
+Note that some man(7) pages may contain low-level roff(7) markup
+that mandoc does not yet understand. On some BSD systems using
+mandoc, third-party software is vetted on whether it may be formatted
+with mandoc. If not, groff(1) is pulled in as a dependency and
+used to install a pre-formatted "catpage" instead of directly as
+manual page source.
+
+
+Understanding mandoc dependencies
+---------------------------------
+The mandoc(1), man(1), and demandoc(1) utilities only depend
+on the zlib library for decompressing gzipped manual pages,
+but makewhatis(8) and apropos(1) depend on the following
+additional software:
+
+1. The SQLite database system, see <http://sqlite.org/>.
+The recommended version of SQLite is 3.8.4.3 or newer. The mandoc
+toolset is known to work with version 3.7.5 or newer. Versions
+older than 3.8.3 may not achieve full performance due to the
+missing SQLITE_DETERMINISTIC optimization flag. Versions older
+than 3.8.0 may not show full error information if opening a database
+fails due to the missing sqlite3_errstr() API. Both are very minor
+problems, apropos(1) is fully usable with SQLite 3.7.5. Versions
+older than 3.7.5 may or may not work, they have not been tested.
+
+2. The fts(3) directory traversion functions.
+If your system does not have them, the bundled compatibility version
+will be used, so you need not worry in that case. But be careful: the
+glibc version of fts(3) is known to be broken on 32bit platforms,
+see <https://sourceware.org/bugzilla/show_bug.cgi?id=15838>.
+If you run into that problem, set "HAVE_FTS=0" in configure.local.
+
+3. Marc Espie's ohash(3) library.
+If your system does not have it, the bundled compatibility version
+will be used, so you probably need not worry about it.
+
+One of the chief design goals of the mandoc toolbox is to make
+sure that nothing related to documentation requires C++.
+Consequently, linking mandoc against any kind of C++ program
+would defeat the purpose and is not supported.
+
+
+Checking autoconfiguration quality
+----------------------------------
+If you want to check whether automatic configuration works well
+on your platform, consider the following:
+
+The mandoc package intentionally does not use GNU autoconf because
+we consider that toolset a blatant example of overengineering that
+is obsolete nowadays, since all modern operating systems are now
+reasonably close to POSIX and do not need arcane shell magic any
+longer. If your system does need such magic, consider upgrading
+to reasonably modern POSIX-compliant tools rather than asking for
+autoconf-style workarounds.
+
+As far as mandoc is using any features not mandated by ANSI X3.159-1989
+("ANSI C") or IEEE Std 1003.1-2008 ("POSIX") that some modern systems
+do not have, we intend to provide autoconfiguration tests and
+compat_*.c implementations. Please report any that turn out to be
+missing. Note that while we do strive to produce portable code,
+we do not slavishly restrict ourselves to POSIX-only interfaces.
+For improved security and readability, we do use well-designed,
+modern interfaces like reallocarray(3) even if they are still rather
+uncommon, of course bundling compat_*.c implementations as needed.
+
+Where mandoc is using ANSI C or POSIX features that some systems
+still lack and that compat_*.c implementations can be provided for
+without too much hassle, we will consider adding them, too, so
+please report whatever is missing on your platform.
+
+The following steps can be used to manually check the automatic
+configuration on your platform:
+
+1. Run "make distclean".
+
+2. Run "./configure"
+
+3. Read the file "config.log". It shows the compiler commands used
+to test the libraries installed on your system and the standard
+output and standard error output these commands produce. Watch out
+for unexpected failures. Those are most likely to happen if headers
+or libraries are installed in unusual places or interfaces defined
+in unusual headers. You can also look at the file "config.h" and
+check that no "#define HAVE_*" differ from your expectations.
Copied: vendor/mdocml/20160116/LICENSE (from r294109, vendor/mdocml/dist/LICENSE)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/mdocml/20160116/LICENSE Fri Jan 15 23:10:37 2016 (r294110, copy of r294109, vendor/mdocml/dist/LICENSE)
@@ -0,0 +1,52 @@
+$Id: LICENSE,v 1.11 2015/11/07 17:58:55 schwarze Exp $
+
+With the exceptions noted below, all code and documentation
+contained in the mdocml toolkit is protected by the Copyright
+of the following developers:
+
+Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps at bsd.lv>
+Copyright (c) 2010-2015 Ingo Schwarze <schwarze at openbsd.org>
+Copyright (c) 2009, 2010, 2011, 2012 Joerg Sonnenberger <joerg at netbsd.org>
+Copyright (c) 2013 Franco Fichtner <franco at lastsummer.de>
+Copyright (c) 2014 Baptiste Daroussin <bapt at FreeBSD.org>
+Copyright (c) 1999, 2004 Marc Espie <espie at openbsd.org>
+Copyright (c) 1998, 2004, 2010 Todd C. Miller <Todd.Miller at courtesan.com>
+Copyright (c) 2008 Otto Moerbeek <otto at drijf.net>
+Copyright (c) 2004 Ted Unangst <tedu at openbsd.org>
+Copyright (c) 1994 Christos Zoulas <christos at netbsd.org>
+Copyright (c) 2003, 2007, 2008, 2014 Jason McIntyre <jmc at openbsd.org>
+
+See the individual source files for information about who contributed
+to which file during which years.
+
+
+The mdocml distribution as a whole is distributed by its developers
+under the following license:
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+
+The following files included from outside sources are protected by
+other people's Copyright and are distributed under various 2-clause
+and 3-clause BSD licenses; see these individual files for details.
+
+soelim.c, soelim.1:
+Copyright (c) 2014 Baptiste Daroussin <bapt at FreeBSD.org>
+
+compat_err.c, compat_fts.c, compat_fts.h,
+compat_getsubopt.c, compat_strcasestr.c, compat_strsep.c,
+man.1:
+Copyright (c) 1989,1990,1993,1994 The Regents of the University of California
+
+compat_stringlist.c, compat_stringlist.h:
+Copyright (c) 1994 Christos Zoulas <christos at netbsd.org>
Copied: vendor/mdocml/20160116/Makefile (from r294109, vendor/mdocml/dist/Makefile)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/mdocml/20160116/Makefile Fri Jan 15 23:10:37 2016 (r294110, copy of r294109, vendor/mdocml/dist/Makefile)
@@ -0,0 +1,462 @@
+# $Id: Makefile,v 1.480 2015/11/07 21:53:14 schwarze Exp $
+#
+# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps at bsd.lv>
+# Copyright (c) 2011, 2013, 2014, 2015 Ingo Schwarze <schwarze at openbsd.org>
+#
+# Permission to use, copy, modify, and distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+VERSION = 1.13.3
+
+# === LIST OF FILES ====================================================
+
+TESTSRCS = test-dirent-namlen.c \
+ test-err.c \
+ test-fts.c \
+ test-getline.c \
+ test-getsubopt.c \
+ test-isblank.c \
+ test-mkdtemp.c \
+ test-mmap.c \
+ test-ohash.c \
+ test-pledge.c \
+ test-progname.c \
+ test-reallocarray.c \
+ test-sqlite3.c \
+ test-sqlite3_errstr.c \
+ test-strcasestr.c \
+ test-stringlist.c \
+ test-strlcat.c \
+ test-strlcpy.c \
+ test-strptime.c \
+ test-strsep.c \
+ test-strtonum.c \
+ test-vasprintf.c \
+ test-wchar.c
+
+SRCS = att.c \
+ cgi.c \
+ chars.c \
+ compat_err.c \
+ compat_fts.c \
+ compat_getline.c \
+ compat_getsubopt.c \
+ compat_isblank.c \
+ compat_mkdtemp.c \
+ compat_ohash.c \
+ compat_progname.c \
+ compat_reallocarray.c \
+ compat_sqlite3_errstr.c \
+ compat_strcasestr.c \
+ compat_stringlist.c \
+ compat_strlcat.c \
+ compat_strlcpy.c \
+ compat_strsep.c \
+ compat_strtonum.c \
+ compat_vasprintf.c \
+ demandoc.c \
+ eqn.c \
+ eqn_html.c \
+ eqn_term.c \
+ html.c \
+ lib.c \
+ main.c \
+ man.c \
+ man_hash.c \
+ man_html.c \
+ man_macro.c \
+ man_term.c \
+ man_validate.c \
+ mandoc.c \
+ mandoc_aux.c \
+ mandoc_ohash.c \
+ mandocdb.c \
+ manpage.c \
+ manpath.c \
+ mansearch.c \
+ mansearch_const.c \
+ mdoc.c \
+ mdoc_argv.c \
+ mdoc_hash.c \
+ mdoc_html.c \
+ mdoc_macro.c \
+ mdoc_man.c \
+ mdoc_state.c \
+ mdoc_term.c \
+ mdoc_validate.c \
+ msec.c \
+ out.c \
+ preconv.c \
+ read.c \
+ roff.c \
+ soelim.c \
+ st.c \
+ tag.c \
+ tbl.c \
+ tbl_data.c \
+ tbl_html.c \
+ tbl_layout.c \
+ tbl_opts.c \
+ tbl_term.c \
+ term.c \
+ term_ascii.c \
+ term_ps.c \
+ tree.c
+
+DISTFILES = INSTALL \
+ LICENSE \
+ Makefile \
+ Makefile.depend \
+ NEWS \
+ TODO \
+ apropos.1 \
+ cgi.h.example \
+ compat_fts.h \
+ compat_ohash.h \
+ compat_stringlist.h \
+ configure \
+ configure.local.example \
+ demandoc.1 \
+ eqn.7 \
+ gmdiff \
+ html.h \
+ lib.in \
+ libman.h \
+ libmandoc.h \
+ libmdoc.h \
+ libroff.h \
+ main.h \
+ makewhatis.8 \
+ man.1 \
+ man.7 \
+ man.cgi.8 \
+ man.conf.5 \
+ man.h \
+ manconf.h \
+ mandoc.1 \
+ mandoc.3 \
+ mandoc.css \
+ mandoc.db.5 \
+ mandoc.h \
+ mandoc_aux.h \
+ mandoc_char.7 \
+ mandoc_escape.3 \
+ mandoc_headers.3 \
+ mandoc_html.3 \
+ mandoc_malloc.3 \
+ mandoc_ohash.h \
+ mansearch.3 \
+ mansearch.h \
+ mchars_alloc.3 \
+ mdoc.7 \
+ mdoc.h \
+ msec.in \
+ out.h \
+ predefs.in \
+ roff.7 \
+ roff.h \
+ soelim.1 \
+ st.in \
+ tag.h \
+ tbl.3 \
+ tbl.7 \
+ term.h \
+ $(SRCS) \
+ $(TESTSRCS)
+
+LIBMAN_OBJS = man.o \
+ man_hash.o \
+ man_macro.o \
+ man_validate.o
+
+LIBMDOC_OBJS = att.o \
+ lib.o \
+ mdoc.o \
+ mdoc_argv.o \
+ mdoc_hash.o \
+ mdoc_macro.o \
+ mdoc_state.o \
+ mdoc_validate.o \
+ st.o
+
+LIBROFF_OBJS = eqn.o \
+ roff.o \
+ tbl.o \
+ tbl_data.o \
+ tbl_layout.o \
+ tbl_opts.o
+
+LIBMANDOC_OBJS = $(LIBMAN_OBJS) \
+ $(LIBMDOC_OBJS) \
+ $(LIBROFF_OBJS) \
+ chars.o \
+ mandoc.o \
+ mandoc_aux.o \
+ mandoc_ohash.o \
+ msec.o \
+ preconv.o \
+ read.o
+
+COMPAT_OBJS = compat_err.o \
+ compat_fts.o \
+ compat_getline.o \
+ compat_getsubopt.o \
+ compat_isblank.o \
+ compat_mkdtemp.o \
+ compat_ohash.o \
+ compat_progname.o \
+ compat_reallocarray.o \
+ compat_sqlite3_errstr.o \
+ compat_strcasestr.o \
+ compat_strlcat.o \
+ compat_strlcpy.o \
+ compat_strsep.o \
+ compat_strtonum.o \
+ compat_vasprintf.o
+
+MANDOC_HTML_OBJS = eqn_html.o \
+ html.o \
+ man_html.o \
+ mdoc_html.o \
+ tbl_html.o
+
+MANDOC_MAN_OBJS = mdoc_man.o
+
+MANDOC_TERM_OBJS = eqn_term.o \
+ man_term.o \
+ mdoc_term.o \
+ term.o \
+ term_ascii.o \
+ term_ps.o \
+ tbl_term.o
+
+BASE_OBJS = $(MANDOC_HTML_OBJS) \
+ $(MANDOC_MAN_OBJS) \
+ $(MANDOC_TERM_OBJS) \
+ main.o \
+ manpath.o \
+ out.o \
+ tag.o \
+ tree.o
+
+MAIN_OBJS = $(BASE_OBJS)
+
+DB_OBJS = mandocdb.o \
+ mansearch.o \
+ mansearch_const.o
+
+CGI_OBJS = $(MANDOC_HTML_OBJS) \
+ cgi.o \
+ mansearch.o \
+ mansearch_const.o \
+ out.o
+
+MANPAGE_OBJS = manpage.o mansearch.o mansearch_const.o manpath.o
+
+DEMANDOC_OBJS = demandoc.o
+
+SOELIM_OBJS = soelim.o \
+ compat_err.o \
+ compat_getline.o \
+ compat_progname.o \
+ compat_reallocarray.o \
+ compat_stringlist.o
+
+WWW_MANS = apropos.1.html \
+ demandoc.1.html \
+ man.1.html \
+ mandoc.1.html \
+ soelim.1.html \
+ mandoc.3.html \
+ mandoc_escape.3.html \
+ mandoc_headers.3.html \
+ mandoc_html.3.html \
+ mandoc_malloc.3.html \
+ mansearch.3.html \
+ mchars_alloc.3.html \
+ tbl.3.html \
+ man.conf.5.html \
+ mandoc.db.5.html \
+ eqn.7.html \
+ man.7.html \
+ mandoc_char.7.html \
+ mdoc.7.html \
+ roff.7.html \
+ tbl.7.html \
+ makewhatis.8.html \
+ man.cgi.8.html \
+ man.h.html \
+ manconf.h.html \
+ mandoc.h.html \
+ mandoc_aux.h.html \
+ mansearch.h.html \
+ mdoc.h.html \
+ roff.h.html
+
+WWW_OBJS = mdocml.tar.gz \
+ mdocml.sha256
+
+# === USER CONFIGURATION ===============================================
+
+include Makefile.local
+
+# === DEPENDENCY HANDLING ==============================================
+
+all: base-build $(BUILD_TARGETS) Makefile.local
+
+base-build: mandoc demandoc soelim
+
+cgi-build: man.cgi
+
+install: base-install $(INSTALL_TARGETS)
+
+www: $(WWW_OBJS) $(WWW_MANS)
+
+$(WWW_MANS): mandoc
+
+.PHONY: base-install cgi-install db-install install www-install
+.PHONY: clean distclean depend
+
+include Makefile.depend
+
+# === TARGETS CONTAINING SHELL COMMANDS ================================
+
+distclean: clean
+ rm -f Makefile.local config.h config.h.old config.log config.log.old
+
+clean:
+ rm -f libmandoc.a $(LIBMANDOC_OBJS) $(COMPAT_OBJS)
+ rm -f mandoc $(BASE_OBJS) $(DB_OBJS)
+ rm -f man.cgi $(CGI_OBJS)
+ rm -f manpage $(MANPAGE_OBJS)
+ rm -f demandoc $(DEMANDOC_OBJS)
+ rm -f soelim $(SOELIM_OBJS)
+ rm -f $(WWW_MANS) $(WWW_OBJS)
+ rm -rf *.dSYM
+
+base-install: base-build
+ mkdir -p $(DESTDIR)$(BINDIR)
+ mkdir -p $(DESTDIR)$(LIBDIR)
+ mkdir -p $(DESTDIR)$(INCLUDEDIR)
+ mkdir -p $(DESTDIR)$(MANDIR)/man1
+ mkdir -p $(DESTDIR)$(MANDIR)/man3
+ mkdir -p $(DESTDIR)$(MANDIR)/man5
+ mkdir -p $(DESTDIR)$(MANDIR)/man7
+ $(INSTALL_PROGRAM) mandoc demandoc $(DESTDIR)$(BINDIR)
+ $(INSTALL_PROGRAM) soelim $(DESTDIR)$(BINDIR)/$(BINM_SOELIM)
+ ln -f $(DESTDIR)$(BINDIR)/mandoc $(DESTDIR)$(BINDIR)/$(BINM_MAN)
+ $(INSTALL_LIB) libmandoc.a $(DESTDIR)$(LIBDIR)
+ $(INSTALL_LIB) man.h mandoc.h mandoc_aux.h mdoc.h roff.h \
+ $(DESTDIR)$(INCLUDEDIR)
+ $(INSTALL_MAN) mandoc.1 demandoc.1 $(DESTDIR)$(MANDIR)/man1
+ $(INSTALL_MAN) soelim.1 $(DESTDIR)$(MANDIR)/man1/$(BINM_SOELIM).1
+ $(INSTALL_MAN) man.1 $(DESTDIR)$(MANDIR)/man1/$(BINM_MAN).1
+ $(INSTALL_MAN) mandoc.3 mandoc_escape.3 mandoc_malloc.3 \
+ mchars_alloc.3 tbl.3 $(DESTDIR)$(MANDIR)/man3
+ $(INSTALL_MAN) man.conf.5 $(DESTDIR)$(MANDIR)/man5/${MANM_MANCONF}.5
+ $(INSTALL_MAN) man.7 $(DESTDIR)$(MANDIR)/man7/${MANM_MAN}.7
+ $(INSTALL_MAN) mdoc.7 $(DESTDIR)$(MANDIR)/man7/${MANM_MDOC}.7
+ $(INSTALL_MAN) roff.7 $(DESTDIR)$(MANDIR)/man7/${MANM_ROFF}.7
+ $(INSTALL_MAN) eqn.7 $(DESTDIR)$(MANDIR)/man7/${MANM_EQN}.7
+ $(INSTALL_MAN) tbl.7 $(DESTDIR)$(MANDIR)/man7/${MANM_TBL}.7
+ $(INSTALL_MAN) mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
+
+db-install: base-build
+ mkdir -p $(DESTDIR)$(BINDIR)
+ mkdir -p $(DESTDIR)$(SBINDIR)
+ mkdir -p $(DESTDIR)$(MANDIR)/man1
+ mkdir -p $(DESTDIR)$(MANDIR)/man3
+ mkdir -p $(DESTDIR)$(MANDIR)/man5
+ mkdir -p $(DESTDIR)$(MANDIR)/man8
+ ln -f $(DESTDIR)$(BINDIR)/mandoc $(DESTDIR)$(BINDIR)/$(BINM_APROPOS)
+ ln -f $(DESTDIR)$(BINDIR)/mandoc $(DESTDIR)$(BINDIR)/$(BINM_WHATIS)
+ ln -f $(DESTDIR)$(BINDIR)/mandoc \
+ $(DESTDIR)$(SBINDIR)/$(BINM_MAKEWHATIS)
+ $(INSTALL_MAN) apropos.1 $(DESTDIR)$(MANDIR)/man1/$(BINM_APROPOS).1
+ ln -f $(DESTDIR)$(MANDIR)/man1/$(BINM_APROPOS).1 \
+ $(DESTDIR)$(MANDIR)/man1/$(BINM_WHATIS).1
+ $(INSTALL_MAN) mansearch.3 $(DESTDIR)$(MANDIR)/man3
+ $(INSTALL_MAN) mandoc.db.5 $(DESTDIR)$(MANDIR)/man5
+ $(INSTALL_MAN) makewhatis.8 \
+ $(DESTDIR)$(MANDIR)/man8/$(BINM_MAKEWHATIS).8
+
+cgi-install: cgi-build
+ mkdir -p $(DESTDIR)$(CGIBINDIR)
+ mkdir -p $(DESTDIR)$(HTDOCDIR)
+ mkdir -p $(DESTDIR)$(WWWPREFIX)/man/mandoc/man1
+ mkdir -p $(DESTDIR)$(WWWPREFIX)/man/mandoc/man8
+ $(INSTALL_PROGRAM) man.cgi $(DESTDIR)$(CGIBINDIR)
+ $(INSTALL_DATA) mandoc.css $(DESTDIR)$(HTDOCDIR)
+ $(INSTALL_MAN) apropos.1 $(DESTDIR)$(WWWPREFIX)/man/mandoc/man1/
+ $(INSTALL_MAN) man.cgi.8 $(DESTDIR)$(WWWPREFIX)/man/mandoc/man8/
+
+Makefile.local config.h: configure ${TESTSRCS}
+ @echo "$@ is out of date; please run ./configure"
+ @exit 1
+
+libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
+ $(AR) rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
+
+mandoc: $(MAIN_OBJS) libmandoc.a
+ $(CC) $(LDFLAGS) -o $@ $(MAIN_OBJS) libmandoc.a $(DBLIB)
+
+manpage: $(MANPAGE_OBJS) libmandoc.a
+ $(CC) $(LDFLAGS) -o $@ $(MANPAGE_OBJS) libmandoc.a $(DBLIB)
+
+man.cgi: $(CGI_OBJS) libmandoc.a
+ $(CC) $(LDFLAGS) $(STATIC) -o $@ $(CGI_OBJS) libmandoc.a $(DBLIB)
+
+demandoc: $(DEMANDOC_OBJS) libmandoc.a
+ $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a $(DBLIB)
+
+soelim: $(SOELIM_OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(SOELIM_OBJS)
+
+# --- maintainer targets ---
+
+www-install: www
+ mkdir -p $(HTDOCDIR)/snapshots
+ $(INSTALL_DATA) $(WWW_MANS) mandoc.css $(HTDOCDIR)
+ $(INSTALL_DATA) $(WWW_OBJS) $(HTDOCDIR)/snapshots
+ $(INSTALL_DATA) mdocml.tar.gz \
+ $(HTDOCDIR)/snapshots/mdocml-$(VERSION).tar.gz
+ $(INSTALL_DATA) mdocml.sha256 \
+ $(HTDOCDIR)/snapshots/mdocml-$(VERSION).sha256
+
+depend: config.h
+ mkdep -f Makefile.depend $(CFLAGS) $(SRCS)
+ perl -e 'undef $$/; $$_ = <>; s|/usr/include/\S+||g; \
+ s|\\\n||g; s| +| |g; s| $$||mg; print;' \
+ Makefile.depend > Makefile.tmp
+ mv Makefile.tmp Makefile.depend
+
+mdocml.sha256: mdocml.tar.gz
+ sha256 mdocml.tar.gz > $@
+
+mdocml.tar.gz: $(DISTFILES)
+ mkdir -p .dist/mdocml-$(VERSION)/
+ $(INSTALL) -m 0644 $(DISTFILES) .dist/mdocml-$(VERSION)
+ chmod 755 .dist/mdocml-$(VERSION)/configure
+ ( cd .dist/ && tar zcf ../$@ mdocml-$(VERSION) )
+ rm -rf .dist/
+
+# === SUFFIX RULES =====================================================
+
+.SUFFIXES: .1 .3 .5 .7 .8 .h
+.SUFFIXES: .1.html .3.html .5.html .7.html .8.html .h.html
+
+.h.h.html:
+ highlight -I $< > $@
+
+.1.1.html .3.3.html .5.5.html .7.7.html .8.8.html: mandoc
+ ./mandoc -Thtml -Wall,stop \
+ -Ostyle=mandoc.css,man=%N.%S.html,includes=%I.html $< > $@
Copied: vendor/mdocml/20160116/Makefile.depend (from r294109, vendor/mdocml/dist/Makefile.depend)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/mdocml/20160116/Makefile.depend Fri Jan 15 23:10:37 2016 (r294110, copy of r294109, vendor/mdocml/dist/Makefile.depend)
@@ -0,0 +1,68 @@
+att.o: att.c config.h roff.h mdoc.h libmdoc.h
+cgi.o: cgi.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h man.h main.h manconf.h mansearch.h cgi.h
+chars.o: chars.c config.h mandoc.h mandoc_aux.h mandoc_ohash.h compat_ohash.h libmandoc.h
+compat_err.o: compat_err.c config.h
+compat_fts.o: compat_fts.c config.h compat_fts.h
+compat_getline.o: compat_getline.c config.h
+compat_getsubopt.o: compat_getsubopt.c config.h
+compat_isblank.o: compat_isblank.c config.h
+compat_mkdtemp.o: compat_mkdtemp.c config.h
+compat_ohash.o: compat_ohash.c config.h compat_ohash.h
+compat_progname.o: compat_progname.c config.h
+compat_reallocarray.o: compat_reallocarray.c config.h
+compat_sqlite3_errstr.o: compat_sqlite3_errstr.c config.h
+compat_strcasestr.o: compat_strcasestr.c config.h
+compat_stringlist.o: compat_stringlist.c config.h compat_stringlist.h
+compat_strlcat.o: compat_strlcat.c config.h
+compat_strlcpy.o: compat_strlcpy.c config.h
+compat_strsep.o: compat_strsep.c config.h
+compat_strtonum.o: compat_strtonum.c config.h
+compat_vasprintf.o: compat_vasprintf.c config.h
+demandoc.o: demandoc.c config.h roff.h man.h mdoc.h mandoc.h
+eqn.o: eqn.c config.h mandoc.h mandoc_aux.h libmandoc.h libroff.h
+eqn_html.o: eqn_html.c config.h mandoc.h out.h html.h
+eqn_term.o: eqn_term.c config.h mandoc.h out.h term.h
+html.o: html.c config.h mandoc.h mandoc_aux.h out.h html.h manconf.h main.h
+lib.o: lib.c config.h roff.h mdoc.h libmdoc.h lib.in
+main.o: main.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h man.h tag.h main.h manconf.h mansearch.h
+man.o: man.c config.h mandoc_aux.h mandoc.h roff.h man.h libmandoc.h roff_int.h libman.h
+man_hash.o: man_hash.c config.h roff.h man.h libman.h
+man_html.o: man_html.c config.h mandoc_aux.h roff.h man.h out.h html.h main.h
+man_macro.o: man_macro.c config.h mandoc.h roff.h man.h libmandoc.h roff_int.h libman.h
+man_term.o: man_term.c config.h mandoc_aux.h mandoc.h roff.h man.h out.h term.h main.h
+man_validate.o: man_validate.c config.h mandoc_aux.h mandoc.h roff.h man.h libmandoc.h roff_int.h libman.h
+mandoc.o: mandoc.c config.h mandoc.h mandoc_aux.h libmandoc.h
+mandoc_aux.o: mandoc_aux.c config.h mandoc.h mandoc_aux.h
+mandoc_ohash.o: mandoc_ohash.c mandoc_aux.h mandoc_ohash.h compat_ohash.h
+mandocdb.o: mandocdb.c config.h compat_fts.h mandoc_aux.h mandoc_ohash.h compat_ohash.h mandoc.h roff.h mdoc.h man.h manconf.h mansearch.h
+manpage.o: manpage.c config.h manconf.h mansearch.h
+manpath.o: manpath.c config.h mandoc_aux.h manconf.h
+mansearch.o: mansearch.c config.h mandoc.h mandoc_aux.h mandoc_ohash.h compat_ohash.h manconf.h mansearch.h
+mansearch_const.o: mansearch_const.c config.h mansearch.h
+mdoc.o: mdoc.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h libmandoc.h roff_int.h libmdoc.h
+mdoc_argv.o: mdoc_argv.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h libmandoc.h libmdoc.h
+mdoc_hash.o: mdoc_hash.c config.h roff.h mdoc.h libmdoc.h
+mdoc_html.o: mdoc_html.c config.h mandoc_aux.h roff.h mdoc.h out.h html.h main.h
+mdoc_macro.o: mdoc_macro.c config.h mandoc.h roff.h mdoc.h libmandoc.h roff_int.h libmdoc.h
+mdoc_man.o: mdoc_man.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h man.h out.h main.h
+mdoc_state.o: mdoc_state.c mandoc.h roff.h mdoc.h libmandoc.h libmdoc.h
+mdoc_term.o: mdoc_term.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h out.h term.h tag.h main.h
+mdoc_validate.o: mdoc_validate.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h libmandoc.h roff_int.h libmdoc.h
+msec.o: msec.c config.h mandoc.h libmandoc.h msec.in
+out.o: out.c config.h mandoc_aux.h mandoc.h out.h
+preconv.o: preconv.c config.h mandoc.h libmandoc.h
+read.o: read.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h man.h libmandoc.h roff_int.h
+roff.o: roff.c config.h mandoc.h mandoc_aux.h roff.h libmandoc.h roff_int.h libroff.h predefs.in
+soelim.o: soelim.c config.h compat_stringlist.h
+st.o: st.c config.h roff.h mdoc.h libmdoc.h st.in
+tag.o: tag.c config.h mandoc_aux.h mandoc_ohash.h compat_ohash.h tag.h
+tbl.o: tbl.c config.h mandoc.h mandoc_aux.h libmandoc.h libroff.h
+tbl_data.o: tbl_data.c config.h mandoc.h mandoc_aux.h libmandoc.h libroff.h
+tbl_html.o: tbl_html.c config.h mandoc.h out.h html.h
+tbl_layout.o: tbl_layout.c config.h mandoc.h mandoc_aux.h libmandoc.h libroff.h
+tbl_opts.o: tbl_opts.c config.h mandoc.h libmandoc.h libroff.h
+tbl_term.o: tbl_term.c config.h mandoc.h out.h term.h
+term.o: term.c config.h mandoc.h mandoc_aux.h out.h term.h main.h
+term_ascii.o: term_ascii.c config.h mandoc.h mandoc_aux.h out.h term.h manconf.h main.h
+term_ps.o: term_ps.c config.h mandoc_aux.h out.h term.h manconf.h main.h
+tree.o: tree.c config.h mandoc.h roff.h mdoc.h man.h main.h
Copied: vendor/mdocml/20160116/NEWS (from r294109, vendor/mdocml/dist/NEWS)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/mdocml/20160116/NEWS Fri Jan 15 23:10:37 2016 (r294110, copy of r294109, vendor/mdocml/dist/NEWS)
@@ -0,0 +1,631 @@
+$Id: NEWS,v 1.10 2015/11/05 16:58:20 schwarze Exp $
+
+This file lists the most important changes in the mdocml.bsd.lv distribution.
+
+Changes in version 1.13.3, released on March 13, 2015
+
+ --- MAJOR NEW FEATURES ---
+ * When a manual is missing from an outdated database, let man(1)
+ show it anyway, using a KISS file system lookup as a fallback.
+ * Use this to always provide man(1), even without database support.
+ * Fatal errors no longer exist. If a file can be opened, mandoc
+ will produce some output; at worst, the output may be almost empty.
+ * New -Wunsupp message level.
+ --- POTENTIONALLY SECURITY RELEVANT BUGFIXES ---
+ * Fix a potential write buffer overrun on incomplete string conditionals.
+ http://mdocml.bsd.lv/cgi-bin/cvsweb/roff.c#rev1.241
+ * Fix a potential write buffer overrun on backslash at EOF in a conditional.
+ http://mdocml.bsd.lv/cgi-bin/cvsweb/roff.c#rev1.247
+ * Fix a use after free sometimes hit when validation deletes a block.
+ http://mdocml.bsd.lv/cgi-bin/cvsweb/mdoc_macro.c#rev1.180
+ --- MAJOR FUNCTIONALLY RELEVANT BUGFIXES ---
+ * Let man(1) show manuals for the current architecture by default,
+ and support the MACHINE environment variable.
+ * Fix the man(1) and apropos(1) -m option, it didn't work at all.
+ * Do not spawn a pager when there is no output.
+ * In makewhatis(8), fix detection of hardlinked manuals on platforms
+ having padding in struct inodev (typically 64bit platforms).
+ --- PORTABILITY IMPROVEMENTS ---
+ * Ignore O_CLOEXEC when the operating system doesn't provide it.
+ * Avoid forward reference to enum type which violates ISO C99.
+ * Support homebrew-style linking on Mac OS X.
+ --- MINOR NEW FEATURES ---
+ * lookup: Accept digit+letter and "n" as section names in man(1),
+ and consistently handle digit+letter in file name extensions.
+ * lookup: Speed up -s/-S by using the "mlinks" rather than the "keys" table.
+ * output: Insert horizontal lines between formatted manual pages.
+ * input: New stricter and more resilient UTF-8 parser.
+ * mdoc(7): Refactor block rewinding for simpler and more robust parsing.
+ * man(7): Use the -Ios option when .TH has less than four arguments.
+ * tbl(7): Implement the "center" option.
+ * tbl(7): New option and format parsers, improved in many respects.
+ * roff(7): Basic implementation of the \o escape sequence (overstrike),
+ and improved rendering of overstrikes in PostScript and PDF output.
+ * Message improvements, in particular for, but not restricted to,
+ eqn(7), tbl(7), and wrong numbers of arguments in mdoc(7) and man(7),
+ in various cases also improving output generated by invalid input.
+ * Delete the -V option. It serves no purpose but keeps confusing people.
+ * gmdiff: Minimal support for Heirloom roff.
+ --- RELIABILITY BUGFIXES ---
+ * tbl(7): Fix a read buffer overrun on 'f' at EOL in a layout.
+ * roff(7): Fix a read buffer overrun on incomplete numerical conditions.
+ * mdoc(7): Fix a NULL pointer access on .Nd followed by an explicit block.
+ * mdoc(7): Fix a NULL pointer access on .It Xo without .Xc.
+ * mdoc(7): Fix a NULL pointer access on .Eo without a tail.
+ * mdoc(7): Fix a NULL pointer access in the validation of empty .St macros.
+ * man(7)/tbl(7): Fix a NULL pointer access on .TS right after .TP.
+ * tbl(7): Fix a NULL pointer access on layout lines without any cells.
+ * eqn(7): Fix NULL pointer accesses in the terminal formatter.
+ * roff(7): Fix a NULL pointer access on trailing \s-/\s+ without an argument.
+ * gz: Fix a potential NULL pointer access after waitpid() failure.
+ * roff(7): Don't let the modulo operator divide by zero.
+ * input: Fix an assertion failure on certain invalid UTF-8 input.
+ * terminal output: Allow arbitrary depth of the font stack (assertion fix).
+ * mdoc(7): Fix assertion failures and endless loops on invalid block closing.
+ * mdoc(7): Fix an assertion failure on .Bl .Sm not followed by .It.
+ * mdoc(7): Fix an assertion failure on .Bl -column ... .El .Ta.
+ * tbl(7): Fix assertion failures by macros inside table data,
+ but do not throw away the macro arguments.
+ * Prevent certain kinds of unreasonable input from producing excessive
+ output, in one case caused by unsigned integer underflow.
+ * Fix a potential memory leak in makewhatis(8) on very long filenames.
+ --- MINOR BUGFIXES ---
+ * mdoc(7): Fix parsing of badly nested blocks with multiple identical blocks.
+ * mdoc(7): Support negative indentations for displays and lists.
+ * mdoc(7): Don't mistreat negative .sp arguments as large positive ones.
+ * mdoc(7): Some spacing fixes for .Eo/.Ec.
+ * man(7): Support negative horizontal widths.
+ * man(7): Do not print out invalid .IP arguments.
+ * man(7): Correctly handle scaling units after .PD.
+ * man(7): Support .RE with an argument.
+ * man(7): Fix restoring indentation after .RS with large negative arguments.
+ * tbl(7): Prevent tables from breaking the filling of preceding text.
+ * tbl(7): Fix vertical spacing at the beginning of tables.
+ * tbl(7): Parser and formatter fixes for line drawing and font modifiers.
+ * tbl(7): Correct handling of blank data lines.
+ * eqn(7): Add sometimes missing whitespace before equation output.
+ * roff(7): Fix vertical scaling, most of it was wrong.
+ * roff(7): Slightly improve \w width measurements.
+ * roff(7): Accept the historic aliases \s10 to \s39 for \s(10 to \s(39.
+ * roff(7): Correctly escape quotes when expanding macro arguments.
+ * roff(7): Correctly handle scaling units in numerical expressions,
+ and some other improvements to the parsing of numerical expressions.
+ * roff(7): Three minor fixes with respect to evaluation of conditionals.
+ * roff(7): Let .it accept numerical expressions, not just constants.
+ * mandoc_char(7): Correct some character names and renderings.
+ * If earlier files set a non-zero exit status, never reset it to zero.
+ --- THANKS TO ---
+ * Jonathan Gray (OpenBSD) for yet more testing with afl (the American
+ Fuzzy Lop security fuzzer), again resulting in many bug reports.
+ * Theo de Raadt (OpenBSD) for suggesting the main new feature (man(1) file
+ system lookup) and for reporting an important bug (pager without output).
+ * Theo Buehler for an important bug report (-s/-S slowness)
+ and for proposing a nice new feature (lines between pages).
+ * Jason McIntyre for an important bug report (hardlink detection)
+ and multiple documentation patches.
+ * Pascal Stumpf (OpenBSD) and Alessandro de Laurenzis for
+ important bug reports (architecture and man -m, respectively).
+ * Thomas Klausner (NetBSD) for proposing a new feature (man(7) -Ios),
+ a bug report, and release testing.
+ * Anthony Bentley, Daniel Dickman, Ted Unangst (OpenBSD) and
+ Kristaps Dzonsons (bsd.lv) for source code patches and bug reports.
+ * Christian Weisgerber (OpenBSD) for more than half a dozen bug reports.
+ * Carsten Kunze (Heirloom troff) for bug reports and release testing.
+ * Antoine Jacoutot (OpenBSD) for release testing.
+ * Alexis Hildebrandt (Homebrew), Baptiste Daroussin (FreeBSD),
+ Jonathan Perkin (SmartOS), Pedro Giffuni (FreeBSD), Svyatoslav
+ Mishyn (Crux Linux), Ulrich Spoerlein (FreeBSD), Jan Stary, Patrick
+ Keshishian, Sebastien Marie, and Steffen Nurpmeso for bug reports.
+
+Changes in version 1.13.2, released on December 13, 2014
+
+ --- MAJOR NEW FEATURES ---
+ * Include an implementation of man(1), the manual page viewer.
+ * Unified set of command line option, each one supported by all
+ command names, including new options -a (format all), -c (no
+ pager), -h (synopsis only), and -w (list filenames).
+ * Support the MANPAGER and PAGER environment variables.
+ * Support gzip'ed manuals by the whole toolset, even as .so targets.
+ * Support UTF-8 and Latin-1 input by the whole toolset, delete preconv(1).
+ * Switch the default output mode from -Tascii to -Tlocale.
+ * Improve -Tascii output for Unicode escape sequences.
+ * Let the -Thtml output mode produce polyglot HTML5.
+ * Many improvements for eqn(7), in particular in-line equations,
+ MathML output in -Thtml mode, and much improved terminal formatting.
+ --- PORTABILITY IMPROVEMENTS ---
+ * Change the build sequence to the usual ./configure; make; make install.
+ * Support ./configure.local for build customizations.
+ * Autodetect wchar, sqlite3, and manpath support.
+ * Provide a fallback version of fts(3) for systems lacking it.
+ * Support choosing alternative binary and manual names.
+ --- MINOR NEW FEATURES ---
+ * Rudimentary implementation of the e, x, and z tbl(7) layout
+ modifiers to equalize, maximize, and ignore the width of columns.
+ * Implement font modifiers in tbl(7) layouts.
+ * Allow comma-separated options in the tbl(7) options line.
+ * Parse and ignore the .pl (page length) roff(7) request.
+ * Implement .An -[no]split for the mdoc(7) -Thtml output mode.
+ * Support bold italic font in PostScript and PDF output.
+ * Warn about commas in function arguments and parentheses in function names.
+ * Warn about botched .Xr ordering and punctuation below SEE ALSO.
+ * Warn about AUTHORS sections without .An macros.
+ * Warn about attempts to call non-callable macros.
+ * New developer documentation manual page mandoc_headers(3).
+ --- BUGFIXES ---
+ * Fix read buffer overrun sometimes triggered by trailing whitespace.
+ * Fix read buffer overrun triggered by certain invalid \H sequences.
+ * Fix NULL pointer access triggered by .Bl without any arguments.
+ * Fix NULL pointer access triggered by .It Nm Fo without .Fc.
+ * Fix NULL pointer access triggered by .Sh Xo .Sh without .Xc.
+ * Fix NULL pointer access triggered by missing .Nm.
+ * Fix an assertion triggered by .It right after .El.
+ * Fix an assertion triggered by .Ec without preceding .Eo.
+ * Fix an assertion triggered by .Sm or .Db with multiple arguments.
+ * Fix assertion failures triggered by very large width arguments.
+ * Fix a division by zero in the roff(7) parser.
+ * Prevent negative arguments to .ll from causing integer underflow.
+ * Correctly autodetect source format even when .Dd is preceded by .ll.
+ * Multiple fixes with respect to .Bd and .Bl -offset and -width.
+ * Many bugfixes with respect to scaling units.
+ * Multiple fixes with respect to delimiter handling by in-line macros.
+ * Multiple fixes with respect to .Pf.
+ * Make \c work properly in no-fill mode.
+ * Stricter syntax checking of Unicode character names.
+ --- THANKS TO ---
+ * Kristaps Dzonsons for rewriting the eqn(7) parser, implementing
+ HTML5 and MathML output, and various other code contributions.
+ * Jonathan Gray (OpenBSD) for extensive testing with afl (the
+ American Fuzzy Lop security fuzzer) resulting in many bug reports.
+ * Anthony Bentley (OpenBSD), Baptiste Daroussin (FreeBSD), Daniel
+ Dickman, Doug Hogan, Jason McIntyre, Theo de Raadt (OpenBSD),
+ and Martin Natano for source code patches.
+ * Carsten Kunze (Heirloom troff), Daniel Levai (Slackware),
+ Garrett D'Amore (illumos), Giovanni Becchis, Matthew Dempsky,
+ Stuart Henderson, Ted Unangst, Todd Miller (OpenBSD), Thomas
+ Klausner (NetBSD), Ulrich Spoerlein (FreeBSD), Justin Haynes,
+ Marcus Merighi, Sebastien Marie, Steffen Nurpmeso and Theo Buehler
+ for bug reports.
+
+Changes in version 1.13.1, released on August 10, 2014
+
+ --- MAJOR NEW FEATURES ---
+ * A complete apropos(1)/makewhatis(8)/man.cgi(8) suite
+ based on SQLite3 is now included.
+ * The roff(7) parser now provides an almost complete implementation
+ of numerical expressions.
+ * Warning and error messages have been improved in many ways.
+ Almost all fatal errors were downgraded to normal errors and some
+ even to warnings. Almost all messages now mention the macro where
+ the issue is detected and many indicate the workaround employed.
+ The mandoc(1) manual now includes a list explaining all messages.
+ --- MINOR NEW FEATURES ---
+ * The roff(7) parser now supports the .ami (append to macro with
+ indirectly specified name), .as (append to user-defined
+ string), .dei (define macro with indirectly specified name),
+ .ll (line length), and .rr (remove register) requests.
+ * The roff(7) parser now supports string comparison and numerical
+ conditionals in the .if and .ie requests.
+ * The roff parser now fully supports the \B (validate numerical
+ expression) and partially supports the \w (measure text width)
+ escape sequences.
+ * The terminal formatter now supports the \: (optional line break)
+ escape sequence.
+ * The roff parser now supports expansion of user-defined strings
+ involving indirect references.
+ * The roff(7) parser now handles some pre-defined read-only
+ number registers that occur in the pod2man(1) preamble.
+ * For backward compatibility, the mdoc(7) parser and formatters
+ now support the obsolete macros .En, .Es, .Fr, and .Ot.
+ * The mdoc(7) formatter non partially supports .Bd -centered.
+ * tbl(7) now handles leading and trailing vertical lines.
+ * The build system now provides fallback versions of strcasestr(3)
+ and strsep(3) for systems lacking them.
+ * The mdoc(7) manual now explains how various standards
+ supported by the .St macro are related to each other.
+ --- BUGFIXES ---
+ * In the roff(7) parser, several bugs were fixed with respect
+ to closing conditional blocks on macro lines.
+ * Parsing of roff(7) identifiers and escape sequences was improved
+ in multiple respects.
+ * In the mdoc(7) parser, the handling of defective document
+ prologues was improved in multiple ways.
+ * The mdoc(7) parser no longer skips content before the first section
+ header, and it no longer deletes non-.% content from .Rs blocks.
+ * In the mdoc(7) parser, a crash was fixed related to weird .Sh headers.
+ * In the mdoc(7) parser, handling of .Sm with missing or invalid
+ arguments was corrected.
+ * In the mdoc(7) parser, trailing punctuation at the end of partial
+ implicit macros no longer triggers end-of-sentence spacing.
+ * In the terminal formatter, two crashes were fixed: one triggered by
+ excessive indentation and another by excessively long .Nm arguments.
+ * In the terminal formatter, a floating point rounding bug was
+ fixed that sometimes caused an off-by-one error in indentation.
+ * In the UTF-8 formatter, rendering of accents, breakable hyphens,
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-vendor
mailing list