Commit Graph

177 Commits

Author SHA256 Message Date
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
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
Dominique Leuenberger
560057125c Accepting request 709170 from Base:System
Allow OBS to pick better candidates to shorten rebuild queues (forwarded request 709169 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/709170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=75
2019-06-24 19:48:57 +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
Dominique Leuenberger
fdf392927e Accepting request 699626 from Base:System
- Make systemd timers and services optional but hold them enabled
  as maybe in future all packages providing manual pages might use
  a posttrans scriplet to trigger a refresh of the man db (boo#1133762).

- 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/699626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=74
2019-05-06 11:17:04 +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
Dominique Leuenberger
e705126134 Accepting request 682844 from Base:System
- 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
2019-03-12 08:48:19 +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
1d5ffd2bc2 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=97
2019-03-07 08:05:02 +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