- Update to 2.11.2:
* Fix compile and test failures when `troff` is not `groff`.
* Fix segfault in typical uses of `man` when `nroff` is not installed.
* Fix crash in `mandb` when processing stray cats.
* SECURITY: Replace `$` characters in page names with `?` when constructing
`less` prompts.
* Silence error message when processing an empty manual page hierarchy with
a nonexistent cache directory.
* `man(1)` now sorts whatis references below real pages, even if the whatis
references are from a section with higher priority.
* `mandb` now correctly records filters in the database if it uses cached
whatis information.
* Upgrade Gnulib, fixing syntax error on glibc systems with GCC 11.
* The `CATWIDTH` configuration file directive now overrides `MINCATWIDTH`
and `MAXCATWIDTH`.
* Database entries for links were often incorrectly stored as if they were
entries for the ultimate source of the page. They are now stored with
the correct type.
* Store links in the database using the section and extension of the link
rather than of the ultimate source file.
* Consider pages for adding to the database even if they seem to already
exist; this performance optimization is no longer needed due to caching,
and it produced inconsistent results in some unusual cases.
* `man` now runs any required preprocessors in the same order that `groff`
does, rather than trusting the order of filters in a page's preprocessor
string.
* Fix building on MinGW. (I haven't been able to test this; help from
MinGW experts would be welcome.)
Improvements:
* Check for stray cats even if no manual pages in a given manpath were
OBS-URL: https://build.opensuse.org/request/show/1104015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=94
- Corrrect some offsets of patch hunks
- Remove change in get-mtime.c as mandb-symlink-target-timestamp
now catch the random format changes
- update to 2.10.2:
* Regenerating man-db's build system now explicitly requires Automake >=
1.14. (This was already the case since at least man-db 2.10.0, but was
previously undocumented.)
* Make `man -H` sleep for a few seconds after starting the browser, since
it may background itself before loading files (Dr. Werner Fink).
* If an override directory is configured using `--with-override-dir`, it is
now applied more consistently when building the manpath, and whether a
page was found in an override directory is considered when sorting
candidates for display (Mihail Konev).
* Make the man-db manual build reproducible.
* Add some hardening options to the `systemd` service.
* `configure` now has a `--with-snapdir` option, for use on systems where
`snapd` is configured to use a directory other than `/snap`.
* Fix occasional `mandb-symlink-target-timestamp` test failure.
* Fix inadvertent reliance on a GCC extension that caused build failures
with Clang.
* Fix building without `iconv`.
- drop man-db-2.7.1-firefox.dif (upstream)
OBS-URL: https://build.opensuse.org/request/show/998765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=92
- update to 2.10.2:
* Regenerating man-db's build system now explicitly requires Automake >=
1.14. (This was already the case since at least man-db 2.10.0, but was
previously undocumented.)
* Make `man -H` sleep for a few seconds after starting the browser, since
it may background itself before loading files (Dr. Werner Fink).
* If an override directory is configured using `--with-override-dir`, it is
now applied more consistently when building the manpath, and whether a
page was found in an override directory is considered when sorting
candidates for display (Mihail Konev).
* Make the man-db manual build reproducible.
* Add some hardening options to the `systemd` service.
* `configure` now has a `--with-snapdir` option, for use on systems where
`snapd` is configured to use a directory other than `/snap`.
* Fix occasional `mandb-symlink-target-timestamp` test failure.
* Fix inadvertent reliance on a GCC extension that caused build failures
with Clang.
* Fix building without `iconv`.
- drop man-db-2.7.1-firefox.dif (upstream)
OBS-URL: https://build.opensuse.org/request/show/998716
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=142
- Avoid that mandb-symlink-target-timestamp fools us
- Workaround missing groff-full to get refer(1), the bibliographic
preprocessor found
- Update to man-db 2.10.0 (4 February 2022)
* Manpath deduplication no longer mishandles the case where another entry
in the manpath is a suffix of a candidate path to append.
* Fix potential crash in path searching if `getcwd` fails for reasons other
than running out of memory.
* Fix crash in `globbing` test tool if run with no non-option arguments.
* `lexgrog` now produces output in the user's locale.
* Downgrade "malformed .lf request" warning to a debug message and rephrase
it somewhat, since `.lf` requests can use `*roff` arithmetic expressions
and we can't reasonably parse those.
* Avoid modifying the database without changing its mtime, which had been
possible since 2.7.0 if `mandb`'s purge phase found work to do but the
main phase didn't, and which confused some backup systems into reporting
possible filesystem corruption.
* `man` no longer inadvertently modifies the `MANSECT` environment variable
before passing it on to its subprocesses.
* `mandb` now stores the mtime of link targets as the mtime of their
corresponding database entries, rather than sometimes storing the mtime
of the link instead.
* Since man-db 2.4.2, `man` has behaved as if the `-l` option was given if
a manual page argument contains a slash. Since man-db 2.5.6, this has
interacted slightly poorly with the subpage feature, emitting spurious
error messages if given multiple manual page arguments some of which
include a slash. `man` no longer emits spurious error messages in this
case.
OBS-URL: https://build.opensuse.org/request/show/997718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=91
- Add patch man-db-2.9.4-alternitive.dif
* Supporting ALSO new `alternatives` which has the same tasks as
`update-alternatives` but in a simplier way.
- Update to version 2.9.4:
* Add support for zstd-compressed manual pages
* Recognise Esperanto, Romanian, Tamil, and Ukrainian translations
of the NAME section.
* Fix handling of \- in the right-hand side of a NAME section.
* Treat "\[en]" (etc.) as another synonym for "\-" in NAME sections,
alongside the existing "\(en" (etc.).
* Avoid incorrect markup in man(1) with po4a >= 0.58.
* Fix manual page translation infrastructure to compare po4a
versions with more than two components correctly.
* Fix "man -X75-12" and "man -X100-12" to set the document font
size as well as the device
* Fix incompatibility of "man -X" and friends with the seccomp
sandbox.
* man --recode and manconv now adjust encoding declarations on the
first line of their input to refer to the new encoding.
* There is a new "man-recode" program. Which has an interface
designed for bulk conversion and so can be much faster when
used on a large number of pages.
* Fix comparison of candidate manual pages to correctly handle the
case where the language elements are the same and match the
locale, but the territory elements differ.
* If run with no arguments or only a section, man now suggests
running "man man".
* man now understands the <page>(<section>) form on its command
line, so for example "man 'chmod(2)'" is now the same as
OBS-URL: https://build.opensuse.org/request/show/901432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=86
- Add migration code to handle upgrade from old version of the man
package not supporting alternative path move (boo#1175919).
Bug was reopened by someone who skipped the Tumbleweed snapshot that changed libexecdir.
At this point, I don't think that encumbering spec file just to ensure migration path from older Tumbleweed upgrades worth it - Tumbleweed being fast moving with informed users.
But it made me think that migration path from Leap to Tumbleweed is also broken; And the one from Leap 15.2 to the next Leap version (or whatever the name becomes) will be broken as well.
So it might actually be good to add migration stuff. Feel free to decline though or do it differently, I'm not a fan of such things.
I've tested only:
- Upgrade from freshly installed old package (the one with old libexecdir and old update-alternatives calls, rebuilt here: https://build.opensuse.org/package/show/home:1Antoine1:branches:Base:System/man).
- Upgrade from current man package freshly installed.
OBS-URL: https://build.opensuse.org/request/show/833856
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=122