Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hdparm for openSUSE:Factory checked 
in at 2022-09-16 13:32:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hdparm (Old)
 and      /work/SRC/openSUSE:Factory/.hdparm.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hdparm"

Fri Sep 16 13:32:03 2022 rev:80 rq:1003730 version:9.65

Changes:
--------
--- /work/SRC/openSUSE:Factory/hdparm/hdparm.changes    2022-08-10 
17:13:36.665756712 +0200
+++ /work/SRC/openSUSE:Factory/.hdparm.new.2083/hdparm.changes  2022-09-16 
13:32:24.997283403 +0200
@@ -1,0 +2,7 @@
+Wed Sep 14 09:15:05 UTC 2022 - Danilo Spinella <danilo.spine...@suse.com>
+
+- Update to 9.65:
+  * Fixed "hdparm --Istdin" to not attempt reading LOG data from a 
non-existent drive.
+- Refresh avoid-linux-includes.patch
+
+-------------------------------------------------------------------

Old:
----
  hdparm-9.64.tar.gz

New:
----
  hdparm-9.65.tar.gz

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

Other differences:
------------------
++++++ hdparm.spec ++++++
--- /var/tmp/diff_new_pack.hRcS0g/_old  2022-09-16 13:32:25.533285135 +0200
+++ /var/tmp/diff_new_pack.hRcS0g/_new  2022-09-16 13:32:25.537285148 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           hdparm
-Version:        9.64
+Version:        9.65
 Release:        0
 Summary:        A Program to get and set hard disk parameters
 License:        SUSE-Permissive

++++++ avoid-linux-includes.patch ++++++
--- /var/tmp/diff_new_pack.hRcS0g/_old  2022-09-16 13:32:25.561285225 +0200
+++ /var/tmp/diff_new_pack.hRcS0g/_new  2022-09-16 13:32:25.561285225 +0200
@@ -1,11 +1,13 @@
 --- hdparm-9.64/hdparm.c
 +++ hdparm-9.64/hdparm.c
-@@ -24,9 +24,6 @@
+@@ -24,11 +24,6 @@
  #include <sys/mount.h>
  #include <sys/mman.h>
  #include <sys/user.h>
 -#include <linux/types.h>
+-#ifndef FSCONFIG_SET_FLAG
 -#include <linux/fs.h>
+-#endif
 -#include <linux/major.h>
  #include <endian.h>
  #include <asm/byteorder.h>

++++++ hdparm-9.64.tar.gz -> hdparm-9.65.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hdparm-9.64/Changelog new/hdparm-9.65/Changelog
--- old/hdparm-9.64/Changelog   2022-07-09 03:24:54.000000000 +0200
+++ new/hdparm-9.65/Changelog   2022-09-06 19:00:23.000000000 +0200
@@ -1,4 +1,6 @@
-hdparm-9.63:
+hdparm-9.65:
+       - Another --Istdin fix: cannot read log pages when no device specified
+hdparm-9.64:
        - fix truncated output buf with --Istdin
 hdparm-9.63:
        - new --sanitize-overwrite-passes flag, courtesy Michal Grzedzicki.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hdparm-9.64/hdparm.8 new/hdparm-9.65/hdparm.8
--- old/hdparm-9.64/hdparm.8    2022-07-09 03:23:49.000000000 +0200
+++ new/hdparm-9.65/hdparm.8    2022-09-06 19:02:09.000000000 +0200
@@ -1,4 +1,4 @@
-.TH HDPARM 8 "Jul 2022" "Version 9.64"
+.TH HDPARM 8 "Sep 2022" "Version 9.65"
 
 .SH NAME
 hdparm \- get/set SATA/IDE device parameters
@@ -303,6 +303,9 @@
 When
 .B --Istdin
 is used, it must be the *only* parameter given.
+Note that some information will be incomplete, as the drive LOG PAGES are 
unavailable when
+.B --Istdin
+is used.
 .TP
 .I --Istdout
 This option dumps the drive's identify data in hex to stdout,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hdparm-9.64/hdparm.c new/hdparm-9.65/hdparm.c
--- old/hdparm-9.64/hdparm.c    2022-07-09 03:23:31.000000000 +0200
+++ new/hdparm-9.65/hdparm.c    2022-09-06 19:02:56.000000000 +0200
@@ -2,7 +2,7 @@
  * hdparm.c - Command line interface to get/set hard disk parameters.
  *          - by Mark Lord (C) 1994-2022 -- freely distributable.
  */
-#define HDPARM_VERSION "v9.64"
+#define HDPARM_VERSION "v9.65"
 
 #define _LARGEFILE64_SOURCE /*for lseek64*/
 #define _BSD_SOURCE    /* for strtoll() */
@@ -25,7 +25,9 @@
 #include <sys/mman.h>
 #include <sys/user.h>
 #include <linux/types.h>
+#ifndef FSCONFIG_SET_FLAG
 #include <linux/fs.h>
+#endif
 #include <linux/major.h>
 #include <endian.h>
 #include <asm/byteorder.h>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hdparm-9.64/hdparm.lsm new/hdparm-9.65/hdparm.lsm
--- old/hdparm-9.64/hdparm.lsm  2022-07-09 03:24:33.000000000 +0200
+++ new/hdparm-9.65/hdparm.lsm  2022-09-06 19:00:13.000000000 +0200
@@ -1,8 +1,9 @@
 Begin4
 Title:         hdparm
-Version:       9.64
-Entered-date:  2022-07-08
+Version:       9.65
+Entered-date:  2022-09-06
 Description:   hdparm - get/set hard disk parameters for Linux SATA/IDE drives.
+               v9.65 Don't try to read log pages with --Istdin
                v9.64 Fix truncated output bug with --Istdin
                v9.63 new --sanitize-overwrite-passes flag, courtesy Michal 
Grzedzicki
                v9.62 work around unexpected sign-extending of left-shifted 
unsigned values by gcc
@@ -138,7 +139,7 @@
 Maintained-by: ml...@pobox.com (Mark Lord)
 Primary-site:  http://sourceforge.net/projects/hdparm/
 Alternate-site:        http://www.ibiblio.org/pub/Linux/system/hardware
-               140K hdparm-9.64.tar.gz
+               140K hdparm-9.65.tar.gz
                7K hdparm.lsm
 Platforms:     Linux
 Copying-policy:        BSD License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hdparm-9.64/identify.c new/hdparm-9.65/identify.c
--- old/hdparm-9.64/identify.c  2022-07-09 03:22:02.000000000 +0200
+++ new/hdparm-9.65/identify.c  2022-09-06 18:58:09.000000000 +0200
@@ -690,6 +690,8 @@
        __u8 d[512] = {0,};
        int i, found = 0, rc, found_byte_lss = 0, found_word_lss = 0, 
lss_is_bytes = 0;
 
+       if (fd == -1)
+               return;
        rc = get_log_page_data(fd, 0x2f, 0, d);
        if (rc)
                return;

Reply via email to