diff --git a/hdparm-8.4-silence.patch b/hdparm-8.4-silence.patch deleted file mode 100644 index a45b995..0000000 --- a/hdparm-8.4-silence.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- hdparm.c 2008-02-19 19:55:28.000000000 -0500 -+++ hdparm.c 2008-02-20 10:35:43.000000000 -0500 -@@ -25,7 +25,7 @@ - - extern const char *minor_str[]; - --#define VERSION "v8.4" -+#define VERSION "v8.4+" - - #ifndef O_DIRECT - #define O_DIRECT 040000 /* direct disk access, not easily obtained from headers */ -@@ -159,10 +159,8 @@ - sync(); - if (ioctl(fd, BLKFLSBUF, NULL)) /* do it again, big time */ - perror("BLKFLSBUF failed"); -- sync(); -- /* await completion */ -- if (do_drive_cmd(fd, NULL) && errno != EINVAL && errno != ENOTTY && errno != ENOIOCTLCMD) -- perror("HDIO_DRIVE_CMD(null) (wait for flush complete) failed"); -+ else -+ do_drive_cmd(fd, NULL); /* IDE: await completion */ - sync(); - } - diff --git a/hdparm-8.4.tar.bz2 b/hdparm-8.4.tar.bz2 deleted file mode 100644 index b74f736..0000000 --- a/hdparm-8.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cf5d3b77ba8b4304c0f077e563ebbe8944d105ef917823297f00e648eebb6cde -size 62883 diff --git a/hdparm-8.4-nostrip.patch b/hdparm-8.5-nostrip.patch similarity index 100% rename from hdparm-8.4-nostrip.patch rename to hdparm-8.5-nostrip.patch diff --git a/hdparm-8.5.tar.bz2 b/hdparm-8.5.tar.bz2 new file mode 100644 index 0000000..9bdd250 --- /dev/null +++ b/hdparm-8.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e27c521cb4916cdd9966010d7e09f537b1af60ad757a13eef64128c7a70f359a +size 62935 diff --git a/hdparm.changes b/hdparm.changes index 2e136c8..822fa9e 100644 --- a/hdparm.changes +++ b/hdparm.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Feb 25 10:35:13 CET 2008 - lmichnovic@suse.cz + +- update to version 8.5 + * fix u8->u16 bug in security commands for all of 8.x series, from + Christian Franke + * try and quiet errors from flush_buffer_cache() + (obsoletes *silence.patch) + ------------------------------------------------------------------- Wed Feb 20 17:03:41 CET 2008 - lmichnovic@suse.cz diff --git a/hdparm.spec b/hdparm.spec index c40c6f7..736fdfe 100644 --- a/hdparm.spec +++ b/hdparm.spec @@ -1,5 +1,5 @@ # -# spec file for package hdparm (Version 8.4) +# spec file for package hdparm (Version 8.5) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -17,15 +17,14 @@ Group: Hardware/Other PreReq: %insserv_prereq %fillup_prereq coreutils Provides: base:/sbin/hdparm AutoReqProv: on -Version: 8.4 +Version: 8.5 Release: 1 Summary: A Program to Get and Set Hard Disk Parameters Source: hdparm-%{version}.tar.bz2 Source1: 56-idedma.rules Source2: sysconfig.ide Source3: udev.idedma.sh -Patch1: hdparm-8.4-silence.patch -Patch2: hdparm-8.4-nostrip.patch +Patch1: hdparm-8.5-nostrip.patch Url: http://sourceforge.net/projects/hdparm/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -42,7 +41,6 @@ Authors: %prep %setup -q %patch1 -%patch2 %build make CFLAGS="$RPM_OPT_FLAGS -Wall -Wstrict-prototypes" LDFLAGS= @@ -111,6 +109,12 @@ fi /var/adm/fillup-templates/sysconfig.ide %changelog +* Mon Feb 25 2008 lmichnovic@suse.cz +- update to version 8.5 + * fix u8->u16 bug in security commands for all of 8.x series, from + Christian Franke + * try and quiet errors from flush_buffer_cache() + (obsoletes *silence.patch) * Wed Feb 20 2008 lmichnovic@suse.cz - *silence.patch changed after discussion with author * Wed Feb 20 2008 lmichnovic@suse.cz