Hello community,
here is the log from the commit of package pciutils
checked in at Wed Apr 9 22:12:07 CEST 2008.
--------
--- pciutils/pciutils.changes 2007-11-06 22:38:01.000000000 +0100
+++ /mounts/work_src_done/STABLE/pciutils/pciutils.changes 2008-04-09 15:33:12.000000000 +0200
@@ -1,0 +2,14 @@
+Wed Apr 9 15:32:10 CEST 2008 - anicka@suse.cz
+
+- update to 2.2.10
+ * lspci.c, setpci.c: Cleaned up the list of options.
+ * lib/names.c: Fix displaying of errors reported by zlib.
+ Previously, the buffer containing the error message had
+ been deallocated by gzclose() before the message was printed.
+ * update-pciids.sh: Added quiet mode (-q). Clean up uncompressed
+ files left by previous versions of the pciutils.
+ * update-pciids.man: Mention the -q switch.
+ * lib/dump.c: Squashed compiler warnings about code with
+ no effect (there really were surplus *'s).
+
+-------------------------------------------------------------------
Old:
----
pciutils-2.2.9-strip.diff
pciutils-2.2.9.tar.bz2
New:
----
pciutils-2.2.10-strip.diff
pciutils-2.2.10.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pciutils.spec ++++++
--- /var/tmp/diff_new_pack.W29483/_old 2008-04-09 22:08:14.000000000 +0200
+++ /var/tmp/diff_new_pack.W29483/_new 2008-04-09 22:08:14.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package pciutils (Version 2.2.9)
+# spec file for package pciutils (Version 2.2.10)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,9 +10,10 @@
# norootforbuild
+
Name: pciutils
BuildRequires: zlib-devel
-Version: 2.2.9
+Version: 2.2.10
Release: 1
Requires: pciutils-ids
AutoReqProv: on
@@ -43,6 +44,7 @@
Martin Mares
%package devel
+License: GPL v2 or later
Group: Development/Libraries/C and C++
Summary: Static Library and Include Files of the PCI-utilities
# As we only package a static library we need zlib-devel for final linking
@@ -88,8 +90,20 @@
%defattr(-, root, root)
%{_includedir}/pci/
%{_libdir}/libpci.a
+
%changelog
-* Tue Nov 06 2007 - anicka@suse.cz
+* Wed Apr 09 2008 anicka@suse.cz
+- update to 2.2.10
+ * lspci.c, setpci.c: Cleaned up the list of options.
+ * lib/names.c: Fix displaying of errors reported by zlib.
+ Previously, the buffer containing the error message had
+ been deallocated by gzclose() before the message was printed.
+ * update-pciids.sh: Added quiet mode (-q). Clean up uncompressed
+ files left by previous versions of the pciutils.
+ * update-pciids.man: Mention the -q switch.
+ * lib/dump.c: Squashed compiler warnings about code with
+ no effect (there really were surplus *'s).
+* Wed Nov 07 2007 anicka@suse.cz
- update to 2.2.9
* lspci.c: Added a new switch `-k' which requests printing
of information on kernel drivers attached to each device
@@ -106,11 +120,11 @@
all options except verbose to opt_*.
* Capability loop detection introduced 2.2.7 did not work
properly with extended capabilities. Fixed.
-* Wed Oct 24 2007 - anicka@suse.cz
+* Wed Oct 24 2007 anicka@suse.cz
- drop the patch backporting upstream bug in
a machine readable output [#330533]
- fix typo in show_ext_caps in lspci
-* Fri Oct 05 2007 - anicka@suse.cz
+* Fri Oct 05 2007 anicka@suse.cz
- update to 2.2.7
* lspci.c (show_caps, show_ext_caps): Detect and report loops in
capability lists.
@@ -127,13 +141,13 @@
* lspci.c (show_ht): Added decoding of Hypertransport MSI
mapping capability
* tests/cap-MSI-mapping: Added a test case.
-* Tue Jul 03 2007 - anicka@suse.cz
+* Tue Jul 03 2007 anicka@suse.cz
- update to 2.2.6
* Makefile: Added an "install-lib" target.
* Makefile, lib/Makefile: Generate and install pkg-config file
for libpci.
* lib/i386-io-hurd.h: Rewritten for new Hurd kernels.
-* Fri May 04 2007 - anicka@suse.cz
+* Fri May 04 2007 anicka@suse.cz
- update to 2.2.5
* pci.ids: Updated to the current snapshot of the database.
* lspci.c (show_express): Added PCI/PCI-X to PCI-Express
@@ -156,172 +170,172 @@
standard config header of a device, report it and ignore the
device and return with exit code 2 at the end.
- remove noabort.diff (implemented by upstream)
-* Thu Mar 29 2007 - rguenther@suse.de
+* Thu Mar 29 2007 rguenther@suse.de
- add zlib-devel BuildRequires
- require zlib-devel from pciutils-devel package
-* Mon Jan 29 2007 - anicka@suse.cz
+* Mon Jan 29 2007 anicka@suse.cz
- change dependency from python to perl in update-pciids [#221276]
-* Sat Jan 20 2007 - garloff@suse.de
+* Sat Jan 20 2007 garloff@suse.de
- Change update-pciids to download to pci.ids.d/pci.ids.dist
and call merge-pciids if possible. [FATE 301145, bug 221276]
-* Fri Oct 13 2006 - aj@suse.de
+* Fri Oct 13 2006 aj@suse.de
- Fix to build (remove pci.ids.gz as well).
-* Fri Oct 13 2006 - mjancar@suse.cz
+* Fri Oct 13 2006 mjancar@suse.cz
- update to 2.2.4
* many bugfixes and cleanups
- branch separate package for pci.ids
-* Mon May 22 2006 - schwab@suse.de
+* Mon May 22 2006 schwab@suse.de
- Don't strip binaries.
-* Wed Mar 22 2006 - kukuk@suse.de
+* Wed Mar 22 2006 kukuk@suse.de
- Remove pciids-suse patch (has to be fixed upstream)
-* Wed Mar 22 2006 - kukuk@suse.de
+* Wed Mar 22 2006 kukuk@suse.de
- Auto-Update pci.ids
-* Wed Jan 25 2006 - mls@suse.de
+* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Fri Jan 20 2006 - mjancar@suse.cz
+* Fri Jan 20 2006 mjancar@suse.cz
- update pci.ids (#144200)
-* Fri Jan 13 2006 - mjancar@suse.cz
+* Fri Jan 13 2006 mjancar@suse.cz
- reintroduce "Class" printed in numeric output (#143042)
-* Mon Dec 19 2005 - mjancar@suse.cz
+* Mon Dec 19 2005 mjancar@suse.cz
- update to 2.2.1
-* Fri Aug 26 2005 - mjancar@suse.cz
+* Fri Aug 26 2005 mjancar@suse.cz
- add types.h to pciutils-devel (#113294)
-* Wed Aug 24 2005 - mjancar@suse.cz
+* Wed Aug 24 2005 mjancar@suse.cz
- update to 2.1.99-test9 (#98896)
- update pci.ids (#104381)
-* Mon Mar 14 2005 - mjancar@suse.cz
+* Mon Mar 14 2005 mjancar@suse.cz
- fix non-ascii characters in pci.ids (#72345)
-* Sat Mar 05 2005 - schwab@suse.de
+* Sat Mar 05 2005 schwab@suse.de
- Fix syntax error in pci.ids.
-* Tue Feb 22 2005 - mjancar@suse.cz
+* Tue Feb 22 2005 mjancar@suse.cz
- fix sysfs parsing (#63326)
- update pci.ids
-* Fri Sep 17 2004 - tcrhak@suse.cz
+* Fri Sep 17 2004 tcrhak@suse.cz
- updated pci.ids to the latest snapshot (fixes bug #45370)
-* Thu May 27 2004 - tcrhak@suse.cz
+* Thu May 27 2004 tcrhak@suse.cz
- changed "SGI IO9/IO10 Gigabit Ethernet (Copper)"
to "SGI IO9/IO10 Gigabit Ethernet (Copper)" (bug #40175)
-* Wed Apr 28 2004 - tcrhak@suse.cz
+* Wed Apr 28 2004 tcrhak@suse.cz
- updated pci.ids
-* Thu Mar 04 2004 - tcrhak@suse.cz
+* Thu Mar 04 2004 tcrhak@suse.cz
- some pci.ids fixes:
* changed SubDevice of Dell Inspiron 2100 internal modem (bug #32842)
* added 1291 - Auxiliary Diva Serial Port (bug #31984)
* added PCI IDs for InfiniBand HCAs (bug #34928)
-* Tue Feb 24 2004 - tcrhak@suse.cz
+* Tue Feb 24 2004 tcrhak@suse.cz
- added support for domains to device filter (lspci -s, setpci -s)
(fixes bug #33382, patch sysfs-filter)
- updated pci.ids
-* Sat Nov 29 2003 - olh@suse.de
+* Sun Nov 30 2003 olh@suse.de
- use default owner for pciutils-devel files
-* Wed Nov 05 2003 - olh@suse.de
+* Thu Nov 06 2003 olh@suse.de
- remove pcimodules again, it doesnt do anything right
-* Tue Oct 28 2003 - olh@suse.de
+* Tue Oct 28 2003 olh@suse.de
- add patch for 2.6 /proc/bus/pci layout
http://ftp.linux.org.uk/pub/linux/willy/patches/pciutils-sysfs.diff
-* Wed Oct 08 2003 - tcrhak@suse.cz
+* Wed Oct 08 2003 tcrhak@suse.cz
- added pcimodules [bug #31953]
-* Mon Aug 25 2003 - tcrhak@suse.cz
+* Mon Aug 25 2003 tcrhak@suse.cz
- updated pci.ids to the latest version from http://pciids.sourceforge.net
-* Tue Feb 18 2003 - tcrhak@suse.cz
+* Tue Feb 18 2003 tcrhak@suse.cz
- fixed NIC PCI IDs for Compaq [bug #22795],
patch pciids.diff
- also included the diff for the latest pci.ids
into the patch
-* Wed Jan 15 2003 - tcrhak@suse.cz
+* Wed Jan 15 2003 tcrhak@suse.cz
- fixed install paths
-* Mon Jan 06 2003 - tcrhak@suse.cz
+* Mon Jan 06 2003 tcrhak@suse.cz
- update to version 2.1.11
- updated pci.ids to the latest version from http://pciids.sourceforge.net
-* Tue Sep 17 2002 - ro@suse.de
+* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
-* Fri Sep 06 2002 - olh@suse.de
+* Fri Sep 06 2002 olh@suse.de
- update description of pcnet32 cards (#18892)
-* Thu Aug 29 2002 - tcrhak@suse.cz
+* Thu Aug 29 2002 tcrhak@suse.cz
- updated pci.ids to latest version from http://pciids.sourceforge.net
this version contains entries needed by Hammer systems (bug #17549)
-* Thu Aug 08 2002 - olh@suse.de
+* Thu Aug 08 2002 olh@suse.de
- the acenic gigabit card can be either fibre or utp
update pci.ids entry (#17502)
-* Tue Jul 30 2002 - tcrhak@suse.cz
+* Tue Jul 30 2002 tcrhak@suse.cz
- updated to version 2.1.10
- updated pci.ids to latest version from http://pciids.sourceforge.net
-* Tue Mar 26 2002 - tcrhak@suse.cz
+* Tue Mar 26 2002 tcrhak@suse.cz
- updated pci.ids to latest version from http://pciids.sourceforge.net
-* Fri Jan 18 2002 - tcrhak@suse.cz
+* Fri Jan 18 2002 tcrhak@suse.cz
- used macros %%{_lib} and %%{_libdir}
-* Tue Jan 08 2002 - schwab@suse.de
+* Tue Jan 08 2002 schwab@suse.de
- Fix warnings.
-* Mon Dec 17 2001 - tcrhak@suse.cz
+* Mon Dec 17 2001 tcrhak@suse.cz
- updated pciutils to 2.1.9
- updated pci.ids to latest version from
http://pciids.sourceforge.net/
-* Wed Dec 12 2001 - grimmer@suse.de
+* Wed Dec 12 2001 grimmer@suse.de
- updated pci.ids to latest version from
http://pciids.sourceforge.net/
- added pci.ids.bz2 as a separate source file and removed
pci.ids.add.dif (now included upstream)
-* Mon Sep 24 2001 - grimmer@suse.de
+* Mon Sep 24 2001 grimmer@suse.de
- added some missing PCI IDs for LSI Logic Fibre Channel
controllers to pci.ids.add.diff
- corrected typos in pci.ids (Fiber Channel -> Fibre Channel)
- added LSI Logic Inc. to vendor ID 0x1000
-* Wed Sep 19 2001 - grimmer@suse.de
+* Wed Sep 19 2001 grimmer@suse.de
- added some missing PCI IDs for Compaq NICs to pci.ids.add.diff
see [#8918] for the list
-* Mon Sep 10 2001 - grimmer@suse.de
+* Mon Sep 10 2001 grimmer@suse.de
- corrected some Intel NIC entries upon request from Intel
- merged pci.ids.riva.diff and the Intel changes in pci.ids.add.diff
-* Mon Sep 03 2001 - garloff@suse.de
+* Tue Sep 04 2001 garloff@suse.de
- Riva TnT corrections from snbarth:
* The name of Riva TnT 128 is Riva TnT.
* NVidia/SGS Joint Venture (12d2) never built TNT or later.
-* Wed Aug 29 2001 - grimmer@suse.de
+* Wed Aug 29 2001 grimmer@suse.de
- merged pci.ids.244ac6.diff and pci.ids.add.diff into a single
patch (again named pci.ids.add.diff) and added some more PCI IDs
collected by Dave Jones from various sources,
including the current pciutils CVS tree.
- beautyfied the spec file a bit (added clean section and defattr
in file list)
-* Mon May 21 2001 - poeml@suse.de
+* Tue May 22 2001 poeml@suse.de
- add -devel subpackage
-* Thu May 10 2001 - garloff@suse.de
+* Thu May 10 2001 garloff@suse.de
- Merge pci.ids from 2.4.4ac6
- bzip2 tarball
-* Thu May 03 2001 - garloff@suse.de
+* Fri May 04 2001 garloff@suse.de
- Also don't die on failing to read data of a normal device,
just complain loudly (and return 2 in the end)
- Updated pci.ids from linux-2.4.4 and added DFE-660.
-* Wed Jan 17 2001 - garloff@suse.de
+* Wed Jan 17 2001 garloff@suse.de
- Don't die on failure to read ext. cardbus data. [#5817]
-* Sun Dec 17 2000 - garloff@suse.de
+* Sun Dec 17 2000 garloff@suse.de
- Added pci.ids from linux-2.4.0-test12
- Added pci.ids floating around (lkml, RH)
- Added pci.ids for i820, ICH2/-M
-* Mon Sep 18 2000 - schwab@suse.de
+* Mon Sep 18 2000 schwab@suse.de
- Add `-Wno-format' to avoid spurious compile errors.
-* Fri Aug 18 2000 - ro@suse.de
+* Fri Aug 18 2000 ro@suse.de
- cleanup srcdir
-* Mon Jun 12 2000 - olh@suse.de
+* Mon Jun 12 2000 olh@suse.de
- update to 2.1.8
-* Mon Jan 24 2000 - aj@suse.de
+* Mon Jan 24 2000 aj@suse.de
- update to 2.1.4, fix build problems with latest glibc, use patch
for make file from Martin Mares.
-* Thu Jan 20 2000 - aj@suse.de
+* Thu Jan 20 2000 aj@suse.de
- update to 2.1.3, /usr/man -> /usr/share/man
-* Tue Jan 04 2000 - ro@suse.de
+* Tue Jan 04 2000 ro@suse.de
- update to 2.1.2
-* Tue Oct 26 1999 - ro@suse.de
+* Tue Oct 26 1999 ro@suse.de
- fixed to compile on axp
-* Sat Oct 23 1999 - ro@suse.de
+* Sat Oct 23 1999 ro@suse.de
- update to 2.1pre8 / using Buildroot
-* Mon Sep 13 1999 - bs@suse.de
+* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-* Thu May 20 1999 - ro@suse.de
+* Thu May 20 1999 ro@suse.de
- update to 2.0
-* Wed Mar 31 1999 - bs@suse.de
+* Wed Mar 31 1999 bs@suse.de
- don't use lx_hack for build
-* Tue Feb 23 1999 - ro@suse.de
+* Tue Feb 23 1999 ro@suse.de
- update to 1.10
-* Thu Nov 26 1998 - ro@suse.de
+* Thu Nov 26 1998 ro@suse.de
- created package, version 1.08
++++++ pciutils-2.2.9-strip.diff -> pciutils-2.2.10-strip.diff ++++++
++++++ pciutils-2.2.9.tar.bz2 -> pciutils-2.2.10.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/ChangeLog new/pciutils-2.2.10/ChangeLog
--- old/pciutils-2.2.9/ChangeLog 2007-11-06 22:27:34.000000000 +0100
+++ new/pciutils-2.2.10/ChangeLog 2008-02-12 12:30:51.000000000 +0100
@@ -1,3 +1,26 @@
+2008-02-11 Martin Mares
+
+ * Released as 2.2.10.
+
+ * lspci.c, setpci.c: Cleaned up the list of options.
+
+ * lib/names.c: Fix displaying of errors reported by zlib.
+ Previously, the buffer containing the error message had
+ been deallocated by gzclose() before the message was printed.
+
+2008-01-07 Martin Mares
+
+ * update-pciids.sh: Added quiet mode (-q). Clean up uncompressed
+ files left by previous versions of the pciutils. Patch by Mike
+ Frysinger.
+
+ * update-pciids.man: Mention the -q switch.
+
+2007-11-29 Martin Mares
+
+ * lib/dump.c: Squashed compiler warnings about code with
+ no effect (there really were surplus *'s).
+
2007-11-06 Martin Mares
* Released as 2.2.9.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/lib/configure new/pciutils-2.2.10/lib/configure
--- old/pciutils-2.2.9/lib/configure 2007-10-19 15:38:23.000000000 +0200
+++ new/pciutils-2.2.10/lib/configure 2008-02-11 21:04:18.000000000 +0100
@@ -64,7 +64,7 @@
echo >>$c "#define PCI_HAVE_PM_INTEL_CONF"
;;
*)
- echo " The PCI library is does not support Solaris for this architecture: $cpu"
+ echo " The PCI library does not support Solaris for this architecture: $cpu"
exit 1
;;
esac
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/lib/dump.c new/pciutils-2.2.10/lib/dump.c
--- old/pciutils-2.2.9/lib/dump.c 2006-09-17 16:55:50.000000000 +0200
+++ new/pciutils-2.2.10/lib/dump.c 2007-11-29 13:47:48.000000000 +0100
@@ -41,7 +41,7 @@
{
if (*fmt == '#' ? !isxdigit(*s) : *fmt != *s)
return 0;
- *fmt++, *s++;
+ fmt++, s++;
}
return 1;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/lib/names.c new/pciutils-2.2.10/lib/names.c
--- old/pciutils-2.2.9/lib/names.c 2007-08-27 18:10:22.000000000 +0200
+++ new/pciutils-2.2.10/lib/names.c 2008-02-11 21:04:26.000000000 +0100
@@ -1,7 +1,7 @@
/*
* The PCI Library -- ID to Name Translation
*
- * Copyright (c) 1997--2007 Martin Mares
+ * Copyright (c) 1997--2008 Martin Mares
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
@@ -43,9 +43,10 @@
#define PCI_ERROR(f, err) \
if (!err) { \
int errnum; \
- err = gzerror(f, &errnum); \
- if (errnum == Z_ERRNO) err = "I/O error"; \
- else if (errnum >= 0) err = NULL; \
+ gzerror(f, &errnum); \
+ if (errnum >= 0) err = NULL; \
+ else if (errnum == Z_ERRNO) err = "I/O error"; \
+ else err = zError(errnum); \
}
#else
typedef FILE * pci_file;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/lspci.c new/pciutils-2.2.10/lspci.c
--- old/pciutils-2.2.9/lspci.c 2007-11-06 22:27:24.000000000 +0100
+++ new/pciutils-2.2.10/lspci.c 2008-02-11 21:13:21.000000000 +0100
@@ -31,29 +31,27 @@
static char options[] = "nvbxs:d:ti:mgp:kMD" GENERIC_OPTIONS ;
-static char help_msg[] = "\
-Usage: lspci [<switches>]\n\
-\n\
--v\t\tBe verbose\n\
--n\t\tShow numeric ID's\n\
--nn\t\tShow both textual and numeric ID's (names & numbers)\n\
--b\t\tBus-centric view (PCI addresses and IRQ's instead of those seen by the CPU)\n\
--x\t\tShow hex-dump of the standard portion of config space\n\
--xxx\t\tShow hex-dump of the whole config space (dangerous; root only)\n\
--xxxx\t\tShow hex-dump of the 4096-byte extended config space (root only)\n\
--s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]\tShow only devices in selected slots\n\
--d [<vendor>]:[<device>]\tShow only selected devices\n\
--t\t\tShow bus tree\n\
--m\t\tProduce machine-readable output\n\
--i <file>\tUse specified ID database instead of %s\n"
+static char help_msg[] =
+"Usage: lspci [<switches>]\n"
+"\n"
+"-v\t\tBe verbose\n"
+"-n\t\tShow numeric ID's\n"
+"-nn\t\tShow both textual and numeric ID's (names & numbers)\n"
+"-b\t\tBus-centric view (PCI addresses and IRQ's instead of those seen by the CPU)\n"
+"-x\t\tShow hex-dump of the standard portion of config space\n"
+"-xxx\t\tShow hex-dump of the whole config space (dangerous; root only)\n"
+"-xxxx\t\tShow hex-dump of the 4096-byte extended config space (root only)\n"
+"-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]\tShow only devices in selected slots\n"
+"-d [<vendor>]:[<device>]\tShow only selected devices\n"
+"-t\t\tShow bus tree\n"
+"-m\t\tProduce machine-readable output\n"
+"-i <file>\tUse specified ID database instead of %s\n"
#ifdef PCI_OS_LINUX
-"\
--k\t\tShow kernel drivers handling each device\n\
--p <file>\tLook up kernel modules in a given file instead of default modules.pcimap\n"
+"-k\t\tShow kernel drivers handling each device\n"
+"-p <file>\tLook up kernel modules in a given file instead of default modules.pcimap\n"
#endif
-"\
--D\t\tAlways show domain numbers\n\
--M\t\tEnable `bus mapping' mode (dangerous; root only)\n"
+"-D\t\tAlways show domain numbers\n"
+"-M\t\tEnable `bus mapping' mode (dangerous; root only)\n"
GENERIC_HELP
;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/Makefile new/pciutils-2.2.10/Makefile
--- old/pciutils-2.2.9/Makefile 2007-11-06 22:29:09.000000000 +0100
+++ new/pciutils-2.2.10/Makefile 2008-02-12 12:31:02.000000000 +0100
@@ -1,11 +1,11 @@
# Makefile for The PCI Utilities
-# (c) 1998--2007 Martin Mares
+# (c) 1998--2008 Martin Mares
OPT=-O2
CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
-VERSION=2.2.9
-DATE=2007-11-06
+VERSION=2.2.10
+DATE=2008-02-11
PREFIX=/usr/local
SBINDIR=$(PREFIX)/sbin
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/pciutils.lsm new/pciutils-2.2.10/pciutils.lsm
--- old/pciutils-2.2.9/pciutils.lsm 2007-11-06 22:29:27.000000000 +0100
+++ new/pciutils-2.2.10/pciutils.lsm 2008-02-12 12:32:22.000000000 +0100
@@ -1,14 +1,14 @@
Begin3
Title: The PCI Utilities
-Version: 2.2.9
-Entered-date: 071106
+Version: 2.2.10
+Entered-date: 080212
Description: This package contains various utilities for inspecting and
setting of devices connected to the PCI bus.
Keywords: kernel, pci, lspci, setpci, libpci
Author: mj@ucw.cz (Martin Mares)
Maintained-by: mj@ucw.cz (Martin Mares)
-Primary-site: atrey.karlin.mff.cuni.cz pub/linux/pci/pciutils-2.2.9.tar.gz
-Alternate-site: ftp.kernel.org pub/software/utils/pciutils/pciutils-2.2.9.tar.gz
-Alternate-site: metalab.unc.edu pub/Linux/hardware/pciutils-2.2.9.tar.gz
+Primary-site: atrey.karlin.mff.cuni.cz pub/linux/pci/pciutils-2.2.10.tar.gz
+Alternate-site: ftp.kernel.org pub/software/utils/pciutils/pciutils-2.2.10.tar.gz
+Alternate-site: metalab.unc.edu pub/Linux/hardware/pciutils-2.2.10.tar.gz
Copying-policy: GPL
End
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/pciutils.spec new/pciutils-2.2.10/pciutils.spec
--- old/pciutils-2.2.9/pciutils.spec 2007-11-06 22:29:28.000000000 +0100
+++ new/pciutils-2.2.10/pciutils.spec 2008-02-12 12:32:23.000000000 +0100
@@ -1,5 +1,5 @@
Name: pciutils
-Version: 2.2.9
+Version: 2.2.10
Release: 1
Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
Copyright: GNU GPL
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/README new/pciutils-2.2.10/README
--- old/pciutils-2.2.9/README 2007-11-06 22:29:27.000000000 +0100
+++ new/pciutils-2.2.10/README 2008-02-12 12:32:22.000000000 +0100
@@ -1,6 +1,6 @@
-This package contains the PCI Utilities, version 2.2.9.
+This package contains the PCI Utilities, version 2.2.10.
-Copyright (c) 1997--2007 Martin Mares
+Copyright (c) 1997--2008 Martin Mares
All files in this package can be freely distributed and used according
to the terms of the GNU General Public License, either version 2 or
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/setpci.c new/pciutils-2.2.10/setpci.c
--- old/pciutils-2.2.9/setpci.c 2006-05-31 18:03:18.000000000 +0200
+++ new/pciutils-2.2.10/setpci.c 2008-02-11 21:13:55.000000000 +0100
@@ -258,10 +258,10 @@
fprintf(stderr, "\n\n");
}
fprintf(stderr,
-"Usage: setpci [<options>] (<device>+ <reg>[=<values>]*)*\n\
--f\t\tDon't complain if there's nothing to do\n\
--v\t\tBe verbose\n\
--D\t\tList changes, don't commit them\n"
+"Usage: setpci [<options>] (<device>+ <reg>[=<values>]*)*\n"
+"-f\t\tDon't complain if there's nothing to do\n"
+"-v\t\tBe verbose\n"
+"-D\t\tList changes, don't commit them\n"
GENERIC_HELP
"<device>:\t-s [[[<domain>]:][<bus>]:][<slot>][.[<func>]]\n"
"\t|\t-d [<vendor>]:[<device>]\n"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/update-pciids.man new/pciutils-2.2.10/update-pciids.man
--- old/pciutils-2.2.9/update-pciids.man 2006-05-05 14:18:34.000000000 +0200
+++ new/pciutils-2.2.10/update-pciids.man 2008-01-07 22:03:04.000000000 +0100
@@ -6,6 +6,7 @@
.SH SYNOPSIS
.B update-pciids
+.RB [ -q ]
.SH DESCRIPTION
.B update-pciids
@@ -15,6 +16,11 @@
This utility requires curl, wget or lynx to be installed. If gzip or bzip2
are available, it automatically downloads the compressed version of the list.
+.SH OPTIONS
+.TP
+.B -q
+Be quiet and do not report anything except errors.
+
.SH FILES
.TP
.B @IDSDIR@/pci.ids
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/update-pciids.sh new/pciutils-2.2.10/update-pciids.sh
--- old/pciutils-2.2.9/update-pciids.sh 2006-09-09 12:36:17.000000000 +0200
+++ new/pciutils-2.2.10/update-pciids.sh 2008-01-07 22:01:11.000000000 +0100
@@ -1,30 +1,41 @@
#!/bin/sh
+[ "$1" = "-q" ] && quiet=true || quiet=false
+
set -e
SRC="http://pciids.sourceforge.net/v2.2/pci.ids"
DEST=pci.ids
PCI_COMPRESSED_IDS=
GREP=grep
+# if pci.ids is read-only (because the filesystem is read-only),
+# then just skip this whole process.
+if ! touch ${DEST} >/dev/null 2>&1 ; then
+ ${quiet} || echo "${DEST} is read-only, exiting." 1>&2
+ exit 1
+fi
+
if [ -n "$PCI_COMPRESSED_IDS" ] ; then
DECOMP="cat"
SRC="$SRC.gz"
GREP=zgrep
-elif which bzip2 >/dev/null ; then
+elif which bzip2 >/dev/null 2>&1 ; then
DECOMP="bzip2 -d"
SRC="$SRC.bz2"
-elif which gzip >/dev/null ; then
+elif which gzip >/dev/null 2>&1 ; then
DECOMP="gzip -d"
SRC="$SRC.gz"
else
DECOMP="cat"
fi
-if which curl >/dev/null ; then
+if which curl >/dev/null 2>&1 ; then
DL="curl -o $DEST.new $SRC"
-elif which wget >/dev/null ; then
+ ${quiet} && DL="$DL -s -S"
+elif which wget >/dev/null 2>&1 ; then
DL="wget -O $DEST.new $SRC"
-elif which lynx >/dev/null ; then
+ ${quiet} && DL="$DL -q"
+elif which lynx >/dev/null 2>&1 ; then
DL="eval lynx -source $SRC >$DEST.new"
else
echo >&2 "update-pciids: cannot find curl, wget or lynx"
@@ -55,4 +66,10 @@
mv $DEST.neww $DEST
rm $DEST.new
-echo "Done."
+# Older versions did not compress the ids file, so let's make sure we
+# clean that up.
+if [ ${DEST%.gz} != ${DEST} ] ; then
+ rm -f ${DEST%.gz} ${DEST%.gz}.old
+fi
+
+${quiet} || echo "Done."
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pciutils-2.2.9/win32/config.h new/pciutils-2.2.10/win32/config.h
--- old/pciutils-2.2.9/win32/config.h 2007-11-06 22:29:28.000000000 +0100
+++ new/pciutils-2.2.10/win32/config.h 2008-02-12 12:32:23.000000000 +0100
@@ -3,4 +3,4 @@
#define PCI_HAVE_PM_INTEL_CONF
#define PCI_IDS "pci.ids"
#define PCI_PATH_IDS_DIR "."
-#define PCILIB_VERSION "2.2.9"
+#define PCILIB_VERSION "2.2.10"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org