Ravenports generated: 30 Jan 2023 20:50
[ravenports.git] / bucket_26 / pciutils
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               pciutils
4 VERSION=                3.9.0
5 KEYWORDS=               sysutils devel
6 VARIANTS=               standard
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]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/pciutils:pciutils:v3.9.0
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         library
17                         primary
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 RUN_DEPENDS=            pciids:single:standard
23 EXRUN[primary]=         pciutils:library:standard
24
25 USES=                   gmake
26
27 LICENSE=                GPLv2:complete
28 LICENSE_TERMS=          complete:{{WRKDIR}}/TERMS
29 LICENSE_FILE=           GPLv2:{{WRKSRC}}/COPYING
30 LICENSE_AWK=            TERMS:"^$$"
31 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/pciutils.h
32 LICENSE_SCHEME=         solo
33
34 FPC_EQUIVALENT=         sysutils/pciutils
35
36 MAKE_ARGS=              PREFIX={{PREFIX}}
37                         SHARED=yes
38
39 INSTALL_TARGET=         install install-lib
40 SOVERSION=              3.9.0
41 PLIST_SUB=              LIBNAME={{LIBNAME:Ulibpci}}
42
43 CFLAGS=                 -fPIC
44 VAR_OPSYS[netbsd]=      MAKEFILE_LINE=LIBNAME=libpciutils
45
46 post-install-linux:
47         (cd ${STAGEDIR}${PREFIX} && mv bin/lspci sbin/lspci)
48
49 post-install:
50         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpc*.so
51
52 [FILE:123:descriptions/desc.library]
53 libpci is a common portable library which offers access to the PCI 
54 configuration space on a variety of operating systems.
55
56
57 [FILE:379:descriptions/desc.primary]
58 The PCI Utilities are a collection of programs for inspecting and 
59 manipulating configuration of PCI devices, all based on libpci.
60
61 The utilities include:
62 - lspci: displays detailed information about all PCI buses and devices in 
63 the system
64 - setpci: allows reading from and writing to PCI device configuration 
65 registers. For example, you can adjust the latency timers with it.
66
67
68 [FILE:109:distinfo]
69 17829b1fc3ef2a022f2b0a6c4d7a686b53a2fb0233951c31f9344e0abc4034bf       587070 pciutils-pciutils-3.9.0.tar.gz
70
71
72 [FILE:157:manifests/plist.library]
73 include/pci/
74  config.h
75  header.h
76  pci.h
77  types.h
78 lib/
79  %%LIBNAME%%.so
80  %%LIBNAME%%.so.%%SOMAJOR%%
81  %%LIBNAME%%.so.%%SOVERSION%%
82 lib/pkgconfig/%%LIBNAME%%.pc
83
84
85 [FILE:166:manifests/plist.primary]
86 sbin/
87  lspci
88  setpci
89  update-pciids
90 share/pci.ids
91 share/man/man5/pci.ids.5.gz
92 share/man/man7/pcilib.7.gz
93 share/man/man8/
94  lspci.8.gz
95  setpci.8.gz
96  update-pciids.8.gz
97
98
99 [FILE:259:patches/patch-lib_mmio-ports.c]
100 --- lib/mmio-ports.c.orig       2022-11-20 12:06:14 UTC
101 +++ lib/mmio-ports.c
102 @@ -30,6 +30,10 @@
103  #define OFF_MAX (off_t)((1ULL << (sizeof(off_t) * CHAR_BIT - 1)) - 1)
104  #endif
105  
106 +#ifndef O_DSYNC
107 +#define O_DSYNC 0
108 +#endif
109 +
110  struct mmio_cache
111  {
112    off_t addr_page;
113