Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2020-04-07 10:20:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and      /work/SRC/openSUSE:Factory/.pciutils.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pciutils"

Tue Apr  7 10:20:48 2020 rev:62 rq:790807 version:3.6.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes        2019-03-04 
09:16:48.088639566 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new.3248/pciutils.changes      
2020-04-07 10:21:15.857825324 +0200
@@ -1,0 +2,28 @@
+Thu Apr  2 07:38:52 UTC 2020 - Martin Pluskal <[email protected]>
+
+- Update to version 3.6.4:
+  * A new back-end for the GNU Hurd was contributed by Joan Lledó.
+  * When printing VPD item identifiers, non-ASCII characters are escaped.
+- Changes for version 3.6.3
+  * `lspci -t' (tree mode) can be combined with `-s' to show a sub-tree.
+    We also fixed potential buffer overflows in the tree dumper.
+  * Cleaned messy code for dumping of I/O, memory, and ROM regions.
+    This helped fixing a bug, which caused some 64-bit regions to be
+    reported as virtual. All flags are now printed after the address
+    (previously, "[virtual]" and "[enhanced]" were before it for no good
+    reason).
+  * Added pci_find_cap_nr() to the library, which handles capabilities
+    which occur multiple times in a single device.
+  * Minor improvements in printing of PCIe capabilities.
+  * We now decode the Multicast and Secondary PCI Express extended
+    capabilities.
+  * The list of capability names available to setpci was updated.
+  * Minor bugs were fixed in FreeBSD and Solaris ports.
+  * We now prefer HTTPS URLs in all documentation
+  * The pci.ids file has a man page.
+  * As usually, updated pci.ids to the current snapshot of the database.
+- Drop no longer relevant pciutils-3.2.0_update-dist.patch
+- Do not ship update-pciids script - they are provided via hwdata
+  package and we dont want to override data by other packages
+
+-------------------------------------------------------------------

Old:
----
  pciutils-3.2.0_update-dist.patch
  pciutils-3.6.2.tar.sign
  pciutils-3.6.2.tar.xz

New:
----
  pciutils-3.6.4.tar.sign
  pciutils-3.6.4.tar.xz

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

Other differences:
------------------
++++++ pciutils.spec ++++++
--- /var/tmp/diff_new_pack.Jk83YN/_old  2020-04-07 10:21:16.401825929 +0200
+++ /var/tmp/diff_new_pack.Jk83YN/_new  2020-04-07 10:21:16.401825929 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pciutils
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define lname   libpci3
 Name:           pciutils
-Version:        3.6.2
+Version:        3.6.4
 Release:        0
 Summary:        PCI utilities for the Linux Kernel
 License:        GPL-2.0-or-later
@@ -27,7 +27,6 @@
 Source:         
https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz
 Source1:        
https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.sign
 Source2:        baselibs.conf
-Patch0:         pciutils-3.2.0_update-dist.patch
 Patch1:         pciutils-3.1.9_pkgconfig.patch
 Patch2:         pciutils-ocloexec.patch
 Patch3:         pciutils-endianh.patch
@@ -64,14 +63,10 @@
 development using the PCI utilities.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%autosetup -p1
 
 %build
-make %{?_smp_mflags} OPT="%{optflags}" PREFIX=%{_prefix} LIBDIR=/%{_lib} 
SBINDIR=/sbin STRIP="" SHARED="yes"
+%make_build OPT="%{optflags}" PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin 
STRIP="" SHARED="yes"
 
 %install
 make install PREFIX=%{buildroot}%{_prefix} SBINDIR=%{buildroot}/sbin \
@@ -91,11 +86,12 @@
 %doc README
 /sbin/lspci
 /sbin/setpci
-/sbin/update-pciids
+%exclude /sbin/update-pciids
 %{_mandir}/man7/pcilib.7%{?ext_man}
 %{_mandir}/man8/lspci.8%{?ext_man}
 %{_mandir}/man8/setpci.8%{?ext_man}
-%{_mandir}/man8/update-pciids.8%{?ext_man}
+%exclude %{_mandir}/man8/update-pciids.8%{?ext_man}
+%{_mandir}/man5/pci.ids.5%{?ext_man}
 
 %files -n %{lname}
 /%{_lib}/libpci.so.*

++++++ pciutils-3.1.9_pkgconfig.patch ++++++
--- /var/tmp/diff_new_pack.Jk83YN/_old  2020-04-07 10:21:16.437825969 +0200
+++ /var/tmp/diff_new_pack.Jk83YN/_new  2020-04-07 10:21:16.437825969 +0200
@@ -1,7 +1,7 @@
-Index: pciutils-3.3.1/lib/libpci.pc.in
+Index: pciutils-3.6.4/lib/libpci.pc.in
 ===================================================================
---- pciutils-3.3.1.orig/lib/libpci.pc.in
-+++ pciutils-3.3.1/lib/libpci.pc.in
+--- pciutils-3.6.4.orig/lib/libpci.pc.in
++++ pciutils-3.6.4/lib/libpci.pc.in
 @@ -6,6 +6,5 @@ idsdir=@IDSDIR@
  Name: libpci
  Description: libpci

++++++ pciutils-3.6.2.tar.xz -> pciutils-3.6.4.tar.xz ++++++
++++ 8082 lines of diff (skipped)

++++++ pciutils-endianh.patch ++++++
--- /var/tmp/diff_new_pack.Jk83YN/_old  2020-04-07 10:21:16.629826183 +0200
+++ /var/tmp/diff_new_pack.Jk83YN/_new  2020-04-07 10:21:16.629826183 +0200
@@ -1,6 +1,8 @@
---- a/lib/sysdep.h     2014-11-18 14:27:01.054393822 +0100
-+++ b/lib/sysdep.h     2014-11-18 14:28:43.420561080 +0100
-@@ -18,93 +18,8 @@
+Index: pciutils-3.6.4/lib/sysdep.h
+===================================================================
+--- pciutils-3.6.4.orig/lib/sysdep.h
++++ pciutils-3.6.4/lib/sysdep.h
+@@ -20,93 +20,8 @@
  typedef u8 byte;
  typedef u16 word;
  
@@ -94,7 +96,7 @@
 -#endif
 -
 -#endif
-+#define cpu_to_le16 htole16                                                   
-+#define cpu_to_le32 htole32                                                   
-+#define le16_to_cpu le16toh                                                   
++#define cpu_to_le16 htole16
++#define cpu_to_le32 htole32
++#define le16_to_cpu le16toh
 +#define le32_to_cpu le32toh

++++++ pciutils-ocloexec.patch ++++++
--- /var/tmp/diff_new_pack.Jk83YN/_old  2020-04-07 10:21:16.637826191 +0200
+++ /var/tmp/diff_new_pack.Jk83YN/_new  2020-04-07 10:21:16.637826191 +0200
@@ -1,7 +1,7 @@
-Index: pciutils-3.4.0/lib/dump.c
+Index: pciutils-3.6.4/lib/dump.c
 ===================================================================
---- pciutils-3.4.0.orig/lib/dump.c
-+++ pciutils-3.4.0/lib/dump.c
+--- pciutils-3.6.4.orig/lib/dump.c
++++ pciutils-3.6.4/lib/dump.c
 @@ -64,7 +64,7 @@ dump_init(struct pci_access *a)
  
    if (!name)
@@ -11,10 +11,10 @@
      a->error("dump: Cannot open %s: %s", name, strerror(errno));
    while (fgets(buf, sizeof(buf)-1, f))
      {
-Index: pciutils-3.4.0/lib/names-cache.c
+Index: pciutils-3.6.4/lib/names-cache.c
 ===================================================================
---- pciutils-3.4.0.orig/lib/names-cache.c
-+++ pciutils-3.4.0/lib/names-cache.c
+--- pciutils-3.6.4.orig/lib/names-cache.c
++++ pciutils-3.6.4/lib/names-cache.c
 @@ -63,7 +63,7 @@ pci_id_cache_load(struct pci_access *a,
        return 0;
      }
@@ -33,10 +33,10 @@
    if (!f)
      {
        a->warning("Cannot write to %s: %s", name, strerror(errno));
-Index: pciutils-3.4.0/lib/names-parse.c
+Index: pciutils-3.6.4/lib/names-parse.c
 ===================================================================
---- pciutils-3.4.0.orig/lib/names-parse.c
-+++ pciutils-3.4.0/lib/names-parse.c
+--- pciutils-3.6.4.orig/lib/names-parse.c
++++ pciutils-3.6.4/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)
@@ -46,10 +46,10 @@
  #define pci_close(f)          fclose(f)
  #define PCI_ERROR(f, err)     if (!err && ferror(f))  err = "I/O error";
  #endif
-Index: pciutils-3.4.0/lib/proc.c
+Index: pciutils-3.6.4/lib/proc.c
 ===================================================================
---- pciutils-3.4.0.orig/lib/proc.c
-+++ pciutils-3.4.0/lib/proc.c
+--- pciutils-3.6.4.orig/lib/proc.c
++++ pciutils-3.6.4/lib/proc.c
 @@ -62,7 +62,7 @@ proc_scan(struct pci_access *a)
  
    if (snprintf(buf, sizeof(buf), "%s/devices", pci_get_param(a, "proc.path")) 
== sizeof(buf))
@@ -77,10 +77,10 @@
        }
        if (a->fd < 0)
        a->warning("Cannot open %s", buf);
-Index: pciutils-3.4.0/lib/sysfs.c
+Index: pciutils-3.6.4/lib/sysfs.c
 ===================================================================
---- pciutils-3.4.0.orig/lib/sysfs.c
-+++ pciutils-3.4.0/lib/sysfs.c
+--- pciutils-3.6.4.orig/lib/sysfs.c
++++ pciutils-3.6.4/lib/sysfs.c
 @@ -96,7 +96,7 @@ sysfs_get_string(struct pci_dev *d, char
    void (*warn)(char *msg, ...) = (mandatory ? a->error : a->warning);
  
@@ -90,7 +90,7 @@
    if (fd < 0)
      {
        if (mandatory || errno != ENOENT)
-@@ -139,7 +139,7 @@ sysfs_get_resources(struct pci_dev *d)
+@@ -157,7 +157,7 @@ sysfs_get_resources(struct pci_dev *d)
    int i;
  
    sysfs_obj_name(d, "resource", namebuf);
@@ -99,7 +99,7 @@
    if (!file)
      a->error("Cannot open %s: %s", namebuf, strerror(errno));
    for (i = 0; i < 7; i++)
-@@ -245,7 +245,7 @@ sysfs_fill_slots(struct pci_access *a)
+@@ -271,7 +271,7 @@ sysfs_fill_slots(struct pci_access *a)
        n = snprintf(namebuf, OBJNAMELEN, "%s/%s/%s", dirname, entry->d_name, 
"address");
        if (n < 0 || n >= OBJNAMELEN)
        a->error("File name too long");
@@ -108,7 +108,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
-@@ -331,7 +331,7 @@ sysfs_setup(struct pci_dev *d, int inten
+@@ -367,7 +367,7 @@ sysfs_setup(struct pci_dev *d, int inten
        if (a->fd_vpd < 0)
        {
          sysfs_obj_name(d, "vpd", namebuf);
@@ -117,7 +117,7 @@
          /* No warning on error; vpd may be absent or accessible only to root 
*/
        }
        return a->fd_vpd;
-@@ -341,7 +341,7 @@ sysfs_setup(struct pci_dev *d, int inten
+@@ -377,7 +377,7 @@ sysfs_setup(struct pci_dev *d, int inten
      {
        sysfs_obj_name(d, "config", namebuf);
        a->fd_rw = a->writeable || intent == SETUP_WRITE_CONFIG;


Reply via email to