commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2024-06-06 12:31:23 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.24587 (New) Package is "man" Thu Jun 6 12:31:23 2024 rev:102 rq:1178471 version:2.12.1 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2024-02-21 17:51:53.625482490 +0100 +++ /work/SRC/openSUSE:Factory/.man.new.24587/man.changes 2024-06-06 12:31:37.670307798 +0200 @@ -1,0 +2,20 @@ +Tue Jun 4 08:10:47 UTC 2024 - Dr. Werner Fink + +- Update to 2.12.1 (5 April 2024) + * Fix excessive cleanup of `/var/cache/man` by `systemd-tmpfiles`. + * `man` matches the display width more accurately to the configured width. + * Upgrade to Gnulib `stable-202401`. + * Mention `groff`'s `pdf` device in `man(1)`. + * Speed up `seccomp` filter slightly. + * Document how to format pages using italic rather than underlined text. + * Remove the obsolete `chconfig` tool for converting man-db configuration +files to the FHS. This transition took place almost 25 years ago (at +least in Debian), so it's not worth keeping it around now. +- Remove patch man-db-2.9.4-alternitive.dif now upstream +- Port the patches + * man-db-2.6.3-listall.dif + * man-db-2.7.1-zio.dif + * man-db-2.9.4.patch + * man-propose-online.patch + +--- Old: man-db-2.12.0.tar.xz man-db-2.12.0.tar.xz.asc man-db-2.9.4-alternitive.dif New: man-db-2.12.1.tar.xz man-db-2.12.1.tar.xz.asc Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.WdunZ5/_old 2024-06-06 12:31:38.394334180 +0200 +++ /var/tmp/diff_new_pack.WdunZ5/_new 2024-06-06 12:31:38.394334180 +0200 @@ -26,7 +26,7 @@ %global optflags %{optflags} %{**} %bcond_without sdtimer Name: man -Version:2.12.0 +Version:2.12.1 Release:0 Summary:A Program for Displaying man Pages License:GPL-2.0-or-later @@ -56,7 +56,6 @@ Patch8: man-db-2.9.4.patch # PATCH-FEATURE-OPENSUSE -- Add documentation about man0 section (header files) Patch9: man-db-2.6.3-man0.dif -Patch10:man-db-2.9.4-alternitive.dif # PATCH-FEATURE-OPENSUSE -- Propose to read man pages online Patch12:man-propose-online.patch BuildRequires: automake @@ -104,7 +103,6 @@ %patch -P7 -p1 -b .p7 %patch -P8 -p1 -b .p8 %patch -P9 -b .p9 -%patch -P10 -b .libalernative rm -f configure %patch -P12 -p1 -b .p12 ++ man-db-2.12.0.tar.xz -> man-db-2.12.1.tar.xz ++ 73163 lines of diff (skipped) ++ man-db-2.6.3-listall.dif ++ --- /var/tmp/diff_new_pack.WdunZ5/_old 2024-06-06 12:31:39.134361149 +0200 +++ /var/tmp/diff_new_pack.WdunZ5/_new 2024-06-06 12:31:39.138361295 +0200 @@ -5,7 +5,7 @@ --- man/man1/man.man1 +++ man/man1/man.man1 2022-08-17 13:11:29.974677243 + -@@ -1226,6 +1226,14 @@ However, some users want to see them any +@@ -1246,6 +1246,14 @@ However, some users want to see them any .RB $ MAN_KEEP_STDERR is set to any non-empty value, error output will be displayed as usual. .TP @@ -22,7 +22,7 @@ .B %man% --- src/man.c +++ src/man.c 2022-08-17 13:10:07.436205495 + -@@ -3641,12 +3641,141 @@ static int locate_page (const char *manp +@@ -3671,12 +3671,141 @@ static int locate_page (const char *manp return found; } @@ -164,7 +164,7 @@ global_manpath = is_global_mandir (candp->path); if (!global_manpath) drop_effective_privs (); -@@ -3668,9 +3797,56 @@ static int display_pages (struct candida +@@ -3698,9 +3827,56 @@ static int display_pages (struct candida regain_effective_privs (); if (found && !findall) ++ man-db-2.7.1-zio.dif ++ --- /var/tmp/diff_new_pack.WdunZ5/_old 2024-06-06 12:31:39.158362023 +0200 +++ /var/tmp/diff_new_pack.WdunZ5/_new 2024-06-06 12:31:39.162362169 +0200 @@ -6,7 +6,7 @@ --- config.h.in +++ config.h.in2023-08-15 08:21:20.473974597 + -@@ -1015,6 +1015,9 @@ +@@ -1138,6 +1138,9 @@ /* Define to 1 if you have the `z' library (-lz). */ #undef HAVE_LIBZ ++ man-db-2.9.4.patch ++ --- /var/tmp/diff_new_pack.WdunZ5/_old 2024-06-06 12:31:39.178362752 +0200 +++ /var/tmp/diff_new_pack.WdunZ5/_new 2024-06-06 12:31:39.182362899 +0200 @@ -143,8 +143,8 @@ -static void mkcatdirs (const char *mandir, const char *catdir) +void mkcatdirs (const char *mandir, const char *catdir) { - char *manname, *catname; - + if (catdir) { + char *manname, *catname; @@ -409,9 +409,14 @@ static void mkcatdirs (const char *
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2024-02-21 17:51:51 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.1706 (New) Package is "man" Wed Feb 21 17:51:51 2024 rev:101 rq:1147518 version:2.12.0 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2024-02-15 21:00:22.599942971 +0100 +++ /work/SRC/openSUSE:Factory/.man.new.1706/man.changes2024-02-21 17:51:53.625482490 +0100 @@ -1,0 +2,5 @@ +Mon Feb 19 07:21:59 UTC 2024 - Dr. Werner Fink + +- We don't need anymore systemd-tmpfiles (boo#1219370#c13) + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.l3BacF/_old 2024-02-21 17:51:54.337508263 +0100 +++ /var/tmp/diff_new_pack.l3BacF/_new 2024-02-21 17:51:54.341508407 +0100 @@ -354,7 +354,6 @@ done fi # With fallback for systemdless containers -%{?tmpfiles_create:%tmpfiles_create %{_prefix}/lib/tmpfiles.d/man-db.conf} if test ! -d %{_localstatedir}/cache/man then # Simply for systemdless containers
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2024-02-09 23:51:45 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.1815 (New) Package is "man" Fri Feb 9 23:51:45 2024 rev:99 rq:1145198 version:2.12.0 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2024-01-26 22:46:21.290226521 +0100 +++ /work/SRC/openSUSE:Factory/.man.new.1815/man.changes2024-02-09 23:51:52.301994834 +0100 @@ -1,0 +2,5 @@ +Thu Feb 8 10:48:51 UTC 2024 - Dr. Werner Fink + +- Make lua scriplets more failsafe (boo#1219370) + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.eLv4yn/_old 2024-02-09 23:51:53.066022366 +0100 +++ /var/tmp/diff_new_pack.eLv4yn/_new 2024-02-09 23:51:53.066022366 +0100 @@ -286,10 +286,22 @@ %filetriggerin -p -- %{_mandir} %endif %trigger_functions -stat = posix.stat("/var/cache/man/index.db") +stat = posix.stat("%{_localstatedir}/cache/man/index.db") if stat then execute("%{_bindir}/mandb", "--quiet") else +domkdir = false +stat = posix.stat("%{_localstatedir}/cache/man") +if not stat then +domkdir = true +elseif not (stat.type == "directory") then +domkdir = true +os.remove("%{_localstatedir}/cache/man") +end +if domkdir then +posix.mkdir("%{_localstatedir}/cache/man") +posix.chown("%{_localstatedir}/cache/man", "man", "man") +end execute("%{_bindir}/mandb", "--quiet", "--create") end @@ -299,10 +311,22 @@ %filetriggerpostun -p -- %{_mandir} %endif %trigger_functions -stat = posix.stat("/var/cache/man/index.db") +stat = posix.stat("%{_localstatedir}/cache/man/index.db") if stat then execute("%{_bindir}/mandb", "--quiet") else +domkdir = false +stat = posix.stat("%{_localstatedir}/cache/man") +if not stat then +domkdir = true +elseif not (stat.type == "directory") then +domkdir = true +os.remove("%{_localstatedir}/cache/man") +end +if domkdir then +posix.mkdir("%{_localstatedir}/cache/man") +posix.chown("%{_localstatedir}/cache/man", "man", "man") +end execute("%{_bindir}/mandb", "--quiet", "--create") end @@ -332,7 +356,7 @@ fi # Simply for systemdless containers getent group man > /dev/null || groupadd -r man -getent passwd man > /dev/null || useradd -r -g man -d /var/cache/man -s /sbin/nologin -c "Manual pages viewer" man +getent passwd man > /dev/null || useradd -r -g man -d %{_localstatedir}/cache/man -s /sbin/nologin -c "Manual pages viewer" man %post %{fillup_only -an cron} @@ -367,6 +391,7 @@ then # Simply for systemdless containers umask 022 + rm -f %{_localstatedir}/cache/man mkdir -p %{_localstatedir}/cache/man chown -R man:man %{_localstatedir}/cache/man fi
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2024-01-26 22:46:17 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.1815 (New) Package is "man" Fri Jan 26 22:46:17 2024 rev:98 rq:1141710 version:2.12.0 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2023-10-20 23:17:15.635600311 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.1815/man.changes2024-01-26 22:46:21.290226521 +0100 @@ -1,0 +2,8 @@ +Fri Jan 26 09:26:57 UTC 2024 - Dr. Werner Fink + +- Skip posttrans dependency on systemd to support container without + systemd (boo#1215538) +- Use %(trans)filetriggerin and %(trans)filetriggerpostun to get + an uptodate man database for installed manual pages + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.edd1Fx/_old 2024-01-26 22:46:23.594309497 +0100 +++ /var/tmp/diff_new_pack.edd1Fx/_new 2024-01-26 22:46:23.598309641 +0100 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -84,7 +84,6 @@ # FIXME: use proper Requires(pre/post/preun/...) PreReq: coreutils PreReq: fillup -Requires(posttrans):systemd Requires(pre): group(man) Requires(pre): user(man) Provides: man_db @@ -98,17 +97,17 @@ %prep %setup -q -n man-db-%{version} -%patch0 -b .groff -%patch3 -b .chinese -%patch4 -b .zio -%patch5 -b .listall -%patch6 -p1 -b .p6 -%patch7 -p1 -b .p7 -%patch8 -p1 -b .p8 -%patch9 -b .p9 -%patch10 -b .libalernative +%patch -P 0 -b .groff +%patch -P3 -b .chinese +%patch -P4 -b .zio +%patch -P5 -b .listall +%patch -P6 -p1 -b .p6 +%patch -P7 -p1 -b .p7 +%patch -P8 -p1 -b .p8 +%patch -P9 -b .p9 +%patch -P10 -b .libalernative rm -f configure -%patch12 -p1 -b .p12 +%patch -P12 -p1 -b .p12 %build %global optflags %{optflags} -funroll-loops -pipe -Wall @@ -262,6 +261,51 @@ %find_lang man-db --all-name --with-man +%global trigger_functions %{expand: +-- Check if rpm.execute() as function call is given +if type(rpm.execute) == "function" then + execute = rpm.execute +else + function execute(path, ...) +local pid = posix.fork() +if not pid then + error(path .. ": fork failed: " .. posix.errno() .. "\n") +elseif pid == 0 then + assert(posix.exec(path, ...)) +else + posix.wait(pid) +end + end +end +-- +} + +%if 0%{?suse_version} >= 1699 +%transfiletriggerin -p -- %{_mandir} +%else +%filetriggerin -p -- %{_mandir} +%endif +%trigger_functions +stat = posix.stat("/var/cache/man/index.db") +if stat then +execute("%{_bindir}/mandb", "--quiet") +else +execute("%{_bindir}/mandb", "--quiet", "--create") +end + +%if 0%{?suse_version} >= 1699 +%transfiletriggerpostun -p -- %{_mandir} +%else +%filetriggerpostun -p -- %{_mandir} +%endif +%trigger_functions +stat = posix.stat("/var/cache/man/index.db") +if stat then +execute("%{_bindir}/mandb", "--quiet") +else +execute("%{_bindir}/mandb", "--quiet", "--create") +end + %pre test -d var/catman/ && rm -rf var/catman/ || true %if %{with sdtimer} @@ -286,6 +330,9 @@ esac done fi +# Simply for systemdless containers +getent group man > /dev/null || groupadd -r man +getent passwd man > /dev/null || useradd -r -g man -d /var/cache/man -s /sbin/nologin -c "Manual pages viewer" man %post %{fillup_only -an cron} @@ -316,7 +363,14 @@ %posttrans %{?tmpfiles_create:%tmpfiles_create %{_prefix}/lib/tmpfiles.d/man-db.conf} -if test -d %{_localstatedir}/cache/man +if test ! -d %{_localstatedir}/cache/man +then + # Simply for systemdless containers + umask 022 + mkdir -p %{_localstatedir}/cache/man + chown -R man:man %{_localstatedir}/cache/man +fi +if test ! -s %{_localstatedir}/cache/man/index.db then mandb --quiet --create || : fi
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2023-10-20 23:16:25 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.1945 (New) Package is "man" Fri Oct 20 23:16:25 2023 rev:97 rq:1118949 version:2.12.0 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2023-09-13 20:43:30.615832760 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.1945/man.changes2023-10-20 23:17:15.635600311 +0200 @@ -1,0 +2,38 @@ +Sun Oct 1 12:19:14 UTC 2023 - Antonio Teixeira + +- Update to 2.12.0: + * Fix some manual page portability issues with groff 1.23.0. + * Fix test failures when a working `iconv` is not available. + * Ensure that timestamps read from the database can go past the year 2038, +even on systems where this is not the default. + * Fix `manpath` not parsing `PATH` entries with trailing slash correctly +for guessing `MANPATH` entries. + * More accurately document the behaviour of passing file names as arguments +to `man` without the `-l`/`--local-file` option. + * Avoid duplicate cleanup of old cat pages by both `man-db.service` and +`systemd-tmpfiles-clean.service`. + Improvements: + * Update system call lists in `seccomp` sandbox from `systemd`. + * Upgrade to Gnulib `stable-202307`. + * Work around the Firebuild accelerator in `seccomp` sandbox: if this is in +use then we need to allow some socket-related system calls. + * `man -K` now deduplicates search results that point to the same page. + * Warn if `mandb` drops to `--user-db` mode due to running as the wrong +user. + * Change section title recommendations in `man(1)` to mention `STANDARDS` +rather than `CONFORMING TO`, in line with `man-pages(7)`. + * Add a `STANDARDS` section to `man(1)` itself. + * Document that `man -K` may suffer from false negatives as well as false +positives. + * Take advantage of newer `groff` facilities to implement `man +--no-hyphenation` and `man --no-justification`, if available. + * `man -f` and `man -k` now pass any `-r`/`--regex` or `-w`/`--wildcard` +options on to `whatis` and `apropos` respectively. + * Always pass a line length to `nroff`, even if we believe that it matches +the default. + * Allow disabling `groff` warnings via `man --warnings`, by prefixing a +warning name with `!`. +- Drop man-db-groff-1.23.0-warnings.patch +- Refresh man-db-2.9.4.patch + +--- Old: man-db-2.11.2.tar.xz man-db-2.11.2.tar.xz.asc man-db-groff-1.23.0-warnings.patch New: man-db-2.12.0.tar.xz man-db-2.12.0.tar.xz.asc Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.cnKZGk/_old 2023-10-20 23:17:16.811643220 +0200 +++ /var/tmp/diff_new_pack.cnKZGk/_new 2023-10-20 23:17:16.811643220 +0200 @@ -26,7 +26,7 @@ %global optflags %{optflags} %{**} %bcond_without sdtimer Name: man -Version:2.11.2 +Version:2.12.0 Release:0 Summary:A Program for Displaying man Pages License:GPL-2.0-or-later @@ -59,8 +59,6 @@ Patch10:man-db-2.9.4-alternitive.dif # PATCH-FEATURE-OPENSUSE -- Propose to read man pages online Patch12:man-propose-online.patch -# PATCH-FIX-UPSTREAM -- Update warning regex for groff 1.23.0 -Patch13:man-db-groff-1.23.0-warnings.patch BuildRequires: automake BuildRequires: flex BuildRequires: gdbm-devel @@ -111,7 +109,6 @@ %patch10 -b .libalernative rm -f configure %patch12 -p1 -b .p12 -%patch13 -p1 -b .p13 %build %global optflags %{optflags} -funroll-loops -pipe -Wall ++ man-db-2.11.2.tar.xz -> man-db-2.12.0.tar.xz ++ 15 lines of diff (skipped) ++ man-db-2.9.4.patch ++ --- /var/tmp/diff_new_pack.cnKZGk/_old 2023-10-20 23:17:17.527669345 +0200 +++ /var/tmp/diff_new_pack.cnKZGk/_new 2023-10-20 23:17:17.531669490 +0200 @@ -12,8 +12,10 @@ src/ult_src.c |9 - 11 files changed, 235 insertions(+), 47 deletions(-) +Index: b/configure.ac +=== --- a/configure.ac -+++ b/configure.ac 2023-08-15 08:31:31.135097942 + b/configure.ac @@ -302,6 +302,14 @@ fi MAN_CHECK_PROGS([eqn], [EQN], [use EQN to preprocess equations], [eqn geqn]) @@ -47,8 +49,10 @@ if test -z "$gzip" then compressor="$compress -c" +Index: b/lib/security.c +=== --- a/lib/security.c -+++ b/lib/security.c 2023-08-15 08:31:31.135097942 + b/lib/security.c @@ -80,6 +80,11 @@ static void gripe_set_euid (void)
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2023-09-13 20:43:19 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.1766 (New) Package is "man" Wed Sep 13 20:43:19 2023 rev:96 rq:1110605 version:2.11.2 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2023-09-06 18:56:03.739000839 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.1766/man.changes2023-09-13 20:43:30.615832760 +0200 @@ -1,0 +2,6 @@ +Fri Sep 8 19:48:53 UTC 2023 - Antonio Teixeira + +- Add man-db-groff-1.23.0-warnings.patch + * Fix build errors with groff 1.23.0 + +--- New: man-db-groff-1.23.0-warnings.patch Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.pf4ULD/_old 2023-09-13 20:43:33.003917660 +0200 +++ /var/tmp/diff_new_pack.pf4ULD/_new 2023-09-13 20:43:33.003917660 +0200 @@ -59,6 +59,8 @@ Patch10:man-db-2.9.4-alternitive.dif # PATCH-FEATURE-OPENSUSE -- Propose to read man pages online Patch12:man-propose-online.patch +# PATCH-FIX-UPSTREAM -- Update warning regex for groff 1.23.0 +Patch13:man-db-groff-1.23.0-warnings.patch BuildRequires: automake BuildRequires: flex BuildRequires: gdbm-devel @@ -109,6 +111,7 @@ %patch10 -b .libalernative rm -f configure %patch12 -p1 -b .p12 +%patch13 -p1 -b .p13 %build %global optflags %{optflags} -funroll-loops -pipe -Wall ++ man-db-groff-1.23.0-warnings.patch ++ >From b12ffb9df7a6a8956b08206c36be70fac78508bd Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 20 Jul 2023 00:18:59 +0100 Subject: [PATCH] Update warning regex for groff 1.23.0 Part of https://gitlab.com/man-db/man-db/-/issues/25. * man/check-man: groff 1.23.0 says "cannot break line" rather than "can't break line"; update regular expression. --- man/check-man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/check-man b/man/check-man index a58b7f9d..f8985a0d 100755 --- a/man/check-man +++ b/man/check-man @@ -31,7 +31,7 @@ errors="$(LC_ALL=C MANWIDTH=80 MAN_KEEP_FORMATTING=1 "$top_builddir/libtool" \ # Indeed, even for other languages we're going to get "cannot adjust line" # if %manpath_config_file% expands to something long. Hmm. We'll just ignore # this across the board for now. -errors="$(echo "$errors" | $EGREP -v "(cannot adjust line|can't break line)")" || true +errors="$(echo "$errors" | $EGREP -v "(cannot adjust line|(can't|cannot) break line)")" || true if [ "$code" != 0 ]; then echo "man -E UTF-8 -l $1 failed with exit status $code and error output:" -- GitLab
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2023-09-06 18:55:37 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.1766 (New) Package is "man" Wed Sep 6 18:55:37 2023 rev:95 rq:1108796 version:2.11.2 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2023-08-16 14:16:48.646857589 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.1766/man.changes2023-09-06 18:56:03.739000839 +0200 @@ -1,0 +2,5 @@ +Sat Aug 26 12:20:42 UTC 2023 - Avinesh Kumar + +- Fix the content in patch file man-propose-online.patch + +--- Other differences: -- ++ man-propose-online.patch ++ --- /var/tmp/diff_new_pack.vYFTcx/_old 2023-09-06 18:56:06.619103509 +0200 +++ /var/tmp/diff_new_pack.vYFTcx/_new 2023-09-06 18:56:06.623103652 +0200 @@ -10,7 +10,7 @@ fprintf (stderr, _("No manual entry for %s in section %s\n"), name, sec); - else -+ fprintf (stderr, _("Possibly, man the page is not installed, try online at: ")); ++ fprintf (stderr, _("Possibly, man page is not installed, try online at: ")); + fprintf (stderr, _("https://manpages.opensuse.org/%s.%s\n";), name, sec); + } else{ fprintf (stderr, _("No manual entry for %s\n"), name);
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2023-08-16 14:16:34 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.11712 (New) Package is "man" Wed Aug 16 14:16:34 2023 rev:94 rq:1104015 version:2.11.2 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2023-07-26 13:22:05.519363566 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.11712/man.changes 2023-08-16 14:16:48.646857589 +0200 @@ -1,0 +2,56 @@ +Tue Aug 15 09:31:32 UTC 2023 - Dr. Werner Fink + +- Update to 2.11.2: + * Fix compile and test failures when `troff` is not `groff`. + * Fix segfault in typical uses of `man` when `nroff` is not installed. + * Fix crash in `mandb` when processing stray cats. + * SECURITY: Replace `$` characters in page names with `?` when constructing +`less` prompts. + * Silence error message when processing an empty manual page hierarchy with +a nonexistent cache directory. + * `man(1)` now sorts whatis references below real pages, even if the whatis +references are from a section with higher priority. + * `mandb` now correctly records filters in the database if it uses cached +whatis information. + * Upgrade Gnulib, fixing syntax error on glibc systems with GCC 11. + * The `CATWIDTH` configuration file directive now overrides `MINCATWIDTH` +and `MAXCATWIDTH`. + * Database entries for links were often incorrectly stored as if they were +entries for the ultimate source of the page. They are now stored with +the correct type. + * Store links in the database using the section and extension of the link +rather than of the ultimate source file. + * Consider pages for adding to the database even if they seem to already +exist; this performance optimization is no longer needed due to caching, +and it produced inconsistent results in some unusual cases. + * `man` now runs any required preprocessors in the same order that `groff` +does, rather than trusting the order of filters in a page's preprocessor +string. + * Fix building on MinGW. (I haven't been able to test this; help from +MinGW experts would be welcome.) + Improvements: + * Check for stray cats even if no manual pages in a given manpath were +changed. + * Add section `3type` to the default section list just after `2`. This is +used by the Linux man-pages package. + * Recognize more Hungarian translations of the `NAME` section. + * Add more recognized case variants for localized versions of the `NAME` +section. + * Maintain multi keys in sorted order, improving database reproducibility. + * Pick a more consistent name for the target of a whatis entry in the +database. + * Extend rules for when to replace one database entry with another, +producing more stable behaviour. + * Fully reorganize databases after writing them, allowing the reproduction +of bitwise-identical databases regardless of scan order (at least with +GDBM). +- Port patches + * man-db-2.6.3-chinese.dif + * man-db-2.6.3-listall.dif + * man-db-2.7.1-zio.dif + * man-db-2.9.4-alternitive.dif + * man-db-2.9.4-no-chown.patch + * man-db-2.9.4.patch + * man-propose-online.patch + +--- Old: man-db-2.10.2.tar.xz man-db-2.10.2.tar.xz.asc New: man-db-2.11.2.tar.xz man-db-2.11.2.tar.xz.asc Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.dAzyG9/_old 2023-08-16 14:16:49.850866018 +0200 +++ /var/tmp/diff_new_pack.dAzyG9/_new 2023-08-16 14:16:49.854866046 +0200 @@ -26,7 +26,7 @@ %global optflags %{optflags} %{**} %bcond_without sdtimer Name: man -Version:2.10.2 +Version:2.11.2 Release:0 Summary:A Program for Displaying man Pages License:GPL-2.0-or-later ++ man-db-2.10.2.tar.xz -> man-db-2.11.2.tar.xz ++ 75993 lines of diff (skipped) ++ man-db-2.6.3-chinese.dif ++ --- /var/tmp/diff_new_pack.dAzyG9/_old 2023-08-16 14:16:50.774872486 +0200 +++ /var/tmp/diff_new_pack.dAzyG9/_new 2023-08-16 14:16:50.774872486 +0200 @@ -34,7 +34,7 @@ */ const char *get_source_encoding (const char *lang) { -@@ -619,7 +628,7 @@ static int compatible_encodings (const c +@@ -620,7 +629,7 @@ static int compatible_encodings (const c */ if ((STREQ (input, "BIG5") || STREQ (input, "BIG5HKSCS") || STREQ (input, "EUC-JP") || @@ -43,7 +43,7 @@ STREQ (input, "EUC-KR") || STREQ (input, "EUC-TW")) && STREQ (output, "UTF-8")) -@@ -723,7 +732,7 @@ const char *get_roff_encoding (const cha +@@ -724,7 +
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2023-07-26 13:22:00 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.15225 (New) Package is "man" Wed Jul 26 13:22:00 2023 rev:93 rq:1100562 version:2.10.2 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2022-08-24 15:10:45.396480987 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.15225/man.changes 2023-07-26 13:22:05.519363566 +0200 @@ -1,0 +2,13 @@ +Thu May 25 06:37:13 UTC 2023 - Dr. Werner Fink + +- Remove harden_man-db.service.patch as already done upstream + at the end of the service file man-db.service + +--- +Mon Apr 3 14:39:03 UTC 2023 - Dominique Leuenberger + +- Add man-propose-online.patch: if patch was not found locally, + propose to read it online, offering a URL where it could possibly + be found. + +--- Old: harden_man-db.service.patch New: man-propose-online.patch Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.xGepz5/_old 2023-07-26 13:22:09.239384622 +0200 +++ /var/tmp/diff_new_pack.xGepz5/_new 2023-07-26 13:22:09.247384667 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -57,7 +57,8 @@ # PATCH-FEATURE-OPENSUSE -- Add documentation about man0 section (header files) Patch9: man-db-2.6.3-man0.dif Patch10:man-db-2.9.4-alternitive.dif -Patch11:harden_man-db.service.patch +# PATCH-FEATURE-OPENSUSE -- Propose to read man pages online +Patch12:man-propose-online.patch BuildRequires: automake BuildRequires: flex BuildRequires: gdbm-devel @@ -107,7 +108,7 @@ %patch9 -b .p9 %patch10 -b .libalernative rm -f configure -%patch11 -p1 -b .p11 +%patch12 -p1 -b .p12 %build %global optflags %{optflags} -funroll-loops -pipe -Wall ++ man-propose-online.patch ++ diff -ur man-db-2.10.2/src/man.c man-db-2.10.2.patch/src/man.c --- man-db-2.10.2/src/man.c 2022-03-17 19:41:27.0 +0100 +++ man-db-2.10.2.patch/src/man.c 2023-04-03 17:13:05.944119389 +0200 @@ -738,11 +738,16 @@ } #endif - if (sec) + if (sec) { fprintf (stderr, _("No manual entry for %s in section %s\n"), name, sec); - else + fprintf (stderr, _("Possibly, man the page is not installed, try online at: ")); + fprintf (stderr, _("https://manpages.opensuse.org/%s.%s\n";), name, sec); + } else{ fprintf (stderr, _("No manual entry for %s\n"), name); + fprintf (stderr, _("Possibly, man page is not installed, try online at: ")); + fprintf (stderr, _("https://manpages.opensuse.org/%s\n";), name); + } #ifdef UNDOC_COMMAND if (getenv ("MAN_TEST_DISABLE_UNDOCUMENTED") == NULL && diff -ur man-db-2.10.2/src/tests/man-invalid-db-entry man-db-2.10.2.patch/src/tests/man-invalid-db-entry --- man-db-2.10.2/src/tests/man-invalid-db-entry2022-03-17 19:41:27.0 +0100 +++ man-db-2.10.2.patch/src/tests/man-invalid-db-entry 2023-04-03 17:13:55.256508193 +0200 @@ -25,6 +25,8 @@ rm -f "$tmpdir/usr/share/man/man1/test.1" echo "No manual entry for test" > "$tmpdir/1.exp" +echo "Possibly, man page is not installed, try online at: https://manpages.opensuse.org/test"; >> "$tmpdir/1.exp" + LC_ALL=C run $MAN -C "$tmpdir/manpath.config" test 2> "$tmpdir/1.out" expect_files_equal 'invalid DB entry' "$tmpdir/1.exp" "$tmpdir/1.out"
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2022-08-24 15:10:37 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.2083 (New) Package is "man" Wed Aug 24 15:10:37 2022 rev:92 rq:998765 version:2.10.2 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2022-08-19 17:54:28.543848517 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.2083/man.changes2022-08-24 15:10:45.396480987 +0200 @@ -1,0 +2,30 @@ +Tue Aug 23 06:13:49 UTC 2022 - Dr. Werner Fink + +- Corrrect some offsets of patch hunks +- Remove change in get-mtime.c as mandb-symlink-target-timestamp + now catch the random format changes + +--- +Mon Aug 22 21:17:21 UTC 2022 - Dirk M??ller + +- update to 2.10.2: + * Regenerating man-db's build system now explicitly requires Automake >= +1.14. (This was already the case since at least man-db 2.10.0, but was +previously undocumented.) + * Make `man -H` sleep for a few seconds after starting the browser, since +it may background itself before loading files (Dr. Werner Fink). + * If an override directory is configured using `--with-override-dir`, it is +now applied more consistently when building the manpath, and whether a +page was found in an override directory is considered when sorting +candidates for display (Mihail Konev). + * Make the man-db manual build reproducible. + * Add some hardening options to the `systemd` service. + * `configure` now has a `--with-snapdir` option, for use on systems where +`snapd` is configured to use a directory other than `/snap`. + * Fix occasional `mandb-symlink-target-timestamp` test failure. + * Fix inadvertent reliance on a GCC extension that caused build failures +with Clang. + * Fix building without `iconv`. +- drop man-db-2.7.1-firefox.dif (upstream) + +--- Old: man-db-2.10.0.tar.xz man-db-2.10.0.tar.xz.asc man-db-2.7.1-firefox.dif New: man-db-2.10.2.tar.xz man-db-2.10.2.tar.xz.asc Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.HrvMI6/_old 2022-08-24 15:10:46.224481786 +0200 +++ /var/tmp/diff_new_pack.HrvMI6/_new 2022-08-24 15:10:46.232481794 +0200 @@ -26,7 +26,7 @@ %global optflags %{optflags} %{**} %bcond_without sdtimer Name: man -Version:2.10.0 +Version:2.10.2 Release:0 Summary:A Program for Displaying man Pages License:GPL-2.0-or-later @@ -34,7 +34,7 @@ URL:https://savannah.nongnu.org/projects/man-db Source0: https://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz Source1: https://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz.asc -Source2: https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=man-db&download=1#/%{name}.keyring +Source2: https://savannah.nongnu.org/people/viewgpg.php?user_id=10653#/%{name}.keyring Source3:sysconfig.cron-man Source4:cron.daily.do_mandb Source5:wrapper.c @@ -43,7 +43,6 @@ Source8:manpath.csh Source9:manpath.sh Patch0: man-db-2.3.19deb4.0-groff.dif -Patch2: man-db-2.7.1-firefox.dif Patch3: man-db-2.6.3-chinese.dif # PATCH-FEATURE-OPENSUSE man-db-2.7.1-zio.dif -- Allow using libzio for decompression Patch4: man-db-2.7.1-zio.dif @@ -99,7 +98,6 @@ %prep %setup -q -n man-db-%{version} %patch0 -b .groff -%patch2 -b .firefox %patch3 -b .chinese %patch4 -b .zio %patch5 -b .listall @@ -166,7 +164,6 @@ --with-systemdtmpfilesdir=no \ --with-systemdsystemunitdir=no \ %endif - --enable-dups \ --enable-cache-owner=man \ --with-device=utf8 \ --with-zio \ @@ -174,15 +171,15 @@ --disable-rpath \ --disable-automatic-create \ --enable-automatic-update \ + --enable-mandirs=GNU\ --disable-cats \ --enable-threads=posix \ --enable-mb-groff \ --with-db=gdbm \ --enable-nls\ --with-config-file=%{_sysconfdir}/manpath.config \ - --without-included-gettext \ --with-sections="${SEC}" -%make_build nls=all +%make_build nls=all LOCALE_FR_UTF8=fr_FR.UTF-8 # Fix coding for man in $(find man/ -type f -a -name '*.[0-9]'); do pp="$(head -n 1 $man)" @@ -215,7 +212,7 @@ export MKDIR_P="mkdir -p" %endif rm -rf %{buildroo
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2022-08-19 17:53:19 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.2083 (New) Package is "man" Fri Aug 19 17:53:19 2022 rev:91 rq:997718 version:2.10.0 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2022-08-17 18:20:22.670833554 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.2083/man.changes2022-08-19 17:54:28.543848517 +0200 @@ -1,0 +2,64 @@ +Thu Aug 18 10:25:21 UTC 2022 - Dr. Werner Fink + +- Avoid that mandb-symlink-target-timestamp fools us + +--- +Thu Aug 18 09:44:06 UTC 2022 - Dr. Werner Fink + +- Workaround missing groff-full to get refer(1), the bibliographic + preprocessor found + +--- +Thu Aug 18 08:14:54 UTC 2022 - Dr. Werner Fink + +- Update to man-db 2.10.0 (4 February 2022) + * Manpath deduplication no longer mishandles the case where another entry +in the manpath is a suffix of a candidate path to append. + * Fix potential crash in path searching if `getcwd` fails for reasons other +than running out of memory. + * Fix crash in `globbing` test tool if run with no non-option arguments. + * `lexgrog` now produces output in the user's locale. + * Downgrade "malformed .lf request" warning to a debug message and rephrase +it somewhat, since `.lf` requests can use `*roff` arithmetic expressions +and we can't reasonably parse those. + * Avoid modifying the database without changing its mtime, which had been +possible since 2.7.0 if `mandb`'s purge phase found work to do but the +main phase didn't, and which confused some backup systems into reporting +possible filesystem corruption. + * `man` no longer inadvertently modifies the `MANSECT` environment variable +before passing it on to its subprocesses. + * `mandb` now stores the mtime of link targets as the mtime of their +corresponding database entries, rather than sometimes storing the mtime +of the link instead. + * Since man-db 2.4.2, `man` has behaved as if the `-l` option was given if +a manual page argument contains a slash. Since man-db 2.5.6, this has +interacted slightly poorly with the subpage feature, emitting spurious +error messages if given multiple manual page arguments some of which +include a slash. `man` no longer emits spurious error messages in this +case. + * Reduce overhead of `MAN_DISABLE_SECCOMP=1` compared to building without +`libseccomp`. + * Document `MAN_DISABLE_SECCOMP` and `PIPELINE_DEBUG` environment variables +in `man(1)`. + * Add `man-pages(7)` reference to `man(1)`. + * Recognize Arabic and Persian translations of the `NAME` section. + * Delay the `systemd` timer using `RandomizedDelaySec`, so that multiple +containers/VMs on the same host are less prone to running `mandb` all at +the same time. + * Significantly improve `mandb(8)` and `man -K` performance in the common +case where pages are of moderate size and compressed using `zlib`: `mandb +-c` goes from 344 seconds to 10 seconds on a test system. +- Remove patch man-db-2.7.1-security4.dif as now upstream creates + any missing database +- Remove gnulib-ppc64le.patch as gnulib is uptodate even on ppc64le +- Port patches + * man-db-2.6.3-chinese.dif + * man-db-2.6.3-listall.dif + * man-db-2.6.3-man0.dif + * man-db-2.7.1-zio.dif + * man-db-2.9.4-alternitive.dif + * man-db-2.9.4-no-chown.patch + * man-db-2.9.4.patch + * reproducible.patch + +--- Old: gnulib-ppc64le.patch man-db-2.7.1-security4.dif man-db-2.9.4.tar.xz man-db-2.9.4.tar.xz.asc New: man-db-2.10.0.tar.xz man-db-2.10.0.tar.xz.asc Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.aIhJWY/_old 2022-08-19 17:54:29.491850504 +0200 +++ /var/tmp/diff_new_pack.aIhJWY/_new 2022-08-19 17:54:29.499850520 +0200 @@ -26,7 +26,7 @@ %global optflags %{optflags} %{**} %bcond_without sdtimer Name: man -Version:2.9.4 +Version:2.10.0 Release:0 Summary:A Program for Displaying man Pages License:GPL-2.0-or-later @@ -43,7 +43,6 @@ Source8:manpath.csh Source9:manpath.sh Patch0: man-db-2.3.19deb4.0-groff.dif -Patch1: man-db-2.7.1-security4.dif Patch2: man-db-2.7.1-firefox.dif Patch3: man-db-2.6.3-chinese.dif # PATCH-FEATURE-OPENSUSE man-db-2.7.1-zio.dif -- Allow using libzio for decompression @@ -60,8 +59,6 @@ Patch9:
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2022-08-17 18:16:35 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.1521 (New) Package is "man" Wed Aug 17 18:16:35 2022 rev:90 rq:995603 version:2.9.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2022-08-12 17:46:26.606084240 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.1521/man.changes2022-08-17 18:20:22.670833554 +0200 @@ -1,0 +2,6 @@ +Mon Aug 15 16:48:51 UTC 2022 - + +- syntax correction of the preinstall scriptlet to avoid creation + of file /0 (bnc#1202377) + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.RaeYu5/_old 2022-08-17 18:20:23.338834939 +0200 +++ /var/tmp/diff_new_pack.RaeYu5/_new 2022-08-17 18:20:23.346834956 +0200 @@ -270,7 +270,7 @@ %service_add_pre man-db-create.service %endif %endif -if test "$1" > 0 -a -h %{_sysconfdir}/alternatives/man +if test "$1" -gt 0 -a -h %{_sysconfdir}/alternatives/man then for ua in man apropos whatis man.1%{ext_man} apropos.1%{ext_man} whatis.1%{ext_man} do
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2022-08-12 17:46:21 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.1521 (New) Package is "man" Fri Aug 12 17:46:21 2022 rev:89 rq:994522 version:2.9.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2021-10-11 15:30:41.486755911 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.1521/man.changes2022-08-12 17:46:26.606084240 +0200 @@ -1,0 +2,17 @@ +Thu Aug 11 11:55:04 UTC 2022 - Dr. Werner Fink + +- Add patch gnulib-ppc64le.patch + * Support ppc64le float128 transition + +--- +Thu Aug 11 08:56:58 UTC 2022 - Dr. Werner Fink + +- Drop usage of update-alternatives as mandoc does not use it + (nor libalternative) + +--- +Sat May 7 12:17:53 UTC 2022 - Marcus Meissner + +- switch source url to https + +--- New: gnulib-ppc64le.patch Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.CPETDl/_old 2022-08-12 17:46:27.354086109 +0200 +++ /var/tmp/diff_new_pack.CPETDl/_new 2022-08-12 17:46:27.358086119 +0200 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,6 +22,8 @@ %if ! %{defined _fillupdir} %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif +%define add_optflags(a:f:t:p:w:W:d:g:O:A:C:D:E:H:i:M:n:P:U:u:l:s:X:B:I:L:b:V:m:x:c:S:E:o:v:) \ +%global optflags %{optflags} %{**} %bcond_without sdtimer Name: man Version:2.9.4 @@ -31,7 +33,7 @@ Group: System/Base URL:https://savannah.nongnu.org/projects/man-db Source0: https://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz -Source1: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz.asc +Source1: https://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz.asc Source2: https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=man-db&download=1#/%{name}.keyring Source3:sysconfig.cron-man Source4:cron.daily.do_mandb @@ -52,12 +54,14 @@ Patch6: reproducible.patch # PATCH-FIX-OPENSUSE man-db-2.9.4-no-chown.patch -- chown is not allowed as non-root Patch7: man-db-2.9.4-no-chown.patch -# what is it good for? +# PATCH-FIX-SUSE collections of changes Patch8: man-db-2.9.4.patch # PATCH-FEATURE-OPENSUSE -- Add documentation about man0 section (header files) Patch9: man-db-2.6.3-man0.dif Patch10:man-db-2.9.4-alternitive.dif Patch11: harden_man-db.service.patch +# PATCH-FIX-SUSE ppc64le float128 transition +Patch12:gnulib-ppc64le.patch BuildRequires: automake BuildRequires: flex BuildRequires: gdbm-devel @@ -71,21 +75,18 @@ BuildRequires: man-pages BuildRequires: pkgconfig BuildRequires: po4a -BuildRequires: update-alternatives BuildRequires: zlib-devel BuildRequires: zstd BuildRequires: pkgconfig(systemd) +Conflicts: mandoc Requires: glibc-locale-base Suggests: glibc-locale Requires: groff >= 1.18 Requires: less -Requires: libalternatives1 # FIXME: use proper Requires(pre/post/preun/...) PreReq: coreutils PreReq: fillup -Requires(post): update-alternatives Requires(posttrans):systemd -Requires(postun):update-alternatives Requires(pre): group(man) Requires(pre): user(man) Provides: man_db @@ -112,6 +113,9 @@ %patch10 -b .libalernative rm -f configure %patch11 -p1 +%ifarch ppc64le +%patch12 +%endif %build %global optflags %{optflags} -funroll-loops -pipe -Wall @@ -139,19 +143,13 @@ Cg g s m ) SEC="${SEC[@]}" -if grep -q _DEFAULT_SOURCE %{_includedir}/features.h ; then - CFLAGS="%{optflags} -D_GNU_SOURCE -D_DEFAULT_SOURCE" -else - CFLAGS="%{optflags} -D_GNU_SOURCE -D_SVID_SOURCE" -fi for d in $(cat man/LINGUAS*) ; do test -d %{_datadir}/locale/$d || continue LINGUAS="${LINGUAS:+$LINGUAS }$d" done - LIBS="-lalternatives" +export LINGUAS LIBS -export CFLAGS LINGUAS LIBS # Create configure aclocal -I ${PWD} -I ${PWD}/m4 -I ${PWD}/gl/m4 autoconf -B ${PWD} -B ${PWD}/m4 -B ${PWD}/gl/m4 @@ -159,6 +157,7 @@ find -name 'Makefile.*' | xargs \ sed -ri -e '/^pkglibdir/{ s@^(pkglibdir[[:blank:]]+=[[:blank:]]+\$\(libdir\)).*@\1@
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2021-10-11 15:30:27 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.2443 (New) Package is "man" Mon Oct 11 15:30:27 2021 rev:88 rq:923541 version:2.9.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2021-08-16 10:14:01.942922130 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.2443/man.changes2021-10-11 15:30:41.486755911 +0200 @@ -1,0 +2,8 @@ +Wed Oct 6 11:41:21 UTC 2021 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Added patch(es): + * harden_man-db.service.patch + Modified: + * man-db-create.service + +--- New: harden_man-db.service.patch Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.S2tdVS/_old 2021-10-11 15:30:42.398757373 +0200 +++ /var/tmp/diff_new_pack.S2tdVS/_new 2021-10-11 15:30:42.398757373 +0200 @@ -57,6 +57,7 @@ # PATCH-FEATURE-OPENSUSE -- Add documentation about man0 section (header files) Patch9: man-db-2.6.3-man0.dif Patch10:man-db-2.9.4-alternitive.dif +Patch11: harden_man-db.service.patch BuildRequires: automake BuildRequires: flex BuildRequires: gdbm-devel @@ -110,6 +111,7 @@ %patch9 -b .s10 %patch10 -b .libalernative rm -f configure +%patch11 -p1 %build %global optflags %{optflags} -funroll-loops -pipe -Wall ++ harden_man-db.service.patch ++ Index: man-db-2.9.4/init/systemd/man-db.service.in === --- man-db-2.9.4.orig/init/systemd/man-db.service.in +++ man-db-2.9.4/init/systemd/man-db.service.in @@ -4,6 +4,19 @@ Documentation=man:mandb(8) ConditionACPower=true [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +PrivateDevices=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions Type=oneshot # Recover from deletion, per FHS. ExecStart=+/usr/bin/install -d -o @cache_top_owner@ -g @cache_top_owner@ -m 0755 /var/cache/man ++ man-db-create.service ++ --- /var/tmp/diff_new_pack.S2tdVS/_old 2021-10-11 15:30:42.482757508 +0200 +++ /var/tmp/diff_new_pack.S2tdVS/_new 2021-10-11 15:30:42.486757514 +0200 @@ -8,6 +8,19 @@ ConditionPathExists=!/var/cache/man/index.db [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +PrivateDevices=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/mandb --quiet --create
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2021-08-16 10:09:05 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.1899 (New) Package is "man" Mon Aug 16 10:09:05 2021 rev:87 rq:912000 version:2.9.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2021-06-25 15:01:24.784157075 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.1899/man.changes2021-08-16 10:14:01.942922130 +0200 @@ -1,0 +2,5 @@ +Fri Aug 6 13:38:49 UTC 2021 - Dr. Werner Fink + +- Add manpath.sh and manpath.csh below /usr/etc/profile.d + +--- New: manpath.csh manpath.sh Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.ClrqlD/_old 2021-08-16 10:14:02.718921138 +0200 +++ /var/tmp/diff_new_pack.ClrqlD/_new 2021-08-16 10:14:02.722921134 +0200 @@ -38,6 +38,8 @@ Source5:wrapper.c Source6:man-rpmlintrc Source7:man-db-create.service +Source8:manpath.csh +Source9:manpath.sh Patch0: man-db-2.3.19deb4.0-groff.dif Patch1: man-db-2.7.1-security4.dif Patch2: man-db-2.7.1-firefox.dif @@ -267,6 +269,10 @@ install -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/ %endif +mkdir -p %{buildroot}%{_prefix}/etc/profile.d +install -m 644 %{SOURCE8} %{buildroot}%{_prefix}/etc/profile.d/ +install -m 644 %{SOURCE9} %{buildroot}%{_prefix}/etc/profile.d/ + %find_lang man-db --all-name --with-man %pre @@ -348,6 +354,8 @@ %ghost %{_sysconfdir}/alternatives/man.1%{ext_man} %ghost %{_sysconfdir}/alternatives/apropos.1%{ext_man} %ghost %{_sysconfdir}/alternatives/whatis.1%{ext_man} +%dir %{_prefix}/etc/profile.d/ +%{_prefix}/etc/profile.d/manpath.* %{_bindir}/apropos %{_bindir}/catman %{_bindir}/lexgrog ++ manpath.csh ++ # # Current manpath # if (-x /usr/bin/manpath && ! ${?MANPATHISSET}) then set _tmpman=`(unsetenv MANPATH; /usr/bin/manpath -q)` if ( ${?MANPATH} ) then if (${MANPATH} != ${_tmpman}) then setenv MANPATH "${MANPATH}:${_tmpman}" else setenv MANPATH "${_tmpman}" endif else setenv MANPATH "${_tmpman}" endif setenv MANPATHISSET yes endif ++ manpath.sh ++ # # Current manpath # if test -x /usr/bin/manpath -a -z "$MANPATHISSET" then _tmpenv="$MANPATH" unset MANPATH _tmpman="$(/usr/bin/manpath -q)" if test -n "$_tmpenv" -a "$_tmpenv" != ${_tmpman} ; then MANPATH="${_tmpenv}:${_tmpman}" else MANPATH="${_tmpman}" fi unset _tmpenv _tmpman MANPATHISSET=yes export MANPATH MANPATHISSET fi
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2021-06-25 15:01:03 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.2625 (New) Package is "man" Fri Jun 25 15:01:03 2021 rev:86 rq:901432 version:2.9.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2021-02-07 15:14:32.597420077 +0100 +++ /work/SRC/openSUSE:Factory/.man.new.2625/man.changes2021-06-25 15:01:24.784157075 +0200 @@ -1,0 +2,59 @@ +Tue May 31 20:59:59 UTC 2021 - Stefan Schubert + +- Add patch man-db-2.9.4-alternitive.dif + * Supporting ALSO new `alternatives` which has the same tasks as +`update-alternatives` but in a simplier way. + +--- +Mon May 31 19:07:16 UTC 2021 - Ferdinand Thiessen + +- Update to version 2.9.4: + * Add support for zstd-compressed manual pages + * Recognise Esperanto, Romanian, Tamil, and Ukrainian translations +of the NAME section. + * Fix handling of \- in the right-hand side of a NAME section. + * Treat "\[en]" (etc.) as another synonym for "\-" in NAME sections, +alongside the existing "\(en" (etc.). + * Avoid incorrect markup in man(1) with po4a >= 0.58. + * Fix manual page translation infrastructure to compare po4a +versions with more than two components correctly. + * Fix "man -X75-12" and "man -X100-12" to set the document font +size as well as the device + * Fix incompatibility of "man -X" and friends with the seccomp +sandbox. + * man --recode and manconv now adjust encoding declarations on the +first line of their input to refer to the new encoding. + * There is a new "man-recode" program. Which has an interface +designed for bulk conversion and so can be much faster when +used on a large number of pages. + * Fix comparison of candidate manual pages to correctly handle the +case where the language elements are the same and match the +locale, but the territory elements differ. + * If run with no arguments or only a section, man now suggests +running "man man". + * man now understands the () form on its command +line, so for example "man 'chmod(2)'" is now the same as +"man 2 chmod". + * manconv now guesses the input encoding based on the file name +if it is not explicitly specified. + * Further workarounds for ESET File Security: allow sendmsg when +it is in use. + * If more than one of "../man", "man", "../share/man", and +"share/man" exist relative to a directory on $PATH, then all of +them are now added to the automatically-determined manpath + * Remove arbitrary limit on manpath size. + * Fix several resource and memory leaks. + * Ship a systemd timer to perform daily database maintenance. + * Fix segfaults in mandb. +- Drop our systemd timer in favor of upstream provided one +- Drop unused mancoding +- Drop upstream fixed man-db-2.6.3-section.dif +- Merge man-MAN_POSIXLY_CORRECT-man1.dif into + man-db-2.6.3-listall.dif as first one is only the documentation + of the latter one +- Seperate man-db-2.9.4-no-chown.patch from man-db-2.8.4.dif +- Update man-db-2.8.4.dif, now called man-db-2.9.4.patch +- Update man-db-2.6.3-man0.dif to be used inside prep section +- Refresh man-db-2.7.1-security4.dif, man-db-2.7.1-zio.dif + +--- Old: man-MAN_POSIXLY_CORRECT-man1.dif man-db-2.6.3-section.dif man-db-2.8.4.dif man-db-2.8.4.tar.xz man-db-2.8.4.tar.xz.asc mancoding mandb.service mandb.timer New: man-db-2.9.4-alternitive.dif man-db-2.9.4-no-chown.patch man-db-2.9.4.patch man-db-2.9.4.tar.xz man-db-2.9.4.tar.xz.asc Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.OfZKH1/_old 2021-06-25 15:01:25.580158046 +0200 +++ /var/tmp/diff_new_pack.OfZKH1/_new 2021-06-25 15:01:25.584158051 +0200 @@ -24,36 +24,37 @@ %endif %bcond_without sdtimer Name: man -Version:2.8.4 +Version:2.9.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 -Source: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz -Source1:sysconfig.cron-man -Source2:cron.daily.do_mandb -Source4:mancoding +Source0: https://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz +Source1: http://download.savannah.gnu.org/releases/man-db/man-db-%{version}.tar.xz.asc +Source2: https://savannah.nongnu.org/project/memberlist-gpgkeys.php?gro
commit man for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package man for openSUSE:Factory checked in at 2021-02-07 15:14:22 Comparing /work/SRC/openSUSE:Factory/man (Old) and /work/SRC/openSUSE:Factory/.man.new.28504 (New) Package is "man" Sun Feb 7 15:14:22 2021 rev:85 rq:868695 version:2.8.4 Changes: --- /work/SRC/openSUSE:Factory/man/man.changes 2020-09-18 15:20:57.565943488 +0200 +++ /work/SRC/openSUSE:Factory/.man.new.28504/man.changes 2021-02-07 15:14:32.597420077 +0100 @@ -1,0 +2,5 @@ +Fri Jan 22 23:57:39 UTC 2021 - Dirk M??ller + +- require only glibc-locale-base + +--- Other differences: -- ++ man.spec ++ --- /var/tmp/diff_new_pack.jEg4Vh/_old 2021-02-07 15:14:33.509421052 +0100 +++ /var/tmp/diff_new_pack.jEg4Vh/_new 2021-02-07 15:14:33.513421057 +0100 @@ -1,7 +1,7 @@ # # spec file for package man # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -71,7 +71,8 @@ BuildRequires: xz-devel BuildRequires: zlib-devel BuildRequires: pkgconfig(systemd) -Requires: glibc-locale +Requires: glibc-locale-base +Suggests: glibc-locale Requires: groff >= 1.18 Requires: less # FIXME: use proper Requires(pre/post/preun/...)