summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2011-04-02 18:07:37 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2011-04-02 18:07:37 +0000
commit4a91cdbe3a07560ed24b468832e9ca399318081e (patch)
tree7a657268b6d0adfd590bd81e64783136d56b8e56
parentPackages removed from tree. (diff)
downloadgentoo-2-4a91cdbe3a07560ed24b468832e9ca399318081e.tar.gz
gentoo-2-4a91cdbe3a07560ed24b468832e9ca399318081e.tar.bz2
gentoo-2-4a91cdbe3a07560ed24b468832e9ca399318081e.zip
Version bump
(Portage version: 2.2_rc86/cvs/Linux x86_64)
-rw-r--r--sys-power/powerman/ChangeLog9
-rw-r--r--sys-power/powerman/metadata.xml6
-rw-r--r--sys-power/powerman/powerman-2.3.9.ebuild36
3 files changed, 49 insertions, 2 deletions
diff --git a/sys-power/powerman/ChangeLog b/sys-power/powerman/ChangeLog
index 641046425651..baf3e8ba9af2 100644
--- a/sys-power/powerman/ChangeLog
+++ b/sys-power/powerman/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/powerman
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.10 2009/07/13 02:21:46 weaver Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.11 2011/04/02 18:07:37 weaver Exp $
+
+*powerman-2.3.9 (02 Apr 2011)
+
+ 02 Apr 2011; Andrey Kislyuk <weaver@gentoo.org> +powerman-2.3.9.ebuild:
+ Version bump
*powerman-2.3.5 (12 Jul 2009)
diff --git a/sys-power/powerman/metadata.xml b/sys-power/powerman/metadata.xml
index 0d0fe3ffcde0..aed70199646d 100644
--- a/sys-power/powerman/metadata.xml
+++ b/sys-power/powerman/metadata.xml
@@ -15,6 +15,12 @@
<flag name='httppower'>
Add support for HTTP based power controllers
</flag>
+ <flag name='snmppower'>
+ Add support for SNMP based power controllers
+ </flag>
+ <flag name='h8power'>
+ Add support for h8 based power controllers
+ </flag>
<flag name='genders'>
Add support for selecting power control targets using genders (-g option)
</flag>
diff --git a/sys-power/powerman/powerman-2.3.9.ebuild b/sys-power/powerman/powerman-2.3.9.ebuild
new file mode 100644
index 000000000000..6c61b0ec938a
--- /dev/null
+++ b/sys-power/powerman/powerman-2.3.9.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-2.3.9.ebuild,v 1.1 2011/04/02 18:07:37 weaver Exp $
+
+EAPI="1"
+
+DESCRIPTION="RPC/PDU control and monitoring service for data center or compute cluster power management"
+HOMEPAGE="http://code.google.com/p/powerman/"
+SRC_URI="http://powerman.googlecode.com/files/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+httppower -snmppower -h8power +genders"
+DEPEND="sys-devel/bison
+ httppower? ( net-misc/curl )
+ snmppower? ( net-analyzer/net-snmp )
+ !app-accessibility/speech-tools"
+RDEPEND=">=sys-libs/freeipmi-0.2.3"
+
+src_compile() {
+ # Powerman stores the pidfile under $localstatedir/run.
+ # It's set to /var/lib in the release, but in gentoo pidfiles live under /var/run.
+ econf --localstatedir="/var" \
+ $(use_with httppower) \
+ $(use_with snmppower) \
+ $(use_with h8power) \
+ $(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
+}