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 2019-01-09. Upstream ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a06b414e086
branches:  trunk
changeset: 328196:7a06b414e086
user:      pgoyette <pgoyette%pkgsrc.org@localhost>
date:      Thu Jan 17 05:41:10 2019 +0000

description:
Update to 2019-01-09.  Upstream commit log:

8 days  decode-dimms: Move SDR-specific code
8 days  decode-dimms: Print SPD revision for DDR3 too

diffstat:

 sysutils/decode-dimms/Makefile                   |   8 +++---
 sysutils/decode-dimms/distinfo                   |  12 +++++-----
 sysutils/decode-dimms/patches/patch-decode-dimms |  25 +++++++++--------------
 3 files changed, 20 insertions(+), 25 deletions(-)

diffs (132 lines):

diff -r a49720de390f -r 7a06b414e086 sysutils/decode-dimms/Makefile
--- a/sysutils/decode-dimms/Makefile    Thu Jan 17 05:23:13 2019 +0000
+++ b/sysutils/decode-dimms/Makefile    Thu Jan 17 05:41:10 2019 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2018/12/28 21:23:53 pgoyette Exp $
+# $NetBSD: Makefile,v 1.12 2019/01/17 05:41:10 pgoyette Exp $
 
 # no Release yet
-GIT_COMMIT=    de9a30178603ae7ebdcaf6ed3e5880e0061b6f51
+GIT_COMMIT=    4d476eb716c388d3c78e434b5e401e893067ab98
 DISTNAME=      i2c-tools-${GIT_COMMIT}
-PKGNAME=       decode-dimms-0.0.20181123
+PKGNAME=       decode-dimms-0.0.20190109
 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 = "20181123-${GIT_COMMIT}";/'
+SUBST_SED.rev=          -e 's/^$$revision = .*;/$$revision = "20190109-${GIT_COMMIT}";/'
 SUBST_SED.rev+=                -e '/^$$revision =~/d'
 
 NO_BUILD=      yes
diff -r a49720de390f -r 7a06b414e086 sysutils/decode-dimms/distinfo
--- a/sysutils/decode-dimms/distinfo    Thu Jan 17 05:23:13 2019 +0000
+++ b/sysutils/decode-dimms/distinfo    Thu Jan 17 05:41:10 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2018/12/28 21:23:53 pgoyette Exp $
+$NetBSD: distinfo,v 1.11 2019/01/17 05:41:10 pgoyette Exp $
 
-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 (i2c-tools-4d476eb716c388d3c78e434b5e401e893067ab98.tar.gz) = 7b1803b54f010eae5ff979785a92df4371be6bc3
+RMD160 (i2c-tools-4d476eb716c388d3c78e434b5e401e893067ab98.tar.gz) = 336d085a144018bcd6a19b0642f06db224538ed0
+SHA512 (i2c-tools-4d476eb716c388d3c78e434b5e401e893067ab98.tar.gz) = d1da7019678b59a2bcfdf08247c8f469ea02accd657a5b8c9ebe3e9d5cfc238ed26a8d4b4ce5c62cecb897f349e7c5910bff9ae4c919a0ebe266fc965a444f73
+Size (i2c-tools-4d476eb716c388d3c78e434b5e401e893067ab98.tar.gz) = 98190 bytes
+SHA1 (patch-decode-dimms) = 49408089c4c3b9da9625e006727c15c7e543c083
 SHA1 (patch-decode-dimms.1) = c1c1444a73fa848eda0223e2c176819d4ded6641
diff -r a49720de390f -r 7a06b414e086 sysutils/decode-dimms/patches/patch-decode-dimms
--- a/sysutils/decode-dimms/patches/patch-decode-dimms  Thu Jan 17 05:23:13 2019 +0000
+++ b/sysutils/decode-dimms/patches/patch-decode-dimms  Thu Jan 17 05:41:10 2019 +0000
@@ -1,10 +1,10 @@
-$NetBSD XXX$
+$NetBSD: patch-decode-dimms,v 1.10 2019/01/17 05:41:10 pgoyette Exp $
 
 Add NetBSD-specific ability to use spdmem(4)'s sysctl values as
 input.
 
---- eeprom/decode-dimms.orig   2018-12-26 18:47:14.272374157 +0800
-+++ eeprom/decode-dimms        2018-12-26 18:45:01.641079634 +0800
+--- eeprom/decode-dimms.orig   2019-01-17 13:29:22.361611073 +0800
++++ eeprom/decode-dimms        2019-01-17 13:35:48.518437248 +0800
 @@ -42,8 +42,9 @@
  use Fcntl qw(:DEFAULT :seek);
  use File::Basename;
@@ -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
-@@ -2328,6 +2330,26 @@
+@@ -2335,6 +2337,26 @@
        }
  }
  
@@ -52,7 +52,7 @@
  # Read bytes from SPD-EEPROM
  # Note: offset must be a multiple of 16!
  sub readspd($$$)
-@@ -2337,6 +2359,9 @@
+@@ -2344,6 +2366,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)
-@@ -2413,7 +2438,7 @@
+@@ -2420,7 +2445,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",
-@@ -2427,6 +2452,8 @@
+@@ -2434,6 +2459,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";
  
-@@ -2471,13 +2498,20 @@
+@@ -2478,13 +2505,20 @@
                $use_hexdump = LITTLEENDIAN;
                next;
        }
@@ -102,7 +102,7 @@
  }
  
  # Default values
-@@ -2555,7 +2589,7 @@
+@@ -2562,7 +2596,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});
-@@ -2607,7 +2641,7 @@
+@@ -2614,7 +2648,7 @@
                printl("Decoding EEPROM", $dimm[$current]->{eeprom});
        }
  
@@ -120,8 +120,3 @@
                if ($dimm[$current]->{file} =~ /-([\da-f]+)$/i) {
                        my $dimm_num = hex($1) - 0x50 + 1;
                        if ($dimm_num >= 1 && $dimm_num <= 8) {
-@@ -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