Hello community,

here is the log from the commit of package hdparm for openSUSE:Factory checked 
in at 2012-11-17 07:21:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hdparm (Old)
 and      /work/SRC/openSUSE:Factory/.hdparm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hdparm", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hdparm/hdparm.changes    2012-10-03 
07:45:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.hdparm.new/hdparm.changes       2012-11-17 
07:21:32.000000000 +0100
@@ -1,0 +2,7 @@
+Fri Nov 16 09:19:23 UTC 2012 - [email protected]
+
+- update to hdparm-9.43
+  - rearrange flag execution so that the idle/standby/sleep "now"
+    flags are executed last.
+
+-------------------------------------------------------------------

Old:
----
  hdparm-9.42.tar.gz

New:
----
  hdparm-9.43.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hdparm.spec ++++++
--- /var/tmp/diff_new_pack.YXS16N/_old  2012-11-17 07:21:33.000000000 +0100
+++ /var/tmp/diff_new_pack.YXS16N/_new  2012-11-17 07:21:33.000000000 +0100
@@ -19,7 +19,7 @@
 Name:           hdparm
 PreReq:         %insserv_prereq %fillup_prereq coreutils
 Provides:       base:/sbin/hdparm
-Version:        9.42
+Version:        9.43
 Release:        0
 Summary:        A Program to get and set hard disk parameters
 License:        SUSE-Permissive

++++++ hdparm-9.42.tar.gz -> hdparm-9.43.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hdparm-9.42/Changelog new/hdparm-9.43/Changelog
--- old/hdparm-9.42/Changelog   2012-09-28 20:10:36.000000000 +0200
+++ new/hdparm-9.43/Changelog   2012-11-15 23:09:30.000000000 +0100
@@ -1,3 +1,5 @@
+hdparm-9.43
+       - rearrange flag execution so that the idle/standby/sleep "now" flags 
are executed last.
 hdparm-9.42
        - fix ordering of -S -y flags
        - spelling, typo, and formatting fixes for manpage and others
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hdparm-9.42/hdparm.8 new/hdparm-9.43/hdparm.8
--- old/hdparm-9.42/hdparm.8    2012-09-28 20:12:12.000000000 +0200
+++ new/hdparm-9.43/hdparm.8    2012-11-15 23:10:27.000000000 +0100
@@ -1,4 +1,4 @@
-.TH HDPARM 8 "September 2012" "Version 9.42"
+.TH HDPARM 8 "November 2012" "Version 9.43"
 
 .SH NAME
 hdparm \- get/set SATA/IDE device parameters
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hdparm-9.42/hdparm.c new/hdparm-9.43/hdparm.c
--- old/hdparm-9.42/hdparm.c    2012-09-28 20:12:01.000000000 +0200
+++ new/hdparm-9.43/hdparm.c    2012-11-15 23:08:51.000000000 +0100
@@ -38,7 +38,7 @@
 
 extern const char *minor_str[];
 
-#define VERSION "v9.42"
+#define VERSION "v9.43"
 
 #ifndef O_DIRECT
 #define O_DIRECT       040000  /* direct disk access, not easily obtained from 
headers */
@@ -1867,40 +1867,6 @@
                        perror(" HDIO_DRIVE_CMD(setidle) failed");
                }
        }
-       if (set_standbynow) {
-               __u8 args1[4] = {ATA_OP_STANDBYNOW1,0,0,0};
-               __u8 args2[4] = {ATA_OP_STANDBYNOW2,0,0,0};
-               if (get_standbynow)
-                       printf(" issuing standby command\n");
-               if (do_drive_cmd(fd, args1, 0) && do_drive_cmd(fd, args2, 0)) {
-                       err = errno;
-                       perror(" HDIO_DRIVE_CMD(standby) failed");
-               }
-       }
-       if (set_idleimmediate) {
-               __u8 args[4] = {ATA_OP_IDLEIMMEDIATE,0,0,0};
-               if (get_idleimmediate)
-                       printf(" issuing idle_immediate command\n");
-               if (do_drive_cmd(fd, args, 0)) {
-                       err = errno;
-                       perror(" HDIO_DRIVE_CMD(idle_immediate) failed");
-               }
-       }
-       if (set_idleunload) {
-               if (get_idleunload)
-                       printf(" issuing idle_immediate_unload command\n");
-               err = do_idleunload(fd, devname);
-       }
-       if (set_sleepnow) {
-               __u8 args1[4] = {ATA_OP_SLEEPNOW1,0,0,0};
-               __u8 args2[4] = {ATA_OP_SLEEPNOW2,0,0,0};
-               if (get_sleepnow)
-                       printf(" issuing sleep command\n");
-               if (do_drive_cmd(fd, args1, 0) && do_drive_cmd(fd, args2, 0)) {
-                       err = errno;
-                       perror(" HDIO_DRIVE_CMD(sleep) failed");
-               }
-       }
        if (set_security) {
                do_set_security(fd);
        }
@@ -2324,6 +2290,40 @@
                        perror(" BLKRRPART failed");
                }
        }
+       if (set_idleimmediate) {
+               __u8 args[4] = {ATA_OP_IDLEIMMEDIATE,0,0,0};
+               if (get_idleimmediate)
+                       printf(" issuing idle_immediate command\n");
+               if (do_drive_cmd(fd, args, 0)) {
+                       err = errno;
+                       perror(" HDIO_DRIVE_CMD(idle_immediate) failed");
+               }
+       }
+       if (set_standbynow) {
+               __u8 args1[4] = {ATA_OP_STANDBYNOW1,0,0,0};
+               __u8 args2[4] = {ATA_OP_STANDBYNOW2,0,0,0};
+               if (get_standbynow)
+                       printf(" issuing standby command\n");
+               if (do_drive_cmd(fd, args1, 0) && do_drive_cmd(fd, args2, 0)) {
+                       err = errno;
+                       perror(" HDIO_DRIVE_CMD(standby) failed");
+               }
+       }
+       if (set_idleunload) {
+               if (get_idleunload)
+                       printf(" issuing idle_immediate_unload command\n");
+               err = do_idleunload(fd, devname);
+       }
+       if (set_sleepnow) {
+               __u8 args1[4] = {ATA_OP_SLEEPNOW1,0,0,0};
+               __u8 args2[4] = {ATA_OP_SLEEPNOW2,0,0,0};
+               if (get_sleepnow)
+                       printf(" issuing sleep command\n");
+               if (do_drive_cmd(fd, args1, 0) && do_drive_cmd(fd, args2, 0)) {
+                       err = errno;
+                       perror(" HDIO_DRIVE_CMD(sleep) failed");
+               }
+       }
        if (set_doreset) {
                if (get_doreset)
                        printf(" resetting drive\n");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hdparm-9.42/hdparm.lsm new/hdparm-9.43/hdparm.lsm
--- old/hdparm-9.42/hdparm.lsm  2012-09-28 20:12:45.000000000 +0200
+++ new/hdparm-9.43/hdparm.lsm  2012-11-15 23:10:14.000000000 +0100
@@ -1,8 +1,9 @@
 Begin4
 Title:         hdparm
-Version:       9.42
-Entered-date:  2012-09-28
+Version:       9.43
+Entered-date:  2012-11-15
 Description:   hdparm - get/set hard disk parameters for Linux SATA/IDE drives.
+               v9.43 rearrange flag execution so that the idle/standby/sleep 
"now" flags are executed last.
                v9.42 lots of fixes from the sourceforge queue
                v9.41 updated SCT identification, other small fixes.
                v9.40 internal release
@@ -116,7 +117,7 @@
 Maintained-by: [email protected] (Mark Lord)
 Primary-site:  http://sourceforge.net/projects/hdparm/
 Alternate-site:        http://www.ibiblio.org/pub/Linux/system/hardware
-               127K hdparm-9.42.tar.gz
+               127K hdparm-9.43.tar.gz
                4K hdparm.lsm
 Platforms:     Linux
 Copying-policy:        BSD License

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to