Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package supportutils for openSUSE:Factory checked in at 2021-05-15 23:15:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/supportutils (Old) and /work/SRC/openSUSE:Factory/.supportutils.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "supportutils" Sat May 15 23:15:51 2021 rev:23 rq:892584 version:3.1.15 Changes: -------- --- /work/SRC/openSUSE:Factory/supportutils/supportutils.changes 2021-04-23 17:49:40.834696681 +0200 +++ /work/SRC/openSUSE:Factory/.supportutils.new.2988/supportutils.changes 2021-05-15 23:16:52.268575914 +0200 @@ -1,0 +2,6 @@ +Wed May 12 20:43:16 UTC 2021 - Jason Record <jason.rec...@suse.com> + +- getappcore checks for valid compression binary (bsc#1185991) +- getappcore does not trigger errors with help message (bsc#1185993) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ supportutils-3.1.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.15/bin/getappcore new/supportutils-3.1.15/bin/getappcore --- old/supportutils-3.1.15/bin/getappcore 2021-02-10 19:48:46.114042505 +0100 +++ new/supportutils-3.1.15/bin/getappcore 2021-05-12 22:28:49.129584226 +0200 @@ -1,6 +1,6 @@ #!/bin/bash -SVER='1.51.2' +SVER='1.52.8_dev2' SDATE="2020 03 12" SNAME=$(basename $0) @@ -12,7 +12,7 @@ # Please submit bug fixes or comments via: # # http://en.opensuse.org/Supportutils#Reporting_Bugs # # # -# Copyright (C) 2007,2008-2020 SUSE LINUX GmbH, Nuernberg, Germany # +# Copyright (C) 2007-2021 SUSE LINUX GmbH, Nuernberg, Germany # # # # --------------------------------------------------------------------- # # # @@ -50,7 +50,9 @@ # --------------------------------------------------------------------- # # Changes: # # # +# 1.53 Release # # - Check tar return code instead of existence of archive # +# - Check for valid compression binary # # 1.52 Release # # - Capture coredumpctl info in getappcore.log # # - Changed nts_ to scc_ with ARCHIVE_PREFIX # @@ -87,6 +89,8 @@ OS_RELEASE="/etc/os-release" ARCHIVE_PREFIX='scc_' JOURNAL_PID='' +TAR_BIN_OPTIONS='' +TAR_BIN_EXT='' UPLOAD=0 VERBOSE=0 CLEANUP_CORE=0 @@ -241,6 +245,18 @@ fi fi done + if [[ -x /usr/bin/xz ]]; then + TAR_BIN_OPTIONS='-Jhvcvf' + TAR_BIN_EXT='txz' + elif [[ -x /usr/bin/bzip2 ]]; then + TAR_BIN_OPTIONS='-jhvcvf' + TAR_BIN_EXT='tbz' + elif [[ -x /usr/bin/gzip ]]; then + TAR_BIN_OPTIONS='-zhvcvf' + TAR_BIN_EXT='tgz' + else + MISSING_BINS="/usr/bin/xz or /usr/bin/bzip2 or /usr/bin/gzip $MISSING_BINS" + fi if ! [ -z "$MISSING_BINS" ]; then echo "The following required binaries were not found!" echo @@ -368,17 +384,18 @@ echo -n "Creating core archive... " ORIGINAL_DIR=$PWD cd $GETAPPCORE_TMP_DIR - FINAL_ARCHIVE_FILE="${CORE_ARCHIVE_NAME}.tbz" + FINAL_ARCHIVE_FILE="${CORE_ARCHIVE_NAME}.${TAR_BIN_EXT}" FINAL_ARCHIVE_NAME="${ARCHIVE_PATH}/${FINAL_ARCHIVE_FILE}" verbose '' - verbose "Executing: $TAR_BIN -jhvcvf $FINAL_ARCHIVE_NAME $CORE_ARCHIVE_NAME 1>/dev/null 2>&1" - $TAR_BIN -jhvcvf $FINAL_ARCHIVE_NAME $CORE_ARCHIVE_NAME 1>/dev/null 2>&1 - if [ $? -eq 0 ]; then + verbose "Executing: $TAR_BIN $TAR_BIN_OPTIONS $FINAL_ARCHIVE_NAME $CORE_ARCHIVE_NAME 1>/dev/null 2>&1" + $TAR_BIN $TAR_BIN_OPTIONS $FINAL_ARCHIVE_NAME $CORE_ARCHIVE_NAME 1>/dev/null 2>&1 + if [[ $? -eq 0 ]]; then echo "Done" verbose "Created archive as: $FINAL_ARCHIVE_NAME" else echo "ERROR" echo "+ Unable to create $FINAL_ARCHIVE_NAME!" + exit 5 fi cd $ORIGINAL_DIR } @@ -500,6 +517,8 @@ do case $opt in \?) + get_server_release + show_title show_help cleanup exit 0 @@ -525,6 +544,8 @@ JOURNAL_PID=$OPTARG ;; h) + get_server_release + show_title show_help cleanup exit 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/supportutils-3.1.15/spec/supportutils.changes new/supportutils-3.1.15/spec/supportutils.changes --- old/supportutils-3.1.15/spec/supportutils.changes 2021-04-19 19:05:33.943367377 +0200 +++ new/supportutils-3.1.15/spec/supportutils.changes 2021-05-12 22:43:56.669487461 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed May 12 20:43:16 UTC 2021 - Jason Record <jason.rec...@suse.com> + +- getappcore checks for valid compression binary (bsc#1185991) +- getappcore does not trigger errors with help message (bsc#1185993) + +------------------------------------------------------------------- Mon Apr 19 17:05:13 UTC 2021 - Jason Record <jason.rec...@suse.com> - Additions to version 3.1.15