Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

95.24. powerman-2.4.4

Controls remote power distribution units and BMCs over telnet, serial, HTTP, Redfish and SNMP

2.4.4-1 · GPL-2.0-or-later · 0.3 SBU · 702.4 KiB, 86 files · 41_system, 671 of 1047 · ports/core/hardware/powerman

Homepage: https://github.com/chaos/powerman

Depends on: pkgconf, flex, bison, curl, jansson, net-snmp.

Required by (1): nut.

Sources: powerman-2.4.4.tar.gz (771.2 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install powerman'

build.sh:

export CFLAGS="$CFLAGS -Wno-error"
export CPPFLAGS="$CPPFLAGS -include sys/time.h"
./configure \
	--prefix=/usr \
	--libdir=/usr/lib \
	--sysconfdir=/etc \
	--localstatedir=/var \
	--mandir=/usr/share/man \
	--disable-static \
	--with-httppower \
	--with-redfishpower \
	--with-snmppower \
	--without-genders \
	--without-tcp-wrappers \
	--without-systemdsystemunitdir
make
make DESTDIR=$PKG install

rm -rf "$PKG/var/run"

Programs: httppower, plmpower, pm, powerman, powermand, redfishpower, snmppower.

Libraries: libpowerman.so.

Directories: /etc/powerman, /usr/lib/stonith, /usr/share/licenses/powerman.