diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-09-07 18:24:09 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-09-07 18:24:09 +0000 |
commit | 97670a23d3c5af6637de31875357978803e36373 (patch) | |
tree | af317ce5faa9f1c4c8e0584a41ec0052407cad3c /sys-cluster/torque | |
parent | added scipy-0.5.1 (diff) | |
download | sci-97670a23d3c5af6637de31875357978803e36373.tar.gz sci-97670a23d3c5af6637de31875357978803e36373.tar.bz2 sci-97670a23d3c5af6637de31875357978803e36373.zip |
added torque-2.1.2
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@288 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sys-cluster/torque')
-rw-r--r-- | sys-cluster/torque/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/torque/Manifest | 63 | ||||
-rw-r--r-- | sys-cluster/torque/files/digest-torque-2.1.2 | 3 | ||||
-rw-r--r-- | sys-cluster/torque/files/torque-setuid-safety.patch | 24 | ||||
-rw-r--r-- | sys-cluster/torque/torque-2.1.2.ebuild | 142 |
5 files changed, 234 insertions, 4 deletions
diff --git a/sys-cluster/torque/ChangeLog b/sys-cluster/torque/ChangeLog index 11c52d67f..a2b370d0a 100644 --- a/sys-cluster/torque/ChangeLog +++ b/sys-cluster/torque/ChangeLog @@ -2,6 +2,12 @@ # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*torque-2.1.1 (07 Sep 2006) + + 07 Sep 2006; Sebastien Fabbro <seb@ist.utl.pt>; +torque-2.1.2.ebuild + +files/torque--setuid-safety.patch + Version bump. + *torque-2.1.0_p0 (20 May 2006) 20 May 2006; Sebastien Fabbro <seb@ist.utl.pt>; diff --git a/sys-cluster/torque/Manifest b/sys-cluster/torque/Manifest index 72de7a05c..948aa9975 100644 --- a/sys-cluster/torque/Manifest +++ b/sys-cluster/torque/Manifest @@ -1,13 +1,68 @@ -MD5 e1dc292a9a7eecfa7cb0f7c3051e843d ChangeLog 5605 -MD5 cf4938ca2752c9563ec72aac156f6b47 files/digest-torque-2.0.0_p8 67 -MD5 c7e2da6c8a84178e8ce9e5c0a85f455b files/digest-torque-2.1.0_p0 67 +AUX torque-2.0.0_p8-destdir-fixes.patch 539 RMD160 147dffcdc7f025a4678a6b8dd8ee74f29cd625d7 SHA1 89d64b04be55b66c5560edc45a81c59404beb895 SHA256 019ee2802c1cf09ab053fdf12983db675af42233ea67735f1967f898646c3c10 MD5 7647c23d0d5189ae7a9c2a4322ce1bb6 files/torque-2.0.0_p8-destdir-fixes.patch 539 +RMD160 147dffcdc7f025a4678a6b8dd8ee74f29cd625d7 files/torque-2.0.0_p8-destdir-fixes.patch 539 +SHA256 019ee2802c1cf09ab053fdf12983db675af42233ea67735f1967f898646c3c10 files/torque-2.0.0_p8-destdir-fixes.patch 539 +AUX torque-2.0.0_p8-libpbs-pic.patch 557 RMD160 3e5c1a9685f55a82cb7738f1eda9bccd240da196 SHA1 c9e37d34011938e0da7ac095c869c5116640250c SHA256 068ab8486ab48368e29dbd5f68f24f406fee82b2ff5d17f6bf4b755d841bfd65 MD5 9f25beb5f23e2ec65b02a6dc174fc452 files/torque-2.0.0_p8-libpbs-pic.patch 557 +RMD160 3e5c1a9685f55a82cb7738f1eda9bccd240da196 files/torque-2.0.0_p8-libpbs-pic.patch 557 +SHA256 068ab8486ab48368e29dbd5f68f24f406fee82b2ff5d17f6bf4b755d841bfd65 files/torque-2.0.0_p8-libpbs-pic.patch 557 +AUX torque-2.0.0_p8-makedepend.patch 754 RMD160 084815802dfa92d1f5d3bdd237bcf4276d323546 SHA1 5315a4a3eac1e0037d6e3300022ec7a4566bb4f1 SHA256 1d03e2abc9acae399ee29e0ed1d1b399f63cbdc96d2967775e402fabf05402c9 MD5 5f41eb14cea3408472c133849550faef files/torque-2.0.0_p8-makedepend.patch 754 +RMD160 084815802dfa92d1f5d3bdd237bcf4276d323546 files/torque-2.0.0_p8-makedepend.patch 754 +SHA256 1d03e2abc9acae399ee29e0ed1d1b399f63cbdc96d2967775e402fabf05402c9 files/torque-2.0.0_p8-makedepend.patch 754 +AUX torque-2.0.0_p8-respect-destdir.patch 21832 RMD160 3550589b7f3fbed37cf4ea7de60f00e97bd3eed5 SHA1 5f193afbf544137bbb3e2bd0433d4c31c876d984 SHA256 4d6fc4b1894273a376051d7495414125ecbc2e812e924bce21d39f085a4c94ce MD5 b551147a374f034bf251490ce985be6b files/torque-2.0.0_p8-respect-destdir.patch 21832 +RMD160 3550589b7f3fbed37cf4ea7de60f00e97bd3eed5 files/torque-2.0.0_p8-respect-destdir.patch 21832 +SHA256 4d6fc4b1894273a376051d7495414125ecbc2e812e924bce21d39f085a4c94ce files/torque-2.0.0_p8-respect-destdir.patch 21832 +AUX torque-2.0.0_p8-respect-ldflags.patch 2710 RMD160 ced6a3a883e7a62fd7183b30b8a6331909b4010d SHA1 4c964a00501a838531138c937a11b123c98f74b9 SHA256 0683556bcb105605bfa34b301a2086577bce6d670e827c7aaa91e033f7206118 MD5 3ea9d3a2e1cff3ccd224f0e0b33da6d5 files/torque-2.0.0_p8-respect-ldflags.patch 2710 +RMD160 ced6a3a883e7a62fd7183b30b8a6331909b4010d files/torque-2.0.0_p8-respect-ldflags.patch 2710 +SHA256 0683556bcb105605bfa34b301a2086577bce6d670e827c7aaa91e033f7206118 files/torque-2.0.0_p8-respect-ldflags.patch 2710 +AUX torque-2.0.0_p8-setuid-safety.patch 997 RMD160 b9b1dab3b83dd820c6e968d2becc13b5e3f23541 SHA1 d7af6e21ff31a9bc4da5cd07a4b3ffc9063a4247 SHA256 091fa1014658a683edb7bec6878df43cb16176578a2818e65555c37186945c0b MD5 f362dc4addcab08a5d537913b99c9484 files/torque-2.0.0_p8-setuid-safety.patch 997 +RMD160 b9b1dab3b83dd820c6e968d2becc13b5e3f23541 files/torque-2.0.0_p8-setuid-safety.patch 997 +SHA256 091fa1014658a683edb7bec6878df43cb16176578a2818e65555c37186945c0b files/torque-2.0.0_p8-setuid-safety.patch 997 +AUX torque-2.1.0_p0-setuid-safety.patch 1020 RMD160 199a8d543c6f0de0934211ca248b637f61f1a0d0 SHA1 9a5d8d9aa6cc14a1be120f506a38b0910c9bfc16 SHA256 0770e6d88889224db2718c93846a55e1d17b6a457cbb2e80cd9d9e22a8d85e33 MD5 a62390b5bf5adb5fdc7091326cf7b396 files/torque-2.1.0_p0-setuid-safety.patch 1020 -MD5 873d7e3e93527942f580edbddb57061b metadata.xml 647 +RMD160 199a8d543c6f0de0934211ca248b637f61f1a0d0 files/torque-2.1.0_p0-setuid-safety.patch 1020 +SHA256 0770e6d88889224db2718c93846a55e1d17b6a457cbb2e80cd9d9e22a8d85e33 files/torque-2.1.0_p0-setuid-safety.patch 1020 +AUX torque-setuid-safety.patch 1020 RMD160 199a8d543c6f0de0934211ca248b637f61f1a0d0 SHA1 9a5d8d9aa6cc14a1be120f506a38b0910c9bfc16 SHA256 0770e6d88889224db2718c93846a55e1d17b6a457cbb2e80cd9d9e22a8d85e33 +MD5 a62390b5bf5adb5fdc7091326cf7b396 files/torque-setuid-safety.patch 1020 +RMD160 199a8d543c6f0de0934211ca248b637f61f1a0d0 files/torque-setuid-safety.patch 1020 +SHA256 0770e6d88889224db2718c93846a55e1d17b6a457cbb2e80cd9d9e22a8d85e33 files/torque-setuid-safety.patch 1020 +DIST torque-2.0.0p8.tar.gz 2301494 +DIST torque-2.1.0p0.tar.gz 2649041 +DIST torque-2.1.2.tar.gz 2686724 RMD160 7ba5cf4b4655d6e77c705be30c539380ca5863c1 SHA1 9f8b011e9500bc7a4d90576866939d1f7c3d864d SHA256 c7bade897fc12f27f128e4081c8ed1f3137bf42684ca239c48b18eb01314710a +EBUILD torque-2.0.0_p8.ebuild 4601 RMD160 b38aa802a5c1c617ab39aa5fa6171412b3126bb7 SHA1 4c2b332842759d7e9c3c0239d0b8eb0789241806 SHA256 bdaa46347698860a159b10f4c89983de7d80a556222faacc80ff8f833eeb2169 MD5 5578565d8e5d8a91274c5bcec2aa5ab4 torque-2.0.0_p8.ebuild 4601 +RMD160 b38aa802a5c1c617ab39aa5fa6171412b3126bb7 torque-2.0.0_p8.ebuild 4601 +SHA256 bdaa46347698860a159b10f4c89983de7d80a556222faacc80ff8f833eeb2169 torque-2.0.0_p8.ebuild 4601 +EBUILD torque-2.1.0_p0.ebuild 3734 RMD160 6b9945df8c6ea0a71c29734830c19eb82be4bb67 SHA1 c422dddce8844f4b23d96c06a42c9f9623879469 SHA256 8a03e1c5d9637c644a4f2cf4cb67b60e67de7c0007055644fcfc0159e35e9fa8 MD5 69d8d60bbcd9756fe1620a71de8da2f5 torque-2.1.0_p0.ebuild 3734 +RMD160 6b9945df8c6ea0a71c29734830c19eb82be4bb67 torque-2.1.0_p0.ebuild 3734 +SHA256 8a03e1c5d9637c644a4f2cf4cb67b60e67de7c0007055644fcfc0159e35e9fa8 torque-2.1.0_p0.ebuild 3734 +EBUILD torque-2.1.2.ebuild 3726 RMD160 29244951293efcd72e77017a5c597e3580370b5b SHA1 61c38825306e9e04c9eea9fdb1207ea8140c4eb0 SHA256 88832372c0107f8f77678d98023bf773de2ad8c309cb8f0efac5975f07dc12f6 +MD5 97ccd30a643433e48ff66ef3f67c25a4 torque-2.1.2.ebuild 3726 +RMD160 29244951293efcd72e77017a5c597e3580370b5b torque-2.1.2.ebuild 3726 +SHA256 88832372c0107f8f77678d98023bf773de2ad8c309cb8f0efac5975f07dc12f6 torque-2.1.2.ebuild 3726 +MISC ChangeLog 5759 RMD160 e583dc9196f85b9ac24e1d22570346c26cfce0e7 SHA1 60a1e85277df2af964462a1ba90d1e40a859d214 SHA256 3489a0a62fa459ff3b4535aaad2446fda337e158fcfa73e27db4ea9519433e83 +MD5 55603166a2c6ee1ff21d47f31592c8c5 ChangeLog 5759 +RMD160 e583dc9196f85b9ac24e1d22570346c26cfce0e7 ChangeLog 5759 +SHA256 3489a0a62fa459ff3b4535aaad2446fda337e158fcfa73e27db4ea9519433e83 ChangeLog 5759 +MISC metadata.xml 647 RMD160 699c3778670f8272648db0b3f46678d27e23d7e9 SHA1 a3158aac02a34bc9e1387a821939b67caf1d8ecc SHA256 e181798dc927ae8c2e66bb9cb2939558f76d6bf2b379bd58498f442943dc43db +MD5 873d7e3e93527942f580edbddb57061b metadata.xml 647 +RMD160 699c3778670f8272648db0b3f46678d27e23d7e9 metadata.xml 647 +SHA256 e181798dc927ae8c2e66bb9cb2939558f76d6bf2b379bd58498f442943dc43db metadata.xml 647 +MISC torque-2.1.2.ebuild~ 3734 RMD160 6b9945df8c6ea0a71c29734830c19eb82be4bb67 SHA1 c422dddce8844f4b23d96c06a42c9f9623879469 SHA256 8a03e1c5d9637c644a4f2cf4cb67b60e67de7c0007055644fcfc0159e35e9fa8 +MD5 69d8d60bbcd9756fe1620a71de8da2f5 torque-2.1.2.ebuild~ 3734 +RMD160 6b9945df8c6ea0a71c29734830c19eb82be4bb67 torque-2.1.2.ebuild~ 3734 +SHA256 8a03e1c5d9637c644a4f2cf4cb67b60e67de7c0007055644fcfc0159e35e9fa8 torque-2.1.2.ebuild~ 3734 +MD5 cf4938ca2752c9563ec72aac156f6b47 files/digest-torque-2.0.0_p8 67 +RMD160 c0c597c1ce6f809449169d792ac1b1f6a9d56c58 files/digest-torque-2.0.0_p8 67 +SHA256 89ec1970aa512ed935a39d9d3e123c7a98973860dd9f36a72c31e56cafa37ac0 files/digest-torque-2.0.0_p8 67 +MD5 c7e2da6c8a84178e8ce9e5c0a85f455b files/digest-torque-2.1.0_p0 67 +RMD160 8c6117e04fc3e4adb497bd322564bb86ec58bb44 files/digest-torque-2.1.0_p0 67 +SHA256 31d6ecf98791f299c1cf0d718d41924ca1c0333e10c7e3cfacc8f5bd3cc76307 files/digest-torque-2.1.0_p0 67 +MD5 d53296cdc58c020b280c7c1d41f60b01 files/digest-torque-2.1.2 241 +RMD160 9c81b5aaae697d1e5a7185e75dca97f462a13e6c files/digest-torque-2.1.2 241 +SHA256 6b0a8e9fd78aa9b11935faff694c105b1cd65af0a1aaabf2981d712879d4e060 files/digest-torque-2.1.2 241 diff --git a/sys-cluster/torque/files/digest-torque-2.1.2 b/sys-cluster/torque/files/digest-torque-2.1.2 new file mode 100644 index 000000000..5bb1ccd83 --- /dev/null +++ b/sys-cluster/torque/files/digest-torque-2.1.2 @@ -0,0 +1,3 @@ +MD5 f1b37efb5d4770a0105c66294a05d140 torque-2.1.2.tar.gz 2686724 +RMD160 7ba5cf4b4655d6e77c705be30c539380ca5863c1 torque-2.1.2.tar.gz 2686724 +SHA256 c7bade897fc12f27f128e4081c8ed1f3137bf42684ca239c48b18eb01314710a torque-2.1.2.tar.gz 2686724 diff --git a/sys-cluster/torque/files/torque-setuid-safety.patch b/sys-cluster/torque/files/torque-setuid-safety.patch new file mode 100644 index 000000000..81dba4b14 --- /dev/null +++ b/sys-cluster/torque/files/torque-setuid-safety.patch @@ -0,0 +1,24 @@ +diff -Naur torque-2.1.0p0/src/iff/Makefile.in torque-2.1.0p0.new/src/iff/Makefile.in +--- torque-2.1.0p0/src/iff/Makefile.in 2006-04-06 22:56:32.000000000 +0100 ++++ torque-2.1.0p0.new/src/iff/Makefile.in 2006-05-19 23:51:52.000000000 +0100 +@@ -146,7 +146,7 @@ + am_pbs_iff_OBJECTS = iff2.$(OBJEXT) + pbs_iff_OBJECTS = $(am_pbs_iff_OBJECTS) + pbs_iff_DEPENDENCIES = ../lib/Libpbs/libtorque.la +-pbs_iff_LDFLAGS = ++pbs_iff_LDFLAGS = -Wl,-z,now + + DEFS = @DEFS@ + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src/include +diff -Naur torque-2.1.0p0/src/mom_rcp/Makefile.in torque-2.1.0p0.new/src/mom_rcp/Makefile.in +--- torque-2.1.0p0/src/mom_rcp/Makefile.in 2006-04-06 22:56:34.000000000 +0100 ++++ torque-2.1.0p0.new/src/mom_rcp/Makefile.in 2006-05-19 23:52:42.000000000 +0100 +@@ -145,7 +145,7 @@ + pbs_rcp_OBJECTS = $(am_pbs_rcp_OBJECTS) + pbs_rcp_LDADD = $(LDADD) + pbs_rcp_DEPENDENCIES = +-pbs_rcp_LDFLAGS = ++pbs_rcp_LDFLAGS = -Wl,-z,now + + DEFS = @DEFS@ + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src/include diff --git a/sys-cluster/torque/torque-2.1.2.ebuild b/sys-cluster/torque/torque-2.1.2.ebuild new file mode 100644 index 000000000..820d23fb8 --- /dev/null +++ b/sys-cluster/torque/torque-2.1.2.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + + +inherit autotools flag-o-matic eutils + +MY_P="${P/_}" +DESCRIPTION="Resource manager and queuing system based on OpenPBS" +HOMEPAGE="http://www.clusterresources.com/products/torque/" +SRC_URI="http://www.clusterresources.com/downloads/${PN}/${MY_P}.tar.gz" + +LICENSE="openpbs" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="tk scp server" +PROVIDE="virtual/pbs" + +# ed is used by makedepend-sh +DEPEND_COMMON="virtual/libc + sys-libs/ncurses + sys-libs/readline + tk? ( dev-tcltk/tclx ) + !virtual/pbs" + +DEPEND="${DEPEND_COMMON} + sys-apps/ed" + +RDEPEND="${DEPEND_COMMON} + scp? net-misc/openssh + !scp? ( net-misc/netkit-rsh )" + +PDEPEND=">=sys-cluster/openpbs-common-1.1.1" + +S="${WORKDIR}/${MY_P}" + +SPOOL_LOCATION="/var/spool" # this needs to move to /var later on +PBS_SERVER_HOME="${SPOOL_LOCATION}/PBS/" + + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch ${FILESDIR}/${PN}-setuid-safety.patch +} + + + +src_compile() { + + local myconf + if use server; then + myconf="--enable-server --with-default-server=$(hostname)" + elif [ -z "${PBS_SERVER_NAME}" ]; then + myconf="--disable-server --with-default-server=${PBS_SERVER_NAME}" + else + myconf="--disable-server --with-default-server=$(hostname)" + fi + + if use scp; then + myconf="${myconf} --with-rcp=scp" + else + myconf="${myconf} --with-rcp=mom_rcp" + fi + + econf \ + $(use_enable tk gui) \ + --libdir="\${exec_prefix}/$(get_libdir)/pbs" \ + --with-server-home=${PBS_SERVER_HOME} \ + --with-environ=/etc/pbs_environment \ + ${myconf} \ + || die "econf failed" + + emake || die "emake failed" +} + +# 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() { + root="$1" + s="${SPOOL_LOCATION}" + h="${PBS_SERVER_HOME}" + sp="${h}/server_priv" + einfo "Building spool directory under ${D}${h}" + for a in \ + 0755:${s} 0755:${h} 0755:${h}/aux 0700:${h}/checkpoint \ + 0755:${h}/mom_logs 0751:${h}/mom_priv 0751:${h}/mom_priv/jobs \ + 0755:${h}/sched_logs 0750:${h}/sched_priv \ + 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 \ + 1777:${h}/spool 1777:${h}/undelivered ; + do + d="${a/*:}" + m="${a/:*}" + if [ ! -d "${root}${d}" ]; then + install -d -m${m} ${root}${d} + else + chmod ${m} ${root}${d} + fi + done +} + +src_install() { + # Make directories first + pbs_createspool "${D}" + + make DESTDIR=${D} install || die "make install failed" + dodoc CHANGELOG DEVELOPMENT README.* Release_Notes doc/admin_guide.ps + + # this file MUST exist for PBS/Torque to work + # but try to preserve any customatizations that the user has made + dodir /etc + if [ -f ${ROOT}/etc/pbs_environment ]; then + cp ${ROOT}/etc/pbs_environment ${D}/etc/pbs_environment + else + touch ${D}/etc/pbs_environment + fi + + if [ -f "${ROOT}/var/spool/PBS/server_name" ]; then + cp "${ROOT}/var/spool/PBS/server_name" "${D}/var/spool/PBS/server_name" + 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" + mv "${file}.new" "${file}" + done +} + +pkg_postinst() { + # make sure the damn directories exist + pbs_createspool "${ROOT}" + [ ! -f "${ROOT}/etc/pbs_environment" ] && \ + touch "${ROOT}/etc/pbs_environment" +} |