Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package supportutils for openSUSE:Factory 
checked in at 2022-11-15 13:18:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/supportutils (Old)
 and      /work/SRC/openSUSE:Factory/.supportutils.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "supportutils"

Tue Nov 15 13:18:47 2022 rev:33 rq:1035669 version:3.1.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/supportutils/supportutils.changes        
2022-10-19 13:18:22.665309242 +0200
+++ /work/SRC/openSUSE:Factory/.supportutils.new.1597/supportutils.changes      
2022-11-15 13:21:32.696837765 +0100
@@ -1,0 +2,9 @@
+Fri Nov 11 18:01:33 UTC 2022 - [email protected]
+
+- Changes to supportconfig version 3.1.11-46.3
+  + Added missed sanitation check on crash.txt (bsc#1203818)
+- Changes to supportconfig.rc version 3.1.11-30
+  + Added check to _sanitize_file
+  + Using variable for replement text in _sanitize_file
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ supportutils-3.1.21.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.21/bin/supportconfig 
new/supportutils-3.1.21/bin/supportconfig
--- old/supportutils-3.1.21/bin/supportconfig   2022-10-18 20:14:45.978098355 
+0200
+++ new/supportutils-3.1.21/bin/supportconfig   2022-11-11 19:03:43.282029144 
+0100
@@ -1,7 +1,7 @@
 #!/bin/bash
 
-SVER='3.1.11-46.2'
-SDATE='2022 10 18'
+SVER='3.1.11-46.3'
+SDATE='2022 11 11'
 
 ##############################################################################
 #  supportconfig - Gathers system troubleshooting information for SUSE Support
@@ -2604,7 +2604,8 @@
                cat $i >> $LOG/$OF
                log_write $OF
        done
-echolog Done
+       _sanitize_file $OF
+       echolog Done
 }
 
 autofs_info() {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.21/bin/supportconfig.rc 
new/supportutils-3.1.21/bin/supportconfig.rc
--- old/supportutils-3.1.21/bin/supportconfig.rc        2022-10-18 
20:10:51.524304037 +0200
+++ new/supportutils-3.1.21/bin/supportconfig.rc        2022-11-11 
19:05:44.015041045 +0100
@@ -1,7 +1,7 @@
 ##############################################################################
 #  supportconfig.rc - Resource file for supportconfig
 #  Copyright (C) 2001-2022 SUSE LLC
-RCVER='3.1.11-29.6'
+RCVER='3.1.11-30'
 #
 #  Contains supporting functions and variables used by supportconfig and
 #  supportconfig plugins.
@@ -20,7 +20,7 @@
 #  You should have received a copy of the GNU General Public License
 #  along with this program; if not, see <http://www.gnu.org/licenses/>.
 #
-#  Modified: 2022 Oct 06
+#  Modified: 2022 Nov 11
 #  Authors/Contributors:
 #     Jason Record <[email protected]>
 #
@@ -469,10 +469,11 @@
 _sanitize_file() {
        CLEAN_FILE=${LOG}/$1
        REPLACED='*REMOVED BY SUPPORTCONFIG*'
-       sed -i -e 's/\(.*[P|p]ass"\?:\).*/\1 *REMOVED BY 
SUPPORTCONFIG*/g;s/\(.*[P|p]assword"\?:\).*/\1 *REMOVED BY 
SUPPORTCONFIG*/g;s/\(.*[P|p]ass[[:space:]]*=\).*/\1 *REMOVED BY 
SUPPORTCONFIG*/g' $CLEAN_FILE
-       sed -i -e 's/\(.*[P|p]assword[[:space:]]*=\).*/\1 *REMOVED BY 
SUPPORTCONFIG*/g;s/\(.*PASS=\).*/\1*REMOVED BY 
SUPPORTCONFIG*/g;s/\(.*_PASSWORD[[:space:]]*=\).*/\1 *REMOVED BY 
SUPPORTCONFIG*/g' $CLEAN_FILE
-       sed -i -e 's!\(<user_password>\).*\(</user_password>\)!\1*REMOVED BY 
SUPPORTCONFIG*\2!g;s/\(^ProxyUser[[:space:]]*=\).*/\1 *REMOVED BY 
SUPPORTCONFIG*/g' $CLEAN_FILE
-       sed -i -e 's/\(^credentials[[:space:]]*=\).*/\1 *REMOVED BY 
SUPPORTCONFIG*/g;s/\(secret[[:space:]]*=\).*/\1 *REMOVED BY SUPPORTCONFIG*/g' 
$CLEAN_FILE
+       sed -i -e "s/\(.*[P|p]ass\"\?:\).*/\1 
$REPLACED/g;s/\(.*[P|p]assword\"\?:\).*/\1 
$REPLACED/g;s/\(.*[P|p]ass[[:space:]]*=\).*/\1 $REPLACED/g" $CLEAN_FILE
+       sed -i -e "s/\(.*[P|p]assword[[:space:]]*=\).*/\1 
$REPLACED/g;s/\(.*PASS=\).*/\1$REPLACED/g;s/\(.*_PASSWORD[[:space:]]*=\).*/\1 
$REPLACED/g" $CLEAN_FILE
+       sed -i -e 
"s!\(<user_password>\).*\(</user_password>\)!\1$REPLACED\2!g;s/\(^ProxyUser[[:space:]]*=\).*/\1
 $REPLACED/g" $CLEAN_FILE
+       sed -i -e "s/\(^credentials[[:space:]]*=\).*/\1 
$REPLACED/g;s/\(secret[[:space:]]*=\).*/\1 $REPLACED/g" $CLEAN_FILE
+       sed -i -e "s/\(.*password.*}[[:space:]]*=\).*/\1 $REPLACED/g" 
$CLEAN_FILE
 }
 
 _log_cmd() {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/supportutils-3.1.21/spec/supportutils.changes 
new/supportutils-3.1.21/spec/supportutils.changes
--- old/supportutils-3.1.21/spec/supportutils.changes   2022-10-18 
20:14:37.370032051 +0200
+++ new/supportutils-3.1.21/spec/supportutils.changes   2022-11-11 
19:05:02.958696943 +0100
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Fri Nov 11 18:01:33 UTC 2022 - [email protected]
+
+- Changes to supportconfig version 3.1.11-46.3
+  + Added missed sanitation check on crash.txt (bsc#1203818)
+- Changes to supportconfig.rc version 3.1.11-30
+  + Added check to _sanitize_file
+  + Using variable for replement text in _sanitize_file
+
+-------------------------------------------------------------------
 Tue Oct 18 18:14:07 UTC 2022 - [email protected]
 
 - Added lifecycle information (issue#140)

Reply via email to