summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2008-09-12 18:14:52 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2008-09-12 18:14:52 +0000
commitf958c5a00699a8ce49d60837cbd7f3d64ca0ef0e (patch)
treed7ec537c2d48a81273d5343b45dc3d08d4cd461c /sys-power
parentFixed compilation so JDK with com.sun.* packages is used as tomcat needs it (diff)
downloadgentoo-2-f958c5a00699a8ce49d60837cbd7f3d64ca0ef0e.tar.gz
gentoo-2-f958c5a00699a8ce49d60837cbd7f3d64ca0ef0e.tar.bz2
gentoo-2-f958c5a00699a8ce49d60837cbd7f3d64ca0ef0e.zip
New version 2.2, take ownership, update metadata.xml
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-tuxonice i686)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powerman/ChangeLog10
-rw-r--r--sys-power/powerman/files/powerman20
-rw-r--r--sys-power/powerman/metadata.xml22
-rw-r--r--sys-power/powerman/powerman-2.2.ebuild29
4 files changed, 75 insertions, 6 deletions
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 <weaver@gentoo.org> +files/powerman, metadata.xml,
+ +powerman-2.2.ebuild:
+ New version 2.2, take ownership
23 Apr 2007; Sven Wegener <swegener@gentoo.org> 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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>robbat2@gentoo.org</email>
-</maintainer>
+ <maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+ </maintainer>
+ <herd>no-herd</herd>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+ <use>
+ <flag name='httppower'>
+ Add support for HTTP based power controllers
+ </flag>
+ <flag name='genders'>
+ Add support for selecting power control targets using genders (-g option)
+ </flag>
+ </use>
</pkgmetadata>
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
+}