Received: by mail.netbsd.org (Postfix, from userid 605) id 2EB0584D55; Mon, 7 Sep 2020 14:50:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id AC56A84D54 for ; Mon, 7 Sep 2020 14:50:26 +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 JETV9xv8fjGx for ; Mon, 7 Sep 2020 14:50:26 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DFCA684D35 for ; Mon, 7 Sep 2020 14:50:25 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D92AFFB28; Mon, 7 Sep 2020 14:50:25 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1599490225224940" MIME-Version: 1.0 Date: Mon, 7 Sep 2020 14:50:25 +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: <20200907145025.D92AFFB28@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. --_----------=_1599490225224940 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: pgoyette Date: Mon Sep 7 14:50:25 UTC 2020 Modified Files: pkgsrc/sysutils/decode-dimms: Makefile distinfo pkgsrc/sysutils/decode-dimms/patches: patch-decode-dimms patch-decode-dimms.1 Log Message: Update decode-dimms to 2020-09-07 From upstream commit logs: * Add a BUGS section to the man page * Update the list of vendors to Jedec JEP106BB To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 pkgsrc/sysutils/decode-dimms/Makefile cvs rdiff -u -r1.19 -r1.20 pkgsrc/sysutils/decode-dimms/distinfo cvs rdiff -u -r1.17 -r1.18 \ pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms cvs rdiff -u -r1.2 -r1.3 \ pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1599490225224940 Content-Disposition: inline Content-Length: 7414 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.27 pkgsrc/sysutils/decode-dimms/Makefile:1.28 --- pkgsrc/sysutils/decode-dimms/Makefile:1.27 Mon Aug 31 18:11:27 2020 +++ pkgsrc/sysutils/decode-dimms/Makefile Mon Sep 7 14:50:25 2020 @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.27 2020/08/31 18:11:27 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2020/09/07 14:50:25 pgoyette Exp $ # Track upstream's HEAD -PKG_DATE= 20191031 -PKGREVISION= 3 -GIT_COMMIT= fde115730417ff24025f6f0f54d879f6b0789aca +PKG_DATE= 20200907 +GIT_COMMIT= 349b18f5660548f8aaae4014a8fbb1a3e71d89c2 DISTNAME= i2c-tools-${GIT_COMMIT} PKGNAME= decode-dimms-4.1.${PKG_DATE} CATEGORIES= sysutils Index: pkgsrc/sysutils/decode-dimms/distinfo diff -u pkgsrc/sysutils/decode-dimms/distinfo:1.19 pkgsrc/sysutils/decode-dimms/distinfo:1.20 --- pkgsrc/sysutils/decode-dimms/distinfo:1.19 Thu Oct 31 18:33:40 2019 +++ pkgsrc/sysutils/decode-dimms/distinfo Mon Sep 7 14:50:25 2020 @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.19 2019/10/31 18:33:40 pgoyette Exp $ +$NetBSD: distinfo,v 1.20 2020/09/07 14:50:25 pgoyette Exp $ -SHA1 (i2c-tools-fde115730417ff24025f6f0f54d879f6b0789aca.tar.gz) = 9f218c6239a20be444ec7b4f5abe6459551de567 -RMD160 (i2c-tools-fde115730417ff24025f6f0f54d879f6b0789aca.tar.gz) = 5872fabd73f32c793679dcf1d23ed7cb74da8a7c -SHA512 (i2c-tools-fde115730417ff24025f6f0f54d879f6b0789aca.tar.gz) = b51107b09578409d729a0d4dd2b3272ed8a4b46fa32faeda803e3c2e5c7874bdf405fc32e445d4d8a5f6f3fdd61256817d83aa744d246198935fd5cb7f5dd80e -Size (i2c-tools-fde115730417ff24025f6f0f54d879f6b0789aca.tar.gz) = 98669 bytes -SHA1 (patch-decode-dimms) = c8c860c82665eb2d535a7ce6b5a663f7a77da251 -SHA1 (patch-decode-dimms.1) = 2e0991d98f4fed6c1b4caa9bbf775b4b49c3cbe0 +SHA1 (i2c-tools-349b18f5660548f8aaae4014a8fbb1a3e71d89c2.tar.gz) = 94b8b1dbf98e470bd918f88ede17b687b51b2ef4 +RMD160 (i2c-tools-349b18f5660548f8aaae4014a8fbb1a3e71d89c2.tar.gz) = e40d4e4a5c47f30a8f5f3cf99df9ffd558e1362f +SHA512 (i2c-tools-349b18f5660548f8aaae4014a8fbb1a3e71d89c2.tar.gz) = dc2c766e8587580882c8fb945fdf267753e2653cd3f6c8e32b51eb87d73b3c463d78f0a1f607161c8749031a91a1e8b5bcace57a97c181772fb55eea5d01c531 +Size (i2c-tools-349b18f5660548f8aaae4014a8fbb1a3e71d89c2.tar.gz) = 101130 bytes +SHA1 (patch-decode-dimms) = 8f8f03cb1bae03a5572bb65f88dfce216f98549f +SHA1 (patch-decode-dimms.1) = fc221f7fbff2580d1e49026c2dca3872c5fd8de7 Index: pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms diff -u pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.17 pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.18 --- pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.17 Tue Oct 8 17:11:45 2019 +++ pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms Mon Sep 7 14:50:25 2020 @@ -1,10 +1,10 @@ -$NetBSD: patch-decode-dimms,v 1.17 2019/10/08 17:11:45 pgoyette Exp $ +$NetBSD: patch-decode-dimms,v 1.18 2020/09/07 14:50:25 pgoyette Exp $ Add NetBSD-specific ability to use spdmem(4)'s sysctl values as input. Remove attempts to use linux-specific data sources. ---- eeprom/decode-dimms.orig 2019-10-08 10:01:39.370148879 -0700 -+++ eeprom/decode-dimms 2019-10-08 09:57:14.231699228 -0700 +--- eeprom/decode-dimms.orig 2020-09-07 07:41:27.782730720 -0700 ++++ eeprom/decode-dimms 2020-09-07 07:42:58.255264706 -0700 @@ -45,8 +45,9 @@ use Fcntl qw(:DEFAULT :seek); use File::Basename; @@ -17,16 +17,16 @@ input. Remove attempts to use linux-spe use constant LITTLEENDIAN => "little-endian"; use constant BIGENDIAN => "big-endian"; -@@ -418,7 +419,7 @@ - "Thermaltake Technology Co Ltd", "Shenzhen O'Yang Maile Technology Ltd", "UPMEM"] - ); +@@ -497,7 +498,7 @@ + die "Unexpected number of vendor names in page $page" unless @{$vendors[$page]} == 126; + } -$use_sysfs = -d '/sys/bus'; +$use_sysctl = 0; # We consider that no data was written to this area of the SPD EEPROM if # all bytes read 0x00 or all bytes read 0xff -@@ -2357,6 +2358,26 @@ +@@ -2436,6 +2437,26 @@ } } @@ -53,7 +53,7 @@ input. Remove attempts to use linux-spe # Read bytes from SPD-EEPROM # Note: offset must be a multiple of 16! sub readspd($$$) -@@ -2370,20 +2391,13 @@ +@@ -2449,20 +2470,13 @@ $size = @bytes - $offset; } return @bytes[$offset..($offset + $size - 1)]; @@ -80,7 +80,7 @@ input. Remove attempts to use linux-spe } else { # Kernel 2.4 with procfs for my $i (0 .. ($size-1)/16) { -@@ -2449,7 +2463,7 @@ +@@ -2528,7 +2542,7 @@ # Parse command-line foreach (@ARGV) { if ($_ eq '-h' || $_ eq '--help') { @@ -89,7 +89,7 @@ input. Remove attempts to use linux-spe " $0 -h\n\n", " -f, --format Print nice html output\n", " -b, --bodyonly Don't print html header\n", -@@ -2463,6 +2477,8 @@ +@@ -2542,6 +2556,8 @@ " -x, Read data from hexdump files\n", " -X, Same as -x except treat multibyte hex\n", " data as little endian\n", @@ -98,7 +98,7 @@ input. Remove attempts to use linux-spe " -h, --help Display this usage summary\n"; print <<"EOF"; -@@ -2507,85 +2523,25 @@ +@@ -2586,85 +2602,25 @@ $use_hexdump = LITTLEENDIAN; next; } @@ -192,7 +192,7 @@ input. Remove attempts to use linux-spe # @dimm is a list of hashes. There's one hash for each EEPROM we found. # Each hash has the following keys: # * eeprom: Name of the eeprom data file -@@ -2598,7 +2554,6 @@ +@@ -2677,7 +2633,6 @@ # * 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. @@ -200,7 +200,7 @@ input. Remove attempts to use linux-spe for my $i (0 .. $#dimm) { my @bytes = readspd(0, 128, $dimm[$i]->{file}); -@@ -2650,7 +2605,7 @@ +@@ -2729,7 +2684,7 @@ printl("Decoding EEPROM", $dimm[$current]->{eeprom}); } Index: pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms.1 diff -u pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms.1:1.2 pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms.1:1.3 --- pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms.1:1.2 Thu Oct 31 18:33:40 2019 +++ pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms.1 Mon Sep 7 14:50:25 2020 @@ -1,9 +1,9 @@ -$NetBSD: patch-decode-dimms.1,v 1.2 2019/10/31 18:33:40 pgoyette Exp $ +$NetBSD: patch-decode-dimms.1,v 1.3 2020/09/07 14:50:25 pgoyette Exp $ Document the -s option (use spdmem(4)'s sysctl for input) ---- eeprom/decode-dimms.1.orig 2018-07-25 07:26:21.321627123 +0800 -+++ eeprom/decode-dimms.1 2018-07-25 07:26:56.967194551 +0800 +--- eeprom/decode-dimms.1.orig 2020-08-27 01:29:04.000000000 -0700 ++++ eeprom/decode-dimms.1 2020-09-07 07:41:27.859276571 -0700 @@ -22,7 +22,7 @@ decode-dimms \- decode the information found in memory module SPD EEPROMs .SH SYNOPSIS @@ -23,7 +23,7 @@ Document the -s option (use spdmem(4)'s .SH PARAMETERS .TP .B \-f, --format -@@ -60,9 +59,17 @@ +@@ -60,12 +59,20 @@ .B \-X Same as -x except treat multibyte hex data as little endian .TP @@ -39,6 +39,9 @@ Document the -s option (use spdmem(4)'s +.TP .B \-h, --help Display the usage summary + .SH BUGS + To report bugs or send fixes, please write to the Linux I2C mailing list + . -.SH SEE ALSO -.BR decode-vaio (1) .SH AUTHORS --_----------=_1599490225224940--