Commit graph

36 commits

Author SHA1 Message Date
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
rillig
9cc0c5e45d sysutils: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

Manually excluded consolekit and dc-tools since pkglint didn't get the
formatting correct.
2019-11-04 21:28:40 +00:00
msaitoh
427414b703 Add an officially recommended patch to sysutils/dmidecode:
2019-10-15: Fix System Slot Information for PCIe SSD

	Output for type 9 show <out of spec> for PCIe SSD. SMBIOS spec table
	48 describes 2.5" and 3.5" PCIe SSD formats.
2019-10-29 17:27:51 +00:00
msaitoh
5c91646cd1 Add two officially recommended patch to sysutils/dmidecode:
2019-08-26: 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

2019-08-26: Fix formatting of TPM table output

	Added missing newlines.

	Fixes: 48a8132058a0 ("dmidecode: Add support for structure type 43
	(TPM Device)")
2019-08-30 04:09:54 +00:00
msaitoh
947c00df89 Add an officially recommended patch to sysutils/dmidecode:
2019-01-16: Add "Logical non-volatile device" to the memory device types

	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 <OUT OF SPEC>. Fix the problem by adding
	the missing enumerated value.
2019-01-18 02:52:09 +00:00
jmcneill
557a9b6d35 Add aarch64 support. 2018-10-23 10:16:12 +00:00
msaitoh
76b8457bec Add an officially recommended patch to sysutils/dmidecode:
2018-10-22	Fix Redfish Hostname print length.
2018-10-23 03:32:03 +00:00
msaitoh
30c375b1e9 Update sysutils/dmidecode to 3.2
Changes from 3.1:
Version 3.2 (Wed Sep 14 2018)
  - [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).
2018-10-12 10:08:00 +00:00
msaitoh
ef37cd41df Add two officially recommended patch to sysutils/dmidecode
2018-08-01: Avoid OOB read on invalid entry point length

	Don't let the entry point checksum verification run beyond the end
	of the buffer holding it (32 bytes). This bug was discovered by
	Lionel Debroux using the AFL fuzzer and AddressSanitizer.
	Signed-off-by: Jean Delvare <jdelvare@suse.de>

2018-08-01: Validate structure completeness before decoding

	Ensure that the whole DMI structure fits in the announced table
	length before performing any action on it. Otherwise we might end
	up reading beyond the end of our memory buffer. This bug was
	discovered by Lionel Debroux using the AFL fuzzer and
	AddressSanitizer. Its probability is very low, as it requires a DMI
	table corrupted in one of two very specific ways to trigger. This
	bug exists since dmidecode version 2.9, although it is hard to
	test because option --from-dump was only introduced in version
	2.10.
	Signed-off-by: Jean Delvare <jdelvare@suse.de>
2018-08-02 02:45:50 +00:00
msaitoh
0a6cf4b28c Add two officially recommended patch to sysutils/dmidecode.
2017-09-14: Reflect HPE's new company name

	After Hewlett Packard Enterprise split from Hewlett-Packard, DMI OEM
	tables reflect the new company name.  Gen10 and subsequent systems will
	use HPE.  Gen9 and prior systems continue to use the old "HP" name.

2018-04-11: decode HPE UEFI type 219 Misc Features

	The incorrect "Misc Feature" bit in type 219 table was being used to
	identify that the platform is capable of booting with UEFI.
2018-05-16 05:10:30 +00:00
msaitoh
350fbb62fe Add an officially recommended patch to sysutils/dmidecode.
2018-01-31:
	Fix firmware version of TPM device. Both the operator
	(detected by clang, reported by Xorg) and the mask for the minor
	firmware version field of TPM devices were wrong.
2018-02-01 04:08:44 +00:00
msaitoh
83e73f7030 Update dmidecode to 3.1.
CHANGES from 3.0:
-----
2015-09-03  Jean Delvare  <jdelvare@suse.de>

	* version.h: Set version to 3.1.

2017-05-23  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c, dmiopt.c: Add a new option to extract OEM strings, like
	  we already have for many other strings.
	* dmidecode.8: Document the new option.

2017-04-27  Jean Delvare  <jdelvare@suse.de>

	Update to support SMBIOS specification version 3.1.1.

	* dmidecode.c: Add support for 3-digit versions.
	* dmidecode.c: Add new enumerated values for processors (DMI type 4).

2017-04-27  Jean Delvare  <jdelvare@suse.de>

	Update to support SMBIOS specification version 3.1.0.

	* dmidecode.c: Add support for extended BIOS ROM size (DMI type 0).
	* dmidecode.c: Add new enumerated values for chassis types
	  (DMI type 3).
	* dmidecode.c: Add new enumerated values for processors (DMI type 4).
	* dmidecode.c: Don't assume 8-bit processor family in dmi_processor_id
	  (DMI type 4).
	* dmidecode.c: Decode the MIDR register on ARM processors
	  (DMI type 4).
	* dmidecode.c: Add support for large cache sizes (DMI type 7).
	* dmidecode.c: Add Mini PCIe system slot enumerated values
	  (DMI type 9).
	* dmidecode.c: Clarify the memory speed unit (DMI type 17).
	* dmidecode.c: Add support for structure type 43 (TPM Device).

2017-04-11  Jean Delvare  <jdelvare@suse.de>

	* util.c: Don't leak a file descriptor in function read_file.
	* util.c, util.c, dmidecode.c: Let callers pass an offset to function
	  read_file.
	* dmidecode.c: Fix reading from SMBIOS 3 dump files using a 64-bit
	  entry point.

2017-04-10  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Decode the processor ID of the Intel Core M, AMD
	  Athlon X4 and AMD Opteron X1000/X2000 processors (DMI type 4).
	* dmidecode.c: Display the IPMI interrupt number as a decimal
	  number (DMI type 38).

2017-01-20  Jean Delvare  <jdelvare@suse.de>

	* biosdecode.c: Decode the entry point defined in the Intel
	  Multiprocessor specification.

2017-01-20  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Only decode one DMI table.
	  This fixes Savannah bug #50022:
	  https://savannah.nongnu.org/bugs/?50022

2016-09-22  Jean Delvare  <jdelvare@suse.de>

	* README: Explain that we can no longer support Cygwin.

2016-06-30  Petr Oros  <poros@redhat.com>

	* dmidecode.c: Unmask LRDIMM in memory type detail (DMI type 17).

2015-11-02  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c, util.c, util.h: Let read_file return the actual data
	  size.
	* dmidecode.c: Use read_file to read the DMI table from sysfs.
	  This fixes Savannah bug #46176:
	  https://savannah.nongnu.org/bugs/?46176
	* dmidecode.c: Check the sysfs entry point length.

2015-10-21  Xie XiuQi  <xiexiuqi@huawei.com>

	* dmidecode.c: Handle SMBIOS 3.0 entry points on EFI systems.

2015-10-20  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Handle OEM-specific types in group associations
	  (DMI type 14).

2015-10-14  Jean Delvare  <jdelvare@suse.de>

	* util.c: Avoid SIGBUS on mmap failure.
	  This fixes Savannah bug #46066:
	  https://savannah.nongnu.org/bugs/?46066
	* util.c: Fix error paths in mem_chunk.

2015-10-01  Roy Franz  <roy.franz@linaro.org>

	* dmiopt.c: Add "--no-sysfs" option description to -h output.
2017-08-04 07:59:52 +00:00
msaitoh
54e91c2758 Add 8 offcially recommended patches to dmidecode-3.0:
2017-01-20  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Only decode one DMI table.
	  This fixes Savannah bug #50022:
	  https://savannah.nongnu.org/bugs/?50022

2016-06-30  Petr Oros  <poros@redhat.com>

	* dmidecode.c: Unmask LRDIMM in memory type detail (DMI type 17).

2015-11-02  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c, util.c, util.h: Let read_file return the actual data
	  size.
	* dmidecode.c: Use read_file to read the DMI table from sysfs.
	  This fixes Savannah bug #46176:
	  https://savannah.nongnu.org/bugs/?46176

2015-10-21  Xie XiuQi  <xiexiuqi@huawei.com>

	* dmidecode.c: Handle SMBIOS 3.0 entry points on EFI systems.

2015-10-01  Roy Franz  <roy.franz@linaro.org>

	* dmiopt.c: Add "--no-sysfs" option description to -h output.
2017-01-23 15:55:55 +00:00
msaitoh
dd21cc2625 Update dmidecode to 3.0.
Change MAINTAINER from shattered@ to msaitoh@. OK'ed by shattered.

CHANGES from 2.1.2:
2015-09-03  Jean Delvare  <jdelvare@suse.de>

	* version.h: Set version to 3.0.

2015-08-04  Tyler Bell  <tyler.bell@hp.com>

	* dmioem.c: Decode HP-specific DMI type 233
	* dmioem.c: Refactored HP-specific types 209 and 221 to use common code
	* dmioem.c: Documented spec for HP-specific types 209, 221 and 233

2015-05-21  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Fix up invalid DMI type 34 structure length.
	* dmioem.c: Decode HP-specific DMI types 212 and 219.
	* dmioem.c: Move function is_printable to dmidecode.c.

2015-05-13  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Add support for SMBIOS3 EFI table.
	* dmidecode.c: Fix warnings about comparison between signed and
	  unsigned integers.
	* util.c: Fix warnings about unused labels when building without
	  -DUSE_MMAP.
	* dmioem.c: Strip spaces at the end of vendor names.
	* dmioem.c: Decode Acer-specific DMI type 170.

2015-05-12  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Remove extra blank line after hidden DMI type 40
	  structure.

2015-05-04  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Move table decoding to a separate function.
	* dmidecode.c: Simplify function dmi_table_dump.
	* dmidecode.c: Display types 41 and 42 in quiet mode too.
	* dmidecode.c: Get OEM vendor from System Information (DMI type 1).

2015-04-28  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.h, dmiopt.h: Fix sparse errors.
	* biosdecode.c, dmiopt.c, ownership.c, vpdopt.c: Fix sparse warnings.
	* util.c: Fix sparse warning.

2015-04-27  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Fix --dump-bin when reading from sysfs.

2015-04-27  Jean Delvare  <jdelvare@suse.de>

	Update to support SMBIOS specification version 3.0.0.

	* dmidecode.c: Add support for the new _SM3_ 64-bit entry point
	  defined in the SMBIOS specification version 3.0.0, including
	  support of 64-bit addresses and 32-bit table lengths.
	* dmidecode.c: Add 3 new chassis types (DMI type 3).
	* dmidecode.c: Add 4 new processor families (DMI type 4).
	* dmidecode.c: Add 4 new Intel socket types (DMI type 4).
	* dmidecode.c: Add 13 new slot types (DMI type 9).
	* dmidecode.c: Add 4 new memory device types (DMI type 17).
	* dmidecode.c: Add support for processors with more than 255 cores
	  or threads (DMI type 4).
	* dmidecode.c: Stop decoding v3 tables at End-of-Table marker.

2015-04-21  Roy Franz  <roy.franz@linaro.org>

	* util.c, util.h: Add utility function read_file, which reads an
	  entire binary file into a buffer.
	* dmidecode.c: Add passing of flags parameter to dmi_table.
	* dmidecode.c: Add reading of SMBIOS tables from sysfs.
	* dmidecode.c, dmiopt.c, dmiopt.h: Add --no-sysfs option to disable
	  use of sysfs.
	* dmidecode.8: Document the changes above.

2015-04-20  Jean Delvare  <jdelvare@suse.de>

	* biosdecode.c: Add support for the _SM3_ entry point, as defined in
	  the SMBIOS 3.0.0 specification.

2014-11-14  Jean Delvare  <jdelvare@suse.de>

	* man/dmidecode.8: Add a note about DMI strings available from sysfs
	  on Linux.

2014-10-13  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Add support for DDR4 (DMI type 17). Patch from Tomohiro
	  Kimura. The value was taken from preliminary SMBIOS specification
	  version 3.0.0d.
	  This fixes Savannah bug #43370:
	  https://savannah.nongnu.org/bugs/?43370

2014-07-11  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Decode the CPUID of recent AMD processors (DMI type 4).

2014-03-20  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Let legacy_decode be quiet in dump mode too.
	* dmidecode.c: Skip the SMBIOS version comparison in quiet mode.
	  Patch from Jens Rosenboom.

2014-02-25  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Fix spacing of memory module voltage attributes
	  (DMI type 17).

2014-01-13  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Decode ID of PCI Express 3 slots (DMI type 9).
	  This fixes Savannah bug #40178:
	  https://savannah.nongnu.org/bugs/?40178

2014-01-13  Jean Delvare  <jdelvare@suse.de>

	* LICENSE: Update to the latest upstream version. Amongst other
	  things, this fixes the FSF address.

2013-04-24  Jean Delvare  <jdelvare@suse.de>

	* dmidecode.c: Strip trailing zeroes from memory voltage values
	  (DMI type 17).
	* dmidecode.c: Fix support for new processor upgrade types (DMI
	  type 4) and new memory device type (DMI type 17.)
2016-08-03 04:18:33 +00:00
khorben
0f92775eca Add support for CFLAGS and LDFLAGS
This fixes the build with PKGSRC_MKPIE.
2016-04-18 15:29:38 +00:00
agc
17886c78da Add SHA512 digests for distfiles for sysutils category
Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:32:05 +00:00
shattered
a29b407a89 Update to 2.12. Changes:
Update to support SMBIOS specification version 2.8.0.
2013-05-19 11:07:26 +00:00
asau
54c5cd959e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 19:50:50 +00:00
shattered
fe3315bb85 Set LICENSE. 2012-03-10 13:20:10 +00:00
hans
ff8fc2b050 Fix build on SunOS.
The makefile uses uname -m to decide which programs to build on i386 vs.
x86_64 (and then builds the same programs on both, but thats a different
story). Teach it about i86pc, which is what SunOS usually returns on an
x86 machine.
2012-02-20 17:27:33 +00:00
shattered
e60f61aae4 Update dmidecode to 2.11. Changes:
"Support for SMBIOS 2.6.1 and 2.7 was added. This includes new enumerated values
for recent hardware, as well as support for large memory modules and arrays, and
a new entry type for management controller host interfaces. Additionally, many
minor bugs were fixed."
2011-02-12 11:09:30 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
shattered
5cd10c8d18 Change maintainer email to my NetBSD.org alias. At the same time, disown
games/adom -- I don't use (play :-) it these days.
2009-01-04 14:08:14 +00:00
obache
2f14281c30 Update dmidecode to 2.10.
Patch provided by Sergey Svishchev via PR 40104.

dmidecode:
* Support for Solaris (x86 only, of course).
* Possibility to dump the SMBIOS/DMI table to a small binary file
  (option --dump-bin).
* Possibility to read the SMBIOS/DMI table from such binary files
  (option --from-dump).
* Support for SMBIOS 2.6. This includes new chassis types, new
  processor family names, new processor family upgrade names, bus
  address for system slots, and a new entry type for on-board devices,
  amongst many other minor changes.
* Support for DMI entry type 31 (Boot integrity services).
* Many processor family names taken from the CIM Schema document.

vpddecode:
* No longer ask users to report broken records.
* Fix --quiet option.
2008-12-06 11:36:41 +00:00
xtraeme
b2d9ffca0d Update to 2.9:
Update to support SMBIOS specification version 2.5 and others, please
review CHANGELOG for the full list of changes.
2007-09-05 21:48:39 +00:00
joerg
adbf8e2109 Supports DESTDIR installation. 2007-08-10 23:25:02 +00:00
wiz
41c43e5bda regen patch-aa (fixing pkglint warning). From MAINTAINER. 2006-12-23 10:30:59 +00:00
wiz
d9f8700ce2 Update to 2.8, provided by Sergey Svishchev:
Version 2.8 of dmidecode adds a new command line interface and many BIOS
IDs to vpddecode, and a few new --string options to dmidecode.
2006-07-17 18:38:43 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
reed
2285c58571 Update to 2.7. This is from Nicolas Joly via PR# 31529.
And okayed by maintainer.

Many changes, see CHANGELOG for all. Here are some highlights:
        * dmidecode.c: Add option -u, --dump. It disables decoding of the
          entries, raw dumps are displayed instead. This option is mainly
          intended for debugging.
        * vpddecode.c: Add option -u, --dump. It disables decoding of the
          VPD records, a raw dump is displayed instead. This option is
          mainly intended for debugging.
        * dmidecode.c: Add option -t, --type. It limits the output to
          the given type(s) of DMI entries.
        * dmiopt.c: Define keywords to be used with --type (instead of
          numeric values).
        * dmidecode.c, dmiopt.c, dmiopt.h: Add option -q, --quiet. It
          makes the output less verbose.
        * dmidecode.c, dmiopt.c, dmiopt.h: Add option -s, --string. It
          prints one selected DMI string instead of the regular output.

This also installs AUTHORS, CHANGELOG, and README.
And I added "@dirrm share/doc/dmidecode" to PLIST.

patch-aa to use PKGMANDIR and also sets docdir.
2005-10-29 15:32:04 +00:00
wiz
3155762e6c Update to 2.6, provided by Nicolas Joly in PR 30342.
Changes: bugfixes and more IDs. BeOS support.
2005-05-26 13:53:33 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
hubertf
9a981bcfbe Sign over maintainership to tech-pkg@ 2005-02-21 20:26:08 +00:00
wiz
22fd8c1823 Fix typo in ONLY_FOR_PLATFORM to enable it for amd64.
From Nicolas Joly in PR 29264.
2005-02-07 12:42:20 +00:00
hubertf
ff9e436074 Import dmidecode-2.5: Print out DMI (SMBIOS) table in human-readable format
Dmidecode is a tool for dumping a computer's DMI (some say SMBIOS)
table contents in a human-readable format. This table contains a
description of the system's hardware components, as well as other
useful pieces of information such as serial numbers and BIOS
revision.
2005-01-12 00:00:36 +00:00