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
commit9b6d7f11166221a13669c13c060be8082987e0cf (patch)
tree7033c95a512b2626062c8986daec363b31ed8348 /sys-power/powerman
parentAll languages are available now, thanks to Giacomo Perale <ghepeu@virgilio.it... (diff)
downloadhistorical-9b6d7f11166221a13669c13c060be8082987e0cf.tar.gz
historical-9b6d7f11166221a13669c13c060be8082987e0cf.tar.bz2
historical-9b6d7f11166221a13669c13c060be8082987e0cf.zip
New package. Initial ebuild by Robin H. Johnson <robbat2@gentoo.org>.
Package-Manager: portage-2.1.2_pre2
Diffstat (limited to 'sys-power/powerman')
-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..b697c67ae2e9
--- /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 1250 RMD160 d320b1da35e94b3b65f3efd2a1c2beafc88de0dd SHA1 8d0cea9f0c4b56c388c2be4eaea8993721fd2986 SHA256 c72262fa281893eaf32d6d562f5bac96028ef862233574e6ad628a660b8cd42e
+MD5 8c10a07032509e7ab89ed7d6376531ff powerman-1.0.20.ebuild 1250
+RMD160 d320b1da35e94b3b65f3efd2a1c2beafc88de0dd powerman-1.0.20.ebuild 1250
+SHA256 c72262fa281893eaf32d6d562f5bac96028ef862233574e6ad628a660b8cd42e powerman-1.0.20.ebuild 1250
+MISC ChangeLog 451 RMD160 86dd494f42a59a7c8e8f4c5b0b5ead87d62a2abd SHA1 5ac87e92be29d04eb65cc70321f363cc00de13f5 SHA256 39afd2708046560b037c9022f64497fffb31e9436ff345d741f089ca747561cc
+MD5 bf83ea91bdc883f50daf6f387f2af7ae ChangeLog 451
+RMD160 86dd494f42a59a7c8e8f4c5b0b5ead87d62a2abd ChangeLog 451
+SHA256 39afd2708046560b037c9022f64497fffb31e9436ff345d741f089ca747561cc ChangeLog 451
+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
+#}