Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-scanner for openSUSE:Factory 
checked in at 2022-09-10 20:17:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-scanner (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-scanner.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-scanner"

Sat Sep 10 20:17:09 2022 rev:58 rq:1002295 version:4.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-scanner/yast2-scanner.changes      
2022-04-14 17:25:11.783244519 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-scanner.new.2083/yast2-scanner.changes    
2022-09-10 20:17:14.864822245 +0200
@@ -1,0 +2,7 @@
+Fri Sep  9 08:07:06 UTC 2022 - Michal Filka <[email protected]>
+
+- bsc#1203227
+  - Replaced egrep with grep -E.
+- 4.5.1
+
+-------------------------------------------------------------------

Old:
----
  yast2-scanner-4.5.0.tar.bz2

New:
----
  yast2-scanner-4.5.1.tar.bz2

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

Other differences:
------------------
++++++ yast2-scanner.spec ++++++
--- /var/tmp/diff_new_pack.Lm4oPJ/_old  2022-09-10 20:17:15.264823274 +0200
+++ /var/tmp/diff_new_pack.Lm4oPJ/_new  2022-09-10 20:17:15.268823285 +0200
@@ -20,7 +20,7 @@
 # which are pulled in by Autoreqprov because of the displaytest tool:
 %define my_requires /tmp/my-requires
 Name:           yast2-scanner
-Version:        4.5.0
+Version:        4.5.1
 Release:        0
 Summary:        YaST2 - Scanner Configuration
 License:        GPL-2.0-only

++++++ yast2-scanner-4.5.0.tar.bz2 -> yast2-scanner-4.5.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-scanner-4.5.0/package/yast2-scanner.changes 
new/yast2-scanner-4.5.1/package/yast2-scanner.changes
--- old/yast2-scanner-4.5.0/package/yast2-scanner.changes       2022-04-12 
13:37:43.000000000 +0200
+++ new/yast2-scanner-4.5.1/package/yast2-scanner.changes       2022-09-09 
13:21:56.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Fri Sep  9 08:07:06 UTC 2022 - Michal Filka <[email protected]>
+
+- bsc#1203227
+  - Replaced egrep with grep -E.
+- 4.5.1
+
+-------------------------------------------------------------------
 Wed Apr 06 13:24:58 UTC 2022 - Ladislav Slez??k <[email protected]>
 
 - Bump version to 4.5.0 (bsc#1198109)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-scanner-4.5.0/package/yast2-scanner.spec 
new/yast2-scanner-4.5.1/package/yast2-scanner.spec
--- old/yast2-scanner-4.5.0/package/yast2-scanner.spec  2022-04-12 
13:37:43.000000000 +0200
+++ new/yast2-scanner-4.5.1/package/yast2-scanner.spec  2022-09-09 
13:21:56.000000000 +0200
@@ -20,7 +20,7 @@
 # which are pulled in by Autoreqprov because of the displaytest tool:
 %define my_requires /tmp/my-requires
 Name:           yast2-scanner
-Version:        4.5.0
+Version:        4.5.1
 Release:        0
 Summary:        YaST2 - Scanner Configuration
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-scanner-4.5.0/src/modules/Scanner.rb 
new/yast2-scanner-4.5.1/src/modules/Scanner.rb
--- old/yast2-scanner-4.5.0/src/modules/Scanner.rb      2022-04-12 
13:37:43.000000000 +0200
+++ new/yast2-scanner-4.5.1/src/modules/Scanner.rb      2022-09-09 
13:21:56.000000000 +0200
@@ -738,7 +738,7 @@
       # is required by a print queue for LPRng or for a third-party printing 
system.
       if "hpaio" == backend_name
         return ExecuteBashCommand(
-          "/usr/bin/lpstat -v | /bin/egrep -q ': hp:/|: hpfax:/'"
+          "/usr/bin/lpstat -v | /bin/grep -E -q ': hp:/|: hpfax:/'"
         )
       end
       if "hpoj" == backend_name
@@ -2547,10 +2547,10 @@
     end
 
     # Determine if any kind of firewall seems to be active by calling
-    # "iptables -n -L | egrep -q 'DROP|REJECT'"
+    # "iptables -n -L | grep -E -q 'DROP|REJECT'"
     # to find out if there are currently dropping or rejecting packet filter 
rules.
     # One might use a more specific test via
-    # "iptables -n -L | grep -v '^LOG' | egrep -q '^DROP|^REJECT'"
+    # "iptables -n -L | grep -v '^LOG' | grep -E -q '^DROP|^REJECT'"
     # to match only for DROP and REJECT targets and exclude LOG targets
     # but it does not cause real problems when there is a false positive 
result here
     # because all what happens it that then a needless firewall info popup 
would be shown.
@@ -2558,7 +2558,7 @@
     # regarding scanning via network and firewall.
     # @return true if any kind of firewall seems to be active
     def ShowFirewallPopup
-      if ExecuteBashCommand("iptables -n -L | egrep -q 'DROP|REJECT'")
+      if ExecuteBashCommand("iptables -n -L | grep -E -q 'DROP|REJECT'")
         Builtins.y2milestone("A firewall seems to be active.")
         Popup.MessageDetails(
           _("Check that your firewall allows scanning via network."),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-scanner-4.5.0/tools/autodetect_scanners 
new/yast2-scanner-4.5.1/tools/autodetect_scanners
--- old/yast2-scanner-4.5.0/tools/autodetect_scanners   2022-04-12 
13:37:43.000000000 +0200
+++ new/yast2-scanner-4.5.1/tools/autodetect_scanners   2022-09-09 
13:21:56.000000000 +0200
@@ -54,7 +54,7 @@
      exit 2
 fi
 # Only USB and SCSI scanners are taken into account:
-egrep '^found SCSI |^found USB ' <$TMP_DATA_RAW | sort -u | sed -e 's/^found 
//' | tr \" \' >$TMP_DATA
+grep -E '^found SCSI |^found USB ' <$TMP_DATA_RAW | sort -u | sed -e 's/^found 
//' | tr \" \' >$TMP_DATA
 
 # Append the raw data for HP all-in-one devices via "hp-probe".
 # The scanner unit in HP all-in-one USB devices works even without a CUPS queue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-scanner-4.5.0/tools/create_scanner_database 
new/yast2-scanner-4.5.1/tools/create_scanner_database
--- old/yast2-scanner-4.5.0/tools/create_scanner_database       2022-04-12 
13:37:43.000000000 +0200
+++ new/yast2-scanner-4.5.1/tools/create_scanner_database       2022-09-09 
13:21:56.000000000 +0200
@@ -41,7 +41,7 @@
 # Function to extract entries from a description file with SANE syntax.
 # Quoted quotation marks '\"' (happens in comments) are replaced by ' ':
 Extract()
-{ cat $1 | sed -e 's/\\"/ /g' | egrep -o 
'^[[:space:]]*:backend[[:space:]]*"[^"]*"|^[[:space:]]*:version[[:space:]]*"[^"]*"|^[[:space:]]*:mfg[[:space:]]*"[^"]*"|^[[:space:]]*:model[[:space:]]*"[^"]*"|^[[:space:]]*:firmware[[:space:]]*"[^"]*"|^[[:space:]]*:interface[[:space:]]*"[^"]*"|^[[:space:]]*:usbid[[:space:]]*"0x[0-9A-Fa-f]*"[[:space:]]*"0x[0-9A-Fa-f]*"|^[[:space:]]*:status[[:space:]]*:[a-z]*|^[[:space:]]*:comment[[:space:]]*"[^"]*"'
+{ cat $1 | sed -e 's/\\"/ /g' | grep -E -o 
'^[[:space:]]*:backend[[:space:]]*"[^"]*"|^[[:space:]]*:version[[:space:]]*"[^"]*"|^[[:space:]]*:mfg[[:space:]]*"[^"]*"|^[[:space:]]*:model[[:space:]]*"[^"]*"|^[[:space:]]*:firmware[[:space:]]*"[^"]*"|^[[:space:]]*:interface[[:space:]]*"[^"]*"|^[[:space:]]*:usbid[[:space:]]*"0x[0-9A-Fa-f]*"[[:space:]]*"0x[0-9A-Fa-f]*"|^[[:space:]]*:status[[:space:]]*:[a-z]*|^[[:space:]]*:comment[[:space:]]*"[^"]*"'
 }
 
 # Process the SANE description files:
@@ -125,7 +125,7 @@
        [ -z "$USBID" ] && USBID='""'
        [ -z "$COMMENT" ] && COMMENT='""'
        if [ "$PACKAGE" = '"iscan"' -o "$PACKAGE" = '"iscan-free"' ]
-       then if echo "$COMMENT" | egrep -q 'requires a DFSG non-free 
module|requires DFSG non-free'
+       then if echo "$COMMENT" | grep -E -q 'requires a DFSG non-free 
module|requires DFSG non-free'
             then PACKAGE='"iscan"'
             else PACKAGE='"iscan-free"'
             fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-scanner-4.5.0/tools/determine_network_scanner_config 
new/yast2-scanner-4.5.1/tools/determine_network_scanner_config
--- old/yast2-scanner-4.5.0/tools/determine_network_scanner_config      
2022-04-12 13:37:43.000000000 +0200
+++ new/yast2-scanner-4.5.1/tools/determine_network_scanner_config      
2022-09-09 13:21:56.000000000 +0200
@@ -37,7 +37,7 @@
 
 # Function to extract entries from a SANE config file:
 Extract()
-{ egrep -v '^#|^[[:space:]]*$' $1 | tr -d '[:blank:]' | sort -u | tr -s '\n' 
',' 
+{ grep -E -v '^#|^[[:space:]]*$' $1 | tr -d '[:blank:]' | sort -u | tr -s '\n' 
',' 
 }
 
 # Get and output the hosts in $NET_BACKEND_CONFIG_FILE

Reply via email to