- Update to version 1.47:

* sg_rep_zones: add support for REPORT ZONE DOMAINS and
    REPORT REALMS in this utility
  * sg_raw: fix prints of NVMe NVM command names
  * sg_logs: additions to Volume statistics lpage [ssc5r05c]
    - additions to Command duration limits statistics log
      page [spc6r06]
  * sg_vpd: fix do_hex type on some recent pages
    - zoned block dev char vpd: add zone alignment mode and
      zone starting LBA granularity [zbc2r11]
  * sg_read_buffer: fix --length= problem
  * sg_dd, sgm_dd, sgp_dd: don't close negative file descriptors
  * sg_dd: srand48_r() and mrand48_r() are GNU libc specific,
    put conditional in so non-reentrant version used otherwise
    - 'iflag=00,ff' places the 32 bit block address (big endian)
      into each block
  * sgp_dd: major rework, fix issue with error being ignored
    - new: --chkaddr which checks for block address in each block
    - add check for stdatomic.h presence in configure.ac
  * sg_xcopy: tweak CSCD identification descriptor
  * sg_get_elem_status: fix issue with '--maxlen=' option
    - add 2 depopulation revocation health attributes [sbc5r01]
  * transport error handling improved. To fix report of a
    BAD_TARGET transport error but the utility still continued.
    - introduce SG_LIB_TRANSPORT_ERROR [35] exit status
  * several utilities: override '--maxlen=LEN' when LEN
    is < 16 (or 4), take default (or 4) instead
  * scripts: 55-scsi-sg3_id.rules remove outdated rule (bsc#1189297)
  * sg_lib: add sg_scsi_status_is_good(),
    sg_scsi_status_is_bad() and sg_get_zone_type_str()

OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=89
This commit is contained in:
Martin Wilck 2021-11-11 22:44:28 +00:00 committed by Git OBS Bridge
parent 97311b5180
commit 18fc647883
7 changed files with 73 additions and 25 deletions

View File

@ -1,24 +1,19 @@
<services>
<service name="tar_scm" mode="disabled">
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/openSUSE/sg3_utils.git</param>
<param name="subdir"></param>
<param name="url">https://github.com/doug-gilbert/sg3_utils</param>
<param name="filename">sg3_utils</param>
<!-- New versioning scheme for upstream pre-release:
1.45 - upstream release target
latest SVN release should be tagged "r<id>" in git -->
<param name="versionformat">1.45@PARENT_TAG@+@TAG_OFFSET@.%h</param>
<param name="match-tag">r[0-9]*</param>
<!-- convert "rXYZ" to "~XYZ", convention for pre-release pkgs -->
<param name="versionrewrite-pattern">(1\.[0-9]*)r([0-9]*)</param>
<param name="versionrewrite-replacement">\1~\2</param>
<param name="revision">factory</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@.%h</param>
<param name="match-tag">r[0-9]\.[0-9]*</param>
<param name="versionrewrite-pattern">r([^+]*)(\+[1-9\..*])?(\+0\..*)?</param>
<param name="versionrewrite-replacement">\1\2</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*sg3_utils*.tar</param>
<param name="compression">xz</param>
<service name="set_version" mode="manual"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,4 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/sg3_utils.git</param>
<param name="changesrevision">6aa67ed94a6c135d6a462c55b3764732259b162e</param></service></servicedata>
<param name="changesrevision">6aa67ed94a6c135d6a462c55b3764732259b162e</param></service><service name="tar_scm">
<param name="url">https://github.com/doug-gilbert/sg3_utils</param>
<param name="changesrevision">ed556a52933d29309849dbb24ba49f8b829c1058</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59c268b10b93ce31a517af13e19c88f285c12b7dd065f50e36b16a7b6fa7b9a0
size 1031800

3
sg3_utils-1.47.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dcc4cf10ac5c91f95006c2384a9a76e25a0561c4aa6222bb909fdc65f5ba4af4
size 7372301

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Thu Nov 11 21:15:17 UTC 2021 - mwilck@suse.com
- Update to version 1.47:
* sg_rep_zones: add support for REPORT ZONE DOMAINS and
REPORT REALMS in this utility
* sg_raw: fix prints of NVMe NVM command names
* sg_logs: additions to Volume statistics lpage [ssc5r05c]
- additions to Command duration limits statistics log
page [spc6r06]
* sg_vpd: fix do_hex type on some recent pages
- zoned block dev char vpd: add zone alignment mode and
zone starting LBA granularity [zbc2r11]
* sg_read_buffer: fix --length= problem
* sg_dd, sgm_dd, sgp_dd: don't close negative file descriptors
* sg_dd: srand48_r() and mrand48_r() are GNU libc specific,
put conditional in so non-reentrant version used otherwise
- 'iflag=00,ff' places the 32 bit block address (big endian)
into each block
* sgp_dd: major rework, fix issue with error being ignored
- new: --chkaddr which checks for block address in each block
- add check for stdatomic.h presence in configure.ac
* sg_xcopy: tweak CSCD identification descriptor
* sg_get_elem_status: fix issue with '--maxlen=' option
- add 2 depopulation revocation health attributes [sbc5r01]
* transport error handling improved. To fix report of a
BAD_TARGET transport error but the utility still continued.
- introduce SG_LIB_TRANSPORT_ERROR [35] exit status
* several utilities: override '--maxlen=LEN' when LEN
is < 16 (or 4), take default (or 4) instead
* scripts: 55-scsi-sg3_id.rules remove outdated rule (bsc#1189297)
* sg_lib: add sg_scsi_status_is_good(),
sg_scsi_status_is_bad() and sg_get_zone_type_str()
* pt_linux: fix verify(BytChk=0) which Linux SNTL translated
to write, other SNTL cleanups
* pt_linux_nvme: fix fua setting
* pt: check_pt_file_handle() add return value of 5 for
- _service updates:
* re-enable service, hadn't been used for 1.46 release
* use upstream author's git repository, simplify versioning scheme
* use obscpio format
-------------------------------------------------------------------
Tue Apr 20 09:15:11 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
@ -61,6 +104,10 @@ Tue Apr 20 09:15:11 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
* testing: remove master-slave terminology for sgv4
* examples: add nvme_read_ctl.hex and nvme_write_ctl.hex
- Earlier SUSE fixes included in 1.46:
* 40-usb-blacklist.rules: use ID_SCSI_INQUIRY
(bsc#840054, bsc#1131482)
-------------------------------------------------------------------
Thu Apr 25 19:11:45 UTC 2019 - mwilck@suse.com

5
sg3_utils.obsinfo Normal file
View File

@ -0,0 +1,5 @@
name: sg3_utils
version: 1.47
mtime: 1636576643
commit: ed556a52933d29309849dbb24ba49f8b829c1058

View File

@ -17,15 +17,14 @@
Name: sg3_utils
%define lname libsgutils2-1_46-2
Version: 1.46
Version: 1.47
%global lname libsgutils2-%(echo %{version} | sed y/./_/)-2
Release: 0
Summary: A collection of tools that send SCSI commands to devices
License: BSD-3-Clause AND GPL-2.0-or-later
Group: Hardware/Other
URL: http://sg.danny.cz/sg/sg3_utils.html
Source: https://sg.danny.cz/sg/p/sg3_utils-%{version}.tar.xz
#Source: sg3_utils-%{version}.tar.xz
Source: https://sg.danny.cz/sg/p/sg3_utils-%{version}.tar.gz
Source1: dracut.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libtool