summaryrefslogtreecommitdiff
path: root/sysutils/pciutils
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-07-08 06:00:47 +0000
committerhasso <hasso@pkgsrc.org>2009-07-08 06:00:47 +0000
commit040197d724d3281353a5ad4705000a1ce1aa8c7f (patch)
treea604bd871f571dcbef866c3d1d50ead6cfdf2bed /sysutils/pciutils
parent8c6a5f5c8329c06f5b6d52286b8a0bcc6b87f9e4 (diff)
downloadpkgsrc-040197d724d3281353a5ad4705000a1ce1aa8c7f.tar.gz
Update to 3.1.3. Upstream changes:
2009-07-04 Martin Mares <mj@ucw.cz> * Released as 3.1.3. * Updated pci.ids to the current snapshot of the database. * The VPD parser now reports unknown and vendor-defined items properly. It also stops on any item in unknown format, avoiding long output on bogus VPD data. Thanks to Ben Hutchings and Matthew Wilcox. * The MSI-X table size now matches the spec. Thanks to Michael S. Tsirkin. * The Power Management capability now includes the soft reset bit. Thanks to Yu Zhao. * Decoding of the Advanced Features capability has been added. Thanks to Yu Zhao. * The whole package compiles on GNU/kFreeBSD again. The following patches have been contributed by Matthew Wilcox: * The procfs back-end is able to cope with /proc/bus/pci containing names with domains, which occur on sparc64 and possibly other architectures due to a kernel bug. * The sysfs back-end no longer complains when a slot address is missing, which happens with old versions of Linux fakephp. * The Device Serial Number capability is printed in the right byte order. * The MSI and MSI-X capabilities are printed in a prettier way. * The tree output mode (`lspci -t') shows domain numbers only at the root, which makes the output more compact. * Updated documentation on the bus mapping mode (`lspci -M'). 2009-02-01 Martin Mares <mj@ucw.cz> * Released as 3.1.2. * Fixed another silly bug in the command-line parser of setpci. 2009-01-30 Martin Mares <mj@ucw.cz> * Released as 3.1.1. * Updated pci.ids to the current snapshot of the database. * The configure script now sets LC_ALL to avoid being fooled by locale-dependent behavior of `tr'. * The command-line parser of setpci did sometimes segfault on invalid input. Thanks to Andreas Wiese for a fix. 2009-01-18 Martin Mares <mj@ucw.cz> * Released as 3.1.0. * Updated pci.ids to the current snapshot of the database. * The Cygwin backend now works on Windows Vista. Thanks to Jonathan Kotta. * Fixed a bug in decoding of the SR-IOV capability. Patch by Yu Zhao. * Details of some PCIe capabilities are displayed only with -vv. * When a BAR is reported by the OS, but not by the device (i.e., it is marked as [virtual] in lspci), the [disabled] flag is suppressed, because it does not make sense in such cases. Patch by Yu Zhao. 2008-12-13 Martin Mares <mj@ucw.cz> * The source code of lspci has been split to multiple files, hopefully making it easier to maintain. * The library and lspci now know about physical slot names. So far, they are provided by the sysfs back-end only. Thanks go to Alex Chiang. * When a device has the VPD (Vital Product Data) capability and the VPD data are supplied by the OS, they are decoded and printed in the verbose mode. This currently works only on Linux with the sysfs back-end. Thanks to Ben Hutchings of Solarflare for the patch. * `setpci --version' now works properly. * `setpci --dumpregs' prints a table of all known names of registers and capabilities. This replaces the table of registers in the setpci man page. * The dry-run mode of setpci gives better feedback. * The setpci utility is now able to address registers stored in PCI capabilities (actually it allows a more general form of relative addressing). * The library has gained functions for working with PCI capabilities. * Address Translation Services capability is now decoded. Patch by Yu Zhao. 2008-11-09 Martin Mares <mj@ucw.cz> * Released as 3.0.3. * `lspci -k' now displays the subsystem ID, too. This makes `-k' show everything needed to identify the device and the available drivers, which was called for by many users. * Fixed spelling of MSI. Patch by Matthew Wilcox. * Better support for cross-compilation. Thanks to Alon Bar-Lev for the patch. * Fixed printing of the AER capability. Patch by Max Asbock. * HT 1.02 capabilities are decoded as HT 1.03. Suggested by Carl-Daniel Hailfinger. * Fixed Cygwin build. Thanks to Steve Elliott for reporting the bug. * Updated pci.ids to the current snapshot of the database.
Diffstat (limited to 'sysutils/pciutils')
-rw-r--r--sysutils/pciutils/Makefile4
-rw-r--r--sysutils/pciutils/distinfo10
-rw-r--r--sysutils/pciutils/patches/patch-aa30
3 files changed, 23 insertions, 21 deletions
diff --git a/sysutils/pciutils/Makefile b/sysutils/pciutils/Makefile
index b14ffae7af7..422fea361ca 100644
--- a/sysutils/pciutils/Makefile
+++ b/sysutils/pciutils/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2009/05/01 14:50:38 zafer Exp $
+# $NetBSD: Makefile,v 1.15 2009/07/08 06:00:47 hasso Exp $
-DISTNAME= pciutils-3.0.2
+DISTNAME= pciutils-3.1.3
CATEGORIES= sysutils
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \
ftp://ftp.kernel.org/pub/software/utils/pciutils/
diff --git a/sysutils/pciutils/distinfo b/sysutils/pciutils/distinfo
index 23e903b9ca2..7acf1ad174c 100644
--- a/sysutils/pciutils/distinfo
+++ b/sysutils/pciutils/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2008/11/03 22:01:29 bjs Exp $
+$NetBSD: distinfo,v 1.6 2009/07/08 06:00:47 hasso Exp $
-SHA1 (pciutils-3.0.2.tar.gz) = 4591785f6f70ed44e593933bb34012d83b4c3853
-RMD160 (pciutils-3.0.2.tar.gz) = bab0a8261267dd7be50c29984c1d813174c4a0f7
-Size (pciutils-3.0.2.tar.gz) = 270474 bytes
-SHA1 (patch-aa) = fd5bbbc34e64ee9d989256d0defac03c581f8e80
+SHA1 (pciutils-3.1.3.tar.gz) = 7b7e473fe6778829db5cac9de60b3f10030a6c0d
+RMD160 (pciutils-3.1.3.tar.gz) = f0f23de4582a2d66a551588e80c5001256ba5f71
+Size (pciutils-3.1.3.tar.gz) = 296808 bytes
+SHA1 (patch-aa) = 16e03deaec5e918bca910f3b53e86920d8b4e9b2
SHA1 (patch-ab) = 1448bb418cdc908eb6652cc98994d23d0d78cea0
SHA1 (patch-ac) = c917e8ad2d1e87fa65a2d8f3256afd40d5a87396
diff --git a/sysutils/pciutils/patches/patch-aa b/sysutils/pciutils/patches/patch-aa
index 1f4844723a7..9ef5094bcc6 100644
--- a/sysutils/pciutils/patches/patch-aa
+++ b/sysutils/pciutils/patches/patch-aa
@@ -1,19 +1,19 @@
-$NetBSD: patch-aa,v 1.4 2008/11/03 22:01:29 bjs Exp $
+$NetBSD: patch-aa,v 1.5 2009/07/08 06:00:47 hasso Exp $
---- Makefile.orig 2008-09-19 14:09:09.000000000 -0400
-+++ Makefile
+--- Makefile.orig 2009-02-01 18:49:22 +0200
++++ Makefile 2009-06-19 11:24:05 +0300
@@ -1,8 +1,7 @@
# Makefile for The PCI Utilities
- # (c) 1998--2008 Martin Mares <mj@ucw.cz>
+ # (c) 1998--2009 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
++CFLAGS=-Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
- VERSION=3.0.2
- DATE=2008-09-19
-@@ -12,7 +11,7 @@ HOST=
- RELEASE=
+ VERSION=3.1.3
+ DATE=2009-07-04
+@@ -13,7 +12,7 @@ RELEASE=
+ CROSS_COMPILE=
# Support for compressed pci.ids (yes/no, default: detect)
-ZLIB=
@@ -21,7 +21,7 @@ $NetBSD: patch-aa,v 1.4 2008/11/03 22:01:29 bjs Exp $
# Support for resolving ID's by DNS (yes/no, default: detect)
DNS=
-@@ -21,22 +20,22 @@ DNS=
+@@ -22,23 +21,23 @@ DNS=
SHARED=no
# ABI version suffix in the name of the shared library
@@ -46,13 +46,15 @@ $NetBSD: patch-aa,v 1.4 2008/11/03 22:01:29 bjs Exp $
-INSTALL=install
-DIRINSTALL=install -d
-STRIP=-s
+-CC=$(CROSS_COMPILE)gcc
+#INSTALL=install
-+#DIRINSTALL=$(INSTALL) -d
++#DIRINSTALL=install -d
+#STRIP=-s
- AR=ar
- RANLIB=ranlib
++#CC=$(CROSS_COMPILE)gcc
+ AR=$(CROSS_COMPILE)ar
+ RANLIB=$(CROSS_COMPILE)ranlib
-@@ -90,23 +89,31 @@ distclean: clean
+@@ -100,23 +99,31 @@ distclean: clean
install: all
# -c is ignored on Linux, but required on FreeBSD