Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package os-update for openSUSE:Factory checked in at 2023-04-27 20:02:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/os-update (Old) and /work/SRC/openSUSE:Factory/.os-update.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "os-update" Thu Apr 27 20:02:38 2023 rev:14 rq:1083272 version:1.11 Changes: -------- --- /work/SRC/openSUSE:Factory/os-update/os-update.changes 2023-04-26 17:26:14.313930284 +0200 +++ /work/SRC/openSUSE:Factory/.os-update.new.1533/os-update.changes 2023-04-27 20:03:08.466703840 +0200 @@ -1,0 +2,7 @@ +Thu Apr 27 13:36:31 UTC 2023 - Thorsten Kukuk <ku...@suse.com> + +- Update to Version 1.11 + - Add LOG_TAG + - Fix reboottrigger for SLES12 + +------------------------------------------------------------------- Old: ---- os-update-1.10.tar.xz New: ---- os-update-1.11.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ os-update.spec ++++++ --- /var/tmp/diff_new_pack.vlbXVv/_old 2023-04-27 20:03:08.826705956 +0200 +++ /var/tmp/diff_new_pack.vlbXVv/_new 2023-04-27 20:03:08.830705980 +0200 @@ -21,7 +21,7 @@ %endif Name: os-update -Version: 1.10 +Version: 1.11 Release: 0 Summary: Updates the system regularly to stay current and safe License: GPL-2.0-or-later ++++++ os-update-1.10.tar.xz -> os-update-1.11.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.10/NEWS new/os-update-1.11/NEWS --- old/os-update-1.10/NEWS 2023-01-19 10:18:21.000000000 +0100 +++ new/os-update-1.11/NEWS 2023-04-27 15:30:41.000000000 +0200 @@ -1,3 +1,7 @@ +Version 1.11 + - Add LOG_TAG + - Fix reboottrigger for SLES12 + Version 1.10 - Fix check if reboot is required - Improve/fix check if systemd needs to be restarted diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.10/configure new/os-update-1.11/configure --- old/os-update-1.10/configure 2023-01-19 10:18:25.000000000 +0100 +++ new/os-update-1.11/configure 2023-04-27 15:30:52.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for os-update 1.10. +# Generated by GNU Autoconf 2.69 for os-update 1.11. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -576,8 +576,8 @@ # Identity of this package. PACKAGE_NAME='os-update' PACKAGE_TARNAME='os-update' -PACKAGE_VERSION='1.10' -PACKAGE_STRING='os-update 1.10' +PACKAGE_VERSION='1.11' +PACKAGE_STRING='os-update 1.11' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1214,7 +1214,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures os-update 1.10 to adapt to many kinds of systems. +\`configure' configures os-update 1.11 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1280,7 +1280,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of os-update 1.10:";; + short | recursive ) echo "Configuration of os-update 1.11:";; esac cat <<\_ACEOF @@ -1370,7 +1370,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -os-update configure 1.10 +os-update configure 1.11 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1387,7 +1387,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by os-update $as_me 1.10, which was +It was created by os-update $as_me 1.11, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2250,7 +2250,7 @@ # Define the identity of the package. PACKAGE='os-update' - VERSION='1.10' + VERSION='1.11' cat >>confdefs.h <<_ACEOF @@ -3124,7 +3124,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by os-update $as_me 1.10, which was +This file was extended by os-update $as_me 1.11, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3177,7 +3177,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -os-update config.status 1.10 +os-update config.status 1.11 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.10/configure.ac new/os-update-1.11/configure.ac --- old/os-update-1.10/configure.ac 2023-01-19 10:17:44.000000000 +0100 +++ new/os-update-1.11/configure.ac 2023-04-27 15:30:08.000000000 +0200 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(os-update, 1.10) +AC_INIT(os-update, 1.11) AM_INIT_AUTOMAKE AC_PREFIX_DEFAULT(/usr) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.10/src/Makefile.in new/os-update-1.11/src/Makefile.in --- old/os-update-1.10/src/Makefile.in 2023-01-19 10:18:24.000000000 +0100 +++ new/os-update-1.11/src/Makefile.in 2023-04-27 15:30:50.000000000 +0200 @@ -253,9 +253,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign src/Makefile + $(AUTOMAKE) --gnu src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.10/src/os-update.8 new/os-update-1.11/src/os-update.8 --- old/os-update-1.10/src/os-update.8 2022-12-19 13:16:05.000000000 +0100 +++ new/os-update-1.11/src/os-update.8 2023-04-27 15:29:51.000000000 +0200 @@ -1,5 +1,19 @@ -.\" Automatically generated by Pandoc 2.9.2.1 +.\" Automatically generated by Pandoc 2.17.1.1 .\" +.\" Define V font for inline verbatim, using C font in formats +.\" that render this, and otherwise B font. +.ie "\f[CB]x\f[]"x" \{\ +. ftr V B +. ftr VI BI +. ftr VB B +. ftr VBI BI +.\} +.el \{\ +. ftr V CR +. ftr VI CI +. ftr VB CB +. ftr VBI CBI +.\} .TH "os-update" "8" "" "" "" .hy .SH NAME @@ -19,20 +33,20 @@ \f[B]/usr/lib/systemd/system/os-update.timer\f[R] .SH DESCRIPTION .PP -\f[C]os-update\f[R] runs daily via the \f[C]os-update.timer\f[R] systemd +\f[V]os-update\f[R] runs daily via the \f[V]os-update.timer\f[R] systemd timer and updates the system in a defined way. If the updated packages require a reboot, either rebootmgr is notified -(if running) or a reboot is done via \f[C]systemctl reboot\f[R]. +(if running) or a reboot is done via \f[V]systemctl reboot\f[R]. .PP The os-update.timer can be configured like any other systemd timer to run at the best fitting time. .PP It can be configured to do a full system upgrade -(e.g.\ \f[C]zypper dup\f[R] for rolling release distributions like +(e.g.\ \f[V]zypper dup\f[R] for rolling release distributions like \f[I]openSUSE Tumbleweed\f[R]), to update only packages -(e.g.\ \f[C]zypper up\f[R] for something like \f[I]SUSE Linux +(e.g.\ \f[V]zypper up\f[R] for something like \f[I]SUSE Linux Enterprise\f[R]) or to apply only security updates -(e.g.\ \f[C]zypper patch --category security\f[R]). +(e.g.\ \f[V]zypper patch --category security\f[R]). .SH CONFIGURATION OPTIONS .TP UPDATE_CMD=\[lq]auto\[rq] @@ -47,7 +61,7 @@ Valid values are \[lq]auto\[rq], \[lq]rebootmgr\[rq], \[lq]reboot\[rq] and \[lq]none\[rq]. \[lq]auto\[rq] will use rebootmgr if installed and running, else -\f[C]systemctl reboot\f[R]. +\f[V]systemctl reboot\f[R]. \[lq]none\[rq] will only print an informative message that a reboot is required, but not trigger any. .TP @@ -60,6 +74,9 @@ .TP SERVICES_TRIGGERING_REBOOT=\[lq]dbus\[rq] Specifies a list of services which trigger a reboot +.TP +LOG_TAG=\[lq]root\[rq] +Specifies a custom log identifier .SH CONFIGURATION FILES .TP /usr/etc/os-update.conf @@ -73,4 +90,4 @@ .PP systemd.timer(5), systemd-status-mail(8) .SH AUTHORS -Thorsten Kukuk \f[C]<kukuk\[at]thkukuk.de>\f[R]. +Thorsten Kukuk \f[V]<kukuk\[at]thkukuk.de>\f[R]. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.10/src/os-update.8.md new/os-update-1.11/src/os-update.8.md --- old/os-update-1.10/src/os-update.8.md 2022-12-19 13:14:11.000000000 +0100 +++ new/os-update-1.11/src/os-update.8.md 2023-04-27 15:29:32.000000000 +0200 @@ -49,6 +49,9 @@ SERVICES_TRIGGERING_REBOOT="dbus" : Specifies a list of services which trigger a reboot +LOG_TAG="root" +: Specifies a custom log identifier + # CONFIGURATION FILES /usr/etc/os-update.conf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.10/src/os-update.in new/os-update-1.11/src/os-update.in --- old/os-update-1.10/src/os-update.in 2023-01-19 10:15:20.000000000 +0100 +++ new/os-update-1.11/src/os-update.in 2023-04-27 15:29:32.000000000 +0200 @@ -32,13 +32,21 @@ log_error() { echo "$@" >&2 - logger --priority user.err "$@" + local LOG_ARGS="--priority user.err" + if [ -n "$LOG_TAG" ]; then + LOG_ARGS="$LOG_ARGS -t $LOG_TAG" + fi + logger ${LOG_ARGS} "$@" } log_info() { echo "$@" - logger "$@" + local LOG_ARGS="" + if [ -n "$LOG_TAG" ]; then + LOG_ARGS="$LOG_ARGS -t $LOG_TAG" + fi + logger ${LOG_ARGS} "$@" } usage() { @@ -68,7 +76,7 @@ for rpm in $(rpm -q kernel-${flavor}) ; do installed=${rpm#kernel-${flavor}-} if [[ ${installed} > ${version}.1.$(uname -m) ]] ; then - reboottrigger = "yes" + reboottrigger="yes" fi done fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.10/systemd/Makefile.in new/os-update-1.11/systemd/Makefile.in --- old/os-update-1.10/systemd/Makefile.in 2023-01-19 10:18:24.000000000 +0100 +++ new/os-update-1.11/systemd/Makefile.in 2023-04-27 15:30:50.000000000 +0200 @@ -249,9 +249,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign systemd/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu systemd/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign systemd/Makefile + $(AUTOMAKE) --gnu systemd/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \