Commit Graph

209 Commits

Author SHA256 Message Date
Ana Guerrero
ef2bcb92bb Accepting request 1178471 from Base:System
- 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
2024-06-06 10:31:23 +00:00
Dr. Werner Fink
2bdee48051 Update to man-db-2.12.1
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=155
2024-06-04 08:33:09 +00:00
Ana Guerrero
66cc7a1d67 Accepting request 1147518 from Base:System
- We don't need anymore systemd-tmpfiles (boo#1219370#c13)

OBS-URL: https://build.opensuse.org/request/show/1147518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=101
2024-02-21 16:51:51 +00:00
Dr. Werner Fink
db6fc415aa We don't need anymore systemd-tmpfiles (boo#1219370#c13)
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=154
2024-02-19 07:24:06 +00:00
Ana Guerrero
cd6338a2fb Accepting request 1146144 from Base:System
- Move creation of /var/cache/man into %pre scriplet (boo#1219370)

OBS-URL: https://build.opensuse.org/request/show/1146144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=100
2024-02-15 19:59:42 +00:00
Dr. Werner Fink
6ce04567da .
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=153
2024-02-12 09:55:48 +00:00
Ana Guerrero
900df0cdfb Accepting request 1145198 from Base:System
- Make lua scriplets more failsafe (boo#1219370)

OBS-URL: https://build.opensuse.org/request/show/1145198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=99
2024-02-09 22:51:45 +00:00
Dr. Werner Fink
e994d94907 Make lua scriplets more failsafe (boo#1219370)
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=152
2024-02-08 12:03:35 +00:00
Ana Guerrero
9c05ddd3f2 Accepting request 1141710 from Base:System
- Skip posttrans dependency on systemd to support container without
  systemd (boo#1215538)
- Use %(trans)filetriggerin and %(trans)filetriggerpostun to get
  an uptodate man database for installed manual pages

OBS-URL: https://build.opensuse.org/request/show/1141710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=98
2024-01-26 21:46:17 +00:00
Dr. Werner Fink
8d6649759f Work around usage in containers and WSL
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=151
2024-01-26 10:09:54 +00:00
Ana Guerrero
d571a90990 Accepting request 1118949 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1118949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=97
2023-10-20 21:16:25 +00:00
Dr. Werner Fink
01d5f51387 Accepting request 1114606 from home:ateixeira:branches:Base:System
- 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
2023-10-19 13:11:05 +00:00
Ana Guerrero
feddd1711d Accepting request 1110605 from Base:System
- Add man-db-groff-1.23.0-warnings.patch
  * Fix build errors with groff 1.23.0

OBS-URL: https://build.opensuse.org/request/show/1110605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=96
2023-09-13 18:43:19 +00:00
Dr. Werner Fink
886ad773f6 Add missed prefix for patch (man-db-)groff-1.23.0-warnings.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=149
2023-09-12 12:37:51 +00:00
Dr. Werner Fink
ccea8618ae Accepting request 1109775 from home:ateixeira:branches:Base:System
- Add groff-1.23.0-warnings.patch
  * Fix build errors with groff 1.23.0

OBS-URL: https://build.opensuse.org/request/show/1109775
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=148
2023-09-12 11:10:20 +00:00
Ana Guerrero
9f57f4b3e5 Accepting request 1108796 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1108796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=95
2023-09-06 16:55:37 +00:00
83f5f58a98 Accepting request 1106233 from home:akumar:branches:Base:System
- Fix the content in patch file man-propose-online.patch

OBS-URL: https://build.opensuse.org/request/show/1106233
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=147
2023-09-04 07:52:52 +00:00
Ana Guerrero
2a826da1b6 Accepting request 1104015 from Base:System
- 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
2023-08-16 12:16:34 +00:00
Dr. Werner Fink
c0347cfb04 Update to man-db-2.11.2
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=146
2023-08-15 09:34:37 +00:00
Ana Guerrero
cc6fbc419f Accepting request 1100562 from Base:System
- Remove harden_man-db.service.patch as already done upstream 
  at the end of the service file man-db.service

- Add man-propose-online.patch: if patch was not found locally,
  propose to read it online, offering a URL where it could possibly
  be found.

OBS-URL: https://build.opensuse.org/request/show/1100562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=93
2023-07-26 11:22:00 +00:00
Dr. Werner Fink
eb752c9a6e Remove harden_man-db.service.patch as already done upstream
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=145
2023-05-25 06:39:41 +00:00
Dr. Werner Fink
39337c9fd1 Accepting request 1077021 from home:dimstar:Factory
- Add man-propose-online.patch: if patch was not found locally,
  propose to read it online, offering a URL where it could possibly
  be found.

If the man page exists/is installed, we show the man page, otherwise
propose an URL where it might exist online (no remote check if the
man page exists... that would be too complex imho)

OBS-URL: https://build.opensuse.org/request/show/1077021
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=144
2023-04-04 09:04:01 +00:00
Dominique Leuenberger
81da7983f4 Accepting request 998765 from Base:System
- 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
2022-08-24 13:10:37 +00:00
Dr. Werner Fink
80e04584f1 Minor changes
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=143
2022-08-23 06:15:10 +00:00
Dr. Werner Fink
629c0a4c72 Accepting request 998716 from home:dirkmueller:Factory
- 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
2022-08-23 06:05:39 +00:00
Dominique Leuenberger
b6d15d957a Accepting request 997718 from Base:System
- 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
2022-08-19 15:53:19 +00:00
Dr. Werner Fink
5ab4d52f0b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=141
2022-08-18 11:45:21 +00:00
Dr. Werner Fink
a897f89b0a mandb-symlink-target-timestamp should not fool us
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=140
2022-08-18 10:28:58 +00:00
Dr. Werner Fink
e4556a80e0 w3m(1)
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=139
2022-08-18 09:49:36 +00:00
Dr. Werner Fink
261ec0388e refer(1)
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=138
2022-08-18 09:45:18 +00:00
Dr. Werner Fink
da070023c8 Remove gnulib-ppc64le.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=137
2022-08-18 09:08:03 +00:00
Dr. Werner Fink
517eda8d76 Update to man-db-2.10.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=136
2022-08-18 08:59:01 +00:00
Richard Brown
4d9766cbca Accepting request 995603 from Base:System
- syntax correction of the preinstall scriptlet to avoid creation 
  of file /0 (bnc#1202377) (forwarded request 995205 from suse_weber)

OBS-URL: https://build.opensuse.org/request/show/995603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=90
2022-08-17 16:16:35 +00:00
Dr. Werner Fink
b54e542cbd Accepting request 995205 from home:suse_weber:branches:Base:System
- syntax correction of the preinstall scriptlet to avoid creation 
  of file /0 (bnc#1202377)

OBS-URL: https://build.opensuse.org/request/show/995205
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=135
2022-08-16 06:01:25 +00:00
Dominique Leuenberger
fe221b4b23 Accepting request 994522 from Base:System
- Add patch gnulib-ppc64le.patch
  * Support ppc64le float128 transition

- Drop usage of update-alternatives as mandoc does not use it
  (nor libalternative)

- switch source url to https

OBS-URL: https://build.opensuse.org/request/show/994522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=89
2022-08-12 15:46:21 +00:00
Dr. Werner Fink
36852b8a48 ppc64le
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=134
2022-08-11 11:56:38 +00:00
Dr. Werner Fink
e374cd754c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=133
2022-08-11 11:13:22 +00:00
Dr. Werner Fink
6821ccb639 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=132
2022-08-11 11:09:53 +00:00
Dr. Werner Fink
1df90b266d Cleanup
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=131
2022-08-11 10:45:37 +00:00
Dr. Werner Fink
45caadc241 Drop usage of update-alternatives, do conflict with mandoc
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=130
2022-08-11 09:00:12 +00:00
37c7cf0e59 - switch source url to https
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=129
2022-05-07 12:18:07 +00:00
Dominique Leuenberger
d8fb79d19c Accepting request 923541 from Base:System
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort (forwarded request 923524 from jsegitz)

OBS-URL: https://build.opensuse.org/request/show/923541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=88
2021-10-11 13:30:27 +00:00
Dr. Werner Fink
369d376210 Accepting request 923524 from home:jsegitz:branches:systemdhardening:Base:System
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/923524
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=128
2021-10-06 14:25:18 +00:00
Richard Brown
3d03c5070a Accepting request 912000 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/912000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=87
2021-08-16 08:09:05 +00:00
Dr. Werner Fink
8713a03fc7 manpath
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=127
2021-08-06 13:39:52 +00:00
Dominique Leuenberger
9befdec21a Accepting request 901432 from Base:System
- 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
2021-06-25 13:01:03 +00:00
Dr. Werner Fink
a7d6467d46 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=126
2021-06-23 09:16:03 +00:00
Dr. Werner Fink
c32f4259f9 Accepting request 899998 from home:schubi2
- Supporting ALSO new `alternatives` which has the same tasks as
  `update-alternatives` but in a simplier way.

OBS-URL: https://build.opensuse.org/request/show/899998
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=125
2021-06-23 08:37:34 +00:00
Dr. Werner Fink
c28a6bb4f4 Accepting request 896467 from home:susnux:branches:Base:System
Update to version 2.9.4

OBS-URL: https://build.opensuse.org/request/show/896467
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=124
2021-06-01 06:50:22 +00:00
Dominique Leuenberger
458298ceab Accepting request 868695 from Base:System
- require only glibc-locale-base (forwarded request 866172 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/868695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=85
2021-02-07 14:14:22 +00:00