pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/decode-dimms Update to 2018-11-23:
details: https://anonhg.NetBSD.org/pkgsrc/rev/bef2d0f223c7
branches: trunk
changeset: 389320:bef2d0f223c7
user: pgoyette <pgoyette%pkgsrc.org@localhost>
date: Fri Dec 28 21:23:53 2018 +0000
description:
Update to 2018-11-23:
i2c-tools: decode-dimms: New manufacturer names from JEP106AX
Add all the JEDEC-registered manufacturer names added since JEP106AQ.
diffstat:
sysutils/decode-dimms/Makefile | 8 ++++----
sysutils/decode-dimms/distinfo | 12 ++++++------
sysutils/decode-dimms/patches/patch-decode-dimms | 24 ++++++++++++------------
3 files changed, 22 insertions(+), 22 deletions(-)
diffs (141 lines):
diff -r 765cf9cff7c8 -r bef2d0f223c7 sysutils/decode-dimms/Makefile
--- a/sysutils/decode-dimms/Makefile Fri Dec 28 20:28:02 2018 +0000
+++ b/sysutils/decode-dimms/Makefile Fri Dec 28 21:23:53 2018 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.10 2018/09/27 19:38:46 tnn Exp $
+# $NetBSD: Makefile,v 1.11 2018/12/28 21:23:53 pgoyette Exp $
# no Release yet
-GIT_COMMIT= 84da8192c7c409f37c1906b60ef166c58aafc847
+GIT_COMMIT= de9a30178603ae7ebdcaf6ed3e5880e0061b6f51
DISTNAME= i2c-tools-${GIT_COMMIT}
-PKGNAME= decode-dimms-0.0.20181205
+PKGNAME= decode-dimms-0.0.20181123
CATEGORIES= sysutils
MASTER_SITES= https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/snapshot/
@@ -18,7 +18,7 @@
SUBST_CLASSES+= rev
SUBST_STAGE.rev= pre-patch
SUBST_FILES.rev= eeprom/decode-dimms
-SUBST_SED.rev= -e 's/^$$revision = .*;/$$revision = "20171205-${GIT_COMMIT}";/'
+SUBST_SED.rev= -e 's/^$$revision = .*;/$$revision = "20181123-${GIT_COMMIT}";/'
SUBST_SED.rev+= -e '/^$$revision =~/d'
NO_BUILD= yes
diff -r 765cf9cff7c8 -r bef2d0f223c7 sysutils/decode-dimms/distinfo
--- a/sysutils/decode-dimms/distinfo Fri Dec 28 20:28:02 2018 +0000
+++ b/sysutils/decode-dimms/distinfo Fri Dec 28 21:23:53 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2018/07/25 04:33:31 pgoyette Exp $
+$NetBSD: distinfo,v 1.10 2018/12/28 21:23:53 pgoyette Exp $
-SHA1 (i2c-tools-84da8192c7c409f37c1906b60ef166c58aafc847.tar.gz) = 0765225f1f7ee63d0ebb3a3881ad819fa9d48d9e
-RMD160 (i2c-tools-84da8192c7c409f37c1906b60ef166c58aafc847.tar.gz) = 0e1f9c86e5005bf8534789e4dea532bc8dda522a
-SHA512 (i2c-tools-84da8192c7c409f37c1906b60ef166c58aafc847.tar.gz) = 4cd57f6cc4424888fe4e7bede28b7a5e15e7f658b57fa4df528cc3636cd5124036a69492de9636d81478e58b660275df2dee239999bd5ea0bec13313b240b352
-Size (i2c-tools-84da8192c7c409f37c1906b60ef166c58aafc847.tar.gz) = 95860 bytes
-SHA1 (patch-decode-dimms) = 0882a237c7579445487bbce8300f62d5f15d577b
+SHA1 (i2c-tools-de9a30178603ae7ebdcaf6ed3e5880e0061b6f51.tar.gz) = 0d7c496244d28f96a7737abe59b48e926b69b91e
+RMD160 (i2c-tools-de9a30178603ae7ebdcaf6ed3e5880e0061b6f51.tar.gz) = 809c98e5130d2f37c2416d26f35046dc4cf06d2f
+SHA512 (i2c-tools-de9a30178603ae7ebdcaf6ed3e5880e0061b6f51.tar.gz) = 753737944c03e83f7ddf8d8ae46ad33824a99239f53c6092c258f47408f31f0cdeefc5196d1c2e70f49fbe4a670d3e624bdff0732b653a990f92917d7955148a
+Size (i2c-tools-de9a30178603ae7ebdcaf6ed3e5880e0061b6f51.tar.gz) = 98040 bytes
+SHA1 (patch-decode-dimms) = b32158caf20a4f3fff6b504c879652db5d017ce0
SHA1 (patch-decode-dimms.1) = c1c1444a73fa848eda0223e2c176819d4ded6641
diff -r 765cf9cff7c8 -r bef2d0f223c7 sysutils/decode-dimms/patches/patch-decode-dimms
--- a/sysutils/decode-dimms/patches/patch-decode-dimms Fri Dec 28 20:28:02 2018 +0000
+++ b/sysutils/decode-dimms/patches/patch-decode-dimms Fri Dec 28 21:23:53 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-decode-dimms,v 1.8 2018/07/25 04:33:31 pgoyette Exp $
+$NetBSD XXX$
Add NetBSD-specific ability to use spdmem(4)'s sysctl values as
input.
---- eeprom/decode-dimms.orig 2018-05-31 13:53:29.771907986 +0800
-+++ eeprom/decode-dimms 2018-07-25 10:33:01.055537617 +0800
+--- eeprom/decode-dimms.orig 2018-12-26 18:47:14.272374157 +0800
++++ eeprom/decode-dimms 2018-12-26 18:45:01.641079634 +0800
@@ -42,8 +42,9 @@
use Fcntl qw(:DEFAULT :seek);
use File::Basename;
@@ -17,7 +17,7 @@
use constant LITTLEENDIAN => "little-endian";
use constant BIGENDIAN => "big-endian";
-@@ -341,6 +342,7 @@
+@@ -417,6 +418,7 @@
);
$use_sysfs = -d '/sys/bus';
@@ -25,7 +25,7 @@
# We consider that no data was written to this area of the SPD EEPROM if
# all bytes read 0x00 or all bytes read 0xff
-@@ -2252,6 +2254,26 @@
+@@ -2328,6 +2330,26 @@
}
}
@@ -52,7 +52,7 @@
# Read bytes from SPD-EEPROM
# Note: offset must be a multiple of 16!
sub readspd($$$)
-@@ -2261,6 +2283,9 @@
+@@ -2337,6 +2359,9 @@
if ($use_hexdump) {
@bytes = read_hexdump($dimm_i);
return @bytes[$offset..($offset + $size - 1)];
@@ -62,7 +62,7 @@
} elsif ($use_sysfs) {
# Kernel 2.6 with sysfs
sysopen(HANDLE, "$dimm_i/eeprom", O_RDONLY)
-@@ -2337,7 +2362,7 @@
+@@ -2413,7 +2438,7 @@
# Parse command-line
foreach (@ARGV) {
if ($_ eq '-h' || $_ eq '--help') {
@@ -71,7 +71,7 @@
" $0 -h\n\n",
" -f, --format Print nice html output\n",
" -b, --bodyonly Don't print html header\n",
-@@ -2351,6 +2376,8 @@
+@@ -2427,6 +2452,8 @@
" -x, Read data from hexdump files\n",
" -X, Same as -x except treat multibyte hex\n",
" data as little endian\n",
@@ -80,7 +80,7 @@
" -h, --help Display this usage summary\n";
print <<"EOF";
-@@ -2395,13 +2422,20 @@
+@@ -2471,13 +2498,20 @@
$use_hexdump = LITTLEENDIAN;
next;
}
@@ -102,7 +102,7 @@
}
# Default values
-@@ -2479,7 +2513,7 @@
+@@ -2555,7 +2589,7 @@
# * chk_spd: The checksum or CRC value found in the EEPROM
# * chk_calc: The checksum or CRC computed from the EEPROM data
# Keys are added over time.
@@ -111,7 +111,7 @@
for my $i (0 .. $#dimm) {
my @bytes = readspd(0, 128, $dimm[$i]->{file});
-@@ -2531,7 +2565,7 @@
+@@ -2607,7 +2641,7 @@
printl("Decoding EEPROM", $dimm[$current]->{eeprom});
}
@@ -120,7 +120,7 @@
if ($dimm[$current]->{file} =~ /-([\da-f]+)$/i) {
my $dimm_num = hex($1) - 0x50 + 1;
if ($dimm_num >= 1 && $dimm_num <= 8) {
-@@ -2737,3 +2771,4 @@
+@@ -2813,3 +2847,4 @@
printl2("\n\nNumber of SDRAM DIMMs detected and decoded", scalar @dimm);
print "</body></html>\n" if ($opt_html && !$opt_bodyonly);
Home |
Main Index |
Thread Index |
Old Index