Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "ipmiutil is an easy-to-use set of IPMI server management utilities.\ |
| 2 | It can get/set sensor thresholds, automate SEL management, do SOL console, etc." |
| 3 | |
| 4 | DESCRIPTION = "The IPMI Management Utilities currently work with platforms that \ |
| 5 | support the IPMI 1.5 or 2.0 specification. IPMI servers can be managed\ |
| 6 | locally, or remotely via IPMI LAN, even when the OS or main CPU is not\ |
| 7 | functional.\n \ |
| 8 | The ipmiutil utilities will use an IPMI Driver, either the Intel IPMI package \ |
| 9 | (ipmidrvr, /dev/imb), MontaVista OpenIPMI (/dev/ipmi0), the valinux IPMI \ |
| 10 | Driver (/dev/ipmikcs), or the LANDesk ldipmi daemon. The ipmiutil utilities \ |
| 11 | can also use direct user-space I/Os in Linux or FreeBSD if no IPMI driver \ |
| 12 | is detected." |
| 13 | |
| 14 | HOMEPAGE = "http://ipmiutil.sourceforge.net" |
| 15 | LICENSE = "BSD-2-Clause" |
| 16 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f9372493401f309e6149dd2ce0a044b" |
| 17 | |
| 18 | #PARALLEL_MAKE = "" |
| 19 | |
| 20 | SRC_URI = "${SOURCEFORGE_MIRROR}/ipmiutil/ipmiutil-${PV}.tar.gz \ |
| 21 | file://fix_systemd_path.patch " |
| 22 | |
| 23 | SRC_URI[md5sum] = "462087995f05fa9e692ed7f55c840f71" |
| 24 | SRC_URI[sha256sum] = "884c1f3d8bfb0b33c303973d286c3166f5a537976451a0312e3524af54771519" |
| 25 | |
| 26 | inherit autotools-brokensep pkgconfig systemd |
| 27 | |
| 28 | PACKAGECONFIG ?= "lanplus gpl" |
| 29 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
| 30 | PACKAGECONFIG[systemd] = "--enable-systemd=${datadir}/${BPN}, --enable-systemd=no" |
| 31 | PACKAGECONFIG[sha256] = "--enable-sha256, --enable-sha256=no, openssl-native, openssl" |
| 32 | PACKAGECONFIG[lanplus] = "--enable-lanplus, --enable-lanplus=no, openssl-native, openssl" |
| 33 | PACKAGECONFIG[landesk] = "--enable-landesk, --enable-landesk=no" |
| 34 | PACKAGECONFIG[sensors] = "--enable-libsensors, --enable-libsensors=no" |
| 35 | |
| 36 | #build with some GPL code |
| 37 | PACKAGECONFIG[gpl] = "--enable-gpl, --enable-gpl=no" |
| 38 | #no GPL or LanPlus libs |
| 39 | PACKAGECONFIG[standalone] = "--enable-standalone, --enable-standalone=no" |
| 40 | |
| 41 | CFLAGS += "-I${STAGING_INCDIR}" |
| 42 | LDFLAGS += "-L${STAGING_LIBDIR}" |
| 43 | |
| 44 | do_configure () { |
| 45 | aclocal |
| 46 | libtoolize --automake --copy --force |
| 47 | autoheader |
| 48 | automake --foreign --add-missing --copy |
| 49 | |
| 50 | aclocal |
| 51 | autoconf |
| 52 | automake --foreign |
| 53 | ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} |
| 54 | } |
| 55 | |
| 56 | do_install () { |
| 57 | oe_runmake install DESTDIR=${D} |
| 58 | } |
| 59 | |
| 60 | COMPATIBLE_HOST = '(x86_64|i.86).*-linux' |