- Update to upstream version 3.5:
* Decode HPE OEM records 216, 224, 230, 238 and 242. * Fortify entry point length checks. * Add a --no-quirks option. * Drop the CPUID exception list. * Do not let --dump-bin overwrite an existing file. * Ensure /dev/mem is a character device file. * Obsoletes news-fix-typo.patch and dmioem-fix-segmentation-fault-in-dmi_hp_240_attr.patch. OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=66
This commit is contained in:
parent
f678f58aac
commit
218b52ef2b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:43cba851d8467c9979ccdbeab192eb6638c7d3a697eba5ddb779da8837542212
|
|
||||||
size 61420
|
|
Binary file not shown.
BIN
dmidecode-3.5.tar.xz
(Stored with Git LFS)
Normal file
BIN
dmidecode-3.5.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
dmidecode-3.5.tar.xz.sig
Normal file
BIN
dmidecode-3.5.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 16 12:26:11 UTC 2023 - Jean Delvare <jdelvare@suse.de>
|
||||||
|
|
||||||
|
- Update to upstream version 3.5:
|
||||||
|
* Decode HPE OEM records 216, 224, 230, 238 and 242.
|
||||||
|
* Fortify entry point length checks.
|
||||||
|
* Add a --no-quirks option.
|
||||||
|
* Drop the CPUID exception list.
|
||||||
|
* Do not let --dump-bin overwrite an existing file.
|
||||||
|
* Ensure /dev/mem is a character device file.
|
||||||
|
* Obsoletes news-fix-typo.patch and
|
||||||
|
dmioem-fix-segmentation-fault-in-dmi_hp_240_attr.patch.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 9 10:00:42 UTC 2022 - Jean Delvare <jdelvare@suse.de>
|
Fri Sep 9 10:00:42 UTC 2022 - Jean Delvare <jdelvare@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dmidecode
|
# spec file for package dmidecode
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: dmidecode
|
Name: dmidecode
|
||||||
Version: 3.4
|
Version: 3.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: DMI table decoder
|
Summary: DMI table decoder
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
@ -27,8 +27,6 @@ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{vers
|
|||||||
Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig
|
Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig
|
||||||
# https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode
|
# https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Patch1: news-fix-typo.patch
|
|
||||||
Patch2: dmioem-fix-segmentation-fault-in-dmi_hp_240_attr.patch
|
|
||||||
Provides: pmtools:%{_sbindir}/dmidecode
|
Provides: pmtools:%{_sbindir}/dmidecode
|
||||||
Obsoletes: pmtools < 20071117
|
Obsoletes: pmtools < 20071117
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -51,8 +49,6 @@ the BIOS told it to.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" make %{?_smp_mflags}
|
CFLAGS="%{optflags}" make %{?_smp_mflags}
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
From: Jean Delvare <jdelvare@suse.de>
|
|
||||||
Date: Fri, 9 Sep 2022 11:46:53 +0200
|
|
||||||
Subject: dmioem: Fix segmentation fault in dmi_hp_240_attr()
|
|
||||||
Patch-mainline: yes
|
|
||||||
Git-commit: c3357b532941a8df387618e692e522cc7a43b3e8
|
|
||||||
|
|
||||||
pr_attr() does not accept a NULL format string. glibc can deal with
|
|
||||||
it, but FreeBSD's libc chokes on it.
|
|
||||||
|
|
||||||
Display the attributes as a list instead. Pack the attribute name and
|
|
||||||
status into a single formatted string that can be passed to
|
|
||||||
pr_list_item(). That's arguably a hack, but it's cheap, non-intrusive,
|
|
||||||
and works nicely in the end.
|
|
||||||
|
|
||||||
Bug reported by Scott Benesh (Microchip).
|
|
||||||
|
|
||||||
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
||||||
Fixes: a4b31b2bc537 ("dmioem: Present HPE type 240 attributes in a nicer way")
|
|
||||||
Cc: Jerry Hoemann <jerry.hoemann@hpe.com>
|
|
||||||
---
|
|
||||||
dmioem.c | 5 +++--
|
|
||||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
--- dmidecode-3.4.orig/dmioem.c 2022-06-27 17:06:32.000000000 +0200
|
|
||||||
+++ dmidecode-3.4/dmioem.c 2022-09-09 11:57:12.283832820 +0200
|
|
||||||
@@ -198,13 +198,14 @@ static void dmi_hp_240_attr(u64 defined,
|
|
||||||
};
|
|
||||||
unsigned int i;
|
|
||||||
|
|
||||||
- pr_attr("Attributes Defined/Set", NULL);
|
|
||||||
+ pr_list_start("Attributes Defined/Set", NULL);
|
|
||||||
for (i = 0; i < ARRAY_SIZE(attributes); i++)
|
|
||||||
{
|
|
||||||
if (!(defined.l & (1UL << i)))
|
|
||||||
continue;
|
|
||||||
- pr_subattr(attributes[i], "%s", set.l & (1UL << i) ? "Yes" : "No");
|
|
||||||
+ pr_list_item("%s: %s", attributes[i], set.l & (1UL << i) ? "Yes" : "No");
|
|
||||||
}
|
|
||||||
+ pr_list_end();
|
|
||||||
}
|
|
||||||
|
|
||||||
static void dmi_hp_203_assoc_hndl(const char *fname, u16 num)
|
|
@ -1,20 +0,0 @@
|
|||||||
From: Jean Delvare <jdelvare@suse.de>
|
|
||||||
Date: Mon, 27 Jun 2022 20:19:11 +0200
|
|
||||||
Subject: [PATCH] NEWS: Fix typo
|
|
||||||
Patch-mainline: yes
|
|
||||||
Git-commit: fb8766a9d26053b3ad5f6228ffaf09690b7cac90
|
|
||||||
---
|
|
||||||
NEWS | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
--- dmidecode-3.4.orig/NEWS 2022-06-27 17:06:32.000000000 +0200
|
|
||||||
+++ dmidecode-3.4/NEWS 2022-09-09 11:57:06.661756361 +0200
|
|
||||||
@@ -7,7 +7,7 @@ Version 3.4 (Mon Jun 27 2022)
|
|
||||||
characteristics, new slot characteristics, new on-board device types, new
|
|
||||||
pointing device interface types, and a new record type (type 45 -
|
|
||||||
Firmware Inventory Information).
|
|
||||||
- - Decode HPE OEM records 194, 199, 203, 236, 237, 238 ans 240.
|
|
||||||
+ - Decode HPE OEM records 194, 199, 203, 236, 237, 238 and 240.
|
|
||||||
- Bug fixes:
|
|
||||||
Fix OEM vendor name matching
|
|
||||||
Fix ASCII filtering of strings
|
|
Loading…
Reference in New Issue
Block a user