- 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
- Ah ... yes, manual pages are also provides by e.g. mandoc
- Skip %verify(not link mtime) from symbolic links %_bindir even if
those should not hurt but avoid superfluous verify messages
- Minor corrections on %ghost /var/cache/man and link to apropos
- Use update-alternatives to allow that man(1), apropos(1), whatis(1)
can be overwritten by an other package like mandoc
- Reintroduce wrapper for man(1) but without mapping to user man to
be able to reset the PATH to the standard for any preprocessor
OBS-URL: https://build.opensuse.org/request/show/682844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=73
- Update to man-db 2.8.4
* Major changes since man-db 2.8.3:
+ Rely on decompressors reading from their standard input rather
than redundantly passing them the input file on their command
line. This works better with downstream AppArmor confinement of
decompressors.
+ Fix invalid syntax in tmpfiles.d/man-db.conf when configured with
--disable-cache-owner.
+ Make seccomp sandbox allow sched_getaffinity, sometimes used by
xz.
+ Check for mandb_nfmt and mandb_tfmt in the manual page hierarchy
as documented, not in the current directory. This was broken by
the working-directory-handling changes in 2.8.3. Note that this
change means that "man -l" will never use an external formatter
(which was never documented behaviour and was surely a bad idea).
+ Make seccomp sandbox allow some shared memory operations across
the board rather than just when ESET File Security is in use; the
Astrill VPN seems to require something similar, and there are
doubtless other such preload hacks.
+ Some versions of ESET File Security call msgget and msgsnd; if
this program is in use, then allow those.
* Major changes since man-db 2.8.2:
+ Make seccomp sandbox allow madvise, since that's used by lbzip2.
+ Make seccomp sandbox allow kill and tgkill outright, since groff
uses kill to pass on signals to its child processes.
+ Make seccomp sandbox allow sibling architectures on
x86/x86_64/x32, since people sometimes mix and match architectures
there for performance reasons.
+ Fix version check in locale macro loading to tolerate groff
release candidates.
OBS-URL: https://build.opensuse.org/request/show/652353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=72
- Add man-db-create.service to fill /var/cache/man at bootup
if the directory is empty (required by FHS and for transactional
updates).
- Don't fill /var/cache/man if it does not exist yet (needed for
transactional updates).
- We don't need to package /var/cache/man, systemd-tmpfiles is
creating it already for us.
- Make /var/cache/man a real directory as in system-user-man the
OBS-URL: https://build.opensuse.org/request/show/556007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=70