Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2012-02-03 10:25:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and      /work/SRC/openSUSE:Factory/.pciutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pciutils", Maintainer is "dlova...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes        2011-11-16 
17:21:07.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2012-02-03 
10:25:15.000000000 +0100
@@ -1,0 +2,22 @@
+Sun Jan 29 02:18:30 UTC 2012 - tabra...@novell.com
+
+- Update to 3.1.9
+  * Whereever we mention the PCI ID database, we now refer to
+    http://pci-ids.ucw.cz/ and the sf.net site is mentioned only
+    as a mirror. This includes update-pciids.
+  * Decode PCIe Gen 3 speeds and link status fields
+  * various minor bug fixes
+  * Updated pci.ids to the 2012-01-14 snapshot of the database
+
+- Update to 3.1.8
+  * More capabilities: Transaction Processing Hints, Latency 
+    Tolerance Reporting. Thanks to Jesse Barnes.
+  * Added BeOS and Haiku ports. Contributed by Francois Revol.
+  * pciutils.pc now uses Libs.private properly.
+  * When we format a name and it does not fit in the buffer, we 
+    truncate it instead of returning "buffer too small" instead. 
+    This works on all platforms with sane (i.e., C99-compatible) 
+    snprintf().
+  * various minor bug fixes
+
+-------------------------------------------------------------------

Old:
----
  pciutils-3.1.7.tar.bz2
  pciutils-3.1.7_pkgconfig.patch

New:
----
  pciutils-3.1.9.tar.bz2
  pciutils-3.1.9_pkgconfig.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pciutils.spec ++++++
--- /var/tmp/diff_new_pack.4wWTA0/_old  2012-02-03 10:25:16.000000000 +0100
+++ /var/tmp/diff_new_pack.4wWTA0/_new  2012-02-03 10:25:16.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pciutils
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,8 +19,8 @@
 
 
 Name:           pciutils
-Version:        3.1.7
-Release:        11
+Version:        3.1.9
+Release:        1
 BuildRequires:  zlib-devel
 BuildRequires:  pkg-config
 Requires:       pciutils-ids
@@ -84,8 +84,8 @@
 %prep
 %setup -q
 %patch -p1
-%patch1
-%patch2
+%patch1 -p1
+%patch2 -p1
 
 %build
 make %{?_smp_mflags} OPT="$RPM_OPT_FLAGS -Wall" PREFIX=%{_prefix} 
LIBDIR=/%{_lib} SBINDIR=/sbin STRIP="" SHARED="yes"

++++++ pciutils-3.1.7.tar.bz2 -> pciutils-3.1.9.tar.bz2 ++++++
++++ 8502 lines of diff (skipped)

++++++ pciutils-3.1.7_pkgconfig.patch -> pciutils-3.1.9_pkgconfig.patch ++++++
--- /work/SRC/openSUSE:Factory/pciutils/pciutils-3.1.7_pkgconfig.patch  
2011-09-23 12:21:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils-3.1.9_pkgconfig.patch     
2012-02-03 10:25:15.000000000 +0100
@@ -1,11 +1,10 @@
-Index: lib/libpci.pc.in
-===================================================================
---- lib/libpci.pc.in.orig      2008-04-10 21:15:47.000000000 +0200
-+++ lib/libpci.pc.in   2008-04-11 16:31:23.622221413 +0200
-@@ -6,5 +6,4 @@ idsdir=@IDSDIR@
+--- pciutils-3.1.9.orig/lib/libpci.pc.in       2011-10-02 05:52:11.000000000 
-0400
++++ pciutils-3.1.9/lib/libpci.pc.in    2012-01-28 20:50:44.702715889 -0500
+@@ -6,6 +6,5 @@
  Name: libpci
  Description: libpci
  Version: @VERSION@
--Libs: -L${libdir} -lpci @LDLIBS@
--Cflags: -I${includedir}
+-Libs: -L${libdir} -lpci
 +Libs: -lpci @LDLIBS@
+ Libs.private: @LDLIBS@
+-Cflags: -I${includedir}

++++++ pciutils-ocloexec.patch ++++++
--- /var/tmp/diff_new_pack.4wWTA0/_old  2012-02-03 10:25:16.000000000 +0100
+++ /var/tmp/diff_new_pack.4wWTA0/_new  2012-02-03 10:25:16.000000000 +0100
@@ -1,17 +1,52 @@
---- lib/dump.c.orig
-+++ lib/dump.c
-@@ -64,7 +64,7 @@ dump_init(struct pci_access *a)
+diff -aur pciutils-3.1.9.orig/lib/dump.c pciutils-3.1.9/lib/dump.c
+--- pciutils-3.1.9.orig/lib/dump.c     2011-11-14 06:08:39.000000000 -0500
++++ pciutils-3.1.9/lib/dump.c  2012-01-28 20:53:40.446518788 -0500
+@@ -64,7 +64,7 @@
  
-   if (!a)
+   if (!name)
      a->error("dump: File name not given.");
 -  if (!(f = fopen(name, "r")))
 +  if (!(f = fopen(name, "re")))
      a->error("dump: Cannot open %s: %s", name, strerror(errno));
    while (fgets(buf, sizeof(buf)-1, f))
      {
---- lib/proc.c.orig
-+++ lib/proc.c
-@@ -62,7 +62,7 @@ proc_scan(struct pci_access *a)
+diff -aur pciutils-3.1.9.orig/lib/names-cache.c 
pciutils-3.1.9/lib/names-cache.c
+--- pciutils-3.1.9.orig/lib/names-cache.c      2011-01-07 16:04:28.000000000 
-0500
++++ pciutils-3.1.9/lib/names-cache.c   2012-01-28 20:56:42.181246792 -0500
+@@ -62,7 +62,7 @@
+       return 0;
+     }
+ 
+-  f = fopen(name, "rb");
++  f = fopen(name, "rbe");
+   if (!f)
+     {
+       a->debug("Cache file does not exist\n");
+@@ -135,7 +135,7 @@
+   tmpname = pci_malloc(a, strlen(name) + strlen(hostname) + 64);
+   sprintf(tmpname, "%s.tmp-%s-%d", name, hostname, this_pid);
+ 
+-  f = fopen(tmpname, "wb");
++  f = fopen(tmpname, "wbe");
+   if (!f)
+     {
+       a->warning("Cannot write to %s: %s", name, strerror(errno));
+diff -aur pciutils-3.1.9.orig/lib/names-parse.c 
pciutils-3.1.9/lib/names-parse.c
+--- pciutils-3.1.9.orig/lib/names-parse.c      2011-01-07 16:04:28.000000000 
-0500
++++ pciutils-3.1.9/lib/names-parse.c   2012-01-28 20:56:11.462630829 -0500
+@@ -52,7 +52,7 @@
+ typedef FILE * pci_file;
+ #define pci_gets(f, l, s)     fgets(l, s, f)
+ #define pci_eof(f)            feof(f)
+-#define pci_open(a)           fopen(a->id_file_name, "r")
++#define pci_open(a)           fopen(a->id_file_name, "re")
+ #define pci_close(f)          fclose(f)
+ #define PCI_ERROR(f, err)     if (!err && ferror(f))  err = "I/O error";
+ #endif
+diff -aur pciutils-3.1.9.orig/lib/proc.c pciutils-3.1.9/lib/proc.c
+--- pciutils-3.1.9.orig/lib/proc.c     2011-01-07 16:04:28.000000000 -0500
++++ pciutils-3.1.9/lib/proc.c  2012-01-28 20:55:32.827113838 -0500
+@@ -62,7 +62,7 @@
  
    if (snprintf(buf, sizeof(buf), "%s/devices", pci_get_param(a, "proc.path")) 
== sizeof(buf))
      a->error("File name too long");
@@ -20,7 +55,7 @@
    if (!f)
      a->error("Cannot open %s", buf);
    while (fgets(buf, sizeof(buf)-1, f))
-@@ -129,7 +129,7 @@ proc_setup(struct pci_dev *d, int rw)
+@@ -129,7 +129,7 @@
        if (e < 0 || e >= (int) sizeof(buf))
        a->error("File name too long");
        a->fd_rw = a->writeable || rw;
@@ -29,7 +64,7 @@
        if (a->fd < 0)
        {
          e = snprintf(buf, sizeof(buf), "%s/%04x:%02x/%02x.%d",
-@@ -137,7 +137,7 @@ proc_setup(struct pci_dev *d, int rw)
+@@ -137,7 +137,7 @@
                       d->domain, d->bus, d->dev, d->func);
          if (e < 0 || e >= (int) sizeof(buf))
            a->error("File name too long");
@@ -38,40 +73,10 @@
        }
        if (a->fd < 0)
        a->warning("Cannot open %s", buf);
---- lib/names-parse.c.orig
-+++ lib/names-parse.c
-@@ -52,7 +52,7 @@ static pci_file pci_open(struct pci_acce
- typedef FILE * pci_file;
- #define pci_gets(f, l, s)     fgets(l, s, f)
- #define pci_eof(f)            feof(f)
--#define pci_open(a)           fopen(a->id_file_name, "r")
-+#define pci_open(a)           fopen(a->id_file_name, "re")
- #define pci_close(f)          fclose(f)
- #define PCI_ERROR(f, err)     if (!err && ferror(f))  err = "I/O error";
- #endif
---- lib/names-cache.c.orig
-+++ lib/names-cache.c
-@@ -62,7 +62,7 @@ pci_id_cache_load(struct pci_access *a,
-       return 0;
-     }
- 
--  f = fopen(name, "rb");
-+  f = fopen(name, "rbe");
-   if (!f)
-     {
-       a->debug("Cache file does not exist\n");
-@@ -135,7 +135,7 @@ pci_id_cache_flush(struct pci_access *a)
-   tmpname = pci_malloc(a, strlen(name) + strlen(hostname) + 64);
-   sprintf(tmpname, "%s.tmp-%s-%d", name, hostname, this_pid);
- 
--  f = fopen(tmpname, "wb");
-+  f = fopen(tmpname, "wbe");
-   if (!f)
-     {
-       a->warning("Cannot write to %s: %s", name, strerror(errno));
---- lib/sysfs.c.orig
-+++ lib/sysfs.c
-@@ -93,7 +93,7 @@ sysfs_get_value(struct pci_dev *d, char
+diff -aur pciutils-3.1.9.orig/lib/sysfs.c pciutils-3.1.9/lib/sysfs.c
+--- pciutils-3.1.9.orig/lib/sysfs.c    2011-01-07 16:04:28.000000000 -0500
++++ pciutils-3.1.9/lib/sysfs.c 2012-01-28 20:58:27.320932364 -0500
+@@ -93,7 +93,7 @@
    char namebuf[OBJNAMELEN], buf[256];
  
    sysfs_obj_name(d, object, namebuf);
@@ -80,7 +85,7 @@
    if (fd < 0)
      a->error("Cannot open %s: %s", namebuf, strerror(errno));
    n = read(fd, buf, sizeof(buf));
-@@ -115,7 +115,7 @@ sysfs_get_resources(struct pci_dev *d)
+@@ -115,7 +115,7 @@
    int i;
  
    sysfs_obj_name(d, "resource", namebuf);
@@ -89,7 +94,7 @@
    if (!file)
      a->error("Cannot open %s: %s", namebuf, strerror(errno));
    for (i = 0; i < 7; i++)
-@@ -220,7 +220,7 @@ sysfs_fill_slots(struct pci_access *a)
+@@ -220,7 +220,7 @@
        n = snprintf(namebuf, OBJNAMELEN, "%s/%s/%s", dirname, entry->d_name, 
"address");
        if (n < 0 || n >= OBJNAMELEN)
        a->error("File name too long");
@@ -98,7 +103,7 @@
        /*
         * Old versions of Linux had a fakephp which didn't have an 'address'
         * file.  There's no useful information to be gleaned from these
-@@ -283,7 +283,7 @@ sysfs_setup(struct pci_dev *d, int inten
+@@ -283,7 +283,7 @@
        if (a->fd_vpd < 0)
        {
          sysfs_obj_name(d, "vpd", namebuf);
@@ -107,7 +112,7 @@
          /* No warning on error; vpd may be absent or accessible only to root 
*/
        }
        return a->fd_vpd;
-@@ -293,7 +293,7 @@ sysfs_setup(struct pci_dev *d, int inten
+@@ -293,7 +293,7 @@
      {
        sysfs_obj_name(d, "config", namebuf);
        a->fd_rw = a->writeable || intent == SETUP_WRITE_CONFIG;

++++++ update-pciutils-dist ++++++
--- /var/tmp/diff_new_pack.4wWTA0/_old  2012-02-03 10:25:16.000000000 +0100
+++ /var/tmp/diff_new_pack.4wWTA0/_new  2012-02-03 10:25:16.000000000 +0100
@@ -1,8 +1,7 @@
-Index: pciutils-3.1.3/Makefile
-===================================================================
---- pciutils-3.1.3.orig/Makefile
-+++ pciutils-3.1.3/Makefile
-@@ -78,7 +78,7 @@ setpci.o: setpci.c pciutils.h $(PCIINC)
+diff -aur pciutils-3.1.9.orig/Makefile pciutils-3.1.9/Makefile
+--- pciutils-3.1.9.orig/Makefile       2012-01-14 09:07:55.000000000 -0500
++++ pciutils-3.1.9/Makefile    2012-01-28 21:03:25.072209962 -0500
+@@ -78,7 +78,7 @@
  common.o: common.c pciutils.h $(PCIINC)
  
  update-pciids: update-pciids.sh
@@ -11,29 +10,29 @@
        chmod +x $@
  
  # The example of use of libpci
-Index: pciutils-3.1.3/update-pciids.sh
-===================================================================
---- pciutils-3.1.3.orig/update-pciids.sh
-+++ pciutils-3.1.3/update-pciids.sh
+diff -aur pciutils-3.1.9.orig/update-pciids.sh pciutils-3.1.9/update-pciids.sh
+--- pciutils-3.1.9.orig/update-pciids.sh       2012-01-14 09:29:38.000000000 
-0500
++++ pciutils-3.1.9/update-pciids.sh    2012-01-28 21:05:57.719301612 -0500
 @@ -4,7 +4,7 @@
  
  set -e
- SRC="http://pciids.sourceforge.net/v2.2/pci.ids";
+ SRC="http://pci-ids.ucw.cz/v2.2/pci.ids";
 -DEST=pci.ids
 +DEST=pci.ids.d/pci.ids.dist
  PCI_COMPRESSED_IDS=
  GREP=grep
  
-@@ -65,6 +65,12 @@ if [ -f $DEST ] ; then
- fi
+@@ -66,6 +66,13 @@
  mv $DEST.neww $DEST
  rm $DEST.new
+ 
 +if [ -x /usr/bin/merge-pciids -a -x /usr/bin/perl ]; then
 +      merge-pciids
 +else
 +      echo "WARNING: merge-pciids or perl missing"
 +      cp -p $DEST /usr/share/pci.ids
 +fi
- 
++
  # Older versions did not compress the ids file, so let's make sure we
  # clean that up.
+ if [ ${DEST%.gz} != ${DEST} ] ; then

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to