commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2020-09-18 15:20:53 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.4249 (New) Package is "man" Fri Sep 18 15:20:53 2020 rev:84 rq:834510 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2020-09-04 10:53:48.342452791 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.4249/man.changes2020-09-18 15:20:57.565943488 +0200 @@ -1,0 +2,6 @@ +Fri Sep 11 19:34:46 UTC 2020 - Antoine Belvire + +- Add migration code to handle upgrade from old version of the man + package not supporting alternative path move (boo#1175919). + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.io61Gs/_old 2020-09-18 15:20:58.949944827 +0200 +++ /var/tmp/diff_new_pack.io61Gs/_new 2020-09-18 15:20:58.953944831 +0200 @@ -295,6 +295,15 @@ --slave %{_mandir}/man1/apropos.1%{?ext_man} apropos.1%{?ext_man} %{_mandir}/man1/apropos-db.1%{?ext_man} \ --slave %{_mandir}/man1/whatis.1%{?ext_man} whatis.1%{?ext_man} %{_mandir}/man1/whatis-db.1%{?ext_man} +# Old man packages did not apply the proper update-alternatives calls to ensure +# alternative path move. As a result, the alternative path move induced by +# libexecdir move breaks man wrapper (boo#1175919). Hence the following migration +# code for upgrades from Leap 15.2 or Tumbleweed snapshots older than 20200826. +# To be removed when support for upgrades from Leap 15.2 is dropped (dec. 2021). +if [ %{_libexecdir} != %{_prefix}/lib ] && [ -f %{_prefix}/lib/man-db/wrapper ] ; then + update-alternatives --quiet --remove man %{_prefix}/lib/man-db/wrapper +fi + %preun %if %{with sdtimer} %service_del_preun man-db-create.service
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2020-09-04 10:53:46 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.3399 (New) Package is "man" Fri Sep 4 10:53:46 2020 rev:83 rq:831052 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2020-08-27 14:42:02.645229192 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.3399/man.changes2020-09-04 10:53:48.342452791 +0200 @@ -1,0 +2,12 @@ +Sun Aug 30 17:39:08 UTC 2020 - Antoine Belvire + +- Fix usage of update-alternatives (boo#1175919). + +--- +Thu Aug 27 12:59:12 UTC 2020 - Ludwig Nussel + +- Don't recommend groff-full to avoid pulling in ghostscript etc. + groff-full installs itself when there's groff and + ghostscript-library installed. + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.p5rNGH/_old 2020-09-04 10:53:49.382453347 +0200 +++ /var/tmp/diff_new_pack.p5rNGH/_new 2020-09-04 10:53:49.386453350 +0200 @@ -79,16 +79,13 @@ PreReq: fillup Requires(post): update-alternatives Requires(posttrans): systemd +Requires(postun): update-alternatives Requires(pre): group(man) Requires(pre): user(man) -Requires(preun): update-alternatives Provides: man_db %if 0%{?suse_version} < 1500 Requires: cron %endif -%if 0%{?suse_version} > 1300 -Recommends: groff-full -%endif %description A program for displaying man pages on the screen or sending them to a @@ -289,7 +286,7 @@ %endif %endif # Remark: soelim(1) is part of package groff or mandoc and -# makewhatis(8) is part of package makewaht or mandoc +# makewhatis(8) is part of package makewhat or mandoc %{_sbindir}/update-alternatives --quiet --force \ --install %{_bindir}/man man %{_libexecdir}/man-db/wrapper 1010 \ --slave %{_bindir}/apropos apropos %{_libexecdir}/man-db/whatis \ @@ -305,10 +302,6 @@ %service_del_preun mandb.service mandb.timer %endif %endif -if test $1 -eq 0 -then - %{_sbindir}/update-alternatives --quiet --remove man %{_bindir}/man -fi %postun /sbin/ldconfig @@ -318,6 +311,9 @@ %service_del_postun mandb.service mandb.timer %endif %endif +if [ ! -f %{_libexecdir}/man-db/wrapper ] ; then + update-alternatives --quiet --remove man %{_libexecdir}/man-db/wrapper +fi %posttrans %{?tmpfiles_create:%tmpfiles_create %{_prefix}/lib/tmpfiles.d/man-db.conf}
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2020-08-27 14:42:01 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.3399 (New) Package is "man" Thu Aug 27 14:42:01 2020 rev:82 rq:829918 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2020-06-22 17:41:49.901062697 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.3399/man.changes2020-08-27 14:42:02.645229192 +0200 @@ -1,0 +2,6 @@ +Thu Aug 27 07:38:06 UTC 2020 - Dr. Werner Fink + +- Set libexecdir at build time for wrapper (boo#1175813) +- Do the same in mandb.service + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.AeXxgd/_old 2020-08-27 14:42:03.621228286 +0200 +++ /var/tmp/diff_new_pack.AeXxgd/_new 2020-08-27 14:42:03.625228282 +0200 @@ -185,7 +185,7 @@ done patch --backup --suffix=.s10 ${FUZZ+"--fuzz=$FUZZ"} -p0 < %{SOURCE10} gcc $CFLAGS -I gl/lib/ -I include/ --include config.h -D LOCALEDIR="\"%{_datarootdir}/locale\"" \ - -o wrapper %{SOURCE5} -L gl/lib/.libs/ -lgnu + -D LIBEXECDIR="\"%{_libexecdir}\"" -o wrapper %{SOURCE5} -L gl/lib/.libs/ -lgnu %check if ! make check; then @@ -263,6 +263,7 @@ %if 0%{?suse_version} >= 1500 install -m 0644 %{SOURCE8} %{buildroot}%{_unitdir}/ install -m 0644 %{SOURCE9} %{buildroot}%{_unitdir}/ +sed -ri 's|@@LIBEXECDIR@@|%{_libexecdir}|' %{buildroot}%{_unitdir}/mandb.service %endif %endif ++ mandb.service ++ --- /var/tmp/diff_new_pack.AeXxgd/_old 2020-08-27 14:42:03.745228171 +0200 +++ /var/tmp/diff_new_pack.AeXxgd/_new 2020-08-27 14:42:03.749228167 +0200 @@ -9,4 +9,4 @@ Type=oneshot Nice=5 IOSchedulingClass=idle -ExecStart=/usr/lib/man-db/do_mandb +ExecStart=@@LIBEXECDIR@@/man-db/do_mandb ++ wrapper.c ++ --- /var/tmp/diff_new_pack.AeXxgd/_old 2020-08-27 14:42:03.781228137 +0200 +++ /var/tmp/diff_new_pack.AeXxgd/_new 2020-08-27 14:42:03.781228137 +0200 @@ -44,6 +44,9 @@ #include "manconfig.h" +#ifndef LIBEXECDIR +# define LIBEXECDIR "/usr/lib" +#endif /* this list is used to authenticate the program running. * it is fixed at compile time to avoid a full class of @@ -59,8 +62,8 @@ { "_man","src/man", "man" }, { "_mandb", "src/mandb","man" }, #endif - { "man", "/usr/lib/man-db/man", "man" }, - { "mandb", "/usr/lib/man-db/mandb","man" }, + { "man", LIBEXECDIR "/man-db/man", "man" }, + { "mandb", LIBEXECDIR "/man-db/mandb", "man" }, { 0, 0, 0, }}; char *program_name;
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2020-06-22 17:41:44 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.2956 (New) Package is "man" Mon Jun 22 17:41:44 2020 rev:81 rq:814649 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2020-06-12 17:27:54.128321879 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.2956/man.changes2020-06-22 17:41:49.901062697 +0200 @@ -1,0 +2,10 @@ +Mon Jun 15 07:49:33 UTC 2020 - Dr. Werner Fink + +- Allow user man to execute the do_mandb script (boo#1172876) + +--- +Fri Jun 5 15:21:06 UTC 2020 - Dr. Werner Fink + +- Switch to user:group man:man within mandb.service (boo#1172575) + +--- @@ -20 +30 @@ -- Use %{_prefix}/lib for tmpfiles.d directory to avoud to get this +- Use %{_prefix}/lib for tmpfiles.d directory to avoid to get this Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.B4BmPK/_old 2020-06-22 17:41:51.345067331 +0200 +++ /var/tmp/diff_new_pack.B4BmPK/_new 2020-06-22 17:41:51.349067344 +0200 @@ -350,11 +350,11 @@ %attr(0755,root,root) %{_libexecdir}/man-db/man %attr(0755,root,root) %{_libexecdir}/man-db/whatis %attr(0755,root,root) %{_libexecdir}/man-db/mandb -%attr(0755,man,man) %{_libexecdir}/man-db/manconv -%attr(0755,man,man) %{_libexecdir}/man-db/globbing +%attr(0755,root,root) %{_libexecdir}/man-db/manconv +%attr(0755,root,root) %{_libexecdir}/man-db/globbing %attr(0755,root,root) %{_libexecdir}/man-db/wrapper %if 0%{?suse_version} >= 1500 -%attr(0744,man,man) %{_libexecdir}/man-db/do_mandb +%attr(0755,root,root) %{_libexecdir}/man-db/do_mandb %endif %{_sbindir}/accessdb %{_libdir}/libman*.so ++ mandb.service ++ --- /var/tmp/diff_new_pack.B4BmPK/_old 2020-06-22 17:41:51.473067742 +0200 +++ /var/tmp/diff_new_pack.B4BmPK/_new 2020-06-22 17:41:51.473067742 +0200 @@ -4,6 +4,8 @@ ConditionACPower=true [Service] +User=man +Group=man Type=oneshot Nice=5 IOSchedulingClass=idle
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2020-06-12 17:27:52 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.3606 (New) Package is "man" Fri Jun 12 17:27:52 2020 rev:80 rq: version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2020-06-11 10:00:54.354427759 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.3606/man.changes2020-06-12 17:27:54.128321879 +0200 @@ -2,5 +1,0 @@ -Fri Jun 5 15:21:06 UTC 2020 - Dr. Werner Fink - -- Switch to user:group man:man within mandb.service (boo#1172575) - @@ -25 +20 @@ -- Use %{_prefix}/lib for tmpfiles.d directory to avoid to get this +- Use %{_prefix}/lib for tmpfiles.d directory to avoud to get this Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.9FlISb/_old 2020-06-12 17:27:56.680328978 +0200 +++ /var/tmp/diff_new_pack.9FlISb/_new 2020-06-12 17:27:56.680328978 +0200 @@ -350,11 +350,11 @@ %attr(0755,root,root) %{_libexecdir}/man-db/man %attr(0755,root,root) %{_libexecdir}/man-db/whatis %attr(0755,root,root) %{_libexecdir}/man-db/mandb -%attr(0755,root,root) %{_libexecdir}/man-db/manconv -%attr(0755,root,root) %{_libexecdir}/man-db/globbing +%attr(0755,man,man) %{_libexecdir}/man-db/manconv +%attr(0755,man,man) %{_libexecdir}/man-db/globbing %attr(0755,root,root) %{_libexecdir}/man-db/wrapper %if 0%{?suse_version} >= 1500 -%attr(0744,root,root) %{_libexecdir}/man-db/do_mandb +%attr(0744,man,man) %{_libexecdir}/man-db/do_mandb %endif %{_sbindir}/accessdb %{_libdir}/libman*.so ++ mandb.service ++ --- /var/tmp/diff_new_pack.9FlISb/_old 2020-06-12 17:27:56.796329302 +0200 +++ /var/tmp/diff_new_pack.9FlISb/_new 2020-06-12 17:27:56.800329312 +0200 @@ -4,8 +4,6 @@ ConditionACPower=true [Service] -User=man -Group=man Type=oneshot Nice=5 IOSchedulingClass=idle
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2020-06-11 10:00:38 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.3606 (New) Package is "man" Thu Jun 11 10:00:38 2020 rev:79 rq:811887 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2020-05-20 18:35:59.756046322 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.3606/man.changes2020-06-11 10:00:54.354427759 +0200 @@ -1,0 +2,5 @@ +Fri Jun 5 15:21:06 UTC 2020 - Dr. Werner Fink + +- Switch to user:group man:man within mandb.service (boo#1172575) + +--- @@ -20 +25 @@ -- Use %{_prefix}/lib for tmpfiles.d directory to avoud to get this +- Use %{_prefix}/lib for tmpfiles.d directory to avoid to get this Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.6XizT0/_old 2020-06-11 10:00:56.870435862 +0200 +++ /var/tmp/diff_new_pack.6XizT0/_new 2020-06-11 10:00:56.870435862 +0200 @@ -350,11 +350,11 @@ %attr(0755,root,root) %{_libexecdir}/man-db/man %attr(0755,root,root) %{_libexecdir}/man-db/whatis %attr(0755,root,root) %{_libexecdir}/man-db/mandb -%attr(0755,man,man) %{_libexecdir}/man-db/manconv -%attr(0755,man,man) %{_libexecdir}/man-db/globbing +%attr(0755,root,root) %{_libexecdir}/man-db/manconv +%attr(0755,root,root) %{_libexecdir}/man-db/globbing %attr(0755,root,root) %{_libexecdir}/man-db/wrapper %if 0%{?suse_version} >= 1500 -%attr(0744,man,man) %{_libexecdir}/man-db/do_mandb +%attr(0744,root,root) %{_libexecdir}/man-db/do_mandb %endif %{_sbindir}/accessdb %{_libdir}/libman*.so ++ mandb.service ++ --- /var/tmp/diff_new_pack.6XizT0/_old 2020-06-11 10:00:57.030436378 +0200 +++ /var/tmp/diff_new_pack.6XizT0/_new 2020-06-11 10:00:57.034436391 +0200 @@ -4,6 +4,8 @@ ConditionACPower=true [Service] +User=man +Group=man Type=oneshot Nice=5 IOSchedulingClass=idle
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2020-05-20 18:35:52 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.2738 (New) Package is "man" Wed May 20 18:35:52 2020 rev:78 rq:806767 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2020-01-18 12:13:55.163003387 +0100 +++ /work/SRC/openSUSE:Factory/.man.new.2738/man.changes2020-05-20 18:35:59.756046322 +0200 @@ -1,0 +2,5 @@ +Sun May 17 17:37:58 UTC 2020 - Andreas Stieger + +- add upstream signing keys and verify source signature + +--- New: man-db-2.8.4.tar.xz.asc man.keyring Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.3KCyaW/_old 2020-05-20 18:36:02.280051611 +0200 +++ /var/tmp/diff_new_pack.3KCyaW/_new 2020-05-20 18:36:02.280051611 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,53 +16,20 @@ # +%global _sysconfdir %{_sysconfdir} +%global _has_tmpfiled %(rpm -q -f %{_prefix}/lib/tmpfiles.d | grep -c filesystem) #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates + %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif - %bcond_without sdtimer - Name: man -BuildRequires: automake -BuildRequires: flex -BuildRequires: gdbm-devel -BuildRequires: gettext-runtime -BuildRequires: gettext-tools -BuildRequires: groff -BuildRequires: less -BuildRequires: libbz2-devel -BuildRequires: libpipeline-devel >= 1.5.0 -BuildRequires: libzio-devel -BuildRequires: man-pages -BuildRequires: pkg-config -BuildRequires: po4a -BuildRequires: update-alternatives -BuildRequires: xz-devel -BuildRequires: zlib-devel -BuildRequires: pkgconfig(systemd) Version:2.8.4 Release:0 Summary:A Program for Displaying man Pages License:GPL-2.0-or-later Group: System/Base -Url:https://savannah.nongnu.org/projects/man-db -PreReq: coreutils fillup -Provides: man_db -%if 0%{suse_version} < 1500 -Requires: cron -%endif -Requires: glibc-locale -%if 0%{suse_version} > 1300 -Recommends: groff-full -%endif -Requires: groff >= 1.18 -Requires: less -Requires(pre): user(man) -Requires(pre): group(man) -Requires(post): update-alternatives -Requires(preun): update-alternatives -Requires(posttrans): systemd +URL:https://savannah.nongnu.org/projects/man-db Source: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz Source1:sysconfig.cron-man Source2:cron.daily.do_mandb @@ -73,6 +40,8 @@ Source8:mandb.timer Source9:mandb.service Source10: man-db-2.6.3-man0.dif +Source11: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz.asc +Source12: https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=man-db=1#/%{name}.keyring Patch0: man-db-2.8.4.dif Patch2: man-db-2.3.19deb4.0-groff.dif Patch4: man-db-2.6.3-section.dif @@ -85,34 +54,58 @@ Patch11:man-MAN_POSIXLY_CORRECT-man1.dif # PATCH-FIX-SUSE Fixes build-compare bnc#971922 Patch12:reproducible.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%global _sysconfdir /etc -%global _has_tmpfiled %(rpm -q -f %{_prefix}/lib/tmpfiles.d | grep -c filesystem) +BuildRequires: automake +BuildRequires: flex +BuildRequires: gdbm-devel +BuildRequires: gettext-runtime +BuildRequires: gettext-tools +BuildRequires: groff +BuildRequires: less +BuildRequires: libbz2-devel +BuildRequires: libpipeline-devel >= 1.5.0 +BuildRequires: libzio-devel +BuildRequires: man-pages +BuildRequires: pkgconfig +BuildRequires: po4a +BuildRequires: update-alternatives +BuildRequires: xz-devel +BuildRequires: zlib-devel +BuildRequires: pkgconfig(systemd) +Requires: glibc-locale +Requires: groff >= 1.18 +Requires: less +# FIXME: use proper Requires(pre/post/preun/...) +PreReq: coreutils +PreReq: fillup +Requires(post): update-alternatives +Requires(posttrans): systemd +Requires(pre): group(man) +Requires(pre): user(man) +Requires(preun): update-alternatives +Provides: man_db +%if 0%{?suse_version} < 1500 +Requires: cron +%endif +%if 0%{?suse_version} > 1300
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2020-01-18 12:13:47 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.26092 (New) Package is "man" Sat Jan 18 12:13:47 2020 rev:77 rq:762613 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2019-11-11 12:57:15.909491742 +0100 +++ /work/SRC/openSUSE:Factory/.man.new.26092/man.changes 2020-01-18 12:13:55.163003387 +0100 @@ -1,0 +2,6 @@ +Thu Jan 9 09:40:48 UTC 2020 - Ludwig Nussel + +- Don't mark /etc/alternatives files as %config as that would lead + to stale symlinks on uninstall + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.ID2IFP/_old 2020-01-18 12:13:56.027003850 +0100 +++ /var/tmp/diff_new_pack.ID2IFP/_new 2020-01-18 12:13:56.031003853 +0100 @@ -341,12 +341,12 @@ %if 0%{suse_version} < 1500 %attr(0744,root,root) /etc/cron.daily/suse-do_mandb %endif -%ghost %config %{_sysconfdir}/alternatives/man -%ghost %config %{_sysconfdir}/alternatives/apropos -%ghost %config %{_sysconfdir}/alternatives/whatis -%ghost %config %{_sysconfdir}/alternatives/man.1%{ext_man} -%ghost %config %{_sysconfdir}/alternatives/apropos.1%{ext_man} -%ghost %config %{_sysconfdir}/alternatives/whatis.1%{ext_man} +%ghost %{_sysconfdir}/alternatives/man +%ghost %{_sysconfdir}/alternatives/apropos +%ghost %{_sysconfdir}/alternatives/whatis +%ghost %{_sysconfdir}/alternatives/man.1%{ext_man} +%ghost %{_sysconfdir}/alternatives/apropos.1%{ext_man} +%ghost %{_sysconfdir}/alternatives/whatis.1%{ext_man} %{_bindir}/man %{_bindir}/apropos %{_bindir}/whatis
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2019-11-11 12:57:13 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.2990 (New) Package is "man" Mon Nov 11 12:57:13 2019 rev:76 rq:745706 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2019-06-24 21:48:58.559901898 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.2990/man.changes2019-11-11 12:57:15.909491742 +0100 @@ -1,0 +2,11 @@ +Wed Nov 6 08:48:22 UTC 2019 - Dr. Werner Fink + +- Avoid racy bash code on waiting on find in do_mandb (boo#1155879) + +--- +Sun Nov 3 11:37:28 UTC 2019 - Dr. Werner Fink + +- Use %{_prefix}/lib for tmpfiles.d directory to avoud to get this + nonexecutable location below new location of %{_libexecdir} + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.LhGVSu/_old 2019-11-11 12:57:17.925493876 +0100 +++ /var/tmp/diff_new_pack.LhGVSu/_new 2019-11-11 12:57:17.929493881 +0100 @@ -37,10 +37,10 @@ BuildRequires: man-pages BuildRequires: pkg-config BuildRequires: po4a -BuildRequires: pkgconfig(systemd) BuildRequires: update-alternatives BuildRequires: xz-devel BuildRequires: zlib-devel +BuildRequires: pkgconfig(systemd) Version:2.8.4 Release:0 Summary:A Program for Displaying man Pages @@ -87,7 +87,7 @@ Patch12:reproducible.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _sysconfdir /etc -%global _has_tmpfiled %(rpm -q -f /usr/lib/tmpfiles.d | grep -c filesystem) +%global _has_tmpfiled %(rpm -q -f %{_prefix}/lib/tmpfiles.d | grep -c filesystem) %description A program for displaying man pages on the screen or sending them to a @@ -326,7 +326,7 @@ %endif %posttrans -%{?tmpfiles_create:%tmpfiles_create %{_libexecdir}/tmpfiles.d/man-db.conf} +%{?tmpfiles_create:%tmpfiles_create %{_prefix}/lib/tmpfiles.d/man-db.conf} if test -d %{_localstatedir}/cache/man then mandb --quiet --create || : @@ -368,9 +368,9 @@ %{_libdir}/libman*.so %{_libexecdir}/man-db/zsoelim %if 0%{?_has_tmpfiled} == 0 -%dir %{_libexecdir}/tmpfiles.d +%dir %{_prefix}/lib/tmpfiles.d %endif -%{_libexecdir}/tmpfiles.d/man-db.conf +%{_prefix}/lib/tmpfiles.d/man-db.conf %if %{with sdtimer} %{_unitdir}/man-db-create.service %if 0%{suse_version} >= 1500 ++ cron.daily.do_mandb ++ --- /var/tmp/diff_new_pack.LhGVSu/_old 2019-11-11 12:57:17.957493910 +0100 +++ /var/tmp/diff_new_pack.LhGVSu/_new 2019-11-11 12:57:17.961493915 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # # do_mandb. This script was split off cron.daily. @@ -10,7 +10,7 @@ # # please send bugfixes or comments to feedb...@suse.de. # -# Author: Werner Fink , 2008 +# Author: Werner Fink , 2008, 2019 # Burchard Steinbild , 1996 # Florian La Roche , 1996 # @@ -49,8 +49,8 @@ test -d "${cp}" || continue db=${cp}/index.db if test -e ${db} ; then - find $mp -follow -newer $db | read -t 1 line - test $? -eq 0 || continue + path="$(find $mp -follow -newer $db 2>/dev/null)" + test -n "$path" || continue fi nice -n 5 ionice -c 3 mandb -qs ${mp} > /dev/null 2>&1 || let errors++ done
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2019-06-24 21:48:57 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.4615 (New) Package is "man" Mon Jun 24 21:48:57 2019 rev:75 rq:709170 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2019-05-06 13:17:06.231922145 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.4615/man.changes2019-06-24 21:48:58.559901898 +0200 @@ -1,0 +2,6 @@ +Tue Jun 11 12:49:35 UTC 2019 - Dominique Leuenberger + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + shortcut the build queues by allowing usage of systemd-mini + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.OH3LMi/_old 2019-06-24 21:48:59.407902553 +0200 +++ /var/tmp/diff_new_pack.OH3LMi/_new 2019-06-24 21:48:59.411902557 +0200 @@ -37,7 +37,7 @@ BuildRequires: man-pages BuildRequires: pkg-config BuildRequires: po4a -BuildRequires: systemd +BuildRequires: pkgconfig(systemd) BuildRequires: update-alternatives BuildRequires: xz-devel BuildRequires: zlib-devel
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2019-05-06 13:17:04 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.5148 (New) Package is "man" Mon May 6 13:17:04 2019 rev:74 rq:699626 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2019-03-12 09:48:20.591598719 +0100 +++ /work/SRC/openSUSE:Factory/.man.new.5148/man.changes2019-05-06 13:17:06.231922145 +0200 @@ -1,0 +2,13 @@ +Tue Apr 30 10:57:35 UTC 2019 - Dr. Werner Fink + +- 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). + +--- +Tue Apr 30 09:09:19 UTC 2019 - lnus...@suse.de + +- remove %verify(not group) from /var/cache/man, the inconsistent + permissions are fixed in the permissions package (boo#1133678) + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.wG83pn/_old 2019-05-06 13:17:07.019924023 +0200 +++ /var/tmp/diff_new_pack.wG83pn/_new 2019-05-06 13:17:07.019924023 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,6 +21,8 @@ %define _fillupdir /var/adm/fillup-templates %endif +%bcond_without sdtimer + Name: man BuildRequires: automake BuildRequires: flex @@ -35,6 +37,7 @@ BuildRequires: man-pages BuildRequires: pkg-config BuildRequires: po4a +BuildRequires: systemd BuildRequires: update-alternatives BuildRequires: xz-devel BuildRequires: zlib-devel @@ -59,6 +62,7 @@ Requires(pre): group(man) Requires(post): update-alternatives Requires(preun): update-alternatives +Requires(posttrans): systemd Source: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz Source1:sysconfig.cron-man Source2:cron.daily.do_mandb @@ -261,30 +265,35 @@ %else install -m 0744 %{SOURCE2} %{buildroot}/%{_libexecdir}/man-db/do_mandb %endif +%if %{with sdtimer} install -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/ %if 0%{suse_version} >= 1500 install -m 0644 %{SOURCE8} %{buildroot}%{_unitdir}/ install -m 0644 %{SOURCE9} %{buildroot}%{_unitdir}/ %endif +%endif %find_lang man-db --all-name --with-man %pre test -d var/catman/ && rm -rf var/catman/ || true +%if %{with sdtimer} %if 0%{suse_version} >= 1500 %service_add_pre man-db-create.service mandb.service mandb.timer %else %service_add_pre man-db-create.service %endif +%endif %post -%{?tmpfiles_create:%tmpfiles_create %{_libexecdir}/tmpfiles.d/man-db.conf} %{fillup_only -an cron} /sbin/ldconfig +%if %{with sdtimer} %service_add_post man-db-create.service %if 0%{suse_version} >= 1500 %service_add_post mandb.service mandb.timer %endif +%endif # Remark: soelim(1) is part of package groff or mandoc and # makewhatis(8) is part of package makewaht or mandoc %{_sbindir}/update-alternatives --quiet --force \ @@ -296,10 +305,12 @@ --slave %{_mandir}/man1/whatis.1%{?ext_man} whatis.1%{?ext_man} %{_mandir}/man1/whatis-db.1%{?ext_man} %preun +%if %{with sdtimer} %service_del_preun man-db-create.service %if 0%{suse_version} >= 1500 %service_del_preun mandb.service mandb.timer %endif +%endif if test $1 -eq 0 then %{_sbindir}/update-alternatives --quiet --remove man %{_bindir}/man @@ -307,13 +318,19 @@ %postun /sbin/ldconfig +%if %{with sdtimer} %service_del_postun man-db-create.service %if 0%{suse_version} >= 1500 %service_del_postun mandb.service mandb.timer %endif +%endif %posttrans -test -d /var/cache/man && mandb --quiet --create ||: +%{?tmpfiles_create:%tmpfiles_create %{_libexecdir}/tmpfiles.d/man-db.conf} +if test -d %{_localstatedir}/cache/man +then + mandb --quiet --create || : +fi %files -f man-db.lang %defattr(-,root,root) @@ -354,11 +371,13 @@ %dir %{_libexecdir}/tmpfiles.d %endif %{_libexecdir}/tmpfiles.d/man-db.conf +%if %{with sdtimer} %{_unitdir}/man-db-create.service %if 0%{suse_version} >= 1500 %{_unitdir}/mandb.service %{_unitdir}/mandb.timer %endif +%endif %dir %{_datadir}/groff/site-tmac %{_datadir}/groff/site-tmac/tmac.andb %{_datadir}/groff/site-tmac/tmac.andocdb @@ -370,6 +389,6 @@ %dir %{_mandir}/tr %{_fillupdir}/sysconfig.cron-man %defattr(-,man,man) -%ghost %verify(not group)
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2019-03-12 09:48:19 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.28833 (New) Package is "man" Tue Mar 12 09:48:19 2019 rev:73 rq:682844 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2018-12-03 10:08:56.199789484 +0100 +++ /work/SRC/openSUSE:Factory/.man.new.28833/man.changes 2019-03-12 09:48:20.591598719 +0100 @@ -1,0 +2,24 @@ +Fri Mar 8 13:12:07 UTC 2019 - Dr. Werner Fink + +- Ah ... yes, manual pages are also provides by e.g. mandoc + +--- +Thu Mar 7 07:59:37 UTC 2019 - Dr. Werner Fink + +- Skip %verify(not link mtime) from symbolic links %_bindir even if + those should not hurt but avoid superfluous verify messages + +--- +Wed Mar 6 13:15:43 UTC 2019 - Dr. Werner Fink + +- Minor corrections on %ghost /var/cache/man and link to apropos + +--- +Wed Mar 6 11:47:58 UTC 2019 - Dr. Werner Fink + +- 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 + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.c1eMgD/_old 2019-03-12 09:48:24.111598016 +0100 +++ /var/tmp/diff_new_pack.c1eMgD/_new 2019-03-12 09:48:24.135598012 +0100 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,8 +21,6 @@ %define _fillupdir /var/adm/fillup-templates %endif -%bcond_with wrapman - Name: man BuildRequires: automake BuildRequires: flex @@ -37,6 +35,7 @@ BuildRequires: man-pages BuildRequires: pkg-config BuildRequires: po4a +BuildRequires: update-alternatives BuildRequires: xz-devel BuildRequires: zlib-devel Version:2.8.4 @@ -58,6 +57,8 @@ Requires: less Requires(pre): user(man) Requires(pre): group(man) +Requires(post): update-alternatives +Requires(preun): update-alternatives Source: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz Source1:sysconfig.cron-man Source2:cron.daily.do_mandb @@ -204,29 +205,39 @@ mkdir -p %{buildroot}%{_libexecdir}/man-db mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}/etc +mkdir -p %{buildroot}%{_mandir} +mkdir -p %{buildroot}%{_sysconfdir}/alternatives make nls=all install DESTDIR=%{buildroot} rm -vf %{buildroot}%{_libdir}/*.la mv %{buildroot}%{_datadir}/doc/man-db/man-db-manual.* \ %{buildroot}%{_datadir}/doc/packages/man/ # wrapper which drops roots privileges if root executes man or mandb -if test -x %{buildroot}%{_bindir}/mandb ; then - mv %{buildroot}%{_bindir}/mandb %{buildroot}%{_libexecdir}/man-db/ - install wrapper %{buildroot}%{_bindir}/mandb -fi -%if %{with wrapman} -if test -x %{buildroot}%{_bindir}/man ; then - mv %{buildroot}%{_bindir}/man %{buildroot}%{_libexecdir}/man-db/ - ln -sf mandb %{buildroot}%{_bindir}/man -fi -%endif -mkdir -p %{buildroot}%{_mandir} +mv -vf %{buildroot}%{_bindir}/man %{buildroot}%{_libexecdir}/man-db/ +mv -vf %{buildroot}%{_bindir}/mandb %{buildroot}%{_libexecdir}/man-db/ +rm -vf %{buildroot}%{_bindir}/apropos +mv -vf %{buildroot}%{_bindir}/whatis %{buildroot}%{_libexecdir}/man-db/ +install wrapper %{buildroot}%{_libexecdir}/man-db/ +ln -sf %{_libexecdir}/man-db/wrapper %{buildroot}%{_sysconfdir}/alternatives/man +ln -sf %{_libexecdir}/man-db/wrapper %{buildroot}%{_bindir}/mandb +ln -sf %{_libexecdir}/man-db/whatis %{buildroot}%{_sysconfdir}/alternatives/apropos +ln -sf %{_libexecdir}/man-db/whatis %{buildroot}%{_sysconfdir}/alternatives/whatis +ln -sf %{_sysconfdir}/alternatives/man %{buildroot}%{_bindir}/man +ln -sf %{_sysconfdir}/alternatives/apropos %{buildroot}%{_bindir}/apropos +ln -sf %{_sysconfdir}/alternatives/whatis %{buildroot}%{_bindir}/whatis pushd %{buildroot}%{_mandir}/ rm -rf *.ascii/ for d in *.UTF-8 ;
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2018-12-03 10:08:53 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.19453 (New) Package is "man" Mon Dec 3 10:08:53 2018 rev:72 rq:652353 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2018-04-22 14:31:40.130274984 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.19453/man.changes 2018-12-03 10:08:56.199789484 +0100 @@ -1,0 +2,99 @@ +Mon Nov 26 11:37:32 UTC 2018 - Dr. Werner Fink + +- 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. + + man now only changes working directory in child processes, so + never fails due to being unable to change back to its original + working directory. + + accessdb, apropos, and lexgrog no longer emit spurious gettext + headers in their --help output when localised. + * Major changes since man-db 2.8.1: + + Make seccomp sandbox allow kill and tgkill when the signal is + directed at the current process or one of its threads; this is + needed by xz. + + Make seccomp sandbox allow ioctl(fd, TIOCGWINSZ), since that's used + by musl. + + Work around the proprietary "ESET File Security" antivirus program in + seccomp sandbox: if this is in use then we need to allow some + socket-related system calls. + + Work around the "snoopy" execve() wrapper and logger in seccomp + sandbox: if this is in use then we need to allow some + socket-related system calls. + + Interpret EFAULT from seccomp_load as meaning that seccomp is + unavailable, since this can be returned by some versions of + qemu-user. + * Major changes since man-db 2.8.0: + + Fix seccomp sandbox build on Linux/POWER. + + Fix manconv execution under seccomp when man is installed setuid. + + Make seccomp sandbox allow mremap (used by iconv, for example). + + configure now has a --without-libseccomp option to disable the use + of seccomp even if the library is available. + * Major changes since man-db 2.7.6.1: + + Fix locale macro loading for Chinese to load the macro file + corresponding to just the language part of the user's locale. + + Honour --enable-cache-owner in generated systemd tmpfiles snippet + rather than hardcoding "man". + + If man adds prefixes to a page to handle such things as disabling + hyphenation, then take account of those when looking for a + preprocessor line at the start of the page. + + Fix a segfault in 'man -D --help'. + + Treat "\(en" as another synonym for "\-" in NAME sections. + + Confine most subprocesses that handle untrusted data using + seccomp. This mainly deals with subprocesses that perform + encoding conversions, (de)compressors, groff programs, and a few + other odds and ends. groff programs use a slightly more + permissive filter since they need to create temporary files, so + additional path-based confinement (e.g. using AppArmor) is still + useful. + If this goes wrong, then MAN_DISABLE_SECCOMP=1 can be set in the + environment to disable it, but please report any such problem as a + bug. + + man
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2018-04-22 14:31:35 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is "man" Sun Apr 22 14:31:35 2018 rev:71 rq:597110 version:2.7.6 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2017-12-14 10:51:45.784182997 +0100 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2018-04-22 14:31:40.130274984 +0200 @@ -1,0 +2,6 @@ +Mon Apr 16 14:25:43 UTC 2018 - wer...@suse.de + +- Skip cron job for cleaning /var/cache/man as there exists + /usr/lib/tmpfiles.d/man-db.conf + +--- Old: cron.daily.clean_catman Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.31uOQX/_old 2018-04-22 14:31:40.882247768 +0200 +++ /var/tmp/diff_new_pack.31uOQX/_new 2018-04-22 14:31:40.886247624 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -59,7 +59,6 @@ Source: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz Source1:sysconfig.cron-man Source2:cron.daily.do_mandb -Source3:cron.daily.clean_catman Source4:mancoding Source5:wrapper.c Source6:man-rpmlintrc @@ -240,7 +239,6 @@ mkdir -p %{buildroot}/etc/cron.daily install -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir} install -m 0744 %{SOURCE2} %{buildroot}/etc/cron.daily/suse-do_mandb -install -m 0744 %{SOURCE3} %{buildroot}/etc/cron.daily/suse-clean_catman mkdir -p %{buildroot}%{_unitdir}/ install -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/ @@ -272,7 +270,6 @@ %doc ChangeLog %doc %{_datadir}/doc/packages/man/man-db-manual.* %config /etc/manpath.config -%attr(0744,root,root) /etc/cron.daily/suse-clean_catman %attr(0744,root,root) /etc/cron.daily/suse-do_mandb %{_bindir}/apropos %{_bindir}/catman
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2017-12-14 10:51:44 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is "man" Thu Dec 14 10:51:44 2017 rev:70 rq:556007 version:2.7.6 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2017-12-06 08:47:35.773131132 +0100 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2017-12-14 10:51:45.784182997 +0100 @@ -1,0 +2,11 @@ +Thu Dec 7 17:33:26 CET 2017 - ku...@suse.de + +- 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. + +--- @@ -4 +15 @@ -- Make /var/ache/man a real directory as in system-user-man the +- Make /var/cache/man a real directory as in system-user-man the New: man-db-create.service Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.q3jlvU/_old 2017-12-14 10:51:46.792134339 +0100 +++ /var/tmp/diff_new_pack.q3jlvU/_new 2017-12-14 10:51:46.796134146 +0100 @@ -63,6 +63,7 @@ Source4:mancoding Source5:wrapper.c Source6:man-rpmlintrc +Source7:man-db-create.service Patch0: man-db-2.7.6.dif Patch1: man-db-2.6.3-man0.dif Patch2: man-db-2.3.19deb4.0-groff.dif @@ -195,6 +196,7 @@ %if %suse_version <= 1030 export MKDIR_P="mkdir -p" %endif +rm -rf %{buildroot}%{_localstatedir}/cache/man mkdir -p %{buildroot}%{_datadir}/doc/packages/man mkdir -p %{buildroot}%{_libexecdir}/man-db mkdir -p %{buildroot}%{_bindir} @@ -239,21 +241,30 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir} install -m 0744 %{SOURCE2} %{buildroot}/etc/cron.daily/suse-do_mandb install -m 0744 %{SOURCE3} %{buildroot}/etc/cron.daily/suse-clean_catman +mkdir -p %{buildroot}%{_unitdir}/ +install -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/ %find_lang man-db --all-name --with-man %pre test -d var/catman/ && rm -rf var/catman/ || true +%service_add_pre man-db-create.service %post %{?tmpfiles_create:%tmpfiles_create %{_libexecdir}/tmpfiles.d/man-db.conf} %{fillup_only -an cron} /sbin/ldconfig +%service_add_post man-db-create.service -%postun -p /sbin/ldconfig +%preun +%service_del_preun man-db-create.service + +%postun +/sbin/ldconfig +%service_del_postun man-db-create.service %posttrans -mandb --quiet --create +test -d /var/cache/man && mandb --quiet --create ||: %files -f man-db.lang %defattr(-,root,root) @@ -284,6 +295,7 @@ %dir %{_libexecdir}/tmpfiles.d %endif %{_libexecdir}/tmpfiles.d/man-db.conf +%{_unitdir}/man-db-create.service %dir %{_datadir}/groff/site-tmac %{_datadir}/groff/site-tmac/tmac.andb %{_datadir}/groff/site-tmac/tmac.andocdb @@ -292,8 +304,7 @@ %doc %{_mandir}/man8/*.8.gz %dir %{_mandir}/id %{_fillupdir}/sysconfig.cron-man -%dir %verify(not mode group) %attr(0755,man,man) %{_localstatedir}/cache/man/ %defattr(-,man,man) -%ghost %{_localstatedir}/cache/man/* +%ghost %{_localstatedir}/cache/man %changelog ++ man-db-create.service ++ [Unit] Description=Initialize /var/cache/man DefaultDependencies=no Wants=local-fs.target After=local-fs.target After=systemd-tmpfiles-setup.service ConditionPathExists=/var/cache/man ConditionPathExists=!/var/cache/man/index.db [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/mandb --quiet --create [Install] WantedBy=multi-user.target
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2017-12-06 08:47:34 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is "man" Wed Dec 6 08:47:34 2017 rev:69 rq:546425 version:2.7.6 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2017-11-25 08:40:42.366526849 +0100 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2017-12-06 08:47:35.773131132 +0100 @@ -1,0 +2,6 @@ +Wed Nov 29 12:44:41 UTC 2017 - wer...@suse.de + +- Make /var/ache/man a real directory as in system-user-man the + directory is gone + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.h4JkcX/_old 2017-12-06 08:47:36.605100671 +0100 +++ /var/tmp/diff_new_pack.h4JkcX/_new 2017-12-06 08:47:36.609100525 +0100 @@ -195,7 +195,6 @@ %if %suse_version <= 1030 export MKDIR_P="mkdir -p" %endif -rm -rf %{buildroot}%{_localstatedir}/cache/man mkdir -p %{buildroot}%{_datadir}/doc/packages/man mkdir -p %{buildroot}%{_libexecdir}/man-db mkdir -p %{buildroot}%{_bindir} @@ -240,6 +239,7 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir} install -m 0744 %{SOURCE2} %{buildroot}/etc/cron.daily/suse-do_mandb install -m 0744 %{SOURCE3} %{buildroot}/etc/cron.daily/suse-clean_catman + %find_lang man-db --all-name --with-man %pre @@ -292,6 +292,7 @@ %doc %{_mandir}/man8/*.8.gz %dir %{_mandir}/id %{_fillupdir}/sysconfig.cron-man +%dir %verify(not mode group) %attr(0755,man,man) %{_localstatedir}/cache/man/ %defattr(-,man,man) %ghost %{_localstatedir}/cache/man/*
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2017-11-25 08:40:41 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is "man" Sat Nov 25 08:40:41 2017 rev:68 rq:545114 version:2.7.6 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2017-03-29 13:20:22.156109757 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2017-11-25 08:40:42.366526849 +0100 @@ -1,0 +2,11 @@ +Thu Nov 23 13:40:41 UTC 2017 - rbr...@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +--- +Tue Nov 21 07:45:36 UTC 2017 - wer...@suse.de + +- Require package man-pages at build time for testing + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.PvooQp/_old 2017-11-25 08:40:44.366453984 +0100 +++ /var/tmp/diff_new_pack.PvooQp/_new 2017-11-25 08:40:44.370453838 +0100 @@ -16,6 +16,11 @@ # +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + %bcond_with wrapman Name: man @@ -29,6 +34,7 @@ BuildRequires: libbz2-devel BuildRequires: libpipeline-devel BuildRequires: libzio-devel +BuildRequires: man-pages BuildRequires: pkg-config BuildRequires: po4a BuildRequires: xz-devel @@ -229,9 +235,9 @@ mkdir -p %{buildroot}%{_datadir}/groff/site-tmac install -m 0644 groff/tmac.andb %{buildroot}%{_datadir}/groff/site-tmac/ install -m 0644 groff/tmac.andocdb %{buildroot}%{_datadir}/groff/site-tmac/ -mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates +mkdir -p %{buildroot}%{_fillupdir} mkdir -p %{buildroot}/etc/cron.daily -install -m 0644 %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates +install -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir} install -m 0744 %{SOURCE2} %{buildroot}/etc/cron.daily/suse-do_mandb install -m 0744 %{SOURCE3} %{buildroot}/etc/cron.daily/suse-clean_catman %find_lang man-db --all-name --with-man @@ -285,7 +291,7 @@ %doc %{_mandir}/man5/*.5.gz %doc %{_mandir}/man8/*.8.gz %dir %{_mandir}/id -%{_localstatedir}/adm/fillup-templates/sysconfig.cron-man +%{_fillupdir}/sysconfig.cron-man %defattr(-,man,man) %ghost %{_localstatedir}/cache/man/*
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2017-03-29 13:20:21 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is "man" Wed Mar 29 13:20:21 2017 rev:67 rq:478728 version:2.7.6 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2017-02-26 17:01:03.350534381 +0100 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2017-03-29 13:20:22.156109757 +0200 @@ -6,0 +7,5 @@ +Sat Jan 21 06:35:30 UTC 2017 - ku...@suse.com + +- Require user and group man + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.RmF78e/_old 2017-03-29 13:20:23.347941206 +0200 +++ /var/tmp/diff_new_pack.RmF78e/_new 2017-03-29 13:20:23.351940641 +0200 @@ -48,6 +48,8 @@ %endif Requires: groff >= 1.18 Requires: less +Requires(pre): user(man) +Requires(pre): group(man) Source: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz Source1:sysconfig.cron-man Source2:cron.daily.do_mandb
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2017-02-26 17:00:59 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is "man" Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2016-12-22 16:33:14.726810968 +0100 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2017-02-26 17:01:03.350534381 +0100 @@ -1,0 +2,5 @@ +Thu Feb 16 10:00:30 UTC 2017 - wer...@suse.de + +- Use _libexecdir instead of _prefix/lib + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.obcOtL/_old 2017-02-26 17:01:04.522356635 +0100 +++ /var/tmp/diff_new_pack.obcOtL/_new 2017-02-26 17:01:04.526356028 +0100 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -123,7 +123,7 @@ rm -f configure %global optflags %{optflags} -funroll-loops -pipe -Wall if grep -q _DEFAULT_SOURCE /usr/include/features.h ; then - CFLAGS="%{optflags} -D_DEFAULT_SOURCE" + CFLAGS="%{optflags} -D_GNU_SOURCE -D_DEFAULT_SOURCE" else CFLAGS="%{optflags} -D_GNU_SOURCE -D_SVID_SOURCE" fi @@ -189,7 +189,7 @@ %endif rm -rf %{buildroot}%{_localstatedir}/cache/man mkdir -p %{buildroot}%{_datadir}/doc/packages/man -mkdir -p %{buildroot}%{_prefix}/lib/man-db +mkdir -p %{buildroot}%{_libexecdir}/man-db mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}/etc make nls=all install DESTDIR=%{buildroot} @@ -198,12 +198,12 @@ %{buildroot}%{_datadir}/doc/packages/man/ # wrapper which drops roots privileges if root executes man or mandb if test -x %{buildroot}%{_bindir}/mandb ; then - mv %{buildroot}%{_bindir}/mandb %{buildroot}%{_prefix}/lib/man-db/ + mv %{buildroot}%{_bindir}/mandb %{buildroot}%{_libexecdir}/man-db/ install wrapper %{buildroot}%{_bindir}/mandb fi %if %{with wrapman} if test -x %{buildroot}%{_bindir}/man ; then - mv %{buildroot}%{_bindir}/man %{buildroot}%{_prefix}/lib/man-db/ + mv %{buildroot}%{_bindir}/man %{buildroot}%{_libexecdir}/man-db/ ln -sf mandb %{buildroot}%{_bindir}/man fi %endif
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2016-07-12 23:49:13 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is "man" Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2016-03-29 09:52:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2016-07-12 23:49:14.0 +0200 @@ -1,0 +2,6 @@ +Fri Jun 24 10:06:32 UTC 2016 - wer...@suse.de + +- Give man(1) command a home that is let pager less(1) handle its + history (boo#986211) + +--- Other differences: -- ++ wrapper.c ++ --- /var/tmp/diff_new_pack.WEPaez/_old 2016-07-12 23:49:16.0 +0200 +++ /var/tmp/diff_new_pack.WEPaez/_new 2016-07-12 23:49:16.0 +0200 @@ -102,6 +102,8 @@ printf ("%s\n", wlp->run); #endif if (ruid == 0 || euid == 0) { + static char *dummy_environ[] = { NULL }; + extern char **environ; struct passwd *pwd; char *cwd; @@ -142,6 +144,16 @@ return -EACCES; } free(cwd); + + cwd = getenv("TERM"); + environ = dummy_environ; + setenv("HOME", pwd->pw_dir, 1); + setenv("PATH", "/bin:/usr/bin", 1); + setenv("USER", pwd->pw_name, 1); + setenv("LOGNAME", pwd->pw_name, 1); + if (cwd) + setenv("TERM", cwd, 1); + envp = environ; } execve (wlp->run, argv, envp); perror ("execve");
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2016-03-29 09:52:33 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is "man" Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2015-06-09 08:48:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2016-03-29 09:52:35.0 +0200 @@ -1,0 +2,5 @@ +Mon Mar 21 15:04:48 UTC 2016 - bwiedem...@suse.com + +- Add reproducible.patch to fix build-compare (bnc#971922) + +--- New: reproducible.patch Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.0hxxhV/_old 2016-03-29 09:52:37.0 +0200 +++ /var/tmp/diff_new_pack.0hxxhV/_new 2016-03-29 09:52:37.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -63,6 +63,8 @@ Patch10:man-db-2.6.3-listall.dif # PATCH-FIX-SUSE Fixes the documentation for bnc#786679 Patch11:man-MAN_POSIXLY_CORRECT-man1.dif +# PATCH-FIX-SUSE Fixes build-compare bnc#971922 +Patch12:reproducible.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _sysconfdir /etc %global _has_tmpfiled %(rpm -q -f /usr/lib/tmpfiles.d | grep -c filesystem) @@ -90,6 +92,7 @@ %patch10 -p0 -b .listall %patch0 -p0 -b .0 %patch11 -p0 +%patch12 -p1 %build gettextize --force --copy --no-changelog ++ reproducible.patch ++ Index: man-db-2.7.1/manual/man_db.me === --- man-db-2.7.1.orig/manual/man_db.me +++ man-db-2.7.1/manual/man_db.me @@ -8,6 +8,7 @@ .\" Thu Sep 21 19:22:47 BST 1995 Wilf. (g.wilf...@ee.surrey.ac.uk) .\" .so version +.ds td - .ds U \s-1\fBUNIX\fR\s+1 .ds N \s-1\fBNROFF\fR\s+1 .ds T \s-1\fBTROFF\fR\s+1
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2015-06-09 08:48:17 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2015-06-01 09:25:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2015-06-09 08:48:18.0 +0200 @@ -1,0 +2,5 @@ +Mon Jun 8 08:31:52 UTC 2015 - wer...@suse.de + +- Allow root to use man command within its home + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.Ckem5a/_old 2015-06-09 08:48:19.0 +0200 +++ /var/tmp/diff_new_pack.Ckem5a/_new 2015-06-09 08:48:19.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ wrapper.c ++ --- /var/tmp/diff_new_pack.Ckem5a/_old 2015-06-09 08:48:20.0 +0200 +++ /var/tmp/diff_new_pack.Ckem5a/_new 2015-06-09 08:48:20.0 +0200 @@ -69,7 +69,6 @@ { uid_t ruid, euid; gid_t rgid; - struct passwd *pwd; argc = argc; /* not used */ @@ -103,6 +102,9 @@ printf (%s\n, wlp-run); #endif if (ruid == 0 || euid == 0) { + struct passwd *pwd; + char *cwd; + pwd = getpwnam (wlp-user); if (!pwd) { fprintf (stderr, _(%s: Failed su to user %s\n), wlp-prog, wlp-user); @@ -119,6 +121,10 @@ pwd-pw_gid = rgid; #endif } + if ((cwd = get_current_dir_name()) == NULL) { + fprintf (stderr, _(%s: Failed su to user %s\n), wlp-prog, wlp-user); + return -EACCES; + } if (setregid (rgid, pwd-pw_gid)) { fprintf (stderr, _(%s: Failed su to user %s\n), wlp-prog, wlp-user); return -EACCES; @@ -131,6 +137,11 @@ fprintf (stderr, _(%s: Failed su to user %s\n), wlp-prog, wlp-user); return -EACCES; } + if (access(cwd, X_OK) 0 chdir(pwd-pw_dir)) { + fprintf (stderr, _(%s: Failed su to user %s\n), wlp-prog, wlp-user); + return -EACCES; + } + free(cwd); } execve (wlp-run, argv, envp); perror (execve);
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2015-06-01 09:25:10 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2014-07-31 21:49:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2015-06-01 09:25:12.0 +0200 @@ -1,0 +2,66 @@ +Fri May 29 10:34:37 UTC 2015 - wer...@suse.de + +- Own /usr/lib/tmpfiles.d if not owned by package filesystem + +--- +Thu May 28 12:55:34 UTC 2015 - wer...@suse.de + +- Update to version 2.7.1 + For the first time since version 2.4.0, the database format has + changed slightly, so you will need to run 'mandb --create' after + installing the new version to rebuild your databases from scratch. +- Fixes + * Various portability fixes for Solaris, contributed by Peter Bray. + * man now runs correctly when its current working directory has been +deleted. (As a result of this fix, man-db now requires +libpipeline = 1.4.0.) + * 'man -a' sends its prompts to /dev/tty rather than to stderr, and +likewise reads replies from /dev/tty rather than from stdin. + * Be more careful to avoid using or double-closing closed database +handles. Fixes test suite failures on some systems. + * Patch the fdutimens function imported from Gnulib to work around a +libc bug in GNU/Hurd. + * Fix test suite in the case where the system supports +high-precision timestamps but the file system containing the build +directory does not. + * lexgrog now filters terminal escape sequences out of cat pages +before trying to parse them. + * Tools that consider the terminal line length now prioritise the +COLUMNS environment variable above the TIOCGWINSZ ioctl. + * Manpath elements are no longer canonicalised before being inserted +into the search path; this caused the use of incorrect catpaths in +some cases. This was broken by the LANGUAGE-handling fixes in +2.5.4. + * Remove test suite dependency on realpath(1). + * Fix a test failure when configured with --enable-undoc. + * Run the pager in man's original working directory rather than in +the manual hierarchy. (As a result of this fix, man-db now +requires libpipeline = 1.3.0.) + * mandb only creates a cache directory tag if the catpath is +different from the manpath, since it should only be created in +directories that consist entirely of cached information. +- Improvements + * Ship a systemd tmpfiles snippet to clean up old cat files after a +week. + * The modification time of manual databases is now simply stored in +the mtime of the database files themselves, rather than using a +special row. This makes databases reproducible between +otherwise-identical installations, as long as the underlying +database has predictable behaviour. As a bonus, man-db now uses +high-precision timestamps to determine whether it needs to update +databases. + * Timestamps of manual pages are also now stored in the database +with high precision and compared accordingly. + * Files are now ordered by first physical extent before reading +them, for substantial performance improvements in operations such +as mandb and 'man -K'. + * 'man -H' shows a better error message if no browser is configured. + * zsoelim is now installed in $pkglibexecdir, to avoid clashes with +other packages. +- Rename patches + man-db-2.6.5-firefox.dif becomes man-db-2.7.1-firefox.dif + man-db-2.6.5-security4.dif becomes man-db-2.7.1-security4.dif + man-db-2.6.5-zio.dif becomes man-db-2.7.1-zio.dif + man-db-2.6.5.dif becomes man-db-2.7.1.dif + +--- Old: man-db-2.6.5-firefox.dif man-db-2.6.5-security4.dif man-db-2.6.5-zio.dif man-db-2.6.5.dif man-db-2.6.6.tar.xz New: man-db-2.7.1-firefox.dif man-db-2.7.1-security4.dif man-db-2.7.1-zio.dif man-db-2.7.1.dif man-db-2.7.1.tar.xz Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.hm7oUb/_old 2015-06-01 09:25:13.0 +0200 +++ /var/tmp/diff_new_pack.hm7oUb/_new 2015-06-01 09:25:13.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,7 +31,7 @@ BuildRequires: po4a BuildRequires: xz-devel BuildRequires:
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2014-07-31 21:49:58 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2014-06-25 11:47:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2014-07-31 21:49:59.0 +0200 @@ -1,0 +2,11 @@ +Thu Jul 31 08:33:00 UTC 2014 - wer...@suse.de + +- The former change had added the patch man-MAN_POSIXLY_CORRECT-man1.dif + +--- +Tue Jul 29 19:40:08 UTC 2014 - aux...@gmail.com + +- Added description of MAN_POSIXLY_CORRECT in man.man1, + patch man-MAN_POSIXLY_CORRECT-man1.dif (bnc#786679) + +--- New: man-MAN_POSIXLY_CORRECT-man1.dif Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.sIptb9/_old 2014-07-31 21:50:00.0 +0200 +++ /var/tmp/diff_new_pack.sIptb9/_new 2014-07-31 21:50:00.0 +0200 @@ -60,6 +60,8 @@ Patch7: man-db-2.6.3-chinese.dif Patch9: man-db-2.6.5-zio.dif Patch10:man-db-2.6.3-listall.dif +# PATCH-FIX-SUSE Fixes the documentation for bnc#786679 +Patch11:man-MAN_POSIXLY_CORRECT-man1.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _sysconfdir /etc @@ -85,6 +87,7 @@ %patch9 -p0 -b .zio %patch10 -p0 -b .listall %patch0 -p0 -b .0 +%patch11 -p0 %build gettextize --force --copy --no-changelog ++ man-MAN_POSIXLY_CORRECT-man1.dif ++ --- man/man1/man.man1.bak 2014-07-29 19:12:02.574014758 +0300 +++ man/man1/man.man1 2014-07-29 19:14:06.522076369 +0300 @@ -1327,6 +1327,14 @@ .RB $ MAN_KEEP_STDERR is set to any non-empty value, error output will be displayed as usual. .TP +.if !'po4a'hide' .BR MAN_POSIXLY_CORRECT +If many man pages are available corresponding to the requested one, +.B %man% +will display them in a list, unless +.RB $ MAN_POSIXLY_CORRECT +is set, in which case the first page in the list will be displayed +automatically. +.TP .if !'po4a'hide' .BR LANG , LC_MESSAGES Depending on system and implementation, either or both of .RB $ LANG -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2014-06-25 11:47:14 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2013-09-14 19:08:57.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2014-06-25 11:47:16.0 +0200 @@ -1,0 +2,66 @@ +Tue Jun 10 15:13:45 UTC 2014 - wer...@suse.de + +- Avoid messages on deleted cache directories bewlow /var/cache/man/ + that is tag them as %ghost (bnc#882030) +- The former submit had rebased the patches + man-db-2.6.3.dif + man-db-2.6.3-security4.dif + man-db-2.6.3-firefox.dif + man-db-2.6.3-zio.dif + which now had renamed to + man-db-2.6.5.dif + man-db-2.6.5-security4.dif + man-db-2.6.5-firefox.dif + man-db-2.6.5-zio.dif + accordingly + +-- +Tue Apr 8 12:26:37 UTC 2014 - sweet_...@gmx.de + +- Update to version 2.6.6 +- Fixes since 2.6.3: + * man(1) and catman(8) now document the default section list set at +configure time. + * Build fixes for Automake 1.13. + * man-db 2.6.0 arranged to search the full manpath when expanding +.so directives in manual pages (so that .so name.1 works as well +as .so man1/name.1), but this incorrectly did not take effect +for manual pages that consist only of a .so directive. This is +now fixed. +- Improvements since 2.6.3: + * The MANLESS environment variable is now treated as if it were a +default value for the -r option to man: occurrences of the text +$MAN_PN are expanded, and explicitly using the -r option +overrides the default. + * The (unfortunately still hardcoded) maximum length for paths to +manual page hierarchies in the configuration file is now 511 +characters rather than 49. + * MANPATH entries now undergo glob(7)-style wildcard expansion, +allowing entries such as /opt/*/man. +- Fixes since 2.6.4: + * man's --warnings option works again on systems with versions of +groff that support it (broken in 2.6.4). + * man automatically falls back to C.UTF-8 and then en_GB.UTF-8 if +trying to find a UTF-8 locale on a system without +/usr/share/i18n/SUPPORTED. +- Fixes since 2.6.5: + * apropos's --and option now works again; it was broken by the +optimisations in 2.6.2. + * Restore compatibility with Automake 1.10. + * Improve support for translation of common elements of help +messages. + * Don't issue error messages when the database refers to a page that +no longer exists. + * Pass macro and hyphenation language tags to groff again (broken in +2.6.5). +- Improvements since 2.6.5: + * ./configure --with-override-dir=OVERRIDE arranges to look for +manual pages in DIR/OVERRIDE before each path element DIR. +- rebase following patches: + * man-db-2.6.3.dif + * man-db-2.6.3-security4.dif + * man-db-2.6.3-firefox.dif + * man-db-2.6.3-zio.dif +- enable checks + +--- Old: man-db-2.6.3-firefox.dif man-db-2.6.3-security4.dif man-db-2.6.3-zio.dif man-db-2.6.3.dif man-db-2.6.3.tar.xz New: man-db-2.6.5-firefox.dif man-db-2.6.5-security4.dif man-db-2.6.5-zio.dif man-db-2.6.5.dif man-db-2.6.6.tar.xz Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.hF8ojV/_old 2014-06-25 11:47:19.0 +0200 +++ /var/tmp/diff_new_pack.hF8ojV/_new 2014-06-25 11:47:19.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,7 +31,7 @@ BuildRequires: po4a BuildRequires: xz-devel BuildRequires: zlib-devel -Version:2.6.3 +Version:2.6.6 Release:0 Summary:A Program for Displaying man Pages License:GPL-2.0+ @@ -51,14 +51,14 @@ Source3:cron.daily.clean_catman Source4:mancoding Source5:wrapper.c -Patch0: man-db-%{version}.dif +Patch0: man-db-2.6.5.dif Patch1: man-db-2.6.3-man0.dif Patch2: man-db-2.3.19deb4.0-groff.dif Patch4: man-db-2.6.3-section.dif -Patch5: man-db-2.6.3-security4.dif -Patch6: man-db-2.6.3-firefox.dif +Patch5: man-db-2.6.5-security4.dif +Patch6: man-db-2.6.5-firefox.dif Patch7: man-db-2.6.3-chinese.dif -Patch9: man-db-2.6.3-zio.dif +Patch9:
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2013-09-14 19:08:55 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2013-06-19 14:47:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2013-09-14 19:08:57.0 +0200 @@ -1,0 +2,5 @@ +Thu Sep 12 11:33:08 UTC 2013 - mvysko...@suse.com + +- Recommends groff-full to reduce dependencies (bnc#839717) + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.E8VCMo/_old 2013-09-14 19:09:00.0 +0200 +++ /var/tmp/diff_new_pack.E8VCMo/_new 2013-09-14 19:09:00.0 +0200 @@ -41,10 +41,9 @@ Provides: man_db Requires: glibc-locale %if 0%{suse_version} 1300 -Requires: groff-full -%else -Requires: groff = 1.18 +Recommends: groff-full %endif +Requires: groff = 1.18 Requires: less Source: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz Source1:sysconfig.cron-man -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2013-06-19 14:47:10 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2013-04-23 11:33:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2013-06-19 14:47:13.0 +0200 @@ -1,0 +2,6 @@ +Mon Jun 17 09:23:47 UTC 2013 - wer...@suse.de + +- Just be able to print manual pages, that is require groff-full +- Be second owner of /usr/share/groff/site-tmac + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.cpcGzf/_old 2013-06-19 14:47:15.0 +0200 +++ /var/tmp/diff_new_pack.cpcGzf/_new 2013-06-19 14:47:15.0 +0200 @@ -40,7 +40,11 @@ PreReq: coreutils fillup Provides: man_db Requires: glibc-locale +%if 0%{suse_version} 1300 +Requires: groff-full +%else Requires: groff = 1.18 +%endif Requires: less Source: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz Source1:sysconfig.cron-man @@ -242,6 +246,7 @@ %attr(0755,man,man) %{_prefix}/lib/man-db/globbing %{_sbindir}/accessdb %{_libdir}/libman*.so +%dir %{_datadir}/groff/site-tmac %{_datadir}/groff/site-tmac/tmac.andb %{_datadir}/groff/site-tmac/tmac.andocdb %doc %{_mandir}/man1/*.1.gz -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2013-04-23 11:33:27 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2012-11-02 07:30:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2013-04-23 11:33:30.0 +0200 @@ -1,0 +2,11 @@ +Mon Apr 22 11:55:06 UTC 2013 - meiss...@suse.com + +- remove japanese manpages + +--- +Tue Apr 16 12:32:31 UTC 2013 - mmeis...@suse.com + +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.PWmYZQ/_old 2013-04-23 11:33:33.0 +0200 +++ /var/tmp/diff_new_pack.PWmYZQ/_new 2013-04-23 11:33:33.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,7 +42,7 @@ Requires: glibc-locale Requires: groff = 1.18 Requires: less -Source: man-db-%{version}.tar.xz +Source: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz Source1:sysconfig.cron-man Source2:cron.daily.do_mandb Source3:cron.daily.clean_catman @@ -190,6 +190,11 @@ for d in `find -name manpath.5.gz -printf '%%h '` ; do ln -sf manpath.5.gz $d/manpath.config.5.gz done + +# remove japanese pages, as they are in man-pages-ja +# (need to cross verify at some point that they are up to date there) +rm -rf ja + popd install -m 644 src/man_db.conf %{buildroot}%{_sysconfdir}/manpath.config sh ./mk_catdirs %{buildroot} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2012-11-02 07:30:56 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2012-10-12 08:13:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2012-11-02 07:30:59.0 +0100 @@ -1,0 +2,5 @@ +Mon Oct 29 12:55:03 UTC 2012 - wer...@suse.de + +- Make shadowed manual pages accessible (bnc#786679) + +--- Other differences: -- ++ man-db-2.6.3-listall.dif ++ --- /var/tmp/diff_new_pack.IbEgYf/_old 2012-11-02 07:31:03.0 +0100 +++ /var/tmp/diff_new_pack.IbEgYf/_new 2012-11-02 07:31:03.0 +0100 @@ -1,6 +1,6 @@ --- src/man.c -+++ src/man.c 2008-11-28 12:12:22.0 + -@@ -3712,12 +3712,132 @@ static int locate_page (const char *manp src/man.c 2012-10-29 13:48:02.134344676 +0100 +@@ -3712,12 +3712,141 @@ static int locate_page (const char *manp return found; } @@ -26,8 +26,9 @@ +#if defined(PROMPT_IF_MULTIPLE_SECTIONS) (PROMPT_IF_MULTIPLE_SECTIONS 1) + char reqsect[64] = { 0 }; + ssize_t len = 0; ++ int index = -1; ++ const char *lext; + do { -+ const char *lext; + struct sigaction sa; + int used = 0x2A; + @@ -56,12 +57,12 @@ + lext = NULL; + for (candp = candidates; candp; candp = candp-next) { + const struct mandata *info = candp-source; -+ const char *base = ; + + if (lext STREQ(lext, info-ext)) -+ base = +; ++ fprintf(stderr, %c %s (%s+%d), used, info-name, info-ext, candp-add_index); ++ else ++ fprintf(stderr, %c %s (%s), used, info-name, info-ext); + -+ fprintf(stderr, %c %s (%s%s), used, info-name, info-ext, base); + if (info-whatis) + fprintf(stderr, \t%s, info-whatis); + fputc('\n', stderr); @@ -97,6 +98,8 @@ + if ((end = strchr(reqsect, '+'))) { + plain = 1; + *end = '\0'; ++ if (*++end) ++ index = atoi(end); + } + reqsect[len] = '\0'; + len = (ssize_t)strlen(reqsect); @@ -109,6 +112,8 @@ + if (base !STREQ(base, /man)) + continue; + } ++ if (index = 0 index != candp-add_index) ++ continue; + if ((found = STREQ(reqsect, candp-source-ext))) + break; + } @@ -127,13 +132,17 @@ + if (base !STREQ(base, /man)) + continue; + } -+ if (len !STREQ(reqsect, candp-source-ext)) -+ continue; ++ if (len) { ++ if (!STREQ(reqsect, candp-source-ext)) ++ continue; ++ if (index = 0 index != candp-add_index) ++ continue; ++ } +#endif global_manpath = is_global_mandir (candp-path); if (!global_manpath) drop_effective_privs (); -@@ -3739,9 +3859,51 @@ static int display_pages (struct candida +@@ -3739,9 +3868,56 @@ static int display_pages (struct candida regain_effective_privs (); if (found !findall) @@ -167,13 +176,18 @@ + fputs(_(find all matching manual pages), stderr); + fputc('\n', stderr); + ++ lext = NULL; + do { + struct mandata *info = candp-source; -+ fprintf(stderr, %c %s (%s), used, info-name, info-ext); ++ if (lext STREQ(lext, info-ext)) ++ fprintf(stderr, %c %s (%s+%d), used, info-name, info-ext, candp-add_index); ++ else ++ fprintf(stderr, %c %s (%s),
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2012-10-12 08:06:46 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2012-10-07 19:53:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2012-10-12 08:13:13.0 +0200 @@ -1,0 +2,6 @@ +Tue Oct 9 15:20:03 UTC 2012 - wer...@suse.de + +- Avoid double free of pointer internal_locale due dup onto + pointer lang + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.w19TRB/_old 2012-10-12 08:13:16.0 +0200 +++ /var/tmp/diff_new_pack.w19TRB/_new 2012-10-12 08:13:16.0 +0200 @@ -81,7 +81,7 @@ %patch7 -p0 -b .chinese %patch9 -p0 -b .zio %patch10 -p0 -b .listall -%patch0 -p0 +%patch0 -p0 -b .0 %build gettextize --force --copy --no-changelog ++ man-db-2.6.3.dif ++ --- /var/tmp/diff_new_pack.w19TRB/_old 2012-10-12 08:13:16.0 +0200 +++ /var/tmp/diff_new_pack.w19TRB/_new 2012-10-12 08:13:16.0 +0200 @@ -1,5 +1,5 @@ --- configure.ac -+++ configure.ac 2008-08-12 13:32:24.0 + configure.ac 2012-10-09 15:25:13.090345177 + @@ -316,6 +316,14 @@ then fi @@ -33,41 +33,8 @@ if test -z $gzip then compressor=$compress -c mk_catdirs -+++ mk_catdirs 2009-08-03 11:22:19.0 + -@@ -0,0 +1,30 @@ -+#!/bin/sh -+ -+OLDPWD=`pwd` -+CACHE=$1/var/cache/man -+ -+ cats=cat{0,1,2,3,4,5,6,7,8,9,n} -+locale={ca,cs,da,de,en,es,et,fi,fr,ga,hu,is,it,ja,ko,nl,no,pl,pt,ru,sk,sr,sv,uk} -+ dirs={local,opt} -+ -+umask 022 -+test -d ${CACHE} rm -rf ${CACHE} -+mkdir -p ${CACHE} -+ -+catman=false -+grep -qE '#[[:blank:]]*define[[:blank:]]+MAN_CATS' include/manconfig.h catman=true -+cd ${CACHE} -+if $catman ; then -+eval echo ${cats} \ -+ ${locale}/${cats} \ -+ ${dirs}/${cats} \ -+ ${dirs}/${locale}/${cats} -+else -+eval echo ${locale} \ -+ ${dirs} \ -+ ${dirs}/${locale} -+fi | xargs mkdir -p -+sync -+cd ${OLDPWD} -+ -+test $(id -u) -ne 0 || chown man:man -R ${CACHE} --- include/comp_src.h.in -+++ include/comp_src.h.in 2007-12-10 11:51:50.0 + include/comp_src.h.in 2012-10-09 15:25:13.266345026 + @@ -53,7 +53,7 @@ struct compression comp_list[] = { #endif /* HAVE_GZIP */ @@ -78,7 +45,7 @@ /* Else if we have gzip, incorporate the following */ #elif defined (HAVE_GZIP) --- lib/security.c -+++ lib/security.c 2012-10-02 14:06:34.011008327 + lib/security.c 2012-10-09 15:25:13.374643928 + @@ -60,7 +60,10 @@ uid_t ruid; /* initial real user id */ @@ -142,7 +109,7 @@ } --- lib/util.c -+++ lib/util.c 2007-12-10 12:24:30.0 + lib/util.c 2012-10-09 15:25:13.482578481 + @@ -46,6 +46,9 @@ #include gettext.h @@ -154,7 +121,7 @@ #include error.h --- libdb/mydbm.h -+++ libdb/mydbm.h 2012-10-02 10:58:42.259008074 + libdb/mydbm.h 2012-10-09 15:25:13.574993382 + @@ -42,7 +42,7 @@ # include gdbm.h @@ -173,8 +140,41 @@ # define MYDBM_RWOPEN(file) btree_flopen(file, O_RDWR, DBMODE) # define MYDBM_RDOPEN(file) btree_flopen(file, O_RDONLY, DBMODE) # define MYDBM_INSERT(db, key, cont) btree_insert(db, key, cont) +--- mk_catdirs mk_catdirs 2012-10-09 15:25:13.182344989 + +@@ -0,0 +1,30 @@ ++#!/bin/sh ++ ++OLDPWD=`pwd` ++CACHE=$1/var/cache/man ++ ++ cats=cat{0,1,2,3,4,5,6,7,8,9,n} ++locale={ca,cs,da,de,en,es,et,fi,fr,ga,hu,is,it,ja,ko,nl,no,pl,pt,ru,sk,sr,sv,uk} ++ dirs={local,opt} ++ ++umask 022 ++test -d ${CACHE} rm -rf ${CACHE} ++mkdir -p ${CACHE} ++ ++catman=false ++grep -qE '#[[:blank:]]*define[[:blank:]]+MAN_CATS' include/manconfig.h catman=true ++cd ${CACHE} ++if $catman ; then ++eval echo ${cats} \ ++ ${locale}/${cats} \ ++ ${dirs}/${cats} \ ++ ${dirs}/${locale}/${cats} ++else ++eval echo ${locale} \ ++ ${dirs} \ ++ ${dirs}/${locale} ++fi | xargs mkdir -p ++sync ++cd ${OLDPWD} ++ ++test $(id -u) -ne 0 || chown man:man -R ${CACHE} --- src/Makefile.am -+++ src/Makefile.am2012-10-02 15:19:49.371507288 + src/Makefile.am2012-10-09 15:25:13.666345062 + @@ -167,15 +167,9 @@ apropos$(EXEEXT): whatis$(EXEEXT) all-am: apropos$(EXEEXT) @@ -195,7 +195,7 @@ install-data-hook: @if test -f $(DESTDIR)$(config_file); then \ --- src/check_mandirs.c -+++ src/check_mandirs.c2012-10-02 15:24:45.411047275 +
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2012-10-07 19:52:19 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2012-09-14 12:30:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2012-10-07 19:53:35.0 +0200 @@ -1,0 +2,271 @@ +Thu Oct 4 09:16:16 UTC 2012 - wer...@suse.de + +- Update to version 2.6.3 + * Build fixes for glibc 2.16 and Automake 1.12. + * apropos prints an error message and returns non-zero when it finds +no matches. (Regression introduced in 2.5.1.) + * The presence of a 64-bit GDBM database on the manpath no longer +causes a 32-bit man process to exit with a fatal error. + * apropos is much faster when run with many arguments. + * whatis may be given the full path to an executable as an argument, +in which case it will look up the base name of that executable in +the appropriate parts of the manpath. + * Translated manual pages are no longer displayed starting with a +spurious blank line. + * Fix double-free in mandb when encountering a symlink outside the +manual hierarchy, thanks to Peter Schiffer. + * Running 'man -w' (with a new --path alias) without a name now +prints the manpath, for compatibility with other man +implementations. The vim viewdoc plugin makes use of this. + * Fix a segfault when scanning links to empty pages. + * Once we've seen at least one record in a page's NAME section, +ignore any further records that don't include a whatis +description, as they tend to be noise. + * Ensure that the target of a symlink or .so chain is always recorded +as a real page. + * Read a user-specified configuration file even if HOME is unset. + * Fix failure to display manual pages in some encodings when +installed setuid. + * Wrap long table cells in man(1), fixing test failures with groff +1.21. + * If an explicit section is passed to man, then pages that match +that section exactly will be preferred over pages that only have +that section as a prefix. + * Fix a segfault when 'man -K' tries to display certain pages. + * Fix a segfault in some situations when processes are killed by +SIGHUP, SIGINT, or SIGTERM. + * As promised in the release notes for man-db 2.5.8, man-db no +longer ships its own copy of libpipeline +(http://libpipeline.nongnu.org/). You must build and install that +library separately. + * Search the full manpath when expanding .so directives in manual +pages. As part of this, '.so name.1' should now work as well as +'.so man1/name.1'. + * lexgrog handles roff named glyphs and perldoc strings in NAME +sections. + * man no longer starts a pager if standard output is not a tty. + * The -s option to whatis and apropos now takes a colon- or +comma-separated list of sections, similar to 'man -S'. + * mandb error output is neater when stderr is not a terminal. + * Add basic support for the implementation of nroff/troff in the +Heirloom Documentation Tools. Title lengths are not properly set +as yet, and many features are untested. + * mandb removes cat* and NLS subdirectories of cat directories whose +corresponding man directories no longer exist. + * mandb forces SIGPIPE back to its default disposition on startup, +to avoid noisy output in case it was started in a context where +SIGPIPE was ignored. + * SECTION entries in a user configuration file now override those in +the system configuration file, rather than appending to them. + * The default less prompt now includes (press h for help or q to +quit) to help novices find their way around. + * man-db may now be built to use Berkeley DB version 5 +(--with-db=db5). + * Fix assertion failure on 'man -l' with an uncompressed page and +any of --no-hyphenation, --no-justification, or a non-English +page. + * Try underscore-separated subpages as well as hyphen-separated +ones, thanks to Tanguy Ortolo. + * Build libman and libmandb as shared libraries, reducing installed +footprint by about 200K (at least on GNU/Linux). + * Warnings about unrecognised locales are now suppressed if the +DPKG_RUNNING_VERSION environment variable is set (i.e. man-db is +running within a Debian package's maintainer script), since the +system locales are often out of sync with the C library in that +context. Thanks to the Debian Perl maintainers for the idea. + * Allow building with an external libpipeline +(http://libpipeline.nongnu.org/), which has been split out from +man-db. This is a transitional measure: a future version of +man-db will stop
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2012-09-14 12:30:32 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2012-07-02 11:04:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2012-09-14 12:30:53.0 +0200 @@ -1,0 +2,5 @@ +Tue Sep 4 13:44:08 UTC 2012 - co...@suse.com + +- move man page directories to filesystem + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.b1Iji7/_old 2012-09-14 12:31:01.0 +0200 +++ /var/tmp/diff_new_pack.b1Iji7/_new 2012-09-14 12:31:01.0 +0200 @@ -244,11 +244,6 @@ %{_sbindir}/accessdb %{_datadir}/groff/site-tmac/tmac.andb %{_datadir}/groff/site-tmac/tmac.andocdb -%dir %{_mandir}/de -%dir %{_mandir}/es -%dir %{_mandir}/fr -%dir %{_mandir}/it -%dir %{_mandir}/ja %doc %{_mandir}/man1/*.1.gz %doc %{_mandir}/man5/*.5.gz %doc %{_mandir}/man8/*.8.gz -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2012-07-02 11:04:06 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2012-05-31 17:07:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2012-07-02 11:04:08.0 +0200 @@ -1,0 +2,13 @@ +Mon Jul 2 05:08:10 UTC 2012 - co...@suse.com + +- merge the automake 1.12 patches + +--- +Thu Jun 28 09:48:13 UTC 2012 - i...@marguerite.su + +- fix build for openSUSE. + * AM_PROG_AR +- fix 12.2 builds + * replace depreciated am_prog_mkdir_p with ac_prog_mkdir_p. + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.SihOcY/_old 2012-07-02 11:04:11.0 +0200 +++ /var/tmp/diff_new_pack.SihOcY/_new 2012-07-02 11:04:11.0 +0200 @@ -87,7 +87,9 @@ %patch12 -p0 -b .fp %patch13 -p0 -b .fhs %patch0 -p0 +%if 0%{?suse_version} 1210 %patch14 -p1 +%endif %build gettextize --force --copy --no-changelog ++ automake-1.12.patch ++ --- /var/tmp/diff_new_pack.SihOcY/_old 2012-07-02 11:04:11.0 +0200 +++ /var/tmp/diff_new_pack.SihOcY/_new 2012-07-02 11:04:11.0 +0200 @@ -11,3 +11,76 @@ dnl dnl check for system defaults dnl +diff -urN man-db-2.5.2.orig/aclocal.m4 man-db-2.5.2/aclocal.m4 +--- man-db-2.5.2.orig/aclocal.m4 2012-07-02 05:51:00.699476202 +0800 man-db-2.5.2/aclocal.m42012-07-02 05:51:15.795287476 +0800 +@@ -449,7 +449,7 @@ + AM_MISSING_PROG(MAKEINFO, makeinfo) + AM_PROG_INSTALL_SH + AM_PROG_INSTALL_STRIP +-AC_REQUIRE([AM_PROG_MKDIR_P])dnl ++AC_REQUIRE([AC_PROG_MKDIR_P])dnl + # We need awk for the check target. The system awk is bad on + # some platforms. + AC_REQUIRE([AC_PROG_AWK])dnl +@@ -625,10 +625,10 @@ + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# AM_PROG_MKDIR_P ++# AC_PROG_MKDIR_P + # --- + # Check for `mkdir -p'. +-AC_DEFUN([AM_PROG_MKDIR_P], ++AC_DEFUN([AC_PROG_MKDIR_P], + [AC_PREREQ([2.60])dnl + AC_REQUIRE([AC_PROG_MKDIR_P])dnl + dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +diff -urN man-db-2.5.2.orig/configure.ac man-db-2.5.2/configure.ac +--- man-db-2.5.2.orig/configure.ac 2012-07-02 05:51:00.679476451 +0800 man-db-2.5.2/configure.ac 2012-07-02 06:39:30.342100663 +0800 +@@ -4,7 +4,7 @@ + # Initialise and check we're in the correct directory. + AC_INIT([man-db], [2.5.2], [cjwat...@debian.org]) + AC_CONFIG_AUX_DIR(tools) +-AM_INIT_AUTOMAKE([1.10 -Wall -Werror foreign]) ++AM_INIT_AUTOMAKE([1.10 -Wall foreign]) + AC_PREREQ([2.59]) + AC_CONFIG_SRCDIR(src/man.c) + +diff -urN man-db-2.5.2.orig/gnulib/m4/gnulib-common.m4 man-db-2.5.2/gnulib/m4/gnulib-common.m4 +--- man-db-2.5.2.orig/gnulib/m4/gnulib-common.m4 2012-07-02 05:51:00.657476726 +0800 man-db-2.5.2/gnulib/m4/gnulib-common.m42012-07-02 05:51:15.795287476 +0800 +@@ -36,7 +36,7 @@ + # Remove this macro when we can assume autoconf = 2.60. + m4_ifdef([AC_PROG_MKDIR_P], [], [ + AC_DEFUN([AC_PROG_MKDIR_P], +-[AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake ++[AC_REQUIRE([AC_PROG_MKDIR_P])dnl defined by automake + MKDIR_P='$(mkdir_p)' + AC_SUBST([MKDIR_P])])]) + +diff -urN man-db-2.5.2.orig/m4/intl.m4 man-db-2.5.2/m4/intl.m4 +--- man-db-2.5.2.orig/m4/intl.m4 2012-07-02 05:51:00.681476426 +0800 man-db-2.5.2/m4/intl.m42012-07-02 05:51:15.796287464 +0800 +@@ -25,7 +25,7 @@ + AC_DEFUN([AM_INTL_SUBDIR], + [ + AC_REQUIRE([AC_PROG_INSTALL])dnl +- AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake ++ AC_REQUIRE([AC_PROG_MKDIR_P])dnl defined by automake + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + AC_REQUIRE([gt_GLIBC2])dnl +diff -urN man-db-2.5.2.orig/m4/po.m4 man-db-2.5.2/m4/po.m4 +--- man-db-2.5.2.orig/m4/po.m4 2012-07-02 05:51:00.681476426 +0800 man-db-2.5.2/m4/po.m4 2012-07-02 05:51:15.796287464 +0800 +@@ -24,7 +24,7 @@ + [ + AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AC_PROG_INSTALL])dnl +- AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake ++ AC_REQUIRE([AC_PROG_MKDIR_P])dnl defined by automake + AC_REQUIRE([AM_NLS])dnl + + dnl Release version of the gettext macros. This is used to ensure that -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2012-05-31 17:06:58 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2011-12-26 16:28:52.0 +0100 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2012-05-31 17:07:01.0 +0200 @@ -1,0 +2,6 @@ +Tue May 29 12:39:10 UTC 2012 - pu...@suse.com + +- fix build with automake-1.12 + - add: automake-1.12.patch + +--- New: automake-1.12.patch Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.uBxNb7/_old 2012-05-31 17:07:03.0 +0200 +++ /var/tmp/diff_new_pack.uBxNb7/_new 2012-05-31 17:07:03.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: man BuildRequires: automake BuildRequires: flex @@ -34,7 +35,9 @@ Url:https://savannah.nongnu.org/projects/man-db PreReq: coreutils fillup Provides: man_db -Requires: groff = 1.18 less glibc-locale +Requires: glibc-locale +Requires: groff = 1.18 +Requires: less Source: man-db-%{version}.tar.bz2 Source1:sysconfig.cron-man Source2:cron.daily.do_mandb @@ -53,6 +56,7 @@ Patch11:man-db-%{version}-catp.dif Patch12:man-db-2.5.2-fastpipe.dif Patch13:man-db-2.5.2-fhs.dif +Patch14:automake-1.12.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _sysconfdir /etc @@ -83,6 +87,7 @@ %patch12 -p0 -b .fp %patch13 -p0 -b .fhs %patch0 -p0 +%patch14 -p1 %build gettextize --force --copy --no-changelog @@ -115,6 +120,7 @@ %if %suse_version 1030 aclocal -I ${PWD}/m4 -I ${PWD}/gnulib/m4 autoconf -B ${PWD}/m4 -B ${PWD}/gnulib/m4 +automake --add-missing %else sed -ri 's/(m4_PACKAGE_VERSION,[[:blank:]]*\[)2.61(\])/\12.60\2/' aclocal.m4 sed -ri 's/(AM_INIT_AUTOMAKE\(\[)1.10/\11.9.6/' configure.ac ++ automake-1.12.patch ++ Index: man-db-2.5.2/configure.ac === --- man-db-2.5.2.orig/configure.ac +++ man-db-2.5.2/configure.ac @@ -20,6 +20,8 @@ dnl AC_PROG_CC AC_PROG_CPP AC_GNU_SOURCE +AM_PROG_AR +AM_PROG_CC_C_O dnl dnl check for system defaults dnl -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2011-12-26 16:28:51 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2011-12-06 16:23:19.0 +0100 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2011-12-26 16:28:52.0 +0100 @@ -1,0 +2,5 @@ +Sun Dec 25 22:22:18 UTC 2011 - co...@suse.com + +- cleanup spec file + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.QNECC7/_old 2011-12-26 16:28:53.0 +0100 +++ /var/tmp/diff_new_pack.QNECC7/_new 2011-12-26 16:28:53.0 +0100 @@ -18,30 +18,20 @@ Name: man BuildRequires: automake BuildRequires: flex -BuildRequires: groff -%if %suse_version 1020 BuildRequires: gdbm-devel +BuildRequires: gettext-runtime +BuildRequires: gettext-tools +BuildRequires: groff BuildRequires: less BuildRequires: libbz2-devel BuildRequires: libzio-devel BuildRequires: zlib-devel -%else -BuildRequires: libzio -BuildRequires: util-linux -%endif -%if %suse_version 1030 -BuildRequires: gettext-runtime -BuildRequires: gettext-tools -%else -BuildRequires: gettext -BuildRequires: gettext-devel -%endif Version:2.5.2 Release:0 Summary:A Program for Displaying man Pages License:GPL-2.0+ -Url:https://savannah.nongnu.org/projects/man-db Group: System/Base +Url:https://savannah.nongnu.org/projects/man-db PreReq: coreutils fillup Provides: man_db Requires: groff = 1.18 less glibc-locale @@ -95,10 +85,7 @@ %patch0 -p0 %build -%{?suse_update_config:%{suse_update_config -f tools }} -%if %suse_version 1030 gettextize --force --copy --no-changelog -%endif SEC=(0 1 n l 8 3 2 5 4 9 6 7 1x 3x 4x 5x 6x 8x 1bind 3bind 5bind 7bind 8bind -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit man for openSUSE:Factory
Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2011-12-06 16:23:16 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new (New) Package is man, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2011-09-23 02:12:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.man.new/man.changes 2011-12-06 16:23:19.0 +0100 @@ -1,0 +2,5 @@ +Thu Dec 1 11:22:35 UTC 2011 - co...@suse.com + +- add automake as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.aCrBLn/_old 2011-12-06 16:23:20.0 +0100 +++ /var/tmp/diff_new_pack.aCrBLn/_new 2011-12-06 16:23:20.0 +0100 @@ -15,31 +15,36 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: man -BuildRequires: flex groff +BuildRequires: automake +BuildRequires: flex +BuildRequires: groff %if %suse_version 1020 -BuildRequires: gdbm-devel less libbz2-devel libzio-devel zlib-devel +BuildRequires: gdbm-devel +BuildRequires: less +BuildRequires: libbz2-devel +BuildRequires: libzio-devel +BuildRequires: zlib-devel %else -BuildRequires: libzio util-linux +BuildRequires: libzio +BuildRequires: util-linux %endif %if %suse_version 1030 -BuildRequires: gettext-runtime gettext-tools +BuildRequires: gettext-runtime +BuildRequires: gettext-tools %else -BuildRequires: gettext gettext-devel +BuildRequires: gettext +BuildRequires: gettext-devel %endif Version:2.5.2 -Release:35 +Release:0 Summary:A Program for Displaying man Pages -License:GPLv2+ +License:GPL-2.0+ Url:https://savannah.nongnu.org/projects/man-db Group: System/Base PreReq: coreutils fillup Provides: man_db Requires: groff = 1.18 less glibc-locale -AutoReqProv:on Source: man-db-%{version}.tar.bz2 Source1:sysconfig.cron-man Source2:cron.daily.do_mandb -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org