Hello community, here is the log from the commit of package blog for openSUSE:Factory checked in at 2020-01-18 12:13:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/blog (Old) and /work/SRC/openSUSE:Factory/.blog.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "blog" Sat Jan 18 12:13:31 2020 rev:12 rq:762162 version:2.20 Changes: -------- --- /work/SRC/openSUSE:Factory/blog/blog.changes 2019-09-20 14:44:35.430985392 +0200 +++ /work/SRC/openSUSE:Factory/.blog.new.26092/blog.changes 2020-01-18 12:13:34.330992215 +0100 @@ -1,0 +2,13 @@ +Thu Jan 9 11:34:47 UTC 2020 - Dr. Werner Fink <[email protected]> + +- Update to version 2.20 + * Silent some gcc warnings, also avoid common variable (boo#1160385) + * Include <sys/sysmacros.h> for makedev + * sort input files (boo#1041090) + * libconsole: never return empty list from getconsoles() + * libconsole: Really allow to use /dev/console as a fallback in showconsole + * libconsole: Add console into the list only when successfully allocated + * libconsole: Correctly ignore early consoles +- Remove obsolate patch blog-Remove-unused-header.patch + +------------------------------------------------------------------- Old: ---- blog-Remove-unused-header.patch showconsole-2.19.tar.gz New: ---- showconsole-2.20.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blog.spec ++++++ --- /var/tmp/diff_new_pack.5BbEQx/_old 2020-01-18 12:13:36.342993294 +0100 +++ /var/tmp/diff_new_pack.5BbEQx/_new 2020-01-18 12:13:36.342993294 +0100 @@ -1,7 +1,7 @@ # # spec file for package blog # -# 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 @@ -17,17 +17,14 @@ Name: blog -Version: 2.19 +Version: 2.20 Release: 0 Summary: Boot logging License: GPL-2.0-or-later Group: System/Base -Url: https://github.com/bitstreamout/showconsole +URL: https://github.com/bitstreamout/showconsole Source: https://github.com/bitstreamout/showconsole/archive/v%{version}.tar.gz#/showconsole-%{version}.tar.gz Source1: blog-rpmlintrc -# PATCH-FIX-UPSTREAM blog-Remove-unused-header.patch -- Fix build with new glibc -Patch0: blog-Remove-unused-header.patch - BuildRequires: suse-module-tools Requires(post): coreutils BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -76,7 +73,6 @@ %prep %setup -q -n showconsole-%version -%patch0 -p1 %build make %{?_smp_mflags} CC="%__cc" \ ++++++ showconsole-2.19.tar.gz -> showconsole-2.20.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/showconsole-2.19/README.md new/showconsole-2.20/README.md --- old/showconsole-2.19/README.md 2018-08-02 09:33:35.000000000 +0200 +++ new/showconsole-2.20/README.md 2020-01-09 12:22:44.000000000 +0100 @@ -3,7 +3,7 @@ The package showconsole includes several helpers which had been developed over the years for SUSE and openSUSE Linux. There are - * blogd - Doe boot logging on /dev/console + * blogd - Does boot logging on /dev/console * blogctl - Control the boot logging daemon blogd * blogger - Writes messages to a running blogd process * isserial - Determines if the underlying tty of stdin is a serial line diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/showconsole-2.19/blogd.c new/showconsole-2.20/blogd.c --- old/showconsole-2.19/blogd.c 2018-08-02 09:33:35.000000000 +0200 +++ new/showconsole-2.20/blogd.c 2020-01-09 12:22:44.000000000 +0100 @@ -25,7 +25,6 @@ #include <stdlib.h> #include <stdarg.h> #include <string.h> -#include <stropts.h> #include <dirent.h> #include <fcntl.h> #include <termios.h> @@ -435,12 +434,13 @@ { const char *msg = "can not get terminal flags of stdin\n"; int flags; + int ret __attribute__ ((unused)); if ((flags = fcntl(0, F_GETFL)) < 0) list_for_each_entry(c, &cons->node, node) { if (c->fd < 0) continue; - (void)write(c->fd, msg, strlen(msg)); + ret = write(c->fd, msg, strlen(msg)); } else { flags &= ~(O_NONBLOCK); @@ -449,7 +449,7 @@ list_for_each_entry(c, &cons->node, node) { if (c->fd < 0) continue; - (void)write(c->fd, msg, strlen(msg)); + ret = write(c->fd, msg, strlen(msg)); } } } @@ -468,11 +468,12 @@ list_for_each_entry(c, &cons->node, node) { const char *msg = "blogd: can not fork to become daemon: "; const char *err = strerror(errno); + int ret __attribute__ ((unused)); if (c->fd < 0) continue; - (void)write(c->fd, msg, strlen(msg)); - (void)write(c->fd, err, strlen(err)); - (void)write(c->fd, "\n", 1); + ret = write(c->fd, msg, strlen(msg)); + ret = write(c->fd, err, strlen(err)); + ret = write(c->fd, "\n", 1); } exit(EXIT_FAILURE); default: @@ -492,8 +493,8 @@ fflush(stdout); if (pipefd[0] > 0) { - int dummy; - read(pipefd[0], &dummy, 1); + int dummy, ret __attribute__ ((unused)); + ret = read(pipefd[0], &dummy, 1); close(pipefd[0]); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/showconsole-2.19/libconsole/log.c new/showconsole-2.20/libconsole/log.c --- old/showconsole-2.19/libconsole/log.c 2018-08-02 09:33:35.000000000 +0200 +++ new/showconsole-2.20/libconsole/log.c 2020-01-09 12:22:44.000000000 +0100 @@ -41,7 +41,7 @@ /* * Signal control for writing on log file */ -volatile sig_atomic_t nsigsys; +extern volatile sig_atomic_t nsigsys; /* * Our ring buffer
