- Update to man-db 2.13.1 (2 May 2025)
* Update various manual page translation
* Fix various minor formatting issues in manual pages.
* Tolerate additional spaces in preprocessor strings.
* Fix check for generated source files in out-of-tree builds.
* Fix building with the `musl` C library.
* Recognize another Ukrainian translation of the `NAME` section.
* Increase the maximum size of the `NAME` section from 8192 to 16384 bytes.
- Port patches
* man-db-2.6.3-listall.dif
* man-db-2.9.4.patch
- Avoid latest gettextize as it breaks build now
OBS-URL: https://build.opensuse.org/request/show/1298345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=106
- Update to man-db 2.13.0 (29 August 2024)
* Drop support for versions of groff before 1.21 (released on 2010-12-31).
* Fix `man-suffixed-extension` test failure when not using the GNU
hierarchy organization.
* Fix `-Wmissing-variable-declarations` warnings with GCC 14.
* Fix `-Wflex-array-member-not-at-end` warning with GCC 14.
* Upgrade to Gnulib `stable-202407`.
* Support running the test suite against an installed package; this is
useful for systems such as Debian's autopkgtest framework.
- Remove patch man-db-2.6.3-chinese.dif as not supported anymore
due to newer groff versions
- Port patches
* man-db-2.6.3-listall.dif
* man-db-2.7.1-zio.dif
* man-db-2.9.4.patch
* man-propose-online.patch
OBS-URL: https://build.opensuse.org/request/show/1208877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=103
- Update to 2.12.1 (5 April 2024)
* Fix excessive cleanup of `/var/cache/man` by `systemd-tmpfiles`.
* `man` matches the display width more accurately to the configured width.
* Upgrade to Gnulib `stable-202401`.
* Mention `groff`'s `pdf` device in `man(1)`.
* Speed up `seccomp` filter slightly.
* Document how to format pages using italic rather than underlined text.
* Remove the obsolete `chconfig` tool for converting man-db configuration
files to the FHS. This transition took place almost 25 years ago (at
least in Debian), so it's not worth keeping it around now.
- Remove patch man-db-2.9.4-alternitive.dif now upstream
- Port the patches
* man-db-2.6.3-listall.dif
* man-db-2.7.1-zio.dif
* man-db-2.9.4.patch
* man-propose-online.patch
OBS-URL: https://build.opensuse.org/request/show/1178471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=102
- Update to 2.12.0:
* Fix some manual page portability issues with groff 1.23.0.
* Fix test failures when a working `iconv` is not available.
* Ensure that timestamps read from the database can go past the year 2038,
even on systems where this is not the default.
* Fix `manpath` not parsing `PATH` entries with trailing slash correctly
for guessing `MANPATH` entries.
* More accurately document the behaviour of passing file names as arguments
to `man` without the `-l`/`--local-file` option.
* Avoid duplicate cleanup of old cat pages by both `man-db.service` and
`systemd-tmpfiles-clean.service`.
Improvements:
* Update system call lists in `seccomp` sandbox from `systemd`.
* Upgrade to Gnulib `stable-202307`.
* Work around the Firebuild accelerator in `seccomp` sandbox: if this is in
use then we need to allow some socket-related system calls.
* `man -K` now deduplicates search results that point to the same page.
* Warn if `mandb` drops to `--user-db` mode due to running as the wrong
user.
* Change section title recommendations in `man(1)` to mention `STANDARDS`
rather than `CONFORMING TO`, in line with `man-pages(7)`.
* Add a `STANDARDS` section to `man(1)` itself.
* Document that `man -K` may suffer from false negatives as well as false
positives.
* Take advantage of newer `groff` facilities to implement `man
--no-hyphenation` and `man --no-justification`, if available.
* `man -f` and `man -k` now pass any `-r`/`--regex` or `-w`/`--wildcard`
options on to `whatis` and `apropos` respectively.
* Always pass a line length to `nroff`, even if we believe that it matches
the default.
OBS-URL: https://build.opensuse.org/request/show/1114606
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=150
- 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
- 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
- Update to version 2.7.6
* Many bug fixes
* man understands the <page>.<section> form on its command line,
so for example 'man chmod.2' is now the same as 'man 2 chmod'
(Contributed by Mihail Konev)
* Document that 'man -K' searches page source, not rendered text
- Rename patch man-db-2.7.1.dif which becomes man-db-2.7.6.dif
- Port the patches
man-MAN_POSIXLY_CORRECT-man1.dif
man-db-2.6.3-chinese.dif
man-db-2.6.3-listall.dif
man-db-2.6.3-section.dif
man-db-2.7.1-firefox.dif
man-db-2.7.1-security4.dif
man-db-2.7.1-zio.dif
- Add an rpmlintrc file man-rpmlintrc as we apply a patch
on generated manual pages
- Do not wrap man anymore (boo#986211)
OBS-URL: https://build.opensuse.org/request/show/446648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=65
- Own /usr/lib/tmpfiles.d if not owned by package filesystem
- Update to version 2.7.1
For the first time since version 2.4.0, the database format has
changed slightly, so you will need to run 'mandb --create' after
installing the new version to rebuild your databases from scratch.
- Fixes
* Various portability fixes for Solaris, contributed by Peter Bray.
* man now runs correctly when its current working directory has been
deleted. (As a result of this fix, man-db now requires
libpipeline >= 1.4.0.)
* 'man -a' sends its prompts to /dev/tty rather than to stderr, and
likewise reads replies from /dev/tty rather than from stdin.
* Be more careful to avoid using or double-closing closed database
handles. Fixes test suite failures on some systems.
* Patch the fdutimens function imported from Gnulib to work around a
libc bug in GNU/Hurd.
* Fix test suite in the case where the system supports
high-precision timestamps but the file system containing the build
directory does not.
* lexgrog now filters terminal escape sequences out of cat pages
before trying to parse them.
* Tools that consider the terminal line length now prioritise the
COLUMNS environment variable above the TIOCGWINSZ ioctl.
* Manpath elements are no longer canonicalised before being inserted
into the search path; this caused the use of incorrect catpaths in
some cases. This was broken by the LANGUAGE-handling fixes in
2.5.4.
* Remove test suite dependency on realpath(1).
* Fix a test failure when configured with --enable-undoc.
OBS-URL: https://build.opensuse.org/request/show/309152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=61
- Avoid messages on deleted cache directories bewlow /var/cache/man/
that is tag them as %ghost (bnc#882030)
- The former submit had rebased the patches
man-db-2.6.3.dif
man-db-2.6.3-security4.dif
man-db-2.6.3-firefox.dif
man-db-2.6.3-zio.dif
which now had renamed to
man-db-2.6.5.dif
man-db-2.6.5-security4.dif
man-db-2.6.5-firefox.dif
man-db-2.6.5-zio.dif
accordingly
------------------------------------------------------------------
- Update to version 2.6.6
- Fixes since 2.6.3:
* man(1) and catman(8) now document the default section list set at
configure time.
* Build fixes for Automake 1.13.
* man-db 2.6.0 arranged to search the full manpath when expanding
.so directives in manual pages (so that ".so name.1" works as well
as ".so man1/name.1"), but this incorrectly did not take effect
for manual pages that consist only of a .so directive. This is
now fixed.
- Improvements since 2.6.3:
* The MANLESS environment variable is now treated as if it were a
default value for the -r option to man: occurrences of the text
"$MAN_PN" are expanded, and explicitly using the -r option
overrides the default.
* The (unfortunately still hardcoded) maximum length for paths to
OBS-URL: https://build.opensuse.org/request/show/236790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=58
- Update to version 2.6.3
* Build fixes for glibc 2.16 and Automake 1.12.
* apropos prints an error message and returns non-zero when it finds
no matches. (Regression introduced in 2.5.1.)
* The presence of a 64-bit GDBM database on the manpath no longer
causes a 32-bit man process to exit with a fatal error.
* apropos is much faster when run with many arguments.
* whatis may be given the full path to an executable as an argument,
in which case it will look up the base name of that executable in
the appropriate parts of the manpath.
* Translated manual pages are no longer displayed starting with a
spurious blank line.
* Fix double-free in mandb when encountering a symlink outside the
manual hierarchy, thanks to Peter Schiffer.
* Running 'man -w' (with a new --path alias) without a name now
prints the manpath, for compatibility with other man
implementations. The vim viewdoc plugin makes use of this.
* Fix a segfault when scanning links to empty pages.
* Once we've seen at least one record in a page's NAME section,
ignore any further records that don't include a whatis
description, as they tend to be noise.
* Ensure that the target of a symlink or .so chain is always recorded
as a real page.
* Read a user-specified configuration file even if HOME is unset.
* Fix failure to display manual pages in some encodings when
installed setuid.
* Wrap long table cells in man(1), fixing test failures with groff
1.21.
* If an explicit section is passed to man, then pages that match
that section exactly will be preferred over pages that only have
OBS-URL: https://build.opensuse.org/request/show/137028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=50
@@ -724,7 +733,7 @@ const char *get_roff_encoding (const cha
STRNEQ (ctype, "zh_HK", 5) ||
STRNEQ (ctype, "zh_SG", 5) ||
STRNEQ (ctype, "zh_TW", 5))
- roff_encoding = "UTF-8";
+ roff_encoding = source_encoding; /* "UTF-8"; */
}
#endif /* MULTIBYTE_GROFF */
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.