summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-10-01 21:42:34 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-10-01 21:42:34 +0000
commit1d1649131cfe0b4a2d38f4fb8510b37fd14d92ed (patch)
tree2d571f6e4e5ccb1b9165dfe1bcd389d515072b8a /sys-power
parentAll languages are available now, thanks to Giacomo Perale <ghepeu@virgilio.it... (diff)
downloadgentoo-2-1d1649131cfe0b4a2d38f4fb8510b37fd14d92ed.tar.gz
gentoo-2-1d1649131cfe0b4a2d38f4fb8510b37fd14d92ed.tar.bz2
gentoo-2-1d1649131cfe0b4a2d38f4fb8510b37fd14d92ed.zip
New package. Initial ebuild by Robin H. Johnson <robbat2@gentoo.org>.
(Portage version: 2.1.2_pre2)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powerman/ChangeLog11
-rw-r--r--sys-power/powerman/Manifest20
-rw-r--r--sys-power/powerman/files/digest-powerman-1.0.203
-rw-r--r--sys-power/powerman/files/powerman-1.0.20-new-yacc.patch23
-rw-r--r--sys-power/powerman/metadata.xml8
-rw-r--r--sys-power/powerman/powerman-1.0.20.ebuild49
6 files changed, 114 insertions, 0 deletions
diff --git a/sys-power/powerman/ChangeLog b/sys-power/powerman/ChangeLog
new file mode 100644
index 000000000000..91a1e004c28d
--- /dev/null
+++ b/sys-power/powerman/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-power/powerman
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/ChangeLog,v 1.1 2006/10/01 21:42:34 robbat2 Exp $
+
+*powerman-1.0.20 (01 Oct 2006)
+
+ 01 Oct 2006; Robin H. Johnson <robbat2@gentoo.org>
+ +files/powerman-1.0.20-new-yacc.patch, +metadata.xml,
+ +powerman-1.0.20.ebuild:
+ New package. Initial ebuild by Robin H. Johnson <robbat2@gentoo.org>.
+
diff --git a/sys-power/powerman/Manifest b/sys-power/powerman/Manifest
new file mode 100644
index 000000000000..2065539e5a34
--- /dev/null
+++ b/sys-power/powerman/Manifest
@@ -0,0 +1,20 @@
+AUX powerman-1.0.20-new-yacc.patch 931 RMD160 2fa17c35a26addad7a79be486ccf4b0320cf71ee SHA1 c1ca2eb610608142fbdad17dfe30cf888d38e8dd SHA256 1b4f5863524e77a269aef116db9f3aa579ef0bb645d83c1115fe479899f165f9
+MD5 0dfa134687c690f753f23b7b8f45e829 files/powerman-1.0.20-new-yacc.patch 931
+RMD160 2fa17c35a26addad7a79be486ccf4b0320cf71ee files/powerman-1.0.20-new-yacc.patch 931
+SHA256 1b4f5863524e77a269aef116db9f3aa579ef0bb645d83c1115fe479899f165f9 files/powerman-1.0.20-new-yacc.patch 931
+DIST powerman-1.0.20.tgz 148573 RMD160 54b839bea259f03ae0326ca1d800aae4a222203d SHA1 3f1a603ee1d9317a205680d54b621391052a92af SHA256 c69db4fcb8f93a13913f6f6990d5152e482cbca4b844cfb199679586e7107915
+EBUILD powerman-1.0.20.ebuild 1146 RMD160 b4d7f127ae3125e2a10dc31f009b7d0357a94670 SHA1 75b7c87d85beaee4f31bc751a1a37b7b8fdc8441 SHA256 603cd84b3ede218840a57e2f078bb0001451845e62e52be1205c13c9e7cf3f51
+MD5 5d31def25d146d5809c892acf1236be0 powerman-1.0.20.ebuild 1146
+RMD160 b4d7f127ae3125e2a10dc31f009b7d0357a94670 powerman-1.0.20.ebuild 1146
+SHA256 603cd84b3ede218840a57e2f078bb0001451845e62e52be1205c13c9e7cf3f51 powerman-1.0.20.ebuild 1146
+MISC ChangeLog 360 RMD160 4e1564392561ebc59565d96d016b2d8cf0c9b98e SHA1 7da40734afd068d00db3d5037e17561ab8d704ca SHA256 56bc31e3653094963e101d410ec299280a2a7c6cb9588c325603c2b65e8d45b6
+MD5 5196e347e21a4e2728971ecee92e2ab0 ChangeLog 360
+RMD160 4e1564392561ebc59565d96d016b2d8cf0c9b98e ChangeLog 360
+SHA256 56bc31e3653094963e101d410ec299280a2a7c6cb9588c325603c2b65e8d45b6 ChangeLog 360
+MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44
+MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
+RMD160 ffa99612cf27469c417944deed0e0c9155e64331 metadata.xml 223
+SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 metadata.xml 223
+MD5 665ef89c8bedc6de9011cd68ca4da654 files/digest-powerman-1.0.20 238
+RMD160 73cce68196925cdf8055840d4be4a66e9d615e11 files/digest-powerman-1.0.20 238
+SHA256 77fba9ae1578dc85fc97d7c3bc2fec07520019db3a95875051b292cabb8fa2f4 files/digest-powerman-1.0.20 238
diff --git a/sys-power/powerman/files/digest-powerman-1.0.20 b/sys-power/powerman/files/digest-powerman-1.0.20
new file mode 100644
index 000000000000..374d94ed7d67
--- /dev/null
+++ b/sys-power/powerman/files/digest-powerman-1.0.20
@@ -0,0 +1,3 @@
+MD5 6b33b4d0376e2578e93fc32071c719b2 powerman-1.0.20.tgz 148573
+RMD160 54b839bea259f03ae0326ca1d800aae4a222203d powerman-1.0.20.tgz 148573
+SHA256 c69db4fcb8f93a13913f6f6990d5152e482cbca4b844cfb199679586e7107915 powerman-1.0.20.tgz 148573
diff --git a/sys-power/powerman/files/powerman-1.0.20-new-yacc.patch b/sys-power/powerman/files/powerman-1.0.20-new-yacc.patch
new file mode 100644
index 000000000000..027fb549011e
--- /dev/null
+++ b/sys-power/powerman/files/powerman-1.0.20-new-yacc.patch
@@ -0,0 +1,23 @@
+diff -Nuar powerman-1.0.20.orig/src/parse.y powerman-1.0.20/src/parse.y
+--- powerman-1.0.20.orig/src/parse.y 2004-02-19 15:01:26.000000000 -0800
++++ powerman-1.0.20/src/parse.y 2006-10-01 14:09:23.992747728 -0700
+@@ -754,6 +754,7 @@
+ case EPL_NONODES:
+ _errormsg("more plugs than nodes");
+ default:
++ break;
+ }
+
+ if (!conf_addnodes(nodestr))
+diff -Nuar powerman-1.0.20.orig/src/Makefile powerman-1.0.20/src/Makefile
+--- powerman-1.0.20.orig/src/Makefile 2006-10-01 14:27:37.716476000 -0700
++++ powerman-1.0.20/src/Makefile 2006-10-01 14:28:09.056712008 -0700
+@@ -51,8 +51,6 @@
+ # Fix for annoying "yyval used uninitialized" warning
+ parse_tab.c parse_tab.h: parse.y
+ $(YACC) -d -oparse_tab.c parse.y
+- sed s/YYSTYPE\ yyval/YYSTYPE\ yyval\ =\ NULL/ parse_tab.c >foo.c
+- mv foo.c parse_tab.c
+
+ parse_tab.o: parse_tab.c parse_tab.h powerman.h
+ $(CC) $(CFLAGS) -c -o parse_tab.o parse_tab.c
diff --git a/sys-power/powerman/metadata.xml b/sys-power/powerman/metadata.xml
new file mode 100644
index 000000000000..5d9f5be9d49d
--- /dev/null
+++ b/sys-power/powerman/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/sys-power/powerman/powerman-1.0.20.ebuild b/sys-power/powerman/powerman-1.0.20.ebuild
new file mode 100644
index 000000000000..72b46f8286cc
--- /dev/null
+++ b/sys-power/powerman/powerman-1.0.20.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-1.0.20.ebuild,v 1.1 2006/10/01 21:42:34 robbat2 Exp $
+
+inherit eutils
+
+DESCRIPTION="PowerMan - Power to the Cluster"
+HOMEPAGE="http://www.llnl.gov/linux/powerman/"
+SRC_URI="ftp://ftp.llnl.gov/pub/linux/${PN}/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+DEPEND="sys-devel/bison
+ dev-lang/perl"
+RDEPEND=">=sys-libs/freeipmi-0.2.3"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-new-yacc.patch
+ sed -i.orig \
+ -e "/^CFLAGS/s#-g#-g ${CFLAGS} #g" \
+ ${S}/src/Makefile \
+ || die "couldn't set custom CFLAGS"
+ sed -i.orig \
+ -e "s,PTHREAD_THREADS_MAX,32768,g" \
+ ${S}/test/vpcd.c \
+ || die "Couldn't set pthreads max"
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ emake -j1 install DESTDIR="${D}" mandir="/usr/share/man"
+ rm ${D}/etc/rc.d/init.d/powerman
+ newdoc scripts/powerman.init powerman_redhat_initd
+ dodoc ChangeLog DISCLAIMER NEWS TODO
+}
+
+# Sorry, you need to be root :-(
+#src_test () {
+# cd ${S}/test
+# for i in 64 4096 8192 16384 64t 4096t 8192t 16384t; do
+# einfo "Testing mode: $i"
+# emake -j1 run$i || die "Failed test: $ti"
+# done
+#}