diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2011-07-03 23:19:35 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2011-07-03 23:19:35 +0000 |
commit | 5bdeee953ba9166d09364404a3935a6651de6b68 (patch) | |
tree | 6e4f374817d36ca890a7fc80bfd614d205a52a76 /sys-cluster/maui | |
parent | Hopefully getting the manifest signed again (diff) | |
download | historical-5bdeee953ba9166d09364404a3935a6651de6b68.tar.gz historical-5bdeee953ba9166d09364404a3935a6651de6b68.tar.bz2 historical-5bdeee953ba9166d09364404a3935a6651de6b68.zip |
[sys-cluster/maui] Add slurm || pbs support to maui
Package-Manager: portage-2.2.0_alpha43/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/maui')
-rw-r--r-- | sys-cluster/maui/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/maui/Manifest | 26 | ||||
-rw-r--r-- | sys-cluster/maui/files/maui.initd | 27 | ||||
-rw-r--r-- | sys-cluster/maui/maui-3.3.1-r2.ebuild (renamed from sys-cluster/maui/maui-3.3.1-r1.ebuild) | 17 | ||||
-rw-r--r-- | sys-cluster/maui/metadata.xml | 6 |
5 files changed, 44 insertions, 40 deletions
diff --git a/sys-cluster/maui/ChangeLog b/sys-cluster/maui/ChangeLog index aa592fe566ef..4c7d1ba2dd65 100644 --- a/sys-cluster/maui/ChangeLog +++ b/sys-cluster/maui/ChangeLog @@ -1,6 +1,12 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/ChangeLog,v 1.22 2011/07/03 23:19:35 alexxy Exp $ + +*maui-3.3.1-r2 (03 Jul 2011) + + 03 Jul 2011; Alexey Shvetsov <alexxy@gentoo.org> -maui-3.3.1-r1.ebuild, + +maui-3.3.1-r2.ebuild, files/maui.initd: + Add slurm || pbs support to maui 30 Jun 2011; Kacper Kowalik <xarthisius@gentoo.org> maui-3.3.1-r1.ebuild: maui->PN, fix order of vars diff --git a/sys-cluster/maui/Manifest b/sys-cluster/maui/Manifest index 8664ff99cbb1..264e870b03c6 100644 --- a/sys-cluster/maui/Manifest +++ b/sys-cluster/maui/Manifest @@ -6,7 +6,7 @@ AUX 3.2.6_p16-link-pbs-after-moab.patch 842 RMD160 d445a3c73c4e7edf218a76e6128bf AUX 3.2.6_p16-set-pbs-cflags-ldflags.patch 792 RMD160 baba9015f4b3a8102d078742f18dff1525dfcd33 SHA1 9a5592a8a2a92f9dfd45a05f1cb2a0c9e7b6e57e SHA256 71f989f594ca5537bc163763b224552a18b69a767e232cf51ff9ed08034137cb AUX 3.2.6_p21-autoconf-2.60-compat.patch 476 RMD160 85ccd551828eb0d969feb78cda69595135d22357 SHA1 e5d7ae9b7bf24d281ae3356829672cf6e447bce9 SHA256 52847580ae728a650c9812d017323d2ca9b2ee8b60fb4a81e8c6d68f213156c0 AUX maui-3.2.6_p21-pbs-nodefile.patch 554 RMD160 9a9f86f35f12d6ad72b3387f8ee70f4a17aaf2c9 SHA1 b908d56184616b30468fbecd8f2ef19b05eb4925 SHA256 3030b9fcdffdb67fca02e691206cfe0acbbcadd5427cbdf05bb903fec6a9f02e -AUX maui.initd 1077 RMD160 e915fb11e6056b89ab3b6544746e739cd7e3afb4 SHA1 134b25a591236679d63fb20ff7feb69ce3809661 SHA256 ccfe9ec04a60b0296a968cfbc5d3dee8f9b4097d318fd0356e645ce269647466 +AUX maui.initd 584 RMD160 ed101f6f6ceba7556cf58dbd6fd07fbc598f29a5 SHA1 9a12e3d567c6805287fa448cd390a5a2a6b9f048 SHA256 360c1a9b9cf43732bf2e71f7acfd94f3e5769941f22265a7d0a070aeae967879 DIST maui-3.2.6p16.tar.gz 900100 RMD160 a5b73924fa56013675b3e7563f2c5a4193a73bcb SHA1 d6acdc8f52056f415a2d566c5fc63d6d0b763f42 SHA256 6b86bd90f9e4339f22fc19e1396a0f4c4f453d0274d711373a993ae3d2bcfffb DIST maui-3.2.6p21.tar.gz 990182 RMD160 ed2b88575332e2f7ecfa537930c66720dd75dc16 SHA1 554c0a38ed089430843dcfaf4bb8e22c8f487a99 SHA256 929ffa51aa753f58bcc62de9876c23677895742f63511c2df4b0048b9353b27e DIST maui-3.3.1.tar.gz 901179 RMD160 9636cf3c215fd25cfd4ad3a5a782b36df592e2bb SHA1 1bb926c701adafb0bdda1c3c253c324b6809b81e SHA256 033a1ab40da69bc091ce5d01199ac599de0b6bbdfa404b9b1631ee964dc711a1 @@ -14,16 +14,24 @@ DIST maui-3.3.tar.gz 898673 RMD160 cef44d21b40d7635d435664f3fa5293b36d98d19 SHA1 EBUILD maui-3.2.6_p16.ebuild 1115 RMD160 353cfc2bdd5dc082dd4035467129c8423be40e22 SHA1 be7f93efd04dfd51ab00af70044c44dd7dea5129 SHA256 88714ec89a2102cdce55a34ba1de8763a23b7795a7ecc2f121b4547781729ec9 EBUILD maui-3.2.6_p21-r1.ebuild 1177 RMD160 959a17528590b7c401a9aa8bcf50786c54b0c6f3 SHA1 0ba91ab883468bfba5b25a9c1eee8c51c0ac26ce SHA256 293263ba0181cfd0e6585ff158209b6008234b4fc08313c736d4b276b8957224 EBUILD maui-3.2.6_p21.ebuild 1044 RMD160 5a49f5ab1483caeb34ba87ca733ff8a30ceee895 SHA1 2a361d30dee84391897e91953c2976e5cd557b49 SHA256 4aefd6e7889d28777f4fae27728fbd0bd6e80fdf2f4210eec6e6aa99086dbe80 -EBUILD maui-3.3.1-r1.ebuild 1194 RMD160 6ae0fce01c61b03c21cab9648189a9f7ac9e88fd SHA1 9abbff9188224a850b96f826c9ad6f4e9bff1a94 SHA256 e1df62351fa14d72af25dad7a23b2f441078a8f7eb0eed7761d3050003634158 +EBUILD maui-3.3.1-r2.ebuild 1353 RMD160 e46d438da749e4c8702801304892fa9252d882f3 SHA1 04da309015425b5508c8afc9ca75acc7428dec2e SHA256 eebf8d6ae48ec22e3efdfecd8ce9f2ccc758331d5c16b05352e3db0b83c65342 EBUILD maui-3.3.ebuild 1235 RMD160 699b0248a7a1215d088e16d6c61508efb81b49e2 SHA1 a0f2cfbc6846ebec43a7a800ef57c3f2f87f9c3d SHA256 256b31b6ce1339a3d967562fb30253256ddd88d632e016ca2cc76f26ba5f76af -MISC ChangeLog 3370 RMD160 6877cbacabff80051337128eebd69eef611ded94 SHA1 8442a0071c9c39d4ecbb53a3477c395abf43cae2 SHA256 4b7a03b7c1c538aa2117c8d34b07e1ac5dc70fa8a59cb241a80e5621cba34f53 -MISC metadata.xml 160 RMD160 1233ca29861ca7c47f0b09d1d7a29def80f7df02 SHA1 1bfdc9d282a84c95e2bdcda19ace5b94e2e67349 SHA256 56717bdb03ad5d833acecfbc612a67f569256b328bf610fbc6cc33714186dae9 +MISC ChangeLog 3549 RMD160 1ef5468e4766aa5a0c9cc052cac262ebfe3ab11a SHA1 e949be538c5d7be466d88962dfe493a9ef22dd2f SHA256 066c07600a9c41013affda4b67a4fe81a423ded9ae4220b548a6d7f8663f58c6 +MISC metadata.xml 278 RMD160 bae9594437848a5170c1e5b1d6d0e408e26bdccc SHA1 1906ae3c9ed1bb671da07b243df4908cf3174773 SHA256 cd5c812a3eb46f603a10f9aec07bb6e155e174825fb367faa2e7b5bc7a1b7403 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iJwEAQEIAAYFAk4MM6gACgkQIiMqcbOVdxTaEwP/UTfORxTKJMMs1ZZss3pkxwBx -+87h8Jgsn9hWLgQVpBY1ADDRHVFH4FT3lzu5vVOK2xYXSFl3tZBpEq1bD5g62Uvi -5d32jR1+MaC404Zjdevx/DSFfpwokYlf7dyzM4DapwJxCT8tuaz2+jde0/qidcoF -NQJfTy2WBhzaWGNhIdQ= -=wR4w +iQIcBAEBCAAGBQJOEPj8AAoJEOf+E+/4L5LmND8QAISCMr53kDY1NzhrXPP/eraE +9fMcPXvVczm3os6v1J1EaA+cfQ7IW3YtsgFcje0E8gj8N10oWCiSrlfQ6znQ6sxR +EDbVyeSdGeSzRetWdAl/LLGPdEEY+V3+mSW4bV3IoaRtGKI/YIxw9aVbxWQKzCxA +NS4ApAlgIGp4L4ySl4hzpNAh8zb5/ncEqcG6HC0Ct9Xj5jlBcXwHex+Didci7sNS +Z53o6TsXQK80VqHkLvNnCOhwj3F0qnA2MRrkn00+9OKkAlgWlhBkmrckW8aW1lzy +SadFKHklJvsM//sCd+ASHg8tStjAn3RVjRCiR4wjOfYad9+jLTkNY0eqO4PV0N9K +v6zx03q5fput/EtmYWBtR3725GeJC02MEYnJNTuascWUucBjLZ5Laa5QxE45tzU6 +vo24Qk5Pc0Y8wE7ol/45DKX+AnG58NUIRCV04GQqVeGOYaAxWAUmH0OsXtp1Ce2x +Ocf2repA/X4fkUNrJWWe4D08aKH1AIemJyyVNTjbZIo4lRHVB3LdW3cn9p1zIclt +K5hOw7fTZswOBkUcuD5VPG8nDnZgKRCBRBgqEXKD11Ng0vTWGg4SGZxYBJvXuNSe +EEk4suQoksCNOlb3Dh2C3bZE+qAHQNrjFgmJ6EmaqNRXg2iF7UXqobo9VgKySvRh +5nZ8wpWc1GOjjdl35yjQ +=yEuo -----END PGP SIGNATURE----- diff --git a/sys-cluster/maui/files/maui.initd b/sys-cluster/maui/files/maui.initd index 0bfce8a267ec..b8d747e1c4b8 100644 --- a/sys-cluster/maui/files/maui.initd +++ b/sys-cluster/maui/files/maui.initd @@ -1,38 +1,17 @@ #!/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 $ - -. /etc/conf.d/torque -PBS_SERVER_HOME="$(. /etc/env.d/25torque; echo ${PBS_SERVER_HOME})" +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/files/maui.initd,v 1.3 2011/07/03 23:19:35 alexxy Exp $ depend() { need net - after pbs_server - before pbs_mom + after pbs_server slurmctld + before pbs_mom slurmd after logger } -checkconfig() { - for i in "server_name"; do - if [ ! -e ${PBS_SERVER_HOME}/${i} ]; then - eerror "Missing config file ${PBS_SERVER_HOME}/${i}" - return 1 - fi - done - - if [ -z "$(grep 'queue_type' ${PBS_SERVER_HOME}/server_priv/queues/*)" ]; then - eerror "No queues have been defined yet." - return 1 - fi -} - start() { - checkconfig || return 1 - ebegin "Starting Maui scheduler" - local extra_args="" - start-stop-daemon --start --exec /usr/sbin/maui eend ${?} } diff --git a/sys-cluster/maui/maui-3.3.1-r1.ebuild b/sys-cluster/maui/maui-3.3.1-r2.ebuild index d04ad58fb639..1ef2aeb762fc 100644 --- a/sys-cluster/maui/maui-3.3.1-r1.ebuild +++ b/sys-cluster/maui/maui-3.3.1-r2.ebuild @@ -1,8 +1,8 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/maui-3.3.1-r2.ebuild,v 1.1 2011/07/03 23:19:35 alexxy Exp $ -EAPI="3" +EAPI="4" inherit autotools eutils multilib @@ -13,9 +13,13 @@ SRC_URI="http://www.adaptivecomputing.com/download/${PN}/${P}.tar.gz" LICENSE="maui" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux" -IUSE="" +IUSE="pbs slurm" -DEPEND="sys-cluster/torque" +REQUIRED_USE="^^ ( pbs slurm )" + +DEPEND=" + pbs? ( sys-cluster/torque ) + slurm? ( sys-cluster/slurm )" RDEPEND="${DEPEND}" RESTRICT="fetch mirror" @@ -28,9 +32,12 @@ src_prepare() { } src_configure() { + local myconf + use pbs && myconf="--with-pbs="${EPREFIX}"/usr" + use slurm && myconf="--with-wiki" econf \ --with-spooldir="${EPREFIX}"/var/spool/${PN} \ - --with-pbs="${EPREFIX}"/usr + ${myconf} } src_install() { diff --git a/sys-cluster/maui/metadata.xml b/sys-cluster/maui/metadata.xml index 348e6c4de815..3d65f12cae0c 100644 --- a/sys-cluster/maui/metadata.xml +++ b/sys-cluster/maui/metadata.xml @@ -1,5 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>cluster</herd> + <herd>cluster</herd> + <use> + <flag name='pbs'>Enable pbs integration</flag> + <flag name='slurm'>Enable slurm integration</flag> + </use> </pkgmetadata> |