commit pciutils for openSUSE:Factory

2020-11-05 Thread root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2020-11-05 21:53:45

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new.11331 (New)


Package is "pciutils"

Thu Nov  5 21:53:45 2020 rev:65 rq:846171 version:3.7.0

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2020-11-02 
14:06:18.872769347 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new.11331/pciutils.changes 
2020-11-05 21:54:48.752198665 +0100
@@ -4 +4 @@
-- Add decode support for RCECs 
+- Add decode support for RCECs [jsc#SLE-13735]



Other differences:
--





commit pciutils for openSUSE:Factory

2020-11-02 Thread root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2020-11-02 14:04:34

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new.3463 (New)


Package is "pciutils"

Mon Nov  2 14:04:34 2020 rev:64 rq:845039 version:3.7.0

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2020-06-08 
23:46:51.413887308 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new.3463/pciutils.changes  
2020-11-02 14:06:18.872769347 +0100
@@ -1,0 +2,8 @@
+Thu Oct 29 08:24:59 UTC 2020 - pgaj...@suse.com
+
+- Add decode support for RCECs 
+- added patches
+  
https://github.com/pciutils/pciutils/commit/e12bd01eea67ca8cf539263124843ba281eb6ecc
+  + pciutils-add-decode-support-for-RCECs.patch
+
+---

New:

  pciutils-add-decode-support-for-RCECs.patch



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.m9c0b7/_old  2020-11-02 14:06:19.692769974 +0100
+++ /var/tmp/diff_new_pack.m9c0b7/_new  2020-11-02 14:06:19.696769976 +0100
@@ -32,6 +32,8 @@
 Patch1: pciutils-3.1.9_pkgconfig.patch
 Patch2: pciutils-ocloexec.patch
 Patch3: pciutils-endianh.patch
+# 
https://github.com/pciutils/pciutils/commit/e12bd01eea67ca8cf539263124843ba281eb6ecc
+Patch4: pciutils-add-decode-support-for-RCECs.patch
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libkmod)
 BuildRequires:  pkgconfig(zlib)


++ pciutils-add-decode-support-for-RCECs.patch ++
diff --git a/lib/header.h b/lib/header.h
index 472816e..57a9343 100644
--- a/lib/header.h
+++ b/lib/header.h
@@ -219,7 +219,7 @@
 #define PCI_EXT_CAP_ID_PB  0x04/* Power Budgeting */
 #define PCI_EXT_CAP_ID_RCLINK  0x05/* Root Complex Link Declaration */
 #define PCI_EXT_CAP_ID_RCILINK 0x06/* Root Complex Internal Link 
Declaration */
-#define PCI_EXT_CAP_ID_RCECOLL 0x07/* Root Complex Event Collector */
+#define PCI_EXT_CAP_ID_RCEC0x07/* Root Complex Event Collector */
 #define PCI_EXT_CAP_ID_MFVC0x08/* Multi-Function Virtual Channel */
 #define PCI_EXT_CAP_ID_VC2 0x09/* Virtual Channel (2nd ID) */
 #define PCI_EXT_CAP_ID_RCRB0x0a/* Root Complex Register Block */
@@ -1048,6 +1048,12 @@
 #define  PCI_RCLINK_LINK_ADDR  8   /* Link Entry: Address (64-bit) */
 #define  PCI_RCLINK_LINK_SIZE  16  /* Link Entry: sizeof */
 
+/* Root Complex Event Collector Endpoint Association */
+#define  PCI_RCEC_EP_CAP_VER(reg)  (((reg) >> 16) & 0xf)
+#define  PCI_RCEC_BUSN_REG_VER 0x02/* as per PCIe sec 7.9.10.1 */
+#define  PCI_RCEC_RCIEP_BMAP   0x0004  /* as per PCIe sec 7.9.10.2 */
+#define  PCI_RCEC_BUSN_REG 0x0008  /* as per PCIe sec 7.9.10.3 */
+
 /* PCIe Vendor-Specific Capability */
 #define PCI_EVNDR_HEADER   4   /* Vendor-Specific Header */
 #define PCI_EVNDR_REGISTERS8   /* Vendor-Specific Registers */
diff --git a/ls-ecaps.c b/ls-ecaps.c
index e71209e..99c55ff 100644
--- a/ls-ecaps.c
+++ b/ls-ecaps.c
@@ -634,6 +634,61 @@ cap_rclink(struct device *d, int where)
 }
 }
 
+static void
+cap_rcec(struct device *d, int where)
+{
+  printf("Root Complex Event Collector Endpoint Association\n");
+  if (verbose < 2)
+return;
+
+  if (!config_fetch(d, where, 12))
+return;
+
+  u32 hdr = get_conf_long(d, where);
+  byte cap_ver = PCI_RCEC_EP_CAP_VER(hdr);
+  u32 bmap = get_conf_long(d, where + PCI_RCEC_RCIEP_BMAP);
+  printf("\t\tRCiEPBitmap: ");
+  if (bmap)
+{
+  int prevmatched=0;
+  int adjcount=0;
+  int prevdev=0;
+  printf("RCiEP at Device(s):");
+  for (int dev=0; dev < 32; dev++)
+{
+ if (BITS(bmap, dev, 1))
+   {
+ if (!adjcount)
+   printf("%s %u", (prevmatched) ? "," : "", dev);
+ adjcount++;
+ prevdev=dev;
+ prevmatched=1;
+}
+ else
+   {
+ if (adjcount > 1)
+   printf("-%u", prevdev);
+ adjcount=0;
+}
+}
+   }
+  else
+printf("%s", (verbose > 2) ? " [none]" : "[none]");
+  printf("\n");
+
+  if (cap_ver < PCI_RCEC_BUSN_REG_VER)
+return;
+
+  u32 busn = get_conf_long(d, where + PCI_RCEC_BUSN_REG);
+  u8 lastbusn = BITS(busn, 16, 8);
+  u8 nextbusn = BITS(busn, 8, 8);
+
+  if ((lastbusn == 0x00) && (nextbusn == 0xff))
+printf("\t\tAssociatedBusNumbers: %s\n", (verbose > 2) ? "ff-00 [none]" : 
"[none]");
+  else
+printf("\t\tAssociatedBusNumbers: %02x-%02x\n", nextbusn, lastbusn );
+}
+
 static void
 cap_dvsec_cxl(struct device *d, int where)
 {
@@ -991,8 +1046,8 @@ show_ext_caps(struct device *d, int type)

commit pciutils for openSUSE:Factory

2020-06-08 Thread root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2020-06-08 23:46:09

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new.3606 (New)


Package is "pciutils"

Mon Jun  8 23:46:09 2020 rev:63 rq:811324 version:3.7.0

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2020-04-07 
10:21:15.857825324 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new.3606/pciutils.changes  
2020-06-08 23:46:51.413887308 +0200
@@ -1,0 +2,15 @@
+Mon Jun  1 07:19:48 UTC 2020 - Andreas Stieger 
+
+- Update to 3.7.0:
+  * Add or improved the following capabilities:
+Designated Vendor-Specific, Compute eXpress Link,
+Resizable BARs, VF Resizable BARs, Link Capabilities 2,
+Link Status 2
+  * On Linux, lspci can show IOMMU groups
+  * setpci can be asked to skip bus scan and operate on a device
+completely specified by its domain/bus/dev/func address
+  * back-ends which do not support domains now correctly fail when
+trying to access devices outside domain 0
+- Add upstream keyging to verify source signature
+
+---

Old:

  pciutils-3.6.4.tar.sign
  pciutils-3.6.4.tar.xz

New:

  pciutils-3.7.0.tar.sign
  pciutils-3.7.0.tar.xz
  pciutils.keyring



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.sa1DCn/_old  2020-06-08 23:46:54.205895920 +0200
+++ /var/tmp/diff_new_pack.sa1DCn/_new  2020-06-08 23:46:54.217895957 +0200
@@ -18,7 +18,7 @@
 
 %define lname   libpci3
 Name:   pciutils
-Version:3.6.4
+Version:3.7.0
 Release:0
 Summary:PCI utilities for the Linux Kernel
 License:GPL-2.0-or-later
@@ -27,6 +27,8 @@
 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
+# https://mj.ucw.cz/pgp.html
+Source3:https://mj.ucw.cz/pgpkey.txt#/%{name}.keyring
 Patch1: pciutils-3.1.9_pkgconfig.patch
 Patch2: pciutils-ocloexec.patch
 Patch3: pciutils-endianh.patch
@@ -94,9 +96,11 @@
 %{_mandir}/man5/pci.ids.5%{?ext_man}
 
 %files -n %{lname}
+%license COPYING
 /%{_lib}/libpci.so.*
 
 %files devel
+%license COPYING
 %{_includedir}/pci/
 %{_libdir}/libpci.so
 %{_libdir}/pkgconfig/libpci.pc

++ pciutils-3.6.4.tar.xz -> pciutils-3.7.0.tar.xz ++
 5117 lines of diff (skipped)




commit pciutils for openSUSE:Factory

2020-04-07 Thread root
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.changes2019-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 
+
+- 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 @@ 

commit pciutils for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2019-03-04 09:16:45

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new.28833 (New)


Package is "pciutils"

Mon Mar  4 09:16:45 2019 rev:61 rq:680044 version:3.6.2

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2018-09-20 
11:38:07.620974064 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new.28833/pciutils.changes 
2019-03-04 09:16:48.088639566 +0100
@@ -1,0 +2,5 @@
+Thu Feb 28 08:21:59 UTC 2019 - Martin Pluskal 
+
+- Replace dependency on pciutil-ids with hwdata
+
+---



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.UYBcVB/_old  2019-03-04 09:16:48.860639428 +0100
+++ /var/tmp/diff_new_pack.UYBcVB/_new  2019-03-04 09:16:48.860639428 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pciutils
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,7 +34,7 @@
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libkmod)
 BuildRequires:  pkgconfig(zlib)
-Requires:   pciutils-ids
+Requires:   hwdata
 
 %description
 lspci: This program displays detailed information about all PCI busses





commit pciutils for openSUSE:Factory

2018-09-20 Thread root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2018-09-20 11:38:03

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is "pciutils"

Thu Sep 20 11:38:03 2018 rev:60 rq:636109 version:3.6.2

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2017-11-21 
15:25:56.707186164 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2018-09-20 
11:38:07.620974064 +0200
@@ -1,0 +2,36 @@
+Sun Sep 16 17:35:15 UTC 2018 - Avindra Goolcharan 
+
+- Update to version 3.6.2
+  * Added "-P" and "-PP" switches to lspci, which display the path
+through bridges to each device.
+  * Fixed a couple of bugs in computation of bus topology. It was
+previously used only for the tree display, but we re-use it
+for computing the paths.
+  * As usual, updated pci.ids to the current snapshot of the database. 
+- changes for version 3.6.0
+  * BARs reported by the OS, but not set on the device itself are
+reliably marked with "[virtual]".
+  * lib: Introduced a generic mechanism of string properties. This
+avoids lots of special cases and makes ABI compatibility easier.
+  * On systems with OpenFirmware, report corresponding device tree
+nodes as device properties.
+  * VPD decoder knows several non-standard extensions.
+  * When PCIe link speed is less than the maximum supported by the
+device, it is explicitly marked as "downgraded".
+  * Several new capabilities are not decoded yet, but at least
+their names are printed.
+  * The Null capability is easily decoded.
+  * Formatting of several capabilities was cleaned up.
+  * The VGA16 bit in the bridge control register is now supported.
+  * Added a port to SylixOS.
+  * Added a port to DOS/DJGPP
+  * The order in which back-ends are probed was decoupled from the
+internal back-end IDs. This helps, because new back-ends must
+have their ID allocated at the end to keep the ABI, but they
+might need to be proved earlier.
+  * The fbsd-device back-end should work again.
+  * Fixed a couple of bugs. Most notably, DeviceName was not printed.
+- cleanup with spec-cleaner
+- rebase pciutils-endianh.patch
+
+---

Old:

  pciutils-3.5.6.tar.sign
  pciutils-3.5.6.tar.xz

New:

  pciutils-3.6.2.tar.sign
  pciutils-3.6.2.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.Z6R0gS/_old  2018-09-20 11:38:08.200973722 +0200
+++ /var/tmp/diff_new_pack.Z6R0gS/_new  2018-09-20 11:38:08.204973719 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pciutils
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,18 +12,18 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define lname   libpci3
 Name:   pciutils
-Version:3.5.6
+Version:3.6.2
 Release:0
 Summary:PCI utilities for the Linux Kernel
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Hardware/Other
-Url:http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
+URL:https://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
 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
@@ -87,14 +87,15 @@
 %postun -n %{lname} -p /sbin/ldconfig
 
 %files
-%doc README COPYING
+%license COPYING
+%doc README
 /sbin/lspci
 /sbin/setpci
 /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}
+%{_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}
 
 %files -n %{lname}
 /%{_lib}/libpci.so.*

++ pciutils-3.5.6.tar.xz -> pciutils-3.6.2.tar.xz ++
 14029 lines of diff (skipped)

++ pciutils-endianh.patch ++
--- /var/tmp/diff_new_pack.Z6R0gS/_old  2018-09-20 11:38:08.440973580 +0200
+++ /var/tmp/diff_new_pack.Z6R0gS/_new  2018-09-20 11:38:08.440973580 +0200
@@ -1,7 +1,6 @@
-diff -urN pciutils-3.3.0.old/lib/sysdep.h 

commit pciutils for openSUSE:Factory

2017-11-21 Thread root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2017-11-21 15:25:28

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is "pciutils"

Tue Nov 21 15:25:28 2017 rev:59 rq:542905 version:3.5.6

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2017-11-14 
14:45:20.114140274 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2017-11-21 
15:25:56.707186164 +0100
@@ -1,0 +2,10 @@
+Sun Nov 19 01:26:23 UTC 2017 - aavind...@gmail.com
+
+- Update to version 3.5.6
+  * MN VPD keyword is decoded correctly.
+  * As usual, updated pci.ids to the current snapshot of the
+database.
+  * FreeBSD back-end: read-only access for non-root, support
+DragonFly BSD, support extended config space.
+
+---

Old:

  pciutils-3.5.5.tar.sign
  pciutils-3.5.5.tar.xz

New:

  pciutils-3.5.6.tar.sign
  pciutils-3.5.6.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.9nQoOl/_old  2017-11-21 15:26:17.586429381 +0100
+++ /var/tmp/diff_new_pack.9nQoOl/_new  2017-11-21 15:26:17.586429381 +0100
@@ -18,7 +18,7 @@
 
 %define lname   libpci3
 Name:   pciutils
-Version:3.5.5
+Version:3.5.6
 Release:0
 Summary:PCI utilities for the Linux Kernel
 License:GPL-2.0+

++ pciutils-3.5.5.tar.xz -> pciutils-3.5.6.tar.xz ++
 2314 lines of diff (skipped)




commit pciutils for openSUSE:Factory

2017-11-14 Thread root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2017-11-14 14:45:18

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is "pciutils"

Tue Nov 14 14:45:18 2017 rev:58 rq:541035 version:3.5.5

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2017-03-01 
23:40:47.077412447 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2017-11-14 
14:45:20.114140274 +0100
@@ -1,0 +2,13 @@
+Sat Nov 11 17:04:35 UTC 2017 - aavind...@gmail.com
+
+- Update to version 3.5.5
+  * Better decoding of AER capability.
+  * "Slot Implemented" flag is decoded for PCI/PCI-X to PCIe bridges.
+  * Minor fixes of decoding other capabilities.
+  * As usual, updated pci.ids to the current snapshot of the
+database.
+- cleanup with spec-cleaner
+- switch from ftp to https
+- track signature
+
+---

Old:

  pciutils-3.5.4.tar.xz

New:

  pciutils-3.5.5.tar.sign
  pciutils-3.5.5.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.rXMlrd/_old  2017-11-14 14:45:21.178101609 +0100
+++ /var/tmp/diff_new_pack.rXMlrd/_new  2017-11-14 14:45:21.182101464 +0100
@@ -18,13 +18,14 @@
 
 %define lname   libpci3
 Name:   pciutils
-Version:3.5.4
+Version:3.5.5
 Release:0
 Summary:PCI utilities for the Linux Kernel
 License:GPL-2.0+
 Group:  Hardware/Other
 Url:http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
-Source: 
ftp://ftp.kernel.org/pub/software/utils/pciutils/%{name}-%{version}.tar.xz
+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
@@ -86,7 +87,6 @@
 %postun -n %{lname} -p /sbin/ldconfig
 
 %files
-%defattr(-, root, root)
 %doc README COPYING
 /sbin/lspci
 /sbin/setpci
@@ -97,11 +97,9 @@
 %{_mandir}/man8/update-pciids.8%{ext_man}
 
 %files -n %{lname}
-%defattr(-,root,root)
 /%{_lib}/libpci.so.*
 
 %files devel
-%defattr(-, root, root)
 %{_includedir}/pci/
 %{_libdir}/libpci.so
 %{_libdir}/pkgconfig/libpci.pc

++ pciutils-3.5.4.tar.xz -> pciutils-3.5.5.tar.xz ++
 4594 lines of diff (skipped)




commit pciutils for openSUSE:Factory

2017-03-01 Thread root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2017-03-01 23:40:45

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is "pciutils"

Wed Mar  1 23:40:45 2017 rev:57 rq:460693 version:3.5.4

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2016-05-26 
23:54:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2017-03-01 
23:40:47.077412447 +0100
@@ -1,0 +2,22 @@
+Mon Feb 27 12:07:44 UTC 2017 - mplus...@suse.com
+
+- Update to version 3.5.4:
+   * Previous version broke compilation on systems, for which
+lib/types.h did not provide a 64-bit integer type. It is
+provided everywhere now.
+- Changes for version 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.
+- Changes for version 3.5.2:
+   * The L1 power management capability is now decoded more
+ thoroughly. Thanks to Rajat Jain for the patch.
+   * The table of configuration registers used by setpci
+ had a bug in the definition of SUBSYSTEM_VENDOR_ID.
+
+---

Old:

  pciutils-3.5.1.tar.xz

New:

  pciutils-3.5.4.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.MuGaHr/_old  2017-03-01 23:40:47.925292874 +0100
+++ /var/tmp/diff_new_pack.MuGaHr/_new  2017-03-01 23:40:47.925292874 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pciutils
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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.5.1
+Version:3.5.4
 Release:0
 Summary:PCI utilities for the Linux Kernel
 License:GPL-2.0+
@@ -27,14 +27,13 @@
 Source: 
ftp://ftp.kernel.org/pub/software/utils/pciutils/%{name}-%{version}.tar.xz
 Source2:baselibs.conf
 Patch0: pciutils-3.2.0_update-dist.patch
-Patch1: %{name}-3.1.9_pkgconfig.patch
+Patch1: pciutils-3.1.9_pkgconfig.patch
 Patch2: pciutils-ocloexec.patch
 Patch3: pciutils-endianh.patch
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libkmod)
 BuildRequires:  pkgconfig(zlib)
 Requires:   pciutils-ids
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 lspci: This program displays detailed information about all PCI busses
@@ -71,7 +70,7 @@
 %patch3 -p1
 
 %build
-make %{?_smp_mflags} OPT="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS) 
-Wall" PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP="" SHARED="yes"
+make %{?_smp_mflags} OPT="%{optflags}" PREFIX=%{_prefix} LIBDIR=/%{_lib} 
SBINDIR=/sbin STRIP="" SHARED="yes"
 
 %install
 make install PREFIX=%{buildroot}%{_prefix} SBINDIR=%{buildroot}/sbin \
@@ -89,8 +88,13 @@
 %files
 %defattr(-, root, root)
 %doc README COPYING
-%{_mandir}/man?/*
-/sbin/*
+/sbin/lspci
+/sbin/setpci
+/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}
 
 %files -n %{lname}
 %defattr(-,root,root)

++ pciutils-3.5.1.tar.xz -> pciutils-3.5.4.tar.xz ++
 3875 lines of diff (skipped)




commit pciutils for openSUSE:Factory

2016-05-26 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2016-05-26 23:54:07

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is "pciutils"

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2016-05-23 
16:38:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2016-05-26 
23:54:09.0 +0200
@@ -1,0 +2,6 @@
+Wed May 25 07:59:27 UTC 2016 - mplus...@suse.com
+
+- Update to version 3.5.1:
+  * Fixed symbol versioning of pci_init().
+
+---

Old:

  pciutils-3.5.0.tar.xz

New:

  pciutils-3.5.1.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.fzoY9W/_old  2016-05-26 23:54:10.0 +0200
+++ /var/tmp/diff_new_pack.fzoY9W/_new  2016-05-26 23:54:10.0 +0200
@@ -18,7 +18,7 @@
 
 %define lname   libpci3
 Name:   pciutils
-Version:3.5.0
+Version:3.5.1
 Release:0
 Summary:PCI utilities for the Linux Kernel
 License:GPL-2.0+

++ pciutils-3.5.0.tar.xz -> pciutils-3.5.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pciutils-3.5.0/ChangeLog new/pciutils-3.5.1/ChangeLog
--- old/pciutils-3.5.0/ChangeLog2016-05-19 17:56:52.0 +0200
+++ new/pciutils-3.5.1/ChangeLog2016-05-22 09:55:45.0 +0200
@@ -1,3 +1,9 @@
+2016-05-22  Martin Mares 
+
+   * Released as 3.5.1.
+
+   * Fixed symbol versioning of pci_init().
+
 2016-05-19  Martin Mares 
 
* Released as 3.5.0.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pciutils-3.5.0/Makefile new/pciutils-3.5.1/Makefile
--- old/pciutils-3.5.0/Makefile 2016-05-19 17:43:00.0 +0200
+++ new/pciutils-3.5.1/Makefile 2016-05-22 09:57:08.0 +0200
@@ -4,8 +4,8 @@
 OPT=-O2
 CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes 
-Wmissing-prototypes
 
-VERSION=3.5.0
-DATE=2016-05-19
+VERSION=3.5.1
+DATE=2016-05-22
 
 # Host OS and release (override if you are cross-compiling)
 HOST=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pciutils-3.5.0/README new/pciutils-3.5.1/README
--- old/pciutils-3.5.0/README   2016-05-19 17:58:36.0 +0200
+++ new/pciutils-3.5.1/README   2016-05-22 09:57:37.0 +0200
@@ -1,4 +1,4 @@
-This package contains the PCI Utilities, version 3.5.0.
+This package contains the PCI Utilities, version 3.5.1.
 
 Copyright (c) 1997--2016 Martin Mares 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pciutils-3.5.0/lib/init.c 
new/pciutils-3.5.1/lib/init.c
--- old/pciutils-3.5.0/lib/init.c   2016-05-14 11:58:01.0 +0200
+++ new/pciutils-3.5.1/lib/init.c   2016-05-22 09:52:52.0 +0200
@@ -214,6 +214,8 @@
 }
 
 STATIC_ALIAS(void pci_init(struct pci_access *a), pci_init_v35(a));
+DEFINE_ALIAS(void pci_init_v30(struct pci_access *a), pci_init_v35);
+SYMBOL_VERSION(pci_init_v30, pci_init@LIBPCI_3.0);
 SYMBOL_VERSION(pci_init_v35, pci_init@@LIBPCI_3.5);
 
 void
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pciutils-3.5.0/lib/internal.h 
new/pciutils-3.5.1/lib/internal.h
--- old/pciutils-3.5.0/lib/internal.h   2016-05-14 11:58:01.0 +0200
+++ new/pciutils-3.5.1/lib/internal.h   2016-05-22 09:53:07.0 +0200
@@ -61,6 +61,7 @@
 void pci_mfree(void *);
 char *pci_strdup(struct pci_access *a, const char *s);
 
+void pci_init_v30(struct pci_access *a) VERSIONED_ABI;
 void pci_init_v35(struct pci_access *a) VERSIONED_ABI;
 
 /* access.c */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pciutils-3.5.0/lib/pci.h new/pciutils-3.5.1/lib/pci.h
--- old/pciutils-3.5.0/lib/pci.h2016-05-19 17:58:06.0 +0200
+++ new/pciutils-3.5.1/lib/pci.h2016-05-22 09:55:53.0 +0200
@@ -16,7 +16,7 @@
 #include "header.h"
 #include "types.h"
 
-#define PCI_LIB_VERSION 0x030500
+#define PCI_LIB_VERSION 0x030501
 
 #ifndef PCI_ABI
 #define PCI_ABI
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pciutils-3.5.0/pciutils.lsm 
new/pciutils-3.5.1/pciutils.lsm
--- old/pciutils-3.5.0/pciutils.lsm 2016-05-19 17:58:36.0 +0200
+++ new/pciutils-3.5.1/pciutils.lsm 2016-05-22 09:57:37.0 +0200
@@ -1,14 +1,14 @@
 Begin3
 Title:  The PCI Utilities
-Version:3.5.0
-Entered-date:   160519
+Version:

commit pciutils for openSUSE:Factory

2016-05-23 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2016-05-23 16:38:16

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is "pciutils"

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2016-01-11 
19:10:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2016-05-23 
16:38:20.0 +0200
@@ -1,0 +2,13 @@
+Fri May 20 08:11:14 UTC 2016 - mplus...@suse.com
+
+- Update to version 3.5.0:
+  * New capabilities decoded: Downstream Port Containment,
+Precision Time Measurement. Thanks to Keith Busch and
+Jonathan Yong.
+  * Domain numbers extended to 31 bits. This will be used by the
+Linux kernel on some machines in near future.
+  * Enhanced allocation regions are now decoded on Linux.
+  * The NetBSD back-end supports PCIe extended configuration space.
+  * Updated pci.ids to the current snapshot of the database.
+
+---

Old:

  pciutils-3.4.1.tar.xz

New:

  pciutils-3.5.0.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.Uk4dqM/_old  2016-05-23 16:38:21.0 +0200
+++ /var/tmp/diff_new_pack.Uk4dqM/_new  2016-05-23 16:38:21.0 +0200
@@ -18,7 +18,7 @@
 
 %define lname   libpci3
 Name:   pciutils
-Version:3.4.1
+Version:3.5.0
 Release:0
 Summary:PCI utilities for the Linux Kernel
 License:GPL-2.0+
@@ -30,7 +30,7 @@
 Patch1: %{name}-3.1.9_pkgconfig.patch
 Patch2: pciutils-ocloexec.patch
 Patch3: pciutils-endianh.patch
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libkmod)
 BuildRequires:  pkgconfig(zlib)
 Requires:   pciutils-ids
@@ -84,13 +84,12 @@
 ln -sf /%{_lib}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
 
 %post -n %{lname} -p /sbin/ldconfig
-
 %postun -n %{lname} -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)
 %doc README COPYING
-%doc %{_mandir}/man?/*
+%{_mandir}/man?/*
 /sbin/*
 
 %files -n %{lname}
@@ -100,7 +99,7 @@
 %files devel
 %defattr(-, root, root)
 %{_includedir}/pci/
-%{_libdir}/*.so
+%{_libdir}/libpci.so
 %{_libdir}/pkgconfig/libpci.pc
 
 %changelog

++ pciutils-3.4.1.tar.xz -> pciutils-3.5.0.tar.xz ++
 2967 lines of diff (skipped)




commit pciutils for openSUSE:Factory

2016-01-11 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2016-01-11 19:10:40

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is "pciutils"

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2015-12-13 
09:38:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2016-01-11 
19:10:41.0 +0100
@@ -1,0 +2,10 @@
+Fri Jan  8 10:54:48 UTC 2016 - tchva...@suse.com
+
+- Version update to 3.4.1:
+  * New capabilities decoded: Process Address Space, Page Request
+Interface, Enhanced Allocation. Thanks to David Daney and
+David Woodhouse.
+  * DevCap SlotPowerLimit is now decoded for all components with
+upstream ports.
+
+---

Old:

  pciutils-3.4.0.tar.xz

New:

  pciutils-3.4.1.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.he2Ws7/_old  2016-01-11 19:10:42.0 +0100
+++ /var/tmp/diff_new_pack.he2Ws7/_new  2016-01-11 19:10:42.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pciutils
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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.4.0
+Version:3.4.1
 Release:0
 Summary:PCI utilities for the Linux Kernel
 License:GPL-2.0+

++ pciutils-3.4.0.tar.xz -> pciutils-3.4.1.tar.xz ++
 2466 lines of diff (skipped)




commit pciutils for openSUSE:Factory

2015-12-13 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2015-12-13 09:38:35

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is "pciutils"

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2015-11-18 
22:31:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2015-12-13 
09:38:37.0 +0100
@@ -1,0 +2,5 @@
+Sat Nov 21 23:48:30 UTC 2015 - jeng...@inai.de
+
+- Summary update
+
+---



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.3DDBjx/_old  2015-12-13 09:38:38.0 +0100
+++ /var/tmp/diff_new_pack.3DDBjx/_new  2015-12-13 09:38:38.0 +0100
@@ -20,7 +20,7 @@
 Name:   pciutils
 Version:3.4.0
 Release:0
-Summary:PCI utilities for Kernel version 2
+Summary:PCI utilities for the Linux Kernel
 License:GPL-2.0+
 Group:  Hardware/Other
 Url:http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml




commit pciutils for openSUSE:Factory

2015-11-18 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2015-11-18 22:31:12

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is "pciutils"

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2015-09-11 
09:01:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2015-11-18 
22:31:14.0 +0100
@@ -1,0 +2,10 @@
+Fri Nov 13 19:31:49 UTC 2015 - mplus...@suse.com
+
+- Update to 3.4.0
+  * On Linux, we report NUMA nodes of devices.
+  * The sysfs back-end does not die on read errors
+of optional attributes. Instead, a warning is produced.
+  * Fixed several minor bugs.
+  * Updated pci.ids to the current snapshot of the database.
+
+---

Old:

  pciutils-3.3.1.tar.xz

New:

  pciutils-3.4.0.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.DWxAy8/_old  2015-11-18 22:31:15.0 +0100
+++ /var/tmp/diff_new_pack.DWxAy8/_new  2015-11-18 22:31:15.0 +0100
@@ -18,7 +18,7 @@
 
 %define lname   libpci3
 Name:   pciutils
-Version:3.3.1
+Version:3.4.0
 Release:0
 Summary:PCI utilities for Kernel version 2
 License:GPL-2.0+

++ pciutils-3.3.1.tar.xz -> pciutils-3.4.0.tar.xz ++
 3292 lines of diff (skipped)

++ pciutils-ocloexec.patch ++
--- /var/tmp/diff_new_pack.DWxAy8/_old  2015-11-18 22:31:15.0 +0100
+++ /var/tmp/diff_new_pack.DWxAy8/_new  2015-11-18 22:31:15.0 +0100
@@ -1,7 +1,8 @@
-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.0 -0500
-+++ pciutils-3.1.9/lib/dump.c  2012-01-28 20:53:40.446518788 -0500
-@@ -64,7 +64,7 @@
+Index: pciutils-3.4.0/lib/dump.c
+===
+--- pciutils-3.4.0.orig/lib/dump.c
 pciutils-3.4.0/lib/dump.c
+@@ -64,7 +64,7 @@ dump_init(struct pci_access *a)
  
if (!name)
  a->error("dump: File name not given.");
@@ -10,10 +11,11 @@
  a->error("dump: Cannot open %s: %s", name, strerror(errno));
while (fgets(buf, sizeof(buf)-1, f))
  {
-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.0 
-0500
-+++ pciutils-3.1.9/lib/names-cache.c   2012-01-28 20:56:42.181246792 -0500
-@@ -62,7 +62,7 @@
+Index: pciutils-3.4.0/lib/names-cache.c
+===
+--- pciutils-3.4.0.orig/lib/names-cache.c
 pciutils-3.4.0/lib/names-cache.c
+@@ -63,7 +63,7 @@ pci_id_cache_load(struct pci_access *a,
return 0;
  }
  
@@ -22,7 +24,7 @@
if (!f)
  {
a->debug("Cache file does not exist\n");
-@@ -135,7 +135,7 @@
+@@ -136,7 +136,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);
  
@@ -31,10 +33,11 @@
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.0 
-0500
-+++ pciutils-3.1.9/lib/names-parse.c   2012-01-28 20:56:11.462630829 -0500
-@@ -52,7 +52,7 @@
+Index: pciutils-3.4.0/lib/names-parse.c
+===
+--- pciutils-3.4.0.orig/lib/names-parse.c
 pciutils-3.4.0/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)
@@ -43,10 +46,11 @@
  #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.0 -0500
-+++ pciutils-3.1.9/lib/proc.c  2012-01-28 20:55:32.827113838 -0500
-@@ -62,7 +62,7 @@
+Index: pciutils-3.4.0/lib/proc.c
+===
+--- pciutils-3.4.0.orig/lib/proc.c
 pciutils-3.4.0/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))
  a->error("File name too long");
@@ -55,7 +59,7 @@
if (!f)
  a->error("Cannot open %s", buf);
while (fgets(buf, sizeof(buf)-1, f))

commit pciutils for openSUSE:Factory

2015-09-11 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2015-09-11 09:01:36

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is "pciutils"

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2014-11-24 
11:18:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2015-09-11 
09:01:38.0 +0200
@@ -1,0 +2,13 @@
+Sun Sep  6 07:41:51 UTC 2015 - mplus...@suse.com
+
+- Update to 3.3.1
+  * Removed hacks for backward compatibility with Linux libc5,
+which were breaking newer non-glibc Linux systems. Thanks
+to Felix Janda.
+  * Display VirtIO vendor-specific capability. Patch by Gerd
+Hoffmann.
+  * Fixed memory leak in name cache.
+  * Updated pci.ids to the current snapshot of the database.
+
+
+---

Old:

  pciutils-3.3.0.tar.xz

New:

  pciutils-3.3.1.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.X31K1M/_old  2015-09-11 09:01:40.0 +0200
+++ /var/tmp/diff_new_pack.X31K1M/_new  2015-09-11 09:01:40.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pciutils
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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.3.0
+Version:3.3.1
 Release:0
 Summary:PCI utilities for Kernel version 2
 License:GPL-2.0+

++ pciutils-3.1.9_pkgconfig.patch ++
--- /var/tmp/diff_new_pack.X31K1M/_old  2015-09-11 09:01:40.0 +0200
+++ /var/tmp/diff_new_pack.X31K1M/_new  2015-09-11 09:01:40.0 +0200
@@ -1,6 +1,8 @@
 pciutils-3.1.9.orig/lib/libpci.pc.in   2011-10-02 05:52:11.0 
-0400
-+++ pciutils-3.1.9/lib/libpci.pc.in2012-01-28 20:50:44.702715889 -0500
-@@ -6,6 +6,5 @@
+Index: pciutils-3.3.1/lib/libpci.pc.in
+===
+--- pciutils-3.3.1.orig/lib/libpci.pc.in
 pciutils-3.3.1/lib/libpci.pc.in
+@@ -6,6 +6,5 @@ idsdir=@IDSDIR@
  Name: libpci
  Description: libpci
  Version: @VERSION@

++ pciutils-3.2.0_update-dist.patch ++
--- /var/tmp/diff_new_pack.X31K1M/_old  2015-09-11 09:01:40.0 +0200
+++ /var/tmp/diff_new_pack.X31K1M/_new  2015-09-11 09:01:40.0 +0200
@@ -1,7 +1,8 @@
-diff -aur pciutils-3.2.0.orig//Makefile pciutils-3.2.0/Makefile
 pciutils-3.2.0.orig//Makefile  2013-04-19 14:58:49.0 +0200
-+++ pciutils-3.2.0/Makefile2013-07-30 23:03:04.385436935 +0200
-@@ -85,7 +85,7 @@
+Index: pciutils-3.3.1/Makefile
+===
+--- pciutils-3.3.1.orig/Makefile
 pciutils-3.3.1/Makefile
+@@ -88,7 +88,7 @@ lspci: LDLIBS+=$(LIBKMOD_LIBS)
  ls-kernel.o: CFLAGS+=$(LIBKMOD_CFLAGS)
  
  update-pciids: update-pciids.sh
@@ -10,9 +11,10 @@
chmod +x $@
  
  # The example of use of libpci
-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.0 
-0500
-+++ pciutils-3.1.9/update-pciids.sh2012-01-28 21:05:57.719301612 -0500
+Index: pciutils-3.3.1/update-pciids.sh
+===
+--- pciutils-3.3.1.orig/update-pciids.sh
 pciutils-3.3.1/update-pciids.sh
 @@ -4,7 +4,7 @@
  
  set -e
@@ -22,7 +24,7 @@
  PCI_COMPRESSED_IDS=
  GREP=grep
  
-@@ -66,6 +66,13 @@
+@@ -66,6 +66,13 @@ fi
  mv $DEST.neww $DEST
  rm $DEST.new
  

++ pciutils-3.3.0.tar.xz -> pciutils-3.3.1.tar.xz ++
 2349 lines of diff (skipped)




commit pciutils for openSUSE:Factory

2014-11-24 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2014-11-24 11:17:46

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is pciutils

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2014-08-25 
11:03:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2014-11-24 
11:18:12.0 +0100
@@ -1,0 +2,26 @@
+Tue Nov 18 13:22:45 UTC 2014 - tchva...@suse.com
+
+- Version bump to 3.3.0:
+   * Device names exported by BIOS are displayed on Linux.
+   * On Linux systems, HWDB is used to look up device names
+ when our ID database gives no match. (More precisely,
+ HWDB is consulted after local pci.ids, but before using
+ network to query online pci.ids.) Thanks to Tom Gundersen
+ for the initial patch.
+   * Added experimental back-end for OS X / Darwin. Thanks to
+ Richard Yao for providing it.
+   * Filters now support matching by device class. Original
+ patch by Matthew Wilcox, wrappers for ABI compatibility
+ by me.
+   * Interrupt Pin and Interrupt Line registers are displayed
+ for bridge devices, too.
+   * Several portability bugs have been fixed.
+   * Several typos have been fixed. Also, use of questionable
+ constructs in man pages has been reduced.
+   * PCIe link capabilities now include the ASPMOptComp bit.
+   * The CRS Software Visibility bit is now decoded properly.
+   * Updated pci.ids to the current snapshot of the database.
+- Refresh patch:
+  * pciutils-endianh.patch
+
+---

Old:

  pciutils-3.2.1.tar.xz

New:

  pciutils-3.3.0.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.nfnZ06/_old  2014-11-24 11:18:14.0 +0100
+++ /var/tmp/diff_new_pack.nfnZ06/_new  2014-11-24 11:18:14.0 +0100
@@ -18,7 +18,7 @@
 
 %define lname   libpci3
 Name:   pciutils
-Version:3.2.1
+Version:3.3.0
 Release:0
 Summary:PCI utilities for Kernel version 2
 License:GPL-2.0+
@@ -35,10 +35,6 @@
 BuildRequires:  pkgconfig(zlib)
 Requires:   pciutils-ids
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# bug437293
-%ifarch ppc64
-Obsoletes:  pciutils-64bit
-%endif
 
 %description
 lspci: This program displays detailed information about all PCI busses
@@ -62,10 +58,6 @@
 Summary:Library and Include Files of the PCI utilities
 Group:  Development/Libraries/C and C++
 Requires:   %{lname} = %{version}
-# bug437293
-%ifarch ppc64
-Obsoletes:  pciutils-devel-64bit
-%endif
 
 %description devel
 This package contains the files that are necessary for software
@@ -76,7 +68,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3
+%patch3 -p1
 
 %build
 make %{?_smp_mflags} OPT=%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS) 
-Wall PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP= SHARED=yes

++ pciutils-3.2.1.tar.xz - pciutils-3.3.0.tar.xz ++
 8089 lines of diff (skipped)

++ pciutils-endianh.patch ++
--- /var/tmp/diff_new_pack.nfnZ06/_old  2014-11-24 11:18:14.0 +0100
+++ /var/tmp/diff_new_pack.nfnZ06/_new  2014-11-24 11:18:14.0 +0100
@@ -1,8 +1,7 @@
-Dear kernel developers. we plead to you, please use documented,optimized 
userspace interfaces, thanks !
-
 lib/sysdep.h.orig
-+++ lib/sysdep.h
-@@ -18,71 +18,10 @@
+diff -urN pciutils-3.3.0.old/lib/sysdep.h pciutils-3.3.0/lib/sysdep.h
+--- pciutils-3.3.0.old/lib/sysdep.h2014-11-18 14:27:01.054393822 +0100
 pciutils-3.3.0/lib/sysdep.h2014-11-18 14:28:43.420561080 +0100
+@@ -18,79 +18,9 @@
  typedef u8 byte;
  typedef u16 word;
  
@@ -28,13 +27,21 @@
 -
 -#ifdef PCI_OS_SUNOS
 -#include sys/byteorder.h
+-#if defined(__i386)  defined(LITTLE_ENDIAN)
+-# define BYTE_ORDER LITTLE_ENDIAN
+-#elif defined(__sparc)  defined(BIG_ENDIAN)
+-# define BYTE_ORDER BIG_ENDIAN
+-#else
 -#define BIG_ENDIAN 4321
+-#endif
+-#ifndef BYTE_ORDER
 -#ifdef _LITTLE_ENDIAN
 -#define BYTE_ORDER 1234
 -#else
 -#define BYTE_ORDER 4321
 -#endif
--#endif
+-#endif /* BYTE_ORDER */
+-#endif /* PCI_OS_SUNOS */
 -
 -#ifdef PCI_OS_WINDOWS
 -#ifdef __MINGW32__
@@ -58,7 +65,7 @@
 -{
 -  return (w  8) | ((w  8)  0xff);
 -}
- 
+-
 -static inline u32 swab32(u32 w)
 -{
 -  return ((w  0xff00)  24) |
@@ -72,9 +79,9 @@
 -#define le16_to_cpu(x) (x)
 -#define le32_to_cpu(x) (x)
 -#endif
-+#define cpu_to_le16 htole16
-+#define cpu_to_le32 htole32
-+#define le16_to_cpu le16toh
-+#define le32_to_cpu le32toh
  
 -#endif
++#define cpu_to_le16 htole16   
++#define 

commit pciutils for openSUSE:Factory

2014-08-25 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2014-08-25 11:03:02

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is pciutils

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2014-05-22 
09:04:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2014-08-25 
11:03:27.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug 18 16:21:23 UTC 2014 - fcro...@suse.com
+
+- Add obsoletes/provides to baselibs.conf.
+
+---



Other differences:
--
++ baselibs.conf ++
--- /var/tmp/diff_new_pack.93CdU5/_old  2014-08-25 11:03:28.0 +0200
+++ /var/tmp/diff_new_pack.93CdU5/_new  2014-08-25 11:03:28.0 +0200
@@ -1,4 +1,6 @@
 libpci3
+obsoletes pciutils-targettype  version
+provides pciutils-targettype = version
 pciutils-devel
requires -pciutils-targettype
requires libpci3-targettype = version

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



commit pciutils for openSUSE:Factory

2014-05-22 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2014-05-22 09:04:31

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is pciutils

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2013-08-01 
17:14:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2014-05-22 
09:04:34.0 +0200
@@ -1,0 +2,14 @@
+Tue May 13 12:19:54 UTC 2014 - tchva...@suse.com
+
+- Remove COPYING from obs it is in tarball directly
+- Version bump to 3.2.1:
+  *  CardBus bridge capabilities are displayed.
+  * PCIe L1 PM substates are decoded.
+  * Various bugs were fixed in decoding of PCIe capabilities.
+  * The sysfs back-end does not spit out unnecessary warnings when
+empty slots report only a partial device address. This actually
+happens on IBM pSeries.
+  * Updated pci.ids to the today's snapshot of the database.
+- Cleanup with spec-cleaner
+
+---

Old:

  COPYING
  pciutils-3.2.0.tar.xz

New:

  pciutils-3.2.1.tar.xz



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.XGEFxx/_old  2014-05-22 09:04:35.0 +0200
+++ /var/tmp/diff_new_pack.XGEFxx/_new  2014-05-22 09:04:35.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pciutils
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -16,31 +16,29 @@
 #
 
 
-Name:   pciutils
 %define lname  libpci3
-Version:3.2.0
+Name:   pciutils
+Version:3.2.1
 Release:0
-BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(libkmod)
-BuildRequires:  pkgconfig(zlib)
-Requires:   pciutils-ids
-# bug437293
-%ifarch ppc64
-Obsoletes:  pciutils-64bit
-%endif
-#
 Summary:PCI utilities for Kernel version 2
 License:GPL-2.0+
 Group:  Hardware/Other
 Url:http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
 Source: 
ftp://ftp.kernel.org/pub/software/utils/pciutils/%{name}-%{version}.tar.xz
-Source1:COPYING
 Source2:baselibs.conf
 Patch0: pciutils-3.2.0_update-dist.patch
 Patch1: %{name}-3.1.9_pkgconfig.patch
 Patch2: pciutils-ocloexec.patch
 Patch3: pciutils-endianh.patch
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(libkmod)
+BuildRequires:  pkgconfig(zlib)
+Requires:   pciutils-ids
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+# bug437293
+%ifarch ppc64
+Obsoletes:  pciutils-64bit
+%endif
 
 %description
 lspci: This program displays detailed information about all PCI busses
@@ -53,21 +51,21 @@
 update-pciids: This program downloads the current version of the
 pci.ids file.
 
-%package -n %lname
+%package -n %{lname}
 Summary:PCI utility library
 Group:  System/Libraries
 
-%description -n %lname
+%description -n %{lname}
 libpci offers access to the PCI configuration space.
 
 %package devel
 Summary:Library and Include Files of the PCI utilities
 Group:  Development/Libraries/C and C++
+Requires:   %{lname} = %{version}
 # bug437293
 %ifarch ppc64
 Obsoletes:  pciutils-devel-64bit
 %endif
-Requires:   %lname = %{version}
 
 %description devel
 This package contains the files that are necessary for software
@@ -79,6 +77,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3
+
 %build
 make %{?_smp_mflags} OPT=%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS) 
-Wall PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP= SHARED=yes
 
@@ -92,9 +91,9 @@
 install -D -m 0644 lib/libpci.pc %{buildroot}%{_libdir}/pkgconfig/libpci.pc
 ln -sf /%{_lib}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
 
-%post -n %lname -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
 
-%postun -n %lname -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)
@@ -102,7 +101,7 @@
 %doc %{_mandir}/man?/*
 /sbin/*
 
-%files -n %lname
+%files -n %{lname}
 %defattr(-,root,root)
 /%{_lib}/libpci.so.*
 

++ pciutils-3.2.0.tar.xz - pciutils-3.2.1.tar.xz ++
 5343 lines of diff (skipped)

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



commit pciutils for openSUSE:Factory

2013-08-01 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2013-08-01 17:13:58

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is pciutils

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2013-04-17 
07:44:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2013-08-01 
17:14:00.0 +0200
@@ -1,0 +2,16 @@
+Tue Jul 30 16:58:00 UTC 2013 - sweet_...@gmx.de
+
+- Update to 3.2.0
+  * On newer Linux systems, we use libkmod to look up kernel
+modules (modules.pcimap no longer exists.) To facilitate this,
+libpci is able to look up module aliases in sysfs.
+  * Various minor bug fixes.
+  * Updated pci.ids to the today's snapshot of the database.
+- Update to 3.1.10
+  * Decoding of LTR/OBFF in PCIe capabilities.
+  * Various minor bug fixes.
+  * Updated pci.ids to the today's snapshot of the database.
+- rebase patches
+- require libkmod
+
+---

Old:

  pciutils-3.1.9.tar.bz2
  update-pciutils-dist

New:

  pciutils-3.2.0.tar.xz
  pciutils-3.2.0_update-dist.patch



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.QU7Adc/_old  2013-08-01 17:14:01.0 +0200
+++ /var/tmp/diff_new_pack.QU7Adc/_new  2013-08-01 17:14:01.0 +0200
@@ -18,10 +18,11 @@
 
 Name:   pciutils
 %define lname  libpci3
-Version:3.1.9
+Version:3.2.0
 Release:0
 BuildRequires:  pkg-config
-BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig(libkmod)
+BuildRequires:  pkgconfig(zlib)
 Requires:   pciutils-ids
 # bug437293
 %ifarch ppc64
@@ -32,11 +33,11 @@
 License:GPL-2.0+
 Group:  Hardware/Other
 Url:http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
-Source: 
ftp://ftp.kernel.org/pub/software/utils/pciutils/%{name}-%{version}.tar.bz2
+Source: 
ftp://ftp.kernel.org/pub/software/utils/pciutils/%{name}-%{version}.tar.xz
 Source1:COPYING
 Source2:baselibs.conf
-Patch0: update-pciutils-dist
-Patch1: %{name}-%{version}_pkgconfig.patch
+Patch0: pciutils-3.2.0_update-dist.patch
+Patch1: %{name}-3.1.9_pkgconfig.patch
 Patch2: pciutils-ocloexec.patch
 Patch3: pciutils-endianh.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ pciutils-3.2.0_update-dist.patch ++
diff -aur pciutils-3.2.0.orig//Makefile pciutils-3.2.0/Makefile
--- pciutils-3.2.0.orig//Makefile   2013-04-19 14:58:49.0 +0200
+++ pciutils-3.2.0/Makefile 2013-07-30 23:03:04.385436935 +0200
@@ -85,7 +85,7 @@
 ls-kernel.o: CFLAGS+=$(LIBKMOD_CFLAGS)
 
 update-pciids: update-pciids.sh
-   sed $ $@ 
s@^DEST=.*@DEST=$(IDSDIR)/$(PCI_IDS)@;s@^PCI_COMPRESSED_IDS=.*@PCI_COMPRESSED_IDS=$(PCI_COMPRESSED_IDS)@
+   sed $ $@ 
s@^DEST=.*@DEST=$(IDSDIR)/pci.ids.d/pci.ids.dist@;s@^PCI_COMPRESSED_IDS=.*@PCI_COMPRESSED_IDS=@
chmod +x $@
 
 # The example of use of libpci
diff -aur pciutils-3.1.9.orig/update-pciids.sh pciutils-3.1.9/update-pciids.sh
--- pciutils-3.1.9.orig/update-pciids.sh2012-01-14 09:29:38.0 
-0500
+++ pciutils-3.1.9/update-pciids.sh 2012-01-28 21:05:57.719301612 -0500
@@ -4,7 +4,7 @@
 
 set -e
 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
 
@@ -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
++ pciutils-ocloexec.patch ++
--- /var/tmp/diff_new_pack.QU7Adc/_old  2013-08-01 17:14:01.0 +0200
+++ /var/tmp/diff_new_pack.QU7Adc/_new  2013-08-01 17:14:01.0 +0200
@@ -73,19 +73,19 @@
}
if (a-fd  0)
a-warning(Cannot open %s, buf);
-diff -aur pciutils-3.1.9.orig/lib/sysfs.c pciutils-3.1.9/lib/sysfs.c
 pciutils-3.1.9.orig/lib/sysfs.c2011-01-07 16:04:28.0 -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];
+diff -aur pciutils-3.2.0.orig//lib/sysfs.c pciutils-3.2.0/lib/sysfs.c
+--- pciutils-3.2.0.orig//lib/sysfs.c   2013-04-01 15:23:18.0 +0200
 pciutils-3.2.0/lib/sysfs.c 2013-07-30 23:30:16.013365441 +0200
+@@ -95,7 +95,7 @@
+   char namebuf[OBJNAMELEN];
  
sysfs_obj_name(d, object, namebuf);
 -  fd = open(namebuf, O_RDONLY);
 +  

commit pciutils for openSUSE:Factory

2013-04-16 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2013-04-17 07:44:19

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.changes2013-01-03 
13:54:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2013-04-17 
07:44:21.0 +0200
@@ -1,0 +2,5 @@
+Mon Apr 15 12:09:40 UTC 2013 - idon...@suse.com
+
+- Add Source URL, see https://en.opensuse.org/SourceUrls 
+
+---



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.JXNGUa/_old  2013-04-17 07:44:22.0 +0200
+++ /var/tmp/diff_new_pack.JXNGUa/_new  2013-04-17 07:44:22.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pciutils
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -28,14 +28,14 @@
 Obsoletes:  pciutils-64bit
 %endif
 #
-Summary:PCI utilities for Kernel version 2.2 and newer
+Summary:PCI utilities for Kernel version 2
 License:GPL-2.0+
 Group:  Hardware/Other
 Url:http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
-Source: %{name}-%{version}.tar.bz2
+Source: 
ftp://ftp.kernel.org/pub/software/utils/pciutils/%{name}-%{version}.tar.bz2
 Source1:COPYING
 Source2:baselibs.conf
-Patch:  update-pciutils-dist
+Patch0: update-pciutils-dist
 Patch1: %{name}-%{version}_pkgconfig.patch
 Patch2: pciutils-ocloexec.patch
 Patch3: pciutils-endianh.patch
@@ -52,12 +52,6 @@
 update-pciids: This program downloads the current version of the
 pci.ids file.
 
-
-
-Authors:
-
-Martin Mares m...@ucw.cz
-
 %package -n %lname
 Summary:PCI utility library
 Group:  System/Libraries
@@ -72,35 +66,29 @@
 %ifarch ppc64
 Obsoletes:  pciutils-devel-64bit
 %endif
-Requires:   %lname = %version
+Requires:   %lname = %{version}
 
 %description devel
 This package contains the files that are necessary for software
 development using the PCI utilities.
 
-
-
-Authors:
-
-Martin Mares m...@ucw.cz
-
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3
 %build
-make %{?_smp_mflags} OPT=$RPM_OPT_FLAGS -D_GNU_SOURCE $(getconf LFS_CFLAGS) 
-Wall PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP= SHARED=yes
+make %{?_smp_mflags} OPT=%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS) 
-Wall PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP= SHARED=yes
 
 %install
-make install PREFIX=$RPM_BUILD_ROOT%{_prefix} SBINDIR=$RPM_BUILD_ROOT/sbin \
- ROOT=$RPM_BUILD_ROOT/ MANDIR=$RPM_BUILD_ROOT/%{_mandir} STRIP= \
-SHARED=yes LIBDIR=$RPM_BUILD_ROOT/%{_lib}
-mkdir -p $RPM_BUILD_ROOT%{_includedir}/pci
-cp -p lib/{pci,header,config,types}.h $RPM_BUILD_ROOT%{_includedir}/pci/
-rm -rf $RPM_BUILD_ROOT%{_datadir}/pci.ids*
-install -D -m 0644 lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libpci.pc
+make install PREFIX=%{buildroot}%{_prefix} SBINDIR=%{buildroot}/sbin \
+ ROOT=%{buildroot}/ MANDIR=%{buildroot}/%{_mandir} STRIP= \
+SHARED=yes LIBDIR=%{buildroot}/%{_lib}
+mkdir -p %{buildroot}%{_includedir}/pci
+cp -p lib/{pci,header,config,types}.h %{buildroot}%{_includedir}/pci/
+rm -rf %{buildroot}%{_datadir}/pci.ids*
+install -D -m 0644 lib/libpci.pc %{buildroot}%{_libdir}/pkgconfig/libpci.pc
 ln -sf /%{_lib}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
 
 %post -n %lname -p /sbin/ldconfig
@@ -115,7 +103,7 @@
 
 %files -n %lname
 %defattr(-,root,root)
-/%_lib/libpci.so.*
+/%{_lib}/libpci.so.*
 
 %files devel
 %defattr(-, root, root)

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



commit pciutils for openSUSE:Factory

2013-01-03 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2013-01-03 13:46:32

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.changes2012-05-21 
08:02:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2013-01-03 
13:46:34.0 +0100
@@ -1,0 +2,6 @@
+Mon Dec 31 14:44:58 UTC 2012 - crrodrig...@opensuse.org
+
+- pciutils-endianh.patch Use the documented/optimized byteswapping
+ routines from endian.h
+
+---

New:

  pciutils-endianh.patch



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.APrytM/_old  2013-01-03 13:46:35.0 +0100
+++ /var/tmp/diff_new_pack.APrytM/_new  2013-01-03 13:46:35.0 +0100
@@ -38,6 +38,7 @@
 Patch:  update-pciutils-dist
 Patch1: %{name}-%{version}_pkgconfig.patch
 Patch2: pciutils-ocloexec.patch
+Patch3: pciutils-endianh.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -88,9 +89,9 @@
 %patch -p1
 %patch1 -p1
 %patch2 -p1
-
+%patch3
 %build
-make %{?_smp_mflags} OPT=$RPM_OPT_FLAGS -Wall PREFIX=%{_prefix} 
LIBDIR=/%{_lib} SBINDIR=/sbin STRIP= SHARED=yes
+make %{?_smp_mflags} OPT=$RPM_OPT_FLAGS -D_GNU_SOURCE $(getconf LFS_CFLAGS) 
-Wall PREFIX=%{_prefix} LIBDIR=/%{_lib} SBINDIR=/sbin STRIP= SHARED=yes
 
 %install
 make install PREFIX=$RPM_BUILD_ROOT%{_prefix} SBINDIR=$RPM_BUILD_ROOT/sbin \

++ pciutils-endianh.patch ++
Dear kernel developers. we plead to you, please use documented,optimized 
userspace interfaces, thanks !

--- lib/sysdep.h.orig
+++ lib/sysdep.h
@@ -18,71 +18,10 @@
 typedef u8 byte;
 typedef u16 word;
 
-#ifdef PCI_OS_WINDOWS
-#define strcasecmp strcmpi
-#endif
-
-#ifdef PCI_HAVE_LINUX_BYTEORDER_H
-
-#include asm/byteorder.h
-#define cpu_to_le16 __cpu_to_le16
-#define cpu_to_le32 __cpu_to_le32
-#define le16_to_cpu __le16_to_cpu
-#define le32_to_cpu __le32_to_cpu
-
-#else
-
-#ifdef PCI_OS_LINUX
 #include endian.h
-#define BYTE_ORDER __BYTE_ORDER
-#define BIG_ENDIAN __BIG_ENDIAN
-#endif
-
-#ifdef PCI_OS_SUNOS
-#include sys/byteorder.h
-#define BIG_ENDIAN 4321
-#ifdef _LITTLE_ENDIAN
-#define BYTE_ORDER 1234
-#else
-#define BYTE_ORDER 4321
-#endif
-#endif
-
-#ifdef PCI_OS_WINDOWS
-#ifdef __MINGW32__
-  #include sys/param.h
-#else
-  #include io.h
-  #define BIG_ENDIAN 4321
-  #define LITTLE_ENDIAN1234
-  #define BYTE_ORDER LITTLE_ENDIAN
-  #define snprintf _snprintf
-#endif
-#endif
-
-#if BYTE_ORDER == BIG_ENDIAN
-#define cpu_to_le16 swab16
-#define cpu_to_le32 swab32
-#define le16_to_cpu swab16
-#define le32_to_cpu swab32
-
-static inline word swab16(word w)
-{
-  return (w  8) | ((w  8)  0xff);
-}
 
-static inline u32 swab32(u32 w)
-{
-  return ((w  0xff00)  24) |
- ((w  0x00ff)  8) |
- ((w  0xff00)  8)  |
- ((w  0x00ff)  24);
-}
-#else
-#define cpu_to_le16(x) (x)
-#define cpu_to_le32(x) (x)
-#define le16_to_cpu(x) (x)
-#define le32_to_cpu(x) (x)
-#endif
+#define cpu_to_le16 htole16
+#define cpu_to_le32 htole32
+#define le16_to_cpu le16toh
+#define le32_to_cpu le32toh
 
-#endif
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pciutils for openSUSE:Factory

2012-05-21 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2012-05-21 08:02:37

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.changes2012-02-03 
10:25:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2012-05-21 
08:02:38.0 +0200
@@ -1,0 +2,5 @@
+Sun Mar 18 15:33:42 UTC 2012 - jeng...@medozas.de
+
+- Shared library policy: new subpackage libpci3
+
+---



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.gaguGl/_old  2012-05-21 08:02:41.0 +0200
+++ /var/tmp/diff_new_pack.gaguGl/_new  2012-05-21 08:02:41.0 +0200
@@ -15,24 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   pciutils
+%define lname  libpci3
 Version:3.1.9
-Release:1
-BuildRequires:  zlib-devel
+Release:0
 BuildRequires:  pkg-config
+BuildRequires:  zlib-devel
 Requires:   pciutils-ids
-AutoReqProv:on
 # bug437293
 %ifarch ppc64
 Obsoletes:  pciutils-64bit
 %endif
 #
-Group:  Hardware/Other
+Summary:PCI utilities for Kernel version 2.2 and newer
 License:GPL-2.0+
-Summary:PCI-utilities for Kernel version 2.2 and newer
+Group:  Hardware/Other
 Url:http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
 Source: %{name}-%{version}.tar.bz2
 Source1:COPYING
@@ -59,21 +57,25 @@
 
 Martin Mares m...@ucw.cz
 
+%package -n %lname
+Summary:PCI utility library
+Group:  System/Libraries
+
+%description -n %lname
+libpci offers access to the PCI configuration space.
+
 %package devel
-License:GPL-2.0+
+Summary:Library and Include Files of the PCI utilities
 Group:  Development/Libraries/C and C++
-Summary:Static Library and Include Files of the PCI-utilities
 # bug437293
 %ifarch ppc64
 Obsoletes:  pciutils-devel-64bit
 %endif
-#
-# As we only package a static library we need zlib-devel for final linking
-Requires:   zlib-devel %{name} = %{version}
+Requires:   %lname = %version
 
 %description devel
 This package contains the files that are necessary for software
-development using the PCI-utilities.
+development using the PCI utilities.
 
 
 
@@ -100,20 +102,20 @@
 install -D -m 0644 lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libpci.pc
 ln -sf /%{_lib}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%post -n %lname -p /sbin/ldconfig
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)
 %doc README COPYING
 %doc %{_mandir}/man?/*
-/%{_lib}/libpci.so.*
 /sbin/*
 
+%files -n %lname
+%defattr(-,root,root)
+/%_lib/libpci.so.*
+
 %files devel
 %defattr(-, root, root)
 %{_includedir}/pci/

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.gaguGl/_old  2012-05-21 08:02:41.0 +0200
+++ /var/tmp/diff_new_pack.gaguGl/_new  2012-05-21 08:02:41.0 +0200
@@ -1,2 +1,5 @@
-pciutils
+libpci3
 pciutils-devel
+   requires -pciutils-targettype
+   requires libpci3-targettype = version
+

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



commit pciutils for openSUSE:Factory

2012-02-03 Thread h_root
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.changes2011-11-16 
17:21:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2012-02-03 
10:25:15.0 +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.0 +0100
+++ /var/tmp/diff_new_pack.4wWTA0/_new  2012-02-03 10:25:16.0 +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.0 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils-3.1.9_pkgconfig.patch 
2012-02-03 10:25:15.0 +0100
@@ -1,11 +1,10 @@
-Index: lib/libpci.pc.in
-===
 lib/libpci.pc.in.orig  2008-04-10 21:15:47.0 +0200
-+++ lib/libpci.pc.in   2008-04-11 16:31:23.61413 +0200
-@@ -6,5 +6,4 @@ idsdir=@IDSDIR@
+--- pciutils-3.1.9.orig/lib/libpci.pc.in   2011-10-02 05:52:11.0 
-0400
 pciutils-3.1.9/lib/libpci.pc.in2012-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.0 +0100
+++ /var/tmp/diff_new_pack.4wWTA0/_new  2012-02-03 10:25:16.0 +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.0 -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.0 
-0500
 pciutils-3.1.9/lib/names-cache.c   2012-01-28 

commit pciutils for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2011-12-06 18:36:20

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is pciutils, Maintainer is vci...@suse.com

Changes:




Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.BSvdDx/_old  2011-12-06 19:03:24.0 +0100
+++ /var/tmp/diff_new_pack.BSvdDx/_new  2011-12-06 19:03:24.0 +0100
@@ -31,7 +31,7 @@
 %endif
 #
 Group:  Hardware/Other
-License:GPLv2+
+License:GPL-2.0+
 Summary:PCI-utilities for Kernel version 2.2 and newer
 Url:http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
 Source: %{name}-%{version}.tar.bz2
@@ -60,7 +60,7 @@
 Martin Mares m...@ucw.cz
 
 %package devel
-License:GPLv2+
+License:GPL-2.0+
 Group:  Development/Libraries/C and C++
 Summary:Static Library and Include Files of the PCI-utilities
 # bug437293

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



commit pciutils for openSUSE:Factory

2011-11-16 Thread h_root
Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory 
checked in at 2011-11-16 17:19:59

Comparing /work/SRC/openSUSE:Factory/pciutils (Old)
 and  /work/SRC/openSUSE:Factory/.pciutils.new (New)


Package is pciutils, Maintainer is vci...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/pciutils/pciutils.changes2011-09-23 
12:21:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.pciutils.new/pciutils.changes   2011-11-16 
17:21:07.0 +0100
@@ -1,0 +2,7 @@
+Mon Nov 14 22:34:42 UTC 2011 - crrodrig...@opensuse.org
+
+- open all file descriptors with O_CLOEXEC,specially important
+  on libpci and calling apps may fork() and we end up leaking
+  information to child processes.
+
+---

New:

  pciutils-ocloexec.patch



Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.olja2q/_old  2011-11-16 17:21:11.0 +0100
+++ /var/tmp/diff_new_pack.olja2q/_new  2011-11-16 17:21:11.0 +0100
@@ -39,6 +39,7 @@
 Source2:baselibs.conf
 Patch:  update-pciutils-dist
 Patch1: %{name}-%{version}_pkgconfig.patch
+Patch2: pciutils-ocloexec.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -84,6 +85,7 @@
 %setup -q
 %patch -p1
 %patch1
+%patch2
 
 %build
 make %{?_smp_mflags} OPT=$RPM_OPT_FLAGS -Wall PREFIX=%{_prefix} 
LIBDIR=/%{_lib} SBINDIR=/sbin STRIP= SHARED=yes

++ pciutils-ocloexec.patch ++
--- lib/dump.c.orig
+++ lib/dump.c
@@ -64,7 +64,7 @@ dump_init(struct pci_access *a)
 
   if (!a)
 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)
 
   if (snprintf(buf, sizeof(buf), %s/devices, pci_get_param(a, proc.path)) 
== sizeof(buf))
 a-error(File name too long);
-  f = fopen(buf, r);
+  f = fopen(buf, re);
   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)
   if (e  0 || e = (int) sizeof(buf))
a-error(File name too long);
   a-fd_rw = a-writeable || rw;
-  a-fd = open(buf, a-fd_rw ? O_RDWR : O_RDONLY);
+  a-fd = open(buf, (a-fd_rw ? O_RDWR : O_RDONLY) | O_CLOEXEC);
   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)
   d-domain, d-bus, d-dev, d-func);
  if (e  0 || e = (int) sizeof(buf))
a-error(File name too long);
- a-fd = open(buf, a-fd_rw ? O_RDWR : O_RDONLY);
+ a-fd = open(buf, (a-fd_rw ? O_RDWR : O_RDONLY) | O_CLOEXEC);
}
   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
   char namebuf[OBJNAMELEN], buf[256];
 
   sysfs_obj_name(d, object, namebuf);
-  fd = open(namebuf, O_RDONLY);
+  fd = open(namebuf, O_RDONLY|O_CLOEXEC);
   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)
   int i;
 
   sysfs_obj_name(d, resource, namebuf);
-  file = fopen(namebuf, r);
+  file = fopen(namebuf, re);
   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)
   n = snprintf(namebuf, OBJNAMELEN, %s/%s/%s, dirname, entry-d_name, 

commit pciutils for openSUSE:Factory

2011-03-22 Thread h_root

Hello community,

here is the log from the commit of package pciutils for openSUSE:Factory
checked in at Tue Mar 22 17:51:29 CET 2011.




--- pciutils/pciutils.changes   2010-06-28 08:50:54.0 +0200
+++ /mounts/work_src_done/STABLE/pciutils/pciutils.changes  2011-03-21 
17:52:44.0 +0100
@@ -1,0 +2,5 @@
+Mon Mar 21 16:52:43 UTC 2011 - co...@novell.com
+
+- licenses package is about to die
+
+---

calling whatdependson for head-i586




Other differences:
--
++ pciutils.spec ++
--- /var/tmp/diff_new_pack.4pyjFp/_old  2011-03-22 17:51:21.0 +0100
+++ /var/tmp/diff_new_pack.4pyjFp/_new  2011-03-22 17:51:21.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package pciutils (Version 3.1.7)
+# spec file for package pciutils
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -20,11 +20,9 @@
 
 Name:   pciutils
 Version:3.1.7
-Release:7
+Release:11
 BuildRequires:  zlib-devel
-BuildRequires:  licenses
 BuildRequires:  pkg-config
-Requires:   licenses
 Requires:   pciutils-ids
 AutoReqProv:on
 # bug437293
@@ -99,10 +97,6 @@
 rm -rf $RPM_BUILD_ROOT%{_datadir}/pci.ids*
 install -D -m 0644 lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libpci.pc
 ln -sf /%{_lib}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
-MD5SUM=$(md5sum %{S:1} | sed 's/ .*//')
-if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
-   ln -sf /usr/share/doc/licenses/md5/$MD5SUM COPYING 
-fi
 
 %clean
 rm -rf $RPM_BUILD_ROOT






Remember to have fun...

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