Commit Graph

209 Commits

Author SHA256 Message Date
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
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
Dominique Leuenberger
e9fedeb6bd Accepting request 652353 from Base:System
- 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
2018-12-03 09:08:53 +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
Dominique Leuenberger
73055eb847 Accepting request 597110 from Base:System
- Skip cron job for cleaning /var/cache/man as there exists
  /usr/lib/tmpfiles.d/man-db.conf

OBS-URL: https://build.opensuse.org/request/show/597110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=71
2018-04-22 12:31:35 +00:00
Dr. Werner Fink
9d83e0e561 Skip cleaning cron job for /var/cache/man
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=88
2018-04-16 15:04:23 +00:00
Dr. Werner Fink
33364c8da4 Skip cleaning cron job for /var/cache/man
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=87
2018-04-16 14:27:19 +00:00
Dominique Leuenberger
17dc998705 Accepting request 556007 from Base:System
- 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
2017-12-14 09:51:44 +00:00
Dr. Werner Fink
c5932fbc4d .
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=85
2017-12-11 15:13:52 +00:00
Dr. Werner Fink
580713a1c0 Accepting request 555099 from home:kukuk:branches:Base:System
- 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.

OBS-URL: https://build.opensuse.org/request/show/555099
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=84
2017-12-11 15:13:06 +00:00
Dominique Leuenberger
55def7274c Accepting request 546425 from Base:System
- Make /var/ache/man a real directory as in system-user-man the
  directory is gone

OBS-URL: https://build.opensuse.org/request/show/546425
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=69
2017-12-06 07:47:34 +00:00
Dr. Werner Fink
445c4d21c7 Change in system-user-man
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=82
2017-11-29 13:23:20 +00:00
Dominique Leuenberger
ed581e5dae Accepting request 545114 from Base:System
OBS-URL: https://build.opensuse.org/request/show/545114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=68
2017-11-25 07:40:41 +00:00
b6d0ceea3a Accepting request 544687 from home:RBrownSUSE:branches:Base:System
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544687
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=80
2017-11-24 10:20:19 +00:00
Dr. Werner Fink
9f178f5bbe man-pages required for testing
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=79
2017-11-21 07:46:17 +00:00
Yuchen Lin
c832237e45 Accepting request 478728 from Base:System
OBS-URL: https://build.opensuse.org/request/show/478728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/man?expand=0&rev=67
2017-03-29 11:20:21 +00:00