Commit Graph

126 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Dr. Werner Fink
21f5977a05 Accepting request 866172 from home:dirkmueller:branches:Base:System
- require only glibc-locale-base

OBS-URL: https://build.opensuse.org/request/show/866172
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=123
2021-02-02 16:37:38 +00:00
Dr. Werner Fink
b5576696b5 Accepting request 833856 from home:1Antoine1:boo1175919
- 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
2020-09-15 06:21:02 +00:00
Dr. Werner Fink
7424cffc4d Accepting request 831020 from home:1Antoine1:branches:Base:System
- Fix usage of update-alternatives (boo#1175919).

OBS-URL: https://build.opensuse.org/request/show/831020
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=121
2020-09-01 10:52:39 +00:00
Dr. Werner Fink
ae5d941225 boo#1175919
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=120
2020-09-01 09:07:40 +00:00
Dr. Werner Fink
59a3b366f0 Accepting request 829994 from home:lnussel:branches:Base:System
- Don't recommend groff-full to avoid pulling in ghostscript etc.
  groff-full installs itself when there's groff and
  ghostscript-library installed.

OBS-URL: https://build.opensuse.org/request/show/829994
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=119
2020-09-01 07:47:10 +00:00
Dr. Werner Fink
07b426161b boo#1175919
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=118
2020-09-01 07:46:17 +00:00
Dr. Werner Fink
5a5c3600ae boo#1175813 -- also for mandb.service
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=117
2020-08-27 08:01:50 +00:00
Dr. Werner Fink
0656553dfa boo#1175813
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=116
2020-08-27 07:39:03 +00:00
Dr. Werner Fink
ccaeeb2e1c boo#1172876
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=115
2020-06-15 07:52:27 +00:00
Dr. Werner Fink
b27fab57f1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=112
2020-06-05 15:22:58 +00:00
Dr. Werner Fink
7460828ca2 Accepting request 806274 from home:AndreasStieger:branches:Base:System
- add upstream signing keys and verify source signature

(and a spec-cleaner run)

OBS-URL: https://build.opensuse.org/request/show/806274
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=110
2020-05-18 06:23:50 +00:00
Dr. Werner Fink
1633decb51 Accepting request 762105 from home:lnussel:branches:Base:System
- Don't mark /etc/alternatives files as %config as that would lead
  to stale symlinks on uninstall

OBS-URL: https://build.opensuse.org/request/show/762105
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=108
2020-01-10 07:30:19 +00:00
Dr. Werner Fink
5bdc16771c _libexecdir
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=105
2019-11-03 11:39:31 +00:00
Dr. Werner Fink
35cd6affd8 Accepting request 709169 from home:dimstar:Factory
Allow OBS to pick better candidates to shorten rebuild queues

OBS-URL: https://build.opensuse.org/request/show/709169
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=103
2019-06-11 12:58:02 +00:00
Dr. Werner Fink
2bd2dc9123 boo#1133762
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=101
2019-04-30 11:08:13 +00:00
Dr. Werner Fink
423612524b Accepting request 699573 from home:lnussel:branches:Base:System
- remove %verify(not group) from /var/cache/man, the inconsistent
  permissions are fixed in the permissions package (boo#1133678)

OBS-URL: https://build.opensuse.org/request/show/699573
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=100
2019-04-30 09:37:20 +00:00
Dr. Werner Fink
39fce819e7 Manual pages also should have alternatives
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=98
2019-03-08 13:14:55 +00:00
Dr. Werner Fink
94f1be2a18 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=96
2019-03-07 08:02:01 +00:00
Dr. Werner Fink
7212e7a225 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=95
2019-03-06 13:17:17 +00:00
Dr. Werner Fink
a595279334 Use update-alternatives for man(1), apropos(1), whatis(1)
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=94
2019-03-06 11:57:50 +00:00
Dr. Werner Fink
ad670e6734 Update to man-db-2.8.4
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=92
2018-11-26 11:53:50 +00:00
Dr. Werner Fink
d733d752db bsc#1115406 --- also run the systemd rpm macros as well
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=91
2018-11-09 13:49:28 +00:00
Dr. Werner Fink
3a8da8ebdf bsc#1115406
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=90
2018-11-09 13:40:15 +00:00