Ravenports generated: 18 Sep 2022 02:09
[ravenports.git] / bucket_F9 / dmidecode
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               dmidecode
4 VERSION=                3.4
5 KEYWORDS=               sysutils
6 VARIANTS=               standard
7 SDESC[standard]=        Dump DMI/SMBIOS information as human-readable text
8 HOMEPAGE=               https://www.nongnu.org/dmidecode
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://download.savannah.gnu.org/releases/dmidecode/
13 DISTFILE[1]=            dmidecode-3.4.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 NOT_FOR_ARCH=           aarch64
21
22 LICENSE=                GPLv2+:single
23 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
24 LICENSE_FILE=           GPLv2+:{{WRKSRC}}/LICENSE
25 LICENSE_AWK=            TERMS:"^$$"
26 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/dmidecode.h
27 LICENSE_SCHEME=         solo
28
29 FPC_EQUIVALENT=         sysutils/dmidecode
30
31 MAKE_ARGS=              prefix={{PREFIX}}
32
33 SUB_FILES=              dmidecode
34
35 post-install-freebsd:
36         ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
37         ${INSTALL_SCRIPT} ${WRKDIR}/dmidecode ${STAGEDIR}${PREFIX}/etc/periodic/daily/
38
39 post-install-dragonfly:
40         ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
41         ${INSTALL_SCRIPT} ${WRKDIR}/dmidecode ${STAGEDIR}${PREFIX}/etc/periodic/daily/
42
43 post-install:
44         # documentation requires multiple subpackages
45         ${RM} -r ${STAGEDIR}${STD_DOCDIR}
46
47 [FILE:939:descriptions/desc.single]
48 Dmidecode reports information about your system's hardware as described in 
49 your system BIOS according to the SMBIOS/DMI standard. This information 
50 typically includes system manufacturer, model name, serial number, BIOS 
51 version, asset tag as well as a lot of other details of varying level of 
52 interest and reliability depending on the manufacturer. It will often 
53 include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, 
54 ISA) and memory module slots, and the list of I/O ports (e.g. serial, 
55 parallel, USB).
56
57 DMI data can be used to enable or disable specific portions of kernel code 
58 depending on the specific hardware. Thus, one use of dmidecode is for 
59 kernel developers to detect system "signatures" and add them to the kernel 
60 source code when needed.
61
62 Beware that DMI data have proven to be too unreliable to be blindly 
63 trusted. Dmidecode does not scan your hardware, it only reports what the 
64 BIOS told it to.
65
66
67 [FILE:99:distinfo]
68 43cba851d8467c9979ccdbeab192eb6638c7d3a697eba5ddb779da8837542212        61420 dmidecode-3.4.tar.xz
69
70
71 [FILE:224:manifests/plist.single]
72 sbin/
73  ownership
74  vpddecode
75  biosdecode
76  dmidecode
77 share/man/man8/
78  biosdecode.8.gz
79  dmidecode.8.gz
80  ownership.8.gz
81  vpddecode.8.gz
82 %%ONLY-FREEBSD%%etc/periodic/daily/dmidecode
83 %%ONLY-DRAGONFLY%%etc/periodic/daily/dmidecode
84
85
86 [FILE:1940:files/dmidecode.in]
87 #!/bin/sh -
88 #
89 # Copyright (c) 2001-2014  The FreeBSD Project
90 # Copyright (c) 2014    Dmitry Morozovsky <marck@rinet.ru>
91 # All rights reserved.
92 #
93 # Redistribution and use in source and binary forms, with or without
94 # modification, are permitted provided that the following conditions
95 # are met:
96 # 1. Redistributions of source code must retain the above copyright
97 #    notice, this list of conditions and the following disclaimer.
98 # 2. Redistributions in binary form must reproduce the above copyright
99 #    notice, this list of conditions and the following disclaimer in the
100 #    documentation and/or other materials provided with the distribution.
101 #
102 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
103 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
104 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
105 # ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
106 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
107 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
108 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
109 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
110 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
111 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
112 # SUCH DAMAGE.
113 #
114 # $FreeBSD: head/sysutils/dmidecode/files/dmidecode.in 403097 2015-12-06 10:04:50Z pi $
115 #
116
117 # If there is a global system configuration file, suck it in.
118 #
119 if [ -r /etc/defaults/periodic.conf ]
120 then
121     . /etc/defaults/periodic.conf
122     source_periodic_confs
123 fi
124
125 dmidecode=%%PREFIX%%/sbin/dmidecode
126
127 . /etc/periodic/security/security.functions
128
129 rc=0
130
131 case "$daily_status_dmidecode_enable" in
132     [Yy][Ee][Ss])
133         $dmidecode 2>/dev/null |
134             check_diff dmidecode - "${host} hardware dmi status:"
135         rc=$?;;
136     *)  rc=0;;
137 esac
138
139 exit $rc
140