pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/dmidecode dmidecode: Use /dev/smbios instead ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3185e5856c9
branches:  trunk
changeset: 456274:f3185e5856c9
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat Jul 24 13:23:52 2021 +0000

description:
dmidecode: Use /dev/smbios instead of /dev/mem on NetBSD aarch64.

Removes dependency on options INSECURE. Bump pkg revision.

diffstat:

 sysutils/dmidecode/Makefile               |   4 ++--
 sysutils/dmidecode/distinfo               |   3 ++-
 sysutils/dmidecode/patches/patch-config.h |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r acaafbca1fa9 -r f3185e5856c9 sysutils/dmidecode/Makefile
--- a/sysutils/dmidecode/Makefile       Sat Jul 24 11:50:28 2021 +0000
+++ b/sysutils/dmidecode/Makefile       Sat Jul 24 13:23:52 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.35 2021/04/25 07:51:25 mrg Exp $
+# $NetBSD: Makefile,v 1.36 2021/07/24 13:23:52 jmcneill Exp $
 #
 
 DISTNAME=      dmidecode-3.3
-PKGREVISION=   1
+PKGREVISION=   2
 EXTRACT_SUFX=  .tar.xz
 CATEGORIES=    sysutils
 MASTER_SITES=  https://download.savannah.gnu.org/releases/dmidecode/
diff -r acaafbca1fa9 -r f3185e5856c9 sysutils/dmidecode/distinfo
--- a/sysutils/dmidecode/distinfo       Sat Jul 24 11:50:28 2021 +0000
+++ b/sysutils/dmidecode/distinfo       Sat Jul 24 13:23:52 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2021/03/20 06:44:11 msaitoh Exp $
+$NetBSD: distinfo,v 1.30 2021/07/24 13:23:52 jmcneill Exp $
 
 SHA1 (dmidecode-patches/1117390ccd9cea139638db6f460bb6de70e28f94) = 66c67e17ed52317efadab0145b101fbd4341bab0
 RMD160 (dmidecode-patches/1117390ccd9cea139638db6f460bb6de70e28f94) = ffa630e97aa930aefe852ee767d6b079eb810952
@@ -13,4 +13,5 @@
 SHA512 (dmidecode-patches/dmidecode-3.3.tar.xz) = dc77f40a7898011cea1b747d4677be2fbe8f52ec6ac460a5656de2f3389eca83bc416d6494acbe759971b5afce37b78f21ab55c34d62b1105b800e31566d1d22
 Size (dmidecode-patches/dmidecode-3.3.tar.xz) = 56372 bytes
 SHA1 (patch-aa) = 4ffeddeb647d07d8d712bab9983c1530e59e6f37
+SHA1 (patch-config.h) = 6ca6459a79ca207ec8b59f0532b2c1db841dc05c
 SHA1 (patch-dmidecode.c) = 2d7cbafd979aa7f6a33939eb136dc06e945f4188
diff -r acaafbca1fa9 -r f3185e5856c9 sysutils/dmidecode/patches/patch-config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dmidecode/patches/patch-config.h Sat Jul 24 13:23:52 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-config.h,v 1.1 2021/07/24 13:23:52 jmcneill Exp $
+
+* Use /dev/smbios instead of /dev/mem on NetBSD aarch64
+
+--- config.h.orig      2020-10-14 12:51:11.000000000 +0000
++++ config.h
+@@ -8,6 +8,8 @@
+ /* Default memory device file */
+ #if defined(__BEOS__) || defined(__HAIKU__)
+ #define DEFAULT_MEM_DEV "/dev/misc/mem"
++#elif defined(__NetBSD__) && defined(__aarch64__)
++#define DEFAULT_MEM_DEV "/dev/smbios"
+ #else
+ #ifdef __sun
+ #define DEFAULT_MEM_DEV "/dev/xsvc"



Home | Main Index | Thread Index | Old Index