Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2019-09-11 10:18:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "PackageKit" Wed Sep 11 10:18:16 2019 rev:191 rq:729386 version:1.1.12 Changes: -------- --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes 2019-08-28 16:01:15.498802520 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.7948/PackageKit.changes 2019-09-11 10:18:17.487526412 +0200 @@ -1,0 +2,7 @@ +Mon Sep 9 08:27:28 UTC 2019 - Jonathan Kang <[email protected]> + +- Modify PackageKit-systemd-timers.patch: Port the cron + configuration variables to the script, and add -sendwait + parameter to mail in the script(bsc#1130306). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PackageKit-systemd-timers.patch ++++++ --- /var/tmp/diff_new_pack.zxQqp8/_old 2019-09-11 10:18:18.847526243 +0200 +++ /var/tmp/diff_new_pack.zxQqp8/_new 2019-09-11 10:18:18.851526243 +0200 @@ -65,7 +65,7 @@ =================================================================== --- /dev/null +++ PackageKit-1.1.12/data/packagekit-background.sh -@@ -0,0 +1,58 @@ +@@ -0,0 +1,102 @@ +#!/bin/bash +# Copyright (C) 2008 Richard Hughes <[email protected]> +# @@ -77,7 +77,51 @@ +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + -+[ -f /etc/sysconfig/packagekit-background ] && . /etc/sysconfig/packagekit-background ++## Type: yesno ++## Default: no ++# ++# Run the cron job. ++# ++ENABLED=no ++ ++## Type: yesno ++## Default: no ++# ++# Check if updates are available, instead of installing. ++# ++CHECK_ONLY=no ++ ++## Type: yesno ++## Default: no ++# ++# Trigger updates, so they will be installed on reboot. ++# ++UPDATE_OFFLINE=no ++ ++## Type: string ++## Default: "" ++# ++# If MAILTO is set, the mail command is used to deliver PackageKit output. ++# By default MAILTO is unset, so crond mails the output by itself. ++# ++MAILTO="" ++ ++## Type: string ++## Default: "" ++# ++# You may set SYSTEM_NAME if you want your PackageKit emails tagged differently. ++# Default is output of hostname command. ++# ++SYSTEM_NAME="" ++ ++## Type: integer ++## Default: 3600 ++# ++# Update checks will sleep random time before contacting the servers to ++# avoid hammering them with thousands of request at the same time - this ++# is the maximum sleep time (in seconds) for the random wait period. ++# ++SLEEP_MAX=3600 + +# are we disabled? +if [ "$ENABLED" = "no" ]; then @@ -115,7 +159,7 @@ +if [ $PKCON_RETVAL -ne 5 ]; then + # send email + if [ -n "$MAILTO" ]; then -+ mail -s "System updates available: $SYSTEM_NAME" $MAILTO < $PKTMP ++ mail -Ssendwait -s "System updates available: $SYSTEM_NAME" $MAILTO < $PKTMP + else + # default behavior is to use cron's internal mailing of output from cron-script + cat $PKTMP
