From 617ca5cef5d54ee1b52d9686180871c9af353b8847d90145389978a8fc86ff05 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 19 Jul 2024 14:29:54 +0000 Subject: [PATCH] Synchronize package with SLE-15-SP3. [PED-8393] OBS-URL: https://build.opensuse.org/package/show/Base:System/pciutils?expand=0&rev=97 --- .gitattributes | 23 + .gitignore | 1 + baselibs.conf | 7 + pciutils-3.1.9_pkgconfig.patch | 10 + pciutils-3.13.0.tar.sign | 7 + pciutils-3.13.0.tar.xz | 3 + pciutils-endianh.patch | 121 ++++ pciutils-ocloexec.patch | 128 ++++ pciutils.changes | 1148 ++++++++++++++++++++++++++++++++ pciutils.keyring | 141 ++++ pciutils.spec | 133 ++++ 11 files changed, 1722 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 pciutils-3.1.9_pkgconfig.patch create mode 100644 pciutils-3.13.0.tar.sign create mode 100644 pciutils-3.13.0.tar.xz create mode 100644 pciutils-endianh.patch create mode 100644 pciutils-ocloexec.patch create mode 100644 pciutils.changes create mode 100644 pciutils.keyring create mode 100644 pciutils.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..bbbda47 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,7 @@ +libpci3 + obsoletes "pciutils- < " + provides "pciutils- = " +pciutils-devel + requires -pciutils- + requires "libpci3- = " + diff --git a/pciutils-3.1.9_pkgconfig.patch b/pciutils-3.1.9_pkgconfig.patch new file mode 100644 index 0000000..3194416 --- /dev/null +++ b/pciutils-3.1.9_pkgconfig.patch @@ -0,0 +1,10 @@ +--- pciutils-3.8.0/lib/libpci.pc.in.orig 2022-04-21 09:11:03.305072096 +0200 ++++ pciutils-3.8.0/lib/libpci.pc.in 2022-04-21 09:13:06.166040080 +0200 +@@ -6,6 +6,5 @@ + Name: libpci + Description: libpci + Version: @VERSION@ +-Libs: -L${libdir} -lpci ++Libs: -lpci @LDLIBS@ + Libs.private: @LDLIBS@ @WITH_LIBS@ +-Cflags: -I${includedir} diff --git a/pciutils-3.13.0.tar.sign b/pciutils-3.13.0.tar.sign new file mode 100644 index 0000000..6da8aba --- /dev/null +++ b/pciutils-3.13.0.tar.sign @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYIAB0WIQQz3UIWM8X/rMLSHFIVf/JNR+6nIAUCZmSkBQAKCRAVf/JNR+6n +IPf8AP9RrQRHJTk9xvvQamI9oT+ZjXcisz5ibrnWyRu54xp5YQD/aY/X///WijHL +QSGGWBNoIprqjXkE4arsluL+7cICnA4= +=tBLH +-----END PGP SIGNATURE----- diff --git a/pciutils-3.13.0.tar.xz b/pciutils-3.13.0.tar.xz new file mode 100644 index 0000000..b48ad93 --- /dev/null +++ b/pciutils-3.13.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77f11f78298502634d1af50308f15a5788629f6cf45cba376f5009aea4cb4926 +size 479140 diff --git a/pciutils-endianh.patch b/pciutils-endianh.patch new file mode 100644 index 0000000..b4dc8d3 --- /dev/null +++ b/pciutils-endianh.patch @@ -0,0 +1,121 @@ +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 +-#endif +-#endif +- +-#ifdef PCI_HAVE_LINUX_BYTEORDER_H +- +-#include +-#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 +-#define BYTE_ORDER __BYTE_ORDER +-#define BIG_ENDIAN __BIG_ENDIAN +-#endif +- +-#ifdef PCI_OS_SUNOS +-#include +-#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 /* BYTE_ORDER */ +-#endif /* PCI_OS_SUNOS */ +- +-#ifdef PCI_OS_WINDOWS +-#ifdef __MINGW32__ +- #include +-#else +- #include +- #define BIG_ENDIAN 4321 +- #define LITTLE_ENDIAN 1234 +- #define BYTE_ORDER LITTLE_ENDIAN +-#endif +-#endif +- +-#ifdef PCI_OS_HAIKU + #include +-#endif +- +-#ifdef PCI_OS_SYLIXOS +-#include +-#endif +- +-#ifdef PCI_OS_DJGPP +- #define BIG_ENDIAN 4321 +- #define LITTLE_ENDIAN 1234 +- #define BYTE_ORDER LITTLE_ENDIAN +-#endif +- +-#ifdef PCI_OS_AMIGAOS +- #include +-#endif +- +-#if !defined(BYTE_ORDER) +-#error "BYTE_ORDER not defined for your platform" +-#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 & 0xff000000) >> 24) | +- ((w & 0x00ff0000) >> 8) | +- ((w & 0x0000ff00) << 8) | +- ((w & 0x000000ff) << 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 diff --git a/pciutils-ocloexec.patch b/pciutils-ocloexec.patch new file mode 100644 index 0000000..e4c2c31 --- /dev/null +++ b/pciutils-ocloexec.patch @@ -0,0 +1,128 @@ +Index: pciutils-3.12.0/lib/dump.c +=================================================================== +--- 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."); +- 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)) + { +Index: pciutils-3.12.0/lib/names-cache.c +=================================================================== +--- 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; + } + +- f = fopen(name, "rb"); ++ f = fopen(name, "rbe"); + if (!f) + { + a->debug("Cache file does not exist\n"); +@@ -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); + +- f = fopen(tmpname, "wb"); ++ f = fopen(tmpname, "wbe"); + if (!f) + { + a->warning("Cannot write to %s: %s", name, strerror(errno)); +Index: pciutils-3.12.0/lib/names-parse.c +=================================================================== +--- 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) +-#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 +Index: pciutils-3.12.0/lib/proc.c +=================================================================== +--- 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"); +- f = fopen(buf, "r"); ++ f = fopen(buf, "re"); + if (!f) + a->error("Cannot open %s", buf); + while (fgets(buf, sizeof(buf)-1, f)) +@@ -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; +- 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", +@@ -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"); +- 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); +Index: pciutils-3.12.0/lib/sysfs.c +=================================================================== +--- 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); +- fd = open(namebuf, O_RDONLY); ++ fd = open(namebuf, O_RDONLY|O_CLOEXEC); + if (fd < 0) + { + if (mandatory || errno != ENOENT) +@@ -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); +- file = fopen(namebuf, "r"); ++ file = fopen(namebuf, "re"); + if (!file) + a->error("Cannot open %s: %s", namebuf, strerror(errno)); + for (i = 0; i < 7+6+4+1; i++) +@@ -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"); +- file = fopen(namebuf, "r"); ++ file = fopen(namebuf, "re"); + /* + * Old versions of Linux had a fakephp which didn't have an 'address' + * file. There's no useful information to be gleaned from these +@@ -511,7 +511,7 @@ sysfs_setup(struct pci_dev *d, int inten + if (a->fd_vpd < 0) + { + sysfs_obj_name(d, "vpd", namebuf); +- a->fd_vpd = open(namebuf, O_RDONLY); ++ a->fd_vpd = open(namebuf, O_RDONLY|O_CLOEXEC); + /* No warning on error; vpd may be absent or accessible only to root */ + } + return a->fd_vpd; +@@ -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; +- a->fd = open(namebuf, a->fd_rw ? O_RDWR : O_RDONLY); ++ a->fd = open(namebuf, (a->fd_rw ? O_RDWR : O_RDONLY) | O_CLOEXEC); + if (a->fd < 0) + a->warning("Cannot open %s", namebuf); + } diff --git a/pciutils.changes b/pciutils.changes new file mode 100644 index 0000000..c725d47 --- /dev/null +++ b/pciutils.changes @@ -0,0 +1,1148 @@ +------------------------------------------------------------------- +Fri Jul 19 13:56:16 UTC 2024 - Peter Simons + +- Synchronize SLE-15 and openSUSE:Factory [PED-8393, bsc#1224138]. + The following patches are now obsolete in version 3.13.0: + * lspci-Fixed-buffer-overflows-in-ls-tree.c.patch + * pciutils-Add-PCIe-5.0-data-rate-32-GT-s-support.patch + * pciutils-Add-PCIe-6.0-data-rate-64-GT-s-support.patch + * pciutils-Add-decoding-of-vendor-specific-VPD-fields.patch + * pciutils-VPD-Cleanup.patch + * pciutils-VPD-When-printing-item-IDs-escape-non-ASCII-characte.patch + +------------------------------------------------------------------- +Sun Jun 30 21:38:51 UTC 2024 - Dirk Müller + +- update to 3.13.0: + * lspci decodes CXL 1.1 device link status information. + * Further development of the pcilmr (the link margining + utility) + * Dump parsing supports 6-digit domain numbers. + * Bug fixes in PCIe link state reporting. + * Decode more fields in PCIe AER capability. + * Fixed build on Linux systems with musl libc. + * Updated pci.ids. + +------------------------------------------------------------------- +Sun Jun 9 14:56:50 UTC 2024 - Andreas Stieger + +- 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. + +------------------------------------------------------------------- +Wed Oct 4 08:52:45 UTC 2023 - Peter Simons + +- Apply "lspci-Fixed-buffer-overflows-in-ls-tree.c.patch" to fix a + buffer overflow error that would cause lspci to crash on systems + with complex topologies. [bsc#1215265] + +- Add "pciutils.keyring" so that the tarball's signature can be + verified at build time. + +- Use "%license" tag instead of "%doc" to install the package's + license file. + +------------------------------------------------------------------- +Thu May 11 08:20:57 UTC 2023 - Paolo Stivanin + +- Update to 3.10.0: + - Fixed bug in definition of versioned symbol aliases + in shared libpci, which made compiling with link-time + optimization fail. + - Filters now accept "0x..." syntax for backward compatibility. + - Windows: The cfgmgr32 back-end which provides the list of devices + can be combined with another back-end which provides access + to configuration space. + - ECAM (Enhanced Configuration Access Mechanism), which is defined + by the PCIe standard, is now supported. It requires root privileges, + access to physical memory, and also manual configuration on some + systems. + - lspci: Tree view now works on multi-domain systems. It now respects + filters properly. + - Last but not least, pci.ids were updated to the current snapshot + of the database. This includes overall cleanup of entries with + non-ASCII characters in their names -- such characters are allowed, + but only if they convey interesting information (e.g., umlauts + in German company names, but not the "registered trade mark" sign). + +------------------------------------------------------------------- +Tue Dec 27 13:14:15 UTC 2022 - Ludwig Nussel + +- Replace transitional %usrmerged macro with regular version check (boo#1206798) + +------------------------------------------------------------------- +Fri Dec 2 21:41:01 UTC 2022 - Dirk Müller + +- update to 3.9.0: + * We decode Compute Express Link (CXL) capabilities. + * The tree mode of lspci is now compatible with filtering options. + * When setpci is used with a named register, it checks whether + the register is present in the particular header type. + * Linux: The intel-conf[12] back-ends prefer to use ioperm() instead + of iopl() to gain access to I/O ports. + * mmio-conf1(-ext): Added a new back-end implementing the intel-conf1 + interface over MMIO. This is useful on some ARM machines, but it + requires manual configuration of the MMIO addresses. + * As usually, updated pci.ids to the current snapshot of the database. + +------------------------------------------------------------------- +Thu May 12 09:47:28 UTC 2022 - Callum Farmer + +- Make shared library executable + +------------------------------------------------------------------- +Thu Apr 21 07:08:48 UTC 2022 - Paolo Stivanin + +- Update to 3.8.0: + * Filters can now match devices based on partially specified + class code and also on the programming interface. + * Reporting of link speeds, power limits, and virtual function tags + has been updated to the current PCIe specification. + * We decode the Data Object Exchange capability. + * Bus mapping mode works in non-zero domains. + * pci_fill_info() can fetch more fields: bridge bases, programming + interface, revision, subsystem vendor and device ID, OS driver, + and also parent bridge. Internally, the implementation was rewritten, + significantly reducing the number of corner cases to be handled. + * If the configuration space is not readable for some reason + (e.g., the cfgmgr32 back-end, but also badly implemented sleep mode + of some devices), lspci prints only information provided by the OS. + * The Hurd back-end was greatly improved thanks to Joan Lledó. + * Various minor bug fixes and improvements. + * As usually, updated pci.ids to the current snapshot of the database. +- Rebase pciutils-3.1.9_pkgconfig.patch +- Rebase pciutils-ocloexec.patch +- Rebase pciutils-endianh.patch +- Drop pciutils-add-decode-support-for-RCECs.patch + +------------------------------------------------------------------- +Mon Jan 24 12:05:25 UTC 2022 - vliaskovitis@suse.com + +- Add pciutils-Add-PCIe-5.0-data-rate-32-GT-s-support.patch + Add pciutils-Add-PCIe-6.0-data-rate-64-GT-s-support.patch + (bsc#1192862) + +------------------------------------------------------------------- +Sun Jan 23 14:56:10 UTC 2022 - Callum Farmer + +- Set sbindir to /usr/bin to fix Steam issues + (rh#1858437, gh#ValveSoftware/steam-for-linux#3306) +- Add symlinks from /usr/sbin to /usr/bin + +------------------------------------------------------------------- +Tue May 11 14:19:35 UTC 2021 - Callum Farmer + +- prepare usrmerge (boo#1029961) + +------------------------------------------------------------------- +Thu Oct 29 08:36:44 UTC 2020 - pgajdos@suse.com + +- Add decode support for RCECs [jsc#SLE-13735] +- added patches + https://github.com/pciutils/pciutils/commit/e12bd01eea67ca8cf539263124843ba281eb6ecc + + pciutils-add-decode-support-for-RCECs.patch + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Thu May 21 15:27:52 UTC 2020 - Michal Suchanek + +- Fix lspci outputs few of the VPD data fields are displayed as unknown (bsc#1170554, ltc#185587). + Added: + * pciutils-VPD-When-printing-item-IDs-escape-non-ASCII-characte.patch + * pciutils-VPD-Cleanup.patch + * pciutils-Add-decoding-of-vendor-specific-VPD-fields.patch + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Thu Feb 28 08:21:59 UTC 2019 - Martin Pluskal + +- Replace dependency on pciutil-ids with hwdata + +------------------------------------------------------------------- +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 [bsc#1098228] (bsc#1170554, ltc#185587). + * 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 + +------------------------------------------------------------------- +Sun Nov 19 01:26:23 UTC 2017 - aavindraa@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. + +------------------------------------------------------------------- +Sat Nov 11 17:04:35 UTC 2017 - aavindraa@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 + +------------------------------------------------------------------- +Mon Feb 27 12:07:44 UTC 2017 - mpluskal@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) [bsc#1098094]. + * 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. + +------------------------------------------------------------------- +Wed May 25 07:59:27 UTC 2016 - mpluskal@suse.com + +- Update to version 3.5.1: + * Fixed symbol versioning of pci_init(). + +------------------------------------------------------------------- +Fri May 20 08:11:14 UTC 2016 - mpluskal@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 (bsc#1006827). + * 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. + +------------------------------------------------------------------- +Fri Jan 8 10:54:48 UTC 2016 - tchvatal@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. + +------------------------------------------------------------------- +Sat Nov 21 23:48:30 UTC 2015 - jengelh@inai.de + +- Summary update + +------------------------------------------------------------------- +Fri Nov 13 19:31:49 UTC 2015 - mpluskal@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. + +------------------------------------------------------------------- +Sun Sep 6 07:41:51 UTC 2015 - mpluskal@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 (bnc#837347). + * Updated pci.ids to the current snapshot of the database. + + +------------------------------------------------------------------- +Tue Nov 18 13:22:45 UTC 2014 - tchvatal@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 (bsc#1001888). + * Updated pci.ids to the current snapshot of the database. +- Refresh patch: + * pciutils-endianh.patch + +------------------------------------------------------------------- +Mon Aug 18 16:21:23 UTC 2014 - fcrozat@suse.com + +- Add obsoletes/provides to baselibs.conf. + +------------------------------------------------------------------- +Tue May 13 12:19:54 UTC 2014 - tchvatal@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 + +------------------------------------------------------------------- +Tue Jul 30 16:58:00 UTC 2013 - sweet_f_a@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 + +------------------------------------------------------------------- +Mon Apr 15 12:09:40 UTC 2013 - idonmez@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls + +------------------------------------------------------------------- +Mon Dec 31 14:44:58 UTC 2012 - crrodriguez@opensuse.org + +- pciutils-endianh.patch Use the documented/optimized byteswapping + routines from endian.h + +------------------------------------------------------------------- +Sun Mar 18 15:33:42 UTC 2012 - jengelh@medozas.de + +- Shared library policy: new subpackage libpci3 + +------------------------------------------------------------------- +Sun Jan 29 02:18:30 UTC 2012 - tabraham@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 + +------------------------------------------------------------------- +Mon Nov 14 22:34:42 UTC 2011 - crrodriguez@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. + +------------------------------------------------------------------- +Mon Mar 21 16:52:43 UTC 2011 - coolo@novell.com + +- licenses package is about to die + +------------------------------------------------------------------- +Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de + +- use %_smp_mflags + +------------------------------------------------------------------- +Sat Apr 24 11:38:24 UTC 2010 - coolo@novell.com + +- buildrequire pkg-config to fix provides + +------------------------------------------------------------------- +Thu Feb 25 17:27:15 CET 2010 - anicka@suse.cz + +- update to 3.1.7 + * Minor improvements and bug fixes in decoding of the Virtual Channel + capability. + * Released as 3.1.6. + * More capabilities decoded: Virtual Channel (except arbitration + tables), Root Complex Link, Vendor-Specific (header only), SATA HBA. + * All extended capabilities have their version displayed (-vv or more). + +------------------------------------------------------------------- +Mon Feb 1 12:23:21 UTC 2010 - jengelh@medozas.de + +- package baselibs.conf + +------------------------------------------------------------------- +Fri Jan 22 17:30:53 CET 2010 - anicka@suse.cz + +- update to 1.3.5 + * Updated pci.ids to the today's snapshot of the database. + * When scanning extended capabilities, properly mask the lowest 2 bits, + which are currently reserved. This avoids unaligned access errors on + broken hardware (see tests/broken-ecaps). + * Large bar sizes are displayed in human-readable format (with units). + * Physical slot information is displayed correctly for multi-function cards. + * Fixed a couple of typos everywhere. + * Library: Fixed bugs in freeing of capabilities. + * Windows back-end compiles again. + +------------------------------------------------------------------- +Tue Dec 15 01:44:50 CET 2009 - jengelh@medozas.de + +- enable parallel building + +------------------------------------------------------------------- +Thu Dec 10 14:45:15 CET 2009 - anicka@suse.cz + +- update to 3.1.4 + * Updated pci.ids to the today's snapshot of the database. + * Fixed memory and file descriptor leak in the dump back-end. + * The SR-IOV capability decoder now prints the VF BAR's. + * On request of certain company's lawyers, we now include a copy + of the GPL with our package. It seems that the pciutils are getting + mature if the most important bug of the month was this one ;-) + +------------------------------------------------------------------- +Tue Nov 3 19:09:37 UTC 2009 - coolo@novell.com + +- updated patches to apply with fuzz=0 + +------------------------------------------------------------------- +Fri Aug 14 17:30:05 CEST 2009 - anicka@suse.cz + +- add COPYING file to fix (bnc#518238) +- fix last patch + +------------------------------------------------------------------- +Mon Aug 10 16:04:26 CEST 2009 - anicka@suse.cz + +- add fclose to dump_init (bnc#529469) + +------------------------------------------------------------------- +Mon Aug 3 14:33:26 CEST 2009 - anicka@suse.cz + +- update to 3.1.3 + * The VPD parser now reports unknown and vendor-defined items + properly. It also stops on any item in unknown format, + avoiding long output on bogus VPD data. + * The MSI-X table size now matches the spec. + * The Power Management capability now includes the soft reset bit. + * Decoding of the Advanced Features capability has been added. + * The whole package compiles on GNU/kFreeBSD again. + * The procfs back-end is able to cope with /proc/bus/pci + containing names with domains, which occur on sparc64 and + possibly other architectures due to a kernel bug. + * The sysfs back-end no longer complains when a slot address + is missing, which happens with old versions of Linux fakephp. + * The Device Serial Number capability is printed in the right + byte order. + * The MSI and MSI-X capabilities are printed in a prettier way. + * The tree output mode (`lspci -t') shows domain numbers only + at the root, which makes the output more compact. + * Updated documentation on the bus mapping mode (`lspci -M'). + +------------------------------------------------------------------- +Thu Feb 5 15:10:19 CET 2009 - anicka@suse.cz + +- update to 3.1.2 + * Fixed another silly bug in the command-line parser of setpci. + * The configure script now sets LC_ALL to avoid being fooled by + locale-dependent behavior of `tr'. + * The command-line parser of setpci did sometimes segfault on invalid + input. + * The Cygwin backend now works on Windows Vista. + * Fixed a bug in decoding of the SR-IOV capability. + * Details of some PCIe capabilities are displayed only with -vv. + * When a BAR is reported by the OS, but not by the device (i.e., + it is marked as [virtual] in lspci), the [disabled] flag is + suppressed, because it does not make sense in such cases. + * The source code of lspci has been split to multiple files, hopefully + making it easier to maintain. + * The library and lspci now know about physical slot names. So far, + they are provided by the sysfs back-end only. + * When a device has the VPD (Vital Product Data) capability and the + VPD data are supplied by the OS, they are decoded and printed in the + verbose mode. This currently works only on Linux with the sysfs + back-end. + * `setpci --version' now works properly. + * `setpci --dumpregs' prints a table of all known names of + registers and capabilities. This replaces the table of registers + in the setpci man page. + * The dry-run mode of setpci gives better feedback. + * The setpci utility is now able to address registers stored in PCI + capabilities (actually it allows a more general form of relative + addressing). + * The library has gained functions for working with PCI capabilities. + * Address Translation Services capability is now decoded. + * `lspci -k' now displays the subsystem ID, too. This makes `-k' + show everything needed to identify the device and the available + drivers, which was called for by many users. + * Fixed spelling of MSI. + * Better support for cross-compilation. + * Fixed printing of the AER capability. + * HT 1.02 capabilities are decoded as HT 1.03. + * Fixed Cygwin build. + * Fixed a minor bug in the configure script, which caused warnings + about redefinition of symbols during compilation. + +------------------------------------------------------------------- +Wed Jan 7 12:34:56 CET 2009 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + +------------------------------------------------------------------- +Thu Sep 11 22:45:55 CEST 2008 - anicka@suse.cz + +- update to 3.0.1 + * Added a Cygwin port. + * Worked around compatibility problems with various default + settings of wget + * Fixed printing of MSI capabilities. + * Added decoding of several PCI-X capabilities: device/link/slot 2, + Advanced Error Reporting, Access Control Services, Alternative + Routing-ID, Single Root I/O Virtualization. + * Fixed bug in filters which caused them to refuse + vendor/device ID 0xffff. + * Fixed several build problems: builds without PCI_USE_DNS + on Linux and with PCI_USE_DNS on Solaris and *BSD. Static + library mode also compiles again on old versions of GCC. + +------------------------------------------------------------------- +Fri Apr 11 16:30:15 CEST 2008 - mrueckert@suse.de + +- move shared libs to /%{_lib} +- added pciutils-3.0.0_pkgconfig.patch: + clean up the pkgconfig file so we can include it +- package the pkgconfig file + +------------------------------------------------------------------- +Fri Apr 11 00:07:33 CEST 2008 - mrueckert@suse.de + +- if we no longer provide the static lib we should at least provide + the symlink to link against libpci + +------------------------------------------------------------------- +Thu Apr 10 21:36:17 CEST 2008 - anicka@suse.cz + +- update to 3.0.0 + * The makefile system has been reworked. All configuration + settings are now passed to the configure script in environment + variables, allowing for easy tweaking in the top-level Makefile. + All control knobs are now described in the README. + * The libpci can be built as a shared library with properly + restricted symbol exports. Use `make SHARED=yes' to enable that + or `make SHARED=local' for a local testing build (with hardwired + paths to the library, so that it does not need installation). + * Support for resolving of PCI ID's using DNS together with a local + cache of resolved entries has been added. See the `-q' and `-Q' + options of lspci. + * The library now has a generic system of settable parameters, which + also include settings of the DNS resolver and cache. An `-O' + option has been added to lspci and setpci to allow setting + of these options. + * Configuration of the access methods are now specified by the new + parameter system, replacing the pci_access->method_params array. + * Access methods now also have sensible names and help texts and it + is possible to look up method ID by a name. + * An `-A' switch has been added to both lspci and setpci, allowing + to select an arbitrary access method. The `-P' switch (configure + proc backend) has been removed as it is no longer needed + and I do not know any its user. + * Several source files have been split for better maintainability + (most notably the resolving of ID's). + * Man pages and help texts have been updated. A new man page + `pcilib(7)' has been added and description of library options + has been moved there. + * When an unknown device ID is encountered, we print `Device ' + instead of `Unknown device '. It uses less space and it also + should reduce the number of inexperienced users complaining that + the device is not supported by the OS. To lookup up OS drivers, + use the `-k' option. + * Makefile: stripping of the binaries during installation can be + overridden by the STRIP variable. + * lib/types.h: We use the integer types from if the + compiler claims C99 support. +- remove strip patch + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Wed Apr 9 15:32:10 CEST 2008 - anicka@suse.cz + +- update to 2.2.10 + * lspci.c, setpci.c: Cleaned up the list of options. + * lib/names.c: Fix displaying of errors reported by zlib. + Previously, the buffer containing the error message had + been deallocated by gzclose() before the message was printed. + * update-pciids.sh: Added quiet mode (-q). Clean up uncompressed + files left by previous versions of the pciutils. + * update-pciids.man: Mention the -q switch. + * lib/dump.c: Squashed compiler warnings about code with + no effect (there really were surplus *'s). + +------------------------------------------------------------------- +Tue Nov 6 22:33:43 CET 2007 - anicka@suse.cz + +- update to 2.2.9 + * lspci.c: Added a new switch `-k' which requests printing + of information on kernel drivers attached to each device + and on kernel modules reporting the ability to handle the + device. + * Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS. + Also added an explicit pattern rule for linking to make sure + that LDLIBS is used on all platforms. + * pci.ids: Revised class codes to match Conventional PCI 3.0 + specs. + * lspci.c: Decode the Debug port capability (per EHCI 0.96 spec). + * lspci.c: Big code cleanup: re-arranged functions in the code, + renamed everything related to capabilities to cap_* and + all options except verbose to opt_*. + * Capability loop detection introduced 2.2.7 did not work + properly with extended capabilities. Fixed. + +------------------------------------------------------------------- +Wed Oct 24 15:19:12 CEST 2007 - anicka@suse.cz + +- drop the patch backporting upstream bug in + a machine readable output [#330533] +- fix typo in show_ext_caps in lspci + +------------------------------------------------------------------- +Fri Oct 5 14:42:24 CEST 2007 - anicka@suse.cz + +- update to 2.2.7 + * lspci.c (show_caps, show_ext_caps): Detect and report loops in + capability lists. + * lspci.c, lib/header.h: Finished decoding of the PCI Express + capability. The extended capabilities remain undecoded for now, + but at least the list of them has been updated to reflect the + current PCI Express 2.0 spec. + * lspci.c, lib/header.h: Decode new bits of traditional registers + as defined by PCIE / PCI-X. This includes discard timers in + the bridge control register and INTx enable/status in device + control/status registers. + * Makefile, lib/Makefile: `ar' and `ranlib' can be overriden to + allow cross-compilation. + * lspci.c (show_ht): Added decoding of Hypertransport MSI + mapping capability + * tests/cap-MSI-mapping: Added a test case. + +------------------------------------------------------------------- +Tue Jul 3 08:29:53 CEST 2007 - anicka@suse.cz + +- update to 2.2.6 + * Makefile: Added an "install-lib" target. + * Makefile, lib/Makefile: Generate and install pkg-config file + for libpci. + * lib/i386-io-hurd.h: Rewritten for new Hurd kernels. + +------------------------------------------------------------------- +Fri May 4 20:41:39 CEST 2007 - anicka@suse.cz + +- update to 2.2.5 + * pci.ids: Updated to the current snapshot of the database. + * lspci.c (show_express): Added PCI/PCI-X to PCI-Express + Bridge type. + * pci.ids: Updated to the current snapshot of the database. + * Replaced bzero() by memset() everywhere, it's better to lose + a tiny bit of readability than maintain hacks to make it work + on various systems. + * lib/configure: tr on Solaris is a bit weird and it requires + `[A-Z]' instead of `A-Z'. Fortunately, the extra brackets + don't hurt otherwise. + * lib/types.h, lib/configure: Solaris should use + to get precise integer types. + * lspci.c: alloca() needs . + * lib/dump.c: Fixed a couple of bugs in the dump backend which + caused devices with domains or with extended config space + to be read incorrectly. Also, dumps with partial lines are + allowed now. + * lspci.c (scan_device): If an error occurs when reading the + standard config header of a device, report it and ignore the + device and return with exit code 2 at the end. +- remove noabort.diff (implemented by upstream) + +------------------------------------------------------------------- +Thu Mar 29 12:34:27 CEST 2007 - rguenther@suse.de + +- add zlib-devel BuildRequires +- require zlib-devel from pciutils-devel package + +------------------------------------------------------------------- +Mon Jan 29 13:39:09 CET 2007 - anicka@suse.cz + +- change dependency from python to perl in update-pciids [#221276] + +------------------------------------------------------------------- +Sat Jan 20 01:36:12 CET 2007 - garloff@suse.de + +- Change update-pciids to download to pci.ids.d/pci.ids.dist + and call merge-pciids if possible. [FATE 301145, bug 221276] + +------------------------------------------------------------------- +Fri Oct 13 21:57:37 CEST 2006 - aj@suse.de + +- Fix to build (remove pci.ids.gz as well). + +------------------------------------------------------------------- +Fri Oct 13 16:46:31 CEST 2006 - mjancar@suse.cz + +- update to 2.2.4 + * many bugfixes and cleanups +- branch separate package for pci.ids + +------------------------------------------------------------------- +Mon May 22 21:44:38 CEST 2006 - schwab@suse.de + +- Don't strip binaries. + +------------------------------------------------------------------- +Wed Mar 22 18:53:40 CET 2006 - kukuk@suse.de + +- Remove pciids-suse patch (has to be fixed upstream) + +------------------------------------------------------------------- +Wed Mar 22 15:55:54 CET 2006 - kukuk@suse.de + +- Auto-Update pci.ids + +------------------------------------------------------------------- +Wed Jan 25 21:39:18 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Jan 20 17:31:27 CET 2006 - mjancar@suse.cz + +- update pci.ids (#144200) + +------------------------------------------------------------------- +Fri Jan 13 18:55:11 CET 2006 - mjancar@suse.cz + +- reintroduce "Class" printed in numeric output (#143042) + +------------------------------------------------------------------- +Mon Dec 19 16:07:09 CET 2005 - mjancar@suse.cz + +- update to 2.2.1 + +------------------------------------------------------------------- +Fri Aug 26 14:45:58 CEST 2005 - mjancar@suse.cz + +- add types.h to pciutils-devel (#113294) + +------------------------------------------------------------------- +Wed Aug 24 17:06:55 CEST 2005 - mjancar@suse.cz + +- update to 2.1.99-test9 (#98896) +- update pci.ids (#104381) + +------------------------------------------------------------------- +Mon Mar 14 19:30:46 CET 2005 - mjancar@suse.cz + +- fix non-ascii characters in pci.ids (#72345) + +------------------------------------------------------------------- +Sat Mar 5 15:59:31 CET 2005 - schwab@suse.de + +- Fix syntax error in pci.ids. + +------------------------------------------------------------------- +Tue Feb 22 16:49:29 CET 2005 - mjancar@suse.cz + +- fix sysfs parsing (#63326) +- update pci.ids + +------------------------------------------------------------------- +Fri Sep 17 13:58:38 CEST 2004 - tcrhak@suse.cz + +- updated pci.ids to the latest snapshot (fixes bug #45370) + +------------------------------------------------------------------- +Thu May 27 17:29:03 CEST 2004 - tcrhak@suse.cz + +- changed "SGI IO9/IO10 Gigabit Ethernet (Copper)" + to "SGI IO9/IO10 Gigabit Ethernet (Copper)" (bug #40175) + +------------------------------------------------------------------- +Wed Apr 28 18:39:22 CEST 2004 - tcrhak@suse.cz + +- updated pci.ids + +------------------------------------------------------------------- +Thu Mar 04 16:42:41 CET 2004 - tcrhak@suse.cz + +- some pci.ids fixes: + * changed SubDevice of Dell Inspiron 2100 internal modem (bug #32842) + * added 1291 - Auxiliary Diva Serial Port (bug #31984) + * added PCI IDs for InfiniBand HCAs (bug #34928) + +------------------------------------------------------------------- +Tue Feb 24 15:21:39 CET 2004 - tcrhak@suse.cz + +- added support for domains to device filter (lspci -s, setpci -s) + (fixes bug #33382, patch sysfs-filter) +- updated pci.ids + +------------------------------------------------------------------- +Sat Nov 29 22:04:02 CET 2003 - olh@suse.de + +- use default owner for pciutils-devel files + +------------------------------------------------------------------- +Wed Nov 5 23:42:49 CET 2003 - olh@suse.de + +- remove pcimodules again, it doesnt do anything right + +------------------------------------------------------------------- +Tue Oct 28 15:38:02 CET 2003 - olh@suse.de + +- add patch for 2.6 /proc/bus/pci layout + http://ftp.linux.org.uk/pub/linux/willy/patches/pciutils-sysfs.diff + +------------------------------------------------------------------- +Wed Oct 08 17:17:01 CEST 2003 - tcrhak@suse.cz + +- added pcimodules [bug #31953] + +------------------------------------------------------------------- +Mon Aug 25 13:38:15 CEST 2003 - tcrhak@suse.cz + +- updated pci.ids to the latest version from http://pciids.sourceforge.net + +------------------------------------------------------------------- +Tue Feb 18 19:09:22 CET 2003 - tcrhak@suse.cz + +- fixed NIC PCI IDs for Compaq [bug #22795], + patch pciids.diff +- also included the diff for the latest pci.ids + into the patch + +------------------------------------------------------------------- +Wed Jan 15 18:41:51 CET 2003 - tcrhak@suse.cz + +- fixed install paths + +------------------------------------------------------------------- +Mon Jan 06 17:45:42 CET 2003 - tcrhak@suse.cz + +- update to version 2.1.11 +- updated pci.ids to the latest version from http://pciids.sourceforge.net + +------------------------------------------------------------------- +Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de + +- removed bogus self-provides + +------------------------------------------------------------------- +Fri Sep 6 09:16:58 CEST 2002 - olh@suse.de + +- update description of pcnet32 cards (#18892) + +------------------------------------------------------------------- +Thu Aug 29 18:03:12 CEST 2002 - tcrhak@suse.cz + +- updated pci.ids to latest version from http://pciids.sourceforge.net + this version contains entries needed by Hammer systems (bug #17549) + +------------------------------------------------------------------- +Thu Aug 8 18:49:10 CEST 2002 - olh@suse.de + +- the acenic gigabit card can be either fibre or utp + update pci.ids entry (#17502) + +------------------------------------------------------------------- +Tue Jul 30 12:43:59 CEST 2002 - tcrhak@suse.cz + +- updated to version 2.1.10 +- updated pci.ids to latest version from http://pciids.sourceforge.net + +------------------------------------------------------------------- +Tue Mar 26 16:59:31 CET 2002 - tcrhak@suse.cz + +- updated pci.ids to latest version from http://pciids.sourceforge.net + +------------------------------------------------------------------- +Fri Jan 18 12:26:48 CET 2002 - tcrhak@suse.cz + +- used macros %{_lib} and %{_libdir} + +------------------------------------------------------------------- +Tue Jan 8 16:52:05 CET 2002 - schwab@suse.de + +- Fix warnings. + +------------------------------------------------------------------- +Mon Dec 17 19:03:03 CET 2001 - tcrhak@suse.cz + +- updated pciutils to 2.1.9 +- updated pci.ids to latest version from + http://pciids.sourceforge.net/ + +------------------------------------------------------------------- +Wed Dec 12 11:58:52 CET 2001 - grimmer@suse.de + +- updated pci.ids to latest version from + http://pciids.sourceforge.net/ +- added pci.ids.bz2 as a separate source file and removed + pci.ids.add.dif (now included upstream) + +------------------------------------------------------------------- +Mon Sep 24 11:55:25 CEST 2001 - grimmer@suse.de + +- added some missing PCI IDs for LSI Logic Fibre Channel + controllers to pci.ids.add.diff +- corrected typos in pci.ids (Fiber Channel -> Fibre Channel) +- added LSI Logic Inc. to vendor ID 0x1000 + +------------------------------------------------------------------- +Wed Sep 19 13:57:53 CEST 2001 - grimmer@suse.de + +- added some missing PCI IDs for Compaq NICs to pci.ids.add.diff + see [#8918] for the list + +------------------------------------------------------------------- +Mon Sep 10 14:57:02 CEST 2001 - grimmer@suse.de + +- corrected some Intel NIC entries upon request from Intel +- merged pci.ids.riva.diff and the Intel changes in pci.ids.add.diff + +------------------------------------------------------------------- +Mon Sep 3 23:10:00 MEST 2001 - garloff@suse.de + +- Riva TnT corrections from snbarth: + * The name of Riva TnT 128 is Riva TnT. + * NVidia/SGS Joint Venture (12d2) never built TNT or later. + +------------------------------------------------------------------- +Wed Aug 29 19:52:28 CEST 2001 - grimmer@suse.de + +- merged pci.ids.244ac6.diff and pci.ids.add.diff into a single + patch (again named pci.ids.add.diff) and added some more PCI IDs + collected by Dave Jones from various sources, + including the current pciutils CVS tree. +- beautyfied the spec file a bit (added clean section and defattr + in file list) + +------------------------------------------------------------------- +Mon May 21 23:46:12 CEST 2001 - poeml@suse.de + +- add -devel subpackage + +------------------------------------------------------------------- +Thu May 10 17:55:50 CEST 2001 - garloff@suse.de + +- Merge pci.ids from 2.4.4ac6 +- bzip2 tarball + +------------------------------------------------------------------- +Thu May 3 22:01:32 CEST 2001 - garloff@suse.de + +- Also don't die on failing to read data of a normal device, + just complain loudly (and return 2 in the end) +- Updated pci.ids from linux-2.4.4 and added DFE-660. + +------------------------------------------------------------------- +Wed Jan 17 16:38:18 MET 2001 - garloff@suse.de + +- Don't die on failure to read ext. cardbus data. [#5817] + +------------------------------------------------------------------- +Sun Dec 17 15:14:57 CET 2000 - garloff@suse.de + +- Added pci.ids from linux-2.4.0-test12 +- Added pci.ids floating around (lkml, RH) +- Added pci.ids for i820, ICH2/-M + +------------------------------------------------------------------- +Mon Sep 18 10:39:42 CEST 2000 - schwab@suse.de + +- Add `-Wno-format' to avoid spurious compile errors. + +------------------------------------------------------------------- +Fri Aug 18 01:48:51 CEST 2000 - ro@suse.de + +- cleanup srcdir + +------------------------------------------------------------------- +Mon Jun 12 00:43:53 CEST 2000 - olh@suse.de + +- update to 2.1.8 + +------------------------------------------------------------------- +Mon Jan 24 18:05:42 CET 2000 - aj@suse.de + +- update to 2.1.4, fix build problems with latest glibc, use patch + for make file from Martin Mares. + +------------------------------------------------------------------- +Thu Jan 20 15:27:26 CET 2000 - aj@suse.de + +- update to 2.1.3, /usr/man -> /usr/share/man + +------------------------------------------------------------------- +Tue Jan 4 02:11:22 CET 2000 - ro@suse.de + +- update to 2.1.2 + +------------------------------------------------------------------- +Tue Oct 26 01:10:58 CEST 1999 - ro@suse.de + +- fixed to compile on axp + +------------------------------------------------------------------- +Sat Oct 23 16:24:29 CEST 1999 - ro@suse.de + +- update to 2.1pre8 / using Buildroot + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Thu May 20 13:13:44 MEST 1999 - ro@suse.de + +- update to 2.0 + +------------------------------------------------------------------- +Wed Mar 31 11:59:55 MEST 1999 - bs@suse.de + +- don't use lx_hack for build + +------------------------------------------------------------------- +Tue Feb 23 00:41:35 MET 1999 - ro@suse.de + +- update to 1.10 + +------------------------------------------------------------------- +Thu Nov 26 00:29:55 MET 1998 - ro@suse.de + +- created package, version 1.08 diff --git a/pciutils.keyring b/pciutils.keyring new file mode 100644 index 0000000..e6a6eb2 --- /dev/null +++ b/pciutils.keyring @@ -0,0 +1,141 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBGEsBf4BEADIWvGdkJ6ng9pJrAuKCKbyQ15PQLyKE+0vG2Uok1/JYQVMWOPk +y276Kg389+Mi38nxumJ0L22Ef0rcGbsCLMOTY0BAGuPpFA7c9703sV8+wP8XdZdf +YCd9Hw/TrrDKwLmNQQYEeiralyG0IV0sCsBJQqPMFGljOhUJHM6MzvN7/gd2nbh+ +i0YlNTTDmBoSxFhi8+YaS2+M1ILZUCmR3zAokqEeOlBzpKr+tXwX8FlygD0S4TWR +BJvgxZGjlVArCbzIyQDM++WA3BHcM4r7l/f6h6jZYGejXyIqkAtKTUHa1jEKcidT +9u/G3CQAnuJBLgpZXlbQ8MaeAwRHruDUiy/3OMcOiK8qz32nM0HY9DdSytGcS9L6 +0YKu7VfyieVSaDGSU1vRjQEzo9CfsLYAPWLMSuzwQaziePTGS8zggrvz75LV8Kwa +CtUxoEmPG48gJlwpR2P5+4b3ZZUFdL1yq1i2oQqlFkwGxwrCkUXs+UCZBKYvC3+l +m1dtSNBE7sucaQ0UgPsvEdxkoWeGAMa3y+N+KLdxDcEBZGoYUL5OmNHTXhL91djy +zRR//V1ZYxUwYk1+7DsbwXHqPMCIeLYZPlhPtdpDEYhY+VL3L2EvcszRsNdDhIet +vci3hlq/GoFcpzv8Qh5HCO8zsB8bDP8t/CwS7nvAdWDD/dRMXVY1Vi6dfQARAQAB +tBhNYXJ0aW4gTWFyZXMgPG1qQHVjdy5jej6JAlcEEwEKAEECGwEFCRLMAwAFCwkI +BwIGFQoJCAsCBBYCAwECHgECF4AWIQTEZqVsramB9Cl9IMMfPQdh2bZfCwUCYSwG +GgIZAQAKCRAfPQdh2bZfC9f1D/wJQ9Mq/oxzlSpsDKkxX6kAXo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NJgu1iXqOCEsnlts/P1drukx29hK7EqON/IM48KJr8OaSJF18HriOb +FFLvZMLCujQUw2hSW22nhS+VoMqk2fLfYa5pv5vM8f7p4+qZUB7mEa3ILCHhf2FS +YAnwNWF83k1g3EHUG/pfsc2TXVVXDmSPEsqfwzk2rwr7zOzkaeRiXCtRczmM9GVS +tpzKsB+IYhhUc4bTJj85lLZf5FLMOOR87S2kIxup6P1AKg9rppX8ubNmNaOwkcTP +jubQpodIc4jaza1yBz+2zJKU5Z1SrUkPv1QgI5WUCUIk1VvkaRDq5kLGt/elctdq +SkUwQzEpu+iWrRvHq1JTL/v+CacL5xgfVAvo0dgatIf20Q1TlmdYEcDMBKKtHiLZ +aUs4uPYKGx07Nfl3C3YbYrwEr/3iFd0tmBWElz+RbpVczAj5hHSrv1WZYh5RMfv3 +7L8ISVClCtmHC2VZEs9cKXzieX3B7o/D5IoTE763IgwTEUHtH1jnPZE= +=FiMe +-----END PGP PUBLIC KEY BLOCK----- diff --git a/pciutils.spec b/pciutils.spec new file mode 100644 index 0000000..a85da71 --- /dev/null +++ b/pciutils.spec @@ -0,0 +1,133 @@ +# +# spec file for package pciutils +# +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2024 Andreas Stieger +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define sover 3 +%define lname libpci%{sover} +Name: pciutils +Version: 3.13.0 +Release: 0 +Summary: PCI utilities for the Linux Kernel +License: GPL-2.0-or-later +Group: Hardware/Other +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 +# 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 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libkmod) +BuildRequires: pkgconfig(zlib) +Requires: hwdata + +%description +lspci: This program displays detailed information about all PCI busses +and devices in the system, replacing the original /proc/pci interface. + +setpci: This program allows reading from and writing to PCI device +configuration registers. For example, you can adjust the latency timers +with it. + +update-pciids: This program downloads the current version of the +pci.ids file. + +%package -n %{lname} +Summary: PCI utility library +Group: System/Libraries + +%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} + +%description devel +This package contains the files that are necessary for software +development using the PCI utilities. + +%prep +%autosetup -p1 + +%build +%make_build OPT="%{optflags}" PREFIX=%{_prefix} LIBDIR=%{_libdir} SBINDIR=%{_bindir} STRIP="" SHARED="yes" + +%install +make install PREFIX=%{buildroot}%{_prefix} SBINDIR=%{buildroot}%{_bindir} \ + ROOT=%{buildroot} MANDIR=%{buildroot}%{_mandir} STRIP="" \ + SHARED="yes" LIBDIR=%{buildroot}%{_libdir} +chmod 0755 %{buildroot}%{_libdir}/libpci.so.%{sover} +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 %{_libdir}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so + +%if 0%{?suse_version} < 1550 +mkdir %{buildroot}/sbin +ln -s %{_bindir}/{lspci,setpci,pcilmr} %{buildroot}/sbin +%endif + +mkdir %{buildroot}%{_sbindir} +ln -s %{_bindir}/{lspci,setpci,pcilmr} %{buildroot}%{_sbindir} + +rm %{buildroot}%{_bindir}/update-pciids +rm %{buildroot}%{_mandir}/man8/update-pciids.8 + +%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.%{sover} +%{_libdir}/libpci.so.%{sover}.* + +%files devel +%license COPYING +%{_includedir}/pci +%{_libdir}/libpci.so +%{_libdir}/pkgconfig/libpci.pc + +%changelog