commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2020-10-18 16:26:42 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new.3486 (New) Package is "dmidecode" Sun Oct 18 16:26:42 2020 rev:40 rq:841839 version:3.3 Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2020-04-23 18:29:28.151976572 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new.3486/dmidecode.changes 2020-10-18 16:28:02.404667578 +0200 @@ -1,0 +2,20 @@ +Wed Oct 14 15:53:32 UTC 2020 - Jean Delvare + +- Update to upstream version 3.3: + * [COMPATIBILITY] Document how the UUID fields are interpreted. + * [PORTABILITY] Don't use memcpy on /dev/mem on arm64. + * Add bios-revision, firmware-revision and system-sku-number to -s option. + * Use the most appropriate unit for cache size. + * Decode system slot base bus width and peers. + * Obsoletes dmidecode-add-enumerated-values-from-smbios-3.3.0.patch, +dmidecode-add-logical-non-volatile-device.patch, +dmidecode-allow-overriding-build-settings-from-env.patch, +dmidecode-dont-choke-on-invalid-processor-voltage.patch, +dmidecode-fix-formatting-of-tpm-table-output.patch, +dmidecode-fix-redfish-hostname-print-length.patch, +dmidecode-fix-system-slot-information-for-pcie-ssd.patch, +dmidecode-fix-the-alignment-of-type-25-name.patch, +dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch, and +dmidecode-print-type-33-name-unconditionally.patch. + +--- Old: dmidecode-3.2.tar.xz dmidecode-3.2.tar.xz.sig dmidecode-add-enumerated-values-from-smbios-3.3.0.patch dmidecode-add-logical-non-volatile-device.patch dmidecode-allow-overriding-build-settings-from-env.patch dmidecode-dont-choke-on-invalid-processor-voltage.patch dmidecode-fix-formatting-of-tpm-table-output.patch dmidecode-fix-redfish-hostname-print-length.patch dmidecode-fix-system-slot-information-for-pcie-ssd.patch dmidecode-fix-the-alignment-of-type-25-name.patch dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch dmidecode-print-type-33-name-unconditionally.patch New: dmidecode-3.3.tar.xz dmidecode-3.3.tar.xz.sig Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.hOQWxF/_old 2020-10-18 16:28:06.192669265 +0200 +++ /var/tmp/diff_new_pack.hOQWxF/_new 2020-10-18 16:28:06.196669266 +0200 @@ -17,7 +17,7 @@ Name: dmidecode -Version:3.2 +Version:3.3 Release:0 Summary:DMI table decoder License:GPL-2.0-or-later @@ -27,16 +27,6 @@ Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode Source2:%{name}.keyring -Patch1: dmidecode-fix-redfish-hostname-print-length.patch -Patch2: dmidecode-add-logical-non-volatile-device.patch -Patch3: dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch -Patch4: dmidecode-fix-formatting-of-tpm-table-output.patch -Patch5: dmidecode-fix-system-slot-information-for-pcie-ssd.patch -Patch6: dmidecode-add-enumerated-values-from-smbios-3.3.0.patch -Patch7: dmidecode-print-type-33-name-unconditionally.patch -Patch8: dmidecode-dont-choke-on-invalid-processor-voltage.patch -Patch9: dmidecode-fix-the-alignment-of-type-25-name.patch -Patch10:dmidecode-allow-overriding-build-settings-from-env.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -59,16 +49,6 @@ %prep %setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 %build CFLAGS="%{optflags}" make %{?_smp_mflags} ++ dmidecode-3.2.tar.xz -> dmidecode-3.3.tar.xz ++ 4930 lines of diff (skipped)
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2020-04-23 18:29:14 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new.2738 (New) Package is "dmidecode" Thu Apr 23 18:29:14 2020 rev:39 rq:796027 version:3.2 Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2019-10-28 16:45:47.760657345 +0100 +++ /work/SRC/openSUSE:Factory/.dmidecode.new.2738/dmidecode.changes 2020-04-23 18:29:28.151976572 +0200 @@ -1,0 +2,19 @@ +Tue Apr 21 08:17:46 UTC 2020 - Jean Delvare + +3 recommended fixes from upstream: +- dmidecode-print-type-33-name-unconditionally.patch: Print type 33 + name unconditionally. +- dmidecode-dont-choke-on-invalid-processor-voltage.patch: Don't + choke on invalid processor voltage. +- dmidecode-fix-the-alignment-of-type-25-name.patch: Fix the + alignment of type 25 name. + +Build fix: +- dmidecode-allow-overriding-build-settings-from-env.patch: Fix the + build system so that the compilation flags passed by OBS are + added to the ones dmidecode needs, instead of overriding them + entirely. +- dmidecode.spec: Pass the CFLAGS through the environment, instead + of as a parameter. + +--- New: dmidecode-allow-overriding-build-settings-from-env.patch dmidecode-dont-choke-on-invalid-processor-voltage.patch dmidecode-fix-the-alignment-of-type-25-name.patch dmidecode-print-type-33-name-unconditionally.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.QsOUif/_old 2020-04-23 18:29:28.995978187 +0200 +++ /var/tmp/diff_new_pack.QsOUif/_new 2020-04-23 18:29:28.78195 +0200 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Summary:DMI table decoder License:GPL-2.0-or-later Group: System/Console -Url:http://www.nongnu.org/dmidecode/ +URL:http://www.nongnu.org/dmidecode/ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode @@ -33,6 +33,10 @@ Patch4: dmidecode-fix-formatting-of-tpm-table-output.patch Patch5: dmidecode-fix-system-slot-information-for-pcie-ssd.patch Patch6: dmidecode-add-enumerated-values-from-smbios-3.3.0.patch +Patch7: dmidecode-print-type-33-name-unconditionally.patch +Patch8: dmidecode-dont-choke-on-invalid-processor-voltage.patch +Patch9: dmidecode-fix-the-alignment-of-type-25-name.patch +Patch10:dmidecode-allow-overriding-build-settings-from-env.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -61,9 +65,13 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 %build -make CFLAGS="%{optflags}" %{?_smp_mflags} +CFLAGS="%{optflags}" make %{?_smp_mflags} %install install -dm 755 %{buildroot}%{_sbindir} ++ dmidecode-allow-overriding-build-settings-from-env.patch ++ From: Jean Delvare Date: Fri, 17 Apr 2020 17:14:15 +0200 Subject: Allow overriding build settings from the environment Git-commit: 5b3c8e9950262fc941bb5b3b3a1275720d47d62d Patch-mainline: yes Let packagers pass their own CC, CFLAGS and LDFLAGS settings. The settings which are specific to dmidecode are appended later so that they are applied no matter what. This should fix bug #55805: https://savannah.nongnu.org/bugs/?55805 Signed-off-by: Jean Delvare --- Makefile | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) --- a/Makefile +++ b/Makefile @@ -12,8 +12,13 @@ # (at your option) any later version. # -CC = gcc -CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ +CC ?= gcc +# Base CFLAGS can be overridden by environment +CFLAGS ?= -O2 +# When debugging, disable -O2 and enable -g +#CFLAGS ?= -g + +CFLAGS += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef # Let lseek and mmap support 64-bit wide offsets @@ -22,12 +27,8 @@ CFLAGS += -D_FILE_OFFSET_BITS=64 #CFLAGS += -DBIGENDIAN #CFLAGS += -DALIGNMENT_WORKAROUND -# When debugging,
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2019-10-28 16:45:27 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new.2990 (New) Package is "dmidecode" Mon Oct 28 16:45:27 2019 rev:38 rq:742155 version:3.2 Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2019-09-07 12:34:22.681666092 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new.2990/dmidecode.changes 2019-10-28 16:45:47.760657345 +0100 @@ -1,0 +2,11 @@ +Wed Oct 23 13:31:26 UTC 2019 - Jean Delvare + +1 recommended fixe from upstream: +- dmidecode-fix-system-slot-information-for-pcie-ssd.patch: Fix + System Slot Information for PCIe SSD. + +Partial support for SMBIOS 3.3.0: +- dmidecode-add-enumerated-values-from-smbios-3.3.0.patch: Add + enumerated values from SMBIOS 3.3.0 (bsc#1153533). + +--- New: dmidecode-add-enumerated-values-from-smbios-3.3.0.patch dmidecode-fix-system-slot-information-for-pcie-ssd.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.enVwu9/_old 2019-10-28 16:45:48.632658454 +0100 +++ /var/tmp/diff_new_pack.enVwu9/_new 2019-10-28 16:45:48.636658459 +0100 @@ -31,6 +31,8 @@ Patch2: dmidecode-add-logical-non-volatile-device.patch Patch3: dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch Patch4: dmidecode-fix-formatting-of-tpm-table-output.patch +Patch5: dmidecode-fix-system-slot-information-for-pcie-ssd.patch +Patch6: dmidecode-add-enumerated-values-from-smbios-3.3.0.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,6 +59,8 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 +%patch6 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} ++ dmidecode-add-enumerated-values-from-smbios-3.3.0.patch ++ From: Jean Delvare Date: Wed, 23 Oct 2019 12:44:13 +0200 Subject: dmidecode: Add enumerated values from SMBIOS 3.3.0 Git-commit: 3fa833fd78ff5eb74f9459e061e26e063ed648d5 Patch-mainline: yes References: bsc#1153533 Add all the enumerated values from the SMBIOS 3.3.0 specification update that was released last month. Signed-off-by: Jean Delvare Reviewed-by: Jerry Hoemann --- dmidecode.c | 44 +++- 1 file changed, 35 insertions(+), 9 deletions(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -932,6 +932,10 @@ static const char *dmi_processor_family( { 0x140, "WinChip" }, { 0x15E, "DSP" }, { 0x1F4, "Video Processor" }, + + { 0x200, "RV32" }, + { 0x201, "RV64" }, + { 0x202, "RV128" }, }; /* * Note to developers: when adding entries to this list, check if @@ -1815,6 +1819,9 @@ static const char *dmi_slot_type(u8 code "PCI Express Mini 52-pin without bottom-side keep-outs", "PCI Express Mini 76-pin" /* 0x23 */ }; + static const char *type_0x30[] = { + "CXL FLexbus 1.0" /* 0x30 */ + }; static const char *type_0xA0[] = { "PC-98/C20", /* 0xA0 */ "PC-98/C24", @@ -1838,7 +1845,14 @@ static const char *dmi_slot_type(u8 code "PCI Express 3 x2", "PCI Express 3 x4", "PCI Express 3 x8", - "PCI Express 3 x16" /* 0xB6 */ + "PCI Express 3 x16", + out_of_spec, /* 0xB7 */ + "PCI Express 4", + "PCI Express 4 x1", + "PCI Express 4 x2", + "PCI Express 4 x4", + "PCI Express 4 x8", + "PCI Express 4 x16" /* 0xBD */ }; /* * Note to developers: when adding entries to these lists, check if @@ -1847,7 +1861,9 @@ static const char *dmi_slot_type(u8 code if (code >= 0x01 && code <= 0x23) return type[code - 0x01]; - if (code >= 0xA0 && code <= 0xB6) + if (code == 0x30) + return type_0x30[code - 0x30]; + if (code >= 0xA0 && code <= 0xBD) return type_0xA0[code - 0xA0]; return out_of_spec; } @@ -1951,6 +1967,12 @@ static void dmi_slot_id(u8 code1, u8 cod case 0xB4: /* PCI Express 3 */ case 0xB5: /* PCI Express 3 */ case 0xB6: /* PCI Express 3 */ + case 0xB8: /* PCI Express 4 */ + case 0xB9: /* PCI Express 4 */ + case 0xBA: /* PCI Express 4 */ + case 0xBB: /* PCI Express 4 */ +
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2019-09-07 12:34:21 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new.7948 (New) Package is "dmidecode" Sat Sep 7 12:34:21 2019 rev:37 rq:727769 version:3.2 Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2019-01-29 14:44:57.555074315 +0100 +++ /work/SRC/openSUSE:Factory/.dmidecode.new.7948/dmidecode.changes 2019-09-07 12:34:22.681666092 +0200 @@ -1,0 +2,9 @@ +Mon Aug 26 12:35:42 UTC 2019 - Jean Delvare + +2 recommended fixes from upstream: +- dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch: Only + scan /dev/mem for entry point on x86 (fixes reboot on ARM64). +- dmidecode-fix-formatting-of-tpm-table-output.patch: Fix + formatting of TPM table output (missing newlines). + +--- New: dmidecode-fix-formatting-of-tpm-table-output.patch dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.Cmra3e/_old 2019-09-07 12:34:24.517665866 +0200 +++ /var/tmp/diff_new_pack.Cmra3e/_new 2019-09-07 12:34:24.557665861 +0200 @@ -29,6 +29,8 @@ Source2:%{name}.keyring Patch1: dmidecode-fix-redfish-hostname-print-length.patch Patch2: dmidecode-add-logical-non-volatile-device.patch +Patch3: dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch +Patch4: dmidecode-fix-formatting-of-tpm-table-output.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -53,6 +55,8 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} ++ dmidecode-fix-formatting-of-tpm-table-output.patch ++ >From 1d0db85949a5bdd96375f6131d393a11204302a6 Mon Sep 17 00:00:00 2001 From: Deomid rojer Ryabkov Date: Mon, 26 Aug 2019 14:20:15 +0200 Subject: [PATCH] Fix formatting of TPM table output Added missing newlines. Fixes: 48a8132058a0 ("dmidecode: Add support for structure type 43 (TPM Device)") --- dmidecode.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- dmidecode-3.2.orig/dmidecode.c 2019-08-26 14:35:26.209257695 +0200 +++ dmidecode-3.2/dmidecode.c 2019-08-26 14:35:28.271284010 +0200 @@ -4991,7 +4991,7 @@ static void dmi_decode(const struct dmi_ printf("\tVendor ID:"); dmi_tpm_vendor_id(data + 0x04); printf("\n"); - printf("\tSpecification Version: %d.%d", data[0x08], data[0x09]); + printf("\tSpecification Version: %d.%d\n", data[0x08], data[0x09]); switch (data[0x08]) { case 0x01: @@ -5014,7 +5014,7 @@ static void dmi_decode(const struct dmi_ */ break; } - printf("\tDescription: %s", dmi_string(h, data[0x12])); + printf("\tDescription: %s\n", dmi_string(h, data[0x12])); printf("\tCharacteristics:\n"); dmi_tpm_characteristics(QWORD(data + 0x13), "\t\t"); if (h->length < 0x1F) break; ++ dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch ++ >From e12ec26e19e02281d3e7258c3aabb88a5cf5ec1d Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Mon, 26 Aug 2019 14:20:15 +0200 Subject: [PATCH] dmidecode: Only scan /dev/mem for entry point on x86 x86 is the only architecture which can have a DMI entry point scanned from /dev/mem. Do not attempt it on other architectures, because not only it can't work, but it can even cause the system to reboot. This fixes support request #109697: https://savannah.nongnu.org/support/?109697 --- dmidecode.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) --- dmidecode-3.2.orig/dmidecode.c 2019-08-26 14:35:22.767213766 +0200 +++ dmidecode-3.2/dmidecode.c 2019-08-26 14:35:26.209257695 +0200 @@ -2,7 +2,7 @@ * DMI Decode * * Copyright (C) 2000-2002 Alan Cox - * Copyright (C) 2002-2018 Jean Delvare + * Copyright (C) 2002-2019 Jean Delvare * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -5535,7 +5535,7 @@ int main(int argc, char * const argv[]) off_t fp; size_t size; int efi; - u8 *buf; + u8 *buf
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2019-01-29 14:44:55 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new.28833 (New) Package is "dmidecode" Tue Jan 29 14:44:55 2019 rev:36 rq:666433 version:3.2 Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2018-11-06 13:57:45.379976519 +0100 +++ /work/SRC/openSUSE:Factory/.dmidecode.new.28833/dmidecode.changes 2019-01-29 14:44:57.555074315 +0100 @@ -1,0 +2,12 @@ +Wed Jan 16 09:23:52 UTC 2019 - jdelv...@suse.de + +- dmidecode-add-logical-non-volatile-device.patch: Add "Logical + non-volatile device" to the memory device types (bsc#1120149). +- Use %doc directly on files instead of installing them explicitly. + +--- +Mon Jan 14 16:32:30 CET 2019 - jdelv...@suse.de + +- Don't overwrite the path of license (boo#1121851). + +--- New: dmidecode-add-logical-non-volatile-device.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.1jcxhN/_old 2019-01-29 14:44:58.091073664 +0100 +++ /var/tmp/diff_new_pack.1jcxhN/_new 2019-01-29 14:44:58.091073664 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,7 +20,7 @@ Version:3.2 Release:0 Summary:DMI table decoder -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Console Url:http://www.nongnu.org/dmidecode/ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz @@ -28,6 +28,7 @@ # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode Source2:%{name}.keyring Patch1: dmidecode-fix-redfish-hostname-print-length.patch +Patch2: dmidecode-add-logical-non-volatile-device.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -51,6 +52,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} @@ -66,17 +68,14 @@ %endif install -m 755 $i %{buildroot}%{_sbindir}/ install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/ -install -m 644 AUTHORS NEWS LICENSE README %{buildroot}%{_docdir}/%{name}/ done %files %defattr(-,root,root) %{_sbindir}/* %dir %{_docdir}/%{name} -%doc %{_docdir}/%{name}/AUTHORS -%doc %{_docdir}/%{name}/NEWS -%license %{_docdir}/%{name}/LICENSE -%doc %{_docdir}/%{name}/README +%doc AUTHORS NEWS README %{_mandir}/man8/* +%license LICENSE %changelog ++ dmidecode-add-logical-non-volatile-device.patch ++ From: Jean Delvare Date: Wed, 16 Jan 2019 09:04:55 +0100 Subject: dmidecode: Add "Logical non-volatile device" to the memory device types Git-commit: 74dfb854b8199ddb0a27e89296fa565f4706cb9d Patch-mainline: yes References: bsc#1120149 When adding support for non-volative memory, we forgot to add "Logical non-volatile device" to the list of memory types. This causes NVDIMM modules to show up as . Fix the problem by adding the missing enumerated value. Signed-off-by: Jean Delvare Reviewed-by: Jerry Hoemann --- dmidecode.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -2469,10 +2469,11 @@ static const char *dmi_memory_device_typ "LPDDR", "LPDDR2", "LPDDR3", - "LPDDR4" /* 0x1E */ + "LPDDR4", + "Logical non-volatile device" /* 0x1F */ }; - if (code >= 0x01 && code <= 0x1E) + if (code >= 0x01 && code <= 0x1F) return type[code - 0x01]; return out_of_spec; }
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2018-11-06 13:57:42 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is "dmidecode" Tue Nov 6 13:57:42 2018 rev:35 rq:643888 version:3.2 Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2018-09-20 11:38:38.564955834 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2018-11-06 13:57:45.379976519 +0100 @@ -1,0 +2,6 @@ +Mon Oct 22 14:51:29 CEST 2018 - jdelv...@suse.de + +- dmidecode-fix-redfish-hostname-print-length.patch: Fix Redfish + Hostname print length (bsc#1112755). + +--- @@ -4 +10 @@ -- Update to upstream version 3.2: +- Update to upstream version 3.2 (FATE#326044): New: dmidecode-fix-redfish-hostname-print-length.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.ZICWxd/_old 2018-11-06 13:57:45.991975682 +0100 +++ /var/tmp/diff_new_pack.ZICWxd/_new 2018-11-06 13:57:45.995975676 +0100 @@ -27,6 +27,7 @@ Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode Source2:%{name}.keyring +Patch1: dmidecode-fix-redfish-hostname-print-length.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -49,6 +50,7 @@ %prep %setup -q +%patch1 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} ++ dmidecode-fix-redfish-hostname-print-length.patch ++ From: Charles Rose Date: Mon, 22 Oct 2018 09:48:02 +0200 Subject: dmidecode: Fix Redfish Hostname print length Git-commit: fde47bb227b8fa817c88d7e10a8eb771c46de1df Patch-mainline: yes References: bsc#1112755 Redfish Hostname prints beyond hlen characters. Fix it. Signed-off-by: Charles Rose Fixes: 78539b06117c ("dmidecode: Parse Modern Management Controller blocks") Acked-by: Neil Horman Signed-off-by: Jean Delvare --- dmidecode.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -3609,7 +3609,7 @@ static void dmi_parse_protocol_record(co hname = out_of_spec; hlen = strlen(out_of_spec); } - printf("%s\t\tRedfish Service Hostname: %*s\n", prefix, hlen, hname); + printf("%s\t\tRedfish Service Hostname: %.*s\n", prefix, hlen, hname); } /*
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2018-09-20 11:38:29 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is "dmidecode" Thu Sep 20 11:38:29 2018 rev:34 rq:636168 version:3.2 Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2018-04-23 15:24:46.916901293 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2018-09-20 11:38:38.564955834 +0200 @@ -1,0 +2,29 @@ +Mon Sep 17 13:01:40 CEST 2018 - jdelv...@suse.de + +- Update to upstream version 3.2: + * [COMPATIBILITY] The UUID is now displayed using lowercase +letters, per RFC 4122 (#53569). You must ensure that any code +parsing it is case-insensitive. + * Support for SMBIOS 3.2.0. This includes new processor names, +new socket and port connector types, new system slot state and +property, and support for non-volatile memory (NVDIMM). + * Support for Redfish management controllers. + * A new command line option to query a specific structure by its +handle. + * A new command line option to query the system family string. + * Support for 3 ThinkPad-specific structures (patch #9642). + * Support for HPE's new company name. + * Support UEFI on FreeBSD. + * Important bug fixes: +Fix firmware version of TPM device +Fix the HPE UEFI feature flag check + * (biosdecode) A new command line option to fully decode PIR +information (support request #109339). + * Obsoletes dmioem-reflect-hpe-new-company-name.patch, +dmidecode-fix-tpm-device-firmware-version.patch, and +dmioem-fix-hpe-type-219-uefi-flag.patch. + * CHANGELOG is gone, package more compact NEWS file instead. +- Reenable signature checking. +- Use %license for LICENSE file. + +--- Old: dmidecode-3.1.tar.xz dmidecode-3.1.tar.xz.sig dmidecode-fix-tpm-device-firmware-version.patch dmioem-fix-hpe-type-219-uefi-flag.patch dmioem-reflect-hpe-new-company-name.patch New: dmidecode-3.2.tar.xz dmidecode-3.2.tar.xz.sig dmidecode.keyring Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.W8Ikrl/_old 2018-09-20 11:38:38.964955598 +0200 +++ /var/tmp/diff_new_pack.W8Ikrl/_new 2018-09-20 11:38:38.964955598 +0200 @@ -17,7 +17,7 @@ Name: dmidecode -Version:3.1 +Version:3.2 Release:0 Summary:DMI table decoder License:GPL-2.0+ @@ -25,12 +25,8 @@ Url:http://www.nongnu.org/dmidecode/ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig -# would be, but tarball is signed by someone else without signatures. # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode -# Source2:%{name}.keyring -Patch1: dmioem-reflect-hpe-new-company-name.patch -Patch2: dmidecode-fix-tpm-device-firmware-version.patch -Patch3: dmioem-fix-hpe-type-219-uefi-flag.patch +Source2:%{name}.keyring Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -53,9 +49,6 @@ %prep %setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} @@ -71,13 +64,17 @@ %endif install -m 755 $i %{buildroot}%{_sbindir}/ install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/ -install -m 644 AUTHORS CHANGELOG LICENSE README %{buildroot}%{_docdir}/%{name}/ +install -m 644 AUTHORS NEWS LICENSE README %{buildroot}%{_docdir}/%{name}/ done %files %defattr(-,root,root) %{_sbindir}/* -%doc %{_docdir}/%{name} +%dir %{_docdir}/%{name} +%doc %{_docdir}/%{name}/AUTHORS +%doc %{_docdir}/%{name}/NEWS +%license %{_docdir}/%{name}/LICENSE +%doc %{_docdir}/%{name}/README %{_mandir}/man8/* %changelog ++ dmidecode-3.1.tar.xz -> dmidecode-3.2.tar.xz ++ 3487 lines of diff (skipped)
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2018-04-23 15:24:45 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is "dmidecode" Mon Apr 23 15:24:45 2018 rev:33 rq:597410 version:3.1 Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2017-07-19 12:22:06.874999110 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2018-04-23 15:24:46.916901293 +0200 @@ -1,0 +2,10 @@ +Tue Apr 17 09:54:57 UTC 2018 - jdelv...@suse.de + +- dmioem-reflect-hpe-new-company-name.patch: Reflect HPE's new + company name. +- dmidecode-fix-tpm-device-firmware-version.patch: Fix firmware + version of TPM device. +- dmioem-fix-hpe-type-219-uefi-flag.patch: Fix the reporting of + HP/HPE UEFI feature. + +--- New: dmidecode-fix-tpm-device-firmware-version.patch dmioem-fix-hpe-type-219-uefi-flag.patch dmioem-reflect-hpe-new-company-name.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.E1p0mk/_old 2018-04-23 15:24:47.736871509 +0200 +++ /var/tmp/diff_new_pack.E1p0mk/_new 2018-04-23 15:24:47.740871365 +0200 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,9 @@ # would be, but tarball is signed by someone else without signatures. # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode # Source2:%{name}.keyring +Patch1: dmioem-reflect-hpe-new-company-name.patch +Patch2: dmidecode-fix-tpm-device-firmware-version.patch +Patch3: dmioem-fix-hpe-type-219-uefi-flag.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -50,6 +53,9 @@ %prep %setup -q +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} ++ dmidecode-fix-tpm-device-firmware-version.patch ++ From: Jean DelvareDate: Wed, 31 Jan 2018 18:52:47 +0100 Subject: dmidecode: Fix firmware version of TPM device Patch-mainline: yes Git-commit: 174387405e98cd94c627832ae23abcb9be7e5623 Both the operator (detected by clang, reported by Xorg) and the mask for the minor firmware version field of TPM devices were wrong. Signed-off-by: Jean Delvare Fixes: 48a8132058a0 ("dmidecode: Add support for structure type 43 (TPM Device)") --- dmidecode.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- dmidecode-3.1.orig/dmidecode.c 2018-04-17 11:52:35.240556354 +0200 +++ dmidecode-3.1/dmidecode.c 2018-04-17 11:52:39.787614142 +0200 @@ -4506,7 +4506,7 @@ static void dmi_decode(const struct dmi_ case 0x02: printf("\tFirmware Revision: %u.%u\n", DWORD(data + 0x0A) >> 16, - DWORD(data + 0x0A) && 0xFF); + DWORD(data + 0x0A) & 0x); /* * We skip the next 4 bytes, as their * format is not standardized and their ++ dmioem-fix-hpe-type-219-uefi-flag.patch ++ From: Jerry Hoemann Date: Wed, 11 Apr 2018 14:33:20 +0200 Subject: dmioem: decode HPE UEFI type 219 Misc Features Patch-mainline: yes Git-commit: 2ba4fab210e23cc97db57217af9a6f3b35a9b666 The incorrect "Misc Feature" bit in type 219 table was being used to identify that the platform is capable of booting with UEFI. For corresponding kernel change please see: commit(c42cbe41727a) in linux. Signed-off-by: Jerry Hoemann Signed-off-by: Jean Delvare --- dmioem.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- dmidecode-3.1.orig/dmioem.c 2018-04-17 11:52:32.405520323 +0200 +++ dmidecode-3.1/dmioem.c 2018-04-17 11:52:41.919641237 +0200 @@ -226,7 +226,7 @@ static int dmi_decode_hp(const struct dm feat = DWORD(data + 0x10); printf("\tMisc. Features: 0x%08x\n", feat); printf("\t\tiCRU: %s\n", feat & 0x0001 ? "Yes" : "No"); - printf("\t\tUEFI: %s\n", feat & 0x0408 ? "Yes" :
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2017-07-19 11:22:05 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is "dmidecode" Wed Jul 19 11:22:05 2017 rev:32 rq:511066 version:3.1 Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2017-06-07 09:53:48.508376067 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2017-07-19 12:22:06.874999110 +0200 @@ -1,0 +2,6 @@ +Mon Jul 17 14:43:37 CEST 2017 - jdelv...@suse.de + +- Add missing bug numbers and FATE references in changes file + (bsc#1041670). + +--- @@ -50 +56 @@ -- Update to upstream version 3.0: +- Update to upstream version 3.0 (FATE#320746, FATE#320773): @@ -64,0 +71 @@ + * Skip the SMBIOS version comparison in quiet mode (bsc#974862). @@ -85 +92 @@ - DDR4 memory type (DMI type 17). + DDR4 memory type (DMI type 17) (bsc#955705). Other differences: --
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2017-06-07 09:53:45 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is "dmidecode" Wed Jun 7 09:53:45 2017 rev:31 rq:500183 version:3.1 Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2017-01-25 22:40:07.574234328 +0100 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2017-06-07 09:53:48.508376067 +0200 @@ -1,0 +2,21 @@ +Wed May 24 13:50:05 UTC 2017 - jdelv...@suse.de + +- Update to upstream version 3.1: + * Support for SMBIOS 3.1.0 and 3.1.1. This includes new chassis +types, new processor family names, new processor family upgrade +names, and new slot types, as well as support of larger BIOS +ROM sizes and cache sizes, and a new structure type (43, TPM +Device.) + * A new command line option to query OEM strings. + * All error messages are now printed on stderr (#47274, #48158.) + * Fixes a crash with SIGBUS (#46066.) + * Various minor fixes, improvements and cleanups. + * Obsoletes dmidecode-01-add-no-sysfs-option-description-to-h-output.patch, +dmidecode-02-fix-no-smbios-nor-dmi-entry-point-found-on-smbios3.patch, +dmidecode-03-let-read_file-return-the-actual-data-size.patch, +dmidecode-04-use-read_file-to-read-the-dmi-table-from-sysfs.patch, +dmidecode-05-use-dword-for-structure-table-maximum-size-in-smbios3.patch, +dmidecode-06-hide-irrelevant-fixup-message.patch, and +dmidecode-07-only-decode-one-dmi-table.patch. + +--- Old: dmidecode-01-add-no-sysfs-option-description-to-h-output.patch dmidecode-02-fix-no-smbios-nor-dmi-entry-point-found-on-smbios3.patch dmidecode-03-let-read_file-return-the-actual-data-size.patch dmidecode-04-use-read_file-to-read-the-dmi-table-from-sysfs.patch dmidecode-05-use-dword-for-structure-table-maximum-size-in-smbios3.patch dmidecode-06-hide-irrelevant-fixup-message.patch dmidecode-07-only-decode-one-dmi-table.patch dmidecode-3.0.tar.xz dmidecode-3.0.tar.xz.sig New: dmidecode-3.1.tar.xz dmidecode-3.1.tar.xz.sig Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.P8EHsl/_old 2017-06-07 09:53:49.248271507 +0200 +++ /var/tmp/diff_new_pack.P8EHsl/_new 2017-06-07 09:53:49.248271507 +0200 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: dmidecode -Version:3.0 +Version:3.1 Release:0 Summary:DMI table decoder License:GPL-2.0+ @@ -28,13 +28,6 @@ # would be, but tarball is signed by someone else without signatures. # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode # Source2:%{name}.keyring -Patch1: dmidecode-01-add-no-sysfs-option-description-to-h-output.patch -Patch2: dmidecode-02-fix-no-smbios-nor-dmi-entry-point-found-on-smbios3.patch -Patch3: dmidecode-03-let-read_file-return-the-actual-data-size.patch -Patch4: dmidecode-04-use-read_file-to-read-the-dmi-table-from-sysfs.patch -Patch5: dmidecode-05-use-dword-for-structure-table-maximum-size-in-smbios3.patch -Patch6: dmidecode-06-hide-irrelevant-fixup-message.patch -Patch7: dmidecode-07-only-decode-one-dmi-table.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,13 +50,6 @@ %prep %setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} ++ dmidecode-3.0.tar.xz -> dmidecode-3.1.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dmidecode-3.0/AUTHORS new/dmidecode-3.1/AUTHORS --- old/dmidecode-3.0/AUTHORS 2015-09-03 08:03:19.0 +0200 +++ new/dmidecode-3.1/AUTHORS 2017-05-23 15:34:14.0 +0200 @@ -19,6 +19,8 @@ Anton ArapovRoy Franz Tyler Bell +Xie XiuQi +Petr Oros MANY THANKS TO (IN CHRONOLOGICAL ORDER) Werner Heuser diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dmidecode-3.0/CHANGELOG new/dmidecode-3.1/CHANGELOG
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2017-01-25 22:40:06 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is "dmidecode" Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2016-05-08 10:39:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2017-01-25 22:40:07.574234328 +0100 @@ -1,0 +2,7 @@ +Fri Jan 20 13:18:38 CET 2017 - jdelv...@suse.de + +- dmidecode-07-only-decode-one-dmi-table.patch: Only decode one + DMI table. + https://savannah.nongnu.org/bugs/?50022 + +--- New: dmidecode-07-only-decode-one-dmi-table.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.cBlysD/_old 2017-01-25 22:40:08.514092346 +0100 +++ /var/tmp/diff_new_pack.cBlysD/_new 2017-01-25 22:40:08.518091742 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -34,6 +34,7 @@ Patch4: dmidecode-04-use-read_file-to-read-the-dmi-table-from-sysfs.patch Patch5: dmidecode-05-use-dword-for-structure-table-maximum-size-in-smbios3.patch Patch6: dmidecode-06-hide-irrelevant-fixup-message.patch +Patch7: dmidecode-07-only-decode-one-dmi-table.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -62,6 +63,7 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} ++ dmidecode-07-only-decode-one-dmi-table.patch ++ From: Jean DelvareDate: Fri, 20 Jan 2017 10:57:12 +0100 Subject: Only decode one DMI table Git-commit: 12fbde92a26da61eda9f2ff0ba3c316779163f10 References: https://savannah.nongnu.org/bugs/?50022 Since version 3.0.0 of the SMBIOS specification, there can be multiple entry points in memory, pointing to one or two DMI tables. If both a 32-bit ("_SM_") entry point and a 64-bit ("_SM3_") entry point are present, the specification requires that the latter points to a table which is a super-set of the table pointed to by the former. Therefore it makes no sense to decode both. Per specification, look for a 64-bit ("_SM3_") entry point first, and if we can't find any, look for a 32-bit ("_SM_" or "_DMI_") entry point. This fixes bug #50022: https://savannah.nongnu.org/bugs/?50022 --- dmidecode.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -4903,28 +4903,37 @@ memory_scan: goto exit_free; } - for (fp = 0; fp <= 0xFFF0; fp += 16) + /* Look for a 64-bit entry point first */ + for (fp = 0; fp <= 0xFFE0; fp += 16) { - if (memcmp(buf + fp, "_SM3_", 5) == 0 && fp <= 0xFFE0) + if (memcmp(buf + fp, "_SM3_", 5) == 0) { if (smbios3_decode(buf + fp, opt.devmem, 0)) { found++; - fp += 16; + goto done; } } - else if (memcmp(buf + fp, "_SM_", 4) == 0 && fp <= 0xFFE0) + } + + /* If none found, look for a 32-bit entry point */ + for (fp = 0; fp <= 0xFFF0; fp += 16) + { + if (memcmp(buf + fp, "_SM_", 4) == 0 && fp <= 0xFFE0) { if (smbios_decode(buf + fp, opt.devmem, 0)) { found++; - fp += 16; + goto done; } } else if (memcmp(buf + fp, "_DMI_", 5) == 0) { if (legacy_decode(buf + fp, opt.devmem, 0)) + { found++; + goto done; + } } }
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2016-05-08 10:39:12 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is "dmidecode" Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2015-09-13 09:44:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2016-05-08 10:39:14.0 +0200 @@ -1,0 +2,18 @@ +Tue May 3 14:10:41 UTC 2016 - jdelv...@suse.de + +- dmidecode-01-add-no-sysfs-option-description-to-h-output.patch: + Add "--no-sysfs" option description to -h output. +- dmidecode-02-fix-no-smbios-nor-dmi-entry-point-found-on-smbios3.patch: + Fix 'No SMBIOS nor DMI entry point found' on SMBIOS3. +- dmidecode-03-let-read_file-return-the-actual-data-size.patch: + Let read_file return the actual data size. +- dmidecode-04-use-read_file-to-read-the-dmi-table-from-sysfs.patch: + Use read_file() to read the DMI table from sysfs. + https://savannah.nongnu.org/bugs/?46176 +- dmidecode-05-use-dword-for-structure-table-maximum-size-in-smbios3.patch: + Use DWORD for Structure table maximum size in SMBIOS3. +- dmidecode-06-hide-irrelevant-fixup-message.patch: + Hide irrelevant fixup message. + http://savannah.nongnu.org/support/?109024 + +--- New: dmidecode-01-add-no-sysfs-option-description-to-h-output.patch dmidecode-02-fix-no-smbios-nor-dmi-entry-point-found-on-smbios3.patch dmidecode-03-let-read_file-return-the-actual-data-size.patch dmidecode-04-use-read_file-to-read-the-dmi-table-from-sysfs.patch dmidecode-05-use-dword-for-structure-table-maximum-size-in-smbios3.patch dmidecode-06-hide-irrelevant-fixup-message.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.oMv5ex/_old 2016-05-08 10:39:15.0 +0200 +++ /var/tmp/diff_new_pack.oMv5ex/_new 2016-05-08 10:39:15.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,12 @@ # would be, but tarball is signed by someone else without signatures. # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode # Source2:%{name}.keyring +Patch1: dmidecode-01-add-no-sysfs-option-description-to-h-output.patch +Patch2: dmidecode-02-fix-no-smbios-nor-dmi-entry-point-found-on-smbios3.patch +Patch3: dmidecode-03-let-read_file-return-the-actual-data-size.patch +Patch4: dmidecode-04-use-read_file-to-read-the-dmi-table-from-sysfs.patch +Patch5: dmidecode-05-use-dword-for-structure-table-maximum-size-in-smbios3.patch +Patch6: dmidecode-06-hide-irrelevant-fixup-message.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -50,6 +56,12 @@ %prep %setup -q +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} ++ dmidecode-01-add-no-sysfs-option-description-to-h-output.patch ++ From: Roy FranzDate: Thu, 1 Oct 2015 08:41:43 +0200 Subject: Add "--no-sysfs" option description to -h output Git-commit: 33b5aafc6ee6b5de9f2526fb1cf4b14d1e16e4f0 A description of --no-sysfs was not added to the output of "-h" when the feature was added, so add it now. --- dmiopt.c |1 + 1 file changed, 1 insertion(+) --- dmidecode-3.0.orig/dmiopt.c 2016-05-03 16:05:03.135840902 +0200 +++ dmidecode-3.0/dmiopt.c 2016-05-03 16:05:04.199850803 +0200 @@ -314,6 +314,7 @@ void print_help(void) " -u, --dump Do not decode the entries\n" " --dump-bin FILEDump the DMI data to a binary file\n" " --from-dump FILE Read the DMI data from a binary file\n" + " --no-sysfs Do not attempt to read DMI data from sysfs files\n" " -V, --version Display the version and exit\n"; printf("%s", help); ++ dmidecode-02-fix-no-smbios-nor-dmi-entry-point-found-on-smbios3.patch ++ From: Xie XiuQi Date: Wed, 21 Oct 2015 15:12:50 +0200 Subject: Fix 'No SMBIOS nor DMI entry point found' on SMBIOS3 Git-commit: bf7bad24ce141dab5b5acc3ffb98ce5fe4a8e0f9 address_from_efi may return a SMBIOS or SMBIOS3 format entry point, so add this
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2015-09-13 09:44:47 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is "dmidecode" Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2015-02-27 11:03:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2015-09-13 09:44:48.0 +0200 @@ -1,0 +2,19 @@ +Thu Sep 3 10:57:15 CEST 2015 - jdelv...@suse.de + +- Update to upstream version 3.0: + * Adds support for SMBIOS 3.0. This includes a new (64-bit) entry +point format and new enumerated values for recent hardware. + * Adds support for the new kernel interface (as of Linux v4.2) as +an alternative to relying on /dev/mem to access the entry point +and DMI table. + * Adds decoding of Acer-specific DMI type 170 and HP-specific DMI +types 212, 219 and 233. + * Obsoletes dmidecode-1.173-drop-cast.patch, +dmidecode-1.175-fix-SMBIOS-2.8.0.patch, +dmidecode-1.176-SMBIOS-2.8-is-supported.patch, +dmidecode-1.177-decode-pcie3-slot-id.patch, +dmidecode-1.181-decode-CPUID-recent-AMD.patch, and +dmidecode-1.182-decode-ddr4-memory-type.patch. + * Various minor fixes and clean-ups. + +--- Old: dmidecode-1.173-drop-cast.patch dmidecode-1.175-fix-SMBIOS-2.8.0.patch dmidecode-1.176-SMBIOS-2.8-is-supported.patch dmidecode-1.177-decode-pcie3-slot-id.patch dmidecode-1.181-decode-CPUID-recent-AMD.patch dmidecode-1.182-decode-ddr4-memory-type.patch dmidecode-2.12.tar.bz2 dmidecode-2.12.tar.bz2.sig New: dmidecode-3.0.tar.xz dmidecode-3.0.tar.xz.sig Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.yjyxdi/_old 2015-09-13 09:44:49.0 +0200 +++ /var/tmp/diff_new_pack.yjyxdi/_new 2015-09-13 09:44:49.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,26 +17,21 @@ Name: dmidecode -Version:2.12 +Version:3.0 Release:0 Summary:DMI table decoder License:GPL-2.0+ Group: System/Console Url:http://www.nongnu.org/dmidecode/ -Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2 -Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2.sig +Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz +Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig # would be, but tarball is signed by someone else without signatures. # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode # Source2:%{name}.keyring -Patch1: dmidecode-1.173-drop-cast.patch -Patch2: dmidecode-1.175-fix-SMBIOS-2.8.0.patch -Patch3: dmidecode-1.176-SMBIOS-2.8-is-supported.patch -Patch4: dmidecode-1.177-decode-pcie3-slot-id.patch -Patch5: dmidecode-1.181-decode-CPUID-recent-AMD.patch -Patch6: dmidecode-1.182-decode-ddr4-memory-type.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: xz ExclusiveArch: %ix86 ia64 x86_64 %arm aarch64 %description @@ -55,12 +50,6 @@ %prep %setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags}
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2015-02-27 11:03:35 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is dmidecode Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2014-10-14 07:10:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2015-02-27 11:03:36.0 +0100 @@ -1,0 +2,13 @@ +Sun Feb 22 09:07:28 UTC 2015 - meiss...@suse.com + +- dmidecode.keyring was empty, reference the savannah keyring. + but the tarball is signed by someone unknown without gpg signatures, + so no keyring for now. + +--- +Fri Feb 20 20:55:12 UTC 2015 - mplus...@suse.com + +- Cleanup spec file with spec-cleaner +- Add gpg signature + +--- New: dmidecode-2.12.tar.bz2.sig Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.QgBX1i/_old 2015-02-27 11:03:37.0 +0100 +++ /var/tmp/diff_new_pack.QgBX1i/_new 2015-02-27 11:03:37.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,27 @@ Name: dmidecode -Url:http://www.nongnu.org/dmidecode/ Version:2.12 Release:0 -Provides: pmtools:/usr/sbin/dmidecode Summary:DMI table decoder License:GPL-2.0+ Group: System/Console -Source: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2 +Url:http://www.nongnu.org/dmidecode/ +Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2 +Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2.sig +# would be, but tarball is signed by someone else without signatures. +# https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode +# Source2:%{name}.keyring Patch1: dmidecode-1.173-drop-cast.patch Patch2: dmidecode-1.175-fix-SMBIOS-2.8.0.patch Patch3: dmidecode-1.176-SMBIOS-2.8-is-supported.patch Patch4: dmidecode-1.177-decode-pcie3-slot-id.patch Patch5: dmidecode-1.181-decode-CPUID-recent-AMD.patch Patch6: dmidecode-1.182-decode-ddr4-memory-type.patch +Provides: pmtools:%{_sbindir}/dmidecode +Obsoletes: pmtools 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 ia64 x86_64 %arm aarch64 -Obsoletes: pmtools 20071117 %description Dmidecode reports information about your system's hardware as described @@ -50,7 +54,7 @@ the BIOS told it to. %prep -%setup +%setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -59,10 +63,10 @@ %patch6 -p1 %build -make CFLAGS=$RPM_OPT_FLAGS %{?_smp_mflags} +make CFLAGS=%{optflags} %{?_smp_mflags} %install -install -dm 755 %{buildroot}/usr/sbin +install -dm 755 %{buildroot}%{_sbindir} install -dm 755 %{buildroot}%{_mandir}/man8 install -dm 755 %{buildroot}%{_docdir}/%{name} %ifarch ia64 %arm aarch64 @@ -70,15 +74,15 @@ %else for i in dmidecode vpddecode ownership biosdecode ; do %endif -install -m 755 $i %{buildroot}/usr/sbin/ +install -m 755 $i %{buildroot}%{_sbindir}/ install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/ install -m 644 AUTHORS CHANGELOG LICENSE README %{buildroot}%{_docdir}/%{name}/ done %files %defattr(-,root,root) -/usr/sbin/* +%{_sbindir}/* %doc %{_docdir}/%{name} -/%{_mandir}/man8/* +%{_mandir}/man8/* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2014-10-14 07:10:06 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is dmidecode Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2014-01-14 21:45:48.0 +0100 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2014-10-14 07:10:23.0 +0200 @@ -1,0 +2,9 @@ +Mon Oct 13 14:00:09 CEST 2014 - jdelv...@suse.de + +- dmidecode-1.181-decode-CPUID-recent-AMD.patch: Decode the CPUID + of recent AMD processors (DMI type 4). +- dmidecode-1.182-decode-ddr4-memory-type.patch: Add support for + DDR4 memory type (DMI type 17). + https://savannah.nongnu.org/bugs/?43370 + +--- New: dmidecode-1.181-decode-CPUID-recent-AMD.patch dmidecode-1.182-decode-ddr4-memory-type.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.a74TRg/_old 2014-10-14 07:10:23.0 +0200 +++ /var/tmp/diff_new_pack.a74TRg/_new 2014-10-14 07:10:23.0 +0200 @@ -29,6 +29,8 @@ Patch2: dmidecode-1.175-fix-SMBIOS-2.8.0.patch Patch3: dmidecode-1.176-SMBIOS-2.8-is-supported.patch Patch4: dmidecode-1.177-decode-pcie3-slot-id.patch +Patch5: dmidecode-1.181-decode-CPUID-recent-AMD.patch +Patch6: dmidecode-1.182-decode-ddr4-memory-type.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 ia64 x86_64 %arm aarch64 Obsoletes: pmtools 20071117 @@ -53,6 +55,8 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 +%patch6 -p1 %build make CFLAGS=$RPM_OPT_FLAGS %{?_smp_mflags} ++ dmidecode-1.181-decode-CPUID-recent-AMD.patch ++ Subject: Decode the CPUID of recent AMD processors Upstream: yes, 1.181 --- dmidecode.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -1012,11 +1012,11 @@ static void dmi_processor_id(u8 type, co sig = 1; else if ((type = 0x18 type = 0x1D) /* AMD */ || type == 0x1F /* AMD */ - || (type = 0x38 type = 0x3E) /* AMD */ - || (type = 0x46 type = 0x49) /* AMD */ + || (type = 0x38 type = 0x3F) /* AMD */ + || (type = 0x46 type = 0x4F) /* AMD */ || (type = 0x83 type = 0x8F) /* AMD */ || (type = 0xB6 type = 0xB7) /* AMD */ - || (type = 0xE6 type = 0xEF)) /* AMD */ + || (type = 0xE4 type = 0xEF)) /* AMD */ sig = 2; else if (type == 0x01 || type == 0x02) { ++ dmidecode-1.182-decode-ddr4-memory-type.patch ++ Subject: Add support for DDR4 memory type Upstream: yes, 1.182 References: savannah#43370 Patch from Tomohiro Kimura. The value was taken from preliminary SMBIOS specification version 3.0.0d. This closes bug #43370. --- dmidecode.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -2311,10 +2311,11 @@ static const char *dmi_memory_device_typ Reserved, Reserved, DDR3, - FBD2, /* 0x19 */ + FBD2, + DDR4 /* 0x1A */ }; - if (code = 0x01 code = 0x19) + if (code = 0x01 code = 0x1A) return type[code - 0x01]; return out_of_spec; } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2014-01-14 21:45:47 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is dmidecode Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2013-04-26 19:20:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2014-01-14 21:45:48.0 +0100 @@ -1,0 +2,10 @@ +Mon Jan 13 17:31:16 CET 2014 - jdelv...@suse.de + +- dmidecode-1.176-SMBIOS-2.8-is-supported.patch: Bump + SUPPORTED_SMBIOS_VER so that SMBIOS 2.8 implementations don't + trigger a warning. +- dmidecode-1.177-decode-pcie3-slot-id.patch: Decode ID of PCI + Express 3 slots (DMI type 9.) + https://savannah.nongnu.org/bugs/?40178 + +--- New: dmidecode-1.176-SMBIOS-2.8-is-supported.patch dmidecode-1.177-decode-pcie3-slot-id.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.sUpZmq/_old 2014-01-14 21:45:49.0 +0100 +++ /var/tmp/diff_new_pack.sUpZmq/_new 2014-01-14 21:45:49.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -27,6 +27,8 @@ Source: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2 Patch1: dmidecode-1.173-drop-cast.patch Patch2: dmidecode-1.175-fix-SMBIOS-2.8.0.patch +Patch3: dmidecode-1.176-SMBIOS-2.8-is-supported.patch +Patch4: dmidecode-1.177-decode-pcie3-slot-id.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 ia64 x86_64 %arm aarch64 Obsoletes: pmtools 20071117 @@ -49,6 +51,8 @@ %setup %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build make CFLAGS=$RPM_OPT_FLAGS %{?_smp_mflags} ++ dmidecode-1.176-SMBIOS-2.8-is-supported.patch ++ Subject: Bump SUPPORTED_SMBIOS_VER to 0x0208 Upstream: yes, 1.176 Bump SUPPORTED_SMBIOS_VER so that SMBIOS 2.8 implementations don't trigger a warning. --- dmidecode.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -69,7 +69,7 @@ #define out_of_spec OUT OF SPEC static const char *bad_index = BAD INDEX; -#define SUPPORTED_SMBIOS_VER 0x0207 +#define SUPPORTED_SMBIOS_VER 0x0208 /* * Type-independant Stuff ++ dmidecode-1.177-decode-pcie3-slot-id.patch ++ Subject: Decode ID of PCI Express 3 slots Upstream: yes, 1.177 dmidecode.c: Decode ID of PCI Express 3 slots (DMI type 9). This fixes Savannah bug #40178: https://savannah.nongnu.org/bugs/?40178 --- dmidecode.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -2,7 +2,7 @@ * DMI Decode * * Copyright (C) 2000-2002 Alan Cox a...@redhat.com - * Copyright (C) 2002-2010 Jean Delvare kh...@linux-fr.org + * Copyright (C) 2002-2014 Jean Delvare jdelv...@suse.de * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1697,6 +1697,10 @@ static const char *dmi_slot_type(u8 code PCI Express 3 x8, PCI Express 3 x16 /* 0xB6 */ }; + /* +* Note to developers: when adding entries to these lists, check if +* function dmi_slot_id below needs updating too. +*/ if (code = 0x01 code = 0x13) return type[code - 0x01]; @@ -1790,6 +1794,12 @@ static void dmi_slot_id(u8 code1, u8 cod case 0xAE: /* PCI Express 2 */ case 0xAF: /* PCI Express 2 */ case 0xB0: /* PCI Express 2 */ + case 0xB1: /* PCI Express 3 */ + case 0xB2: /* PCI Express 3 */ + case 0xB3: /* PCI Express 3 */ + case 0xB4: /* PCI Express 3 */ + case 0xB5: /* PCI Express 3 */ + case 0xB6: /* PCI Express 3 */ printf(%sID: %u\n, prefix, code1); break; case 0x07: /* PCMCIA */ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2013-04-26 19:20:25 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is dmidecode, Maintainer is jdelv...@suse.com Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2013-04-26 12:37:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2013-04-26 19:20:27.0 +0200 @@ -1,0 +2,5 @@ +Fri Apr 26 12:37:12 UTC 2013 - guilla...@opensuse.org + +- Enable build for ARM + +--- Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.JwmwYt/_old 2013-04-26 19:20:29.0 +0200 +++ /var/tmp/diff_new_pack.JwmwYt/_new 2013-04-26 19:20:29.0 +0200 @@ -28,7 +28,7 @@ Patch1: dmidecode-1.173-drop-cast.patch Patch2: dmidecode-1.175-fix-SMBIOS-2.8.0.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 +ExclusiveArch: %ix86 ia64 x86_64 %arm aarch64 Obsoletes: pmtools 20071117 %description @@ -57,7 +57,7 @@ install -dm 755 %{buildroot}/usr/sbin install -dm 755 %{buildroot}%{_mandir}/man8 install -dm 755 %{buildroot}%{_docdir}/%{name} -%ifarch ia64 +%ifarch ia64 %arm aarch64 for i in dmidecode ; do %else for i in dmidecode vpddecode ownership biosdecode ; do -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2013-04-26 07:13:36 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is dmidecode, Maintainer is jdelv...@suse.com Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2013-03-26 06:59:48.0 +0100 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2013-04-26 07:13:41.0 +0200 @@ -1,0 +2,15 @@ +Wed Apr 24 22:07:43 CEST 2013 - jdelv...@suse.de + +- Update to upstream version 2.12: + * Adds support for SMBIOS 2.8. This includes new enumerated +values for recent hardware. + * Obsoletes dmidecode-add-SMBIOS-2_7_1-support.patch and +dmidecode-fix-memory-array-location-overrun.patch. + * Various minor fixes and clean-ups. +- dmidecode-1.173-drop-cast.patch: Drop unneeded and possibly + dangerous cast. +- dmidecode-1.175-fix-SMBIOS-2.8.0.patch: Fix support for new + processor upgrade types (DMI type 4) and new memory device type + (DMI type 17.) + +--- Old: dmidecode-2.11.tar.bz2 dmidecode-add-SMBIOS-2_7_1-support.patch dmidecode-fix-memory-array-location-overrun.patch New: dmidecode-1.173-drop-cast.patch dmidecode-1.175-fix-SMBIOS-2.8.0.patch dmidecode-2.12.tar.bz2 Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.TNtslc/_old 2013-04-26 07:13:46.0 +0200 +++ /var/tmp/diff_new_pack.TNtslc/_new 2013-04-26 07:13:46.0 +0200 @@ -18,15 +18,15 @@ Name: dmidecode Url:http://www.nongnu.org/dmidecode/ -Version:2.11 +Version:2.12 Release:0 Provides: pmtools:/usr/sbin/dmidecode Summary:DMI table decoder License:GPL-2.0+ Group: System/Console Source: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2 -Patch1: dmidecode-fix-memory-array-location-overrun.patch -Patch2: dmidecode-add-SMBIOS-2_7_1-support.patch +Patch1: dmidecode-1.173-drop-cast.patch +Patch2: dmidecode-1.175-fix-SMBIOS-2.8.0.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 ia64 x86_64 Obsoletes: pmtools 20071117 ++ dmidecode-1.173-drop-cast.patch ++ Subject: Drop unneeded and possibly dangerous cast Upstream: yes, 1.173 --- dmidecode.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- dmidecode-2.12.orig/dmidecode.c +++ dmidecode-2.12/dmidecode.c @@ -2236,7 +2236,7 @@ static void dmi_memory_voltage_value(u16 if (code == 0) printf( Unknown); else - printf( %.3f V, (float)(i16)code / 1000); + printf( %.3f V, (float)code / 1000); } static const char *dmi_memory_device_form_factor(u8 code) ++ dmidecode-1.175-fix-SMBIOS-2.8.0.patch ++ Subject: Fix SMBIOS 2.8.0 support Upstream: yes, 1.175 Fix support for new processor upgrade types (DMI type 4) and new memory device type (DMI type 17.) --- dmidecode.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -712,7 +712,6 @@ static const char *dmi_processor_family( { 0x3D, Opteron 6200 }, { 0x3E, Opteron 4200 }, { 0x3F, FX }, - { 0x40, MIPS }, { 0x41, MIPS R4000 }, { 0x42, MIPS R4200 }, @@ -729,7 +728,6 @@ static const char *dmi_processor_family( { 0x4D, Opteron 6300 }, { 0x4E, Opteron 3300 }, { 0x4F, FirePro }, - { 0x50, SPARC }, { 0x51, SuperSPARC }, { 0x52, MicroSPARC II }, @@ -1176,7 +1174,7 @@ static const char *dmi_processor_upgrade Socket LGA1356-3 /* 0x2C */ }; - if (code = 0x01 code = 0x2A) + if (code = 0x01 code = 0x2C) return upgrade[code - 0x01]; return out_of_spec; } @@ -2338,7 +2336,7 @@ static void dmi_memory_device_type_detai { int i; - for (i = 1; i = 14; i++) + for (i = 1; i = 15; i++) if (code (1 i)) printf( %s, detail[i - 1]); } ++ dmidecode-2.11.tar.bz2 - dmidecode-2.12.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dmidecode-2.11/AUTHORS new/dmidecode-2.12/AUTHORS --- old/dmidecode-2.11/AUTHORS 2010-11-24 10:29:09.0 +0100 +++ new/dmidecode-2.12/AUTHORS 2012-03-12 08:49:07.0 +0100 @@ -81,3 +81,6 @@
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2013-03-26 06:59:47 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is dmidecode, Maintainer is jdelv...@suse.com Changes: --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2011-10-21 16:28:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2013-03-26 06:59:48.0 +0100 @@ -1,0 +2,6 @@ +Mon Mar 25 15:09:35 UTC 2013 - mmeis...@suse.com + +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +--- Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.KPzwcj/_old 2013-03-26 06:59:49.0 +0100 +++ /var/tmp/diff_new_pack.KPzwcj/_new 2013-03-26 06:59:49.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmidecode # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -16,16 +16,15 @@ # - Name: dmidecode Url:http://www.nongnu.org/dmidecode/ Version:2.11 -Release:18 -License:GPL-2.0+ -Group: System/Console +Release:0 Provides: pmtools:/usr/sbin/dmidecode Summary:DMI table decoder -Source: %{name}-%{version}.tar.bz2 +License:GPL-2.0+ +Group: System/Console +Source: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2 Patch1: dmidecode-fix-memory-array-location-overrun.patch Patch2: dmidecode-add-SMBIOS-2_7_1-support.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2011-12-06 18:06:31 Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) Package is dmidecode, Maintainer is jdelv...@suse.com Changes: Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.KVmyYo/_old 2011-12-06 18:10:44.0 +0100 +++ /var/tmp/diff_new_pack.KVmyYo/_new 2011-12-06 18:10:44.0 +0100 @@ -21,7 +21,7 @@ Url:http://www.nongnu.org/dmidecode/ Version:2.11 Release:18 -License:GPLv2+ +License:GPL-2.0+ Group: System/Console Provides: pmtools:/usr/sbin/dmidecode Summary:DMI table decoder -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at Thu Apr 14 09:10:20 CEST 2011. --- dmidecode/dmidecode.changes 2011-01-25 18:02:52.0 +0100 +++ /mounts/work_src_done/STABLE/dmidecode/dmidecode.changes2011-04-13 17:46:29.0 +0200 @@ -1,0 +2,6 @@ +Wed Apr 13 17:45:35 CEST 2011 - jdelv...@suse.de + +- dmidecode-add-SMBIOS-2_7_1-support.patch: Add enumerated values + from SMBIOS 2.7.1. + +--- calling whatdependson for head-i586 New: dmidecode-add-SMBIOS-2_7_1-support.patch Other differences: -- ++ dmidecode.spec ++ --- /var/tmp/diff_new_pack.BWaO5t/_old 2011-04-14 09:09:38.0 +0200 +++ /var/tmp/diff_new_pack.BWaO5t/_new 2011-04-14 09:09:38.0 +0200 @@ -21,7 +21,7 @@ Name: dmidecode Url:http://www.nongnu.org/dmidecode/ Version:2.11 -Release:2 +Release:18 License:GPLv2+ Group: System/Console Provides: pmtools:/usr/sbin/dmidecode @@ -29,6 +29,7 @@ Summary:DMI table decoder Source: %{name}-%{version}.tar.bz2 Patch1: dmidecode-fix-memory-array-location-overrun.patch +Patch2: dmidecode-add-SMBIOS-2_7_1-support.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 ia64 x86_64 Obsoletes: pmtools 20071117 @@ -50,6 +51,7 @@ %prep %setup %patch1 -p1 +%patch2 -p1 %build make CFLAGS=$RPM_OPT_FLAGS ++ dmidecode-add-SMBIOS-2_7_1-support.patch ++ Add support for SMBIOS 2.7.1: * 6 new AMD processor families * 1 new cache associativity value * PCI Express 3 slot types --- dmidecode.c | 38 +++--- 1 file changed, 31 insertions(+), 7 deletions(-) --- dmidecode.orig/dmidecode.c 2011-01-25 17:10:05.0 +0100 +++ dmidecode/dmidecode.c 2011-04-13 16:10:39.0 +0200 @@ -707,6 +707,8 @@ static const char *dmi_processor_family( { 0x3A, Athlon II Dual-Core M }, { 0x3B, Opteron 6100 }, { 0x3C, Opteron 4100 }, + { 0x3D, Opteron 6200 }, + { 0x3E, Opteron 4200 }, { 0x40, MIPS }, { 0x41, MIPS R4000 }, @@ -714,6 +716,10 @@ static const char *dmi_processor_family( { 0x43, MIPS R4400 }, { 0x44, MIPS R4600 }, { 0x45, MIPS R1 }, + { 0x46, C-Series }, + { 0x47, E-Series }, + { 0x48, S-Series }, + { 0x49, G-Series }, { 0x50, SPARC }, { 0x51, SuperSPARC }, @@ -997,7 +1003,8 @@ static void dmi_processor_id(u8 type, co sig = 1; else if ((type = 0x18 type = 0x1D) /* AMD */ || type == 0x1F /* AMD */ - || (type = 0x38 type = 0x3C) /* AMD */ + || (type = 0x38 type = 0x3E) /* AMD */ + || (type = 0x46 type = 0x49) /* AMD */ || (type = 0x83 type = 0x8F) /* AMD */ || (type = 0xB6 type = 0xB7) /* AMD */ || (type = 0xE6 type = 0xEF)) /* AMD */ @@ -1143,10 +1150,20 @@ static const char *dmi_processor_upgrade Socket LGA1156, Socket LGA1567, Socket PGA988A, - Socket BGA1288 /* 0x20 */ + Socket BGA1288, + Socket rPGA988B, + Socket BGA1023, + Socket BGA1024, + Socket BGA1155, + Socket LGA1356, + Socket LGA2011, + Socket FS1, + Socket FS2, + Socket FM1, + Socket FM2 /* 0x2A */ }; - if (code = 0x01 code = 0x20) + if (code = 0x01 code = 0x2A) return upgrade[code - 0x01]; return out_of_spec; } @@ -1493,10 +1510,11 @@ static const char *dmi_cache_associativi 24-way Set-associative, 32-way Set-associative, 48-way Set-associative, - 64-way Set-associative /* 0x0D */ + 64-way Set-associative, + 20-way Set-associative /* 0x0E */ }; - if (code = 0x01 code = 0x0D) + if (code = 0x01 code = 0x0E) return type[code - 0x01]; return out_of_spec; } @@ -1660,12 +1678,18 @@ static const char *dmi_slot_type(u8 code PCI Express 2 x2, PCI Express 2 x4, PCI Express 2 x8, - PCI Express 2 x16, /* 0xB0 */ + PCI Express 2 x16, + PCI Express 3, + PCI Express 3 x1, + PCI Express 3 x2, + PCI Express 3 x4, + PCI Express 3 x8, + PCI Express 3 x16 /* 0xB6 */ }; if (code =