| Commit message (Collapse) | Author | Age |
... | |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
(e.g. versions of groff before 1.20), and substitute TBL_X_FORMAT
accordingly.
* man/replace.sin.in: Replace "l lx." with "l l." if tbl does not
support the 'x' format character.
|
|
|
|
|
|
| |
AC_DEFINE/AC_DEFINE_UNQUOTED.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Export MANDIR_LAYOUT.
* src/tests/testlib.sh (skip): New function.
* src/tests/man-3: Skip unless the GNU layout is in use.
|
|
|
| |
line-width warning from nroff.
|
|
|
|
|
|
|
|
| |
* configure.ac: Add gl_WARN_ADD results to WARN_CFLAGS rather than
CFLAGS.
* lib/Makefile.am (AM_CFLAGS): Add $(WARN_CFLAGS).
* libdb/Makefile.am (AM_CFLAGS): Likewise.
* src/Makefile.am (AM_CFLAGS): Likewise. Move $(libpipeline_CFLAGS)
here from AM_CPPFLAGS.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .bzrignore: Add gnulib/lib/locale.h, man/**/*.log, man/**/*.trs,
src/tests/*.log, and src/tests/*.trs.
* autogen.sh: Drop gnulib/gets.patch backport.
* gnulib/gets.patch: Remove.
* configure.ac (AM_INIT_AUTOMAKE): Set minimum Automake version to
1.11. Add parallel-tests option for compatibility with 1.11.
* man/Rules.man (TESTS_ENVIRONMENT): Move to ...
(LOG_COMPILER): ... this.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Rewrite as a list of
variable exports rather than as a command prefix, for
compatibility with parallel-tests.
|
|
|
|
|
|
| |
stop assuming gets.
* gnulib/gets.patch: New file.
* autogen.sh: Apply gnulib/gets.patch.
* NEWS: Document this.
|
| |
|
|
|
| |
20120404-stable.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* configure.ac: Check for lzip. Don't test for lzma if lzip is
present, as was already the case for xz.
* include/comp_src.h.in (comp_list): Add lzip.
* include/manconfig.h.in: Define UNLZIP.
* NEWS: Document this.
|
|
|
| |
* gnulib: Import closedir, fstat, and opendir modules.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* lib/Makefile.am (libman_la_SOURCES): Remove flock.h.
* lib/README: Remove flock.*.
* lib/flock.c, lib/flock.h: Remove.
|
|
|
|
| |
* gnulib: Import warnings module.
* configure.ac: Replace MAN_GCC_WARNING with gl_WARN_ADD.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/security.c (do_system_drop_privs_child): New function.
(do_system_drop_privs): Rewrite using libpipeline.
* src/catman.c (post_fork): New function.
(catman): Rewrite using libpipeline.
(add_arg): Rewrite as a wrapper around pipecmd_arg.
(do_catman): Remove.
(reset_cursor): Remove.
(parse_for_sec): Use libpipeline for subprocess handling.
(main): Install custom post-fork handler.
* src/man.c (gripe_no_man) [_AIX || __sgi]: Rewrite vendor fallback
using libpipeline.
* src/Makefile.am (catman_LDADD): Add $(libpipeline_LIBS).
* src/catman.c (main): Duplicate the output of setlocale if
non-NULL.
* configure.ac (AC_FUNC_VFORK): Remove.
(AC_REPLACE_FUNCS): Remove waitpid.
* gnulib: Remove waitpid module.
* lib/README: Remove waitpid.c.
* lib/waitpid.c: Remove.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/man-heirloom-nroff.m4: New file.
* configure.ac: Call MAN_PROG_HEIRLOOM_NROFF. If successful and an
nroff macro was found, prepend -mg -msafe -mpadj to the nroff and
troff options.
* lib/encodings.c (charset_table) [HEIRLOOM_NROFF]: Disable latin1
and nippon devices.
(device_table) [HEIRLOOM_NROFF]: Add locale device.
* src/man.c (heirloom_line_length) [HEIRLOOM_NROFF]: New function.
(add_roff_line_length): Optionally return a command, which should
be inserted before troff.
(add_roff_line_length) [HEIRLOOM_NROFF]: Support Heirloom, which
needs text inserted at the start of the input.
(make_roff_command) [HEIRLOOM_NROFF]: Use locale device instead of
utf8 in UTF-8 locales. Handle add_roff_line_length return value.
Unset TROFFMACS if running setuid.
(make_browser): Compile only if TROFF_IS_GROFF.
(format_display): Only declare variables related to HTML output if
TROFF_IS_GROFF.
* src/tests/zsoelim-1: Ignore .ll and .lt lines inserted by
heirloom_line_length.
* NEWS: Document this.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Stop checking for seteuid, setreuid, and setresuid.
* lib/security.c (POSIX_SAVED_IDS, SET_EUID, SWAP_UIDS): Remove in
favour of idpriv.h.
(drop_effective_privs): Use idpriv_temp_drop.
(regain_effective_privs): Use idpriv_temp_restore.
(do_system_drop_privs): Use idpriv_drop. Drop saved-IDs case;
avoiding a fork doesn't justify having two code paths.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Remove --enable-socketpair-pipe and
--with-external-pipeline options. Remove INTERNAL_PIPELINE
Automake conditional. Check for libpipeline unconditionally.
* docs/INSTALL.quick: Mention the need to install libpipeline.
* gnulib: Remove strsignal and sys_select modules.
* lib/Makefile.am (libman_la_SOURCES): Never add pipeline.c or
pipeline.h.
* lib/pipeline.c, lib/pipeline.h: Remove.
* m4/man-socketpair.m4: Remove.
* NEWS: Document this. Bump to 2.6.0.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Add --with-external-pipeline option.
* lib/Makefile.am (libman_la_CPPFLAGS): Add $(libpipeline_CFLAGS).
(libman_la_SOURCES): Include pipeline.c and pipeline.h only
conditionally.
(libman_la_LDFLAGS): Add $(libpipeline_LIBS).
* src/Makefile.am (AM_CPPFLAGS): Add $(libpipeline_CFLAGS).
* NEWS: Document this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch to external libintl instead.
* configure.ac (AM_GNU_GETTEXT): Set external.
(AC_CONFIG_FILES): Remove intl/Makefile.
* Makefile.am (SUBDIRS): Remove intl.
(EXTRA_DIST): Add gnulib/m4/glibc2.m4, gnulib/m4/intdiv0.m4,
gnulib/m4/intl.m4, gnulib/m4/intmax.m4, gnulib/m4/inttypes-pri.m4,
gnulib/m4/lcmessage.m4, gnulib/m4/printf-posix.m4,
gnulib/m4/uintmax_t.m4, and gnulib/m4/visibility.m4.
* intl: Remove.
* lib/Makefile.am (libman_la_CPPFLAGS): Remove
-I$(top_builddir)/intl.
* libdb/Makefile.am (libmandb_la_CPPFLAGS): Likewise.
* src/Makefile.am (AM_CPPFLAGS): Likewise.
* .bzrignore: Remove intl/Makefile, intl/charset.alias,
intl/libgnuintl.h, intl/libintl.h, intl/ref-add.sed, and
intl/ref-del.sed.
* NEWS: Document this.
|
|
|
| |
and strcspn.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
installed footprint by about 200K.
* configure.ac: Add LT_INIT. Move AC_GNU_SOURCE up to above it.
Remove redundant AC_PROG_RANLIB.
* gnulib/m4/gnulib-cache.m4: Enable libtool support.
* gnulib/m4/libtool.m4, gnulib/m4/ltoptions.m4,
gnulib/m4/ltsugar.m4, gnulib/m4/ltversion.m4,
gnulib/m4/lt~obsolete.m4, tools/ltmain.sh: New files, created by
libtoolize.
* autogen.sh: Export LIBTOOLIZE_OPTIONS=--quiet.
* lib/Makefile.am: Switch to libtool. Add ../gnulib/lib/libgnu.la,
$(LIBCOMPRESS), and @LIBINTL@ to LIBADD. Install the library in
$(pkglibdir), and instruct libtool to set an RPATH on binaries
built against this library.
* libdb/Makefile.am: Switch to libtool. Add ../lib/libman.la to
LIBADD. Install the library in $(pkglibdir), and instruct libtool
to set an RPATH on binaries built against this library.
* src/Makefile.am (LIBMAN): Reduce to libman.
(LIBMANDB): Reduce to libmandb.
(accessdb_LDADD, catman_LDADD, globbing_LDADD, lexgrog_LDADD,
man_LDADD, manconv_LDADD, mandb_LDADD, manpath_LDADD,
whatis_LDADD, zsoelim_LDADD): Remove dependencies of libman and
libmandb.
* .bzrignore: Add **/*.la, **/*.lo, **/.libs, and ./libtool.
* NEWS: Document this.
Avoid symbol clashes between libgnu and libman.
* lib/hashtable.c (null_hash_free, plain_hash_free, hash_create,
hash_lookup_structure, hash_lookup, hash_install, hash_remove,
hash_free): Rename to ...
(null_hashtable_free, plain_hashtable_free, hashtable_create,
hashtable_lookup_structure, hashtable_lookup, hashtable_install,
hashtable_remove, hashtable_free): ... these. Update all callers
and prototypes.
* lib/hashtable.h (hash_free_ptr): Rename to ...
(hashtable_free_ptr): ... this. Update all users.
|
|
|
| |
* configure.ac (AM_GNU_GETTEXT_VERSION): Upgrade to gettext 0.18.1.
|
| |
|
| |
|
|
|
|
| |
timestamps are often just too fragile for those make targets to
work well; use ./autogen.sh instead.
|
|
|
|
|
|
| |
* configure.ac: Check for xz.
* include/comp_src.h.in (comp_list): Add xz.
* include/manconfig.h.in: Define UNXZ.
* NEWS: Document this.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* configure.ac: Substitute TROFF.
* manual/Makefile.am (.pp.dvi, .pp.ps, .pp.tdvi, .pp.html): Use
$(TROFF) rather than groff or troff.
* src/man.c (options, parse_opt): Just ignore the --warnings option
when troff is not groff, rather than compiling it out entirely.
(make_roff_command): Only use gxditview variable when troff is
groff.
* NEWS: Document this.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since the configure already looks for either troff or groff, replace
the variable in the Makefile, and use that.
This fixes the buildsystem for use with non-groff nroff/troff
implementations.
|
| |
| |
| |
| |
| |
| |
| |
| | |
formatting.
* manual/options-only.me, manual/print-options: New file.
* manual/intro.me (Arguments to configure): Add hooks for
options-only.me.
* manual/Makefile.am (dist_noinst_DATA): Add options-only.me and
print-options.
|
|/ |
|
|
|
|
|
| |
(CLEANFILES): ... here.
(install-data-hook): Stop installing the DVI version of the manual
by default.
|
|
|
|
|
|
|
|
|
|
| |
--disable-automatic-update, and --disable-cats options.
* include/manconfig.h.in (MAN_DB_CREATES, MAN_DB_UPDATES, MAN_CATS):
Remove.
* manual/intro.me (Arguments to configure): Document new options.
* manual/misc.me (Modes of operation): Adjust configuration advice
to use new configure options.
* README (Non-generic arguments to configure): Update.
* NEWS: Document this.
|
|
|
|
|
|
|
|
|
|
|
| |
if we're only producing user databases. This makes testing easier.
* configure.ac, m4/man-bdb.m4 (MAN_CHECK_BDB): Define DBTYPE to
gdbm, ndbm, or btree, indicating the database type in use.
* src/tests/testlib.sh (fake_config, db_ext, accessdb_filter): New
functions.
* src/tests/mandb-1: New test.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Set DBTYPE
appropriately in the test environment.
(TESTS): Add mandb-1.
|
|
|
| |
Install/uninstall the manual into/from $(docdir).
|
|
|
|
|
|
| |
available.
* man/Rules.man (replace.sed, .man1.1, .man5.5, .man8.8): Be quieter
in silent mode.
Upgrade to Autoconf 2.64, Automake 1.11, and Gnulib 20090801.
|
|
|
| |
* tools/config.guess, tools/config.sub: Update.
|