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 <[email protected]> + +- 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 +733,7 @@ const char *get_roff_encoding (const cha STRNEQ (ctype, "zh_HK", 5) || STRNEQ (ctype, "zh_SG", 5) || STRNEQ (ctype, "zh_TW", 5)) ++++++ man-db-2.6.3-listall.dif ++++++ --- /var/tmp/diff_new_pack.dAzyG9/_old 2023-08-16 14:16:50.790872598 +0200 +++ /var/tmp/diff_new_pack.dAzyG9/_new 2023-08-16 14:16:50.790872598 +0200 @@ -22,7 +22,7 @@ .B %man% --- src/man.c +++ src/man.c 2022-08-17 13:10:07.436205495 +0000 -@@ -3615,12 +3615,141 @@ static int locate_page (const char *manp +@@ -3641,12 +3641,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 (); -@@ -3642,9 +3771,56 @@ static int display_pages (struct candida +@@ -3668,9 +3797,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.dAzyG9/_old 2023-08-16 14:16:50.806872710 +0200 +++ /var/tmp/diff_new_pack.dAzyG9/_new 2023-08-16 14:16:50.810872739 +0200 @@ -1,14 +1,12 @@ --- - config.h.in | 3 ++ - configure.ac | 52 ++++++++++++++++++++++++++++++++++++++++ - src/decompress.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- + config.h.in | 3 + + configure.ac | 52 ++++++++++++++++++++++++++++++ + src/decompress.c | 70 ++++++++++++++++++++++++++++++++++++++++- 3 files changed, 124 insertions(+), 1 deletion(-) -Index: config.h.in -=================================================================== ---- config.h.in.orig -+++ config.h.in -@@ -1009,6 +1009,9 @@ +--- config.h.in ++++ config.h.in 2023-08-15 08:21:20.473974597 +0000 +@@ -1015,6 +1015,9 @@ /* Define to 1 if you have the `z' library (-lz). */ #undef HAVE_LIBZ @@ -18,10 +16,8 @@ /* Define to 1 if the bcrypt library is guaranteed to be present. */ #undef HAVE_LIB_BCRYPT -Index: configure.ac -=================================================================== ---- configure.ac.orig -+++ configure.ac +--- configure.ac ++++ configure.ac 2023-08-15 08:21:20.473974597 +0000 @@ -35,6 +35,18 @@ MAN_ARG_DEVICE MAN_ARG_DB MAN_ARG_CONFIG_FILE @@ -41,7 +37,7 @@ MAN_ARG_AUTOMATIC_CREATE MAN_ARG_AUTOMATIC_UPDATE MAN_ARG_CATS -@@ -400,6 +412,46 @@ AC_DEFINE_UNQUOTED([PROG_UNXZ], ["$unxz" +@@ -401,6 +413,46 @@ AC_DEFINE_UNQUOTED([PROG_UNXZ], ["$unxz" AC_DEFINE_UNQUOTED([PROG_UNLZIP], ["$unlzip"], [Program to use as unlzip.]) AC_DEFINE_UNQUOTED([PROG_UNZSTD], ["$unzstd"], [Program to use as unzstd.]) MAN_COMPRESS_LIB([z], [gzopen]) @@ -88,13 +84,11 @@ dnl To add more decompressors just follow the scheme above. # Check for various header files and associated libraries. -Index: src/decompress.c -=================================================================== ---- src/decompress.c.orig -+++ src/decompress.c -@@ -38,12 +38,17 @@ - # include "zlib.h" - #endif /* HAVE_LIBZ */ +--- src/decompress.c ++++ src/decompress.c 2023-08-15 08:23:12.947968440 +0000 +@@ -40,12 +40,17 @@ + + #include "pipeline.h" +#include "appendstr.h" #include "attribute.h" @@ -108,9 +102,9 @@ +#endif /* HAVE_ZIO */ + #include "manconfig.h" - #include "comp_src.h" - #include "pipeline.h" -@@ -186,6 +191,33 @@ static decompress *decompress_try_zlib ( + + #include "compression.h" +@@ -189,6 +194,33 @@ static decompress *decompress_try_zlib ( #define OPEN_FLAGS_UNUSED MAYBE_UNUSED #endif /* HAVE_LIBZ */ @@ -144,7 +138,7 @@ extern man_sandbox *sandbox; decompress *decompress_open (const char *filename, int flags OPEN_FLAGS_UNUSED) -@@ -202,6 +234,38 @@ decompress *decompress_open (const char +@@ -205,6 +237,38 @@ decompress *decompress_open (const char if (stat (filename, &st) < 0 || S_ISDIR (st.st_mode)) return NULL; @@ -183,7 +177,7 @@ #ifdef HAVE_LIBZ filename_len = strlen (filename); if (filename_len > 3 && STREQ (filename + filename_len - 3, ".gz")) { -@@ -219,7 +283,11 @@ decompress *decompress_open (const char +@@ -222,7 +286,11 @@ decompress *decompress_open (const char } #endif /* HAVE_LIBZ */ @@ -195,7 +189,7 @@ if (ext) { ++ext; -@@ -312,7 +380,7 @@ void decompress_inprocess_replace (decom +@@ -315,7 +383,7 @@ void decompress_inprocess_replace (decom void decompress_start (decompress *d) { ++++++ man-db-2.9.4-alternitive.dif ++++++ --- /var/tmp/diff_new_pack.dAzyG9/_old 2023-08-16 14:16:50.822872823 +0200 +++ /var/tmp/diff_new_pack.dAzyG9/_new 2023-08-16 14:16:50.826872851 +0200 @@ -12,7 +12,7 @@ #include "argp.h" #include "attribute.h" -@@ -4123,9 +4124,25 @@ static void locate_page_in_manpath (cons +@@ -4171,9 +4172,25 @@ static void locate_page_in_manpath (cons { char *mp; ++++++ man-db-2.9.4-no-chown.patch ++++++ --- /var/tmp/diff_new_pack.dAzyG9/_old 2023-08-16 14:16:50.838872935 +0200 +++ /var/tmp/diff_new_pack.dAzyG9/_new 2023-08-16 14:16:50.842872963 +0200 @@ -1,19 +1,23 @@ Index: man-db-2.10.2/src/Makefile.am =================================================================== ---- man-db-2.10.2.orig/src/Makefile.am -+++ man-db-2.10.2/src/Makefile.am -@@ -210,16 +210,7 @@ apropos$(EXEEXT): whatis$(EXEEXT) +--- + man-db-2.11.2/src/Makefile.am | 11 +---------- + 1 file changed, 1 insertion(+), 10 deletions(-) + +--- man-db-2.11.2/src/Makefile.am ++++ man-db-2.11.2/src/Makefile.am 2023-08-15 09:13:30.418162015 +0000 +@@ -196,16 +196,7 @@ apropos$(EXEEXT): whatis$(EXEEXT) all-am: apropos$(EXEEXT) install-exec-hook: - if [ "$(man_owner)" ] && [ "$(man_mode)" = 6755 ]; then \ - chown $(man_owner):$(man_owner) \ -- $(DESTDIR)$(bindir)/$(TRANS_MAN) \ -- $(DESTDIR)$(bindir)/$(TRANS_MANDB); \ +- $(DESTDIR)$(bindir)/$(TRANS_MAN)$(EXEEXT) \ +- $(DESTDIR)$(bindir)/$(TRANS_MANDB)$(EXEEXT); \ - fi - chmod $(man_mode) \ -- $(DESTDIR)$(bindir)/$(TRANS_MAN) \ -- $(DESTDIR)$(bindir)/$(TRANS_MANDB) +- $(DESTDIR)$(bindir)/$(TRANS_MAN)$(EXEEXT) \ +- $(DESTDIR)$(bindir)/$(TRANS_MANDB)$(EXEEXT) - cd $(DESTDIR)$(bindir) && rm -f $(TRANS_APROPOS)$(EXEEXT) && \ - $(LN_S) $(TRANS_WHATIS)$(EXEEXT) $(TRANS_APROPOS)$(EXEEXT) + $(LN_S) $(TRANS_WHATIS) $(DESTDIR)$(bindir)/$(TRANS_APROPOS) ++++++ man-db-2.9.4.patch ++++++ ++++ 645 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/man/man-db-2.9.4.patch ++++ and /work/SRC/openSUSE:Factory/.man.new.11712/man-db-2.9.4.patch ++++++ man-propose-online.patch ++++++ --- /var/tmp/diff_new_pack.dAzyG9/_old 2023-08-16 14:16:50.886873271 +0200 +++ /var/tmp/diff_new_pack.dAzyG9/_new 2023-08-16 14:16:50.890873298 +0200 @@ -1,7 +1,7 @@ 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.000000000 +0100 +++ man-db-2.10.2.patch/src/man.c 2023-04-03 17:13:05.944119389 +0200 -@@ -738,11 +738,16 @@ +@@ -775,11 +775,16 @@ } #endif
