commit sg3_utils for openSUSE:Factory

2019-05-06 Thread root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2019-05-06 13:17:32

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new.5148 (New)


Package is "sg3_utils"

Mon May  6 13:17:32 2019 rev:54 rq:699766 version:1.45~815+5.6aa67ed

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2019-04-30 
12:56:46.142196780 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new.5148/sg3_utils.changes
2019-05-06 13:17:43.292010442 +0200
@@ -22,0 +23,5 @@
+Thu Apr 18 18:33:13 UTC 2019 - Jan Engelhardt 
+
+- Replace old $RPM_* shell vars.
+
+---



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.Aum9CI/_old  2019-05-06 13:17:44.960014416 +0200
+++ /var/tmp/diff_new_pack.Aum9CI/_new  2019-05-06 13:17:44.960014416 +0200
@@ -93,20 +93,20 @@
 
 %install
 %make_install
-install -m 644 doc/rescan-scsi-bus.sh.8 $RPM_BUILD_ROOT%{_mandir}/man8
-mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir}
-install -m 644 scripts/54-before-scsi-sg3_id.rules 
$RPM_BUILD_ROOT%{_udevrulesdir}
-install -m 644 scripts/55-scsi-sg3_id.rules $RPM_BUILD_ROOT%{_udevrulesdir}
-install -m 644 scripts/58-scsi-sg3_symlink.rules 
$RPM_BUILD_ROOT%{_udevrulesdir}
-install -m 644 scripts/40-usb-blacklist.rules $RPM_BUILD_ROOT%{_udevrulesdir}
-install -m 644 scripts/59-fc-wwpn-id.rules $RPM_BUILD_ROOT%{_udevrulesdir}
-install -m 755 scripts/fc_wwpn_id $RPM_BUILD_ROOT%{_udevrulesdir}/..
-mkdir -p $RPM_BUILD_ROOT/usr/lib/dracut/dracut.conf.d
-install -m 644 %{SOURCE1} 
$RPM_BUILD_ROOT/usr/lib/dracut/dracut.conf.d/50-sg3_utils.conf
-mkdir -p $RPM_BUILD_ROOT%{_unitdir}
-install -m 644 scripts/lunmask.service $RPM_BUILD_ROOT%{_unitdir}
-mkdir -p $RPM_BUILD_ROOT%{_unitdir}/../scripts
-install -m 755 scripts/scsi-enable-target-scan.sh 
$RPM_BUILD_ROOT%{_unitdir}/../scripts
+install -m 644 doc/rescan-scsi-bus.sh.8 %{buildroot}/%{_mandir}/man8
+mkdir -p %{buildroot}/%{_udevrulesdir}
+install -m 644 scripts/54-before-scsi-sg3_id.rules 
%{buildroot}/%{_udevrulesdir}
+install -m 644 scripts/55-scsi-sg3_id.rules %{buildroot}/%{_udevrulesdir}
+install -m 644 scripts/58-scsi-sg3_symlink.rules %{buildroot}/%{_udevrulesdir}
+install -m 644 scripts/40-usb-blacklist.rules %{buildroot}/%{_udevrulesdir}
+install -m 644 scripts/59-fc-wwpn-id.rules %{buildroot}/%{_udevrulesdir}
+install -m 755 scripts/fc_wwpn_id %{buildroot}/%{_udevrulesdir}/..
+mkdir -p %{buildroot}/usr/lib/dracut/dracut.conf.d
+install -m 644 %{SOURCE1} 
%{buildroot}/usr/lib/dracut/dracut.conf.d/50-sg3_utils.conf
+mkdir -p %{buildroot}/%{_unitdir}
+install -m 644 scripts/lunmask.service %{buildroot}/%{_unitdir}
+mkdir -p %{buildroot}/%{_unitdir}/../scripts
+install -m 755 scripts/scsi-enable-target-scan.sh 
%{buildroot}/%{_unitdir}/../scripts
 rm -f %{buildroot}%{_libdir}/*.la
 
 %post -n %lname -p /sbin/ldconfig




commit sg3_utils for openSUSE:Factory

2019-04-30 Thread root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2019-04-30 12:56:40

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new.5536 (New)


Package is "sg3_utils"

Tue Apr 30 12:56:40 2019 rev:53 rq:697919 version:1.45~815+5.6aa67ed

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2019-04-20 
17:12:36.446873029 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new.5536/sg3_utils.changes
2019-04-30 12:56:46.142196780 +0200
@@ -1,0 +2,21 @@
+Thu Apr 25 19:11:45 UTC 2019 - mwi...@suse.com
+
+- Update to version 1.45~815+5.6aa67ed:
+  * 59-fc-wwpn-id.rules: fix rule syntax (bsc#1133418)
+
+- Update to svn r815:
+  * sg_opcodes: expand MLU (spc5r20)
+  * sg_inq: update version descriptors to spc5r21
+  * sg_vpd: 3pc VPD page add copy group descriptor
+  * sg_xcopy: add --fco (fast copy only) (spc5r20) and --app=1
+  * add nanosecond durations with SG3_UTILS_LINUX_NANO
+
+- Earlier SUSE fixes now included upstream:
+  * 58-scsi-sg3_symlink.rules: don't skip multipath members
+  (bsc#1085212) [r815]
+  * rescan-scsi-bus.sh: terminate scanning if last lun got removed
+  (bsc#1087008) [r815]
+  * Add scsi-enable-target-scan.sh (bsc#954600) [r814]
+  * shellcheck cleanups for rescan-scsi-bus.sh [r814]
+
+---

Old:

  sg3_utils-1.45~803+31.564be3d.tar.xz

New:

  sg3_utils-1.45~815+5.6aa67ed.tar.xz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.740ErC/_old  2019-04-30 12:56:46.954196276 +0200
+++ /var/tmp/diff_new_pack.740ErC/_new  2019-04-30 12:56:46.954196276 +0200
@@ -18,7 +18,7 @@
 
 Name:   sg3_utils
 %define lname  libsgutils2-1_45-2
-Version:1.45~803+31.564be3d
+Version:1.45~815+5.6aa67ed
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
 License:GPL-2.0-or-later AND BSD-3-Clause

++ _servicedata ++
--- /var/tmp/diff_new_pack.740ErC/_old  2019-04-30 12:56:46.994196250 +0200
+++ /var/tmp/diff_new_pack.740ErC/_new  2019-04-30 12:56:46.994196250 +0200
@@ -1,4 +1,4 @@
 
 
 https://github.com/openSUSE/sg3_utils.git
-  564be3d665882df5439e12c6a611487feb7310d6
\ No newline at end of file
+  6aa67ed94a6c135d6a462c55b3764732259b162e
\ No newline at end of file

++ sg3_utils-1.45~803+31.564be3d.tar.xz -> 
sg3_utils-1.45~815+5.6aa67ed.tar.xz ++
 10989 lines of diff (skipped)




commit sg3_utils for openSUSE:Factory

2019-04-20 Thread root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2019-04-20 17:12:29

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new.5536 (New)


Package is "sg3_utils"

Sat Apr 20 17:12:29 2019 rev:52 rq:695444 version:1.45~803+31.564be3d

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2018-04-16 
12:43:43.076618688 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new.5536/sg3_utils.changes
2019-04-20 17:12:36.446873029 +0200
@@ -1,0 +2,57 @@
+Tue Mar 26 22:11:38 UTC 2019 - mwi...@suse.com
+
+- Spec file:
+  * add fc_wwpn_id (bsc#1005063)
+  * add lun masking service (bsc#954600)
+  * drop BuildRequires on udev
+  * replace unversioned "Provides: scsi" with versioned
+
+- Update to version sg3_utils-1.45~803+31.564be3d:
+  * New versioning scheme for upstream pre-release:
+1.45 - upstream release target, 803 - upstream svn id,
++31: SUSE commits on top of svn, 564be3d - git hash
+  * rescan-scsi-bus.sh: terminate scanning if last lun got removed
+  (bsc#1087008)
+  * 58-scsi-sg3_symlink.rules: don't skip multipath members
+  (bsc#1085212)
+  * Add scsi-enable-target-scan.sh (bsc#954600)
+
+- Update to svn r803:
+  * sg_opcodes: expand MLU (18-102r0)
+  * sg_format: add --dcrt used twice (FOV=1 DCRT=0)
+  * rescan-scsi-bus: widen LUN 0 only scanning
+  (bsc#1069384)
+- Earlier SUSE fixes included in 1.45:
+  * rescan-scsi-bus.sh: use LUN wildcard in idlist (bsc#1069384)
+  [svn: r795]
+  * sg_ses: fixup page decoding (bsc#1077787) [svn: r795]
+  * sg_ses: allow to decode raw data instead of reading from a device
+  (bsc#1050943) [svn: r795]
+
+- Update to sg3_utils-1.44 [20180912] [svn: r791]
+  * rescan-scsi-bus.sh: harden code
+- bump version to 20180615
+- add --ignore-rev to ignore revision change
+  * introduce SG3_UTILS_DSENSE environment variable
+  * sginfo: don't open /dev/snapshot
+  * sg_timestamp: add '--no-timestamp' option
+- add --elapsed and --hex options
+  * sg_wr_mode: add --rtd option for RTD bi
+  * sg_unmap: add --all=ST,RN[,LA] option
+  * sgm_dd, sg_dd: add --dry-run and --verbose options
+  * sg_inq+sg_vpd: update Extended inquiry data vpd page
+  * sg_ses: add 'hw_reset' and 'sw_reset' to enclosure services
+controller electronics element type (18-047r1)
+  * sg_decode sense: add --cdb and --err=ES options
+  * sg_format: add --dry-run option
+- extend --wait timeout for > 4TB disks
+  * sg_sanitize: add --dry-run option
+- Earlier SUSE fixes included in 1.44:
+  * sg_inq: decode standard INQUIRY for CD-ROMs correctly
+  (bsc#1065448, bsc#1070431) [svn: r742]
+  * sg_inq: export all NAA values (bsc#1050767) [svn: r715]
+  * Add fc_wwpn_id to generate by-path links for fibrechannel
+  (bsc#1005063) (svn@715)
+  * sg_vpd: struct opts_t misaligment (bsc#1050943) [svn: r707]
+
+---

Old:

  sg3_utils-1.43.tar.xz

New:

  _servicedata
  sg3_utils-1.45~803+31.564be3d.tar.xz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.ec2IMO/_old  2019-04-20 17:12:37.090874001 +0200
+++ /var/tmp/diff_new_pack.ec2IMO/_new  2019-04-20 17:12:37.090874001 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sg3_utils
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,16 +12,16 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   sg3_utils
-%define lname  libsgutils2-1_43-2
-Version:1.43
+%define lname  libsgutils2-1_45-2
+Version:1.45~803+31.564be3d
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
-License:GPL-2.0+ and BSD-3-Clause
+License:GPL-2.0-or-later AND BSD-3-Clause
 Group:  Hardware/Other
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
@@ -29,10 +29,10 @@
 Source1:dracut.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool
-BuildRequires:  udev
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  xz
 Requires(post): coreutils
-Provides:   scsi
+Provides:   scsi = %{version}
 Provides:   sg_utils
 Supplements:modalias(scsi:t-0x00*)
 Supplements:modalias(scsi:t-0x07*)
@@ -99,20 +99,33 @@
 install -m 644 scripts/

commit sg3_utils for openSUSE:Factory

2018-04-16 Thread root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2018-04-16 12:43:41

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Mon Apr 16 12:43:41 2018 rev:51 rq:595697 version:1.43

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2018-02-15 
13:19:21.197377788 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2018-04-16 
12:43:43.076618688 +0200
@@ -1,0 +2,12 @@
+Fri Apr  6 12:40:40 CEST 2018 - h...@suse.de
+
+- Update to svn r763:
+  * More NVMe bugfixes
+  * sg_vpd: add device constituents vpd
+  * sg_raw: add --raw option
+  * sg_turs: add --low option
+  * sg_ses: decoding dpage fixes; add --quiet option
+- rescan-scsi-bus.sh: Fixup syntax error (bsc#1087008)
+- rescan-scsi-bus.sh: Fixes from shellcheck
+
+---



Other differences:
--
++ sg3_utils-1.43.tar.xz ++
 24502 lines of diff (skipped)




commit sg3_utils for openSUSE:Factory

2018-02-15 Thread root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2018-02-15 13:19:16

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Thu Feb 15 13:19:16 2018 rev:50 rq:575607 version:1.43

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2018-02-12 
10:12:23.935594134 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2018-02-15 
13:19:21.197377788 +0100
@@ -1,0 +2,5 @@
+Mon Feb 12 10:50:19 UTC 2018 - mwi...@suse.com
+
+- dracut.conf: add whitespace at end of line (bsc#1080562)
+
+---



Other differences:
--
++ dracut.conf ++
--- /var/tmp/diff_new_pack.p9tsbC/_old  2018-02-15 13:19:21.753357637 +0100
+++ /var/tmp/diff_new_pack.p9tsbC/_new  2018-02-15 13:19:21.753357637 +0100
@@ -1,2 +1,2 @@
 # Add new rules file to ensure consistency
-install_items+=" /usr/lib/udev/rules.d/54-before-scsi-sg3_id.rules"
+install_items+=" /usr/lib/udev/rules.d/54-before-scsi-sg3_id.rules "




commit sg3_utils for openSUSE:Factory

2018-02-12 Thread root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2018-02-12 10:12:20

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Mon Feb 12 10:12:20 2018 rev:49 rq:574650 version:1.43

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2017-12-29 
18:48:55.167190931 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2018-02-12 
10:12:23.935594134 +0100
@@ -1,0 +2,29 @@
+Fri Feb  9 13:53:43 CET 2018 - h...@suse.de
+
+- Update to svn r751:
+  * NVMe bugfixes
+  * sg_seek: new utility
+  * sg_stream_ctl: new utility program
+- 54-before-scsi-sg3_id.rules: compability rule for systemd
+  (bsc#1079873)
+- Add dracut.conf to install new rule with dracut
+
+---
+Thu Feb  8 15:37:33 CET 2018 - h...@suse.de
+
+- Merge local patch with git repository
+  * Delete sgut-libversioning.diff
+
+---
+Wed Feb  7 16:12:10 CET 2018 - h...@suse.de
+
+- Update to svn r744:
+  * sg_write_x: new command for normal/atomic/orwrite etc
+SCSI WRITE variants
+  * sg_ses: add NVMe support
+  * sg_inq: decode NVMe controller / NSIDs
+- rescan_scsi_bus.sh: Fix manpage for --forcerescan
+- 55-scsi-sg3_id.rules: fixes for scsi_id compability (bsc#1079873)
+- 55-scsi-sg3_id.rules: run sg_inq for SPC devices (bsc#1079873)
+
+---

Old:

  sgut-libversioning.diff

New:

  dracut.conf



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.Oc6ibU/_old  2018-02-12 10:12:24.547572080 +0100
+++ /var/tmp/diff_new_pack.Oc6ibU/_new  2018-02-12 10:12:24.547572080 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sg3_utils
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
 Source: sg3_utils-%{version}.tar.xz
-Patch1: sgut-libversioning.diff
+Source1:dracut.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool
 BuildRequires:  udev
@@ -85,7 +85,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
 
 %build
 autoreconf -fi
@@ -96,9 +95,12 @@
 %make_install
 install -m 644 doc/rescan-scsi-bus.sh.8 $RPM_BUILD_ROOT%{_mandir}/man8
 mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir}
+install -m 644 scripts/54-before-scsi-sg3_id.rules 
$RPM_BUILD_ROOT%{_udevrulesdir}
 install -m 644 scripts/55-scsi-sg3_id.rules $RPM_BUILD_ROOT%{_udevrulesdir}
 install -m 644 scripts/58-scsi-sg3_symlink.rules 
$RPM_BUILD_ROOT%{_udevrulesdir}
 install -m 644 scripts/40-usb-blacklist.rules $RPM_BUILD_ROOT%{_udevrulesdir}
+mkdir -p $RPM_BUILD_ROOT/usr/lib/dracut/dracut.conf.d
+install -m 644 %{SOURCE1} 
$RPM_BUILD_ROOT/usr/lib/dracut/dracut.conf.d/50-sg3_utils.conf
 rm -f %{buildroot}%{_libdir}/*.la
 
 %post
@@ -127,8 +129,12 @@
 %_bindir/rescan-scsi-bus.sh
 %_mandir/man8/*.8*
 %{_udevrulesdir}/40-usb-blacklist.rules
+%{_udevrulesdir}/54-before-scsi-sg3_id.rules
 %{_udevrulesdir}/55-scsi-sg3_id.rules
 %{_udevrulesdir}/58-scsi-sg3_symlink.rules
+%dir /usr/lib/dracut
+%dir /usr/lib/dracut/dracut.conf.d
+/usr/lib/dracut/dracut.conf.d/50-sg3_utils.conf
 
 %files -n %lname
 %defattr(-,root,root)

++ _service ++
--- /var/tmp/diff_new_pack.Oc6ibU/_old  2018-02-12 10:12:24.579570927 +0100
+++ /var/tmp/diff_new_pack.Oc6ibU/_new  2018-02-12 10:12:24.583570783 +0100
@@ -6,6 +6,13 @@
 sg3_utils
 1.43
 factory
+
+
   
   
 *sg3_utils*.tar

++ dracut.conf ++
# Add new rules file to ensure consistency
install_items+=" /usr/lib/udev/rules.d/54-before-scsi-sg3_id.rules"
++ sg3_utils-1.43.tar.xz ++
 33544 lines of diff (skipped)




commit sg3_utils for openSUSE:Factory

2017-12-29 Thread root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2017-12-29 18:48:48

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Fri Dec 29 18:48:48 2017 rev:48 rq:559269 version:1.43

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2017-08-23 
11:52:26.889698143 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2017-12-29 
18:48:55.167190931 +0100
@@ -1,0 +2,43 @@
+Fri Dec 22 09:31:40 CET 2017 - h...@suse.de
+
+- sg_inq: check VPD page 0x0 before reading serial number
+  (bsc#1067839)
+- sg_inq: add option '-o/--only' to skip reading VPD pages
+  (bsc#1067839)
+- Revert 'postun' rpm spec changes after review
+
+---
+Mon Dec 18 11:31:02 CET 2017 - h...@suse.de
+
+- sg_inq: decode standard INQUIRY for CD-ROMs correctly (bsc#1070431)
+- rescan-scsi-bus.sh: new option for ignore rev change
+- rescan-scsi-bus.sh: Remove white space
+- Add 'coreutils' to Requires (bsc#1072744)
+- Add 'posttrans' to rpm spec (bsc#1071972)
+
+---
+Wed Nov 29 12:18:16 CET 2017 - h...@suse.de
+
+- Update to svn r730:
+  * Move testing utilities to 'testing' directory
+  * sg_opcode: check resid and trim response
+  * sg_rep_zones: expand --help option
+  * sg_mode: Add Out-of-band management control page
+  * sg_ses: filer join output on dpage element presence
+  * documentation cleanup
+- rescan-scsi-bus.sh: Add '--ignore-rev' option
+- Supplement SCSI modaliases (bsc#1065212)
+
+---
+Fri Oct 13 13:25:58 CEST 2017 - h...@suse.de
+
+- Update to svn r721:
+  * Merge SUSE-specific patches with upstream svn
+  * sg_write_atomic: add new program for WRITE ATOMIC
+  * sg_bg_ctl: new background control command
+  * sg_ses: Improve output and option handling
+  * sg_logs: Add --vendor and decode more pages
+  * sg_get_lba_status: add new program
+  * Install rescan-scsi-bus.sh and scsi_logging_level per default
+
+---



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.VTXALe/_old  2017-12-29 18:48:55.703037033 +0100
+++ /var/tmp/diff_new_pack.VTXALe/_new  2017-12-29 18:48:55.707035885 +0100
@@ -31,8 +31,12 @@
 BuildRequires:  libtool
 BuildRequires:  udev
 BuildRequires:  xz
+Requires(post): coreutils
 Provides:   scsi
 Provides:   sg_utils
+Supplements:modalias(scsi:t-0x00*)
+Supplements:modalias(scsi:t-0x07*)
+Supplements:modalias(scsi:t-0x0e*)
 Obsoletes:  scsi <= 1.7_2.38_1.25_0.19_1.02_0.93
 
 %description
@@ -90,8 +94,6 @@
 
 %install
 %make_install
-install -m 755 scripts/scsi_logging_level $RPM_BUILD_ROOT%{_bindir}
-install -m 755 scripts/rescan-scsi-bus.sh $RPM_BUILD_ROOT%{_bindir}
 install -m 644 doc/rescan-scsi-bus.sh.8 $RPM_BUILD_ROOT%{_mandir}/man8
 mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir}
 install -m 644 scripts/55-scsi-sg3_id.rules $RPM_BUILD_ROOT%{_udevrulesdir}
@@ -99,10 +101,19 @@
 install -m 644 scripts/40-usb-blacklist.rules $RPM_BUILD_ROOT%{_udevrulesdir}
 rm -f %{buildroot}%{_libdir}/*.la
 
+%post
+%{?regenerate_initrd_post}
+
 %post   -p /sbin/ldconfig -n %lname
 
+%postun
+%{?regenerate_initrd_post}
+
 %postun -p /sbin/ldconfig -n %lname
 
+%posttrans
+%{?regenerate_initrd_posttrans}
+
 %files
 %defattr(-,root,root)
 %doc README README.sg_start

++ sg3_utils-1.43.tar.xz ++
 41830 lines of diff (skipped)




commit sg3_utils for openSUSE:Factory

2017-08-23 Thread root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2017-08-23 11:52:25

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Wed Aug 23 11:52:25 2017 rev:47 rq:516130 version:1.43

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2017-02-22 
13:46:49.697593599 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2017-08-23 
11:52:26.889698143 +0200
@@ -1,0 +2,27 @@
+Fri Aug 11 14:45:56 CEST 2017 - h...@suse.de
+
+- Drop patch merged with git repository
+  * drop add-lunsearch-filter-to-searchexisting.patch
+- Drop rules included in git repository
+  * drop 40-usb-blacklist.rules
+- Update to latest svn snapshot:
+  * sg_rdac: add sanity checks for -f=lun value
+  * sg_vpd improvements
+  * sg_ses: fix uninitialized struct
+  * sg_luns: resync with SAM and SPC drafts
+  * sg_vpd: fix struct misalignment introduced by --force
+  * sg_logs: add --vendor and fixup enumeration
+- Port patches from SLES:
+  * Add systemd service files for LUN masking (bsc#954600)
+  * 55-scsi-sg3_id.rules: handle VPD page 0x80 correctly (bsc#1006469)
+  * scripts: added udev rules for legacy CCISS (bsc#1006175)
+  * rescan-scsi-bus.sh: Add lunsearch filter to findresized()
+  (bsc#1027176)
+  * Add fc_wwpn_id to generate by-path links for fibrechannel
+  (bsc#1005063)
+  * 55-scsi-sg3_id.rules: allow to override sysfs inquiry
+  (bsc#1012523)
+  * sg_inq: export all NAA values (bsc#1050767)
+  * Silence gcc warnings
+
+---

Old:

  40-usb-blacklist.rules
  add-lunsearch-filter-to-searchexisting.patch



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.NrmRYi/_old  2017-08-23 11:52:27.817567526 +0200
+++ /var/tmp/diff_new_pack.NrmRYi/_new  2017-08-23 11:52:27.825566401 +0200
@@ -26,9 +26,7 @@
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
 Source: sg3_utils-%{version}.tar.xz
-Source1:40-usb-blacklist.rules
 Patch1: sgut-libversioning.diff
-Patch2: add-lunsearch-filter-to-searchexisting.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool
 BuildRequires:  udev
@@ -84,7 +82,6 @@
 %prep
 %setup -q
 %patch1 -p1
-%patch2 -p1
 
 %build
 autoreconf -fi
@@ -99,7 +96,7 @@
 mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir}
 install -m 644 scripts/55-scsi-sg3_id.rules $RPM_BUILD_ROOT%{_udevrulesdir}
 install -m 644 scripts/58-scsi-sg3_symlink.rules 
$RPM_BUILD_ROOT%{_udevrulesdir}
-install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_udevrulesdir}
+install -m 644 scripts/40-usb-blacklist.rules $RPM_BUILD_ROOT%{_udevrulesdir}
 rm -f %{buildroot}%{_libdir}/*.la
 
 %post   -p /sbin/ldconfig -n %lname

++ _service ++
--- /var/tmp/diff_new_pack.NrmRYi/_old  2017-08-23 11:52:27.897556266 +0200
+++ /var/tmp/diff_new_pack.NrmRYi/_new  2017-08-23 11:52:27.897556266 +0200
@@ -5,7 +5,7 @@
 
 sg3_utils
 1.43
-master
+factory
   
   
 *sg3_utils*.tar

++ sg3_utils-1.43.tar.xz ++
 11535 lines of diff (skipped)




commit sg3_utils for openSUSE:Factory

2017-02-22 Thread root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2017-02-22 13:46:48

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2016-09-12 
13:24:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2017-02-22 
13:46:49.697593599 +0100
@@ -1,0 +2,5 @@
+Mon Feb 20 11:05:45 CET 2017 - ku...@suse.de
+
+- Remove superfluous insserv PreReq.
+
+---



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.3U6Hji/_old  2017-02-22 13:46:50.261513299 +0100
+++ /var/tmp/diff_new_pack.3U6Hji/_new  2017-02-22 13:46:50.265512730 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sg3_utils
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,6 @@
 BuildRequires:  libtool
 BuildRequires:  udev
 BuildRequires:  xz
-Requires(pre):  %insserv_prereq
 Provides:   scsi
 Provides:   sg_utils
 Obsoletes:  scsi <= 1.7_2.38_1.25_0.19_1.02_0.93




commit sg3_utils for openSUSE:Factory

2016-09-12 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2016-09-12 13:24:01

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2016-02-25 
21:52:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2016-09-12 
13:24:03.0 +0200
@@ -1,0 +2,56 @@
+Wed Sep  7 16:26:26 CEST 2016 - sparscha...@suse.de
+
+- using "--lun" now works correctly (bsc#981452), adding patch:
+  * add-lunsearch-filter-to-searchexisting.patch
+
+---
+Fri Apr 29 09:13:41 CEST 2016 - h...@suse.de
+
+- Update to new upstream release 1.43:
+  * sg_senddiag: add --timeout=SEC option
+  * sg_sanitize: add --timeout=SEC option
+  * sg_format: add --timeout=SEC option
+  * sg_decode sense: add --cdb option
+  * sg_ses: handle 2 bit EIIOE field in aes dpage
+- expand join handling of SAS connectors and others
+- expand join debug code
+  * sg_logs: fix volume statistics lpage when subpage
+is zero (ssc5r02a); decode mount history log parameter
+- decode Requested recovery, TapeAlert response, and
+  Service buffer information lpages for tape
+- add '--pdt=DT' option
+  * sg_inq: fix potential unbounded loop in --export
+- update version descriptor list to 20160420
+  * sg_inq+sg_vpd: update Extended inquiry data vpd
+page (spc5r09)
+- add --force option to bypass checking supported
+  vpd pages page and fetch requested page directly
+  * sg_reassign+sg_write_same: fix ULONG_MAX problem
+  * sg_turs+sg_requests: make both accept '--num=NUM'
+and '--number=NUM' for mutual compatibility
+  * sg_zone: fix debug cdb naming
+  * sg_opcode: add '--enumerate' and '--pdt=' options
+  * sg_raw: add '--enumerate' option
+  * sg_lib: add SSC maintenance in/out sa names
+- add read buffer(16) command mode names
+- add sg_decode_transportid_str()
+  * sg_lib_data: sync asc/ascq codes with T10 20160425
+  * rescan-scsi-bus.sh: harden code
+  * clang --analyze static checker clean ups
+  * shellcheck cleanup on scripts
+  * automake: add AM_PROG_AR to configure.ac
+- upgrade to version 1.15
+- Include patches from upstream:
+  * sg_inq+sg_vpd: add --force option to bypass checking
+of supported vpd pages
+  * sg_lib_data: add Bind and Unbind to service action out(16)
+- Remove 0001-sg_vpd-sg_inq-Safe-VPD-page-access.patch; merged
+  with upstream.
+
+---
+Thu Apr 28 14:38:24 CEST 2016 - h...@suse.de
+
+- sg_inq,sg_vpd: Safe VPD page access (bsc#945094)
+  * Add 0001-sg_vpd-sg_inq-Safe-VPD-page-access.patch
+
+---

Old:

  sg3_utils-1.42.tar.xz

New:

  _service
  add-lunsearch-filter-to-searchexisting.patch
  sg3_utils-1.43.tar.xz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.HW2ZYk/_old  2016-09-12 13:24:04.0 +0200
+++ /var/tmp/diff_new_pack.HW2ZYk/_new  2016-09-12 13:24:04.0 +0200
@@ -17,17 +17,18 @@
 
 
 Name:   sg3_utils
-%define lname  libsgutils2-1_42-2
-Version:1.42
+%define lname  libsgutils2-1_43-2
+Version:1.43
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
 License:GPL-2.0+ and BSD-3-Clause
 Group:  Hardware/Other
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
-Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
+Source: sg3_utils-%{version}.tar.xz
 Source1:40-usb-blacklist.rules
 Patch1: sgut-libversioning.diff
+Patch2: add-lunsearch-filter-to-searchexisting.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool
 BuildRequires:  udev
@@ -84,6 +85,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 autoreconf -fi

++ _service ++

  
git
https://github.com/hreinecke/sg3_utils.git

sg3_utils
1.43
master
  
  
*sg3_utils*.tar
xz
  

++ add-lunsearch-filter-to-searchexisting.patch ++
From: Sebastian Parschauer 
Date: Wed, 31 Aug 2016 15:34:23 +0200
Subject: [PATCH] rescan-scsi-bus.sh: Add lunsearch filter to searchexisting()
References: bnc#981452
Patch-Mainline: not yet, sent but waiting for upstream response

A user has reported that `rescan-scsi-bus.sh --luns=` prints
all existing LUNs and scans all new LUNs instead of only the ones
specified. The problem is that searchexisting() always calls
doreportlun() and is missing the lunsearch filter e.g. us

commit sg3_utils for openSUSE:Factory

2016-02-25 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2016-02-25 21:52:48

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2015-11-24 
22:31:56.0 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2016-02-25 
21:52:58.0 +0100
@@ -1,0 +2,55 @@
+Thu Feb 18 09:41:03 CET 2016 - h...@suse.de
+
+- Update to new upstream release 1.42:
+  * sg_timestamp: new, to report or set timestamp
+  * sg_read_attr: new, supported by tape drives
+  * sg_stpg: fix truncation of target port field
+  * sg_inq: cope with unicode strings, udev fixes
+- update version descriptor list to 20160125
+- '--export': new entries for UUID descriptor
+  * sg_ses: add more field acronyms (ses3r11)
+  8 sg_logs: add Utilization lpage (sbc4r07)
+- add Background operation lpage
+- add Pending defects lpage
+- add LPS misalignment lpage (sbc4r10)
+- document '--All' ('-A') option
+- rework lto tape vendor lpages
+  * sg_vpd: add Block limits extension VPD page
+- add Device constituents VPD page
+- add LB Protection VPD page (ssc 15-296r1)
+- LB provisioning VPD page: expand LBPRZ, add
+  Minimum and Threshold percentage fields
+- rework lto tape vendor VPD pages
+  * sg_inq+sg_vpd+sg_xcopy: add support for locally
+assigned UUIDs in VPD page 0x83 (15-267r2)
+  * sg_sanitize: add --znr option (sbc4r07)
+  * sg_rep_zones: add --partial option (zbc-r04)
+  * sg_format: add ffmt option (sbc4r10)
+- add support for FORMAT MEDIUM (for tape)
+  * sg_raw: document length relationships
+  * rescan-scsi-bus.sh: updates from Suse
+  * sg_lib_data: sync asc/ascq codes with T10 20151126
+  * sg_lib: add 'sense' categories for SCSI statuses:
+condition met, busy, task set full, ACA active and
+task aborted
+- add pr2serr() extern
+- change sg_get_sense_str() and dStrHexStr(), return
+  chars written (returned void previously)
+- add sg_get_sense_descriptors_str() function
+- add sg_get_designation_descriptor_str() function
+- sg_get_desig_type_str()+sg_get_desig_assoc_str()
+  and sg_get_desig_code_set_str() added
+- sg_get_opcode_sa_name() break out zoning in/out,
+  read attribute and read position service actions
+  * sg_cmds_extra: add sg_ll_format_unit2() for FFMT
+  * sg_pr2serr.h: new, to shorten fprintf(stderr, ...)
+  * sg_io_linux, sg_pt_linux: drop SUGGEST_* decoding
+  * sg_unaligned.h: add 48 bit support and gets for
+variable length unsigned integers
+- Delete sg3_utils-sg_inq-blacklist.diff; solved differently
+- Added 40-usb-blacklist.rules (bsc#840054)
+- Delete sg3_utils-58-scsi-sg3_symlink-fixup.patch;
+  merged with upstream
+- Delete sg3_utils-flush-fixup.patch; merged with upstream
+
+---

Old:

  sg3_utils-1.41.tar.xz
  sg3_utils-58-scsi-sg3_symlink-fixup.patch
  sg3_utils-flush-fixup.patch
  sg3_utils-sg_inq-blacklist.diff

New:

  40-usb-blacklist.rules
  sg3_utils-1.42.tar.xz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.okcDMw/_old  2016-02-25 21:52:59.0 +0100
+++ /var/tmp/diff_new_pack.okcDMw/_new  2016-02-25 21:52:59.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sg3_utils
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,8 @@
 
 
 Name:   sg3_utils
-%define lname  libsgutils2-1_41-2
-Version:1.41
+%define lname  libsgutils2-1_42-2
+Version:1.42
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
 License:GPL-2.0+ and BSD-3-Clause
@@ -26,11 +26,8 @@
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
 Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
+Source1:40-usb-blacklist.rules
 Patch1: sgut-libversioning.diff
-Patch3: sg3_utils-sg_inq-blacklist.diff
-# PATCH-FIX-UPSTREAM sg3_utils-58-scsi-sg3_symlink-fixup.patch boo#940833 
boo#940834 boo#947947 zai...@opensuse.org -- Fix broken line in script
-Patch4: sg3_utils-58-scsi-sg3_symlink-fixup.patch
-Patch5: sg3_utils-flush-fixup.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool
 BuildRequires:  udev
@@ -87,9 +84,6 @@
 %prep
 %setup -q
 %patch1 -p1
-%patch3 -p1
-%patch4 -p1
-%p

commit sg3_utils for openSUSE:Factory

2015-11-24 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2015-11-24 22:31:55

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2015-10-17 
16:37:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2015-11-24 
22:31:56.0 +0100
@@ -1,0 +2,6 @@
+Mon Nov 16 11:06:52 UTC 2015 - m4m...@gmail.com
+
+- Add sg3_utils-flush-fixup.patch: Fix syntax error when -f (flush 
+  failed multipath devices) used in command line.
+
+---

New:

  sg3_utils-flush-fixup.patch



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.OnWbpd/_old  2015-11-24 22:31:57.0 +0100
+++ /var/tmp/diff_new_pack.OnWbpd/_new  2015-11-24 22:31:57.0 +0100
@@ -30,6 +30,7 @@
 Patch3: sg3_utils-sg_inq-blacklist.diff
 # PATCH-FIX-UPSTREAM sg3_utils-58-scsi-sg3_symlink-fixup.patch boo#940833 
boo#940834 boo#947947 zai...@opensuse.org -- Fix broken line in script
 Patch4: sg3_utils-58-scsi-sg3_symlink-fixup.patch
+Patch5: sg3_utils-flush-fixup.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool
 BuildRequires:  udev
@@ -88,6 +89,7 @@
 %patch1 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5
 
 %build
 autoreconf -fi

++ sg3_utils-flush-fixup.patch ++
Index: scripts/rescan-scsi-bus.sh
===
--- scripts/rescan-scsi-bus.sh.orig
+++ scripts/rescan-scsi-bus.sh
@@ -1183,7 +1183,7 @@ declare -i updated=0
 declare -i rmvd=0
 
 if [ -n "$flush" ] ; then
-  if [-x $MULTIPATH ] ; then
+  if [ -x $MULTIPATH ] ; then
 flushmpaths 1
   fi
 fi



commit sg3_utils for openSUSE:Factory

2015-10-17 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2015-10-17 16:37:22

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2015-07-16 
17:15:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2015-10-17 
16:37:23.0 +0200
@@ -1,0 +2,6 @@
+Mon Oct  5 10:31:04 UTC 2015 - zai...@opensuse.org
+
+- Add sg3_utils-58-scsi-sg3_symlink-fixup.patch: Fix broken line in
+  script (boo#940833, boo#940834, boo#947947).
+
+---

New:

  sg3_utils-58-scsi-sg3_symlink-fixup.patch



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.0zyGmC/_old  2015-10-17 16:37:24.0 +0200
+++ /var/tmp/diff_new_pack.0zyGmC/_new  2015-10-17 16:37:24.0 +0200
@@ -28,6 +28,8 @@
 Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
 Patch1: sgut-libversioning.diff
 Patch3: sg3_utils-sg_inq-blacklist.diff
+# PATCH-FIX-UPSTREAM sg3_utils-58-scsi-sg3_symlink-fixup.patch boo#940833 
boo#940834 boo#947947 zai...@opensuse.org -- Fix broken line in script
+Patch4: sg3_utils-58-scsi-sg3_symlink-fixup.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool
 BuildRequires:  udev
@@ -85,6 +87,7 @@
 %setup -q
 %patch1 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 autoreconf -fi

++ sg3_utils-58-scsi-sg3_symlink-fixup.patch ++
--- sg3_utils-1.41-orig/scripts/58-scsi-sg3_symlink.rules   2014-12-21 
01:42:18.0 +0100
+++ sg3_utils-1.41/scripts/58-scsi-sg3_symlink.rules2015-10-05 
12:26:23.774532127 +0200
@@ -14,8 +14,7 @@
 # NAA identifier (prefix 3)
 # 1: IEEE Registered Extended first
 ENV{SCSI_IDENT_LUN_NAA_REGEXT}=="?*", ENV{DEVTYPE}=="disk", 
SYMLINK+="disk/by-id/scsi-3$env{SCSI_IDENT_LUN_NAA_REGEXT}"
-ENV{SCSI_IDENT_LUN_NAA_REGEXT}=="?*", ENV{DEVTYPE}=="partition",
-# SYMLINK+="disk/by-id/scsi-3$env{SCSI_IDENT_LUN_NAA_REGEXT}-part%n"
+ENV{SCSI_IDENT_LUN_NAA_REGEXT}=="?*", ENV{DEVTYPE}=="partition", 
SYMLINK+="disk/by-id/scsi-3$env{SCSI_IDENT_LUN_NAA_REGEXT}-part%n"
 # 2: IEEE Registered
 ENV{SCSI_IDENT_LUN_NAA_REG}=="?*", ENV{DEVTYPE}=="disk", 
SYMLINK+="disk/by-id/scsi-3$env{SCSI_IDENT_LUN_NAA_REG}"
 ENV{SCSI_IDENT_LUN_NAA_REG}=="?*", ENV{DEVTYPE}=="partition", 
SYMLINK+="disk/by-id/scsi-3$env{SCSI_IDENT_LUN_NAA_REG}-part%n"



commit sg3_utils for openSUSE:Factory

2015-07-16 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2015-07-16 17:15:16

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2015-03-01 
14:51:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2015-07-16 
17:15:18.0 +0200
@@ -1,0 +2,25 @@
+Wed Jul  8 07:35:53 UTC 2015 - jthumsh...@suse.com
+
+- Update to new upstream release 1.41
+  * sg_zone: new utility for open, close and finish
+zone commands introduced in zbc-r02
+  * sg_rep_zones and sg_reset_wp: change opcodes as
+indicated in zbc-r02
+  * sg_read_buffer: add READ BUFFER(16) support (spc5r02)
+  * sg_logs: add --enumerate and acronyms
+  * allow decode from hex or binary in file
+  * decode environmental reporting + limits lpages
+  * sg_write_buffer: add --timeout=TO option
+  * sg_lib interface: add sg_lib_pdt_decay(), TPROTO_PCIE
+plus support for zoning service actions
+  * sg_lib: in Linux blocked devices yield ENXIO from
+ioctl(SG_IO), map to SG_LIB_CAT_NOT_READY
+  * clean up sg_warnings_stream handling
+  * sg_inq+sg_vpd: fix SCSI name string decoding in
+device identification VPD page (0x83)
+  * increase sanity on Unit Serial number VPD page
+  * improve rdac vpd page reporting (vendor)
+  * sg_inq: improve NAA handling in dev_id VPD page
+  * update version descriptor list to 20150126
+
+---

Old:

  sg3_utils-1.40.tar.xz

New:

  sg3_utils-1.41.tar.xz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.JUhRlS/_old  2015-07-16 17:15:19.0 +0200
+++ /var/tmp/diff_new_pack.JUhRlS/_new  2015-07-16 17:15:19.0 +0200
@@ -17,8 +17,8 @@
 
 
 Name:   sg3_utils
-%define lname  libsgutils2-1_40-2
-Version:1.40
+%define lname  libsgutils2-1_41-2
+Version:1.41
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
 License:GPL-2.0+ and BSD-3-Clause

++ sg3_utils-1.40.tar.xz -> sg3_utils-1.41.tar.xz ++
 21275 lines of diff (skipped)

++ sg3_utils-sg_inq-blacklist.diff ++
--- /var/tmp/diff_new_pack.JUhRlS/_old  2015-07-16 17:15:19.0 +0200
+++ /var/tmp/diff_new_pack.JUhRlS/_new  2015-07-16 17:15:19.0 +0200
@@ -1,7 +1,9 @@
-Index: sg3_utils-1.39/scripts/55-scsi-sg3_id.rules
-===
 sg3_utils-1.39.orig/scripts/55-scsi-sg3_id.rules
-+++ sg3_utils-1.39/scripts/55-scsi-sg3_id.rules
+---
+ scripts/55-scsi-sg3_id.rules |9 +
+ 1 file changed, 9 insertions(+)
+
+--- a/scripts/55-scsi-sg3_id.rules
 b/scripts/55-scsi-sg3_id.rules
 @@ -15,10 +15,19 @@ ENV{SCSI_MODEL}=="?*", ENV{ID_MODEL}="$e
  ENV{SCSI_MODEL_ENC}=="?*", ENV{ID_MODEL_ENC}="$env{SCSI_MODEL_ENC}"
  ENV{SCSI_REVISION}=="?*", ENV{ID_REVISION}="$env{SCSI_REVISION}"
@@ -21,4 +23,4 @@
 +LABEL="sg3_utils_sg_inq_sn_di_end"
  
  # ID_WWN compat mapping
- ENV{SCSI_IDENT_LUN_NAA}=="?*", ENV{ID_WWN}!="?*", 
ENV{ID_WWN}="0x$env{SCSI_IDENT_LUN_NAA}"
+ ENV{SCSI_IDENT_LUN_NAA_REGEXT}=="?*", ENV{ID_WWN}!="?*", 
ENV{ID_WWN}="0x$env{SCSI_IDENT_LUN_NAA_REGEXT}"

++ sgut-libversioning.diff ++
--- /var/tmp/diff_new_pack.JUhRlS/_old  2015-07-16 17:15:19.0 +0200
+++ /var/tmp/diff_new_pack.JUhRlS/_new  2015-07-16 17:15:19.0 +0200
@@ -10,16 +10,14 @@
  lib/Makefile.am |2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: sg3_utils-1.40/lib/Makefile.am
-===
 sg3_utils-1.40.orig/lib/Makefile.am
-+++ sg3_utils-1.40/lib/Makefile.am
-@@ -47,7 +47,7 @@ AM_CFLAGS = -iquote ../include -D_LARGEF
+--- a/lib/Makefile.am
 b/lib/Makefile.am
+@@ -48,7 +48,7 @@ AM_CFLAGS = -Wall -W
  
  lib_LTLIBRARIES = libsgutils2.la
  
--libsgutils2_la_LDFLAGS = -version-info 2:0:0
-+libsgutils2_la_LDFLAGS = -version-info 2:0:0 -release ${PACKAGE_VERSION}
+-libsgutils2_la_LDFLAGS = -version-info 2:0:0 -no-undefined
++libsgutils2_la_LDFLAGS = -version-info 2:0:0 -no-undefined -release 
${PACKAGE_VERSION}
  
  libsgutils2_la_LIBADD = @GETOPT_O_FILES@ @os_libs@
  libsgutils2_la_DEPENDENCIES = @GETOPT_O_FILES@




commit sg3_utils for openSUSE:Factory

2015-03-01 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2015-03-01 14:51:31

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2015-01-07 
09:38:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2015-03-01 
14:51:32.0 +0100
@@ -1,0 +2,16 @@
+Fri Feb 13 14:22:36 UTC 2015 - jeng...@inai.de
+
+- Update to ne wupstream release 1.40
+* New utilities: sg_write_verify (for WRITE AND VERIFY),
+  sg_ses_microcode, sg_sat_read_gplog.
+* sg_senddiag gained the --maxlen= and --page=PG options
+* sg_opcodes gained the --compact field
+* sg_inq: expand Block limits VPD page output
+- Drop sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch,
+  sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch,
+  sg3_utils-Do-not-export-long-identifiers.patch
+  (merged upstream)
+- Replace symbol version hack (it forced lockstep updates) by
+  sgut-libversioning.diff (allows parallel installation).
+
+---

Old:

  sg3_utils-1.39.tar.xz
  sg3_utils-Do-not-export-long-identifiers.patch
  sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch
  sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch

New:

  sg3_utils-1.40.tar.xz
  sgut-libversioning.diff



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.MNy6UJ/_old  2015-03-01 14:51:33.0 +0100
+++ /var/tmp/diff_new_pack.MNy6UJ/_new  2015-03-01 14:51:33.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sg3_utils
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,8 @@
 
 
 Name:   sg3_utils
-%define lname  libsgutils2-2
-Version:1.39
+%define lname  libsgutils2-1_40-2
+Version:1.40
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
 License:GPL-2.0+ and BSD-3-Clause
@@ -26,11 +26,10 @@
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
 Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
-Patch0: sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch
-Patch1: sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch
-Patch2: sg3_utils-Do-not-export-long-identifiers.patch
+Patch1: sgut-libversioning.diff
 Patch3: sg3_utils-sg_inq-blacklist.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  libtool
 BuildRequires:  udev
 BuildRequires:  xz
 Requires(pre):  %insserv_prereq
@@ -84,21 +83,16 @@
 
 %prep
 %setup -q
-%patch0 -p1
 %patch1 -p1
-%patch2 -p1
 %patch3 -p1
 
 %build
-%configure --disable-static --with-pic
-# sg3_utils has added functions between (for example) 1.36 and 1.39
-# without tracking them. Add symvers so RPM updates work in all cases.
-echo 'V_%version { global: *; };' >symvers
-make %{?_smp_mflags} -C lib LDFLAGS="-Wl,--version-script=$PWD/symvers"
+autoreconf -fi
+%configure --disable-static
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR="%buildroot"
+%make_install
 install -m 755 scripts/scsi_logging_level $RPM_BUILD_ROOT%{_bindir}
 install -m 755 scripts/rescan-scsi-bus.sh $RPM_BUILD_ROOT%{_bindir}
 install -m 644 doc/rescan-scsi-bus.sh.8 $RPM_BUILD_ROOT%{_mandir}/man8
@@ -128,7 +122,7 @@
 
 %files -n %lname
 %defattr(-,root,root)
-%_libdir/libsgutils2.so.2*
+%_libdir/libsgutils2-1.*.so.2*
 
 %files -n libsgutils-devel
 %defattr(-,root,root)

++ sg3_utils-1.39.tar.xz -> sg3_utils-1.40.tar.xz ++
 16352 lines of diff (skipped)

++ sgut-libversioning.diff ++
From: Jan Engelhardt 
Date: 2015-02-13 15:29:13.225224047 +0100

build: use unique SONAME for libsgutils

sg3_utils has added functions between (for example) 1.36 and 1.39
without tracking them (either by using a different SONAME,
or using ELF symbol versions).
---
 lib/Makefile.am |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: sg3_utils-1.40/lib/Makefile.am
===
--- sg3_utils-1.40.orig/lib/Makefile.am
+++ sg3_utils-1.40/lib/Makefile.am
@@ -47,7 +47,7 @@ AM_CFLAGS = -iquote ../include -D_LARGEF
 
 lib_LTLIBRARIES = libsgutils2.la
 
-libsgutils2_la_LDFLAGS = -version-info 2:0:0
+libsgutils2_la_LDFLAGS = -version-info 2:0:0 -release ${PACKAGE_VERSION}
 
 libsgutils2_la_LIBADD = @GETOPT_O_FILES@ 

commit sg3_utils for openSUSE:Factory

2015-01-07 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2015-01-07 09:38:14

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2014-09-09 
18:59:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2015-01-07 
09:38:18.0 +0100
@@ -1,0 +2,6 @@
+Sun Jan  4 13:55:32 UTC 2015 - lnus...@suse.de
+
+- blacklist some usb controllers that don't like sg_inq (bnc#840054)
+  Add: sg3_utils-sg_inq-blacklist.diff
+
+---

New:

  sg3_utils-sg_inq-blacklist.diff



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.Y3cPl9/_old  2015-01-07 09:38:19.0 +0100
+++ /var/tmp/diff_new_pack.Y3cPl9/_new  2015-01-07 09:38:19.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sg3_utils
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,7 @@
 Patch0: sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch
 Patch1: sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch
 Patch2: sg3_utils-Do-not-export-long-identifiers.patch
+Patch3: sg3_utils-sg_inq-blacklist.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  udev
 BuildRequires:  xz
@@ -86,6 +87,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %configure --disable-static --with-pic

++ sg3_utils-sg_inq-blacklist.diff ++
Index: sg3_utils-1.39/scripts/55-scsi-sg3_id.rules
===
--- sg3_utils-1.39.orig/scripts/55-scsi-sg3_id.rules
+++ sg3_utils-1.39/scripts/55-scsi-sg3_id.rules
@@ -15,10 +15,19 @@ ENV{SCSI_MODEL}=="?*", ENV{ID_MODEL}="$e
 ENV{SCSI_MODEL_ENC}=="?*", ENV{ID_MODEL_ENC}="$env{SCSI_MODEL_ENC}"
 ENV{SCSI_REVISION}=="?*", ENV{ID_REVISION}="$env{SCSI_REVISION}"
 ENV{SCSI_TYPE}=="?*", ENV{ID_TYPE}="$env{SCSI_TYPE}"
+
+# don't inquire sn and di on broken devices 
(https://bugzilla.suse.com/show_bug.cgi?id=840054)
+# unkown device
+ATTRS{idVendor}=="0aec", ATTRS{idProduct}=="3260", 
ENV{SG3_UTILS_DEVICE_IGNORE_SN_DI}="1"
+# Sony/JMicron port replicator
+ATTRS{idVendor}=="054c", ATTRS{idProduct}=="06a0", 
ENV{SG3_UTILS_DEVICE_IGNORE_SN_DI}="1"
+
+ENV{SG3_UTILS_DEVICE_IGNORE_SN_DI}=="1", GOTO="sg3_utils_sg_inq_sn_di_end"
 # SCSI EVPD page 0x80 values
 KERNEL=="sd*[!0-9]|sr*", ENV{ID_SCSI}=="1", IMPORT{program}="/usr/bin/sg_inq 
--export --page=sn $tempnode"
 # SCSI EVPD page 0x83 values
 KERNEL=="sd*[!0-9]|sr*", ENV{ID_SCSI}=="1", IMPORT{program}="/usr/bin/sg_inq 
--export --page=di $tempnode"
+LABEL="sg3_utils_sg_inq_sn_di_end"
 
 # ID_WWN compat mapping
 ENV{SCSI_IDENT_LUN_NAA}=="?*", ENV{ID_WWN}!="?*", 
ENV{ID_WWN}="0x$env{SCSI_IDENT_LUN_NAA}"
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit sg3_utils for openSUSE:Factory

2014-09-09 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2014-09-09 18:59:40

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2014-06-26 
07:57:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2014-09-09 
18:59:47.0 +0200
@@ -1,0 +2,8 @@
+Wed Sep  3 15:57:47 CEST 2014 - h...@suse.de
+
+- Fixup formatting of invalid VPD pages (bnc#884779)
+  Add: sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch
+- sg_inq: Do not export long identifiers (bnc#884779)
+  Add: sg3_utils-Do-not-export-long-identifiers.patch
+
+---

New:

  sg3_utils-Do-not-export-long-identifiers.patch
  sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.sqtM6R/_old  2014-09-09 18:59:50.0 +0200
+++ /var/tmp/diff_new_pack.sqtM6R/_new  2014-09-09 18:59:50.0 +0200
@@ -27,6 +27,8 @@
 
 Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
 Patch0: sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch
+Patch1: sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch
+Patch2: sg3_utils-Do-not-export-long-identifiers.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  udev
 BuildRequires:  xz
@@ -82,6 +84,8 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 %configure --disable-static --with-pic

++ sg3_utils-Do-not-export-long-identifiers.patch ++
>From 6044f09bd55a9e215b662f8822c41b16fba523d2 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke 
Date: Wed, 3 Sep 2014 15:52:15 +0200
Subject: [PATCH 2/2] sg_inq: Do not export long identifiers

Some targets (accidentally) display really long vendor specific
IDs. These will cause a pathname overflow when udev tries to
generate links based on that name.
So skip any vendor-specific IDs which are longer than 128 characters;
vendor-specific IDs are of limited usage anyway.

References: bnc#884779

Signed-off-by: Hannes Reinecke 
---
 src/sg_inq.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/sg_inq.c b/src/sg_inq.c
index a78960f..74b11ff 100644
--- a/src/sg_inq.c
+++ b/src/sg_inq.c
@@ -1827,6 +1827,8 @@ export_dev_ids(unsigned char * buff, int len, int verbose)
 }
 switch (desig_type) {
 case 0: /* vendor specific */
+if (i_len > 128)
+break;
 printf("SCSI_IDENT_%s_VENDOR=", assoc_str);
 if ((2 == c_set) || (3 == c_set)) { /* ASCII or UTF-8 */
 k = encode_whitespaces(ip, i_len);
-- 
1.8.4.5

++ sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch ++
>From c76bfccf5497b11644425e2020f3b9b1bad59142 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke 
Date: Wed, 3 Sep 2014 15:26:42 +0200
Subject: [PATCH 1/2] Fixup formatting of invalid VPD page 0x83

Some target present invalid VPD page 0x83 descriptors.
This patch fixes up sg_inq and sg_vpd to skip those descriptors.

References: bnc#884779

Signed-of-by: Hannes Reinecke 
---
 src/sg_inq.c | 12 +++-
 src/sg_vpd.c | 16 +++-
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/src/sg_inq.c b/src/sg_inq.c
index 473d212..a78960f 100644
--- a/src/sg_inq.c
+++ b/src/sg_inq.c
@@ -1512,7 +1512,7 @@ decode_dev_ids(const char * leadin, unsigned char * buff, 
int len, int do_hex)
 switch (desig_type) {
 case 0: /* vendor specific */
 k = 0;
-if ((1 == c_set) || (2 == c_set)) { /* ASCII or UTF-8 */
+if ((2 == c_set) || (3 == c_set)) { /* ASCII or UTF-8 */
 for (k = 0; (k < i_len) && isprint(ip[k]); ++k)
 ;
 if (k >= i_len)
@@ -1965,6 +1965,16 @@ export_dev_ids(unsigned char * buff, int len, int 
verbose)
 }
 break;
 }
+if (strncmp((const char *)ip, "eui.", 4) ||
+strncmp((const char *)ip, "naa.", 4) ||
+strncmp((const char *)ip, "iqn.", 4)) {
+if (verbose) {
+pr2serr("  << expected name string prefix>>\n");
+dStrHexErr((const char *)ip, i_len, -1);
+}
+break;
+}
+
 printf("SCSI_IDENT_%s_NAME=%.*s\n", assoc_str, i_len,
(const char *)ip);
 break;
diff --git a/src/sg_vpd.c b/src/sg_vpd.c
index a69b3ec..2f97e94 100644
--- a/src/sg_vpd.c
+++ b/src/sg_vpd.c

commit sg3_utils for openSUSE:Factory

2014-06-25 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2014-06-26 07:57:57

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2014-06-24 
15:15:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2014-06-26 
07:57:59.0 +0200
@@ -1,0 +2,12 @@
+Wed Jun 25 07:53:48 UTC 2014 - rmila...@suse.com
+
+- Fix missing rule for generating links for partitions also (bnc#883032)
+  Add:
+  sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch 
+
+---
+Fri Jun 20 13:15:12 UTC 2014 - jeng...@inai.de
+
+- Add symbol versions to library
+
+---

New:

  sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.tPdRS6/_old  2014-06-26 07:58:00.0 +0200
+++ /var/tmp/diff_new_pack.tPdRS6/_new  2014-06-26 07:58:00.0 +0200
@@ -26,6 +26,7 @@
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
 Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
+Patch0: sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  udev
 BuildRequires:  xz
@@ -80,9 +81,14 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --disable-static --with-pic
+# sg3_utils has added functions between (for example) 1.36 and 1.39
+# without tracking them. Add symvers so RPM updates work in all cases.
+echo 'V_%version { global: *; };' >symvers
+make %{?_smp_mflags} -C lib LDFLAGS="-Wl,--version-script=$PWD/symvers"
 make %{?_smp_mflags}
 
 %install

++ sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch ++
Index: sg3_utils-1.39/scripts/58-scsi-sg3_symlink.rules
===
--- sg3_utils-1.39/scripts/58-scsi-sg3_symlink.rules
+++ sg3_utils-1.39/scripts/58-scsi-sg3_symlink.rules
@@ -10,6 +10,7 @@ ENV{DM_MULTIPATH_DEVICE_PATH}=="1", GOTO
 # Select which identifier to use per default
 # 0: vpd page 0x80 identifier
 ENV{SCSI_IDENT_SERIAL}=="?*", ENV{DEVTYPE}=="disk", 
SYMLINK+="disk/by-id/scsi-S$env{SCSI_VENDOR}_$env{SCSI_MODEL}_$env{SCSI_IDENT_SERIAL}"
+ENV{SCSI_IDENT_SERIAL}=="?*", ENV{DEVTYPE}=="partition", 
SYMLINK+="disk/by-id/scsi-S$env{SCSI_VENDOR}_$env{SCSI_MODEL}_$env{SCSI_IDENT_SERIAL}-part%n"
 # 1: NAA identifier (prefix 3)
 ENV{SCSI_IDENT_LUN_NAA}=="?*", ENV{DEVTYPE}=="disk", 
SYMLINK+="disk/by-id/scsi-3$env{SCSI_IDENT_LUN_NAA}"
 ENV{SCSI_IDENT_LUN_NAA}=="?*", ENV{DEVTYPE}=="partition", 
SYMLINK+="disk/by-id/scsi-3$env{SCSI_IDENT_LUN_NAA}-part%n"
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit sg3_utils for openSUSE:Factory

2014-06-24 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2014-06-24 15:15:36

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2014-05-23 
08:05:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2014-06-24 
15:15:37.0 +0200
@@ -1,0 +2,13 @@
+Tue Jun 17 09:08:42 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 1.39
+* This release adds some ZBC support in the form of sg_rep_zones
+  and sg_reset_wp.
+* It tracks changes made by www.t10.org since April 2014.
+- Remove
+  0001-Split-59-scsi-sg_utils.rules-for-multipath-support.patch,
+  0003-sg_inq-compability-links-for-ata_id.patch,
+  0004-sg_inq-suppress-warning-messages-for-export.patch,
+  sginfo-inq-fields-strip-blank.patch (merged upstream).
+
+---

Old:

  0001-Split-59-scsi-sg_utils.rules-for-multipath-support.patch
  0003-sg_inq-compability-links-for-ata_id.patch
  0004-sg_inq-suppress-warning-messages-for-export.patch
  sg3_utils-1.38.tar.xz
  sginfo-inq-fields-strip-blank.patch

New:

  sg3_utils-1.39.tar.xz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.csY8x4/_old  2014-06-24 15:15:38.0 +0200
+++ /var/tmp/diff_new_pack.csY8x4/_new  2014-06-24 15:15:38.0 +0200
@@ -18,18 +18,14 @@
 
 Name:   sg3_utils
 %define lname  libsgutils2-2
-Version:1.38
+Version:1.39
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
 License:GPL-2.0+ and BSD-3-Clause
 Group:  Hardware/Other
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
-Source: http://sg.danny.cz/sg/p/%name-%{version}.tar.xz
-Patch1: 0001-Split-59-scsi-sg_utils.rules-for-multipath-support.patch
-Patch2: sginfo-inq-fields-strip-blank.patch
-Patch3: 0003-sg_inq-compability-links-for-ata_id.patch
-Patch4: 0004-sg_inq-suppress-warning-messages-for-export.patch
+Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  udev
 BuildRequires:  xz
@@ -83,11 +79,7 @@
 applications that want to make use of libsgutils.
 
 %prep
-%setup -q -n %{name}-%{version}
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%setup -q
 
 %build
 %configure --disable-static --with-pic
@@ -101,7 +93,7 @@
 mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir}
 install -m 644 scripts/55-scsi-sg3_id.rules $RPM_BUILD_ROOT%{_udevrulesdir}
 install -m 644 scripts/58-scsi-sg3_symlink.rules 
$RPM_BUILD_ROOT%{_udevrulesdir}
-%{__rm} -f %{buildroot}%{_libdir}/*.la
+rm -f %{buildroot}%{_libdir}/*.la
 
 %post   -p /sbin/ldconfig -n %lname
 

++ sg3_utils-1.38.tar.xz -> sg3_utils-1.39.tar.xz ++
 23322 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit sg3_utils for openSUSE:Factory

2014-05-22 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2014-05-23 08:05:16

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2014-04-26 
17:01:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2014-05-23 
08:05:20.0 +0200
@@ -2 +2,11 @@
-Tue Apr 15 20:11:54 UTC 2014 - spargaon...@suse.com
+Thu May 15 13:34:33 CEST 2014 - h...@suse.de
+
+- Create compability links for ATA devices (bnc#876344)
+  Add:
+  0003-sg_inq-compability-links-for-ata_id.patch
+- Suppress warnings for sg_inq --export (bnc#876454)
+  Add:
+  0004-sg_inq-suppress-warning-messages-for-export.patch
+
+---
+Tue Apr 15 16:03:37 UTC 2014 - spargaon...@suse.com

New:

  0003-sg_inq-compability-links-for-ata_id.patch
  0004-sg_inq-suppress-warning-messages-for-export.patch



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.rMpNdJ/_old  2014-05-23 08:05:21.0 +0200
+++ /var/tmp/diff_new_pack.rMpNdJ/_new  2014-05-23 08:05:21.0 +0200
@@ -28,6 +28,8 @@
 Source: http://sg.danny.cz/sg/p/%name-%{version}.tar.xz
 Patch1: 0001-Split-59-scsi-sg_utils.rules-for-multipath-support.patch
 Patch2: sginfo-inq-fields-strip-blank.patch
+Patch3: 0003-sg_inq-compability-links-for-ata_id.patch
+Patch4: 0004-sg_inq-suppress-warning-messages-for-export.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  udev
 BuildRequires:  xz
@@ -84,6 +86,8 @@
 %setup -q -n %{name}-%{version}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 %configure --disable-static --with-pic

++ 0003-sg_inq-compability-links-for-ata_id.patch ++
>From 96300d5e6d62a9fd64183fe6c13a5227d07c6b1f Mon Sep 17 00:00:00 2001
From: Hannes Reinecke 
Date: Thu, 8 May 2014 15:59:33 +0200
Subject: sg_inq: compability links for ata_id

The original 'ata_id' program would return the data provided by
the 'IDENTIFY' ATA command.
As the 'product' information from the IDENTIFY command is 40
bytes long it doesn't fit into the 'product' field for the SCSI
inquiry, causing it to be truncated.
So we should be adding another field 'SCSI_IDENT_LUN_ATA'
to provide ata_id compatible information for creating symlinks.

References: bnc#876344

Signed-off-by: Hannes Reinecke 
---
 scripts/55-scsi-sg3_id.rules | 3 ++-
 src/sg_inq.c | 4 
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/scripts/55-scsi-sg3_id.rules b/scripts/55-scsi-sg3_id.rules
index 2f99157..ab5a8e3 100644
--- a/scripts/55-scsi-sg3_id.rules
+++ b/scripts/55-scsi-sg3_id.rules
@@ -25,7 +25,8 @@ ENV{SCSI_IDENT_LUN_NAA}=="?*", ENV{ID_WWN}!="?*", 
ENV{ID_WWN}="0x$env{SCSI_IDENT
 ENV{SCSI_IDENT_LUN_NAA}=="?*", ENV{ID_WWN_WITH_EXTENSION}!="?*", 
ENV{ID_WWN_WITH_EXTENSION}="0x$env{SCSI_IDENT_LUN_NAA}"
 
 # ata_id compability
-ENV{ID_SERIAL}!="?*", ENV{SCSI_VENDOR}=="ATA", ENV{ID_BUS}="ata", 
ENV{ID_ATA}="1", ENV{ID_SERIAL}="$env{SCSI_MODEL}_$env{SCSI_IDENT_LUN_VENDOR}"
+ENV{ID_SERIAL}!="?*", ENV{SCSI_IDENT_LUN_ATA}=="?*", ENV{ID_BUS}="ata", 
ENV{ID_ATA}="1", ENV{ID_SERIAL}="$env{SCSI_IDENT_LUN_ATA}"
+ENV{ID_SERIAL_SHORT}!="?*", ENV{SCSI_VENDOR}=="ATA", 
ENV{SCSI_IDENT_LUN_VENDOR}=="?*", 
ENV{ID_SERIAL_SHORT}="$env{SCSI_IDENT_LUN_VENDOR}"
 # Compat ID_SERIAL setting
 ENV{ID_SERIAL}!="?*", ENV{SCSI_IDENT_LUN_NAA}=="?*", ENV{ID_BUS}="scsi", 
ENV{ID_SERIAL}="3$env{SCSI_IDENT_LUN_NAA}", 
ENV{ID_SERIAL_SHORT}="$env{SCSI_IDENT_LUN_NAA}"
 ENV{ID_SERIAL}!="?*", ENV{SCSI_IDENT_LUN_EUI64}=="?*", ENV{ID_BUS}="scsi", 
ENV{ID_SERIAL}="2$env{SCSI_IDENT_LUN_EUI64}", 
ENV{ID_SERIAL_SHORT}="$env{SCSI_IDENT_LUN_EUI64}"
diff --git a/src/sg_inq.c b/src/sg_inq.c
index bfa4f58..7d8ada5 100644
--- a/src/sg_inq.c
+++ b/src/sg_inq.c
@@ -1839,6 +1839,10 @@ export_dev_ids(unsigned char * buff, int len)
 if ((2 == c_set) || (3 == c_set)) {
 k = encode_whitespaces(ip, i_len);
 printf("%.*s\n", k, ip);
+if (!memcmp(ip, "ATA_", 4)) {
+printf("SCSI_IDENT_%s_ATA=%.*s\n", assoc_str,
+   k - 4, ip + 4);
+}
 } else {
 for (m = 0; m < i_len; ++m)
 printf("%02x", (unsigned int)ip[m]);
-- 
1.7.12.4

++ 0004-sg_inq-suppress-warning-messages-for-export.patch ++
>From 880ad9e51b2a2e1f3a8feb0c8e0bb4b5b840a7a3 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke 
Date: Thu, 15 May 2014 12:27:22 +0200
Subject: sg_inq: suppress war

commit sg3_utils for openSUSE:Factory

2014-04-26 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2014-04-26 17:01:48

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2014-04-14 
06:42:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2014-04-26 
17:01:50.0 +0200
@@ -1,0 +2,9 @@
+Tue Apr 15 20:11:54 UTC 2014 - spargaon...@suse.com
+
+- added patch sginfo-inq-fields-strip-blank.patch 
+  sg3_utils: Strip out trailing info from vendor info products fields in inq
+  bnc#863357
+
+- added patches:
+  * sginfo-inq-fields-strip-blank.patch
+---

New:

  sginfo-inq-fields-strip-blank.patch



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.lFEhBp/_old  2014-04-26 17:01:51.0 +0200
+++ /var/tmp/diff_new_pack.lFEhBp/_new  2014-04-26 17:01:51.0 +0200
@@ -27,6 +27,7 @@
 
 Source: http://sg.danny.cz/sg/p/%name-%{version}.tar.xz
 Patch1: 0001-Split-59-scsi-sg_utils.rules-for-multipath-support.patch
+Patch2: sginfo-inq-fields-strip-blank.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  udev
 BuildRequires:  xz
@@ -82,6 +83,7 @@
 %prep
 %setup -q -n %{name}-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure --disable-static --with-pic

++ sginfo-inq-fields-strip-blank.patch ++
From: Shirish Pargaonkar 
Subject: sg3_utils: Strip out trailing info from vendor info products fields in 
inquiry
commit 1756f3b04d4c45d7a0d78e128786b2a1c619565e
Date:   Tue Apr 15 10:31:23 2014 -0500
Reference: bnc#863357


sginfo  prints out various fields such as Vendor and Product in
INQUIRY response with spaces (0x20) characters.
This can confuse scripts some users have.
Strip out those trailing spaces (if any).


signed-of-by: Shirish Pargaonkar 
---
diff --git a/src/sginfo.c b/src/sginfo.c
index b27f117..b9f3f77 100644
--- a/src/sginfo.c
+++ b/src/sginfo.c
@@ -155,6 +155,7 @@ static char *device_name;
 #define MAX_BUFFER_SIZE MAX_RESP10_SIZE
 
 #define INQUIRY_RESP_INITIAL_LEN 36
+#define MAX_INQFIELD_LEN 17
 
 #define MAX_HEADS 127
 #define HEAD_SORT_TOKEN 0x55
@@ -3139,11 +3140,23 @@ do_user_page(struct mpage_info * mpi, int decode_in_hex)
 return status;
 }
 
+static void
+inqfieldname(unsigned char *deststr, const unsigned char *srcbuf, int maxlen)
+{
+   int i;
+
+   memset(deststr, '\0', MAX_INQFIELD_LEN);
+   for (i = maxlen - 1; i >= 0 && isspace(srcbuf[i]); --i)
+   ;
+   memcpy(deststr, srcbuf, i + 1);
+}
+
 static int
 do_inquiry(int * peri_type, int * resp_byte6, int inquiry_verbosity)
 {
 int status;
 unsigned char cmd[6];
+unsigned char fieldname[MAX_INQFIELD_LEN];
 unsigned char *pagestart;
 struct scsi_cmnd_io sci;
 
@@ -3214,14 +3227,17 @@ do_inquiry(int * peri_type, int * resp_byte6, int 
inquiry_verbosity)
 }
 if (x_interface)
 printf("\n");
-printf("%s%.8s\n", (!x_interface ? "Vendor:" : ""),
-   pagestart + 8);
+   inqfieldname(fieldname, pagestart + 8, 8);
+   printf("%s%s\n", (!x_interface ? "Vendor:" : ""),
+   fieldname);
 
-printf("%s%.16s\n", (!x_interface ? "Product:   " : ""),
-   pagestart + 16);
+   inqfieldname(fieldname, pagestart + 16, 16);
+   printf("%s%s\n", (!x_interface ? "Product:   " : ""),
+   fieldname);
 
-printf("%s%.4s\n", (!x_interface ? "Revision level:" : ""),
-   pagestart + 32);
+   inqfieldname(fieldname, pagestart + 32, 4);
+   printf("%s%s\n", (!x_interface ? "Revision level:" : ""),
+   fieldname);
 
 printf("\n");
 return status;
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit sg3_utils for openSUSE:Factory

2014-04-13 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2014-04-14 06:42:18

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2013-11-04 
16:42:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2014-04-14 
06:42:20.0 +0200
@@ -1,0 +2,82 @@
+Fri Apr 11 12:12:47 CEST 2014 - h...@suse.de
+
+- Split off 59-scsi-sg_utils.rules to properly support
+  multipathing (bnc#873151)
+  Remove:
+  0001-59-scsi-sg_utils.rules-skip-symlinks-for-multipath-d.patch
+  Add:
+  0001-Split-59-scsi-sg_utils.rules-for-multipath-support.patch
+
+---
+Thu Apr 10 11:22:07 CEST 2014 - h...@suse.de
+
+- Update to official release 1.38
+  * Update documentation
+  * Update to latest SPC
+  * Minor fixes
+  * Add: sg3_utils-1.38.tar.xz
+  * Remove: sg3_utils-1.38b7r538.tar.xz
+  * Remove: sg3_utils-1.38r546.patch
+  * Remove: sg3_utils-1.38b12r556.patch
+- Use 59-scsi-sg3_utils from the rpm
+  Remove: 59-scsi-sg3_utils.rules
+- Fixup 59-scsi-sg3_utils.rules to not provide symlinks
+  on multipath device paths (bnc#872929)
+  Add: 0001-59-scsi-sg_utils.rules-skip-symlinks-for-multipath-d.patch
+
+---
+Fri Mar  7 11:44:33 CET 2014 - h...@suse.de
+
+- Fixup 59-scsi_sg3_utils.rules to provide compability links
+  for ata_id (bnc#866933)
+
+---
+Fri Feb 28 15:15:32 CET 2014 - h...@suse.de
+
+- Add 59-scsi-sg3_utils.rules (bnc#865494)
+
+---
+Tue Feb 25 11:26:24 CET 2014 - h...@suse.de
+
+- Update to inofficial release 1.38b12r556 (bnc#865494)
+  * Add --inhex parameter to sg_inq
+  * sg_inq: decode ASCII information vpd page
+  * sg_inq: allow page=-1 to force std INQUIRY decoding
+  * sg_inq: improve unit serial number display
+  * sg_vpd: Add LTO and DDS vendor pages
+  * sg_persist: add SOP transport ID
+  * sg_lib_data: sync asc/ascq code with T10
+  * rescan-scsi-bus.sh: check if FC driver exports issue_lip
+  * Add man page for rescan-scsi-bus.sh
+- Remove sg3_utils-check-if-hba-supports-issue-lip.patch,
+  has been merged with upstream
+
+---
+Thu Jan 23 08:57:56 CET 2014 - h...@suse.de
+
+- Update to inofficial release 1.38r546 (bnc#831778)
+  * sg_ses: error and warning message cleanup
+- fix --data=- problem with large buffers
+- new --data=@FN to read hex data from file FN
+- add --maxlen= option
+  * sg_inq:
+- add LU_CONG to standard inquiry response
+- sync version descriptors dated 20131126
+- fix overflow in encode_whitespaces
+  * sg_vpd: add LU_CONG to standard inquiry response output
+- decode Third Party Copy (tpc) page
+  * sg_persist: add PROUT: Replace Lost Reservation (spc4r36)
+  * sg_readcap: for --16 show physical block size if
+  * sg_xcopy:
+- environment variables: XCOPY_TO_SRC and
+  XCOPY_TO_DST indicate where xcopy command is sent
+- change default to send xcopy to dst (was src)
+- improve CL handling of short options (e.g. '-vv')
+  * sg_write_same: repeat if unit attention
+  * sg_rtpg: fix indexing bug with --extended option
+  * sg_lib_data: sync asc/ascq codes with T10 dated 20131110
+  * sg_cmds_extra: fix sa bug in sg_ll_3party_copy_out()
+- Update tarball to 1.38b7r537
+- Add sg3_utils-1.38r546.patch
+
+---

Old:

  sg3_utils-1.37.tar.xz
  sg3_utils-check-if-hba-supports-issue-lip.patch

New:

  0001-Split-59-scsi-sg_utils.rules-for-multipath-support.patch
  sg3_utils-1.38.tar.xz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.DccFNv/_old  2014-04-14 06:42:20.0 +0200
+++ /var/tmp/diff_new_pack.DccFNv/_new  2014-04-14 06:42:20.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sg3_utils
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,17 @@
 
 Name:   sg3_utils
 %define lname  libsgutils2-2
-Version:1.37
+Version:1.38
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
 License:GPL-2.0+ and BSD-3-Clause
 Group:   

commit sg3_utils for openSUSE:Factory

2013-11-04 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2013-11-04 16:42:35

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2013-09-02 
15:03:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2013-11-04 
16:42:36.0 +0100
@@ -1,0 +2,12 @@
+Mon Nov  4 01:59:38 UTC 2013 - jeng...@inai.de
+
+- Update to new upstream release 1.37
+* sg_compare_and_write: add --quiet option to suppress miscompare
+  report
+* sg_persist: fix core dump on -Q option
+* sg_unmap: fix core dump on -g option
+* sg_ses: add --nickname and --nickid options
+- Remove sg3_utils-Fixup-T10-Vendor-designator-display.patch
+  (merged upstream)
+
+---

Old:

  sg3_utils-1.36.tar.xz
  sg3_utils-Fixup-T10-Vendor-designator-display.patch

New:

  sg3_utils-1.37.tar.xz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.Lgmya7/_old  2013-11-04 16:42:37.0 +0100
+++ /var/tmp/diff_new_pack.Lgmya7/_new  2013-11-04 16:42:37.0 +0100
@@ -18,7 +18,7 @@
 
 Name:   sg3_utils
 %define lname  libsgutils2-2
-Version:1.36
+Version:1.37
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
 License:GPL-2.0+ and BSD-3-Clause
@@ -26,10 +26,7 @@
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
 Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
-# PATCH-FIX-UPSTREAM sg3_utils-check-if-hba-supports-issue-lip.patch bnc#780946
-Patch0: sg3_utils-check-if-hba-supports-issue-lip.patch
-# PATCH-FIX-UPSTREAM sg3_utils-Fixup-T10-Vendor-designator-display.patch 
bnc#805059
-Patch1: sg3_utils-Fixup-T10-Vendor-designator-display.patch
+Patch1: sg3_utils-check-if-hba-supports-issue-lip.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  xz
 Requires(pre):  %insserv_prereq
@@ -83,12 +80,11 @@
 
 %prep
 %setup -q
-%patch0 -p1
 %patch1 -p1
 
 %build
 %configure --disable-static --with-pic
-%{__make} %{?_smp_mflags}
+make %{?_smp_mflags}
 
 %install
 make install DESTDIR="%buildroot"

++ sg3_utils-1.36.tar.xz -> sg3_utils-1.37.tar.xz ++
 13990 lines of diff (skipped)

++ sg3_utils-check-if-hba-supports-issue-lip.patch ++
--- /var/tmp/diff_new_pack.Lgmya7/_old  2013-11-04 16:42:37.0 +0100
+++ /var/tmp/diff_new_pack.Lgmya7/_new  2013-11-04 16:42:37.0 +0100
@@ -1,3 +1,10 @@
+From: oher...@suse.de
+Date: 2013-08-25 18:45:14 +0200
+References: http://bugzilla.novell.com/780946
+
+(was originally marked to fix an upstream issue, but no description
+was provided)
+
 Index: sg3_utils-1.35/scripts/rescan-scsi-bus.sh
 ===
 --- sg3_utils-1.35.orig/scripts/rescan-scsi-bus.sh

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit sg3_utils for openSUSE:Factory

2013-09-02 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2013-09-02 15:03:08

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2013-06-14 
15:48:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2013-09-02 
15:03:09.0 +0200
@@ -1,0 +2,9 @@
+Sun Aug 25 18:45:14 CEST 2013 - oher...@suse.de
+
+- Fixup T10 Vendor designator display (bnc#805059)
+  sg3_utils-Fixup-T10-Vendor-designator-display.patch
+- In rescan-scsi-bus.sh, check if the HBA driver exports issue_lip
+  in sysfs before using it (bnc#780946)
+  sg3_utils-check-if-hba-supports-issue-lip.patch
+
+---

New:

  sg3_utils-Fixup-T10-Vendor-designator-display.patch
  sg3_utils-check-if-hba-supports-issue-lip.patch



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.fuDozN/_old  2013-09-02 15:03:09.0 +0200
+++ /var/tmp/diff_new_pack.fuDozN/_new  2013-09-02 15:03:09.0 +0200
@@ -26,6 +26,10 @@
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
 Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
+# PATCH-FIX-UPSTREAM sg3_utils-check-if-hba-supports-issue-lip.patch bnc#780946
+Patch0: sg3_utils-check-if-hba-supports-issue-lip.patch
+# PATCH-FIX-UPSTREAM sg3_utils-Fixup-T10-Vendor-designator-display.patch 
bnc#805059
+Patch1: sg3_utils-Fixup-T10-Vendor-designator-display.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  xz
 Requires(pre):  %insserv_prereq
@@ -79,6 +83,8 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %configure --disable-static --with-pic

++ sg3_utils-Fixup-T10-Vendor-designator-display.patch ++
>From 5a20c030863cc14647651586ab07554d73a062a8 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke 
Date: Thu, 23 May 2013 09:26:40 +0200
Subject: [PATCH] Fixup T10 Vendor designator display

The T10 Vendor designator might have a code set of 'binary', in
which case the T10 Vendor ID is an 8 byte ASCII field, and the
vendor specific identifier is in binary.

References: bnc#805059

Signed-off-by: Hannes Reinecke 

diff --git a/src/sg_inq.c b/src/sg_inq.c
index 4848574..408ecdd 100644
--- a/src/sg_inq.c
+++ b/src/sg_inq.c
@@ -1115,8 +1115,16 @@ decode_dev_ids(const char * leadin, unsigned char * 
buff, int len, int do_hex)
 break;
 case 1: /* T10 vendor identification */
 printf("  vendor id: %.8s\n", ip);
-if (i_len > 8)
-printf("  vendor specific: %.*s\n", i_len - 8, ip + 8);
+if (i_len > 8) {
+if ((2 == c_set) || (3 == c_set)) { /* ASCII or UTF-8 */
+printf("  vendor specific: %.*s\n", i_len - 8, ip + 8);
+} else {
+printf("  vendor specific: 0x");
+for (m = 8; m < i_len; ++m)
+printf("%02x", (unsigned int)ip[m]);
+printf("\n");
+}
+}
 break;
 case 2: /* EUI-64 based */
 printf("  EUI-64 based %d byte identifier\n", i_len);
@@ -1405,8 +1413,15 @@ export_dev_ids(unsigned char * buff, int len)
 printf("SCSI_IDENT_%s_VENDOR=%.*s\n", assoc_str, k, ip);
 break;
 case 1: /* T10 vendor identification */
-k = encode_whitespaces(ip, i_len);
-printf("SCSI_IDENT_%s_T10=%.*s\n", assoc_str, k, ip);
+printf("SCSI_IDENT_%s_T10=", assoc_str);
+if ((2 == c_set) || (3 == c_set)) {
+k = encode_whitespaces(ip, i_len);
+printf("%.*s\n", k, ip);
+} else {
+for (m = 0; m < i_len; ++m)
+printf("%02x", (unsigned int)ip[m]);
+printf("\n");
+}
 break;
 case 2: /* EUI-64 based */
 if (1 != c_set) {
diff --git a/src/sg_vpd.c b/src/sg_vpd.c
index f991623..f7345db 100644
--- a/src/sg_vpd.c
+++ b/src/sg_vpd.c
@@ -796,8 +796,16 @@ decode_designation_descriptor(const unsigned char * ip, 
int i_len,
 break;
 case 1: /* T10 vendor identification */
 printf("  vendor id: %.8s\n", ip);
-if (i_len > 8)
-printf("  vendor specific: %.*s\n", i_len - 8, ip + 8);
+if (i_len > 8) {
+if ((2 == c_set) || (3 == c_set)) { /* ASCII or UTF-8 */
+printf("  vendor specific: %.*s\n", i_len - 8, ip + 8);
+} else {
+prin

commit sg3_utils for openSUSE:Factory

2013-06-14 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2013-06-14 15:48:28

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2013-03-12 
11:33:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2013-06-14 
15:48:29.0 +0200
@@ -1,0 +2,39 @@
+Thu Jun 13 14:15:26 UTC 2013 - jeng...@inai.de
+
+- Implement shlib packaging guidelines; rename sg3_utils-devel
+  to libsgutils-devel (upstream recommendation)
+- More robust make install call; remove redundant %clean section;
+  simplify file lists
+
+---
+Tue Jun 11 08:56:39 UTC 2013 - rmila...@suse.com
+
+- Update to version 1.36
+  - sg_vpd: Protocol-specific port information VPD page
+for SAS SSP, persistent connection (spl3r2), power
+disable (spl3r3)
+- block device characteristics: add FUAB bit
+  - sg_xcopy: handle more descriptor types; handle zero
+maximum segment length; allow list IDs to be disabled;
+improve skip/seek handling; allow xcopy on destination
+  - sg_reset: and --no-esc option to stop reset escalation
+- clean up cli, add long option names
+  - sg_luns: add --test=ALUN option for decoding LUNs
+- decoded luns output in decimal or hex (if -HH given)
+- add '--linux' option to show Linux LUN after T10
+  representation, can map one to the other
+  - sg_inq: add --vendor option to show standard inquiry's
+vendor specific fields in ASCII
+- take resid into account with response output
+  - sg_sync: add --16 (for 16 byte command) and --timeout=
+  - sg_logs: add data compression page (ssc4)
+  - sg_sat_set_features: increase --lba from 1 to 4 bytes
+  - sg_write_same: add --ndob option (sbc3r35d)
+  - sg_map: mark as deprecated
+  - sginfo: mark as deprecated, especially -l (list)
+  - sg_lib: improve snprintf handling
+  - sg_lib_data: sync asc/ascq codes with T10 20130117
+  - sg_cmds (lib): if noisy given, give more UA info
+  - make code more C++ friendly 
+
+---

Old:

  sg3_utils-1.35.tgz

New:

  sg3_utils-1.36.tar.xz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.uh0QEm/_old  2013-06-14 15:48:29.0 +0200
+++ /var/tmp/diff_new_pack.uh0QEm/_new  2013-06-14 15:48:29.0 +0200
@@ -16,20 +16,22 @@
 #
 
 
-Url:http://sg.danny.cz/sg/sg3_utils.html
-
 Name:   sg3_utils
-Version:1.35
+%define lname  libsgutils2-2
+Version:1.36
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
 License:GPL-2.0+ and BSD-3-Clause
 Group:  Hardware/Other
-Source: http://sg.danny.cz/sg/p/sg3_utils-%{version}.tgz
+Url:http://sg.danny.cz/sg/sg3_utils.html
+
+Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  xz
 Requires(pre):  %insserv_prereq
 Provides:   scsi
 Provides:   sg_utils
 Obsoletes:  scsi <= 1.7_2.38_1.25_0.19_1.02_0.93
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 The sg3_utils package contains utilities that send SCSI commands to
@@ -39,12 +41,32 @@
 ATAPI cd/dvd drives and SATA disks that connect via a translation layer
 or a bridge device are examples of devices that use SCSI command sets.
 
-%package devel
+%package -n %lname
+Summary:Library to hold functions common to the SCSI utilities
+License:BSD-3-Clause
+Group:  System/Libraries
+
+%description -n %lname
+The sg3_utils package contains utilities that send SCSI commands to
+devices. As well as devices on transports traditionally associated with
+SCSI (e.g. Fibre Channel (FCP), Serial Attached SCSI (SAS) and the SCSI
+Parallel Interface(SPI)) many other devices use SCSI command sets.
+ATAPI cd/dvd drives and SATA disks that connect via a translation layer
+or a bridge device are examples of devices that use SCSI command sets.
+
+This subpackage contains the library of common sg_utils code, such as
+SCSI error processing.
+
+%package -n libsgutils-devel
 Summary:A collection of tools that send SCSI commands to devices
+License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Requires:   %{name} = %{version}
+Requires:   %lname = %version
+# Added for 13.1
+Obsoletes:  %name-devel < %version-%release
+Provides:   %name-devel = %version-%release
 
-%description devel
+%description -n libsgutils-dev

commit sg3_utils for openSUSE:Factory

2013-03-12 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2013-03-12 11:33:25

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils", Maintainer is "h...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2012-07-09 
13:31:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2013-03-12 
11:33:26.0 +0100
@@ -1,0 +2,48 @@
+Tue Mar 12 09:13:45 CET 2013 - h...@suse.de
+
+- Update to version 1.35
+  - sg_compare_and_write: new utility
+  - sg_inq+sg_vpd: block device characteristics VPD page:
+add product_type, WABEREQ, WACEREQ and VBULS fields
+  - sg_inq: more --export option changes for udev
+  - sg_vpd: add more rdac vendor specific vpd pages
+  - sg_verify: add --ebytchk option for sbc3r34 changes
+  - sg_stpg: --offline option: fix 'Invalid state 0xe'
+  - sg_ses: Door Lock element changed to Door element and
+abbreviation changed from 'dl' to 'do' (ses3r05)
+  - archive/rescan-scsi-bus.sh: upgrade to version 1.53hr
+- move rescan-scsi-bus.sh to scripts directory
+  - sync to sbc3r34
+  - sg_lib: sg_ll_verify10+16 expand BYTCHK to 2 bit field
+  - sg_pt_win32, sg_scan(win32): changes for cygwin 1.7.17
+  - clean up man page summary lines
+  - sg_xcopy: new dd like utility for extended copy command
+  - sg_copy_results: new utility for receive copy results
+  - sg_verify: add 16 byte cdb, bytchk (data-out buffer)
+and group number support
+  - sync to spc4r36 and sbc3r32
+  - sg_inq: add --export so sg_inq can replace udev's scsi_id
+- decode old EMC Symmetrix abuse of VPD page 0x83
+  - sg_vpd: decode old EMC Symmetrix abuse of VPD page 0x83
+  - sg_ses: increase max dpage response size to 64 KB
+- allow ident,locate on enclosure controller
+- more sanity for additional element status descriptor
+  - sg_sanitize: add --ause, --fail and --test=
+  - sg_luns: add long extended flat space addressing format
+  - sg_logs: add ATA pass-through results lpage (SAT-2)
+  - sg_rtpg: add --extended option
+  - sg_senddiag: list rebuild assist diag page name
+  - sg_pt_linux: expand DID_ (host_byte) codes
+- cope with a transport error plus sense data
+- prefer major() over MAJOR() macro
+  - sg_lib: fix sg_get_command_name() service actions
+- report sdat_ovfl bit (if set) in sense data
+- decode extended_copy and receive_copy service actions
+- decode read_buffer and write_buffer modes
+- decode ATA PT fixed format sense (SAT-2)
+  - sg_cmds_extra: add sg_ll_report_tgt_prt_grp2()
+  - ./configure options:
+- change --enable-no-linux-bsg to --disable-linuxbsg
+- add --disable-scsistrings to reduce utility sizes
+
+---

Old:

  rescan-scsi-bus.sh
  sg3_utils-1.33.tgz

New:

  sg3_utils-1.35.tgz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.aQk0Eo/_old  2013-03-12 11:33:27.0 +0100
+++ /var/tmp/diff_new_pack.aQk0Eo/_new  2013-03-12 11:33:27.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sg3_utils
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
 Url:http://sg.danny.cz/sg/sg3_utils.html
 
 Name:   sg3_utils
-Version:1.33
+Version:1.35
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
 License:GPL-2.0+ and BSD-3-Clause
 Group:  Hardware/Other
 Source: http://sg.danny.cz/sg/p/sg3_utils-%{version}.tgz
-Source2:http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
 Requires(pre):  %insserv_prereq
 Provides:   scsi
 Provides:   sg_utils
@@ -42,7 +41,6 @@
 
 %package devel
 Summary:A collection of tools that send SCSI commands to devices
-License:GPL-2.0+ and BSD-3-Clause
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 
@@ -64,7 +62,7 @@
 %install
 %makeinstall
 install -m 755 scripts/scsi_logging_level $RPM_BUILD_ROOT%{_bindir}
-install -m 755 %{S:2} $RPM_BUILD_ROOT%{_bindir}
+install -m 755 scripts/rescan-scsi-bus.sh $RPM_BUILD_ROOT%{_bindir}
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 
 %post -p /sbin/ldconfig
@@ -75,121 +73,21 @@
 %defattr(-,root,root)
 %doc README README.sg_start 
 %doc ChangeLog CREDITS NEWS
-%attr(755,root,root) %{_bindir}/sg_dd
-%attr(755,root,root) %{_bindi

commit sg3_utils for openSUSE:Factory

2012-07-09 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2012-07-09 13:31:44

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils", Maintainer is "h...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2012-04-23 
16:13:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2012-07-09 
13:31:46.0 +0200
@@ -1,0 +2,6 @@
+Wed Jul  4 07:01:46 UTC 2012 - cfarr...@suse.com
+
+- license update: GPL-2.0+ and BSD-3-Clause
+  Show aggregation and make compatible with Fedora declaration
+
+---



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.UHAC2v/_old  2012-07-09 13:31:47.0 +0200
+++ /var/tmp/diff_new_pack.UHAC2v/_new  2012-07-09 13:31:47.0 +0200
@@ -22,7 +22,7 @@
 Version:1.33
 Release:0
 Summary:A collection of tools that send SCSI commands to devices
-License:BSD-3-Clause ; GPL-2.0 ; GPL-2.0+
+License:GPL-2.0+ and BSD-3-Clause
 Group:  Hardware/Other
 Source: http://sg.danny.cz/sg/p/sg3_utils-%{version}.tgz
 Source2:http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
@@ -42,7 +42,7 @@
 
 %package devel
 Summary:A collection of tools that send SCSI commands to devices
-License:BSD-3-Clause ; GPL-2.0+
+License:GPL-2.0+ and BSD-3-Clause
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit sg3_utils for openSUSE:Factory

2012-04-23 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2012-04-23 16:13:25

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils", Maintainer is "h...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes  2011-09-23 
12:46:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2012-04-23 
16:13:43.0 +0200
@@ -1,0 +2,49 @@
+Sun Apr 22 11:50:44 UTC 2012 - pu...@suse.com
+
+- Update to version 1.33 
+  - sg_ses: major rework of indexes (again), now two level
+  - sg_write_buffer: new --specific option for mode specific
+field; new mode 13 (spc4r32)
+  - sg_vpd: add hp3par volume info vendor VPD page
+- fix 'scsi ports' [0x88] page problem
+- add 'sinq' pseudo page for standard inquiry response
+- add power consumption page
+  - sg_format: add --poll= option for request sense polling
+- improve handling of disks > 2 TB and DIF (protection)
+  - sg_logs: LB provision lpage extra (sbc3r28)
+  - sg_modes: application tag mpage subcode 0xf0->0x2
+  - sg_write_same: no prot fields when wrprotect=0
+  - sg_get_lba_status: reflect change in sbc3r25 to Parameter
+Data Length response field (offset reduced from 8 to 4)
+  - sg_inq, sg_vpd: sync with spc4r33
+  - win32: change DataBufferOffset type per MSDN; caused
+problem with 64 bit machines (with buffered interface)
+  - sg_luns: tweak documentation for vendor specific reports
+  - add man pages for scsi_loging_level, scsi_mandat,
+scsi_satl and scsi_temperature
+
+---
+Mon Jan 16 19:59:42 UTC 2012 - tabra...@novell.com
+
+- Update to version 1.32
+  + sg_sanitize: new utility for command added in sb3r27
+  + sg_sat_identify: add '--ident' to output WWN
+  + sg_ses: major rework of descriptor output
++ add --index, --descriptor, --join, --clear, --get, and --set
+  options
+  + sg_raw: exit status corrections
+  + sg_decode_sense: add --nospace and --hex options
+  + sg_logs: fix bug with large --maxlen
++ zero response length when resid implies it is invalid
++ add scope field to lb provisioning lpage (sb3r27)
+  + sg_inq: sync version descriptors with spc4r31
+  + sb_lib_data: sync asc/ascq codes with spc4r31
+  + sg_vpd: add LBPRZ field in LP provisioning VPD page
+  + sg_format: allow format of pdt 7 (some MO drives)
+  + sg_cmd_basic: sg_cmds_process_resp() handle status good
+with a sense key other than no_sense (e.g. completed)
+  + add README.iscsi
+
+- Updated rescan-scsi-bus.sh to v1.56
+
+---

Old:

  sg3_utils-1.31.tar.bz2

New:

  sg3_utils-1.33.tgz



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.9Rm1tb/_old  2012-04-23 16:13:46.0 +0200
+++ /var/tmp/diff_new_pack.9Rm1tb/_new  2012-04-23 16:13:46.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sg3_utils
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,20 @@
 #
 
 
-Url:http://sg.torque.net/sg/sg3_utils.html
+Url:http://sg.danny.cz/sg/sg3_utils.html
 
 Name:   sg3_utils
-%define sgver  1.31
+Version:1.33
+Release:0
+Summary:A collection of tools that send SCSI commands to devices
 License:BSD-3-Clause ; GPL-2.0 ; GPL-2.0+
 Group:  Hardware/Other
-Provides:   sg_utils
+Source: http://sg.danny.cz/sg/p/sg3_utils-%{version}.tgz
+Source2:http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
+Requires(pre):  %insserv_prereq
 Provides:   scsi
+Provides:   sg_utils
 Obsoletes:  scsi <= 1.7_2.38_1.25_0.19_1.02_0.93
-AutoReqProv:on
-PreReq: %insserv_prereq
-Version:1.31
-Release:1
-Summary:A collection of tools that send SCSI commands to devices
-Source: http://sg.torque.net/sg/p/sg3_utils-%{sgver}.tar.bz2
-Source2:http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -43,11 +41,10 @@
 or a bridge device are examples of devices that use SCSI command sets.
 
 %package devel
-License:BSD-3-Clause ; GPL-2.0+
 Summary:A collection of tools that send SCSI commands to devices
+License:BSD-3-Clause ; GPL-2.0+
 Group:  Development/Libraries/C and C++

commit sg3_utils for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2011-12-06 19:03:44

Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and  /work/SRC/openSUSE:Factory/.sg3_utils.new (New)


Package is "sg3_utils", Maintainer is "h...@suse.com"

Changes:




Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.rYj7uw/_old  2011-12-06 19:37:03.0 +0100
+++ /var/tmp/diff_new_pack.rYj7uw/_new  2011-12-06 19:37:03.0 +0100
@@ -20,7 +20,7 @@
 
 Name:   sg3_utils
 %define sgver  1.31
-License:BSD3c(or similar) ; GPLv2 ; GPLv2+
+License:BSD-3-Clause ; GPL-2.0 ; GPL-2.0+
 Group:  Hardware/Other
 Provides:   sg_utils
 Provides:   scsi
@@ -43,7 +43,7 @@
 or a bridge device are examples of devices that use SCSI command sets.
 
 %package devel
-License:BSD3c(or similar) ; GPLv2+
+License:BSD-3-Clause ; GPL-2.0+
 Summary:A collection of tools that send SCSI commands to devices
 Group:  Development/Libraries/C and C++
 AutoReqProv:on

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit sg3_utils for openSUSE:Factory

2011-03-10 Thread h_root

Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory
checked in at Thu Mar 10 10:16:44 CET 2011.




--- sg3_utils/sg3_utils.changes 2010-08-13 11:54:22.0 +0200
+++ /mounts/work_src_done/STABLE/sg3_utils/sg3_utils.changes2011-03-10 
09:50:14.0 +0100
@@ -1,0 +2,47 @@
+Thu Mar 10 08:47:43 UTC 2011 - co...@novell.com
+
+- fix file list
+
+---
+Fri Feb 18 16:41:32 CET 2011 - h...@suse.de
+
+- Update to version 1.31:
+  + sg_decode_sense: new utility to decode sense data
+  + sg_vpd: LB provisioning + Block limits pages (sbc3r26)
+  + sync asc/ascq and version descriptors with spc4r28
+  + sg_get_config, sg_rmsn, sg_verify: add --readonly option
+  + sg_lib: implement forwarded sense data descriptor
+- decode user data segment referral sense data descriptor
+  + sg_lib, sg_turs, sg_format: more precision for progress
+indication (two places after decimal point)
+  + sg_lib(win32): add runtime selection of SPT direct or
+indirect interface
+- sg_read_buffer+sg_write_buffer: set SPT direct
+ + add examples/forwarded_sense.txt + examples/ref_sense.txt
+
+- Changes from version 1.30:
+  + sg_referrals: new utility for REPORT REFERRALS
+  + sbc3r25 renames 'thin' provisioning' to 'logical block
+provisioning': changes in sg_format, sg_inq, sg_logs,
+sg_modes, sg_readcap, sg_vpd
+  + sg_inq: update version descriptor list to spc4r27
+- extended inquiry vpd page add extended self test
+  completion minutes field
+  + sg_lib: sync asc/ascq list to spc4r27
+- dStrHex(): trim excess trailing spaces
+  + sg_read_long: add --readonly option (open() is rw)
+  + sg_raw: add --readonly option (open() is rw)
+- allow bidirectional commands
+  + sg_vpd: rdac vendor page [0xc8] parse corrections
+- extended inquiry vpd page add extended self test
+-completion minutes field
+  + sg_ses: expand --data (in) buffer to 2048 bytes
+  + sg_opcodes: add extended parameter data for TMFs (spc4r26)
+  + sg_dd: clean count calculation, document nocache flag
+- treat bsg devices as implicit sg_io
+  + sg_write_same: if READ CAPACITY(16) fails try 10 byte variant
+- anticipate approval of proposal to allow UNMAP and ANCHOR
+  bits to be set on WRITE SAME(10) with '--10' option
+  + sg3_utils man page: sections added for OS device names
+
+---

calling whatdependson for head-i586


Old:

  sg3_utils-1.29.tar.bz2

New:

  sg3_utils-1.31.tar.bz2



Other differences:
--
++ sg3_utils.spec ++
--- /var/tmp/diff_new_pack.wB7hjZ/_old  2011-03-10 10:15:57.0 +0100
+++ /var/tmp/diff_new_pack.wB7hjZ/_new  2011-03-10 10:15:57.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package sg3_utils (Version 1.29)
+# spec file for package sg3_utils
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 Url:http://sg.torque.net/sg/sg3_utils.html
 
 Name:   sg3_utils
-%define sgver  1.29
+%define sgver  1.31
 License:BSD3c(or similar) ; GPLv2 ; GPLv2+
 Group:  Hardware/Other
 Provides:   sg_utils
@@ -27,7 +27,7 @@
 Obsoletes:  scsi <= 1.7_2.38_1.25_0.19_1.02_0.93
 AutoReqProv:on
 PreReq: %insserv_prereq
-Version:1.29
+Version:1.31
 Release:1
 Summary:A collection of tools that send SCSI commands to devices
 Source: http://sg.torque.net/sg/p/sg3_utils-%{sgver}.tar.bz2
@@ -131,6 +131,8 @@
 %attr(755,root,root) %{_bindir}/sg_read_block_limits
 %attr(755,root,root) %{_bindir}/sg_unmap
 %attr(755,root,root) %{_bindir}/sg_write_same
+%attr(755,root,root) %{_bindir}/sg_decode_sense
+%attr(755,root,root) %{_bindir}/sg_referrals
 %doc %{_mandir}/man8/sg_dd.8.gz
 %doc %{_mandir}/man8/sgp_dd.8.gz
 %doc %{_mandir}/man8/sgm_dd.8.gz
@@ -187,6 +189,8 @@
 %doc %{_mandir}/man8/sg_read_block_limits.8.gz
 %doc %{_mandir}/man8/sg_unmap.8.gz
 %doc %{_mandir}/man8/sg_write_same.8.gz
+%doc %{_mandir}/man8/sg_decode_sense.8.gz
+%doc %{_mandir}/man8/sg_referrals.8.gz
 %attr(755,root,root) %{_libdir}/libsgutils2.so.*
 
 %files devel

++ sg3_utils-1.29.tar.bz2 -> sg3_utils-1.31.tar.bz2 ++
 68069 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org