Accepting request 1180054 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1180054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pciutils?expand=0&rev=74
This commit is contained in:
Ana Guerrero 2024-06-12 13:37:47 +00:00 committed by Git OBS Bridge
commit 2934ca65ac
9 changed files with 232 additions and 112 deletions

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQz3UIWM8X/rMLSHFIVf/JNR+6nIAUCZE+4LAAKCRAVf/JNR+6n
IP3iAQC5EVpB/DKLbVgwQzlObDoCzlmofoD/4BM/y7mQF2kxbQD/ccDvY3J7c/BB
hergbAe6CWKV+75S12aPHjlOv9jaEQc=
=yRjb
-----END PGP SIGNATURE-----

BIN
pciutils-3.10.0.tar.xz (Stored with Git LFS)

Binary file not shown.

7
pciutils-3.12.0.tar.sign Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQz3UIWM8X/rMLSHFIVf/JNR+6nIAUCZhBu+QAKCRAVf/JNR+6n
ILf7AP9aiTeiB0xyBmL43jxb51PsF2tfbMlbLpAUP3Xdo5Z+SAD/a6v+H2NecZV9
bvAKpBYV8fafLSW2RDumTgfaPDD+7Ak=
=S22t
-----END PGP SIGNATURE-----

3
pciutils-3.12.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f185d116d5ff99b797497efce8f19f1ee8ccc5a668b97a159e3d13472f674154
size 475720

View File

@ -1,12 +1,21 @@
--- pciutils-3.8.0/lib/sysdep.h.orig 2022-04-21 09:44:42.293087550 +0200
+++ pciutils-3.8.0/lib/sysdep.h 2022-04-21 09:48:40.958962299 +0200
@@ -20,97 +20,10 @@
Index: pciutils-3.12.0/lib/sysdep.h
===================================================================
--- pciutils-3.12.0.orig/lib/sysdep.h
+++ pciutils-3.12.0/lib/sysdep.h
@@ -22,112 +22,9 @@
typedef u8 byte;
typedef u16 word;
-#ifdef PCI_OS_WINDOWS
-#define strcasecmp _strcmpi
-#define strncasecmp _strnicmp
-#if defined(_MSC_VER) && _MSC_VER < 1800
-#if _MSC_VER < 1300
-#define strtoull strtoul
-#else
-#define strtoull _strtoui64
-#endif
-#endif
-#if defined(_MSC_VER) && _MSC_VER < 1900
-#define snprintf _snprintf
-#define vsnprintf _vsnprintf
@ -58,16 +67,24 @@
-#endif
-#endif
-
-#ifdef PCI_OS_SYLIXOS
-#ifdef PCI_OS_HAIKU
#include <endian.h>
-#endif
-
-#ifdef PCI_OS_SYLIXOS
-#include <endian.h>
-#endif
-
-#ifdef PCI_OS_DJGPP
- #define BIG_ENDIAN 4321
- #define LITTLE_ENDIAN 1234
- #define BYTE_ORDER LITTLE_ENDIAN
-#endif
-
-#ifdef PCI_OS_AMIGAOS
- #include <machine/endian.h>
-#endif
-
-#if !defined(BYTE_ORDER)
-#error "BYTE_ORDER not defined for your platform"
-#endif
@ -82,7 +99,7 @@
-{
- return (w << 8) | ((w >> 8) & 0xff);
-}
-
-static inline u32 swab32(u32 w)
-{
- return ((w & 0xff000000) >> 24) |

View File

@ -1,8 +1,8 @@
Index: pciutils-3.8.0/lib/dump.c
Index: pciutils-3.12.0/lib/dump.c
===================================================================
--- pciutils-3.8.0.orig/lib/dump.c
+++ pciutils-3.8.0/lib/dump.c
@@ -64,7 +64,7 @@ dump_init(struct pci_access *a)
--- pciutils-3.12.0.orig/lib/dump.c
+++ pciutils-3.12.0/lib/dump.c
@@ -66,7 +66,7 @@ dump_init(struct pci_access *a)
if (!name)
a->error("dump: File name not given.");
@ -11,11 +11,11 @@ Index: pciutils-3.8.0/lib/dump.c
a->error("dump: Cannot open %s: %s", name, strerror(errno));
while (fgets(buf, sizeof(buf)-1, f))
{
Index: pciutils-3.8.0/lib/names-cache.c
Index: pciutils-3.12.0/lib/names-cache.c
===================================================================
--- pciutils-3.8.0.orig/lib/names-cache.c
+++ pciutils-3.8.0/lib/names-cache.c
@@ -63,7 +63,7 @@ pci_id_cache_load(struct pci_access *a,
--- pciutils-3.12.0.orig/lib/names-cache.c
+++ pciutils-3.12.0/lib/names-cache.c
@@ -121,7 +121,7 @@ pci_id_cache_load(struct pci_access *a,
return 0;
}
@ -24,7 +24,7 @@ Index: pciutils-3.8.0/lib/names-cache.c
if (!f)
{
a->debug("Cache file does not exist\n");
@@ -136,7 +136,7 @@ pci_id_cache_flush(struct pci_access *a)
@@ -196,7 +196,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);
@ -33,11 +33,11 @@ Index: pciutils-3.8.0/lib/names-cache.c
if (!f)
{
a->warning("Cannot write to %s: %s", name, strerror(errno));
Index: pciutils-3.8.0/lib/names-parse.c
Index: pciutils-3.12.0/lib/names-parse.c
===================================================================
--- pciutils-3.8.0.orig/lib/names-parse.c
+++ pciutils-3.8.0/lib/names-parse.c
@@ -52,7 +52,7 @@ static pci_file pci_open(struct pci_acce
--- pciutils-3.12.0.orig/lib/names-parse.c
+++ pciutils-3.12.0/lib/names-parse.c
@@ -54,7 +54,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)
@ -46,11 +46,11 @@ Index: pciutils-3.8.0/lib/names-parse.c
#define pci_close(f) fclose(f)
#define PCI_ERROR(f, err) if (!err && ferror(f)) err = "I/O error";
#endif
Index: pciutils-3.8.0/lib/proc.c
Index: pciutils-3.12.0/lib/proc.c
===================================================================
--- pciutils-3.8.0.orig/lib/proc.c
+++ pciutils-3.8.0/lib/proc.c
@@ -63,7 +63,7 @@ proc_scan(struct pci_access *a)
--- pciutils-3.12.0.orig/lib/proc.c
+++ pciutils-3.12.0/lib/proc.c
@@ -64,7 +64,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");
@ -59,7 +59,7 @@ Index: pciutils-3.8.0/lib/proc.c
if (!f)
a->error("Cannot open %s", buf);
while (fgets(buf, sizeof(buf)-1, f))
@@ -147,7 +147,7 @@ proc_setup(struct pci_dev *d, int rw)
@@ -148,7 +148,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;
@ -68,7 +68,7 @@ Index: pciutils-3.8.0/lib/proc.c
if (a->fd < 0)
{
e = snprintf(buf, sizeof(buf), "%s/%04x:%02x/%02x.%d",
@@ -155,7 +155,7 @@ proc_setup(struct pci_dev *d, int rw)
@@ -156,7 +156,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");
@ -77,11 +77,11 @@ Index: pciutils-3.8.0/lib/proc.c
}
if (a->fd < 0)
a->warning("Cannot open %s", buf);
Index: pciutils-3.8.0/lib/sysfs.c
Index: pciutils-3.12.0/lib/sysfs.c
===================================================================
--- pciutils-3.8.0.orig/lib/sysfs.c
+++ pciutils-3.8.0/lib/sysfs.c
@@ -96,7 +96,7 @@ sysfs_get_string(struct pci_dev *d, char
--- pciutils-3.12.0.orig/lib/sysfs.c
+++ pciutils-3.12.0/lib/sysfs.c
@@ -97,7 +97,7 @@ sysfs_get_string(struct pci_dev *d, char
void (*warn)(char *msg, ...) = (mandatory ? a->error : a->warning);
sysfs_obj_name(d, object, namebuf);
@ -90,7 +90,7 @@ Index: pciutils-3.8.0/lib/sysfs.c
if (fd < 0)
{
if (mandatory || errno != ENOENT)
@@ -160,7 +160,7 @@ sysfs_get_resources(struct pci_dev *d)
@@ -162,7 +162,7 @@ sysfs_get_resources(struct pci_dev *d)
have_bar_bases = have_rom_base = have_bridge_bases = 0;
sysfs_obj_name(d, "resource", namebuf);
@ -99,7 +99,7 @@ Index: pciutils-3.8.0/lib/sysfs.c
if (!file)
a->error("Cannot open %s: %s", namebuf, strerror(errno));
for (i = 0; i < 7+6+4+1; i++)
@@ -300,7 +300,7 @@ sysfs_fill_slots(struct pci_access *a)
@@ -302,7 +302,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 @@ Index: pciutils-3.8.0/lib/sysfs.c
/*
* Old versions of Linux had a fakephp which didn't have an 'address'
* file. There's no useful information to be gleaned from these
@@ -503,7 +503,7 @@ sysfs_setup(struct pci_dev *d, int inten
@@ -511,7 +511,7 @@ sysfs_setup(struct pci_dev *d, int inten
if (a->fd_vpd < 0)
{
sysfs_obj_name(d, "vpd", namebuf);
@ -117,7 +117,7 @@ Index: pciutils-3.8.0/lib/sysfs.c
/* No warning on error; vpd may be absent or accessible only to root */
}
return a->fd_vpd;
@@ -513,7 +513,7 @@ sysfs_setup(struct pci_dev *d, int inten
@@ -521,7 +521,7 @@ sysfs_setup(struct pci_dev *d, int inten
{
sysfs_obj_name(d, "config", namebuf);
a->fd_rw = a->writeable || intent == SETUP_WRITE_CONFIG;
@ -125,4 +125,4 @@ Index: pciutils-3.8.0/lib/sysfs.c
+ a->fd = open(namebuf, (a->fd_rw ? O_RDWR : O_RDONLY) | O_CLOEXEC);
if (a->fd < 0)
a->warning("Cannot open %s", namebuf);
a->fd_pos = 0;
}

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Sun Jun 9 14:56:50 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.12.0:
* lspci decodes the IDE (Integrity & Data Encryption) and
TEE-IO extended capabilities.
* Optimization flags used for compiling individual object files
should be the same as optimization flags for linking the final
executable to make link-time optimization possible.
* no longer look up subsystems in the HWDB
* Updated pci.ids
- include changes from 3.11:
* update-pciids now supports XZ compression
* update-pciids now sends itself as the User-Agent.
* Added a pcilmr utility for PCIe lane margining
* ECAM back-end now scans ACPI and BIOS memory faster.
* Linux systems without pread/pwrite are no longer supported
* Improved decoding of PCIe control and status registers.
* Decoding of CXL capabilities now supports up to CXL 3.0.
* lspci now displays interrupt message numbers consistently across
different capabilities.
* Cache of IDs resolved via DNS, which was located in ~/.pci-ids
by default, is now stored according to the XDG base directory
specification in $XDG_CACHE_HOME/pci-ids.
* All source files now have SPDX license identifiers.
* various minor bug fixes and updated pci.ids.
-------------------------------------------------------------------
Thu May 11 08:20:57 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -1,9 +1,6 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: C466 A56C ADA9 81F4 297D 20C3 1F3D 0761 D9B6 5F0B
Comment: Martin Mares <mares@kam.mff.cuni.cz>
Comment: Martin Mares <mj@ucw.cz>
xsFNBGEsBf4BEADIWvGdkJ6ng9pJrAuKCKbyQ15PQLyKE+0vG2Uok1/JYQVMWOPk
mQINBGEsBf4BEADIWvGdkJ6ng9pJrAuKCKbyQ15PQLyKE+0vG2Uok1/JYQVMWOPk
y276Kg389+Mi38nxumJ0L22Ef0rcGbsCLMOTY0BAGuPpFA7c9703sV8+wP8XdZdf
YCd9Hw/TrrDKwLmNQQYEeiralyG0IV0sCsBJQqPMFGljOhUJHM6MzvN7/gd2nbh+
i0YlNTTDmBoSxFhi8+YaS2+M1ILZUCmR3zAokqEeOlBzpKr+tXwX8FlygD0S4TWR
@ -14,61 +11,131 @@ CtUxoEmPG48gJlwpR2P5+4b3ZZUFdL1yq1i2oQqlFkwGxwrCkUXs+UCZBKYvC3+l
m1dtSNBE7sucaQ0UgPsvEdxkoWeGAMa3y+N+KLdxDcEBZGoYUL5OmNHTXhL91djy
zRR//V1ZYxUwYk1+7DsbwXHqPMCIeLYZPlhPtdpDEYhY+VL3L2EvcszRsNdDhIet
vci3hlq/GoFcpzv8Qh5HCO8zsB8bDP8t/CwS7nvAdWDD/dRMXVY1Vi6dfQARAQAB
zSRNYXJ0aW4gTWFyZXMgPG1hcmVzQGthbS5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ciutils
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,16 +20,17 @@
%define sover 3
%define lname libpci%{sover}
Name: pciutils
Version: 3.10.0
Version: 3.12.0
Release: 0
Summary: PCI utilities for the Linux Kernel
License: GPL-2.0-or-later
Group: Hardware/Other
URL: https://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
URL: https://mj.ucw.cz/sw/pciutils/
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
Source3: https://keys.openpgp.org/vks/v1/by-fingerprint/C466A56CADA981F4297D20C31F3D0761D9B65F0B#/pciutils.keyring
# https://mj.ucw.cz/pgp.html
Source3: https://mj.ucw.cz/pgpkey.txt#/%{name}.keyring
Patch0: pciutils-3.1.9_pkgconfig.patch
Patch1: pciutils-endianh.patch
Patch2: pciutils-ocloexec.patch
@ -83,37 +85,44 @@ ln -sf %{_libdir}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
%if 0%{?suse_version} < 1550
mkdir %{buildroot}/sbin
ln -s %{_bindir}/{lspci,setpci} %{buildroot}/sbin
ln -s %{_bindir}/{lspci,setpci,pcilmr} %{buildroot}/sbin
%endif
mkdir %{buildroot}%{_sbindir}
ln -s %{_bindir}/{lspci,setpci} %{buildroot}%{_sbindir}
ln -s %{_bindir}/{lspci,setpci,pcilmr} %{buildroot}%{_sbindir}
rm %{buildroot}%{_bindir}/update-pciids
rm %{buildroot}%{_mandir}/man8/update-pciids.8
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%check
%make_build tests
%ldconfig_scriptlets -n %{lname}
%files
%license COPYING
%doc README
%if 0%{?suse_version} < 1550
/sbin/lspci
/sbin/pcilmr
/sbin/setpci
%endif
%{_bindir}/lspci
%{_bindir}/pcilmr
%{_bindir}/setpci
%{_sbindir}/lspci
%{_sbindir}/pcilmr
%{_sbindir}/setpci
%{_mandir}/man7/pcilib.7%{?ext_man}
%{_mandir}/man8/lspci.8%{?ext_man}
%{_mandir}/man8/pcilmr.8%{?ext_man}
%{_mandir}/man8/setpci.8%{?ext_man}
%{_mandir}/man5/pci.ids.5%{?ext_man}
%files -n %{lname}
%license COPYING
%{_libdir}/libpci.so.*
%{_libdir}/libpci.so.%{sover}
%{_libdir}/libpci.so.%{sover}.*
%files devel
%license COPYING