Received: by mail.netbsd.org (Postfix, from userid 605) id 9A23384E32; Fri, 28 Dec 2018 21:23:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2538C84E2C for ; Fri, 28 Dec 2018 21:23:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id EoK5Jef61GQC for ; Fri, 28 Dec 2018 21:23:53 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6C4F384E20 for ; Fri, 28 Dec 2018 21:23:53 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 68DB7FB16; Fri, 28 Dec 2018 21:23:53 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1546032233163330" MIME-Version: 1.0 Date: Fri, 28 Dec 2018 21:23:53 +0000 From: "Paul Goyette" Subject: CVS commit: pkgsrc/sysutils/decode-dimms To: pkgsrc-changes@NetBSD.org Reply-To: pgoyette@netbsd.org X-Mailer: log_accum Message-Id: <20181228212353.68DB7FB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1546032233163330 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: pgoyette Date: Fri Dec 28 21:23:53 UTC 2018 Modified Files: pkgsrc/sysutils/decode-dimms: Makefile distinfo pkgsrc/sysutils/decode-dimms/patches: patch-decode-dimms Log Message: Update to 2018-11-23: i2c-tools: decode-dimms: New manufacturer names from JEP106AX Add all the JEDEC-registered manufacturer names added since JEP106AQ. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 pkgsrc/sysutils/decode-dimms/Makefile cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/decode-dimms/distinfo cvs rdiff -u -r1.8 -r1.9 \ pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1546032233163330 Content-Disposition: inline Content-Length: 6049 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/sysutils/decode-dimms/Makefile diff -u pkgsrc/sysutils/decode-dimms/Makefile:1.10 pkgsrc/sysutils/decode-dimms/Makefile:1.11 --- pkgsrc/sysutils/decode-dimms/Makefile:1.10 Thu Sep 27 19:38:46 2018 +++ pkgsrc/sysutils/decode-dimms/Makefile Fri Dec 28 21:23:53 2018 @@ -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 @@ REPLACE_PERL= eeprom/decode-dimms 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 Index: pkgsrc/sysutils/decode-dimms/distinfo diff -u pkgsrc/sysutils/decode-dimms/distinfo:1.9 pkgsrc/sysutils/decode-dimms/distinfo:1.10 --- pkgsrc/sysutils/decode-dimms/distinfo:1.9 Wed Jul 25 04:33:31 2018 +++ pkgsrc/sysutils/decode-dimms/distinfo Fri Dec 28 21:23:53 2018 @@ -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 Index: pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms diff -u pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.8 pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.9 --- pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.8 Wed Jul 25 04:33:31 2018 +++ pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms Fri Dec 28 21:23:53 2018 @@ -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 @@ input. 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 @@ input. # 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 @@ input. # 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 @@ input. } 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 @@ input. " $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 @@ input. " -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 @@ input. } # 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 @@ input. 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 @@ input. 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 "\n" if ($opt_html && !$opt_bodyonly); --_----------=_1546032233163330--