summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2022-07-31 13:20:51 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2022-07-31 13:20:51 +0300
commit0c9723f1b4208c0f70670a1cf80ec5fda7d33fb9 (patch)
tree10f7ca8167aecd9ca182129356c18b50e440064d
parentmedia-gfx/dmtx-utils: added to the tree (diff)
downloadbircoph-0c9723f1b4208c0f70670a1cf80ec5fda7d33fb9.tar.gz
bircoph-0c9723f1b4208c0f70670a1cf80ec5fda7d33fb9.tar.bz2
bircoph-0c9723f1b4208c0f70670a1cf80ec5fda7d33fb9.zip
sys-cluster/maui: is completely dead, removed
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
-rw-r--r--sys-cluster/maui/Manifest1
-rw-r--r--sys-cluster/maui/files/maui-3.3.1-showstats.patch26
-rw-r--r--sys-cluster/maui/files/maui.initd23
-rw-r--r--sys-cluster/maui/maui-3.3.1-r2.ebuild59
-rw-r--r--sys-cluster/maui/metadata.xml12
5 files changed, 0 insertions, 121 deletions
diff --git a/sys-cluster/maui/Manifest b/sys-cluster/maui/Manifest
deleted file mode 100644
index 7599ce0..0000000
--- a/sys-cluster/maui/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST maui-3.3.1.tar.gz 901179 SHA256 033a1ab40da69bc091ce5d01199ac599de0b6bbdfa404b9b1631ee964dc711a1 SHA512 e22a0f08b40d810792175b5bc15a53831e84eeab43ddc79ebc3e10a2d5c0b77a4634ff67975f9dae06fbb84f84cb3a95e9cbfcb8086734dbd41caee3359675b0 WHIRLPOOL 0d3bcb6284b852881b2ac4faf83abf7d8668db53e94938f82ba73e7f8f4ca9e5e3fbb698b984fd1d053ffa1514431bf18d958915e783045a94578767cd675bf6
diff --git a/sys-cluster/maui/files/maui-3.3.1-showstats.patch b/sys-cluster/maui/files/maui-3.3.1-showstats.patch
deleted file mode 100644
index 36dc962..0000000
--- a/sys-cluster/maui/files/maui-3.3.1-showstats.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- maui-3.3.1/src/moab/MSched.c.orig 2011-03-04 19:28:25.000000000 +0300
-+++ maui-3.3.1/src/moab/MSched.c 2012-05-12 06:09:25.504601149 +0400
-@@ -4089,9 +4089,6 @@
-
- /* build stat buffer */
-
-- sprintf(Buf,"%ld\n",
-- S->Time);
--
- /* set up scheduler run time */
-
- RunTime = MStat.SchedRunTime;
-@@ -4099,10 +4096,10 @@
- GP = &MPar[0];
- T = &GP->S;
-
-- /* STM ITM RTM IJ EJ AJ UN UP UM IN IP IM CT SJ TPA TPB SPH TMA TMD QP AQP NJA JAC PSX IT RPI WEF WI MXF ABP MBP AQT MQT PSR PSD PSU MSA MSD JE */
-+ /* CTM STM ITM RTM IJ EJ AJ UN UP UM IN IP IM CT SJ TPA TPB SPH TMA TMD QP AQP NJA JAC PSX IT RPI WEF WI MXF ABP MBP AQT MQT PSR PSD PSU MSA MSD JE */
-
-- sprintf(Buf,"%s%ld %ld %ld %d %d %d %d %d %d %d %d %d %d %d %lf %lf %lf %lf %lf %d %lu %lf %lf %lf %d %ld %lf %d %lf %lf %d %lf %lu %lf %lf %lf %lf %lf %d %d %lf\n",
-- Buf,
-+ sprintf(Buf,"%ld\n%ld %ld %ld %d %d %d %d %d %d %d %d %d %d %d %lf %lf %lf %lf %lf %d %lu %lf %lf %lf %d %ld %lf %d %lf %lf %d %lf %lu %lf %lf %lf %lf %lf %d %d %lf\n",
-+ S->Time,
- S->StartTime,
- MStat.InitTime,
- RunTime,
diff --git a/sys-cluster/maui/files/maui.initd b/sys-cluster/maui/files/maui.initd
deleted file mode 100644
index b84f631..0000000
--- a/sys-cluster/maui/files/maui.initd
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
deleted file mode 100644
index 896c1ac..0000000
--- a/sys-cluster/maui/maui-3.3.1-r2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-DESCRIPTION="Maui Cluster Scheduler"
-HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/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"
-
-PATCHES=( "${FILESDIR}/${P}-showstats.patch" )
-
-pkg_setup() {
- if use slurm; then
- if [ -z ${MAUI_KEY} ]; then
- eerror "You should set MAUI_KEY to any integer value in make.conf"
- return 1
- fi
- fi
-}
-
-src_prepare() {
- sed -e "s:\$(INST_DIR)/lib:\$(INST_DIR)/$(get_libdir):" \
- -i src/{moab,server,mcom}/Makefile || die
- default
-}
-
-src_configure() {
- local myconf
- use pbs && myconf="--with-pbs=${EPREFIX}/usr"
- use slurm && myconf+=" --with-wiki --with-key=${MAUI_KEY}"
- econf \
- --with-spooldir="${EPREFIX}"/var/spool/${PN} \
- ${myconf}
-}
-
-src_install() {
- emake BUILDROOT="${D}" INST_DIR="${ED}/usr" install
- dodoc docs/README CHANGELOG docs/mauidocs.html
- newinitd "${FILESDIR}/${PN}.initd" ${PN}
-}
-
-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
deleted file mode 100644
index 9baf5ea..0000000
--- a/sys-cluster/maui/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>cluster@gentoo.org</email>
- <name>Gentoo Cluster Project</name>
- </maintainer>
- <use>
- <flag name="pbs">Enable pbs integration</flag>
- <flag name="slurm">Enable slurm integration</flag>
- </use>
-</pkgmetadata>