Thu Feb 16 05:52:55 2017 UTC ()
Update sysutils/pcuutils to 3.5.3.

ChangeLog:
2017-02-15  Martin Mares <mj@ucw.cz>

	* Released as 3.5.3.

	* When lspci looks for Linux kernel modules, it uses the default
	  path to module directory provided by libkmod. Previously,
	  it tried to construct the path explicitly, which need not
	  work on all systems.

	* Improved formatting of memory and I/O ranges behind a bridge.

	* PCIe link capabilities now display GEN4 speed (16GT/s).

	* PCIe device capabilities now show bits related to atomic operations.
	  Thanks to Satanand Burla for a patch.

	* As usually, updated pci.ids to the current snapshot of the database.


(msaitoh)
diff -r1.33 -r1.34 pkgsrc/sysutils/pciutils/Makefile
diff -r1.23 -r1.24 pkgsrc/sysutils/pciutils/distinfo
diff -r1.16 -r1.17 pkgsrc/sysutils/pciutils/patches/patch-aa
diff -r0 -r1.1 pkgsrc/sysutils/pciutils/patches/patch-lib_types.h

cvs diff -r1.33 -r1.34 pkgsrc/sysutils/pciutils/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/pciutils/Makefile 2017/01/19 18:52:26 1.33
+++ pkgsrc/sysutils/pciutils/Makefile 2017/02/16 05:52:55 1.34
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.33 2017/01/19 18:52:26 agc Exp $ 1# $NetBSD: Makefile,v 1.34 2017/02/16 05:52:55 msaitoh Exp $
2 2
3DISTNAME= pciutils-3.5.2 3DISTNAME= pciutils-3.5.3
4CATEGORIES= sysutils 4CATEGORIES= sysutils
5MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ 5MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/
6MASTER_SITES+= ftp://ftp.kernel.org/pub/software/utils/pciutils/ 6MASTER_SITES+= ftp://ftp.kernel.org/pub/software/utils/pciutils/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://mj.ucw.cz/pciutils.shtml 9HOMEPAGE= http://mj.ucw.cz/pciutils.shtml
10COMMENT= PCI bus manipulation utility similar to NetBSD pcictl(8) 10COMMENT= PCI bus manipulation utility similar to NetBSD pcictl(8)
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13MAKE_JOBS_SAFE= no 13MAKE_JOBS_SAFE= no
14ONLY_FOR_PLATFORM= AIX-*-* Darwin-*-* FreeBSD-*-* Linux-*-* NetBSD-*-* 14ONLY_FOR_PLATFORM= AIX-*-* Darwin-*-* FreeBSD-*-* Linux-*-* NetBSD-*-*
15ONLY_FOR_PLATFORM+= DragonFly-*-* OpenBSD-*-* SunOS-5.11-* Haiku-*-* 15ONLY_FOR_PLATFORM+= DragonFly-*-* OpenBSD-*-* SunOS-5.11-* Haiku-*-*
16 16

cvs diff -r1.23 -r1.24 pkgsrc/sysutils/pciutils/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/pciutils/distinfo 2016/10/07 06:07:01 1.23
+++ pkgsrc/sysutils/pciutils/distinfo 2017/02/16 05:52:55 1.24
@@ -1,10 +1,11 @@ @@ -1,10 +1,11 @@
1$NetBSD: distinfo,v 1.23 2016/10/07 06:07:01 msaitoh Exp $ 1$NetBSD: distinfo,v 1.24 2017/02/16 05:52:55 msaitoh Exp $
2 2
3SHA1 (pciutils-3.5.2.tar.gz) = 4a0399137836b7b891a274e820081a46a35e7796 3SHA1 (pciutils-3.5.3.tar.gz) = 768a591dcb9da28f1a4a4dbf026140dd62208c5b
4RMD160 (pciutils-3.5.2.tar.gz) = 29a1214252bee75ff819b6fa752724130d9cee0a 4RMD160 (pciutils-3.5.3.tar.gz) = 52a1486835058db5f150f9b8c94329208740d06a
5SHA512 (pciutils-3.5.2.tar.gz) = 1fd945a320e6130f60cbb3e17f3ea6b48efeda57d7971fca62a62d0a1f05baf7f13ce69813f3ddd7a8eada1650795e41c5f03c65f780d5765d21f6a9ab1155a8 5SHA512 (pciutils-3.5.3.tar.gz) = aa0232d3a8d3d1fdc15b790bfed46070de4db0d7ca2cff79122200d6002b709e20383a44558c1735da46e920500d9eb2159983148c766bef91a42545cfe2cc58
6Size (pciutils-3.5.2.tar.gz) = 414327 bytes 6Size (pciutils-3.5.3.tar.gz) = 423828 bytes
7SHA1 (patch-aa) = 864870c5679069b9a4b28894b3d005eb92675781 7SHA1 (patch-aa) = 9396085bde1aee4ef07decd08d1d5db3217aab4a
8SHA1 (patch-ab) = 881db39792c9d72f527438e2b475ac2ea842b536 8SHA1 (patch-ab) = 881db39792c9d72f527438e2b475ac2ea842b536
9SHA1 (patch-ac) = 4b90e99c051391b9cd3a6c1f5781f41b4a855c29 9SHA1 (patch-ac) = 4b90e99c051391b9cd3a6c1f5781f41b4a855c29
10SHA1 (patch-ad) = bfe9069e96fd46798afec73c93ad71db3a0e0e37 10SHA1 (patch-ad) = bfe9069e96fd46798afec73c93ad71db3a0e0e37
 11SHA1 (patch-lib_types.h) = 2766833ba945d2fc71aa36bd6ebfac0e511fd8cb

cvs diff -r1.16 -r1.17 pkgsrc/sysutils/pciutils/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/sysutils/pciutils/patches/patch-aa 2016/10/07 06:07:01 1.16
+++ pkgsrc/sysutils/pciutils/patches/patch-aa 2017/02/16 05:52:55 1.17
@@ -1,35 +1,35 @@ @@ -1,35 +1,35 @@
1--- Makefile.orig 2016-10-04 04:58:31.000000000 +0900 1--- Makefile.orig 2017-02-15 18:17:08.000000000 +0900
2+++ Makefile 2016-10-07 14:59:10.000000000 +0900 2+++ Makefile 2017-02-16 12:34:04.536298774 +0900
3@@ -1,8 +1,7 @@ 3@@ -1,8 +1,7 @@
4 # Makefile for The PCI Utilities 4 # Makefile for The PCI Utilities
5 # (c) 1998--2016 Martin Mares <mj@ucw.cz> 5 # (c) 1998--2017 Martin Mares <mj@ucw.cz>
6  6
7-OPT=-O2 7-OPT=-O2
8-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes 8-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
9+CFLAGS=-Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes 9+CFLAGS=-Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
10  10
11 VERSION=3.5.2 11 VERSION=3.5.3
12 DATE=2016-10-03 12 DATE=2017-02-15
13@@ -13,7 +12,7 @@ 13@@ -13,7 +12,7 @@ RELEASE=
14 CROSS_COMPILE= 14 CROSS_COMPILE=
15  15
16 # Support for compressed pci.ids (yes/no, default: detect) 16 # Support for compressed pci.ids (yes/no, default: detect)
17-ZLIB= 17-ZLIB=
18+ZLIB=no 18+ZLIB=no
19  19
20 # Support for resolving ID's by DNS (yes/no, default: detect) 20 # Support for resolving ID's by DNS (yes/no, default: detect)
21 DNS= 21 DNS=
22@@ -29,23 +28,23 @@ 22@@ -29,23 +28,23 @@ HWDB=
23  23
24 # ABI version suffix in the name of the shared library 24 # ABI version suffix in the name of the shared library
25 # (as we use proper symbol versioning, this seldom needs changing) 25 # (as we use proper symbol versioning, this seldom needs changing)
26-ABI_VERSION=.3 26-ABI_VERSION=.3
27+ABI_VERSION=-version-info 3:0 27+ABI_VERSION=-version-info 3:0
28  28
29 # Installation directories 29 # Installation directories
30-PREFIX=/usr/local 30-PREFIX=/usr/local
31+#PREFIX=/usr/local 31+#PREFIX=/usr/local
32 SBINDIR=$(PREFIX)/sbin 32 SBINDIR=$(PREFIX)/sbin
33-SHAREDIR=$(PREFIX)/share 33-SHAREDIR=$(PREFIX)/share
34+SHAREDIR=$(PREFIX)/share/pciutils 34+SHAREDIR=$(PREFIX)/share/pciutils
35 IDSDIR=$(SHAREDIR) 35 IDSDIR=$(SHAREDIR)
@@ -42,52 +42,52 @@ @@ -42,52 +42,52 @@
42  42
43 # Commands 43 # Commands
44-INSTALL=install 44-INSTALL=install
45-DIRINSTALL=install -d 45-DIRINSTALL=install -d
46-STRIP=-s 46-STRIP=-s
47-CC=$(CROSS_COMPILE)gcc 47-CC=$(CROSS_COMPILE)gcc
48+#INSTALL=install 48+#INSTALL=install
49+#DIRINSTALL=install -d 49+#DIRINSTALL=install -d
50+#STRIP=-s 50+#STRIP=-s
51+#CC=$(CROSS_COMPILE)gcc 51+#CC=$(CROSS_COMPILE)gcc
52 AR=$(CROSS_COMPILE)ar 52 AR=$(CROSS_COMPILE)ar
53 RANLIB=$(CROSS_COMPILE)ranlib 53 RANLIB=$(CROSS_COMPILE)ranlib
54  54
55@@ -110,12 +109,18 @@ 55@@ -110,12 +109,18 @@ distclean: clean
56  56
57 install: all 57 install: all
58 # -c is ignored on Linux, but required on FreeBSD 58 # -c is ignored on Linux, but required on FreeBSD
59- $(DIRINSTALL) -m 755 $(DESTDIR)$(SBINDIR) $(DESTDIR)$(IDSDIR) $(DESTDIR)$(MANDIR)/man8 $(DESTDIR)$(MANDIR)/man7 59- $(DIRINSTALL) -m 755 $(DESTDIR)$(SBINDIR) $(DESTDIR)$(IDSDIR) $(DESTDIR)$(MANDIR)/man8 $(DESTDIR)$(MANDIR)/man7
60- $(INSTALL) -c -m 755 $(STRIP) lspci setpci $(DESTDIR)$(SBINDIR) 60- $(INSTALL) -c -m 755 $(STRIP) lspci setpci $(DESTDIR)$(SBINDIR)
61- $(INSTALL) -c -m 755 update-pciids $(DESTDIR)$(SBINDIR) 61- $(INSTALL) -c -m 755 update-pciids $(DESTDIR)$(SBINDIR)
62- $(INSTALL) -c -m 644 $(PCI_IDS) $(DESTDIR)$(IDSDIR) 62- $(INSTALL) -c -m 644 $(PCI_IDS) $(DESTDIR)$(IDSDIR)
63- $(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(DESTDIR)$(MANDIR)/man8 63- $(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(DESTDIR)$(MANDIR)/man8
64- $(INSTALL) -c -m 644 pcilib.7 $(DESTDIR)$(MANDIR)/man7 64- $(INSTALL) -c -m 644 pcilib.7 $(DESTDIR)$(MANDIR)/man7
65+ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(SBINDIR) 65+ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(SBINDIR)
66+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(IDSDIR) 66+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(IDSDIR)
67+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(MANDIR)/man8 67+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(MANDIR)/man8
68+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(MANDIR)/man7 68+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(MANDIR)/man7
69+ $(BSD_INSTALL_PROGRAM) lspci $(DESTDIR)$(SBINDIR) 69+ $(BSD_INSTALL_PROGRAM) lspci $(DESTDIR)$(SBINDIR)
70+ $(BSD_INSTALL_PROGRAM) setpci $(DESTDIR)$(SBINDIR) 70+ $(BSD_INSTALL_PROGRAM) setpci $(DESTDIR)$(SBINDIR)
71+ $(BSD_INSTALL_SCRIPT) update-pciids $(DESTDIR)$(SBINDIR) 71+ $(BSD_INSTALL_SCRIPT) update-pciids $(DESTDIR)$(SBINDIR)
72+ $(BSD_INSTALL_DATA) $(PCI_IDS) $(DESTDIR)$(IDSDIR) 72+ $(BSD_INSTALL_DATA) $(PCI_IDS) $(DESTDIR)$(IDSDIR)
73+ for fn in lspci.8 setpci.8 update-pciids.8; do \ 73+ for fn in lspci.8 setpci.8 update-pciids.8; do \
74+ $(BSD_INSTALL_MAN) $$fn $(DESTDIR)$(MANDIR)/man8; \ 74+ $(BSD_INSTALL_MAN) $$fn $(DESTDIR)$(MANDIR)/man8; \
75+ done 75+ done
76+ $(BSD_INSTALL_MAN) pcilib.7 $(DESTDIR)$(MANDIR)/man7 76+ $(BSD_INSTALL_MAN) pcilib.7 $(DESTDIR)$(MANDIR)/man7
77 ifeq ($(SHARED),yes) 77 ifeq ($(SHARED),yes)
78 ifeq ($(LIBEXT),dylib) 78 ifeq ($(LIBEXT),dylib)
79 ln -sf $(PCILIB) $(DESTDIR)$(LIBDIR)/$(LIBNAME)$(ABI_VERSION).$(LIBEXT) 79 ln -sf $(PCILIB) $(DESTDIR)$(LIBDIR)/$(LIBNAME)$(ABI_VERSION).$(LIBEXT)
80@@ -129,13 +134,14 @@ 80@@ -129,13 +134,14 @@ install: install-pcilib
81 endif 81 endif
82  82
83 install-pcilib: lib/$(PCILIB) 83 install-pcilib: lib/$(PCILIB)
84- $(DIRINSTALL) -m 755 $(DESTDIR)$(LIBDIR) 84- $(DIRINSTALL) -m 755 $(DESTDIR)$(LIBDIR)
85- $(INSTALL) -c -m 644 lib/$(PCILIB) $(DESTDIR)$(LIBDIR) 85- $(INSTALL) -c -m 644 lib/$(PCILIB) $(DESTDIR)$(LIBDIR)
86+ $(BSD_INSTALL_LIB_DIR) $(DESTDIR)$(LIBDIR) 86+ $(BSD_INSTALL_LIB_DIR) $(DESTDIR)$(LIBDIR)
87+ $(BSD_INSTALL_LIB) lib/$(PCILIB) $(DESTDIR)$(LIBDIR) 87+ $(BSD_INSTALL_LIB) lib/$(PCILIB) $(DESTDIR)$(LIBDIR)
88  88
89 install-lib: $(PCIINC_INS) lib/$(PCILIBPC) install-pcilib 89 install-lib: $(PCIINC_INS) lib/$(PCILIBPC) install-pcilib
90- $(DIRINSTALL) -m 755 $(DESTDIR)$(INCDIR)/pci $(DESTDIR)$(PKGCFDIR) 90- $(DIRINSTALL) -m 755 $(DESTDIR)$(INCDIR)/pci $(DESTDIR)$(PKGCFDIR)
91- $(INSTALL) -c -m 644 $(PCIINC_INS) $(DESTDIR)$(INCDIR)/pci 91- $(INSTALL) -c -m 644 $(PCIINC_INS) $(DESTDIR)$(INCDIR)/pci
92- $(INSTALL) -c -m 644 lib/$(PCILIBPC) $(DESTDIR)$(PKGCFDIR) 92- $(INSTALL) -c -m 644 lib/$(PCILIBPC) $(DESTDIR)$(PKGCFDIR)
93+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(INCDIR)  93+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(INCDIR)

File Added: pkgsrc/sysutils/pciutils/patches/Attic/patch-lib_types.h
--- lib/types.h.orig	2011-01-08 06:04:28.000000000 +0900
+++ lib/types.h	2017-02-16 13:37:32.460850605 +0900
@@ -7,6 +7,7 @@
  */
 
 #include <sys/types.h>
+#include <limits.h>
 
 #ifndef PCI_HAVE_Uxx_TYPES
 
@@ -20,22 +21,19 @@ typedef DWORD u32;
 typedef uint8_t u8;
 typedef uint16_t u16;
 typedef uint32_t u32;
+typedef uint64_t u64;
 #else
 typedef u_int8_t u8;
 typedef u_int16_t u16;
 typedef u_int32_t u32;
+typedef u_int64_t u64;
 #endif
 
-#ifdef PCI_HAVE_64BIT_ADDRESS
-#include <limits.h>
 #if ULONG_MAX > 0xffffffff
-typedef unsigned long u64;
 #define PCI_U64_FMT "l"
 #else
-typedef unsigned long long u64;
 #define PCI_U64_FMT "ll"
 #endif
-#endif
 
 #endif	/* PCI_HAVE_Uxx_TYPES */