diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2013-04-03 13:45:02 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2013-04-03 13:45:02 +0000 |
commit | 4fe2d678854ea46def3c0a65c07e93944f3091a1 (patch) | |
tree | d72042b1c2999b39c03f12fa55ef879d2dfed83e /sys-cluster | |
parent | Version bump (diff) | |
download | historical-4fe2d678854ea46def3c0a65c07e93944f3091a1.tar.gz historical-4fe2d678854ea46def3c0a65c07e93944f3091a1.tar.bz2 historical-4fe2d678854ea46def3c0a65c07e93944f3091a1.zip |
Version bump
Package-Manager: portage-2.2.0_alpha170/cvs/Linux x86_64
Manifest-Sign-Key: 0xF82F92E6
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/ceph/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/ceph/Manifest | 32 | ||||
-rw-r--r-- | sys-cluster/ceph/ceph-0.60.ebuild | 107 | ||||
-rw-r--r-- | sys-cluster/slurm/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/slurm/Manifest | 30 | ||||
-rw-r--r-- | sys-cluster/slurm/slurm-2.5.4.ebuild | 261 |
6 files changed, 413 insertions, 31 deletions
diff --git a/sys-cluster/ceph/ChangeLog b/sys-cluster/ceph/ChangeLog index 8c21823b7d9b..5375e5a9c72c 100644 --- a/sys-cluster/ceph/ChangeLog +++ b/sys-cluster/ceph/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/ceph # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v 1.34 2013/03/26 09:27:35 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ChangeLog,v 1.35 2013/04/03 13:44:57 alexxy Exp $ + +*ceph-0.60 (03 Apr 2013) + + 03 Apr 2013; Alexey Shvetsov <alexxy@gentoo.org> +ceph-0.60.ebuild: + Version bump 26 Mar 2013; Agostino Sarubbo <ago@gentoo.org> -ceph-0.49.ebuild: Remove old diff --git a/sys-cluster/ceph/Manifest b/sys-cluster/ceph/Manifest index 342b682e46f4..04be4fa397e0 100644 --- a/sys-cluster/ceph/Manifest +++ b/sys-cluster/ceph/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX ceph.confd 225 SHA256 b12f53878a92b5ee70f9d827e321b641618bd267a7fa57a1e53f0ee4d5c830e8 SHA512 64a68d9985a2dc87cfddc4c6dd5f2af7147b56a677c5b5451caf37b8a07ee49567c7aab368e30974bcd8d670d3471bc79488522a556788e0f2cbf350c272d120 WHIRLPOOL d46cc51dbcf77e17f57126c417955475b9fa2c883bada7c843cbda7c524622690a760795bc6c0af13331abd7e0eca8ba7b139f44b51ec9d5a560137f2f321328 AUX ceph.initd 435 SHA256 9a8c879187e03f10b57a879b9ad71a84a05e5b37fd802b18e2ef8c8fe88aa098 SHA512 16fafcca88f6b1996d6465581729d0c078c00a0ba6494ff17425307c4c61b9384dd0f7b08ade8118e49432c8a04c2e2ca036a637b5701e18bf44552aea652608 WHIRLPOOL e00cd54db6186dc7ecdc06d06e308208cecc4cc770a446f288187f6d77a9c52ff894ece94f6bbeef1468a88d96e84a16ea8b95bbe43911ba42c132d84870ad2e @@ -7,27 +7,29 @@ DIST ceph-0.56.3.tar.bz2 3214620 SHA256 5ea39c9fce4741e0a4adb04262fa02d491834996 DIST ceph-0.56.4.tar.bz2 3286520 SHA256 985b110f8f11e9eb1ad360c309015400b15ecee5065591c00c6e3a88d1859d2a SHA512 3c2760e72e097e3aa44a8e1e075cf12591b2d9b9b9d0d520cd3776ef106785f3c9085c34d4ea71ff20570de3d05f1fc968e6f2a69492ba0f2e8d2c2000096136 WHIRLPOOL 7115aeac01f4b70f888e2c4cee708237f536437d78ba88d333579addc148f4a3de3dc8066ddfca60b41f8b716245be50df819451555f73291adb1117f1d806f6 DIST ceph-0.58.tar.bz2 3334624 SHA256 6ed1e11373822fb24461fa74eca629adb2afcbb9c9bf7b7037068e08b56b5e62 SHA512 ca711a7c8989107bbff03bd07baf2b8b4f863e497ef4cf1dbeea0539e53aed146e8108aa6dc3d5072b9939caa37c08d62123612abc66b1e289c7654dd3ef713d WHIRLPOOL c0930c22fc36f86f6b763973a2be88fdb91bc702e7f8a7207a66b36feee5c134aecedc9686617e162b6debb34ed200ba5baf6cffb43722c63483e4378c132d75 DIST ceph-0.59.tar.bz2 3028949 SHA256 3ccbd4d059555c07f145d1ce2a8fc7e64276f555db846851ebda110e2d4f49dd SHA512 f5151cea890da6440e27be2e1be7ec9b78a86d62923180d58dc0c6265a57845bb126815c9649f4ff498b412096663c51a50a2b454e875200ab09c8148337c40e WHIRLPOOL 23a6873f4c65421cfcb072b69c26010e17b1ab44c38e157aaf48a97cdc8e0c7e38340c258577f8885d5790456000dc4e29747261430ea2bba404e89b830f9365 +DIST ceph-0.60.tar.bz2 3070410 SHA256 6b5bfeadb2487c1fb6d94e75ec021a734b693586a02d93721ab35ede235d607f SHA512 f8bad521c1395f8862a614808368f3ec895101a31ba392f23e0b7905934c9ce1250c1400ed8c699067e445627005cd1a5f448e0008304d1f9b6173c5f92d5e8b WHIRLPOOL 91a2287193b9e34943d4a481e878bf8ef5ed26b17efeb9b379663d9e38d51a4fc70b84d89b6f5ad9d744ef35d8779dc83de9306928051a623be3080e5dee47c9 EBUILD ceph-0.56.3.ebuild 2381 SHA256 94920bc6603dbec975b98985d42287fd6405ab112b26c8c8ca039df46ee8311c SHA512 021a42525996b60f87bc3c5a93c50c97c979fe76884e1769e9c2fbf7670dbd862599f26c801b60663894d6035ef1cb4ce2725dcaf655d19e78b650a119158cd2 WHIRLPOOL fe629a7295e2573f2aa888650f7b9fe120c37a8f9ac80accc26b80e7b0c2727d61442f4233ed0759af3bb98496cc4abe3b185bd654b7702636d49d4b3e4e247d EBUILD ceph-0.56.4.ebuild 2386 SHA256 a780b9692d4b36d3f4c49262761170f5e4bd2bd9e3a20f3a853f864d34560c82 SHA512 203544e17b6241099f21ab0c9b96dbf0d3c651f36f1f4e4321c2ef417ebb229eddaa7c1d50fadc498fb60516e66e310e182eada65512d6310fec8656c29be763 WHIRLPOOL 6b81c9a404a39ab2e8145a1348b7907f2a6e67f3d91686d67081d4cdb99c784334e3e948224cdaf18c92d933635fbbb1357601a21b03823ac766237f60590a96 EBUILD ceph-0.58.ebuild 2420 SHA256 9ff3e3fbfe5451766a878607c8efd51e06e5eb06af1e85d6a78d476ccfa46234 SHA512 95e28cd3d7560de840648addcfa3b457b87a380e3fa41201dedeb51aa8dcd7fbacaa5b21203395677d0db2dee723e8f468942e06de33a7ae708ebbdbfec4f195 WHIRLPOOL 842db01a72c49d0b9b7b0b5000117a7039b5713fab85c7dfe57517d4b0440b8eaa9081c8f2b816dde0e76bf036d2d547ce3ab763438662f745e7e4930eb7072e EBUILD ceph-0.59.ebuild 2375 SHA256 ce75c35d6e58188331e232c8b43104d48587c846c92dec60d5610dadf5e7ac6d SHA512 8b58e10fccfdb27cd1a16bd2e5769c56f4a8a5837c06432080f3dcd329092258095af8da7eb9df6336678b4609f8621e734a482071554521726ce9dc1a1b7552 WHIRLPOOL 0d76ecee280103203af753be18d628ab47872b9efa34934c1e66585c0b7ef7ec2523865d89c9d7446e957542b2aa805b62a30f8b3b65e609fbb3dc4155454d72 +EBUILD ceph-0.60.ebuild 2420 SHA256 14d3b1d88a95397226f0e5d6578cb22cfe004c841af063b579e0c6b74d9cc4d1 SHA512 fa0eeea332ebbc34fea3c95625d1696a2d26c1017d4e777ffec8b84be7ebcd3b5785b95808d2a0962e0d2aa94967d7fa158962695cfce586d7da62ed1e0b562f WHIRLPOOL 2621b734ef317fc471accefa43633fdab0c084ee939b2bb3c0c50b2c853fd6d34b4acaef7f746c0207cc8c184841c24ced56cc4d87580998e65bba96158b7cdc EBUILD ceph-9999.ebuild 2420 SHA256 e886c12140974e0c1f68930edd508114dff15d8e9e33f106b7264360477f4968 SHA512 1b34f228141207e34515c5a66c35105c9b18660dc243c3112b2e41d8635aa19ce329b24d0b0fae91f33a84c1c97e0115ca2e6b9411dd6fc700e19f7d73cddfb7 WHIRLPOOL aeb8888d4194ff82a820031e4bac005b79be03c178ba354cfc70c610766f0ec081917ef68b779baf1e119d542404278bb159a7fc0fa70393e01f8378c14c734c -MISC ChangeLog 5760 SHA256 1b6a0320c92ddb0dd6e242b3dcced673d52bfbe9df3b01c3401646bc121c092f SHA512 73398898910963a007e195476fed1cf406dd56ab5efba8142b8a1ee086d792713e44dc510ab8712814c4bfc0fd2b11c2d63f1075097ba4eb5639e5dc246d5e87 WHIRLPOOL 091404d8ed732a57dabba70cf89c66b0e213b3f8fda77a83aafd982949a9f0f913677d6756b9d11e4dae3668401710dff53e2bcdb75f048fd5285e37e153b472 +MISC ChangeLog 5875 SHA256 4cc7fcfd154dbb9204874e663b90e4ef58e199cc8a0f5ace61336f5a516bf5d9 SHA512 d105916ad1b8f3d0d1bbc097e6b0d5394a29a9f4ab57a42738edebe1c0ba14350960acdfd7978adc194744a04d31508bbb7a0659642cf318ad9645bc80cbeaca WHIRLPOOL f2e6b6355caaf0bc19cf156f87bfc04aef117c87c17fd7cfc5de2b70fc2e962ccaf18b9f7e0126a90206dca2e33f759e141ad8473f7f50183ebb52a6d70639de MISC metadata.xml 500 SHA256 98ecd9596f86ca204850d8c673a93f34c99e7a3eb6f55dbdf5ce56b9164d4407 SHA512 ecb262b3c942a347291496583730bc59599950983d66f1497110a459a16f5366e79273376c1967d5f59fa245c2cd64c93c11be7d16b7e85428a277bd81ac3984 WHIRLPOOL 21976221c15b97596c1ff94a80040adc5b29012afe9f80c12cd7e60fd3857947ada817d0ef83dcf533df287be0e6925596d4604e9522a0ccdcb844610373089a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRUWoGAAoJELp701BxlEWf+CQQAKBGktOUexSuI6TwwR6dZqbl -m11UkTHB0w+wfwffMpcrNKAodQZatSzq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qkwgaiTZVUuyux/xcGp2wzKoBo +GYzky39iG15aBuYrjik7tZ3oXFVw0aiJu+PyIMMwiLlGWJT0FdekiGz/6iK8smcq +kwaSiK2RnSCH+y2xm7QELmGsvMx/MMvn0LLw5NJfQFrWdbL3QNAEudgZtajm99vY +QZ+XcjKYCsusUxH2ExLBCbdtCPxS+8DDmgNnmg89qZL1o07SLX0W34PABHcEQ67e +9rcQDHhbmw1gNisPPSG4ddTLrAFBHTtSvcU7M9/yQ765QA9s1FetkSesK1CeiLdp +5rLqIn8pBbU0Rxcm4gPB +=mJgJ -----END PGP SIGNATURE----- diff --git a/sys-cluster/ceph/ceph-0.60.ebuild b/sys-cluster/ceph/ceph-0.60.ebuild new file mode 100644 index 000000000000..4558f7836590 --- /dev/null +++ b/sys-cluster/ceph/ceph-0.60.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ceph/ceph-0.60.ebuild,v 1.1 2013/04/03 13:44:57 alexxy Exp $ + +EAPI=5 + +if [[ $PV = *9999* ]]; then + scm_eclass=git-2 + EGIT_REPO_URI=" + git://github.com/ceph/ceph.git + https://github.com/ceph/ceph.git" + SRC_URI="" + KEYWORDS="" +else + SRC_URI="http://ceph.com/download/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +fi + +inherit autotools eutils multilib udev ${scm_eclass} + +DESCRIPTION="Ceph distributed filesystem" +HOMEPAGE="http://ceph.com/" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="debug fuse gtk libatomic radosgw static-libs tcmalloc" + +CDEPEND=" + dev-libs/boost + dev-libs/fcgi + dev-libs/libaio + dev-libs/libedit + dev-libs/crypto++ + sys-apps/keyutils + fuse? ( sys-fs/fuse ) + libatomic? ( dev-libs/libatomic_ops ) + gtk? ( + x11-libs/gtk+:2 + dev-cpp/gtkmm:2.4 + gnome-base/librsvg + ) + radosgw? ( + dev-libs/fcgi + dev-libs/expat + net-misc/curl + ) + tcmalloc? ( dev-util/google-perftools ) + " +DEPEND="${CDEPEND} + virtual/pkgconfig" +RDEPEND="${CDEPEND} + sys-fs/btrfs-progs" + +STRIP_MASK="/usr/lib*/rados-classes/*" + +src_prepare() { + sed -e 's:invoke-rc\.d.*:/etc/init.d/ceph reload >/dev/null:' \ + -i src/logrotate.conf || die + sed -i "/^docdir =/d" src/Makefile.am || die #fix doc path + # disable testsnaps + sed -e '/testsnaps/d' -i src/Makefile.am || die + sed -e "/bin=/ s:lib:$(get_libdir):" "${FILESDIR}"/${PN}.initd \ + > "${T}"/${PN}.initd || die + sed -i -e '/AM_INIT_AUTOMAKE/s:-Werror ::' src/leveldb/configure.ac || die #423755 + eautoreconf +} + +src_configure() { + econf \ + --without-hadoop \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --includedir=/usr/include \ + $(use_with debug) \ + $(use_with fuse) \ + $(use_with libatomic libatomic-ops) \ + $(use_with radosgw) \ + $(use_with gtk gtk2) \ + $(use_enable static-libs static) \ + $(use_with tcmalloc) +} + +src_install() { + default + + prune_libtool_files --all + + rmdir "${ED}/usr/sbin" + + exeinto /usr/$(get_libdir)/ceph + newexe src/init-ceph ceph_init.sh + + insinto /etc/logrotate.d/ + newins src/logrotate.conf ${PN} + + chmod 644 "${ED}"/usr/share/doc/${PF}/sample.* + + keepdir /var/lib/${PN} + keepdir /var/lib/${PN}/tmp + keepdir /var/log/${PN}/stat + + newinitd "${T}/${PN}.initd" ${PN} + newconfd "${FILESDIR}/${PN}.confd" ${PN} + + #install udev rules + udev_dorules udev/50-rbd.rules + udev_dorules udev/95-ceph-osd.rules +} diff --git a/sys-cluster/slurm/ChangeLog b/sys-cluster/slurm/ChangeLog index cacc74b4936c..6203d00c89da 100644 --- a/sys-cluster/slurm/ChangeLog +++ b/sys-cluster/slurm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/slurm # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/ChangeLog,v 1.21 2013/01/20 13:13:53 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/ChangeLog,v 1.22 2013/04/03 13:43:25 alexxy Exp $ + +*slurm-2.5.4 (03 Apr 2013) + + 03 Apr 2013; Alexey Shvetsov <alexxy@gentoo.org> +slurm-2.5.4.ebuild: + Version bump *slurm-2.5.1 (20 Jan 2013) diff --git a/sys-cluster/slurm/Manifest b/sys-cluster/slurm/Manifest index 743452c4445d..8375c7bcfd34 100644 --- a/sys-cluster/slurm/Manifest +++ b/sys-cluster/slurm/Manifest @@ -13,27 +13,29 @@ DIST slurm-2.4.3.tar.bz2 5236537 SHA256 96a36dee1337ea1caf70cdeca2056c1aa0a7f595 DIST slurm-2.4.5.tar.bz2 5377708 SHA256 db1d2f559353e0b494cf7a29ec3f7f314cb2e6131e1b8dfe307cf189b51626a4 SHA512 5e0ed11608bfb00a0f7fa8199fc5aef4d7568fa171570b1f40a6356070f4cde7c4227be3997650d3f2c26b46fd408a2b97d48fd0d0b6aef6a3aff9ea75a22b7a WHIRLPOOL 599aa7c846ca655912711286eaadaef732c434f5bcc0ed905b6aa3bfa07be81322c8b6253bc11e7644f6a72918a2c9383682c97847e8bbd78d77c49b56f5ad9f DIST slurm-2.5.0.tar.bz2 5389388 SHA256 ecccb03752a1def4194c88bbd36e782dd6025024eb8ef0cb31f1c9f4e7fd73c7 SHA512 657a148e365cbabf54154e78ac155f09a7751ae985dae42b3ed5d4c143a7305ccce9476ae0cb87caa4d22f007534791daf403b55af8dabf8069ac54f3b783b52 WHIRLPOOL 72bcf724ef9e1b588242f3b1ed14462565ee3eeb44c1493c084f3897f0d542861044dcd0cecf2fb0c834b9b3167b4b508949e4deca1c0d009880fab32c18304c DIST slurm-2.5.1.tar.bz2 5394385 SHA256 7161508690ab395220caf8eef15b7e5194e7ce9cc71a5766508e8d60a3118540 SHA512 4af462b57478bac65b2d3aa143a2a8a09052eecaa568fdb57b362487660152eeea061b9566a2c56d78c778c8c1a562ae30ba939d061e0983561702be39eedd87 WHIRLPOOL fba06ac2a611cc00b80290f9b20d4e9047d918d86761d2732cd3e244a8233bdec8f78b80e235114d9c273587f6a4d5da640c310bc8ff0591ea3a52e7c5bc4be0 +DIST slurm-2.5.4.tar.bz2 5497719 SHA256 c713ea74742ce14a27b88b02f1a475bc71cde22ad3a323a4d669530d8b68f09e SHA512 46231fbf0237d6afdede1ca8ff32d5e87c1cff1bc13ceb6dd61adc58f142fb5070759e7747a4ae81a54293a2ca73caf9a4fcf535786728178ee0afba141aa7bd WHIRLPOOL bad00e2c9d42a1de3ff87426124fdc5fee1fff368907e0812007ab9bc0aec0127287afe7f77c7d5b3314caec15a9f7b3a83eaf1f6520c2f0ccdfaebd74ba201d EBUILD slurm-2.3.4.ebuild 7623 SHA256 ffb70250a95e6963cd13adece239647ed78cea24482fa1a33de6e4a5fa5ebcd5 SHA512 07149d1ada09b2188ff7d9de33d74223ef32e5a7cc3fdc16d6a38fd40ebc3e6a82d287f134ed6825c075239f312621e1bc44d12c2a506de655b172ba14c5e95b WHIRLPOOL f416eab4b3bfd1e60d52d6b3b17518fb1ce5f3bef39ee1b3c38588997e95b2214dad8991c103bfa4a9381f76113fde324de2d1e66a3c30b24b773d34838651e4 EBUILD slurm-2.4.3.ebuild 7646 SHA256 21108f4470c8beb8620fc70b7b6b22bf599f0a66beff3e7904e95233e4cb1971 SHA512 b20e9f6ea0581d00c530325030eff5a3245ee42a30002158147af0e8ab39cb4ebb747a7e6c7bb3b1bc74618d90d3e7f023ec3710c47b52cdf508da60bda8d7fb WHIRLPOOL fa473396415b5aac875cd99099534a6c29a8372ff3e9396bc90672bc907542c289bbf582d9c6b36c96866ce55d2489a70eb9a48670f6379df211a417823f054c EBUILD slurm-2.4.5.ebuild 7986 SHA256 a90eb47942dedc1e90b659dac63854c83f9fe1fb2cd578b27c345443db985411 SHA512 f760c6f6df9231c8c74075f6c988725b3bea9364212523e74467155bc0257f88d9574240b6fa17f60ff0ebb3d1f372bc41ddb42492673144a26c4f096d9352d1 WHIRLPOOL 439a174b613f2369160978cb8c4780c23753031d52e08f59045ac99d2811fec89098d6d0efbb35e67a77aa90d03355d7d12f8495d305a441dcdc41bf48e57c4d EBUILD slurm-2.5.0.ebuild 8284 SHA256 7d3e0da5943f411179d1d2ae9356914fea7d2da025f48d245e050c246706513c SHA512 77f8bb36e8cd4a94e8dc30890cd1ef1e7f48026976f394cd4bb4bd1b0e98de0cebc27fd92212fea2a088dca530d1d2d6124fa6a4472696da719d44522ae780f8 WHIRLPOOL 2ea41ca79ea69b0641e7475218300f0dbd1e1931a634ea7692e5a3537333cc0884f7e8cb27d73ece012e49fda94d96a9f001a58c494c254c87d945469c3fe66d EBUILD slurm-2.5.1.ebuild 8284 SHA256 2dd1d4b0e5c7f3bf61d4e2149d504642801aa93e3235664040623188525cc2ef SHA512 f87c5b449f7e91789015ad5d1d84e62c3a085cc69afd18a643a58a6187e11aefb01399fed4b7973b21446fb2df6e37da7bf38b5261dbb7b094aa64075ffc3236 WHIRLPOOL c7f3ad9d1ff57ce1a65de473d3ed421ba02d7a3eda71617b050b323c15c574241d1a51178ff369f0cb521fa23cfd0f747ae5ea64e8cadf2228186965f494676f -MISC ChangeLog 3582 SHA256 0a5aed6f84fabb5df4c26d421baec1280fe5a7f2711cb43fd50563d12b6ea00d SHA512 92681b1a2abccd158bd0b372c41183e450b8d793983c9d4f400e06a8cf03c0db75283976519de33dcc24eb02217af1c62c828dccf6178a320fe5d02483ad7524 WHIRLPOOL 98df35e530c212894aa94862bc701fac5ef146be594999f681baa62595f7d39ae40b2f02b6e5df57bd1165a2707a91a7d3163f1f8ac001a5292d2793815da9c5 +EBUILD slurm-2.5.4.ebuild 8284 SHA256 7a34dce522d42b8f5960a56718cf9c6e61b12e9cd115ef04aabe3006c15eca14 SHA512 3f1e5b5a71e32daf0f27a71978ac2a53463de64c593c87104a74078423a78b5eeaee08b42ba4940548bf4e97c28a8fcede03d9015068b3b17aab7ba272a65895 WHIRLPOOL 24508a2380f7b9da89b84495c5022ccfc8838684dc6a08cd747ce92ddd14072959bf9ccb0ae685013d3f1f917e5b21c3540228196d1ae3cf4ed1431a9a619380 +MISC ChangeLog 3698 SHA256 74c974e6715f9b387576b734ea515101dd7d0b4f352a7ffb3c79eec60e002555 SHA512 3e0074844c73844ec2d0a7f1dfac33d6c647d530195d4103586f3ac4b617b7288c52e516188df3da4449300c84b7883df3ab45d9a3c92e969e28ede7b6db94f8 WHIRLPOOL 741a27a90f8e1fc98c8381663d7d93542ba9852087efbe1af455280f385455535c94291fed8a8285b9809c17e84af320b86e1d1baf74408aab859277f9f0377f MISC metadata.xml 564 SHA256 9f06f3b57990b43d1373d5895f59a73f3d371ed78fe5eff0eacbb143d15a15ca SHA512 bfb5b67ddb87cfcb3fc5dceeb32fed1b801f256cb898cdfd27722123abddcd34bd300c7c3599014ac0d89048645a7fec2f1cfe68a0a06817018a83953555ad54 WHIRLPOOL 9cbe2ec2eaa364467ab660f04bbdaa3199f778b9788cb66aef90c47f09853eb53fce5728571f5c15feae6bd9dfd16b0aa850e44f4c1118da9db9af331b6d369d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJQ++2ZAAoJEOf+E+/4L5LmqKIP/0zC8QS9ECwPMoWdrK96csu7 -qza0K4bSXU0f8EzN9SOZ0xhUPsmG3o7YtIAUFxL2qFljU11zrynXqzWXMIx34nyG -grQkxKvLaQ4tXjU1wk3v+m2t/ubwOdNWOuUFR9cmLEreDGNE0T3bXM/Eg86An9ts -+DkY9UVphaBuiQK+ITWmeDwhTz3dDQobfx32cyzU2BzgBsiajCYITZogZaiIDdRI -C0rvY/NOhBTrV8PnXzJ8CAdPdZqhd8K+AvaQqG0H8T7VEwvfTq2ryldIgKScsfm0 -DjtA+wX+QoN8sq6rJX81zlYLtK/FSeF8rXMAkza1Z+lhjkkYXJ3ptKN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4Sp +lK3bwnMRRM4kSruK6bDd +=0nUj -----END PGP SIGNATURE----- diff --git a/sys-cluster/slurm/slurm-2.5.4.ebuild b/sys-cluster/slurm/slurm-2.5.4.ebuild new file mode 100644 index 000000000000..24da0062ebb0 --- /dev/null +++ b/sys-cluster/slurm/slurm-2.5.4.ebuild @@ -0,0 +1,261 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/slurm-2.5.4.ebuild,v 1.1 2013/04/03 13:43:25 alexxy Exp $ + +EAPI=4 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="git://github.com/SchedMD/slurm.git" + INHERIT_GIT="git-2" + SRC_URI="" + KEYWORDS="" +else + inherit versionator + if [[ ${PV} == *pre* || ${PV} == *rc* ]]; then + MY_PV=$(replace_version_separator 3 '-0.') # pre-releases or release-candidate + else + MY_PV=$(replace_version_separator 3 '-') # stable releases + fi + MY_P="${PN}-${MY_PV}" + INHERIT_GIT="" + SRC_URI="http://www.schedmd.com/download/total/${MY_P}.tar.bz2" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +inherit autotools base eutils pam perl-module user ${INHERIT_GIT} + +DESCRIPTION="SLURM: A Highly Scalable Resource Manager" +HOMEPAGE="http://www.schedmd.com" + +LICENSE="GPL-2" +SLOT="0" +IUSE="lua maui multiple-slurmd +munge mysql pam perl postgres ssl static-libs torque ypbind" + +DEPEND=" + !sys-cluster/torque + !net-analyzer/slurm + !net-analyzer/sinfo + mysql? ( dev-db/mysql ) + munge? ( sys-auth/munge ) + ypbind? ( net-nds/ypbind ) + pam? ( virtual/pam ) + postgres? ( dev-db/postgresql-base ) + ssl? ( dev-libs/openssl ) + lua? ( dev-lang/lua ) + !lua? ( !dev-lang/lua ) + >=sys-apps/hwloc-1.1.1-r1" +RDEPEND="${DEPEND} + dev-libs/libcgroup + maui? ( sys-cluster/maui[slurm] )" + +REQUIRED_USE="torque? ( perl )" + +LIBSLURM_PERL_S="${WORKDIR}/${P}/contribs/perlapi/libslurm/perl" +LIBSLURMDB_PERL_S="${WORKDIR}/${P}/contribs/perlapi/libslurmdb/perl" + +RESTRICT="primaryuri" + +PATCHES=( + "${FILESDIR}/${PN}-2.5.0-nogtk.patch" +) + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-2_src_unpack + else + default + fi +} + +pkg_setup() { + enewgroup slurm 500 + enewuser slurm 500 -1 /var/spool/slurm slurm +} + +src_prepare() { + # Gentoo uses /sys/fs/cgroup instead of /cgroup + # FIXME: Can the "^/cgroup" and "\([ =\"]\)/cgroup" patterns be merged? + sed \ + -e 's|\([ =\"]\)/cgroup|\1/sys/fs/cgroup|g' \ + -e "s|^/cgroup|/sys/fs/cgroup|g" \ + -i "${S}/doc/man/man5/cgroup.conf.5" \ + -i "${S}/etc/cgroup.release_common.example" \ + -i "${S}/src/common/xcgroup_read_config.c" \ + || die "Can't sed /cgroup for /sys/fs/cgroup" + # and pids should go to /var/run/slurm + sed -e 's:/var/run/slurmctld.pid:/var/run/slurm/slurmctld.pid:g' \ + -e 's:/var/run/slurmd.pid:/var/run/slurm/slurmd.pid:g' \ + -i "${S}/etc/slurm.conf.example" \ + || die "Can't sed for /var/run/slurmctld.pid" + # also state dirs are in /var/spool/slurm + sed -e 's:StateSaveLocation=*.:StateSaveLocation=/var/spool/slurm:g' \ + -e 's:SlurmdSpoolDir=*.:SlurmdSpoolDir=/var/spool/slurm/slurmd:g' \ + -i "${S}/etc/slurm.conf.example" \ + || die "Can't sed ${S}/etc/slurm.conf.example for StateSaveLocation=*. or SlurmdSpoolDir=*" + # and tmp should go to /var/tmp/slurm + sed -e 's:/tmp:/var/tmp:g' \ + -i "${S}/etc/slurm.conf.example" \ + || die "Can't sed for StateSaveLocation=*./tmp" + # disable sview since it need gtk+ + sed -e '/sview/d' \ + -i configure.ac + sed -e 's:sview::g' \ + -i src/Makefile.am + # apply patches + epatch "${PATCHES[@]}" + elibtoolize + eautoreconf +} + +src_configure() { + local myconf=( + --sysconfdir="${EPREFIX}/etc/${PN}" + --with-hwloc="${EPREFIX}/usr" + --docdir="${EPREFIX}/usr/share/doc/${P}" + --htmldir="${EPREFIX}/usr/share/doc/${P}" + ) + use pam && myconf+=( --with-pam_dir=$(getpam_mod_dir) ) + use mysql || myconf+=( --without-mysql_config ) + use postgres || myconf+=( --without-pg_config ) + econf "${myconf[@]}" \ + $(use_enable pam) \ + $(use_with ssl) \ + $(use_with munge) \ + $(use_enable static-libs static) \ + $(use_enable multiple-slurmd) + + # --htmldir does not seems to propagate... Documentations are installed + # in /usr/share/doc/slurm-2.3.0/html + # instead of /usr/share/doc/slurm-2.3.0.2/html + sed -e "s|htmldir = .*/html|htmldir = \${prefix}/share/doc/slurm-${PVR}/html|g" -i doc/html/Makefile || die + if use perl ; then + # small hack to make it compile + mkdir -p "${S}/src/api/.libs" + mkdir -p "${S}/src/db_api/.libs" + touch "${S}/src/api/.libs/libslurm.so" + touch "${S}/src/db_api/.libs/libslurmdb.so" + cd "${LIBSLURM_PERL_S}" + S="${LIBSLURM_PERL_S}" SRC_PREP="no" perl-module_src_configure + cd "${LIBSLURMDB_PERL_S}" + S="${LIBSLURMDB_PERL_S}" SRC_PREP="no" perl-module_src_configure + cd "${S}" + rm -rf "${S}/src/api/.libs" "${S}/src/db_api/.libs" + fi +} + +src_compile() { + default + use pam && emake -C contribs/pam || die + if use perl ; then + cd "${LIBSLURM_PERL_S}" + S="${LIBSLURM_PERL_S}" perl-module_src_compile + cd "${LIBSLURMDB_PERL_S}" + S="${LIBSLURMDB_PERL_S}" perl-module_src_compile + cd "${S}" + fi + if use torque ; then + emake -C contribs/torque || die + fi +} + +src_install() { + default + use pam && emake DESTDIR="${D}" -C contribs/pam install || die + if use perl; then + cd "${LIBSLURM_PERL_S}" + S="${LIBSLURM_PERL_S}" perl-module_src_install + cd "${LIBSLURMDB_PERL_S}" + S="${LIBSLURMDB_PERL_S}" perl-module_src_install + cd "${S}" + fi + if use torque; then + emake DESTDIR="${D}" -C contribs/torque || die + rm -f "${ED}/usr/bin/mpiexec" || die + fi + use static-libs || find "${ED}" -name '*.la' -exec rm {} + + # install sample configs + keepdir /etc/slurm + insinto /etc/slurm + doins etc/bluegene.conf.example + doins etc/cgroup.conf.example + doins etc/cgroup_allowed_devices_file.conf.example + doins etc/slurm.conf.example + doins etc/slurmdbd.conf.example + exeinto /etc/slurm + doexe etc/cgroup.release_common.example + doexe etc/slurm.epilog.clean + # install init.d files + newinitd "${FILESDIR}/slurmd.initd" slurmd + newinitd "${FILESDIR}/slurmctld.initd" slurmctld + newinitd "${FILESDIR}/slurmdbd.initd" slurmdbd + # install conf.d files + newconfd "${FILESDIR}/slurm.confd" slurm + # Install logrotate file + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" slurm || die + # cgroups support + exeinto /etc/slurm/cgroup + doexe etc/cgroup.release_common.example + mv "${D}"/etc/slurm/cgroup/cgroup.release_common.example "${D}"/etc/slurm/cgroup/release_common || die "Can't move cgroup.release_common.example" + ln -s release_common "${D}"/etc/slurm/cgroup/release_cpuset || die "Can't create symbolic link release_cpuset" + ln -s release_common "${D}"/etc/slurm/cgroup/release_devices || die "Can't create symbolic link release_devices" + ln -s release_common "${D}"/etc/slurm/cgroup/release_freezer || die "Can't create symbolic link release_freezer" +} + +pkg_preinst() { + if use munge; then + sed -i 's,\(SLURM_USE_MUNGE=\).*,\11,' "${D}"etc/conf.d/slurm || die + fi + if use ypbind; then + sed -i 's,\(SLURM_USE_YPBIND=\).*,\11,' "${D}"etc/conf.d/slurm || die + fi +} + +create_folders_and_fix_permissions() { + einfo "Fixing permissions in ${@}" + mkdir -p ${@} + chown -R ${PN}:${PN} ${@} +} + +pkg_postinst() { + paths=( + /var/${PN}/checkpoint + /var/${PN} + /var/spool/${PN}/slurmd + /var/spool/${PN} + /var/run/${PN} + /var/log/${PN} + /var/tmp/${PN}/${PN}d + /var/tmp/${PN} + ) + for folder_path in ${paths[@]}; do + create_folders_and_fix_permissions $folder_path + done + einfo + + elog "Please visit the file '/usr/share/doc/${P}/html/configurator.html" + elog "through a (javascript enabled) browser to create a configureation file." + elog "Copy that file to /etc/slurm/slurm.conf on all nodes (including the headnode) of your cluster." + einfo + elog "For cgroup support, please see http://www.schedmd.com/slurmdocs/cgroup.conf.html" + elog "Your kernel must be compiled with the wanted cgroup feature:" + elog " General setup --->" + elog " [*] Control Group support --->" + elog " [*] Freezer cgroup subsystem" + elog " [*] Device controller for cgroups" + elog " [*] Cpuset support" + elog " [*] Simple CPU accounting cgroup subsystem" + elog " [*] Resource counters" + elog " [*] Memory Resource Controller for Control Groups" + elog " [*] Group CPU scheduler --->" + elog " [*] Group scheduling for SCHED_OTHER" + elog "Then, set these options in /etc/slurm/slurm.conf:" + elog " ProctrackType=proctrack/cgroup" + elog " TaskPlugin=task/cgroup" + einfo + ewarn "Paths were created for slurm. Please use these paths in /etc/slurm/slurm.conf:" + for folder_path in ${paths[@]}; do + ewarn " ${folder_path}" + done +} |