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
commitcc1100009cadbd612f7edbca657e61100251df1f (patch)
treea4db22c33bdb4c1b8f3b08e5a55099dab0b23c98 /sys-power/powerman
parentFixed compilation so JDK with com.sun.* packages is used as tomcat needs it (diff)
downloadhistorical-cc1100009cadbd612f7edbca657e61100251df1f.tar.gz
historical-cc1100009cadbd612f7edbca657e61100251df1f.tar.bz2
historical-cc1100009cadbd612f7edbca657e61100251df1f.zip
New version 2.2, take ownership, update metadata.xml
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-tuxonice i686
Diffstat (limited to 'sys-power/powerman')
-rw-r--r--sys-power/powerman/ChangeLog10
-rw-r--r--sys-power/powerman/Manifest7
-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
5 files changed, 80 insertions, 8 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/Manifest b/sys-power/powerman/Manifest
index c04c591b7347..799609c85799 100644
--- a/sys-power/powerman/Manifest
+++ b/sys-power/powerman/Manifest
@@ -1,5 +1,8 @@
+AUX powerman 465 RMD160 5653857d129375b664dd9529f5918b774d1beecc SHA1 61a55056b4480999bbf05ed61644d088902ca243 SHA256 be978a8d0ae5106e328e763be4896f11b9a2d1a4f4940cf539b1dff7d4fa8d4a
AUX powerman-1.0.20-new-yacc.patch 931 RMD160 2fa17c35a26addad7a79be486ccf4b0320cf71ee SHA1 c1ca2eb610608142fbdad17dfe30cf888d38e8dd SHA256 1b4f5863524e77a269aef116db9f3aa579ef0bb645d83c1115fe479899f165f9
DIST powerman-1.0.20.tgz 148573 RMD160 54b839bea259f03ae0326ca1d800aae4a222203d SHA1 3f1a603ee1d9317a205680d54b621391052a92af SHA256 c69db4fcb8f93a13913f6f6990d5152e482cbca4b844cfb199679586e7107915
+DIST powerman-2.2.tar.bz2 390764 RMD160 0a3d0eb1b54f4f729b9ad1642e9d739f33845a48 SHA1 d27c9f085edc8552b77e89e64f291a7559f9e6d9 SHA256 c54b7cdb7266626cdc9b5d48e84650cd060ba085281dbcdc433b90bf9ee12aff
EBUILD powerman-1.0.20.ebuild 1316 RMD160 19805014a74e3fd4b6ec674c9957cbf7fe02a1b3 SHA1 2fa038aebaa262be05c40fd7c750b6325115b992 SHA256 107be374386beb6268bf280992b80dbad84dcceccd48eba6083135ee636b3cfa
-MISC ChangeLog 553 RMD160 718c2dca3227f30a8f0bbc5447f7b8803ec678ae SHA1 cd8df999fb1848d3696de3f779b5624299e04ae6 SHA256 d2e311d33618eed3833c4fd802cc9097b11524aee58664a38f96a73ab8625fa4
-MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44
+EBUILD powerman-2.2.ebuild 835 RMD160 1e4dd7ccc427efa313191e5e476a8955451948d0 SHA1 d42717dca822e5e836fbf2fa9813c5c08e630b9b SHA256 59e0e1a3d72dfe89dad995f3f8636e05868c48fa8aecf34d9941eaf45978d648
+MISC ChangeLog 712 RMD160 e6135b261ce2c3d7f21ee9ac4b7a6c7c95b2acde SHA1 9fa76ffcb1b35bc74ca282017995aba06558ef11 SHA256 a6bf1da08eb3992ed017071a0a7ac09cb76a9dbe5c243f7eab8749c868fb793c
+MISC metadata.xml 739 RMD160 33efe215f42c09d10c3b28134186f01db607f05b SHA1 4b416979b766e432665f1f2f3c3b1deeb1198f1a SHA256 87879045220843fcf095d00c06a21aa994fe3062c25b97a804cb0d9bf13c972d
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
+}