Skip to content

dell/libsmbios

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

POSIX does not define the indirect expansion syntax. Moreover, if going
to the trouble of executing Perl, one may as well take full advantage of
it. Address the issue by first having the shell export the variable.
Next, have Perl perform the replacement without utilising any form of
code injection. Instead, export 'var' into Perl's environment. That
way, Perl can reference the variable name as $ENV{var} and its value as
$ENV{$ENV{var}}.

Signed-off-by: Kerin Millar <kfm@plushkava.net>
Closes: https://bugs.gentoo.org/715202
Closes: #89
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
f01a217

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
etc
 
 
pkg
 
 
po
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

libsmbios

Build Status Coverity Scan Build Status libsmbios provides a library to interface with the SMBIOS tables. It also provides extensions for proprietary methods of interfacing with Dell specific SMBIOS tables.

Dependencies

To build a libsmbios tarball, you will need the following dependencies, in whichever -devel package convention in use by your distribution:

  1. libxml
  2. autoconf
  3. automake
  4. gettext
  5. libtool

Building

To build from a git checkout:

  $ ./autogen.sh     # autogen.sh internally runs configure automatically
  $ make

To Install

Standard autotools package:

$ make install

Documentation is in doxygen format. To view the docs, run make doxygen, then look in the out/libsmbios_c/html/index.html. Docs are also built as part of make all.

Distribution packages

Packages can be generated for RPM based distributions by using the helper script

# pkg/mk-rel-rpm.sh

Packages can be generated for DEB based distributions by using the helper script

# pkg/mk-rel-deb.sh

License

This software is dual-licensed under GPL/OSL.

See GPL License and OSL License for more details.