pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/dmidecode



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Sat Jul 24 13:23:52 UTC 2021

Modified Files:
        pkgsrc/sysutils/dmidecode: Makefile distinfo
Added Files:
        pkgsrc/sysutils/dmidecode/patches: patch-config.h

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

Removes dependency on options INSECURE. Bump pkg revision.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/sysutils/dmidecode/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/sysutils/dmidecode/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dmidecode/patches/patch-config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/dmidecode/Makefile
diff -u pkgsrc/sysutils/dmidecode/Makefile:1.35 pkgsrc/sysutils/dmidecode/Makefile:1.36
--- pkgsrc/sysutils/dmidecode/Makefile:1.35     Sun Apr 25 07:51:25 2021
+++ pkgsrc/sysutils/dmidecode/Makefile  Sat Jul 24 13:23:52 2021
@@ -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/

Index: pkgsrc/sysutils/dmidecode/distinfo
diff -u pkgsrc/sysutils/dmidecode/distinfo:1.29 pkgsrc/sysutils/dmidecode/distinfo:1.30
--- pkgsrc/sysutils/dmidecode/distinfo:1.29     Sat Mar 20 06:44:11 2021
+++ pkgsrc/sysutils/dmidecode/distinfo  Sat Jul 24 13:23:52 2021
@@ -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 @@ RMD160 (dmidecode-patches/dmidecode-3.3.
 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

Added files:

Index: pkgsrc/sysutils/dmidecode/patches/patch-config.h
diff -u /dev/null pkgsrc/sysutils/dmidecode/patches/patch-config.h:1.1
--- /dev/null   Sat Jul 24 13:23:52 2021
+++ pkgsrc/sysutils/dmidecode/patches/patch-config.h    Sat Jul 24 13:23:52 2021
@@ -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