From a6609e42c2bba040a37ee25e47a32fd767c6a45bddd9921fb9ab107663cf1287 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Mon, 23 Aug 2010 13:33:21 +0000 Subject: [PATCH 1/3] Accepting request 45625 from Base:System checked in (request 45625) OBS-URL: https://build.opensuse.org/request/show/45625 OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=8 --- sg3_utils-1.27.tar.bz2 | 3 ++ sg3_utils-1.29.tar.bz2 | 3 -- sg3_utils.changes | 66 ------------------------------------------ sg3_utils.spec | 34 ++++++++++++---------- 4 files changed, 21 insertions(+), 85 deletions(-) create mode 100644 sg3_utils-1.27.tar.bz2 delete mode 100644 sg3_utils-1.29.tar.bz2 diff --git a/sg3_utils-1.27.tar.bz2 b/sg3_utils-1.27.tar.bz2 new file mode 100644 index 0000000..291bd9a --- /dev/null +++ b/sg3_utils-1.27.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0d186880351645ebee191e15d7d818a9cd615d031b542ddb0a1c59ae6d2e416 +size 632327 diff --git a/sg3_utils-1.29.tar.bz2 b/sg3_utils-1.29.tar.bz2 deleted file mode 100644 index 2dc83b0..0000000 --- a/sg3_utils-1.29.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f1f569872ae9994786ebc83c2b20d3e046242f2e20c86550fa323569033fe708 -size 652857 diff --git a/sg3_utils.changes b/sg3_utils.changes index f615752..a02a7e5 100644 --- a/sg3_utils.changes +++ b/sg3_utils.changes @@ -1,69 +1,3 @@ -------------------------------------------------------------------- -Fri Aug 13 11:42:50 CEST 2010 - dimstar@opensuse.org - -- Update to version 1.29: - + sg_rtpg: new logical block dependent state and bit (spc4r23) - + sg_start: add '--readonly' option for ATA disks - + sg_lib: update asc/ascq list to spc4r23 - + sg_inq: update version descriptor list to spc4r23 - + sg_vpd: block device characteristics page: fix form factor - - update Extended Inquiry VPD page to spc4r23 - - update Block Limits VPD page to sbc3r22 - - update Thin Provisioning VPD page to sbc3r22 - - Automation device serial number and Data transfer device - element VPD pages (ssc4r01) - - add Referrals VPD page (sbc3r22) - + sg_logs: add thin provisioning and solid state media log pages - - addition of IBM LTO specific log pages - + sg_modes: new page names from ssc4r01 - + sg_ses: sync with ses3r02 (SAS-2.1 connector types) - + sg_unmap: add '--anchor' option (sbc3r22) - + sg_write_same: add '--anchor' option (sbc3r22) - + sg_pt interface: add set_scsi_pt_flags() to permit passing - through SCSI_PT_FLAGS_QUEUE_AT_TAIL and AT_HEAD flags - + add examples/sg_queue_tst+bsg_queue_tst for SG_FLAG_Q_AT_TAIL - + add AM_MAINTAINER_MODE to configure.ac to lessen build issues - + add BSD_LICENSE file to this and lib directories, refer to - it from source and header files. Some source has GPL license -- Changes from version 1.28: - + sg_unmap: new utility for thin provisioning - - add examples/sg_unmap_example.txt - + sg_get_lba_status: new utility for thin provisioning - + sg_read_block_limits: new utility for tape drives - + sg_logs: add cache memory statistics log (sub)page - + sg_vpd, sg_inq: extend Block limits VPD page (sbc3r19) - + sg_vpd: add Thin provisioning VPD page (sbc3r20) and - TapeAlert supported flags VPD page - + sg_inq: note VPD page support better in sg_vpd - + sg_persist: add transport specific transportID format - - allow transportIDs to be read from named file - + sg_opcodes: allow --opcode= option to take OP and SA - values (comma seperated) - - tweak print format, remove test code - + sg_requests: remove test code in progress calculation - + sg_reset: add target reset option - + sg_luns: reduce default maxlen to 8192 (for FreeBSD) - + sg_raw: extend max cdb length from 16 to 256 bytes - - align heap allocs to page boundaries - + sg_lib: sg_set_binary_mode() needs config.h included - - add progress indication sense data descriptor (0xa) - - change SG3_UTILS_* constants to SG_LIB_* - - decode service actions within persistent reserve in/out - - sync with spc4r21 - + sg_cmds_extra: add sg_ll_unmap() and sg_ll_get_lba_status() - + sg_pt_linux: fix check condition but empty sense buffer; - - major() macro grief, if present include and - use MAJOR() instead - + scripts/sas_disk_blink: moved from this package to sdparm - + utils/hxascdmp: in Windows set binary mode on read files - + examples/sg_persist_tst.sh: add PRIN read full status command - + sg_raw,sg_write_buffer,sg_write_long,sg_write_same: in Windows - set binary mode on read files - + sg_pt_win32: default to non-direct variant of SPT interface - - use './configure --enable-win32-spt-direct' to override - - non-direct data length set to 16 KB, extended if required - + debian: incorporate patch from debian sid - ------------------------------------------------------------------- Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de diff --git a/sg3_utils.spec b/sg3_utils.spec index be6453d..4fbbd05 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -1,5 +1,5 @@ # -# spec file for package sg3_utils (Version 1.29) +# spec file for package sg3_utils (Version 1.27) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,7 +19,7 @@ Url: http://sg.torque.net/sg/sg3_utils.html Name: sg3_utils -%define sgver 1.29 +%define sgver 1.27 License: BSD3c(or similar) ; GPLv2 ; GPLv2+ Group: Hardware/Other Provides: sg_utils @@ -27,8 +27,8 @@ Provides: scsi Obsoletes: scsi <= 1.7_2.38_1.25_0.19_1.02_0.93 AutoReqProv: on PreReq: %insserv_prereq -Version: 1.29 -Release: 1 +Version: 1.27 +Release: 27 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 @@ -42,6 +42,13 @@ 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. + + +Authors: +-------- + Doug Gilbert + Kurt Garloff + %package devel License: BSD3c(or similar) ; GPLv2+ Summary: A collection of tools that send SCSI commands to devices @@ -57,6 +64,13 @@ 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. + + +Authors: +-------- + Doug Gilbert + Kurt Garloff + %prep %setup -q @@ -127,10 +141,6 @@ install -m 755 %{S:2} $RPM_BUILD_ROOT%{_bindir} %attr(755,root,root) %{_bindir}/sg_stpg %attr(755,root,root) %{_bindir}/scsi_logging_level %attr(755,root,root) %{_bindir}/rescan-scsi-bus.sh -%attr(755,root,root) %{_bindir}/sg_get_lba_status -%attr(755,root,root) %{_bindir}/sg_read_block_limits -%attr(755,root,root) %{_bindir}/sg_unmap -%attr(755,root,root) %{_bindir}/sg_write_same %doc %{_mandir}/man8/sg_dd.8.gz %doc %{_mandir}/man8/sgp_dd.8.gz %doc %{_mandir}/man8/sgm_dd.8.gz @@ -179,14 +189,6 @@ install -m 755 %{S:2} $RPM_BUILD_ROOT%{_bindir} %doc %{_mandir}/man8/sg_sat_set_features.8.gz %doc %{_mandir}/man8/sg_stpg.8.gz %doc %{_mandir}/man8/sg3_utils.8.gz -%doc %{_mandir}/man8/scsi_readcap.8.gz -%doc %{_mandir}/man8/scsi_ready.8.gz -%doc %{_mandir}/man8/scsi_start.8.gz -%doc %{_mandir}/man8/scsi_stop.8.gz -%doc %{_mandir}/man8/sg_get_lba_status.8.gz -%doc %{_mandir}/man8/sg_read_block_limits.8.gz -%doc %{_mandir}/man8/sg_unmap.8.gz -%doc %{_mandir}/man8/sg_write_same.8.gz %attr(755,root,root) %{_libdir}/libsgutils2.so.* %files devel From aa7123c51deb43341e728d7a2986e7cc7892f019a5b671fe983adb9724d5f0cb Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 19 Feb 2011 07:32:28 +0000 Subject: [PATCH 2/3] Accepting request 62084 from home:hreinecke:branches:Base:System OBS-URL: https://build.opensuse.org/request/show/62084 OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=9 --- sg3_utils-1.27.tar.bz2 | 3 -- sg3_utils-1.31.tar.bz2 | 3 ++ sg3_utils.changes | 108 +++++++++++++++++++++++++++++++++++++++++ sg3_utils.spec | 34 ++++++------- 4 files changed, 127 insertions(+), 21 deletions(-) delete mode 100644 sg3_utils-1.27.tar.bz2 create mode 100644 sg3_utils-1.31.tar.bz2 diff --git a/sg3_utils-1.27.tar.bz2 b/sg3_utils-1.27.tar.bz2 deleted file mode 100644 index 291bd9a..0000000 --- a/sg3_utils-1.27.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e0d186880351645ebee191e15d7d818a9cd615d031b542ddb0a1c59ae6d2e416 -size 632327 diff --git a/sg3_utils-1.31.tar.bz2 b/sg3_utils-1.31.tar.bz2 new file mode 100644 index 0000000..0c47202 --- /dev/null +++ b/sg3_utils-1.31.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ea682e51dc45209d8af91366fb4a15ea553152ce8a57928fa00b33b8f091d68 +size 696939 diff --git a/sg3_utils.changes b/sg3_utils.changes index a02a7e5..2e88540 100644 --- a/sg3_utils.changes +++ b/sg3_utils.changes @@ -1,3 +1,111 @@ +------------------------------------------------------------------- +Fri Feb 18 16:41:32 CET 2011 - hare@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 + +------------------------------------------------------------------- +Fri Aug 13 11:42:50 CEST 2010 - dimstar@opensuse.org + +- Update to version 1.29: + + sg_rtpg: new logical block dependent state and bit (spc4r23) + + sg_start: add '--readonly' option for ATA disks + + sg_lib: update asc/ascq list to spc4r23 + + sg_inq: update version descriptor list to spc4r23 + + sg_vpd: block device characteristics page: fix form factor + - update Extended Inquiry VPD page to spc4r23 + - update Block Limits VPD page to sbc3r22 + - update Thin Provisioning VPD page to sbc3r22 + - Automation device serial number and Data transfer device + element VPD pages (ssc4r01) + - add Referrals VPD page (sbc3r22) + + sg_logs: add thin provisioning and solid state media log pages + - addition of IBM LTO specific log pages + + sg_modes: new page names from ssc4r01 + + sg_ses: sync with ses3r02 (SAS-2.1 connector types) + + sg_unmap: add '--anchor' option (sbc3r22) + + sg_write_same: add '--anchor' option (sbc3r22) + + sg_pt interface: add set_scsi_pt_flags() to permit passing + through SCSI_PT_FLAGS_QUEUE_AT_TAIL and AT_HEAD flags + + add examples/sg_queue_tst+bsg_queue_tst for SG_FLAG_Q_AT_TAIL + + add AM_MAINTAINER_MODE to configure.ac to lessen build issues + + add BSD_LICENSE file to this and lib directories, refer to + it from source and header files. Some source has GPL license +- Changes from version 1.28: + + sg_unmap: new utility for thin provisioning + - add examples/sg_unmap_example.txt + + sg_get_lba_status: new utility for thin provisioning + + sg_read_block_limits: new utility for tape drives + + sg_logs: add cache memory statistics log (sub)page + + sg_vpd, sg_inq: extend Block limits VPD page (sbc3r19) + + sg_vpd: add Thin provisioning VPD page (sbc3r20) and + TapeAlert supported flags VPD page + + sg_inq: note VPD page support better in sg_vpd + + sg_persist: add transport specific transportID format + - allow transportIDs to be read from named file + + sg_opcodes: allow --opcode= option to take OP and SA + values (comma seperated) + - tweak print format, remove test code + + sg_requests: remove test code in progress calculation + + sg_reset: add target reset option + + sg_luns: reduce default maxlen to 8192 (for FreeBSD) + + sg_raw: extend max cdb length from 16 to 256 bytes + - align heap allocs to page boundaries + + sg_lib: sg_set_binary_mode() needs config.h included + - add progress indication sense data descriptor (0xa) + - change SG3_UTILS_* constants to SG_LIB_* + - decode service actions within persistent reserve in/out + - sync with spc4r21 + + sg_cmds_extra: add sg_ll_unmap() and sg_ll_get_lba_status() + + sg_pt_linux: fix check condition but empty sense buffer; + - major() macro grief, if present include and + use MAJOR() instead + + scripts/sas_disk_blink: moved from this package to sdparm + + utils/hxascdmp: in Windows set binary mode on read files + + examples/sg_persist_tst.sh: add PRIN read full status command + + sg_raw,sg_write_buffer,sg_write_long,sg_write_same: in Windows + set binary mode on read files + + sg_pt_win32: default to non-direct variant of SPT interface + - use './configure --enable-win32-spt-direct' to override + - non-direct data length set to 16 KB, extended if required + + debian: incorporate patch from debian sid + ------------------------------------------------------------------- Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de diff --git a/sg3_utils.spec b/sg3_utils.spec index 4fbbd05..df90723 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -1,5 +1,5 @@ # -# spec file for package sg3_utils (Version 1.27) +# spec file for package sg3_utils (Version 1.29) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,7 +19,7 @@ Url: http://sg.torque.net/sg/sg3_utils.html Name: sg3_utils -%define sgver 1.27 +%define sgver 1.31 License: BSD3c(or similar) ; GPLv2 ; GPLv2+ Group: Hardware/Other Provides: sg_utils @@ -27,8 +27,8 @@ Provides: scsi Obsoletes: scsi <= 1.7_2.38_1.25_0.19_1.02_0.93 AutoReqProv: on PreReq: %insserv_prereq -Version: 1.27 -Release: 27 +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 @@ -42,13 +42,6 @@ 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. - - -Authors: --------- - Doug Gilbert - Kurt Garloff - %package devel License: BSD3c(or similar) ; GPLv2+ Summary: A collection of tools that send SCSI commands to devices @@ -64,13 +57,6 @@ 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. - - -Authors: --------- - Doug Gilbert - Kurt Garloff - %prep %setup -q @@ -141,6 +127,10 @@ install -m 755 %{S:2} $RPM_BUILD_ROOT%{_bindir} %attr(755,root,root) %{_bindir}/sg_stpg %attr(755,root,root) %{_bindir}/scsi_logging_level %attr(755,root,root) %{_bindir}/rescan-scsi-bus.sh +%attr(755,root,root) %{_bindir}/sg_get_lba_status +%attr(755,root,root) %{_bindir}/sg_read_block_limits +%attr(755,root,root) %{_bindir}/sg_unmap +%attr(755,root,root) %{_bindir}/sg_write_same %doc %{_mandir}/man8/sg_dd.8.gz %doc %{_mandir}/man8/sgp_dd.8.gz %doc %{_mandir}/man8/sgm_dd.8.gz @@ -189,6 +179,14 @@ install -m 755 %{S:2} $RPM_BUILD_ROOT%{_bindir} %doc %{_mandir}/man8/sg_sat_set_features.8.gz %doc %{_mandir}/man8/sg_stpg.8.gz %doc %{_mandir}/man8/sg3_utils.8.gz +%doc %{_mandir}/man8/scsi_readcap.8.gz +%doc %{_mandir}/man8/scsi_ready.8.gz +%doc %{_mandir}/man8/scsi_start.8.gz +%doc %{_mandir}/man8/scsi_stop.8.gz +%doc %{_mandir}/man8/sg_get_lba_status.8.gz +%doc %{_mandir}/man8/sg_read_block_limits.8.gz +%doc %{_mandir}/man8/sg_unmap.8.gz +%doc %{_mandir}/man8/sg_write_same.8.gz %attr(755,root,root) %{_libdir}/libsgutils2.so.* %files devel From 6fefb36d70f15c654edc8c764ead628ba29248ebf8213a274916d7a4a37e4160 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 10 Mar 2011 08:50:15 +0000 Subject: [PATCH 3/3] - fix file list OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=10 --- sg3_utils.changes | 5 +++++ sg3_utils.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/sg3_utils.changes b/sg3_utils.changes index 2e88540..eb732dc 100644 --- a/sg3_utils.changes +++ b/sg3_utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 10 08:47:43 UTC 2011 - coolo@novell.com + +- fix file list + ------------------------------------------------------------------- Fri Feb 18 16:41:32 CET 2011 - hare@suse.de diff --git a/sg3_utils.spec b/sg3_utils.spec index df90723..50c2df5 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -131,6 +131,8 @@ install -m 755 %{S:2} $RPM_BUILD_ROOT%{_bindir} %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 @@ install -m 755 %{S:2} $RPM_BUILD_ROOT%{_bindir} %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