summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authormsaitoh <msaitoh>2017-02-16 05:52:55 +0000
committermsaitoh <msaitoh>2017-02-16 05:52:55 +0000
commitf06ecbc54ea4e857182c42cd4bdfb83c61cdc67e (patch)
treed4fc01ba3f8f00ad2079ae9c14a1180852ec79c2 /sysutils
parent6903e3098a3fc9720e8b89204ed6c1b8085ccf4b (diff)
downloadpkgsrc-f06ecbc54ea4e857182c42cd4bdfb83c61cdc67e.tar.gz
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.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pciutils/Makefile4
-rw-r--r--sysutils/pciutils/distinfo13
-rw-r--r--sysutils/pciutils/patches/patch-aa18
-rw-r--r--sysutils/pciutils/patches/patch-lib_types.h35
4 files changed, 53 insertions, 17 deletions
diff --git a/sysutils/pciutils/Makefile b/sysutils/pciutils/Makefile
index 6c7a0c7e6d7..9ca96e33510 100644
--- a/sysutils/pciutils/Makefile
+++ b/sysutils/pciutils/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2017/01/19 18:52:26 agc Exp $
+# $NetBSD: Makefile,v 1.34 2017/02/16 05:52:55 msaitoh Exp $
-DISTNAME= pciutils-3.5.2
+DISTNAME= pciutils-3.5.3
CATEGORIES= sysutils
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/
MASTER_SITES+= ftp://ftp.kernel.org/pub/software/utils/pciutils/
diff --git a/sysutils/pciutils/distinfo b/sysutils/pciutils/distinfo
index fb36bd6604a..330cf9cdc99 100644
--- a/sysutils/pciutils/distinfo
+++ b/sysutils/pciutils/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.23 2016/10/07 06:07:01 msaitoh Exp $
+$NetBSD: distinfo,v 1.24 2017/02/16 05:52:55 msaitoh Exp $
-SHA1 (pciutils-3.5.2.tar.gz) = 4a0399137836b7b891a274e820081a46a35e7796
-RMD160 (pciutils-3.5.2.tar.gz) = 29a1214252bee75ff819b6fa752724130d9cee0a
-SHA512 (pciutils-3.5.2.tar.gz) = 1fd945a320e6130f60cbb3e17f3ea6b48efeda57d7971fca62a62d0a1f05baf7f13ce69813f3ddd7a8eada1650795e41c5f03c65f780d5765d21f6a9ab1155a8
-Size (pciutils-3.5.2.tar.gz) = 414327 bytes
-SHA1 (patch-aa) = 864870c5679069b9a4b28894b3d005eb92675781
+SHA1 (pciutils-3.5.3.tar.gz) = 768a591dcb9da28f1a4a4dbf026140dd62208c5b
+RMD160 (pciutils-3.5.3.tar.gz) = 52a1486835058db5f150f9b8c94329208740d06a
+SHA512 (pciutils-3.5.3.tar.gz) = aa0232d3a8d3d1fdc15b790bfed46070de4db0d7ca2cff79122200d6002b709e20383a44558c1735da46e920500d9eb2159983148c766bef91a42545cfe2cc58
+Size (pciutils-3.5.3.tar.gz) = 423828 bytes
+SHA1 (patch-aa) = 9396085bde1aee4ef07decd08d1d5db3217aab4a
SHA1 (patch-ab) = 881db39792c9d72f527438e2b475ac2ea842b536
SHA1 (patch-ac) = 4b90e99c051391b9cd3a6c1f5781f41b4a855c29
SHA1 (patch-ad) = bfe9069e96fd46798afec73c93ad71db3a0e0e37
+SHA1 (patch-lib_types.h) = 2766833ba945d2fc71aa36bd6ebfac0e511fd8cb
diff --git a/sysutils/pciutils/patches/patch-aa b/sysutils/pciutils/patches/patch-aa
index d9e08bb4eae..2cbbf640abe 100644
--- a/sysutils/pciutils/patches/patch-aa
+++ b/sysutils/pciutils/patches/patch-aa
@@ -1,16 +1,16 @@
---- Makefile.orig 2016-10-04 04:58:31.000000000 +0900
-+++ Makefile 2016-10-07 14:59:10.000000000 +0900
+--- Makefile.orig 2017-02-15 18:17:08.000000000 +0900
++++ Makefile 2017-02-16 12:34:04.536298774 +0900
@@ -1,8 +1,7 @@
# Makefile for The PCI Utilities
- # (c) 1998--2016 Martin Mares <mj@ucw.cz>
+ # (c) 1998--2017 Martin Mares <mj@ucw.cz>
-OPT=-O2
-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS=-Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
- VERSION=3.5.2
- DATE=2016-10-03
-@@ -13,7 +12,7 @@
+ VERSION=3.5.3
+ DATE=2017-02-15
+@@ -13,7 +12,7 @@ RELEASE=
CROSS_COMPILE=
# Support for compressed pci.ids (yes/no, default: detect)
@@ -19,7 +19,7 @@
# Support for resolving ID's by DNS (yes/no, default: detect)
DNS=
-@@ -29,23 +28,23 @@
+@@ -29,23 +28,23 @@ HWDB=
# ABI version suffix in the name of the shared library
# (as we use proper symbol versioning, this seldom needs changing)
@@ -52,7 +52,7 @@
AR=$(CROSS_COMPILE)ar
RANLIB=$(CROSS_COMPILE)ranlib
-@@ -110,12 +109,18 @@
+@@ -110,12 +109,18 @@ distclean: clean
install: all
# -c is ignored on Linux, but required on FreeBSD
@@ -77,7 +77,7 @@
ifeq ($(SHARED),yes)
ifeq ($(LIBEXT),dylib)
ln -sf $(PCILIB) $(DESTDIR)$(LIBDIR)/$(LIBNAME)$(ABI_VERSION).$(LIBEXT)
-@@ -129,13 +134,14 @@
+@@ -129,13 +134,14 @@ install: install-pcilib
endif
install-pcilib: lib/$(PCILIB)
diff --git a/sysutils/pciutils/patches/patch-lib_types.h b/sysutils/pciutils/patches/patch-lib_types.h
new file mode 100644
index 00000000000..0edf9b3d7b3
--- /dev/null
+++ b/sysutils/pciutils/patches/patch-lib_types.h
@@ -0,0 +1,35 @@
+--- 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 */
+