aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-07-04 02:37:57 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2011-07-04 02:37:57 +0400
commit20e2bddc173c4d3f4ace38b33c7c69ac0b7dd418 (patch)
treeca9013de19afa58a1f8d13ea498a5b2d04023391 /sys-cluster
parent[slurm] one more update to init.d (diff)
downloadsci-20e2bddc173c4d3f4ace38b33c7c69ac0b7dd418.tar.gz
sci-20e2bddc173c4d3f4ace38b33c7c69ac0b7dd418.tar.bz2
sci-20e2bddc173c4d3f4ace38b33c7c69ac0b7dd418.zip
Add maui with slurm and pbs integration
(Portage version: 2.2.0_alpha43/git/Linux x86_64, signed Manifest commit with key F82F92E6)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/maui/ChangeLog99
-rw-r--r--sys-cluster/maui/Manifest26
-rw-r--r--sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch11
-rw-r--r--sys-cluster/maui/files/maui.initd24
-rw-r--r--sys-cluster/maui/maui-3.3.1-r2.ebuild53
-rw-r--r--sys-cluster/maui/metadata.xml9
6 files changed, 222 insertions, 0 deletions
diff --git a/sys-cluster/maui/ChangeLog b/sys-cluster/maui/ChangeLog
new file mode 100644
index 000000000..aa592fe56
--- /dev/null
+++ b/sys-cluster/maui/ChangeLog
@@ -0,0 +1,99 @@
+# ChangeLog for sys-cluster/maui
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/ChangeLog,v 1.21 2011/06/30 08:28:12 xarthisius Exp $
+
+ 30 Jun 2011; Kacper Kowalik <xarthisius@gentoo.org> maui-3.3.1-r1.ebuild:
+ maui->PN, fix order of vars
+
+ 29 Jun 2011; Alexey Shvetsov <alexxy@gentoo.org> files/maui.initd:
+ Fix typo in init.d
+
+ 29 Jun 2011; Alexey Shvetsov <alexxy@gentoo.org> maui-3.3.1-r1.ebuild:
+ Reloacte spool to var not to usr
+
+*maui-3.3.1-r1 (29 Jun 2011)
+
+ 29 Jun 2011; Alexey Shvetsov <alexxy@gentoo.org> -maui-3.3.1.ebuild,
+ +maui-3.3.1-r1.ebuild, +files/maui.initd:
+ Add init.d
+
+*maui-3.3.1 (05 Mar 2011)
+
+ 05 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> +maui-3.3.1.ebuild:
+ Version bump wrt #357493
+
+*maui-3.3 (14 Jul 2010)
+
+ 14 Jul 2010; Justin Lecher <jlec@gentoo.org> +maui-3.3.ebuild:
+ Version Bump and prefix support
+
+*maui-3.2.6_p21-r1 (24 Mar 2010)
+
+ 24 Mar 2010; Justin Bronder <jsbronder@gentoo.org>
+ +maui-3.2.6_p21-r1.ebuild, +files/maui-3.2.6_p21-pbs-nodefile.patch:
+ Fix incorrect PBS_NODEFILE with newer glibc fix. #309755
+
+ 02 Mar 2010; Justin Bronder <jsbronder@gentoo.org> maui-3.2.6_p16.ebuild,
+ maui-3.2.6_p21.ebuild:
+ Update deps
+
+ 15 Jan 2010; Thilo Bangert <bangert@gentoo.org> Manifest:
+ rebuild manifest (#164373)
+
+ 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> maui-3.2.6_p16.ebuild,
+ maui-3.2.6_p21.ebuild:
+ Remove virtual/libc
+
+ 21 Jan 2009; weaver <weaver@gentoo.org> ChangeLog:
+ Tweak patch to avoid obscure build failure with autoconf
+
+*maui-3.2.6_p21 (02 Jan 2009)
+
+ 02 Jan 2009; weaver <weaver@gentoo.org>
+ +files/3.2.6_p21-autoconf-2.60-compat.patch, +maui-3.2.6_p21.ebuild:
+ Version bump, bug 164373. Drop 2 patches merged upstream.
+
+ 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+ -maui-3.2.6_p13.ebuild, -maui-3.2.6_p13-r1.ebuild:
+ Clean up.
+
+ 02 Jul 2007; Piotr JaroszyƄski <peper@gentoo.org> maui-3.2.6_p13.ebuild,
+ maui-3.2.6_p13-r1.ebuild, maui-3.2.6_p16.ebuild:
+ (QA) RESTRICT clean up.
+
+ 12 May 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+ maui-3.2.6_p16.ebuild:
+ Remove blocker on old openpbs, since it's out of the tree.
+
+ 26 Apr 2007; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml:
+ Update for cluster herd split to hp-cluster and ha-cluster.
+
+*maui-3.2.6_p16 (26 Sep 2006)
+
+ 26 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/3.2.6_p16-autoconf-2.60-compat.patch,
+ +files/3.2.6_p16-link-pbs-after-moab.patch,
+ +files/3.2.6_p16-set-pbs-cflags-ldflags.patch, +maui-3.2.6_p16.ebuild:
+ Bump. Works with PBS installed to /usr/libdir/pbs/lib, so blocks on older
+ openpbs. May not work on torque 1.x either.
+
+ 25 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+ maui-3.2.6_p13-r1.ebuild:
+ (#118197) need to inherit multilib.eclass to use get_libdir().
+
+ 03 Jan 2006; Joel Martin <kanaka@gentoo.org> maui-3.2.6_p13-r1.ebuild:
+ Add ~amd64
+
+*maui-3.2.6_p13-r1 (05 Jul 2005)
+
+ 05 Jul 2005; Robin H. Johnson <robbat2@gentoo.org>
+ +maui-3.2.6_p13-r1.ebuild:
+ Move to virtual/pbs. And libpbs back in /usr/lib.
+
+*maui-3.2.6_p13 (05 Jul 2005)
+
+ 05 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
+ +maui-3.2.6_p13.ebuild:
+ Initial commit of sys-cluster/maui. Ebuild by Pat Lougheed <patl@sfu.ca> and
+ Robin Hugh Johnson <robbat2@gentoo.org>.
+
diff --git a/sys-cluster/maui/Manifest b/sys-cluster/maui/Manifest
new file mode 100644
index 000000000..eae17a2d1
--- /dev/null
+++ b/sys-cluster/maui/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX 3.2.6_p21-autoconf-2.60-compat.patch 476 RMD160 85ccd551828eb0d969feb78cda69595135d22357 SHA1 e5d7ae9b7bf24d281ae3356829672cf6e447bce9 SHA256 52847580ae728a650c9812d017323d2ca9b2ee8b60fb4a81e8c6d68f213156c0
+AUX maui.initd 584 RMD160 dc9af471f5ce68a88abf6edcf8c03300cdb0061a SHA1 2557effe9a3fabda7333d50aad5112c539eccd56 SHA256 3d6398902b73dec7128e7bdc7695617f33e1156b315ececd7069b72692209eaa
+DIST maui-3.3.1.tar.gz 901179 RMD160 9636cf3c215fd25cfd4ad3a5a782b36df592e2bb SHA1 1bb926c701adafb0bdda1c3c253c324b6809b81e SHA256 033a1ab40da69bc091ce5d01199ac599de0b6bbdfa404b9b1631ee964dc711a1
+EBUILD maui-3.3.1-r2.ebuild 1357 RMD160 f54c11279eff4c5c1399837e13b9982841f26123 SHA1 05a8506fb022418f0b8e1bd8985a498ce25a4ed8 SHA256 87cce0c03acb1d0fa3077e281b63a57a87f82c5978f854f12bcbe154bd50b8dd
+MISC ChangeLog 3370 RMD160 6877cbacabff80051337128eebd69eef611ded94 SHA1 8442a0071c9c39d4ecbb53a3477c395abf43cae2 SHA256 4b7a03b7c1c538aa2117c8d34b07e1ac5dc70fa8a59cb241a80e5621cba34f53
+MISC metadata.xml 278 RMD160 bae9594437848a5170c1e5b1d6d0e408e26bdccc SHA1 1906ae3c9ed1bb671da07b243df4908cf3174773 SHA256 cd5c812a3eb46f603a10f9aec07bb6e155e174825fb367faa2e7b5bc7a1b7403
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBCAAGBQJOEO9FAAoJEOf+E+/4L5LmAX0P/2AMJgXaB2HMgRLmh8ME3X5R
+XCuk7Bz8UWqocj/LJBGp09iwrP64j7hEQmuObwTlspjlirXv2F5UXj5YqHr9qbRN
+F4u8kqJ9mROGc35h/EnjTMQFlOLDvZSf6GYRS0SdddJoHLYseHuyYvsFY8B3TLd3
+U3Uz+jkpbRWDaD1Gp30+OdZu0BElYnNsiiPjUcgFgEvvKefSYIRuxXbgNqslDvBp
+KCXDwEB0ty4LdcoJrrDSEk879j828eem2jYt0nP4SUqt1uFRWS8FrZpFaSs85xo/
+pp3uLTyGFlmJW4ZNVqN8IZShIx7K6zKfIs2RFSa9kI7NS+tfZ5BbauwrF2tZIg3N
+OMiBob2tlz6ehT/Xil9yne7VxXmi2izHg64YrNxdYfAs2QaPJdvdOdjTZMjWYXTv
+7OuP4YfBr6ZKX3/LqxS5EtXjydZDZtWJ3n1GWvjBJo3XzTqiVVT5BsQNpCvdA9/9
+9R4B+A1bNUys/SqAZaH88d5T8BwOZts7wkwkEdLlQknzbue+DS+rK9FerBRkaO4C
+DJ1W/hQSAsvM7xmcTtnaHR7isUVbxZsVLXIXx8qOU/X9i/nDgpjse+iBChzvrWnv
+RwNfNQmlrFaNLKsLdrogh29Q3XMMnSk/pR2KCfghdOjGyx4VshJEP/TUMw1qRWHG
+TizE3DgfiSJ+xOUuCP3r
+=X33q
+-----END PGP SIGNATURE-----
diff --git a/sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch b/sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch
new file mode 100644
index 000000000..9b77a27f8
--- /dev/null
+++ b/sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch
@@ -0,0 +1,11 @@
+--- maui-3.2.6p21.orig/Makefile.in 2006-05-23 15:20:49.000000000 -0700
++++ maui-3.2.6p21/Makefile.in 2006-09-25 20:42:24.000000000 -0700
+@@ -18,7 +18,7 @@
+ # ============================
+ # Resource Manager section
+ # ============================
+-@ll_definitions@@sdr_definitions@@pbs_definitions@@sge_definitions@@lsf_definitions@@mx_definitions@@pcre_definitions@
++@pbs_definitions@
+
+ # ============================
+ # Master Makefile for @PACKAGE_NAME@-@PACKAGE_VERSION@
diff --git a/sys-cluster/maui/files/maui.initd b/sys-cluster/maui/files/maui.initd
new file mode 100644
index 000000000..03d654fe8
--- /dev/null
+++ b/sys-cluster/maui/files/maui.initd
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/files/maui.initd,v 1.2 2011/06/29 16:15:04 alexxy Exp $
+
+depend() {
+ need net
+ after pbs_server slurmctld
+ before pbs_mom slurmd
+ after logger
+}
+
+start() {
+ ebegin "Starting Maui scheduler"
+ start-stop-daemon --start --exec /usr/sbin/maui
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping Maui scheduler"
+ start-stop-daemon --stop -p /var/spool/maui/maui.pid
+ eend ${?}
+}
+# vim:ts=4
diff --git a/sys-cluster/maui/maui-3.3.1-r2.ebuild b/sys-cluster/maui/maui-3.3.1-r2.ebuild
new file mode 100644
index 000000000..493bb3a6c
--- /dev/null
+++ b/sys-cluster/maui/maui-3.3.1-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/maui-3.3.1-r1.ebuild,v 1.3 2011/06/30 08:28:12 xarthisius Exp $
+
+EAPI="4"
+
+inherit autotools eutils multilib
+
+DESCRIPTION="Maui Cluster Scheduler"
+HOMEPAGE="http://www.clusterresources.com/products/maui/"
+SRC_URI="http://www.adaptivecomputing.com/download/${PN}/${P}.tar.gz"
+
+LICENSE="maui"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="pbs slurm"
+
+REQUIRED_USE="^^ ( pbs slurm )"
+
+DEPEND="
+ pbs? ( sys-cluster/torque )
+ slurm? ( sys-cluster/slurm )"
+RDEPEND="${DEPEND}"
+
+RESTRICT="fetch mirror"
+
+src_prepare() {
+ epatch "${FILESDIR}"/3.2.6_p21-autoconf-2.60-compat.patch
+ sed -e "s:\$(INST_DIR)/lib:\$(INST_DIR)/$(get_libdir):" \
+ -i src/{moab,server,mcom}/Makefile || die
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ use pbs && myconf="--with-pbs="${EPREFIX}"/usr"
+ use slurm && myconf="--with-wiki"
+ econf \
+ --with-spooldir="${EPREFIX}"/var/spool/${PN} \
+ ${myconf}
+}
+
+src_install() {
+ emake BUILDROOT="${D}" INST_DIR="${ED}/usr" install || die
+ dodoc docs/README CHANGELOG || die
+ dohtml docs/mauidocs.html || die
+ newinitd "${FILESDIR}/${PN}.initd" ${PN} || die
+}
+
+pkg_nofetch() {
+ einfo "Please visit ${HOMEPAGE}, obtain the file"
+ einfo "${P}.tar.gz and put it in ${DISTDIR}"
+}
diff --git a/sys-cluster/maui/metadata.xml b/sys-cluster/maui/metadata.xml
new file mode 100644
index 000000000..3d65f12ca
--- /dev/null
+++ b/sys-cluster/maui/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cluster</herd>
+ <use>
+ <flag name='pbs'>Enable pbs integration</flag>
+ <flag name='slurm'>Enable slurm integration</flag>
+ </use>
+</pkgmetadata>