Hello community,

here is the log from the commit of package pinfo for openSUSE:Factory checked 
in at 2020-09-22 21:02:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pinfo (Old)
 and      /work/SRC/openSUSE:Factory/.pinfo.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pinfo"

Tue Sep 22 21:02:15 2020 rev:28 rq:828195 version:0.6.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/pinfo/pinfo.changes      2020-06-15 
20:30:48.750437083 +0200
+++ /work/SRC/openSUSE:Factory/.pinfo.new.4249/pinfo.changes    2020-09-22 
21:03:55.075548131 +0200
@@ -1,0 +2,66 @@
+Sun Aug 16 00:04:03 UTC 2020 - Dirk Mueller <dmuel...@suse.com>
+
+- update to 0.6.13:
+  - Fix crash on 32-bit architectures
+  - minor release to fix the use of defualt colors (COLOR_DEFAULT) on ncurses
+    installs; COLOR_DEFAULT values in pinforc were silently ignored, causing
+    pinfo to use black-on-balc or white-on-white text
+  - remove AM_MAINTAINER_MODE from autoconf scripts to make sure all necessary
+    files are always rebuilt on ./configure && make
+  - fix possibel buffer overflow (and compiler error with gcc 8.2)
+  - Gracefully handle missing indirect info nodes
+  - Fix infinite loop when regexp-matching an empty string
+  - Fix loading of bare info pages (i.e., without .info extension)
+  - Properly load info pages whose name starts with "dir"
+  - Changes and tweaks to the auto* build tools
+  - Get rid of inlined functions, which break building with gcc7
+  - Fix segfautl when closing unopened file
+  - Fix typos in docs
+  - Fix compiler warnings
+  - Fix a number of out-of-buffer write, buffer overflows, string truncations
+  - Clean up documentation
+  - Correctly handle redirected stdin and/or stdout 
(https://bugs.debian.org/671306)
+  - Fix crash after failed global search
+  - Make curses mouse behaviour configurable
+    Note: this changes the default behaviour to not capture the mouse. To
+    restore the old behaviour, set GRAB-MOUSE=true in pinforc.
+  - Avoid an infinite loop for malformed info pages
+  - Add readline tab completion for nodes (https://bugs.debian.org/431708)
+  - Correct parse node links that span multiple (indented) lines.
+  - If a direct info page hit isn't found, try to look up a node in the dir
+  - Improve lookup of info pages
+  - Fix linking to man pages in a different section
+  - Fix the -n/--node command line option
+  - Fix issue with handling of suspend/resume and character input
+  - New maintainer: Bas Zoetekouw <b...@debian.org>
+  - License is now GPL version 2 only
+  - Updated German, Dutch, English, Polish, Russian, Czech translations and
+    added Basque, Swedish, Viernamese and Brazilian translations.  Thanks to
+    Jens Seidel, Rene van Bevern, Piarres Beobide, Krzysztof Krzyzaniak, Yuri
+    Kozlov,  Eddy Petrişor, Katarína Machálková, Clytie Siddall and Felipe
+    Augusto van de Wiel.
+  - Nodes containing a "." are now correctly found
+  - Non-ASCII man pages are displayed correctly
+  - Improved the history behavior of the search input line
+  - Broken tag tables are now automatically fixed
+  - Don't segfault when a broken regexp is entered
+  - Fixed a number of segfaults caused by using uninitialized pointers and
+    off-by-1 errors
+  - Fixed heap corruption caused by non-ascii chars in info pages
+  - Fixed a lot of patch searching issues
+  - Fixed text display on narrow terminals
+  - Fixed highlighting of searches
+  - The default pinforc now uses the terminal's default foreground and
+    background colors.  Thanks to Rob Funk for a patch.
+  - Use libreadline by default;  readline version 4 is now required.
+  - Better cooperation between ncurses and readline
+  - Fixed some memory leaks
+  - Got rid of tempnam() calls
+  - Fixed -Wall and -Wshadow compiler warnings
+  - Use utf8 in documentation files and fixed typoes
+- add 16dba5978146b6d3a540ac7c8f415eda49280847.patch
+  23c169877fda839f0634b2d193eaf26de290f141.patch: fix build issues with gcc 10
+- remove pinfo-0.6.10-tinfo.patch, pinfo-0.6.9-nul-strings.patch
+  pinfo-curses-detection.patch: upstream
+
+-------------------------------------------------------------------

Old:
----
  pinfo-0.6.10-tinfo.patch
  pinfo-0.6.10.tar.bz2
  pinfo-0.6.9-nul-strings.patch
  pinfo-curses-detection.patch

New:
----
  16dba5978146b6d3a540ac7c8f415eda49280847.patch
  23c169877fda839f0634b2d193eaf26de290f141.patch
  pinfo-0.6.13.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pinfo.spec ++++++
--- /var/tmp/diff_new_pack.dOE4wg/_old  2020-09-22 21:03:58.751551342 +0200
+++ /var/tmp/diff_new_pack.dOE4wg/_new  2020-09-22 21:03:58.767551355 +0200
@@ -17,16 +17,15 @@
 
 
 Name:           pinfo
-Version:        0.6.10
+Version:        0.6.13
 Release:        0
 Summary:        Lynx-style Info Browser
-License:        GPL-2.0-or-later
+License:        GPL-2.0-only
 Group:          Productivity/Publishing/Texinfo
-URL:            https://alioth.debian.org/projects/pinfo/
-Source:         
https://alioth.debian.org/frs/download.php/file/3351/%{name}-%{version}.tar.bz2
-Patch1:         pinfo-0.6.9-nul-strings.patch
-Patch2:         pinfo-0.6.10-tinfo.patch
-Patch3:         pinfo-curses-detection.patch
+URL:            https://github.com/baszoetekouw/pinfo
+Source:         
https://github.com/baszoetekouw/pinfo/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch1:         
https://github.com/baszoetekouw/pinfo/commit/16dba5978146b6d3a540ac7c8f415eda49280847.patch
+Patch2:         
https://github.com/baszoetekouw/pinfo/commit/23c169877fda839f0634b2d193eaf26de290f141.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -39,14 +38,11 @@
 Pinfo is a curses based, Lynx-style info browser.
 
 %prep
-%setup -q
-%patch1
-%patch2
-%patch3 -p1
+%autosetup -p 1
 
 %build
-export CFLAGS="%{optflags} -fcommon"
 autoreconf -fiv
+export CPPFLAGS="-Wno-error=unused-parameter"
 %configure \
        --with-curses=%{_prefix}
 %make_build
@@ -63,7 +59,7 @@
 
 %files -f %{name}.lang
 %license COPYING
-%doc AUTHORS ChangeLog NEWS README
+%doc NEWS
 %{_mandir}/man1/pinfo.1%{?ext_man}
 %{_infodir}/pinfo.info%{?ext_info}
 %config %{_sysconfdir}/pinforc

++++++ 16dba5978146b6d3a540ac7c8f415eda49280847.patch ++++++
>From 16dba5978146b6d3a540ac7c8f415eda49280847 Mon Sep 17 00:00:00 2001
From: Bas Zoetekouw <bas.zoetek...@surfnet.nl>
Date: Thu, 23 Jul 2020 20:11:24 +0200
Subject: [PATCH] fix use of global variabel

---
 src/parse_config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/parse_config.h b/src/parse_config.h
index 2dffa4f..4e68bb4 100644
--- a/src/parse_config.h
+++ b/src/parse_config.h
@@ -85,7 +85,7 @@ typedef struct colours
 colours;
 #endif /* HAVE_CURSES_COLOR */
 
-int use_manual;
+extern int use_manual;
 
 int parse_config (void);
 int parse_line (char *line);
++++++ 23c169877fda839f0634b2d193eaf26de290f141.patch ++++++
>From 23c169877fda839f0634b2d193eaf26de290f141 Mon Sep 17 00:00:00 2001
From: Bas Zoetekouw <bas.zoetek...@surfnet.nl>
Date: Thu, 23 Jul 2020 20:39:04 +0200
Subject: [PATCH] workaround false positie in gcc-10 stringop-overflow checks

---
 src/utils.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/utils.c b/src/utils.c
index cb2fe76..2e4139c 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -848,10 +848,9 @@ char *
 make_tempfile()
 {
        char *filename;
-       size_t len;
 
        /* TODO: fix hardcoded /tmp */
-       char tmpfile_template[] = "/tmp/pinfo.XXXXXX";
+       char tmpfile_template[32] = "/tmp/pinfo.XXXXXX";
 
        /* create a tmpfile */
        int fd = mkstemp(tmpfile_template);
@@ -864,9 +863,8 @@ make_tempfile()
        }
 
        /* allocate a new string and copy the filename there */
-       len = strlen(tmpfile_template)+1;
-       filename = xmalloc(len+1); /* guarenteerd to be set to \0's */
-       strncpy(filename, tmpfile_template, len);
+       filename = xmalloc(33); /* guarenteerd to be set to \0's */
+       strncpy(filename, tmpfile_template, 32);
 
        /* close the file */
        close(fd);

Reply via email to