From 259175c7de339c39687457c4e52772b48688dcd3d342d644538c86b97ea2a79d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 16 Aug 2010 08:49:25 +0000 Subject: [PATCH] Accepting request 45547 from home:dimstar:branches:Base:System Copy from home:dimstar:branches:Base:System/sg3_utils via accept of submit request 45547 revision 2. Request was accepted with message: OBS-URL: https://build.opensuse.org/request/show/45547 OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=7 --- 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, 85 insertions(+), 21 deletions(-) delete mode 100644 sg3_utils-1.27.tar.bz2 create mode 100644 sg3_utils-1.29.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.29.tar.bz2 b/sg3_utils-1.29.tar.bz2 new file mode 100644 index 0000000..2dc83b0 --- /dev/null +++ b/sg3_utils-1.29.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1f569872ae9994786ebc83c2b20d3e046242f2e20c86550fa323569033fe708 +size 652857 diff --git a/sg3_utils.changes b/sg3_utils.changes index a02a7e5..f615752 100644 --- a/sg3_utils.changes +++ b/sg3_utils.changes @@ -1,3 +1,69 @@ +------------------------------------------------------------------- +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..be6453d 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.29 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.29 +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