pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/decode-dimms



Module Name:    pkgsrc
Committed By:   pgoyette
Date:           Thu Jan 17 05:41:11 UTC 2019

Modified Files:
        pkgsrc/sysutils/decode-dimms: Makefile distinfo
        pkgsrc/sysutils/decode-dimms/patches: patch-decode-dimms

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/decode-dimms/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/sysutils/decode-dimms/distinfo
cvs rdiff -u -r1.9 -r1.10 \
    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.

Modified files:

Index: pkgsrc/sysutils/decode-dimms/Makefile
diff -u pkgsrc/sysutils/decode-dimms/Makefile:1.11 pkgsrc/sysutils/decode-dimms/Makefile:1.12
--- pkgsrc/sysutils/decode-dimms/Makefile:1.11  Fri Dec 28 21:23:53 2018
+++ pkgsrc/sysutils/decode-dimms/Makefile       Thu Jan 17 05:41:10 2019
@@ -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 @@ 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 = "20181123-${GIT_COMMIT}";/'
+SUBST_SED.rev=          -e 's/^$$revision = .*;/$$revision = "20190109-${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.10 pkgsrc/sysutils/decode-dimms/distinfo:1.11
--- pkgsrc/sysutils/decode-dimms/distinfo:1.10  Fri Dec 28 21:23:53 2018
+++ pkgsrc/sysutils/decode-dimms/distinfo       Thu Jan 17 05:41:10 2019
@@ -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

Index: pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms
diff -u pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.9 pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.10
--- pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms:1.9 Fri Dec 28 21:23:53 2018
+++ pkgsrc/sysutils/decode-dimms/patches/patch-decode-dimms     Thu Jan 17 05:41:10 2019
@@ -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 @@ 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
-@@ -2328,6 +2330,26 @@
+@@ -2335,6 +2337,26 @@
        }
  }
  
@@ -52,7 +52,7 @@ input.
  # 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 @@ input.
        } 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 @@ input.
                        "       $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 @@ input.
                        "  -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 @@ input.
  }
  
  # 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 @@ input.
  
  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 @@ input.
                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