diff --git a/hdparm-8.9-nostrip.patch b/hdparm-8.9-nostrip.patch deleted file mode 100644 index 5dab964..0000000 --- a/hdparm-8.9-nostrip.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile -+++ Makefile -@@ -26,7 +26,6 @@ - - hdparm: hdparm.h sgio.h $(OBJS) - $(CC) $(LDFLAGS) -o hdparm $(OBJS) -- strip hdparm - - sgio.o: sgio.h - diff --git a/hdparm-8.9.tar.bz2 b/hdparm-8.9.tar.bz2 deleted file mode 100644 index a965eb0..0000000 --- a/hdparm-8.9.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:99254ac94b86923cc68719af9f38519253840bb1a4dcc0b3e3082c4a71aa7682 -size 67183 diff --git a/hdparm-9.6-nostrip.patch b/hdparm-9.6-nostrip.patch new file mode 100644 index 0000000..f92d310 --- /dev/null +++ b/hdparm-9.6-nostrip.patch @@ -0,0 +1,6 @@ +--- ./Makefile ++++ ./Makefile +@@ -14 +13,0 @@ CC ?= gcc +-STRIP ?= strip +@@ -31 +29,0 @@ hdparm: hdparm.h sgio.h $(OBJS) +- $(STRIP) hdparm diff --git a/hdparm-9.6.tar.bz2 b/hdparm-9.6.tar.bz2 new file mode 100644 index 0000000..fcc8191 --- /dev/null +++ b/hdparm-9.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3a516879861a15c9ffa54510097b45e8a01a8b55dbcae207da8e5b5a319afa9 +size 83405 diff --git a/hdparm.changes b/hdparm.changes index ba08ef2..91959d8 100644 --- a/hdparm.changes +++ b/hdparm.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Tue Jan 6 15:16:48 CET 2009 - mseben@suse.cz + +- update to version 9.6 + * fix -N for 1.5TB drives (from Justin Maggard) +- version 9.5 + * byteswap ID strings for fwdownload workarounds + * Makefile fixes for $(STRIP) from Wolfram Sang +- version 9.4 + * nuked --fwdownload80 in favour of model-specific workarounds + * use mlock() instead of MAP_POPULATE in fwdownload.c + * issue SET_STREAMING command as part of -E (for newer CD/DVD drives) + courtesy of Thomas Orgis + and Thomas Fritzsche" . +- version 9.3 + * new --idle-immediate and --idle-unload commands +- version 9.2 + * fix WWN output from -I +- version 9.1 + * tidy up output from --dco-identify, add more info to manpage + * add kernel (device driver) bug detection/warning to -N output +- version 9.0 + * update debian directory contents + * add --dco-freeze, --dco-identify, --dco-restore flags + * fix sgio.c to be more clever around the lba28 boundary + * add supposedly obsolete "cache/buffer size" reporting to -I + * new --fwdownload flag + * fix error reporting from sg16(). + * dump entire returned sense desc[] in sgio.c with --verbose +- rewritten hdparm-*-nostrip.patch for version 9.6 + ------------------------------------------------------------------- Tue Aug 12 17:19:18 CEST 2008 - lmichnovic@suse.cz diff --git a/hdparm.spec b/hdparm.spec index 696139b..6075e38 100644 --- a/hdparm.spec +++ b/hdparm.spec @@ -1,7 +1,7 @@ # -# spec file for package hdparm (Version 8.9) +# spec file for package hdparm (Version 9.6) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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 @@ -24,14 +24,14 @@ Group: Hardware/Other PreReq: %insserv_prereq %fillup_prereq coreutils Provides: base:/sbin/hdparm AutoReqProv: on -Version: 8.9 +Version: 9.6 Release: 1 Summary: A Program to Get and Set Hard Disk Parameters -Source: hdparm-%{version}.tar.bz2 +Source: %{name}-%{version}.tar.bz2 Source1: 56-idedma.rules Source2: sysconfig.ide Source3: udev.idedma.sh -Patch1: hdparm-8.9-nostrip.patch +Patch1: %{name}-%{version}-nostrip.patch Url: http://sourceforge.net/projects/hdparm/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -116,6 +116,34 @@ fi /var/adm/fillup-templates/sysconfig.ide %changelog +* Tue Jan 06 2009 mseben@suse.cz +- update to version 9.6 + * fix -N for 1.5TB drives (from Justin Maggard) +- version 9.5 + * byteswap ID strings for fwdownload workarounds + * Makefile fixes for $(STRIP) from Wolfram Sang +- version 9.4 + * nuked --fwdownload80 in favour of model-specific workarounds + * use mlock() instead of MAP_POPULATE in fwdownload.c + * issue SET_STREAMING command as part of -E (for newer CD/DVD drives) + courtesy of Thomas Orgis + and Thomas Fritzsche" . +- version 9.3 + * new --idle-immediate and --idle-unload commands +- version 9.2 + * fix WWN output from -I +- version 9.1 + * tidy up output from --dco-identify, add more info to manpage + * add kernel (device driver) bug detection/warning to -N output +- version 9.0 + * update debian directory contents + * add --dco-freeze, --dco-identify, --dco-restore flags + * fix sgio.c to be more clever around the lba28 boundary + * add supposedly obsolete "cache/buffer size" reporting to -I + * new --fwdownload flag + * fix error reporting from sg16(). + * dump entire returned sense desc[] in sgio.c with --verbose +- rewritten hdparm-*-nostrip.patch for version 9.6 * Tue Aug 12 2008 lmichnovic@suse.cz - update to version 8.9 * Add compatibility for /sys/block/ symlinks, as seen on some @@ -192,13 +220,13 @@ fi - fixed bug whereby old data was shown after settings changed (eg. with -W0) - removed old notes about a "correction factor" from man page -tT descriptions - retry open with O_RDONLY if O_RDWR fails with errno==EROFS -* Wed Jun 20 2007 ro@suse.de +* Tue Jun 19 2007 ro@suse.de - update to 7.6 - added -F flag to flush on-drive write cache buffer - replaced use of shm* functions with of mmap()/mlock() - removed gcc -Wextra flag --> unsupported on Debian Sarge - re-allow use of --security-freeze in combination with other flags -* Fri Jun 08 2007 ro@suse.de +* Thu Jun 07 2007 ro@suse.de - update to 7.5 - beef up warnings for -s1 flag, as people seem to be ignoring them * Fri Jun 01 2007 ro@suse.de @@ -212,9 +240,9 @@ fi - install contrib scripts to /usr/lib/hdparm - mark udev file as config - fix permissions for fillup-template -* Tue May 01 2007 schwab@suse.de +* Mon Apr 30 2007 schwab@suse.de - Don't strip binaries. -* Tue May 01 2007 ro@suse.de +* Mon Apr 30 2007 ro@suse.de - update to 7.3 - fixed spelling of --drq-hsm-error in -h output - fixed SG_IO CDB[2] bits for better SAT compliance @@ -293,11 +321,11 @@ fi * Fri Nov 05 2004 ro@suse.de - update to 5.8 - remove-dup-swap.patch has been merged upstream -* Thu Oct 21 2004 ro@suse.de +* Wed Oct 20 2004 ro@suse.de - silence errors for BLKFLSBUF (#45057) * Tue Oct 12 2004 ro@suse.de - added contrib files to doc (#47105) -* Sun Sep 05 2004 ro@suse.de +* Sat Sep 04 2004 ro@suse.de - update to 5.7 - removed obsolete lvm patch - recreated err_return patch again @@ -320,7 +348,7 @@ fi - don't build as root * Sun Jul 06 2003 ro@suse.de - update to 5.4 with new timing code -* Wed Jun 04 2003 olh@suse.de +* Tue Jun 03 2003 olh@suse.de - add hdparm-5.3-dump_identity-endian.dif do not swap the id->cur_capacity0/1 values in userland * Mon May 12 2003 ro@suse.de