1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
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]
12 SITES[main]= http://download.savannah.gnu.org/releases/dmidecode/
13 DISTFILE[1]= dmidecode-3.4.tar.xz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
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
29 FPC_EQUIVALENT= sysutils/dmidecode
31 MAKE_ARGS= prefix={{PREFIX}}
36 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
37 ${INSTALL_SCRIPT} ${WRKDIR}/dmidecode ${STAGEDIR}${PREFIX}/etc/periodic/daily/
39 post-install-dragonfly:
40 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
41 ${INSTALL_SCRIPT} ${WRKDIR}/dmidecode ${STAGEDIR}${PREFIX}/etc/periodic/daily/
44 # documentation requires multiple subpackages
45 ${RM} -r ${STAGEDIR}${STD_DOCDIR}
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,
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.
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
68 43cba851d8467c9979ccdbeab192eb6638c7d3a697eba5ddb779da8837542212 61420 dmidecode-3.4.tar.xz
71 [FILE:224:manifests/plist.single]
82 %%ONLY-FREEBSD%%etc/periodic/daily/dmidecode
83 %%ONLY-DRAGONFLY%%etc/periodic/daily/dmidecode
86 [FILE:1940:files/dmidecode.in]
89 # Copyright (c) 2001-2014 The FreeBSD Project
90 # Copyright (c) 2014 Dmitry Morozovsky <marck@rinet.ru>
91 # All rights reserved.
93 # Redistribution and use in source and binary forms, with or without
94 # modification, are permitted provided that the following conditions
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.
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
114 # $FreeBSD: head/sysutils/dmidecode/files/dmidecode.in 403097 2015-12-06 10:04:50Z pi $
117 # If there is a global system configuration file, suck it in.
119 if [ -r /etc/defaults/periodic.conf ]
121 . /etc/defaults/periodic.conf
122 source_periodic_confs
125 dmidecode=%%PREFIX%%/sbin/dmidecode
127 . /etc/periodic/security/security.functions
131 case "$daily_status_dmidecode_enable" in
133 $dmidecode 2>/dev/null |
134 check_diff dmidecode - "${host} hardware dmi status:"