Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/decode-dimms Update decode-dimms to 2020-09-07



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0cfef4162a2c
branches:  trunk
changeset: 438523:0cfef4162a2c
user:      pgoyette <pgoyette%pkgsrc.org@localhost>
date:      Mon Sep 07 14:50:25 2020 +0000

description:
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

diffstat:

 sysutils/decode-dimms/Makefile                     |   7 ++---
 sysutils/decode-dimms/distinfo                     |  14 +++++-----
 sysutils/decode-dimms/patches/patch-decode-dimms   |  26 +++++++++++-----------
 sysutils/decode-dimms/patches/patch-decode-dimms.1 |  11 +++++---
 4 files changed, 30 insertions(+), 28 deletions(-)

diffs (162 lines):

diff -r a41cfcb19a95 -r 0cfef4162a2c sysutils/decode-dimms/Makefile
--- a/sysutils/decode-dimms/Makefile    Mon Sep 07 14:47:43 2020 +0000
+++ b/sysutils/decode-dimms/Makefile    Mon Sep 07 14:50:25 2020 +0000
@@ -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
diff -r a41cfcb19a95 -r 0cfef4162a2c sysutils/decode-dimms/distinfo
--- a/sysutils/decode-dimms/distinfo    Mon Sep 07 14:47:43 2020 +0000
+++ b/sysutils/decode-dimms/distinfo    Mon Sep 07 14:50:25 2020 +0000
@@ -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
diff -r a41cfcb19a95 -r 0cfef4162a2c sysutils/decode-dimms/patches/patch-decode-dimms
--- a/sysutils/decode-dimms/patches/patch-decode-dimms  Mon Sep 07 14:47:43 2020 +0000
+++ b/sysutils/decode-dimms/patches/patch-decode-dimms  Mon Sep 07 14:50:25 2020 +0000
@@ -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 @@
  
  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 @@
  # 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 @@
        } 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 @@
                        "       $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 @@
                        "  -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 @@
  # @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 @@
  
  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});
        }
  
diff -r a41cfcb19a95 -r 0cfef4162a2c sysutils/decode-dimms/patches/patch-decode-dimms.1
--- a/sysutils/decode-dimms/patches/patch-decode-dimms.1        Mon Sep 07 14:47:43 2020 +0000
+++ b/sysutils/decode-dimms/patches/patch-decode-dimms.1        Mon Sep 07 14:50:25 2020 +0000
@@ -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 @@
  .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 @@
 +.TP
  .B \-h, --help
  Display the usage summary
+ .SH BUGS
+ To report bugs or send fixes, please write to the Linux I2C mailing list
+ <linux-i2c%vger.kernel.org@localhost>.
 -.SH SEE ALSO
 -.BR decode-vaio (1)
  .SH AUTHORS



Home | Main Index | Thread Index | Old Index