summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2014-01-19 20:36:38 +0000
committerJustin Bronder <jsbronder@gentoo.org>2014-01-19 20:36:38 +0000
commite463540ee44b1ec8582acead49c27467b9e44a6a (patch)
treecc6d96ae3beb575d88d82ac579ef14fd9f769374 /sys-cluster
parentAdd arm64 love. (diff)
downloadhistorical-e463540ee44b1ec8582acead49c27467b9e44a6a.tar.gz
historical-e463540ee44b1ec8582acead49c27467b9e44a6a.tar.bz2
historical-e463540ee44b1ec8582acead49c27467b9e44a6a.zip
cleanup
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x4D7043C9
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/torque/ChangeLog9
-rw-r--r--sys-cluster/torque/Manifest25
-rw-r--r--sys-cluster/torque/files/0001-fix-parallel-doc-install.patch35
-rw-r--r--sys-cluster/torque/files/0002-fix-implicit-declaration-warnings.patch53
-rw-r--r--sys-cluster/torque/files/0003-disable-automagic-doc-building.patch51
-rw-r--r--sys-cluster/torque/files/disable-automagic-doc-building-2.4.14.patch55
-rw-r--r--sys-cluster/torque/torque-2.4.16-r1.ebuild257
-rw-r--r--sys-cluster/torque/torque-2.4.16.ebuild257
8 files changed, 12 insertions, 730 deletions
diff --git a/sys-cluster/torque/ChangeLog b/sys-cluster/torque/ChangeLog
index d2ebed338784..0f152dc4d0d5 100644
--- a/sys-cluster/torque/ChangeLog
+++ b/sys-cluster/torque/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-cluster/torque
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/ChangeLog,v 1.165 2014/01/19 13:46:43 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/ChangeLog,v 1.166 2014/01/19 20:36:30 jsbronder Exp $
+
+ 19 Jan 2014; Justin Bronder <jsbronder@gentoo.org> -torque-2.4.16.ebuild,
+ -torque-2.4.16-r1.ebuild, -files/0001-fix-parallel-doc-install.patch,
+ -files/0002-fix-implicit-declaration-warnings.patch,
+ -files/0003-disable-automagic-doc-building.patch,
+ -files/disable-automagic-doc-building-2.4.14.patch:
+ cleanup
19 Jan 2014; Agostino Sarubbo <ago@gentoo.org> torque-2.5.12-r1.ebuild,
torque-4.1.5.1-r1.ebuild:
diff --git a/sys-cluster/torque/Manifest b/sys-cluster/torque/Manifest
index e2ab20f27af4..5c55184c61db 100644
--- a/sys-cluster/torque/Manifest
+++ b/sys-cluster/torque/Manifest
@@ -1,12 +1,8 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX 0001-fix-parallel-doc-install.patch 1510 SHA256 ad576c6449e078841f8f3dad1515d74264b66d43dfe5232007aca4c467120b22 SHA512 bdb4599d54b3f9768d5fc2a0f12879d6828e434b7fd1121e74313b65ae4eb920337b3a897bae08cebf46836a69eb7c9b1da109a5918a00e442790302f34fd5df WHIRLPOOL 39e738de637f802ab2e968611e2b19d76c9cba4995374c17c6e5e49b93170548f844e55d0128409648c11edf070d4ce2779f8904e28d44ae96531f4d255d1ac3
-AUX 0002-fix-implicit-declaration-warnings.patch 1325 SHA256 e3ca220f3a30ad68eaabc2152bf5e9e60fc09347d9f61edccb755d7837ef2764 SHA512 2edb5ce8a3cc5dd33c68e4b016a18a63ee576dfbe2e99aee0b0254c673f6bf5af9a6be40bd2a9d3ce8f7bc53b16e8b078d521929690ead3b5b4f6dfc8edc433c WHIRLPOOL 8a4f23c42edbab177915d3b02963120d4ae646c2cf2a13f31556762135efbf14263aa2d3b8268afeff668373344bdf2d55b6a82a72d4477b17f5528dd260ef76
-AUX 0003-disable-automagic-doc-building.patch 1424 SHA256 e76ffde27da8d1ef456f7b728be83a148f8d69a217dd16cedb0a33d39c1d183b SHA512 a9c34435a9a25e3232d68d2758bcd33aaff0b63ffe2f5f8fab9c2a49b228ffe2e0cc699bac73c27e5343168340e157517e8462e40adbe1c3996b3d57f1c0b3da WHIRLPOOL f191f8e1100be571713590bff98547837b165ec3988591dfe9dc6a2e378414650100412a077320a222dada3b409fd5b36270bf33d1d9054a0afcc4f731dc7c5d
AUX CVE-2013-4319-2.x-root-submit-fix.patch 1253 SHA256 a6ebd0c0966148ecb34fb885911e163f93749be72fc5a2e58f11f3c7a9523f45 SHA512 78780ad87e997f22b6abbc3cb51c313616e90320d997705c534c35fbc7f5738b7a2e0ace33051e6e15d4f6e0ab6f97ab9f1ef60dcee5fc4544db13b0a72ea5c4 WHIRLPOOL 64eaf701099da902282b3e1debb6bbfa323fc266ad067047c43dcb353463bf2df7475066f9e263cc9a506b2905aba19c290d50a419ee56a0daa65f237693ede7
AUX CVE-2013-4319-4.x-root-submit-fix.patch 1412 SHA256 ef88bbbfbda9f7c0d8a98fbd4a0b02e9c662678ba02eac12fbc50521d4d01581 SHA512 89f0b5fedfef5b0db1cdb3d190c7c2fa9c07d175e9b3020ec685e9553d710882ece1155249edeea25902c134ce52bf171fd1e7b2256716351e0e80d3fca5618c WHIRLPOOL 7ee954e3bae8336489bc4e2aed43256d2ecff29e332076255013c78415b4cc5b159b15ab1bc5575493df676393ecd0fd89a1dff4493374f689d3258ad2b7ae57
-AUX disable-automagic-doc-building-2.4.14.patch 1610 SHA256 bc795f22f4c152e27954223f790d341dab06a78aa390c382511b9013d94e965c SHA512 3171d695a983af08e5e3f5590129a56d75daa5d20b7c1fe2a3f0580f27482147dfcfa7cdae9f9597c668fe0c4417223bc1077aae2ee17950c1915d5bf3dec9fb WHIRLPOOL 84ff179d9b82e03a1e6ac4360f3c9797d559341e52e8fb1954653f40c8267a9e994abdb78ad8bc17113e1bacbd53077e343710f3210911c4fc854efaa4db6f54
AUX pbs_mom-init.d 1083 SHA256 8be6003cc86cc9deff259414615b5cb4099f10c13930f91dd1ecee5572b98ae2 SHA512 8770087494eb3dacd4c19f5835ef9534e9924dcb8d6e4d97ac3b70dcec7c8c2585aaa4491a4166d31f6a7b74fa47db4115cb721ea6356f0863929b5a3e865bf4 WHIRLPOOL 44607077202cb520f1b4af1114d17816385c0008fcf9d38d416ac867ee5e1145957d0292e1f970a71f7c6b4dd1a3d3e575da743b42970652dee5e204f79127d7
AUX pbs_mom-init.d-munge 1148 SHA256 c8c5dc40960512f8a0410f50114d3d71f92c17811342acd6a01cbf0475b16cbe SHA512 ace375eed3dde368683e184f0f190023bafffdcdac39bebec39866f18be9552e2b02ea0b688ac8f75c676b3d30e61e7e0e03b961a8e17b71ca646afd2d57347b WHIRLPOOL effbe164dfbdfab4cd44ccae74a727a8dc3bfa335c8e991f84a9c1b4ee5ae5ee142b000dc724f4ff8b1e1dca0f6f8db2a32d23090727ad4f85d105bbf2c52b9f
AUX pbs_sched-init.d 1164 SHA256 07924a441544c0b72283e546fa5b17bb422cfeb9421fcafafedaa997268696dc SHA512 2bf9371bde2cd43c452b765498e8f5bd791c4ba93c8142a89a594ae14447c95eaeec0e87bca8877817c2e2d162cb70f8a64d9add32c175f9fb156b65964b9aeb WHIRLPOOL 16e13e0d618fef0a2d69f4b009ff2cccdc918256fe3436a3d86b83ed9dad26a9a01c6ccd9eaf285647243de8b79179d8470afdbc7b492159bfae3b608fc2db0a
@@ -18,29 +14,16 @@ AUX torque-conf.d 649 SHA256 4139da44a55dbcb4a8227fd0aedede8e091971fd63c0e086447
AUX torque-conf.d-munge 784 SHA256 7b8e47737211fd0d05dcc7938021ea5dbb1575010c53075440ef0b6b5d43d8b1 SHA512 a78634a6f2bdf3c24e8c99d3cd7a9634daa32d69244a9ddfcc26199f4d04e901abbfa79ad057f5a4e4c492c9e21bc0c65edd8465ac6935fb7c67c8c639e75d68 WHIRLPOOL 90ed407a5a98fb7b4509610c3c23dd1d38566886e4b02fa4db4a9708f8c45b500369e782c25b7b9f02fc685bdcb965049e681c829bad58206729690e6eeadbb9
AUX torque-env.d 240 SHA256 d04eab3b1314645ee2014c718c4cf79ca74950dee1357d814b85c9faa5ef6002 SHA512 275ce5ccf9f138bcee504a9996c9d838cd34714d352d4b7ac2d631d0fca662bf38a2ef7e8745605d9b3847049015e0791c937340cfdacbf44800482ce73bb042 WHIRLPOOL b7cdc4d6752d00b315fb369f6382e1a6684c1cb8a3486545bd406270ed09811936c2735755fc01175fceed0422139e5d7d8dcd67868e2e40c8ebbb406c2eec57
AUX trqauthd-init.d 594 SHA256 3f3d603e78a21acf88e96c7affc9bbf56ca8568ce17165d3a0e936693724f73e SHA512 6af5f698438ac7f4cee62928685187d41a64366c528fbb03f6340bdee53fd361d596c5e2e47ecb1fbc797a1139e58a20bfe8d759fd1b6d2ecac3730249309b16 WHIRLPOOL d78de5decdf9958231469ef04f5ce266ab35c76a9f28f2ccb98b0f13eafcfd02db1bd173b275606005b3aa02f72dd972dbadc8a66c0ef19fa930e1400c354a5a
-DIST torque-2.4.16.tar.gz 5705768 SHA256 48b1344e13baf974053dbd2faea3e2d24bb6ea8d785805d78623ae06747c0a0d SHA512 481d76b08f4d22704f858d490fd7cd1f8be2d41e2b5969df299c50f0acdf6a1763be2d0debb8a6bd77bd8b9747b9c3c666d701b2b75d8aaf150e10c1081c3be5 WHIRLPOOL 6e89a4e9ac3fd7fdf8b3d38568302a02bfb1aea0203786bade4bb03aaa2fda7f4bbfb2664be5d203d6984f5676980e77035140f41bf00065bd27e9acd38f227c
DIST torque-2.5.12.tar.gz 5862988 SHA256 436b4d84464e3be0538a4dc0a657b5ae113da6b429d449261e95e13a2a96316b SHA512 12615e412bf90b4248f76e28627ece21116969e4f009629598482ec4432a5e8b6b10ce695e3abc1e3ac43fa2325b5e04b176316ef3c21e4795cb610101f9afae WHIRLPOOL 57b636b34fd72967304babe11340852c0d06519d60705ac088483831b688517104a7ef064dd7b0375cfc35f093858754f65a9f4fd026a65ead85d0544323d682
DIST torque-4.1.5.1.tar.gz 6214726 SHA256 10fa10625256d26e9371abbc98ca8ecf307ccc2ef117e32a0bf806de105037dd SHA512 630b4a9c7d9d6b14bc807dfba868e78894856d24e7b10703c76b519edf78876e33ef158edd6dd8abeb3ffb6bfe8036e74eff23501d476ef9ebe817b46d2e3c5c WHIRLPOOL 6709a3eec73f39c27d4dd02ab62d74448a93a442bdf585d5f244142de8f54b42fdd841c773226589de4c3e0a9c881bdd51d4c04bf57235136086cab18dd6fa42
-EBUILD torque-2.4.16-r1.ebuild 7982 SHA256 3a27f21485579c62f4b8bd9bc2792619a7c6a6225bae6bccdf2037e298f7e5b4 SHA512 7e31c39614ae6fa7a327998ea2761d49f6bef9b8cf435c7cfc2d1f39cd883be2e9117d41675582afbb49a12843576977114d276f1b0aa06b61539d1b248486a4 WHIRLPOOL e127172b6743f661043f0928ee993511e2fd0ae91461e3d731f21cfeae5e356dfdd7524442c016088e29e6856e7963bb21fc1554263c91137ed814b2e39a37b3
-EBUILD torque-2.4.16.ebuild 7972 SHA256 3f929819df583b8b882caf00c29195301acd3bec481848bbb06f229e6e43011b SHA512 0bfc6fa70c6868a1b89f6a298ca7e9c8c5eb0c8d2ab5467879ea51d7e4d5f7f1e01da6fb25f1a139d7093fba9d58cdd5c973e340c21c17f425d34aa7643c422a WHIRLPOOL bbcb6e9106a32814e5f340c00193a192f4c45b36538b985ad0d72d2ad25c5a0726ceeaadcee65f97fc64cabe7a26087859b7429e4ac27e70c8b92a39455b2362
EBUILD torque-2.5.12-r1.ebuild 7637 SHA256 06709db3e6a4de2c545467584813f05385b76e64350f77e9c70b3559aae068fb SHA512 ec992ccb9430bf74e85025b3d23154f2a91c2281e9b424818002d75873152940424543c7b06e70b3c2d3d58a15b4e241022b42128a189fe587833918eed0eac7 WHIRLPOOL ee89d2da1fdbd11bcc8e3012b0c4acdc895271e483e9d70ca2e7d7db65e3532f2d251b70884757861842c0708cdfdf8ceef2cd15d61f786a361ca1dc7084e8d9
EBUILD torque-4.1.5.1-r1.ebuild 7128 SHA256 81805f6dcf0d469c9e496f223a7690757c55bd9d7225b7eac2233566383d9cb8 SHA512 03e920f78833f41d5a2b83484df73ff8bd29ec83e85f63dbbd07922d5609e921e47a7d91da6689caad72afd537dc16dab7b7b6db4a9c7ef1c747905e7424cb92 WHIRLPOOL 8bb64bf0223ec2e710d04159e6943e400bc44158f76b0b90688ac1d9a13a89c2da44caaeb8ba4f0da50653d86bb6922f31d0cc7ed54344c4f7f5ba01d9feddc4
-MISC ChangeLog 27952 SHA256 c0214d177ef620ccfd4f1a6842aeffa5f3849bc707b9b5ab20ba93d2e9a969f3 SHA512 f60e37f7363aa8155eef38f5c77042f7463edb12bc9247fb597330476528d42099c917ad9c783d8d0645bdfa9719bb227dfd7b156c7d45ff18c0873de7e9d90e WHIRLPOOL f9b0e5657ec4a1a941f59d35c1901de6227c62dcfed41520c782d5880763691909ff0acfeb9bd3362217d3ec8682fe736ad68da4e4be24447772fda2fa2812a2
+MISC ChangeLog 28278 SHA256 c74cd0c2a4e5f4f229692af2d7bc80df29239d883d09c908190680d9e30c1d0b SHA512 3de2e1c109d6368b32b2aef98f7a4e64e9d9d80ffc82d25548f4eb6ec81ab7ed4b39d5a524301a0e7868f84bbfeec324e587889f85c091a1b82ab57935dff20b WHIRLPOOL 17bf65b9036169d74534f2dc04a1162b09e39d7c4014d0c3cdbea791ab2b6d8fdf71d772fa1bf83be2df7e0495c5ce1fa0cc385f4dc5c0c8a75c4e53b84eb19e
MISC metadata.xml 628 SHA256 10fab1886476e44fabbcda6e7dbbc8452d07cb0de0cefcf6e594312dfe89f7af SHA512 d1c78c4247f209eda60a61c9c611c4a4b87d52f85b112a78b96a4dee6f3cd660aef49547323074d69ffce8c1b916c3914f00282781e2f68f76658e6f9ac7ff9b WHIRLPOOL 243373e602f92a256118e6bee6c3071d5894caf3d53a663abee6929a310cf306b15a6a7bd2a0e76882cfe36cd4e8b6c06bb9e12f49f678d085883d61d4a84cf9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJS29dFAAoJELp701BxlEWfCDgP/2C/VD6r7mn3JVysf8w/hNZk
-ZOZOpIdgVRrdhcsCYTl0TNw1wZ2PbtSLtVPpq+XrjNE717hZCLX25lbpKoLsf752
-136BPZo5HFmV4ltXMEU+SjSpTF9NVRPjXiYjX+abrZARM76X0jaFazGJ1uT3250l
-0lR8YrEjBSxGEG4XXLHtXPjQhV412paRBhjrYcdebBz38oAMWuLlWEhoBiY6ljIo
-KeBkdJwjhvsa19xPCXphtgCoCzv6GFRxWnoWhHlFz6ezIylqlQUgwNWio3vVzqd7
-tw83xzziaB4G4xWPRi16ldxY7rziFsoFCucgql1IOmiQUiGFz07a1ZMkpXO1lV+u
-masZSYQ3wmCI1y7vC1+6GECFdxrtZr5dhEIqM+eEYUiZtsSxRkJ1aPyolWlrAN0o
-pQ7zqfYYG1oqe3LINJCzdYPl3yFbrunQW0cx56nmKR1EvsBBi+pG8vJfWBW4ioMd
-Cdf/rOeXOLqz8u0RP5Uf8bkiIG9pay3X2chj3metoIGXqoZQFvlLPnUHWJblfFwu
-zcuCqEb6HCwVtwYSAhee3cwJyAdOX4UlQPD8ZQkS6SLHLV6Ur5NoTTVUMaYiOtfp
-ouPq0JrSJD/3PABZWus2l1usaQRPiVU0Qkxm9tLUNBdN8Y2TVGgkL0KTrwxU/wEK
-j52it2V8yUR4QK060awP
-=6Ga0
+iEYEAREIAAYFAlLcN1IACgkQ4MrvBE1wQ8moRQCdGERYbcGJ5oKaTvQ5yZa+itM5
+RpQAnRvye0DG7itanDaTFXkFjaYp1DA9
+=jbGk
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/torque/files/0001-fix-parallel-doc-install.patch b/sys-cluster/torque/files/0001-fix-parallel-doc-install.patch
deleted file mode 100644
index 8505787062ab..000000000000
--- a/sys-cluster/torque/files/0001-fix-parallel-doc-install.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From d29ba6daadde49d4e2325b415f2fe614bd2cbad1 Mon Sep 17 00:00:00 2001
-From: Kacper Kowalik <xarthisius@gentoo.org>
-Date: Tue, 16 Nov 2010 16:23:14 -0500
-Subject: [PATCH 1/4] fix parallel doc install
-
-man7/pbs_resources_irix5.7 was defined twice.
-
-Thanks to Kacper Kowalik <xarthisius@gentoo.org>
----
- doc/Makefile.am | 2 --
- 1 files changed, 0 insertions(+), 2 deletions(-)
-
-diff --git a/doc/Makefile.am b/doc/Makefile.am
-index 797b4d6..d4b474c 100644
---- a/doc/Makefile.am
-+++ b/doc/Makefile.am
-@@ -33,7 +33,6 @@ EXTRA_DIST = man1/qalter.1.in man1/qdel.1.in man1/qhold.1.in man1/qmove.1.in \
- man7/pbs_resources_fujitsu.7.in \
- man7/pbs_resources_hpux10.7.in man7/pbs_resources_irix5.7.in \
- man7/pbs_resources_hpux11.7.in \
-- man7/pbs_resources_irix5.7.in \
- man7/pbs_resources_irix6.7.in man7/pbs_resources_irix6array.7.in \
- man7/pbs_resources_linux.7.in man7/pbs_resources_netbsd.7.in \
- man7/pbs_resources_solaris5.7.in man7/pbs_resources_solaris7.7.in \
-@@ -79,7 +78,6 @@ nodist_man7_MANS = man7/pbs_job_attributes.7 man7/pbs_queue_attributes.7 \
- man7/pbs_resources_freebsd.7 man7/pbs_resources_fujitsu.7 \
- man7/pbs_resources_hpux10.7 man7/pbs_resources_irix5.7 \
- man7/pbs_resources_hpux11.7 \
-- man7/pbs_resources_irix5.7 \
- man7/pbs_resources_irix6.7 man7/pbs_resources_irix6array.7 \
- man7/pbs_resources_linux.7 man7/pbs_resources_netbsd.7 \
- man7/pbs_resources_solaris5.7 man7/pbs_resources_solaris7.7 \
---
-1.7.2.2
-
diff --git a/sys-cluster/torque/files/0002-fix-implicit-declaration-warnings.patch b/sys-cluster/torque/files/0002-fix-implicit-declaration-warnings.patch
deleted file mode 100644
index 49bf1f9a8602..000000000000
--- a/sys-cluster/torque/files/0002-fix-implicit-declaration-warnings.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 7a60464264bafb27c4bbaab39744b267d671f41b Mon Sep 17 00:00:00 2001
-From: Justin Bronder <jsbronder@gmail.com>
-Date: Tue, 16 Nov 2010 16:31:25 -0500
-Subject: [PATCH 2/3] fix implicit declaration warnings
-
-vasprintf and asprintf require _GNU_SOURCE.
-
-Thanks to Kacper Kowalik <xarthisius@gentoo.org>
----
- src/drmaa/src/error.c | 1 +
- src/drmaa/src/submit.c | 1 +
- src/drmaa/src/wait.c | 1 +
- 3 files changed, 3 insertions(+), 0 deletions(-)
-
-diff --git a/src/drmaa/src/error.c b/src/drmaa/src/error.c
-index b848041..4a65b47 100644
---- a/src/drmaa/src/error.c
-+++ b/src/drmaa/src/error.c
-@@ -23,6 +23,7 @@
- # include <pbs_config.h>
- #endif
-
-+#define _GNU_SOURCE // asprintf
- #include <unistd.h>
-
- #include <stdio.h>
-diff --git a/src/drmaa/src/submit.c b/src/drmaa/src/submit.c
-index e9b404c..9f06620 100644
---- a/src/drmaa/src/submit.c
-+++ b/src/drmaa/src/submit.c
-@@ -23,6 +23,7 @@
- # include <pbs_config.h>
- #endif
-
-+#define _GNU_SOURCE
- #include <sys/stat.h>
- #include <unistd.h>
- #include <limits.h>
-diff --git a/src/drmaa/src/wait.c b/src/drmaa/src/wait.c
-index ecb2ed4..2ef7600 100644
---- a/src/drmaa/src/wait.c
-+++ b/src/drmaa/src/wait.c
-@@ -23,6 +23,7 @@
- # include <pbs_config.h>
- #endif
-
-+#define _GNU_SOURCE // vasprintf
- #include <assert.h>
- #include <limits.h>
- #include <signal.h>
---
-1.7.2.2
-
diff --git a/sys-cluster/torque/files/0003-disable-automagic-doc-building.patch b/sys-cluster/torque/files/0003-disable-automagic-doc-building.patch
deleted file mode 100644
index 43632c3f2115..000000000000
--- a/sys-cluster/torque/files/0003-disable-automagic-doc-building.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 7351d31442fcf324b7f7769911af8a98368506e2 Mon Sep 17 00:00:00 2001
-From: Justin Bronder <jsbronder@gmail.com>
-Date: Tue, 16 Nov 2010 17:03:13 -0500
-Subject: [PATCH 3/3] disable automagic doc building
-
-Instead of unconditionally building docs if doxygen is found, only build
-at the request of the user.
----
- configure.ac | 19 +++++++++++++------
- 1 files changed, 13 insertions(+), 6 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 480e23e..a8182cd 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1237,8 +1237,6 @@ dnl
- if test "$build_drmaa" = "yes" ;then
- AC_MSG_NOTICE([Configuring DRMAA ...])
- AC_PATH_PROG(GPERF, "gperf")
--AX_PROG_DOT
--AC_PATH_PROG(DOXYGEN, "doxygen", "none")
- AC_C_BIGENDIAN_CROSS
- ACX_PTHREAD(,[AC_MSG_ERROR([POSIX threads library is required by DRMAA.])])
-
-@@ -1282,10 +1280,19 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>]],
- AC_MSG_RESULT([no])
- ])
-
-- build_drmaa_docs=yes
--else
-- DOXYGEN=none
-- build_drmaa_docs=no
-+AC_ARG_ENABLE([apidocs],
-+ AS_HELP_STRING([--enable-apidocs],[Build DRMAA documentation])
-+)
-+AS_IF([test "x$enable_apidocs" = "xyes"],
-+ [ AX_PROG_DOT
-+ AC_PATH_PROG(DOXYGEN, "doxygen", "none")
-+ build_drmaa_docs=yes ],
-+ [ build_drmaa_docs=no
-+ DOXYGEN=none ]
-+)
-+else
-+ DOXYGEN="none"
-+ build_drmaa_docs=no
- fi
- AM_CONDITIONAL(DRMAA_DOCS, [test "$DOXYGEN" != "none"])
- AC_SUBST(build_drmaa_docs)
---
-1.7.2.2
-
diff --git a/sys-cluster/torque/files/disable-automagic-doc-building-2.4.14.patch b/sys-cluster/torque/files/disable-automagic-doc-building-2.4.14.patch
deleted file mode 100644
index 1b57fe6133b1..000000000000
--- a/sys-cluster/torque/files/disable-automagic-doc-building-2.4.14.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 301ac38e30138b2b337391a64d0770ca6a6eb468 Mon Sep 17 00:00:00 2001
-From: Justin Bronder <jsbronder@gmail.com>
-Date: Sat, 25 Jun 2011 21:07:41 -0400
-Subject: [PATCH] disable automagic doc building
-
-Instead of unconditionally building docs if doxygen is found, only build
-at the request of the user.
----
- configure.ac | 23 +++++++++++++++--------
- 1 files changed, 15 insertions(+), 8 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 8624a5f..2999094 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1323,8 +1323,6 @@ dnl
- if test "$build_drmaa" = "yes" ;then
- AC_MSG_NOTICE([Configuring DRMAA ...])
- AC_PATH_PROG(GPERF, "gperf")
--AX_PROG_DOT
--AC_PATH_PROG(DOXYGEN, "doxygen", "none")
- AC_C_BIGENDIAN_CROSS
- ACX_PTHREAD(,[AC_MSG_ERROR([POSIX threads library is required by DRMAA.])])
-
-@@ -1368,12 +1366,21 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>]],
- AC_MSG_RESULT([no])
- ])
-
-- build_drmaa_docs=yes
-- RPM_AC_OPTS="$RPM_AC_OPTS --with drmaa"
--else
-- DOXYGEN=none
-- build_drmaa_docs=no
-- RPM_AC_OPTS="$RPM_AC_OPTS --without drmaa"
-+AC_ARG_ENABLE([apidocs],
-+ AS_HELP_STRING([--enable-apidocs],[Build DRMAA documentation])
-+)
-+AS_IF([test "x$enable_apidocs" = "xyes"],
-+ [ AX_PROG_DOT
-+ AC_PATH_PROG(DOXYGEN, "doxygen", "none")
-+ RPM_AC_OPTS="$RPM_AC_OPTS --with drmaa"
-+ build_drmaa_docs=yes ],
-+ [ build_drmaa_docs=no
-+ DOXYGEN=none ]
-+)
-+else
-+ DOXYGEN="none"
-+ build_drmaa_docs=no
-+ RPM_AC_OPTS="$RPM_AC_OPTS --without drmaa"
- fi
- AM_CONDITIONAL(DRMAA_DOCS, [test "$DOXYGEN" != "none"])
- AC_SUBST(build_drmaa_docs)
---
-1.7.3.4
-
diff --git a/sys-cluster/torque/torque-2.4.16-r1.ebuild b/sys-cluster/torque/torque-2.4.16-r1.ebuild
deleted file mode 100644
index 5caa85c2c44e..000000000000
--- a/sys-cluster/torque/torque-2.4.16-r1.ebuild
+++ /dev/null
@@ -1,257 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-2.4.16-r1.ebuild,v 1.1 2013/12/23 18:01:35 jsbronder Exp $
-
-EAPI=2
-WANT_AUTOMAKE="1.12"
-inherit flag-o-matic eutils linux-info autotools
-
-DESCRIPTION="Resource manager and queuing system based on OpenPBS"
-HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/torque"
-SRC_URI="http://www.adaptivecomputing.com/resources/downloads/${PN}/${P}.tar.gz"
-
-LICENSE="openpbs"
-
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="tk +crypt drmaa server +syslog doc cpusets kernel_linux"
-
-# ed is used by makedepend-sh
-DEPEND_COMMON="sys-libs/ncurses
- sys-libs/readline
- tk? ( dev-lang/tk )
- syslog? ( virtual/logger )
- !games-util/qstat"
-
-DEPEND="${DEPEND_COMMON}
- doc? ( drmaa? (
- || ( <app-doc/doxygen-1.7.6.1[latex,-nodot] >=app-doc/doxygen-1.7.6.1[latex,dot] )
- ) )
- sys-apps/ed"
-
-RDEPEND="${DEPEND_COMMON}
- crypt? ( net-misc/openssh )
- !crypt? ( net-misc/netkit-rsh )"
-
-pkg_setup() {
- PBS_SERVER_HOME="${PBS_SERVER_HOME:-/var/spool/torque}"
-
- # Find a Torque server to use. Check environment, then
- # current setup (if any), and fall back on current hostname.
- if [ -z "${PBS_SERVER_NAME}" ]; then
- if [ -f "${ROOT}${PBS_SERVER_HOME}/server_name" ]; then
- PBS_SERVER_NAME="$(<${ROOT}${PBS_SERVER_HOME}/server_name)"
- else
- PBS_SERVER_NAME=$(hostname -f)
- fi
- fi
-
- USE_CPUSETS="--disable-cpuset"
- if use cpusets; then
- if ! use kernel_linux; then
- einfo
- elog " Torque currently only has support for cpusets in linux."
- elog "Assuming you didn't really want this USE flag."
- einfo
- else
- linux-info_pkg_setup
- einfo
- elog " Torque support for cpusets is still in development, you may"
- elog "wish to disable it for production use."
- einfo
- if ! linux_config_exists || ! linux_chkconfig_present CPUSETS; then
- einfo
- elog " Torque support for cpusets will require that you recompile"
- elog "your kernel with CONFIG_CPUSETS enabled."
- einfo
- fi
- USE_CPUSETS="--enable-cpuset"
- fi
- fi
-}
-
-src_prepare() {
- # Unused and causes breakage when switching from glibc to tirpc.
- # https://github.com/adaptivecomputing/torque/pull/148
- sed -i '/rpc\/rpc\.h/d' src/lib/Libnet/net_client.c || die
-
- epatch "${FILESDIR}"/0002-fix-implicit-declaration-warnings.patch
- epatch "${FILESDIR}"/disable-automagic-doc-building-2.4.14.patch
- epatch "${FILESDIR}"/CVE-2013-4319-2.x-root-submit-fix.patch
-
- sed -i \
- -e 's,\(COMPACT_LATEX *=\).*,\1 NO,' \
- -e 's,\(GENERATE_MAN *=\).*,\1 NO,' \
- src/drmaa/Doxyfile.in || die
- sed -i \
- -e '/INSTALL_DATA/d' \
- src/drmaa/Makefile.am || die
- eautoreconf
-}
-
-src_configure() {
- local myconf="--with-rcp=mom_rcp"
-
- use crypt && myconf="--with-rcp=scp"
-
- if use drmaa && use doc; then
- myconf="${myconf} --enable-apidocs"
- else
- myconf="${myconf} --disable-apidocs"
- fi
-
- econf \
- $(use_enable tk gui) \
- $(use_enable syslog) \
- $(use_enable server) \
- $(use_enable drmaa) \
- --with-server-home=${PBS_SERVER_HOME} \
- --with-environ=/etc/pbs_environment \
- --with-default-server=${PBS_SERVER_NAME} \
- --disable-gcc-warnings \
- ${USE_CPUSETS} \
- ${myconf}
-}
-
-# WARNING
-# OpenPBS is extremely stubborn about directory permissions. Sometimes it will
-# just fall over with the error message, but in some spots it will just ignore
-# you and fail strangely. Likewise it also barfs on our .keep files!
-pbs_createspool() {
- local root="$1"
- local s="$(dirname "${PBS_SERVER_HOME}")"
- local h="${PBS_SERVER_HOME}"
- local sp="${h}/server_priv"
- einfo "Building spool directory under ${D}${h}"
- local a d m
- local dir_spec="
- 0755:${h}/aux 0700:${h}/checkpoint
- 0755:${h}/mom_logs 0751:${h}/mom_priv 0751:${h}/mom_priv/jobs
- 1777:${h}/spool 1777:${h}/undelivered"
-
- if use server; then
- dir_spec="${dir_spec} 0755:${h}/sched_logs
- 0755:${h}/sched_priv/accounting 0755:${h}/server_logs
- 0750:${h}/server_priv 0755:${h}/server_priv/accounting
- 0750:${h}/server_priv/acl_groups 0750:${h}/server_priv/acl_hosts
- 0750:${h}/server_priv/acl_svr 0750:${h}/server_priv/acl_users
- 0750:${h}/server_priv/jobs 0750:${h}/server_priv/queues"
- fi
-
- for a in ${dir_spec}; do
- d="${a/*:}"
- m="${a/:*}"
- if [[ ! -d "${root}${d}" ]]; then
- install -d -m${m} "${root}${d}"
- else
- chmod ${m} "${root}${d}"
- fi
- # (#149226) If we're running in src_*, then keepdir
- if [[ "${root}" = "${D}" ]]; then
- keepdir ${d}
- fi
- done
-}
-
-src_install() {
- # Make directories first
- pbs_createspool "${D}"
-
- emake DESTDIR="${D}" install || die "make install failed"
-
- dodoc CHANGELOG README.* Release_Notes || die "dodoc failed"
- if use doc; then
- dodoc doc/admin_guide.ps doc/*.pdf || die "dodoc failed"
- if use drmaa; then
- dohtml -r src/drmaa/doc/html/* || die
- dodoc src/drmaa/drmaa.pdf || die
- fi
- fi
-
- # The build script isn't alternative install location friendly,
- # So we have to fix some hard-coded paths in tclIndex for xpbs* to work
- for file in `find "${D}" -iname tclIndex`; do
- sed -e "s/${D//\// }/ /" "${file}" > "${file}.new" || die
- mv "${file}.new" "${file}" || die
- done
-
- if use server; then
- newinitd "${FILESDIR}"/pbs_server-init.d pbs_server
- newinitd "${FILESDIR}"/pbs_sched-init.d pbs_sched
- fi
- newinitd "${FILESDIR}"/pbs_mom-init.d pbs_mom
- newconfd "${FILESDIR}"/torque-conf.d torque
- newenvd "${FILESDIR}"/torque-env.d 25torque
-
- [ -d "${D}"/usr/share/doc/torque-drmaa ] && \
- rm -rf "${D}"/usr/share/doc/torque-drmaa
-}
-
-pkg_preinst() {
- if [[ -f "${ROOT}etc/pbs_environment" ]]; then
- cp "${ROOT}etc/pbs_environment" "${D}"/etc/pbs_environment
- fi
-
- echo "${PBS_SERVER_NAME}" > "${D}${PBS_SERVER_HOME}/server_name"
-
- # Fix up the env.d file to use our set server home.
- sed -i "s:/var/spool/torque:${PBS_SERVER_HOME}:g" \
- "${D}"/etc/env.d/25torque || die
-}
-
-pkg_postinst() {
- pbs_createspool "${ROOT}"
- elog " If this is the first time torque has been installed, then you are not"
- elog "ready to start the server. Please refer to the documentation located at:"
- elog "http://www.clusterresources.com/wiki/doku.php?id=torque:torque_wiki"
-
- elog " For a basic setup, you may use emerge --config ${PN}"
-}
-
-# root will be setup as the primary operator/manager, the local machine
-# will be added as a node and we'll create a simple queue, batch.
-pkg_config() {
- local h="$(echo "${ROOT}/${PBS_SERVER_HOME}" | sed 's:///*:/:g')"
- local rc=0
-
- ebegin "Configuring Torque"
- einfo "Using ${h} as the pbs homedir"
- einfo "Using ${PBS_SERVER_NAME} as the pbs_server"
-
- # Check for previous configuration and bail if found.
- if [ -e "${h}/server_priv/acl_svr/operators" ] \
- || [ -e "${h}/server_priv/nodes" ] \
- || [ -e "${h}/mom_priv/config" ]; then
- ewarn "Previous Torque configuration detected. Press any key to"
- ewarn "continue or press Control-C to abort now"
- read
- fi
-
- # pbs_mom configuration.
- echo "\$pbsserver ${PBS_SERVER_NAME}" > "${h}/mom_priv/config"
- echo "\$logevent 255" >> "${h}/mom_priv/config"
-
- if use server; then
- local qmgr="${ROOT}/usr/bin/qmgr -c"
- # pbs_server bails on repeated backslashes.
- if ! echo "y" | "${ROOT}"/usr/sbin/pbs_server -d "${h}" -t create; then
- eerror "Failed to start pbs_server"
- rc=1
- else
- ${qmgr} "set server operators = root@$(hostname -f)" ${PBS_SERVER_NAME}
- ${qmgr} "create queue batch" ${PBS_SERVER_NAME}
- ${qmgr} "set queue batch queue_type = Execution" ${PBS_SERVER_NAME}
- ${qmgr} "set queue batch started = True" ${PBS_SERVER_NAME}
- ${qmgr} "set queue batch enabled = True" ${PBS_SERVER_NAME}
- ${qmgr} "set server default_queue = batch" ${PBS_SERVER_NAME}
- ${qmgr} "set server resources_default.nodes = 1" ${PBS_SERVER_NAME}
- ${qmgr} "set server scheduling = True" ${PBS_SERVER_NAME}
-
- "${ROOT}"/usr/bin/qterm -t quick ${PBS_SERVER_NAME} || rc=1
-
- # Add the local machine as a node.
- echo "$(hostname -f) np=1" > "${h}/server_priv/nodes"
- fi
- fi
- eend ${rc}
-}
diff --git a/sys-cluster/torque/torque-2.4.16.ebuild b/sys-cluster/torque/torque-2.4.16.ebuild
deleted file mode 100644
index 15435b5fb5d1..000000000000
--- a/sys-cluster/torque/torque-2.4.16.ebuild
+++ /dev/null
@@ -1,257 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-2.4.16.ebuild,v 1.14 2013/12/23 18:01:35 jsbronder Exp $
-
-EAPI=2
-WANT_AUTOMAKE="1.12"
-inherit flag-o-matic eutils linux-info autotools
-
-DESCRIPTION="Resource manager and queuing system based on OpenPBS"
-HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/torque"
-SRC_URI="http://www.adaptivecomputing.com/resources/downloads/${PN}/${P}.tar.gz"
-
-LICENSE="openpbs"
-
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE="tk +crypt drmaa server +syslog doc cpusets kernel_linux"
-
-# ed is used by makedepend-sh
-DEPEND_COMMON="sys-libs/ncurses
- sys-libs/readline
- tk? ( dev-lang/tk )
- syslog? ( virtual/logger )
- !games-util/qstat"
-
-DEPEND="${DEPEND_COMMON}
- doc? ( drmaa? (
- || ( <app-doc/doxygen-1.7.6.1[latex,-nodot] >=app-doc/doxygen-1.7.6.1[latex,dot] )
- ) )
- sys-apps/ed"
-
-RDEPEND="${DEPEND_COMMON}
- crypt? ( net-misc/openssh )
- !crypt? ( net-misc/netkit-rsh )"
-
-pkg_setup() {
- PBS_SERVER_HOME="${PBS_SERVER_HOME:-/var/spool/torque}"
-
- # Find a Torque server to use. Check environment, then
- # current setup (if any), and fall back on current hostname.
- if [ -z "${PBS_SERVER_NAME}" ]; then
- if [ -f "${ROOT}${PBS_SERVER_HOME}/server_name" ]; then
- PBS_SERVER_NAME="$(<${ROOT}${PBS_SERVER_HOME}/server_name)"
- else
- PBS_SERVER_NAME=$(hostname -f)
- fi
- fi
-
- USE_CPUSETS="--disable-cpuset"
- if use cpusets; then
- if ! use kernel_linux; then
- einfo
- elog " Torque currently only has support for cpusets in linux."
- elog "Assuming you didn't really want this USE flag."
- einfo
- else
- linux-info_pkg_setup
- einfo
- elog " Torque support for cpusets is still in development, you may"
- elog "wish to disable it for production use."
- einfo
- if ! linux_config_exists || ! linux_chkconfig_present CPUSETS; then
- einfo
- elog " Torque support for cpusets will require that you recompile"
- elog "your kernel with CONFIG_CPUSETS enabled."
- einfo
- fi
- USE_CPUSETS="--enable-cpuset"
- fi
- fi
-}
-
-src_prepare() {
- # Unused and causes breakage when switching from glibc to tirpc.
- # https://github.com/adaptivecomputing/torque/pull/148
- sed -i '/rpc\/rpc\.h/d' src/lib/Libnet/net_client.c || die
-
- epatch "${FILESDIR}"/0002-fix-implicit-declaration-warnings.patch
- epatch "${FILESDIR}"/disable-automagic-doc-building-2.4.14.patch
- epatch "${FILESDIR}"/CVE-2013-4319-2.x-root-submit-fix.patch
-
- sed -i \
- -e 's,\(COMPACT_LATEX *=\).*,\1 NO,' \
- -e 's,\(GENERATE_MAN *=\).*,\1 NO,' \
- src/drmaa/Doxyfile.in || die
- sed -i \
- -e '/INSTALL_DATA/d' \
- src/drmaa/Makefile.am || die
- eautoreconf
-}
-
-src_configure() {
- local myconf="--with-rcp=mom_rcp"
-
- use crypt && myconf="--with-rcp=scp"
-
- if use drmaa && use doc; then
- myconf="${myconf} --enable-apidocs"
- else
- myconf="${myconf} --disable-apidocs"
- fi
-
- econf \
- $(use_enable tk gui) \
- $(use_enable syslog) \
- $(use_enable server) \
- $(use_enable drmaa) \
- --with-server-home=${PBS_SERVER_HOME} \
- --with-environ=/etc/pbs_environment \
- --with-default-server=${PBS_SERVER_NAME} \
- --disable-gcc-warnings \
- ${USE_CPUSETS} \
- ${myconf}
-}
-
-# WARNING
-# OpenPBS is extremely stubborn about directory permissions. Sometimes it will
-# just fall over with the error message, but in some spots it will just ignore
-# you and fail strangely. Likewise it also barfs on our .keep files!
-pbs_createspool() {
- local root="$1"
- local s="$(dirname "${PBS_SERVER_HOME}")"
- local h="${PBS_SERVER_HOME}"
- local sp="${h}/server_priv"
- einfo "Building spool directory under ${D}${h}"
- local a d m
- local dir_spec="
- 0755:${h}/aux 0700:${h}/checkpoint
- 0755:${h}/mom_logs 0751:${h}/mom_priv 0751:${h}/mom_priv/jobs
- 1777:${h}/spool 1777:${h}/undelivered"
-
- if use server; then
- dir_spec="${dir_spec} 0755:${h}/sched_logs
- 0755:${h}/sched_priv/accounting 0755:${h}/server_logs
- 0750:${h}/server_priv 0755:${h}/server_priv/accounting
- 0750:${h}/server_priv/acl_groups 0750:${h}/server_priv/acl_hosts
- 0750:${h}/server_priv/acl_svr 0750:${h}/server_priv/acl_users
- 0750:${h}/server_priv/jobs 0750:${h}/server_priv/queues"
- fi
-
- for a in ${dir_spec}; do
- d="${a/*:}"
- m="${a/:*}"
- if [[ ! -d "${root}${d}" ]]; then
- install -d -m${m} "${root}${d}"
- else
- chmod ${m} "${root}${d}"
- fi
- # (#149226) If we're running in src_*, then keepdir
- if [[ "${root}" = "${D}" ]]; then
- keepdir ${d}
- fi
- done
-}
-
-src_install() {
- # Make directories first
- pbs_createspool "${D}"
-
- emake DESTDIR="${D}" install || die "make install failed"
-
- dodoc CHANGELOG README.* Release_Notes || die "dodoc failed"
- if use doc; then
- dodoc doc/admin_guide.ps doc/*.pdf || die "dodoc failed"
- if use drmaa; then
- dohtml -r src/drmaa/doc/html/* || die
- dodoc src/drmaa/drmaa.pdf || die
- fi
- fi
-
- # The build script isn't alternative install location friendly,
- # So we have to fix some hard-coded paths in tclIndex for xpbs* to work
- for file in `find "${D}" -iname tclIndex`; do
- sed -e "s/${D//\// }/ /" "${file}" > "${file}.new" || die
- mv "${file}.new" "${file}" || die
- done
-
- if use server; then
- newinitd "${FILESDIR}"/pbs_server-init.d pbs_server
- newinitd "${FILESDIR}"/pbs_sched-init.d pbs_sched
- fi
- newinitd "${FILESDIR}"/pbs_mom-init.d pbs_mom
- newconfd "${FILESDIR}"/torque-conf.d torque
- newenvd "${FILESDIR}"/torque-env.d 25torque
-
- [ -d "${D}"/usr/share/doc/torque-drmaa ] && \
- rm -rf "${D}"/usr/share/doc/torque-drmaa
-}
-
-pkg_preinst() {
- if [[ -f "${ROOT}etc/pbs_environment" ]]; then
- cp "${ROOT}etc/pbs_environment" "${D}"/etc/pbs_environment
- fi
-
- echo "${PBS_SERVER_NAME}" > "${D}${PBS_SERVER_HOME}/server_name"
-
- # Fix up the env.d file to use our set server home.
- sed -i "s:/var/spool/torque:${PBS_SERVER_HOME}:g" \
- "${D}"/etc/env.d/25torque || die
-}
-
-pkg_postinst() {
- pbs_createspool "${ROOT}"
- elog " If this is the first time torque has been installed, then you are not"
- elog "ready to start the server. Please refer to the documentation located at:"
- elog "http://www.clusterresources.com/wiki/doku.php?id=torque:torque_wiki"
-
- elog " For a basic setup, you may use emerge --config ${PN}"
-}
-
-# root will be setup as the primary operator/manager, the local machine
-# will be added as a node and we'll create a simple queue, batch.
-pkg_config() {
- local h="$(echo "${ROOT}/${PBS_SERVER_HOME}" | sed 's:///*:/:g')"
- local rc=0
-
- ebegin "Configuring Torque"
- einfo "Using ${h} as the pbs homedir"
- einfo "Using ${PBS_SERVER_NAME} as the pbs_server"
-
- # Check for previous configuration and bail if found.
- if [ -e "${h}/server_priv/acl_svr/operators" ] \
- || [ -e "${h}/server_priv/nodes" ] \
- || [ -e "${h}/mom_priv/config" ]; then
- ewarn "Previous Torque configuration detected. Press any key to"
- ewarn "continue or press Control-C to abort now"
- read
- fi
-
- # pbs_mom configuration.
- echo "\$pbsserver ${PBS_SERVER_NAME}" > "${h}/mom_priv/config"
- echo "\$logevent 255" >> "${h}/mom_priv/config"
-
- if use server; then
- local qmgr="${ROOT}/usr/bin/qmgr -c"
- # pbs_server bails on repeated backslashes.
- if ! echo "y" | "${ROOT}"/usr/sbin/pbs_server -d "${h}" -t create; then
- eerror "Failed to start pbs_server"
- rc=1
- else
- ${qmgr} "set server operators = root@$(hostname -f)" ${PBS_SERVER_NAME}
- ${qmgr} "create queue batch" ${PBS_SERVER_NAME}
- ${qmgr} "set queue batch queue_type = Execution" ${PBS_SERVER_NAME}
- ${qmgr} "set queue batch started = True" ${PBS_SERVER_NAME}
- ${qmgr} "set queue batch enabled = True" ${PBS_SERVER_NAME}
- ${qmgr} "set server default_queue = batch" ${PBS_SERVER_NAME}
- ${qmgr} "set server resources_default.nodes = 1" ${PBS_SERVER_NAME}
- ${qmgr} "set server scheduling = True" ${PBS_SERVER_NAME}
-
- "${ROOT}"/usr/bin/qterm -t quick ${PBS_SERVER_NAME} || rc=1
-
- # Add the local machine as a node.
- echo "$(hostname -f) np=1" > "${h}/server_priv/nodes"
- fi
- fi
- eend ${rc}
-}