1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
5 KEYWORDS= sysutils devel
7 SDESC[standard]= Library / tools to access PCI bus config registers
8 HOMEPAGE= https://mj.ucw.cz/sw/pciutils
9 CONTACT= Michael_Reim[kraileth@elderlinux.org]
12 SITES[main]= GITHUB/pciutils:pciutils:v3.10.0
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= complete
21 OPTIONS_AVAILABLE= none
22 OPTIONS_STANDARD= none
24 RUN_DEPENDS= pciids:single:standard
25 EXRUN[tools]= pciutils:primary:standard
29 LICENSE= GPLv2:complete
30 LICENSE_TERMS= complete:{{WRKDIR}}/TERMS
31 LICENSE_FILE= GPLv2:{{WRKSRC}}/COPYING
32 LICENSE_AWK= TERMS:"^$$"
33 LICENSE_SOURCE= TERMS:{{WRKSRC}}/pciutils.h
36 FPC_EQUIVALENT= sysutils/pciutils
38 MAKE_ARGS= PREFIX={{PREFIX}}
41 INSTALL_TARGET= install install-lib
43 PLIST_SUB= LIBNAME={{LIBNAME:Ulibpci}}
46 VAR_OPSYS[netbsd]= MAKEFILE_LINE=LIBNAME=libpciutils
49 (cd ${STAGEDIR}${PREFIX} && mv bin/lspci sbin/lspci)
52 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpc*.so
54 [FILE:123:descriptions/desc.primary]
55 libpci is a common portable library which offers access to the PCI
56 configuration space on a variety of operating systems.
59 [FILE:379:descriptions/desc.tools]
60 The PCI Utilities are a collection of programs for inspecting and
61 manipulating configuration of PCI devices, all based on libpci.
63 The utilities include:
64 - lspci: displays detailed information about all PCI buses and devices in
66 - setpci: allows reading from and writing to PCI device configuration
67 registers. For example, you can adjust the latency timers with it.
71 e579d87f1afe2196db7db648857023f80adb500e8194c4488c8b47f9a238c1c6 603787 pciutils-pciutils-3.10.0.tar.gz
74 [FILE:63:manifests/plist.primary]
76 %%LIBNAME%%.so.%%SOMAJOR%%
77 %%LIBNAME%%.so.%%SOVERSION%%
80 [FILE:50:manifests/plist.tools]
88 [FILE:97:manifests/plist.dev]
89 lib/pkgconfig/%%LIBNAME%%.pc
98 [FILE:116:manifests/plist.man]
99 share/man/man5/pci.ids.5.gz
100 share/man/man7/pcilib.7.gz
107 [FILE:381:patches/patch-Makefile]
108 --- Makefile.orig 2023-05-01 13:00:27 UTC
110 @@ -37,7 +37,7 @@ BINDIR=$(PREFIX)/bin
111 SBINDIR=$(PREFIX)/sbin
112 SHAREDIR=$(PREFIX)/share
114 -MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi)
115 +MANDIR=$(PREFIX)/share/man
116 INCDIR=$(PREFIX)/include
118 PKGCFDIR=$(LIBDIR)/pkgconfig
121 [FILE:251:patches/patch-lib_configure]
122 --- lib/configure.orig 2023-05-01 13:00:27 UTC
124 @@ -31,6 +31,10 @@ if [ -z "$HOST" ] ; then
128 + if [ "$sys" = "MidnightBSD" ]
132 if [ "$sys" = "GNU/kFreeBSD" ]
137 [FILE:250:patches/patch-lib_ecam.c]
138 --- lib/ecam.c.orig 2023-05-01 13:00:27 UTC
141 #define OFF_MAX (off_t)((1ULL << (sizeof(off_t) * CHAR_BIT - 1)) - 1)
148 static long pagesize;
153 [FILE:932:patches/patch-lib_fbsd-device.c]
154 --- lib/fbsd-device.c.orig 2023-05-01 13:00:27 UTC
155 +++ lib/fbsd-device.c
160 -#if __FreeBSD_version < 430000 && !defined(__DragonFly__)
161 +#if __FreeBSD_version < 430000 && !defined(__DragonFly__) && !defined(__MidnightBSD__)
162 # include <pci/pcivar.h>
163 # include <pci/pci_ioctl.h>
165 @@ -259,7 +259,7 @@ fbsd_read(struct pci_dev *d, int pos, by
169 -#if __FreeBSD_version >= 700053 || defined(__DragonFly__)
170 +#if __FreeBSD_version >= 700053 || defined(__DragonFly__) || defined(__MidnightBSD__)
171 pi.pi_sel.pc_domain = d->domain;
174 @@ -311,7 +311,7 @@ fbsd_write(struct pci_dev *d, int pos, b
178 -#if __FreeBSD_version >= 700053 || defined(__DragonFly__)
179 +#if __FreeBSD_version >= 700053 || defined(__DragonFly__) || defined(__MidnightBSD__)
180 pi.pi_sel.pc_domain = d->domain;
185 [FILE:259:patches/patch-lib_mmio-ports.c]
186 --- lib/mmio-ports.c.orig 2023-05-01 13:00:27 UTC
189 #define OFF_MAX (off_t)((1ULL << (sizeof(off_t) * CHAR_BIT - 1)) - 1)