Commit Graph

187 Commits

Author SHA256 Message Date
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
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
Dominique Leuenberger
b5acb70184 Accepting request 834510 from Base:System
OBS-URL: https://build.opensuse.org/request/show/834510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=84
2020-09-18 13:20:53 +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
Dominique Leuenberger
1ceeefbcfa Accepting request 831052 from Base:System
OBS-URL: https://build.opensuse.org/request/show/831052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=83
2020-09-04 08:53:46 +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
Dominique Leuenberger
2c0d3f8f1d Accepting request 829918 from Base:System
- Set libexecdir at build time for wrapper (boo#1175813)
- Do the same in mandb.service

OBS-URL: https://build.opensuse.org/request/show/829918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=82
2020-08-27 12:42:01 +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
Dominique Leuenberger
dfe2f8030b Accepting request 814649 from Base:System
- Allow user man to execute the do_mandb script (boo#1172876)

- Switch to user:group man:man within mandb.service (boo#1172575)

- Use %{_prefix}/lib for tmpfiles.d directory to avoid to get this

OBS-URL: https://build.opensuse.org/request/show/814649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=81
2020-06-22 15:41:44 +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
Dominique Leuenberger
9ea4928e9d Revert to rev78 - https://bugzilla.opensuse.org/show_bug.cgi?id=1172876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=80
2020-06-12 15:27:52 +00:00
Dominique Leuenberger
23b1126eb0 Accepting request 811887 from Base:System
- Switch to user:group man:man within mandb.service (boo#1172575)

- Use %{_prefix}/lib for tmpfiles.d directory to avoid to get this

OBS-URL: https://build.opensuse.org/request/show/811887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=79
2020-06-11 08:00:38 +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
Dominique Leuenberger
87a29729b9 Accepting request 806767 from Base:System
- add upstream signing keys and verify source signature

(and a spec-cleaner run) (forwarded request 806274 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/806767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=78
2020-05-20 16:35:52 +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
Dominique Leuenberger
647d467e8c Accepting request 762613 from Base:System
- Don't mark /etc/alternatives files as %config as that would lead
  to stale symlinks on uninstall (forwarded request 762105 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/762613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=77
2020-01-18 11:13:47 +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
Dominique Leuenberger
a84e985cf2 Accepting request 745706 from Base:System
- Avoid racy bash code on waiting on find in do_mandb (boo#1155879) 

- Use %{_prefix}/lib for tmpfiles.d directory to avoid to get this
  nonexecutable location below new location of %{_libexecdir}

OBS-URL: https://build.opensuse.org/request/show/745706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=76
2019-11-11 11:57:13 +00:00
Dr. Werner Fink
fcf3a57ccb boo#1155879
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=106
2019-11-06 08:51:24 +00:00