Hello community, here is the log from the commit of package sg3_utils checked in at Thu Aug 14 02:37:46 CEST 2008. -------- --- sg3_utils/sg3_utils.changes 2008-07-16 09:56:05.000000000 +0200 +++ sg3_utils/sg3_utils.changes 2008-08-12 18:36:50.519601000 +0200 @@ -1,0 +2,18 @@ +Tue Aug 12 18:25:43 CEST 2008 - garloff@suse.de + +- Update to sg3_utils-1.27: + * Adapted to linux-2.6.26 (sg_map26) + * sg_dd uses flock (rw -- if that fails ro) + * sg_get_config: OSSC feature (mmc6r02) +- Update to sg3_utils-1.26: + * Minor fixes and enhancements to + sg_sat_phy_event, sg_ses, sg_get_config, sg_verify, sg_vpd, + sg_inq, sg_modes, sg_start, sg_request, sg_luns, sg_dd, + sg_opcodes, sg_turs. + * sg_lib: asc/ascq update for spc4r15, osd2r03 service actions, + sense key specific unit attn queue overflow decoding, ... + * Restructuring: sg_lib -> sg_lib_data, sg_inq_data, (u)int64_t, + sg_io_linux -> lib/. + * Documentation enhancements. + +------------------------------------------------------------------- Old: ---- sg3_utils-1.25.tar.bz2 New: ---- sg3_lib_v1.diff sg3_utils-1.27.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sg3_utils.spec ++++++ --- /var/tmp/diff_new_pack.v21476/_old 2008-08-14 02:37:38.000000000 +0200 +++ /var/tmp/diff_new_pack.v21476/_new 2008-08-14 02:37:38.000000000 +0200 @@ -1,10 +1,17 @@ # -# spec file for package sg3_utils (Version 1.25) +# spec file for package sg3_utils (Version 1.27) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ # @@ -12,19 +19,20 @@ Url: http://sg.torque.net/sg/sg3_utils.html Name: sg3_utils -%define sgver 1.25 +%define sgver 1.27 License: BSD 3-Clause; GPL v2 only; GPL v2 or later Group: Hardware/Other Provides: sg_utils Provides: scsi Obsoletes: scsi <= 1.7_2.38_1.25_0.19_1.02_0.93 AutoReqProv: on -Version: 1.25 -Release: 16 +Version: 1.27 +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 Patch1: %{name}.diff +Patch2: sg3_lib_v1.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -67,6 +75,7 @@ %prep %setup %patch1 +%patch2 -p1 %build autoreconf -fi @@ -138,6 +147,7 @@ %attr(755,root,root) %{_bindir}/sg_sat_identify %attr(755,root,root) %{_bindir}/sg_read_buffer %attr(755,root,root) %{_bindir}/sg_safte +%attr(755,root,root) %{_bindir}/sg_sat_phy_event %attr(755,root,root) %{_bindir}/sg_sat_set_features %attr(755,root,root) %{_bindir}/sg_stpg %attr(755,root,root) %{_bindir}/scsi_logging_level @@ -186,6 +196,7 @@ %doc %{_mandir}/man8/sg_sat_identify.8.gz %doc %{_mandir}/man8/sg_read_buffer.8.gz %doc %{_mandir}/man8/sg_safte.8.gz +%doc %{_mandir}/man8/sg_sat_phy_event.8.gz %doc %{_mandir}/man8/sg_sat_set_features.8.gz %doc %{_mandir}/man8/sg_stpg.8.gz %doc %{_mandir}/man8/sg3_utils.8.gz @@ -195,6 +206,7 @@ %defattr(644,root,root) %attr(755,root,root) %{_libdir}/libsgutils.so %attr(755,root,root) %{_libdir}/libsgutils.la +%attr(644,root,root) %{_libdir}/libsgutils.a %attr(755,root,root) %dir %{_prefix}/include/scsi %{_libdir}/libsgutils.a %{_prefix}/include/scsi/sg_cmds.h @@ -204,12 +216,29 @@ %{_prefix}/include/scsi/sg_pt.h %{_prefix}/include/scsi/sg_io_linux.h %{_prefix}/include/scsi/sg_linux_inc.h +%{_prefix}/include/scsi/sg_cmds_mmc.h +%{_prefix}/include/scsi/sg_lib_data.h %clean test ! -z "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/sg3_utils-%{sgver} %changelog +* Tue Aug 12 2008 garloff@suse.de +- Update to sg3_utils-1.27: + * Adapted to linux-2.6.26 (sg_map26) + * sg_dd uses flock (rw -- if that fails ro) + * sg_get_config: OSSC feature (mmc6r02) +- Update to sg3_utils-1.26: + * Minor fixes and enhancements to + sg_sat_phy_event, sg_ses, sg_get_config, sg_verify, sg_vpd, + sg_inq, sg_modes, sg_start, sg_request, sg_luns, sg_dd, + sg_opcodes, sg_turs. + * sg_lib: asc/ascq update for spc4r15, osd2r03 service actions, + sense key specific unit attn queue overflow decoding, ... + * Restructuring: sg_lib -> sg_lib_data, sg_inq_data, (u)int64_t, + sg_io_linux -> lib/. + * Documentation enhancements. * Wed Jul 16 2008 hare@suse.de - Use correct length parameter for sg_inq (bnc#363438) * Fri May 23 2008 hare@suse.de ++++++ sg3_lib_v1.diff ++++++ ++++ 895 lines (skipped) ++++++ sg3_utils-1.25.tar.bz2 -> sg3_utils-1.27.tar.bz2 ++++++ ++++ 34698 lines of diff (skipped) ++++++ sg3_utils.diff ++++++ --- /var/tmp/diff_new_pack.v21476/_old 2008-08-14 02:37:40.000000000 +0200 +++ /var/tmp/diff_new_pack.v21476/_new 2008-08-14 02:37:40.000000000 +0200 @@ -1,8 +1,9 @@ Index: archive/llseek.c -================================================================================ ---- archive/llseek.c +=================================================================== +--- archive/llseek.c.orig +++ archive/llseek.c -@@ -10,7 +10,7 @@ +@@ -9,9 +9,9 @@ + * Changed "ext2_" prefix to "llse". */ #define _XOPEN_SOURCE 500 #define _GNU_SOURCE @@ -11,7 +12,9 @@ #include <sys/types.h> #include <errno.h> -@@ -31,7 +31,7 @@ + #include <unistd.h> +@@ -30,9 +30,9 @@ extern llse_loff_t llse_llseek (unsigned + #include <syscall.h> #else /* HAVE_LLSEEK */ @@ -20,7 +23,9 @@ #define my_llseek lseek -@@ -43,10 +43,6 @@ + #else +@@ -42,12 +42,8 @@ static int _llseek (unsigned int, unsign + unsigned long, llse_loff_t *, unsigned int); #ifdef __NR__llseek @@ -31,16 +36,22 @@ #else /* no __NR__llseek on compilation machine - might give it explicitly */ -@@ -65,10 +61,8 @@ + static int _llseek (unsigned int fd, unsigned long oh, +@@ -63,13 +59,16 @@ static llse_loff_t my_llseek (unsigned i + unsigned int origin) + { llse_loff_t result; int retval; - -- retval = _llseek (fd, ((unsigned long long) offset) >> 32, -- ((unsigned long long) offset) & 0xffffffff, -- &result, origin); -- return (retval == -1 ? (llse_loff_t) retval : result); -+ result = lseek64 (fd, offset, origin); -+ return result; +- ++#if 0 + retval = _llseek (fd, ((uint64_t) offset) >> 32, + ((uint64_t) offset) & 0xffffffff, + &result, origin); + return (retval == -1 ? (llse_loff_t) retval : result); ++#else ++ return lseek64 (fd, offset, origin); ++#endif } #endif /* __alpha__ */ + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de