From f958c5a00699a8ce49d60837cbd7f3d64ca0ef0e Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Fri, 12 Sep 2008 18:14:52 +0000 Subject: New version 2.2, take ownership, update metadata.xml (Portage version: 2.2_rc8/cvs/Linux 2.6.26-tuxonice i686) --- sys-power/powerman/ChangeLog | 10 ++++++++-- sys-power/powerman/files/powerman | 20 ++++++++++++++++++++ sys-power/powerman/metadata.xml | 22 ++++++++++++++++++---- sys-power/powerman/powerman-2.2.ebuild | 29 +++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 6 deletions(-) create mode 100644 sys-power/powerman/files/powerman create mode 100644 sys-power/powerman/powerman-2.2.ebuild (limited to 'sys-power/powerman') diff --git a/sys-power/powerman/ChangeLog b/sys-power/powerman/ChangeLog index b1cbb6b6e9a6..0f62b0affce5 100644 --- a/sys-power/powerman/ChangeLog +++ b/sys-power/powerman/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-power/powerman -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.2 2007/04/23 19:45:06 swegener Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.3 2008/09/12 18:14:52 weaver Exp $ + +*powerman-2.2 (12 Sep 2008) + + 12 Sep 2008; weaver +files/powerman, metadata.xml, + +powerman-2.2.ebuild: + New version 2.2, take ownership 23 Apr 2007; Sven Wegener powerman-1.0.20.ebuild: Add || die after emake. diff --git a/sys-power/powerman/files/powerman b/sys-power/powerman/files/powerman new file mode 100644 index 000000000000..80f6a35cf1a5 --- /dev/null +++ b/sys-power/powerman/files/powerman @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/files/powerman,v 1.1 2008/09/12 18:14:52 weaver Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting powermand" + start-stop-daemon --start --exec /usr/sbin/powermand + eend $? +} + +stop() { + ebegin "Stopping powermand" + start-stop-daemon --stop --exec /usr/sbin/powermand + eend $? +} diff --git a/sys-power/powerman/metadata.xml b/sys-power/powerman/metadata.xml index 5d9f5be9d49d..0d0fe3ffcde0 100644 --- a/sys-power/powerman/metadata.xml +++ b/sys-power/powerman/metadata.xml @@ -1,8 +1,22 @@ -no-herd - - robbat2@gentoo.org - + + weaver@gentoo.org + Andrey Kislyuk + + no-herd + + Powerman provides power management in a data center or compute cluster + environment. It performs operations such as power on, power off, and + power cycle via remote power controller (RPC) devices. + + + + Add support for HTTP based power controllers + + + Add support for selecting power control targets using genders (-g option) + + diff --git a/sys-power/powerman/powerman-2.2.ebuild b/sys-power/powerman/powerman-2.2.ebuild new file mode 100644 index 000000000000..0d681e9bf66c --- /dev/null +++ b/sys-power/powerman/powerman-2.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-2.2.ebuild,v 1.1 2008/09/12 18:14:52 weaver Exp $ + +EAPI="1" + +DESCRIPTION="RPC/PDU control and monitoring service for data center or compute cluster power management" +HOMEPAGE="http://powerman.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="+httppower +genders" +DEPEND="sys-devel/bison" +RDEPEND=">=sys-libs/freeipmi-0.2.3" + +src_compile() { + econf \ + $(use_with httppower) \ + $(use_with genders) + emake || die +} + +src_install() { + emake DESTDIR="${D}" -j1 install || die + rm -f "${D}/etc/init.d/powerman" + doinitd "${FILESDIR}/powerman" || die + dodoc AUTHORS ChangeLog DISCLAIMER NEWS TODO +} -- cgit v1.2.3-65-gdbad