diff options
Diffstat (limited to 'sys-cluster')
57 files changed, 59 insertions, 1790 deletions
diff --git a/sys-cluster/ganglia/ChangeLog b/sys-cluster/ganglia/ChangeLog index 6300e93b8685..1b913be09c66 100644 --- a/sys-cluster/ganglia/ChangeLog +++ b/sys-cluster/ganglia/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/ganglia # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.11 2008/01/05 11:34:10 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.12 2008/01/31 06:46:49 dberkholz Exp $ + + 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; + -ganglia-2.5.7.ebuild, -ganglia-3.0.1.ebuild, -ganglia-3.0.2.ebuild, + -ganglia-3.0.3.ebuild: + Clean up. 05 Jan 2008; Markus Meier <maekke@gentoo.org> ganglia-3.0.6.ebuild: x86 stable, security bug #203085 diff --git a/sys-cluster/ganglia/files/digest-ganglia-2.5.7 b/sys-cluster/ganglia/files/digest-ganglia-2.5.7 deleted file mode 100644 index e2838b6736aa..000000000000 --- a/sys-cluster/ganglia/files/digest-ganglia-2.5.7 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7e0fd2f9f9be269823f49b535cf65245 ganglia-monitor-core-2.5.7.tar.gz 497202 -RMD160 83a63cee85b42a176207d8d7d134acf141f3cc91 ganglia-monitor-core-2.5.7.tar.gz 497202 -SHA256 b673eb67fe295779078a4bbba4fb3f2a8a2efebc3e5a973336d1fd35c3f27114 ganglia-monitor-core-2.5.7.tar.gz 497202 diff --git a/sys-cluster/ganglia/files/digest-ganglia-3.0.1 b/sys-cluster/ganglia/files/digest-ganglia-3.0.1 deleted file mode 100644 index d831710d4b99..000000000000 --- a/sys-cluster/ganglia/files/digest-ganglia-3.0.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 14f086834f91899d921bf7e7fe44b536 ganglia-3.0.1.tar.bz2 2649342 -RMD160 1f0ecc7388f1058d64df9ab98734810a983e6d26 ganglia-3.0.1.tar.bz2 2649342 -SHA256 5806fef3d43e57988032b2ce757e6e12a24d68185664868a5b5c6781b7f0656e ganglia-3.0.1.tar.bz2 2649342 diff --git a/sys-cluster/ganglia/files/digest-ganglia-3.0.2 b/sys-cluster/ganglia/files/digest-ganglia-3.0.2 deleted file mode 100644 index 076daadcdd24..000000000000 --- a/sys-cluster/ganglia/files/digest-ganglia-3.0.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 1a57b152cd0903eee4f19f11603e10fc ganglia-3.0.2.tar.gz 3408269 -RMD160 7ce35377c68a8ac944417db5ef893f06f7925bfb ganglia-3.0.2.tar.gz 3408269 -SHA256 c3e28fec0af62d7fefa865175558e6415be1106138590824726a62569ae6e628 ganglia-3.0.2.tar.gz 3408269 diff --git a/sys-cluster/ganglia/files/digest-ganglia-3.0.3 b/sys-cluster/ganglia/files/digest-ganglia-3.0.3 deleted file mode 100644 index 9aa86cbfb02d..000000000000 --- a/sys-cluster/ganglia/files/digest-ganglia-3.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c48320a112db20e8372ae8e89d97583e ganglia-3.0.3.tar.gz 2824785 -RMD160 4f12caf6b4e583fc141aa4b68caef4bfa064263f ganglia-3.0.3.tar.gz 2824785 -SHA256 02e6272aa5f614a5ea3336c8cc4e1cdcd794893114d08dda39188c010154deab ganglia-3.0.3.tar.gz 2824785 diff --git a/sys-cluster/ganglia/ganglia-2.5.7.ebuild b/sys-cluster/ganglia/ganglia-2.5.7.ebuild deleted file mode 100644 index eecd49f007d1..000000000000 --- a/sys-cluster/ganglia/ganglia-2.5.7.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-2.5.7.ebuild,v 1.3 2007/04/28 22:24:52 swegener Exp $ - -MY_P=ganglia-monitor-core-${PV} -DESCRIPTION="Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids" -HOMEPAGE="http://ganglia.sourceforge.net/" -SRC_URI="mirror://sourceforge/ganglia/${MY_P}.tar.gz" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="x86 ~ppc ~amd64" -IUSE="" - -DEPEND="net-analyzer/rrdtool" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${MY_P} - -src_compile() { - cd ${S} - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --enable-gexec \ - --with-gmetad || die "./configure failed" - - emake || die -} - -src_install() { - - einstall || die - - insinto /etc - doins gmond/gmond.conf - doins gmetad/gmetad.conf - doman mans/{gmetad.1,gmetric.1,gmond.1,gstat.1} - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README - dodir /var/lib/ganglia/rrds - fowners nobody:nobody /var/lib/ganglia/rrds - newinitd ${FILESDIR}/gmond.rc gmond - newinitd ${FILESDIR}/gmetad.rc gmetad - -} diff --git a/sys-cluster/ganglia/ganglia-3.0.1.ebuild b/sys-cluster/ganglia/ganglia-3.0.1.ebuild deleted file mode 100644 index 20c285726564..000000000000 --- a/sys-cluster/ganglia/ganglia-3.0.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.0.1.ebuild,v 1.3 2007/04/28 22:24:52 swegener Exp $ - -DESCRIPTION="Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids" -HOMEPAGE="http://ganglia.sourceforge.net/" -SRC_URI="mirror://sourceforge/ganglia/ganglia-${PV}.tar.bz2" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="" - -DEPEND="net-analyzer/rrdtool" -RDEPEND="${DEPEND}" - -src_compile() { - - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --enable-gexec \ - --with-gmetad || die "./configure failed" - - emake || die -} - -src_install() { - - einstall || die - - insinto /etc - doins gmond/gmond.conf - doins gmetad/gmetad.conf - doman mans/{gmetad.1,gmetric.1,gmond.1,gstat.1} - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README - dodir /var/lib/ganglia/rrds - fowners nobody:nobody /var/lib/ganglia/rrds - newinitd ${FILESDIR}/gmond.rc gmond - newinitd ${FILESDIR}/gmetad.rc gmetad - -} diff --git a/sys-cluster/ganglia/ganglia-3.0.2.ebuild b/sys-cluster/ganglia/ganglia-3.0.2.ebuild deleted file mode 100644 index daed73807584..000000000000 --- a/sys-cluster/ganglia/ganglia-3.0.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.0.2.ebuild,v 1.5 2007/04/28 22:24:52 swegener Exp $ - -DESCRIPTION="Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids" -HOMEPAGE="http://ganglia.sourceforge.net/" -SRC_URI="mirror://sourceforge/ganglia/ganglia-${PV}.tar.gz" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="" - -DEPEND="net-analyzer/rrdtool" -RDEPEND="${DEPEND}" - -src_compile() { - - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --enable-gexec \ - --with-gmetad || die "./configure failed" - - emake || die -} - -src_install() { - - einstall || die - - insinto /etc - #doins gmond/gmond.conf - doins gmetad/gmetad.conf - doman mans/{gmetad.1,gmetric.1,gmond.1,gstat.1} - doman gmond/gmond.conf.5 - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README - keepdir /var/lib/ganglia/rrds - fowners nobody:nobody /var/lib/ganglia/rrds - newinitd ${FILESDIR}/gmond.rc gmond - newinitd ${FILESDIR}/gmetad.rc gmetad - -} diff --git a/sys-cluster/ganglia/ganglia-3.0.3.ebuild b/sys-cluster/ganglia/ganglia-3.0.3.ebuild deleted file mode 100644 index 6de6f2259c93..000000000000 --- a/sys-cluster/ganglia/ganglia-3.0.3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.0.3.ebuild,v 1.3 2007/04/28 22:24:52 swegener Exp $ - -DESCRIPTION="Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids" -HOMEPAGE="http://ganglia.sourceforge.net/" -SRC_URI="mirror://sourceforge/ganglia/ganglia-${PV}.tar.gz" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="" - -DEPEND="net-analyzer/rrdtool" -RDEPEND="${DEPEND}" - -src_compile() { - - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --enable-gexec \ - --with-gmetad || die "./configure failed" - - emake || die -} - -src_install() { - - einstall || die - - insinto /etc - #doins gmond/gmond.conf - doins gmetad/gmetad.conf - doman mans/{gmetad.1,gmetric.1,gmond.1,gstat.1} - doman gmond/gmond.conf.5 - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README - keepdir /var/lib/ganglia/rrds - fowners nobody:nobody /var/lib/ganglia/rrds - newinitd ${FILESDIR}/gmond.rc gmond - newinitd ${FILESDIR}/gmetad.rc gmetad - -} diff --git a/sys-cluster/lspbs/ChangeLog b/sys-cluster/lspbs/ChangeLog index c072230c4d23..b05916bfb1ec 100644 --- a/sys-cluster/lspbs/ChangeLog +++ b/sys-cluster/lspbs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/lspbs -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lspbs/ChangeLog,v 1.9 2007/05/12 00:09:03 dberkholz Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lspbs/ChangeLog,v 1.10 2008/01/31 06:53:24 dberkholz Exp $ + + 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; -lspbs-1.0.ebuild, + -lspbs-1.0-r1.ebuild: + Clean up. 12 May 2007; Donnie Berkholz <dberkholz@gentoo.org>; lspbs-1.0.ebuild: Replace torque/openpbs deps with virtual/pbs. diff --git a/sys-cluster/lspbs/files/digest-lspbs-1.0 b/sys-cluster/lspbs/files/digest-lspbs-1.0 deleted file mode 100644 index 72b93cb9ac0e..000000000000 --- a/sys-cluster/lspbs/files/digest-lspbs-1.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b5713ea59d0112711e313ae1c7adbda4 lspbs-1.0.tar.gz 67122 -RMD160 772c56334f68fee4aa98498459748ce35af40506 lspbs-1.0.tar.gz 67122 -SHA256 59c519bd52abb4dec3d1defc72b0d557ffa9803ea2f3b816a80d69461945913c lspbs-1.0.tar.gz 67122 diff --git a/sys-cluster/lspbs/files/digest-lspbs-1.0-r1 b/sys-cluster/lspbs/files/digest-lspbs-1.0-r1 deleted file mode 100644 index 72b93cb9ac0e..000000000000 --- a/sys-cluster/lspbs/files/digest-lspbs-1.0-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b5713ea59d0112711e313ae1c7adbda4 lspbs-1.0.tar.gz 67122 -RMD160 772c56334f68fee4aa98498459748ce35af40506 lspbs-1.0.tar.gz 67122 -SHA256 59c519bd52abb4dec3d1defc72b0d557ffa9803ea2f3b816a80d69461945913c lspbs-1.0.tar.gz 67122 diff --git a/sys-cluster/lspbs/lspbs-1.0-r1.ebuild b/sys-cluster/lspbs/lspbs-1.0-r1.ebuild deleted file mode 100644 index 57970871be2f..000000000000 --- a/sys-cluster/lspbs/lspbs-1.0-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lspbs/lspbs-1.0-r1.ebuild,v 1.2 2007/07/14 22:18:04 mr_bones_ Exp $ - -DESCRIPTION="Displays clear, concise and up-to-date PBS node and CPU usage information." -SRC_URI="http://homepages.inf.ed.ac.uk/s0239160/misc/lspbs/lspbs-${PV}.tar.gz" -HOMEPAGE="http://homepages.inf.ed.ac.uk/s0239160/misc/lspbs/lspbs.html" -IUSE="" - -DEPEND="virtual/libc - virtual/pbs" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64 ~ppc" - -src_compile() { - cd ${S} - ./configure --mandir=/usr/share/man --prefix=/usr --with-pbs=/usr --with-pbs-src=/usr || die - make || die -} - -src_install() { - dodir /usr/sbin - dodir /usr/local/bin - - make install prefix=${D}/usr mandir=${D}/usr/share/man infodir=/usr/share/infoinstall || die - - dodoc COPYING README - doman lspbs.1 -} diff --git a/sys-cluster/lspbs/lspbs-1.0.ebuild b/sys-cluster/lspbs/lspbs-1.0.ebuild deleted file mode 100644 index ca06dda301a1..000000000000 --- a/sys-cluster/lspbs/lspbs-1.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lspbs/lspbs-1.0.ebuild,v 1.6 2007/07/14 22:18:04 mr_bones_ Exp $ - -DESCRIPTION="Displays clear, concise and up-to-date PBS node and CPU usage information." -SRC_URI="http://homepages.inf.ed.ac.uk/s0239160/misc/lspbs/lspbs-${PV}.tar.gz" -HOMEPAGE="http://homepages.inf.ed.ac.uk/s0239160/misc/lspbs/lspbs.html" -IUSE="" - -DEPEND="virtual/libc - virtual/pbs" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64 ~ppc" - -src_compile() { - cd ${S} - ./configure --mandir=/usr/share/man --prefix=/usr --with-pbs=/usr --with-pbs-src=/usr || die - make || die -} - -src_install() { - dodir /usr/sbin - dodir /usr/local/bin - - make install prefix=${D}/usr mandir=${D}/usr/share/man infodir=/usr/share/infoinstall || die - - dodoc COPYING README - doman lspbs.1 -} diff --git a/sys-cluster/maui/ChangeLog b/sys-cluster/maui/ChangeLog index 313f4ec97585..6f0062b4f24c 100644 --- a/sys-cluster/maui/ChangeLog +++ b/sys-cluster/maui/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/maui -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/ChangeLog,v 1.8 2007/07/02 15:32:03 peper Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/ChangeLog,v 1.9 2008/01/31 06:54:07 dberkholz Exp $ + + 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; + -maui-3.2.6_p13.ebuild, -maui-3.2.6_p13-r1.ebuild: + Clean up. 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> maui-3.2.6_p13.ebuild, maui-3.2.6_p13-r1.ebuild, maui-3.2.6_p16.ebuild: diff --git a/sys-cluster/maui/files/digest-maui-3.2.6_p13 b/sys-cluster/maui/files/digest-maui-3.2.6_p13 deleted file mode 100644 index 5192daf5109e..000000000000 --- a/sys-cluster/maui/files/digest-maui-3.2.6_p13 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b330867069ded056f2cf33253fd34c7b maui-3.2.6p13.tar.gz 883810 -RMD160 e712802cf9c39305844e017f604f2f6e0d9dd85d maui-3.2.6p13.tar.gz 883810 -SHA256 a13d347c087300e1dd92d48dd7fbdbe54881be4adc89441dbfc53ff85eb8cf7c maui-3.2.6p13.tar.gz 883810 diff --git a/sys-cluster/maui/files/digest-maui-3.2.6_p13-r1 b/sys-cluster/maui/files/digest-maui-3.2.6_p13-r1 deleted file mode 100644 index 5192daf5109e..000000000000 --- a/sys-cluster/maui/files/digest-maui-3.2.6_p13-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b330867069ded056f2cf33253fd34c7b maui-3.2.6p13.tar.gz 883810 -RMD160 e712802cf9c39305844e017f604f2f6e0d9dd85d maui-3.2.6p13.tar.gz 883810 -SHA256 a13d347c087300e1dd92d48dd7fbdbe54881be4adc89441dbfc53ff85eb8cf7c maui-3.2.6p13.tar.gz 883810 diff --git a/sys-cluster/maui/maui-3.2.6_p13-r1.ebuild b/sys-cluster/maui/maui-3.2.6_p13-r1.ebuild deleted file mode 100644 index d2f34df9003e..000000000000 --- a/sys-cluster/maui/maui-3.2.6_p13-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/maui-3.2.6_p13-r1.ebuild,v 1.5 2007/07/02 15:32:03 peper Exp $ - -inherit multilib - -DESCRIPTION="Maui Cluster Scheduler" -HOMEPAGE="http://www.clusterresources.com/products/maui/" -SRC_URI="http://www.clusterresources.com/downloads/maui/${P/_/}.tar.gz" -IUSE="" -DEPEND="virtual/pbs" -RDEPEND="${DEPEND} - virtual/libc" -SLOT="0" -LICENSE="maui" -KEYWORDS="~x86 ~amd64" -RESTRICT="fetch mirror" - -S="${WORKDIR}/${P/_/}" - -src_compile() { - econf --with-spooldir=/usr/spool/maui --with-pbs || die "econf failed!" - - # Torque on Gentoo installs libnet.a, which clobbers libnet.a from libnet. - # (Stupid developers.) Unfortunately, libnet also installs libnet.so, which - # Torque doesn't clobber, so when running make we end up linking against - # .so rather than .a. Big problem. Fix it. - - sed -i -e "s~-lnet~/usr/$(get_libdir)/pbs/libnet.a~" Makefile - sed -i -e "s~BUILDROOT=~BUILDROOT=${D}~" Makefile - emake || die "emake failed!" -} - -src_install() { - make install INST_DIR=${D}/usr - - cd docs - dodoc README mauidocs.html -} diff --git a/sys-cluster/maui/maui-3.2.6_p13.ebuild b/sys-cluster/maui/maui-3.2.6_p13.ebuild deleted file mode 100644 index 2344c41e5e68..000000000000 --- a/sys-cluster/maui/maui-3.2.6_p13.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/maui-3.2.6_p13.ebuild,v 1.3 2007/07/02 15:32:03 peper Exp $ - -DESCRIPTION="Maui Cluster Scheduler" -HOMEPAGE="http://www.clusterresources.com/products/maui/" -SRC_URI="http://www.clusterresources.com/downloads/maui/${P/_/}.tar.gz" -IUSE="" -DEPEND=">=sys-cluster/torque-1.2.0_p1-r1" -RDEPEND="${DEPEND} - virtual/libc" -SLOT="0" -LICENSE="maui" -KEYWORDS="~x86" -RESTRICT="fetch mirror" - -S="${WORKDIR}/${P/_/}" - -src_compile() { - econf --with-spooldir=/usr/spool/maui --with-pbs || die "econf failed!" - - # Torque on Gentoo installs libnet.a, which clobbers libnet.a from libnet. - # (Stupid developers.) Unfortunately, libnet also installs libnet.so, which - # Torque doesn't clobber, so when running make we end up linking against - # .so rather than .a. Big problem. Fix it. - - sed -i -e "s~-lnet~/usr/lib/torque/libnet.a~" Makefile - sed -i -e "s~-lpbs~/usr/lib/torque/libpbs.a~" Makefile - sed -i -e "s~BUILDROOT=~BUILDROOT=${D}~" Makefile - emake || die "emake failed!" -} - -src_install() { - make install INST_DIR=${D}/usr - - cd docs - dodoc README mauidocs.html -} diff --git a/sys-cluster/mpich2/ChangeLog b/sys-cluster/mpich2/ChangeLog index 05850bed861b..b085176f4c49 100644 --- a/sys-cluster/mpich2/ChangeLog +++ b/sys-cluster/mpich2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/mpich2 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.24 2007/12/24 17:32:54 nerdboy Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.25 2008/01/31 06:55:35 dberkholz Exp $ + + 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; + -files/mpich2-1.0.5_p4-make.patch, -files/mpich2-1.0.5_p4-soname.patch, + -mpich2-1.0.5_p4.ebuild: + Clean up. 24 Dec 2007; Steve Arnold <nerdboy@gentoo.org> +files/mpich2-1.0.6-no-pvfs2.patch, mpich2-1.0.6.ebuild: diff --git a/sys-cluster/mpich2/files/digest-mpich2-1.0.5_p4 b/sys-cluster/mpich2/files/digest-mpich2-1.0.5_p4 deleted file mode 100644 index 1aa7b58b853c..000000000000 --- a/sys-cluster/mpich2/files/digest-mpich2-1.0.5_p4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 44d4769e45f5bbd692bca80df732c593 mpich2-1.0.5p4.tar.gz 12849546 -RMD160 1a2b56468f88c5b4704662ae0dc6d648a6ca8a65 mpich2-1.0.5p4.tar.gz 12849546 -SHA256 4b819d318ec514c350ce0fea730126faa2ef36b5f00bc72c4a097dcf9979918d mpich2-1.0.5p4.tar.gz 12849546 diff --git a/sys-cluster/mpich2/files/mpich2-1.0.5_p4-make.patch b/sys-cluster/mpich2/files/mpich2-1.0.5_p4-make.patch deleted file mode 100644 index 10acbeb3b91d..000000000000 --- a/sys-cluster/mpich2/files/mpich2-1.0.5_p4-make.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- Makefile.in.orig 2007-06-18 19:19:21.000000000 -0700 -+++ Makefile.in 2007-06-18 19:27:36.000000000 -0700 -@@ -236,9 +236,9 @@ - if [ -s lib/lib${MPIFWRAPNAME}.a ] ; then $(INSTALL_DATA) lib/lib${MPIFWRAPNAME}.a ${DESTDIR}${libdir}/lib${MPIFWRAPNAME}.a ; fi - if [ -s lib/lib${PMPILIBNAME}.a ] ; then $(INSTALL_DATA) lib/lib${PMPILIBNAME}.a ${DESTDIR}${libdir}/lib${PMPILIBNAME}.a ; fi - if [ -s lib/libf${MPILIBNAME}.a ] ; then $(INSTALL_DATA) lib/libf${MPILIBNAME}.a ${DESTDIR}${libdir}/libf${MPILIBNAME}.a ; fi -- if [ -s lib/lib${MPILIBNAME}.@SHLIB_EXT@ ] ; then $(CREATESHLIB) --mode=install lib/lib${MPILIBNAME}.@SHLIB_EXT@ ${DESTDIR}${libdir}/lib${MPILIBNAME}.@SHLIB_EXT@ ; fi -- if [ -s lib/lib${PMPILIBNAME}.@SHLIB_EXT@ ] ; then $(CREATESHLIB) --mode=install lib/lib${PMPILIBNAME}.@SHLIB_EXT@ ${DESTDIR}${libdir}/lib${PMPILIBNAME}.@SHLIB_EXT@ ; fi -- if [ -s lib/libf${MPILIBNAME}.@SHLIB_EXT@ ] ; then $(CREATESHLIB) --mode=install lib/libf${MPILIBNAME}.@SHLIB_EXT@ ${DESTDIR}${libdir}/libf${MPILIBNAME}.@SHLIB_EXT@ ; fi -+ if [ -s lib/lib${MPILIBNAME}.@SHLIB_EXT@ ] ; then $(CREATESHLIB) --mode=install lib/lib${MPILIBNAME}.@SHLIB_EXT@ ${DESTDIR}${libdir}/lib${MPILIBNAME}.@SHLIB_EXT@.0.0 ; fi -+ if [ -s lib/lib${PMPILIBNAME}.@SHLIB_EXT@ ] ; then $(CREATESHLIB) --mode=install lib/lib${PMPILIBNAME}.@SHLIB_EXT@ ${DESTDIR}${libdir}/lib${PMPILIBNAME}.@SHLIB_EXT@.0.0 ; fi -+ if [ -s lib/libf${MPILIBNAME}.@SHLIB_EXT@ ] ; then $(CREATESHLIB) --mode=install lib/libf${MPILIBNAME}.@SHLIB_EXT@ ${DESTDIR}${libdir}/libf${MPILIBNAME}.@SHLIB_EXT@.0.0 ; fi - if [ -s $(srcdir)/doc/userguide/user.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/userguide/user.pdf ${DESTDIR}${docdir}/user.pdf ; fi - if [ -s $(srcdir)/doc/installguide/install.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/installguide/install.pdf ${DESTDIR}${docdir}/install.pdf ; fi - if [ -s $(srcdir)/doc/smpd/smpd_pmi.pdf ] ; then $(INSTALL_DATA) $(srcdir)/doc/smpd/smpd_pmi.pdf ${DESTDIR}${docdir}/smpd_pmi.pdf ; fi -@@ -266,9 +266,9 @@ - -rm -f ${DESTDIR}${libdir}/lib${MPIFWRAPNAME}.a - -rm -f ${DESTDIR}${libdir}/lib${PMPILIBNAME}.a - -rm -f ${DESTDIR}${libdir}/libf${MPILIBNAME}.a -- -rm -f ${DESTDIR}${libdir}/lib${MPILIBNAME}.@SHLIB_EXT@ -- -rm -f ${DESTDIR}${libdir}/lib${PMPILIBNAME}.@SHLIB_EXT@ -- -rm -f ${DESTDIR}${libdir}/libf${MPILIBNAME}.@SHLIB_EXT@ -+ -rm -f ${DESTDIR}${libdir}/lib${MPILIBNAME}.@SHLIB_EXT@* -+ -rm -f ${DESTDIR}${libdir}/lib${PMPILIBNAME}.@SHLIB_EXT@* -+ -rm -f ${DESTDIR}${libdir}/libf${MPILIBNAME}.@SHLIB_EXT@* - -rm -f ${DESTDIR}${docdir}/user.pdf - -rm -f ${DESTDIR}${docdir}/install.pdf - -rm -f ${DESTDIR}${docdir}/smpd_pmi.pdf diff --git a/sys-cluster/mpich2/files/mpich2-1.0.5_p4-soname.patch b/sys-cluster/mpich2/files/mpich2-1.0.5_p4-soname.patch deleted file mode 100644 index 37aabe0ec92f..000000000000 --- a/sys-cluster/mpich2/files/mpich2-1.0.5_p4-soname.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- configure.orig 2005-11-23 10:41:50.000000000 -0800 -+++ configure 2006-05-20 21:04:16.000000000 -0700 -@@ -9619,6 +9619,7 @@ - C_LINK_SHL=true - SHLIB_EXT=so - SHLIB_FROM_LO=no -+SHLIB_VER=0.0 - SHLIB_INSTALL='$(INSTALL_PROGRAM)' - case "$enable_sharedlibs" in - no|none) -@@ -9640,11 +9641,11 @@ - # Not quite right yet. See mpich/util/makesharedlib - # Use syntax that works in both Make and the shell - #C_LINK_SHL='${CC} -shared -Wl,-r' -- C_LINK_SHL='${CC} -shared' -+ C_LINK_SHL='${CC} -shared -Wl,-soname' - # For example, include the libname as ${LIBNAME_SHL} - #C_LINK_SHL='${CC} -shared -Wl,-h,<finallibname>' - # May need -fPIC -- CC_SHL='${CC} -fpic' -+ CC_SHL='${CC} -fPIC' - C_LINKPATH_SHL="-Wl,-rpath -Wl," - # We need to test that this isn't osx. The following is a - # simple hack - esac ---- src/util/createshlib.in.orig 2006-07-11 19:52:47.000000000 -0700 -+++ src/util/createshlib.in 2006-07-11 19:56:09.000000000 -0700 -@@ -172,7 +172,7 @@ - - *) - # This is the default model -- $Show ${C_LINK_SHL} -o $srclibbase.$SHLIB_EXT .tmp/*.o -+ $Show ${C_LINK_SHL} -Wl,$srclibbase.$SHLIB_EXT.0 -o $srclibbase.$SHLIB_EXT .tmp/*.o - ;; - esac - diff --git a/sys-cluster/mpich2/mpich2-1.0.5_p4.ebuild b/sys-cluster/mpich2/mpich2-1.0.5_p4.ebuild deleted file mode 100644 index a84df3190ca1..000000000000 --- a/sys-cluster/mpich2/mpich2-1.0.5_p4.ebuild +++ /dev/null @@ -1,219 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.0.5_p4.ebuild,v 1.3 2007/12/03 06:03:02 nerdboy Exp $ - -inherit eutils fortran distutils autotools kde-functions toolchain-funcs java-pkg - -DESCRIPTION="MPICH2 - A portable MPI implementation" -HOMEPAGE="http://www-unix.mcs.anl.gov/mpi/mpich2" -MY_P=${P/_/} -SRC_URI="ftp://ftp.mcs.anl.gov/pub/mpi/${MY_P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="crypt cxx debug doc fast fortran mpe mpe-sdk romio threads" - -DEPEND="virtual/libc - sys-devel/libtool - dev-lang/perl - >=dev-lang/python-2.3 - mpe-sdk? ( >=virtual/jdk-1.5 - x11-proto/xproto ) - romio? ( >=dev-libs/libaio-0.3.106 - net-fs/nfs-utils ) - doc? ( virtual/tetex )" - -RDEPEND="${DEPEND} - mpe-sdk? ( x11-libs/libX11 ) - crypt? ( net-misc/openssh ) - !crypt? ( net-misc/netkit-rsh ) - !sys-cluster/mpich - !sys-cluster/lam-mpi - !sys-cluster/openmpi - !media-sound/mpd - !media-sound/mpd-svn" - -RESTRICT="test" - -# To-do: work on tests and add SCTP support for kernel and user tools - -pkg_setup() { - if [ -n "${MPICH_CONFIGURE_OPTS}" ]; then - elog "User-specified configure options are ${MPICH_CONFIGURE_OPTS}." - else - elog "User-specified configure options are not set." - elog "If needed, see the docs and set MPICH_CONFIGURE_OPTS." - fi - - if use fortran ; then - if [ $(gcc-major-version) -ge 4 ] \ - && built_with_use sys-devel/gcc fortran ; then - FORTRAN="gfortran" - # we should conform to the Fortran standard, ie, integers - # and reals must be the same size - export F90FLAGS="-i4 ${F90FLAGS}" - fortran_pkg_setup - else - ewarn "You need gcc-4 built with fortran support in order to" - ewarn "build the f90 mpi interface, which is required for f90" - ewarn "and mpi support in hdf5 (for example)." - fi - else - ewarn "Unless you have another f90 compiler installed, we can only" - ewarn "build the f77 and C++ interfaces with gcc-3.x" - fi -} - -src_unpack() { - unpack ${A} - mv ${WORKDIR}/${MY_P} ${S} - cd ${S} - - ebegin "Reconfiguring" - find . -name configure -print | xargs rm - ./maint/updatefiles - use mpe-sdk && ./src/mpe2/maint/updatefiles - eend - - epatch ${FILESDIR}/${P}-make.patch || die "make patch failed" - epatch ${FILESDIR}/${P}-soname.patch || die "soname patch failed" - - sed -i -e "s:@LDFLAGS@:@LDFLAGS@ -Wl,-z,now:g" src/pm/mpd/Makefile.in \ - || die "sed failed" -} - -src_compile() { - local RSHCOMMAND - if use crypt ; then - RSHCOMMAND="ssh -x" - else - RSHCOMMAND="rsh" - fi - export RSHCOMMAND - - local myconf="${MPICH_CONFIGURE_OPTS}" - - if ! use debug ; then - myconf="${myconf} --enable-g=none" - else - myconf="${myconf} --enable-g=dbg --enable-debuginfo" - fi - - if ! use mpe-sdk ; then - myconf="${myconf} --enable-rlog=no --enable-slog2=no" - fi - - if use threads ; then - myconf="${myconf} --with-thread-package=pthreads" - else - myconf="${myconf} --with-thread-package=none" - fi - - # enable f90 support for appropriate compilers - case ${FORTRANC} in - gfortran|ifc|ifort|f95) - myconf="${myconf} --enable-f90" - esac - - use romio && myconf="${myconf} --with-file-system=nfs" - - use mpe && MPE_SRC_DIR=${S}/src/mpe2 - - if use doc; then - doc_conf="--docdir=/usr/share/doc/${PF} \ - --with-docdir=/usr/share/doc/${PF} \ - --with-htmldir=/usr/share/doc/${PF}/html \ - --with-pdfdir=/usr/share/doc/${PF} \ - --with-psdir=/usr/share/doc/${PF}" - else - doc_conf="--with-docdir=/usr/share/doc/${PF} \ - --with-htmldir=/usr/share/doc/${PF}/html" - fi - - ./configure --enable-sharedlibs=gcc \ - ${myconf} \ - ${doc_conf} \ - $(use_enable fast) \ - $(use_enable cxx) \ - $(use_enable mpe) \ - $(use_enable romio) \ - $(use_enable threads) \ - --libdir=/usr/$(get_libdir) \ - --includedir=/usr/include \ - --mandir=/usr/share/man \ - --sysconfdir=/etc/${PN} \ - --prefix=/usr --exec-prefix=/usr \ - --datadir=/usr/share/${PN} || die "configure failed" - - if use mpe-sdk; then - cd ${S}/src/mpe2 - ./configure --prefix=/usr --libdir=/usr/$(get_libdir)/mpe \ - --with-mpicc=${S}/bin/mpicc --with-mpif77=${S}/bin/mpif77 \ - --enable-collchk --enable-graphics=yes --enable-wrappers \ - --with-java=${JAVA_HOME} --datadir=/usr/share/${PN} \ - --with-flib_path_leader="-Wl,-L" --enable-mpich ${doc_conf} \ - --with-trace-libdir=/usr/$(get_libdir)/mpe/trace_rlog \ - || die "MPE configure failed" - cd ${S} - fi - - # no parallel make here - make FFLAGS="-fPIC" || die "make failed" -} - -src_install() { - dodir /etc/${PN} - - rm -rf src/mpe2/etc/*.in - - make DESTDIR=${D} LIBDIR=${D}usr/$(get_libdir) install \ - || die "make install failed" - - dodir /usr/share/doc/${PF} - if use doc; then - dodoc COPYRIGHT README README.romio README.testing CHANGES - dodoc README.developer RELEASE_NOTES - newdoc src/pm/mpd/README README.mpd - - if use mpe-sdk; then - dodoc src/mpe2/src/slog2sdk/README.sdk \ - src/mpe2/src/slog2sdk/README.rte - newdoc src/mpe2/src/slog2sdk/FAQ FAQ.sdk - fi - else - rm -rf ${D}usr/share/doc/${PF}/html - dodoc README CHANGES COPYRIGHT RELEASE_NOTES - fi - - # Tidy up a bit and create the missing links - rm ${D}usr/sbin/mpeuninstall - cd ${D}usr/$(get_libdir) - dosym libmpich.so.0.0 /usr/$(get_libdir)/libmpich.so - dosym libfmpich.so.0.0 /usr/$(get_libdir)/libfmpich.so -} - -pkg_postinst() { - python_version - python_mod_optimize ${ROOT}usr/bin - - elog "" - elog "Note 1: enabling the MPE2 SDK requires both a JDK and the core" - elog "X11 library for the full set of log analysis and conversion" - elog "utilities. You probably don't want to enable the mpe-sdk USE" - elog "flag on a server, cluster node, etc." - elog "" - elog "Note 2: this package still needs testing with other Fortran90" - elog "compilers besides gfortran (gcc4). The tests also need some" - elog "magic to build properly within the portage build environment." - elog "(currently the tests only build and run manually)" - elog "" - elog "The gfortran support has been tested successfully with hdf5" - elog "(using gfortran and the mpif90 wrapper)." - elog "" -} - -pkg_postrm() { - python_version - python_mod_cleanup -} diff --git a/sys-cluster/mpiexec/ChangeLog b/sys-cluster/mpiexec/ChangeLog index a51bcdfd97cc..48224853f7b9 100644 --- a/sys-cluster/mpiexec/ChangeLog +++ b/sys-cluster/mpiexec/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/mpiexec -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpiexec/ChangeLog,v 1.19 2007/05/12 00:07:32 dberkholz Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpiexec/ChangeLog,v 1.20 2008/01/31 06:56:46 dberkholz Exp $ + + 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; + -mpiexec-0.76-r1.ebuild, -mpiexec-0.76-r2.ebuild: + Clean up. 12 May 2007; Donnie Berkholz <dberkholz@gentoo.org>; mpiexec-0.76-r1.ebuild: diff --git a/sys-cluster/mpiexec/files/digest-mpiexec-0.76-r1 b/sys-cluster/mpiexec/files/digest-mpiexec-0.76-r1 deleted file mode 100644 index c98882c4f15d..000000000000 --- a/sys-cluster/mpiexec/files/digest-mpiexec-0.76-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5bd0512b7e6a2f86ac0397f93e6e6966 mpiexec-0.76.tgz 145241 -RMD160 6c90f528464134311788372433a9c6fe647f5c57 mpiexec-0.76.tgz 145241 -SHA256 bb06be588a7baf007888879b1f470bedbf58fe68dedc119308f0c0610b694cc8 mpiexec-0.76.tgz 145241 diff --git a/sys-cluster/mpiexec/files/digest-mpiexec-0.76-r2 b/sys-cluster/mpiexec/files/digest-mpiexec-0.76-r2 deleted file mode 100644 index c98882c4f15d..000000000000 --- a/sys-cluster/mpiexec/files/digest-mpiexec-0.76-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5bd0512b7e6a2f86ac0397f93e6e6966 mpiexec-0.76.tgz 145241 -RMD160 6c90f528464134311788372433a9c6fe647f5c57 mpiexec-0.76.tgz 145241 -SHA256 bb06be588a7baf007888879b1f470bedbf58fe68dedc119308f0c0610b694cc8 mpiexec-0.76.tgz 145241 diff --git a/sys-cluster/mpiexec/mpiexec-0.76-r1.ebuild b/sys-cluster/mpiexec/mpiexec-0.76-r1.ebuild deleted file mode 100644 index a07dece77b56..000000000000 --- a/sys-cluster/mpiexec/mpiexec-0.76-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpiexec/mpiexec-0.76-r1.ebuild,v 1.3 2007/05/12 00:07:32 dberkholz Exp $ - -#S=${WORKDIR}/mpiexec-${PV} -DESCRIPTION="replacement for mpirun, integrates MPI with PBS." -SRC_URI="http://www.osc.edu/~pw/mpiexec/${P}.tgz" -HOMEPAGE="http://www.osc.edu/~pw/mpiexec/" -IUSE="" - -DEPEND="virtual/libc - virtual/pbs - sys-cluster/mpich" -RDEPEND="net-misc/openssh" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc" - -pkg_setup() { - # Do we have a SMP enabled kernel? - if [ ! -z "`uname -v | grep SMP`" ] - then - export SMP=1 - else - export SMP=0 - fi -} - -src_compile() { - #for SMP machines, disable the use of mpich/p4 shared memory - if [ "${SMP}" = 1 ]; then - myconf="--disable-p4-shmem" - fi - - # mpich-p4 is the best default - ./configure --mandir=/usr/share/man/man1/ \ - --prefix=/usr \ - --with-pbs=/usr \ - --with-default-comm=mpich-p4 \ - ${myconf} || die "configure failed" - - make || die "compile failed" - - ## demo-hello: usefull for debugging - make hello || die "compile hello failed" -} - -src_install() { - make prefix=${D}/usr \ - mandir=${D}/usr/share/man/man1/ \ - install || die "install failed" - - ## demo-hello: - dodoc hello.c - dobin hello - mv ${D}/usr/bin/hello{,_mpiexec} || die "moving hello failed" - - dodoc LICENSE README README.lam ChangeLog -} diff --git a/sys-cluster/mpiexec/mpiexec-0.76-r2.ebuild b/sys-cluster/mpiexec/mpiexec-0.76-r2.ebuild deleted file mode 100644 index 752bb4d459cc..000000000000 --- a/sys-cluster/mpiexec/mpiexec-0.76-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpiexec/mpiexec-0.76-r2.ebuild,v 1.2 2006/09/29 16:41:33 dberkholz Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="replacement for mpirun, integrates MPI with PBS." -SRC_URI="http://www.osc.edu/~pw/mpiexec/${P}.tgz" -HOMEPAGE="http://www.osc.edu/~pw/mpiexec/" -IUSE="sharedmem" - -DEPEND="virtual/libc - virtual/pbs - virtual/mpi" -RDEPEND="net-misc/openssh" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc" - -src_compile() { - # sharedmem should NOT be used on SMP boxes - myconf="`use_enable sharedmem p4-shmem`" - - # mpich-p4 is the best default - append-ldflags -L/usr/$(get_libdir)/pbs/lib - ./configure --mandir=/usr/share/man/man1/ \ - --prefix=/usr \ - --with-pbs=/usr \ - --with-default-comm=mpich-p4 \ - ${myconf} || die "configure failed" - - make || die "compile failed" - - ## demo-hello: usefull for debugging - make hello || die "compile hello failed" -} - -src_install() { - make prefix=${D}/usr \ - mandir=${D}/usr/share/man/man1/ \ - install || die "install failed" - - ## demo-hello: - dodoc hello.c - newbin hello hello_mpiexec - - dodoc LICENSE README README.lam ChangeLog -} diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog index c51f4b166400..672ce0a433bc 100644 --- a/sys-cluster/openmpi/ChangeLog +++ b/sys-cluster/openmpi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/openmpi # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.12 2008/01/17 01:52:43 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/ChangeLog,v 1.13 2008/01/31 06:57:45 dberkholz Exp $ + + 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; + -openmpi-1.1.1.ebuild, -openmpi-1.1.2.ebuild, -openmpi-1.2.4.ebuild, + -openmpi-1.2.4-r1.ebuild: + Clean up. *openmpi-1.2.5 (17 Jan 2008) diff --git a/sys-cluster/openmpi/files/digest-openmpi-1.1.1 b/sys-cluster/openmpi/files/digest-openmpi-1.1.1 deleted file mode 100644 index 4916795a3155..000000000000 --- a/sys-cluster/openmpi/files/digest-openmpi-1.1.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 498b9322ae0ad512026a008a30c7e0b5 openmpi-1.1.1.tar.bz2 3213827 -RMD160 664ce83191dbe1c18d1848d4b0a57c8b7a899398 openmpi-1.1.1.tar.bz2 3213827 -SHA256 dc31aaec986c4ce436dbf31e73275ed1a9391432dcad7609de8d0d3a78d2c700 openmpi-1.1.1.tar.bz2 3213827 diff --git a/sys-cluster/openmpi/files/digest-openmpi-1.1.2 b/sys-cluster/openmpi/files/digest-openmpi-1.1.2 deleted file mode 100644 index 1f23886b13cd..000000000000 --- a/sys-cluster/openmpi/files/digest-openmpi-1.1.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 53877ec8bca5f6e505496b6b94b1d850 openmpi-1.1.2.tar.bz2 3222389 -RMD160 823f3f828ed9dd9af48d33d1fe50596fa0eee42b openmpi-1.1.2.tar.bz2 3222389 -SHA256 3bd8d9fe40b356be7f9c3d336013d3865f8ca6a79b3c6e7ef28784f6c3a2b8e6 openmpi-1.1.2.tar.bz2 3222389 diff --git a/sys-cluster/openmpi/files/digest-openmpi-1.2.4 b/sys-cluster/openmpi/files/digest-openmpi-1.2.4 deleted file mode 100644 index f19425117f77..000000000000 --- a/sys-cluster/openmpi/files/digest-openmpi-1.2.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 311b38c597f54d8d6b277225ef458666 openmpi-1.2.4.tar.bz2 3541543 -RMD160 3eea820f19fcc69b4c1813331aa43171549aad25 openmpi-1.2.4.tar.bz2 3541543 -SHA256 594a3a0af69cc7895e0d8f9add776a44bf9ed389794323d0b1b45e181a97e538 openmpi-1.2.4.tar.bz2 3541543 diff --git a/sys-cluster/openmpi/files/digest-openmpi-1.2.4-r1 b/sys-cluster/openmpi/files/digest-openmpi-1.2.4-r1 deleted file mode 100644 index f19425117f77..000000000000 --- a/sys-cluster/openmpi/files/digest-openmpi-1.2.4-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 311b38c597f54d8d6b277225ef458666 openmpi-1.2.4.tar.bz2 3541543 -RMD160 3eea820f19fcc69b4c1813331aa43171549aad25 openmpi-1.2.4.tar.bz2 3541543 -SHA256 594a3a0af69cc7895e0d8f9add776a44bf9ed389794323d0b1b45e181a97e538 openmpi-1.2.4.tar.bz2 3541543 diff --git a/sys-cluster/openmpi/openmpi-1.1.1.ebuild b/sys-cluster/openmpi/openmpi-1.1.1.ebuild deleted file mode 100644 index 461f57ff8ba5..000000000000 --- a/sys-cluster/openmpi/openmpi-1.1.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.1.1.ebuild,v 1.8 2007/12/13 02:10:15 jsbronder Exp $ - -inherit eutils multilib flag-o-matic toolchain-funcs fortran - -MY_P=${P/-mpi} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="A high-performance message passing library (MPI)" -HOMEPAGE="http://www.open-mpi.org" -SRC_URI="http://www.open-mpi.org/software/ompi/v1.1/downloads/${MY_P}.tar.bz2" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="pbs fortran threads" -RDEPEND="virtual/libc - pbs? ( virtual/pbs ) - !sys-cluster/mpich - !sys-cluster/lam-mpi - !sys-cluster/mpich2" -DEPEND="${RDEPEND}" - -FORTRAN="ifc gfortran g77" - -pkg_setup() { - if use threads; then - ewarn - ewarn "WARNING: use of threads is highly experimental." - ewarn "You may stop now and set USE=-threads" - ewarn - epause 5 - fi - use fortran && fortran_pkg_setup -} - -src_compile() { - - einfo - einfo "OpenMPI has an overwhelming count of configuration options." - einfo "Don't forget the EXTRA_ECONF environment variable can let you" - einfo "specify configure options." - einfo - - local myconf="--sysconfdir=/etc/${PN}" - myconf="${myconf} --enable-pretty-print-stacktrace" - - if use threads; then - myconf="${myconf} --enable-mpi-threads" - myconf="${myconf} --with-progress-threads" - myconf="${myconf} --with-threads=posix" - fi - - if use fortran; then - myconf="${myconf} $(use enable fortran mpi-f77)" - [ "${FORTRANC}" = "g77" ] && \ - myconf="${myconf} --disable-mpi-f90" || \ - myconf="${myconf} --enable-mpi-f90" - fi - - use pbs && myconf="${myconf} $(use_with pbs tm /usr/$(get_libdir)/pbs)" - append-ldflags -Wl,-z,-noexecstack - - econf ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install () { - - make DESTDIR="${D}" install || die "make install failed" - - dodoc README AUTHORS NEWS VERSION -} diff --git a/sys-cluster/openmpi/openmpi-1.1.2.ebuild b/sys-cluster/openmpi/openmpi-1.1.2.ebuild deleted file mode 100644 index 8cb020349575..000000000000 --- a/sys-cluster/openmpi/openmpi-1.1.2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.1.2.ebuild,v 1.7 2007/07/14 22:18:04 mr_bones_ Exp $ - -inherit eutils multilib flag-o-matic toolchain-funcs fortran - -MY_P=${P/-mpi} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="A high-performance message passing library (MPI)" -HOMEPAGE="http://www.open-mpi.org" -SRC_URI="http://www.open-mpi.org/software/ompi/v1.1/downloads/${MY_P}.tar.bz2" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="pbs fortran threads" -RDEPEND="virtual/libc - pbs? ( virtual/pbs ) - !sys-cluster/mpich - !sys-cluster/lam-mpi - !sys-cluster/mpich2" -DEPEND="${RDEPEND}" - -FORTRAN="ifc gfortran g77" - -pkg_setup() { - if use threads; then - ewarn - ewarn "WARNING: use of threads is highly experimental." - ewarn "You may stop now and set USE=-threads" - ewarn - epause 5 - fi - use fortran && fortran_pkg_setup -} - -src_compile() { - - einfo - einfo "OpenMPI has an overwhelming count of configuration options." - einfo "Don't forget the EXTRA_ECONF environment variable can let you" - einfo "specify configure options." - einfo - - local myconf="--sysconfdir=/etc/${PN}" - myconf="${myconf} --enable-pretty-print-stacktrace" - - if use threads; then - myconf="${myconf} --enable-mpi-threads" - myconf="${myconf} --with-progress-threads" - myconf="${myconf} --with-threads=posix" - fi - - if use fortran; then - myconf="${myconf} $(use_enable fortran mpi-f77)" - [ "${FORTRANC}" = "g77" ] && \ - myconf="${myconf} --disable-mpi-f90" || \ - myconf="${myconf} --enable-mpi-f90" - fi - - use pbs && myconf="${myconf} $(use_with pbs tm /usr/$(get_libdir)/pbs)" - append-ldflags -Wl,-z,-noexecstack - - econf ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install () { - - make DESTDIR="${D}" install || die "make install failed" - - dodoc README AUTHORS NEWS VERSION -} diff --git a/sys-cluster/openmpi/openmpi-1.2.4-r1.ebuild b/sys-cluster/openmpi/openmpi-1.2.4-r1.ebuild deleted file mode 100644 index 41d3cc19a277..000000000000 --- a/sys-cluster/openmpi/openmpi-1.2.4-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4-r1.ebuild,v 1.1 2007/12/14 15:58:10 jsbronder Exp $ - -inherit eutils multilib flag-o-matic toolchain-funcs fortran - -MY_P=${P/-mpi} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="A high-performance message passing library (MPI)" -HOMEPAGE="http://www.open-mpi.org" -SRC_URI="http://www.open-mpi.org/software/ompi/v1.2/downloads/${MY_P}.tar.bz2" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="pbs fortran nocxx threads romio slurm heterogeneous smp ipv6" -RDEPEND="pbs? ( sys-cluster/torque ) - !sys-cluster/mpich - !sys-cluster/lam-mpi - !sys-cluster/mpich2" -DEPEND="${RDEPEND}" - -pkg_setup() { - if use threads; then - ewarn - ewarn "WARNING: use of threads is still disabled by default in" - ewarn "upstream builds." - ewarn "You may stop now and set USE=-threads" - ewarn - epause 5 - fi - - elog - elog "OpenMPI has an overwhelming count of configuration options." - elog "Don't forget the EXTRA_ECONF environment variable can let you" - elog "specify configure options if you find them necessary." - elog - - if use fortran; then - FORTRAN="g77 gfortran ifc" - fortran_pkg_setup - fi -} - -src_compile() { - local myconf=" - --sysconfdir=/etc/${PN} - --without-xgrid - --enable-pretty-print-stacktrace - --enable-orterun-prefix-by-default" - - if use threads; then - myconf="${myconf} - --enable-mpi-threads - --with-progress-threads - --with-threads=posix" - fi - - if use fortran; then - if [[ "${FORTRANC}" = "g77" ]]; then - myconf="${myconf} --disable-mpi-f90" - elif [[ "${FORTRANC}" = "gfortran" ]]; then - # Because that's just a pain in the butt. - myconf="${myconf} --with-wrapper-fflags=-I/usr/include" - elif [[ "${FORTRANC}" = if* ]]; then - # Enabled here as gfortran compile times are huge with this enabled. - myconf="${myconf} --with-mpi-f90-size=medium" - fi - else - myconf="${myconf} - --disable-mpi-f90 - --disable-mpi-f77" - fi - - econf ${myconf} \ - $(use_enable !nocxx mpi-cxx) \ - $(use_enable romio romio-io) \ - $(use_enable smp smp-locks) \ - $(use_enable heterogeneous) \ - $(use_with pbs tm /usr/$(get_libdir)/pbs) \ - $(use_with slurm) \ - $(use_enable ipv6) \ - || die "econf failed" - - emake || die "emake failed" -} - -src_install () { - emake DESTDIR="${D}" install || die "make install failed" - dodoc README AUTHORS NEWS VERSION -} diff --git a/sys-cluster/openmpi/openmpi-1.2.4.ebuild b/sys-cluster/openmpi/openmpi-1.2.4.ebuild deleted file mode 100644 index 2d41ee0e3a6e..000000000000 --- a/sys-cluster/openmpi/openmpi-1.2.4.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmpi/openmpi-1.2.4.ebuild,v 1.3 2007/12/14 15:58:10 jsbronder Exp $ - -inherit eutils multilib flag-o-matic toolchain-funcs fortran - -MY_P=${P/-mpi} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="A high-performance message passing library (MPI)" -HOMEPAGE="http://www.open-mpi.org" -SRC_URI="http://www.open-mpi.org/software/ompi/v1.2/downloads/${MY_P}.tar.bz2" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="pbs fortran nocxx threads romio slurm heterogeneous smp ipv6" -RDEPEND="pbs? ( sys-cluster/torque ) - !sys-cluster/mpich - !sys-cluster/lam-mpi - !sys-cluster/mpich2" -DEPEND="${RDEPEND}" - -pkg_setup() { - if use threads; then - ewarn - ewarn "WARNING: use of threads is still disabled by default in" - ewarn "upstream builds." - ewarn "You may stop now and set USE=-threads" - ewarn - epause 5 - fi - - elog - elog "OpenMPI has an overwhelming count of configuration options." - elog "Don't forget the EXTRA_ECONF environment variable can let you" - elog "specify configure options if you find them necessary." - elog - - if use fortran; then - FORTRAN="g77 gfortran ifc" - fortran_pkg_setup - fi -} - -src_compile() { - local myconf=" - --sysconfdir=/etc/${PN} - --without-xgrid - --enable-pretty-print-stacktrace - --enable-orterun-prefix-by-default" - - if use threads; then - myconf="${myconf} - --enable-mpi-threads - --with-progress-threads - --with-threads=posix" - fi - - if use fortran; then - if [[ "${FORTRANC}" = "g77" ]]; then - myconf="${myconf} --disable-mpi-f90" - elif [[ "${FORTRANC}" = "gfortran" ]]; then - # Because that's just a pain in the butt. - myconf="${myconf} --with-wrapper-fflags=-I/usr/include" - elif [[ "${FORTRANC}" = if* ]]; then - # Enabled here as gfortran compile times are huge with this enabled. - myconf="${myconf} --with-mpi-f90-size=medium" - fi - else - myconf="${myconf} - --disable-mpi-f90 - --disable-mpi-f77" - fi - - econf ${myconf} \ - $(use_enable !nocxx mpi-cxx) \ - $(use_enable romio romio-io) \ - $(use_enable smp smp-locks) \ - $(use_enable heterogeneous) \ - $(use_with pbs tm /usr/$(get_libdir)/pbs) \ - $(use_with slurm) \ - $(use_enable ipv6) \ - || die "econf failed" - - emake || die "emake failed" -} - -src_install () { - emake DESTDIR="${D}" install || die "make install failed" - dodoc README AUTHORS NEWS VERSION -} diff --git a/sys-cluster/openpbs-common/ChangeLog b/sys-cluster/openpbs-common/ChangeLog index d6eafc9f05f8..c61064afda43 100644 --- a/sys-cluster/openpbs-common/ChangeLog +++ b/sys-cluster/openpbs-common/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/openpbs-common -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openpbs-common/ChangeLog,v 1.16 2007/05/21 18:22:32 jer Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openpbs-common/ChangeLog,v 1.17 2008/01/31 06:58:46 dberkholz Exp $ + + 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; -files/pbs-init.d, + -openpbs-common-1.0.0.ebuild, -openpbs-common-1.1.0.ebuild: + Clean up. 21 May 2007; Jeroen Roovers <jer@gentoo.org> openpbs-common-1.1.1.ebuild: Stable for HPPA (bug #178510). diff --git a/sys-cluster/openpbs-common/files/digest-openpbs-common-1.0.0 b/sys-cluster/openpbs-common/files/digest-openpbs-common-1.0.0 deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/sys-cluster/openpbs-common/files/digest-openpbs-common-1.0.0 +++ /dev/null diff --git a/sys-cluster/openpbs-common/files/digest-openpbs-common-1.1.0 b/sys-cluster/openpbs-common/files/digest-openpbs-common-1.1.0 deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/sys-cluster/openpbs-common/files/digest-openpbs-common-1.1.0 +++ /dev/null diff --git a/sys-cluster/openpbs-common/files/pbs-init.d b/sys-cluster/openpbs-common/files/pbs-init.d deleted file mode 100644 index ea7532c7d886..000000000000 --- a/sys-cluster/openpbs-common/files/pbs-init.d +++ /dev/null @@ -1,114 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -opts="start stop restart" - -SERVERPID="/usr/spool/PBS/server_priv/server.lock" -MOMPID="/usr/spool/PBS/mom_priv/mom.lock" -SCHEDULER="${PBS_SCHEDULER:=pbs_sched}" -SCHEDPATH="`which ${SCHEDULER}`" -SCHEDFILE="`basename ${SCHEDPATH}`" -SCHEDPID="${PBS_SCHEDULER_PID:=/usr/spool/PBS/sched_priv/sched.lock}" - -depend() { - need net -} - -checkconfig() { - - HOSTNAME="`hostname`" - - if [ ! -e /usr/spool/PBS/server_name ] ; then - eerror "Missing config file /usr/spool/PBS/server_name" - return 1 - else - PBS_SERVER_NAME="`cat /usr/spool/PBS/server_name`" - if [ "x${HOSTNAME}" == "x${PBS_SERVER_NAME}" ] ; then - PBS_START_SERVER=1; - else - PBS_START_SERVER=0; - fi - fi - - if [ ! -e /usr/spool/PBS/mom_priv/config ] ; then - eerror "Missing config file /usr/spool/PBS/mom_priv/config" - return 1 - elif [ "${PBS_START_SERVER}" -eq 1 ] ; then - PBS_START_MOM="${PBS_SERVER_AND_MOM:=1}" - else - PBS_START_MOM="1" - fi - - if [ "${PBS_START_SERVER}" -eq 1 ] ; then - if [ ! -e /usr/spool/PBS/server_priv/nodes ] ; then - eerror "The startup script has detected this node is a server" - eerror "from the file /usr/spool/PBS/server_name," - eerror "but the config file /usr/spool/PBS/server_priv/nodes is missing" - return 1 - fi - fi - - if [ "${PBS_START_SERVER}" -eq 1 ] ; then - if [ -z "${SCHEDFILE}" ]; then - eerror "No scheduler defined and can't find pbs_sched" - return 1 - elif [ ! -x ${SCHEDPATH} ] ; then - eerror "Scheduler defined but can't be executed" - return 1 - fi - fi -} - -start() { - checkconfig || return 1 - - if [ "${PBS_START_MOM}" -gt 0 ] ; then - ebegin "Starting pbs_mom" - start-stop-daemon --start --pidfile ${MOMPID} \ - --startas /usr/sbin/pbs_mom - fi - - if [ "${PBS_START_SERVER}" -gt 0 ] ; then - ebegin "Starting pbs_server" - start-stop-daemon --start --quiet --pidfile ${SERVERPID} \ - --startas /usr/sbin/pbs_server - - ebegin "Starting ${SCHEDFILE}" - start-stop-daemon --start --quiet --pidfile ${SCHEDPID} \ - --startas ${SCHEDPATH} - fi - - eend $? -} - -stop() { - checkconfig || return 1 - - ret1=0 - ret2=0 - ret3=0 - if [ -e ${MOMPID} ] ; then - ebegin "Stopping pbs_mom" - start-stop-daemon --stop --pidfile ${MOMPID} - ret1=$? - rm -f ${MOMPID} - fi - - if [ -e ${SERVERPID} ] ; then - ebegin "Stopping pbs_server" - qterm -t immediate - ret2=$? - rm -f ${SERVERPID} - fi - - if [ -e ${SCHEDPID} ] ; then - ebegin "Stopping ${SCHEDFILE}" - start-stop-daemon --stop --pidfile ${SCHEDPID} - ret3=$? - rm -f ${SCHEDPID} - fi - - let ret=$(( $ret1 + $ret2 + $ret3 )) - eend $ret -} diff --git a/sys-cluster/openpbs-common/openpbs-common-1.0.0.ebuild b/sys-cluster/openpbs-common/openpbs-common-1.0.0.ebuild deleted file mode 100644 index 230536256fb3..000000000000 --- a/sys-cluster/openpbs-common/openpbs-common-1.0.0.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openpbs-common/openpbs-common-1.0.0.ebuild,v 1.4 2007/07/14 22:18:04 mr_bones_ Exp $ - -inherit eutils - -DESCRIPTION="Shared files for all OpenPBS implementations in Gentoo" -HOMEPAGE="http://www.gentoo.org" -SRC_URI="" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 x86" -IUSE="" - -DEPEND="" -RDEPEND="virtual/pbs" - -src_install() { - newinitd ${FILESDIR}/pbs-init.d pbs - newconfd ${FILESDIR}/pbs-conf.d pbs -} diff --git a/sys-cluster/openpbs-common/openpbs-common-1.1.0.ebuild b/sys-cluster/openpbs-common/openpbs-common-1.1.0.ebuild deleted file mode 100644 index 70c8e9b90fe1..000000000000 --- a/sys-cluster/openpbs-common/openpbs-common-1.1.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openpbs-common/openpbs-common-1.1.0.ebuild,v 1.3 2006/05/23 20:20:41 corsair Exp $ - -inherit eutils - -DESCRIPTION="Shared files for all OpenPBS implementations in Gentoo" -HOMEPAGE="http://www.gentoo.org" -SRC_URI="" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~amd64 ~ppc ppc64 x86" -IUSE="" - -DEPEND="" -RDEPEND="virtual/pbs" - -src_install() { - newinitd ${FILESDIR}/pbs-init.d pbs - newconfd ${FILESDIR}/pbs-conf.d pbs - newenvd ${FILESDIR}/pbs-env.d 25pbs -} diff --git a/sys-cluster/pconsole/ChangeLog b/sys-cluster/pconsole/ChangeLog index add7e2791ecd..946cb2e31612 100644 --- a/sys-cluster/pconsole/ChangeLog +++ b/sys-cluster/pconsole/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/pconsole -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pconsole/ChangeLog,v 1.7 2007/04/26 06:15:29 dberkholz Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pconsole/ChangeLog,v 1.8 2008/01/31 06:59:39 dberkholz Exp $ + + 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; -pconsole-1.0.ebuild, + -pconsole-1.0-r1.ebuild: + Clean up. 26 Apr 2007; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml: Update for cluster herd split to hp-cluster and ha-cluster. diff --git a/sys-cluster/pconsole/files/digest-pconsole-1.0 b/sys-cluster/pconsole/files/digest-pconsole-1.0 deleted file mode 100644 index 2ce7e496a51e..000000000000 --- a/sys-cluster/pconsole/files/digest-pconsole-1.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b0a170284c3272e2e403fc8f2ccfdd53 pconsole-1.0.tar.gz 215426 -RMD160 64545616d8a5b0e312e8d33976268de6c64318b1 pconsole-1.0.tar.gz 215426 -SHA256 94520bf65f726df9d7e686bb486e9a2828c29d09a20b9522f1da4f7d66700bb2 pconsole-1.0.tar.gz 215426 diff --git a/sys-cluster/pconsole/files/digest-pconsole-1.0-r1 b/sys-cluster/pconsole/files/digest-pconsole-1.0-r1 deleted file mode 100644 index 2ce7e496a51e..000000000000 --- a/sys-cluster/pconsole/files/digest-pconsole-1.0-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b0a170284c3272e2e403fc8f2ccfdd53 pconsole-1.0.tar.gz 215426 -RMD160 64545616d8a5b0e312e8d33976268de6c64318b1 pconsole-1.0.tar.gz 215426 -SHA256 94520bf65f726df9d7e686bb486e9a2828c29d09a20b9522f1da4f7d66700bb2 pconsole-1.0.tar.gz 215426 diff --git a/sys-cluster/pconsole/pconsole-1.0-r1.ebuild b/sys-cluster/pconsole/pconsole-1.0-r1.ebuild deleted file mode 100644 index d5ea73cf5c57..000000000000 --- a/sys-cluster/pconsole/pconsole-1.0-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pconsole/pconsole-1.0-r1.ebuild,v 1.1 2004/11/04 11:25:02 voxus Exp $ - -inherit eutils - -DESCRIPTION="Tool for managing multiple xterms simultaneously." -HOMEPAGE="http://www.heiho.net/pconsole/" -SRC_URI="http://www.xs4all.nl/~walterj/pconsole/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc" -IUSE="" -DEPEND="virtual/ssh" - -src_compile() { - epatch ${FILESDIR}/${P}-exit-warn.patch || einfo "Never mind.." - ./configure --prefix=${D}/usr - emake || die -} - -src_install() { - dobin pconsole pconsole.sh ssh.sh - fperms 4111 /usr/bin/pconsole - dodoc ChangeLog public_html/pconsole.html README.pconsole -} - -pkg_postinst() { - ewarn - ewarn "Warning:" - ewarn "pconsole installed with suid root!" - ewarn -} diff --git a/sys-cluster/pconsole/pconsole-1.0.ebuild b/sys-cluster/pconsole/pconsole-1.0.ebuild deleted file mode 100644 index 905cad478d35..000000000000 --- a/sys-cluster/pconsole/pconsole-1.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pconsole/pconsole-1.0.ebuild,v 1.2 2004/08/30 23:26:24 dholm Exp $ - -inherit eutils - -DESCRIPTION="Tool for managing multiple xterms simultaneously." -HOMEPAGE="http://www.heiho.net/pconsole/" -SRC_URI="http://www.xs4all.nl/~walterj/pconsole/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc" -IUSE="" -DEPEND="virtual/ssh" - -src_compile() { - epatch ${FILESDIR}/${P}-exit-warn.patch || einfo "Never mind.." - ./configure --prefix=${D}/usr - emake || die -} - -src_install() { - dobin pconsole pconsole.sh - fperms 4111 /usr/bin/pconsole - dodoc ChangeLog public_html/pconsole.html README.pconsole -} - -pkg_postinst() { - ewarn - ewarn "Warning:" - ewarn "pconsole installed with suid root!" - ewarn -} diff --git a/sys-cluster/pvm/ChangeLog b/sys-cluster/pvm/ChangeLog index e145157a7a94..f7a17914fe04 100644 --- a/sys-cluster/pvm/ChangeLog +++ b/sys-cluster/pvm/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-cluster/pvm -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/ChangeLog,v 1.35 2007/04/28 17:47:48 swegener Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/ChangeLog,v 1.36 2008/01/31 07:01:18 dberkholz Exp $ + + 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; -pvm-3.4.4-r2.ebuild: + Clean up. 28 Apr 2007; Sven Wegener <swegener@gentoo.org> pvm-3.4.4-r1.ebuild, pvm-3.4.4-r2.ebuild, pvm-3.4.4-r3.ebuild: diff --git a/sys-cluster/pvm/files/digest-pvm-3.4.4-r2 b/sys-cluster/pvm/files/digest-pvm-3.4.4-r2 deleted file mode 100644 index f3962e402855..000000000000 --- a/sys-cluster/pvm/files/digest-pvm-3.4.4-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 806abe9a866eab5981383c17ff9ed175 pvm3.4.4.tgz 967852 -RMD160 12e1efa58ffd9ad380ca036910d389a21e925c94 pvm3.4.4.tgz 967852 -SHA256 309643786738d2620bc0031201e4c77c5e6d595fdeb074acbf80926accf9ead5 pvm3.4.4.tgz 967852 diff --git a/sys-cluster/pvm/pvm-3.4.4-r2.ebuild b/sys-cluster/pvm/pvm-3.4.4-r2.ebuild deleted file mode 100644 index f140ec287cbe..000000000000 --- a/sys-cluster/pvm/pvm-3.4.4-r2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pvm/pvm-3.4.4-r2.ebuild,v 1.10 2007/04/28 17:47:48 swegener Exp $ - -inherit eutils - -MY_P="${P/-}" -DESCRIPTION="PVM: Parallel Virtual Machine" -HOMEPAGE="http://www.epm.ornl.gov/pvm/pvm_home.html" -SRC_URI="ftp://ftp.netlib.org/pvm3/${MY_P}.tgz " -IUSE="" -DEPEND="" -RDEPEND="virtual/libc" -SLOT="0" -LICENSE="as-is" -KEYWORDS="x86 ~ppc ~amd64 ~ppc64 ~ia64" -S="${WORKDIR}/${MY_P%%.*}" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-gentoo.diff || die - epatch ${FILESDIR}/${P}-s390.patch || die - epatch ${FILESDIR}/${P}-x86_64-segfault.patch || die - -# setup def files for other archs - cp conf/LINUX.def conf/LINUXX86_64.def - cp conf/LINUX.m4 conf/LINUXX86_64.m4 - cp conf/LINUX64.def conf/LINUXIA64.def - cp conf/LINUX64.m4 conf/LINUXIA64.m4 - cp conf/LINUX64.def conf/LINUXPPC64.def - cp conf/LINUX64.m4 conf/LINUXPPC64.m4 - -# s390 should go in this list if there is ever interest -# Patch the 64bit def files to look in lib64 dirs as well for libraries. - for I in X86_64 PPC64; do - sed -i -e "s|ARCHDLIB =|ARCHDLIB = -L/usr/lib64 -L/usr/X11R6/lib64|" conf/LINUX${I}.def - sed -i -e "s|ARCHLIB =|ARCHLIB = -L/usr/lib64 -L/usr/X11R6/lib64|" conf/LINUX${I}.def - done -} - -src_compile() { - export PVM_ROOT="${S}" - emake || die -} - -src_install() { - dodir /usr/share/man - rm man/man1 -fr - mv man/man3 ${D}/usr/share/man/ - - dodoc Readme - - #installs the rest of pvm - dodir /usr/share/pvm3 - cp -r * ${D}/usr/share/pvm3 - - #environment variables: - echo PVM_ROOT=/usr/share/pvm3 > ${T}/98pvm - echo PVM_ARCH=$(${D}/usr/share/pvm3/lib/pvmgetarch) >> ${T}/98pvm - doenvd ${T}/98pvm -} - -pkg_postinst() { - ewarn "Environment variables have changed. Do not forget to run etc-update," - ewarn "reboot or perform . /etc/profile before using pvm!" -} diff --git a/sys-cluster/torque/ChangeLog b/sys-cluster/torque/ChangeLog index dabe01329ccd..28b2018d17ca 100644 --- a/sys-cluster/torque/ChangeLog +++ b/sys-cluster/torque/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/torque # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/ChangeLog,v 1.57 2008/01/02 16:07:25 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/ChangeLog,v 1.58 2008/01/31 06:49:32 dberkholz Exp $ + + 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; -torque-2.2.1.ebuild, + -torque-2.2.1-r1.ebuild: + Clean up. 02 Jan 2008; Justin Bronder <jsbronder@gentoo.org> torque-2.1.6.ebuild, torque-2.2.1.ebuild, torque-2.2.1-r1.ebuild, torque-2.2.1-r2.ebuild: diff --git a/sys-cluster/torque/files/digest-torque-2.2.1 b/sys-cluster/torque/files/digest-torque-2.2.1 deleted file mode 100644 index a860e555ae54..000000000000 --- a/sys-cluster/torque/files/digest-torque-2.2.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4eebd8714435b52041ea99cc1a8beb03 torque-2.2.1.tar.gz 5370260 -RMD160 219e5a4234a1bbf0241c15f568a720752e48587c torque-2.2.1.tar.gz 5370260 -SHA256 6d2674d471e300df6ebda56ef80c2a7be0de33fc619f98ee78eee69af1d179b8 torque-2.2.1.tar.gz 5370260 diff --git a/sys-cluster/torque/files/digest-torque-2.2.1-r1 b/sys-cluster/torque/files/digest-torque-2.2.1-r1 deleted file mode 100644 index a860e555ae54..000000000000 --- a/sys-cluster/torque/files/digest-torque-2.2.1-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4eebd8714435b52041ea99cc1a8beb03 torque-2.2.1.tar.gz 5370260 -RMD160 219e5a4234a1bbf0241c15f568a720752e48587c torque-2.2.1.tar.gz 5370260 -SHA256 6d2674d471e300df6ebda56ef80c2a7be0de33fc619f98ee78eee69af1d179b8 torque-2.2.1.tar.gz 5370260 diff --git a/sys-cluster/torque/torque-2.2.1-r1.ebuild b/sys-cluster/torque/torque-2.2.1-r1.ebuild deleted file mode 100644 index 5b5d9a890078..000000000000 --- a/sys-cluster/torque/torque-2.2.1-r1.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-2.2.1-r1.ebuild,v 1.4 2008/01/02 16:07:25 jsbronder Exp $ - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Resource manager and queuing system based on OpenPBS" -HOMEPAGE="http://www.clusterresources.com/products/torque/" -SRC_URI="http://www.clusterresources.com/downloads/${PN}/${P}.tar.gz" - -LICENSE="openpbs" - -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="tk crypt server syslog doc" -PROVIDE="virtual/pbs" - -# ed is used by makedepend-sh -DEPEND_COMMON="virtual/libc - sys-libs/ncurses - sys-libs/readline - tk? ( dev-lang/tk ) - syslog? ( virtual/logger ) - !virtual/pbs - !sys-cluster/openpbs-common - !<x11-misc/qterm-0.4.0-r1" - -DEPEND="${DEPEND_COMMON} - sys-apps/ed" - -RDEPEND="${DEPEND_COMMON} - crypt? ( net-misc/openssh ) - !crypt? ( net-misc/netkit-rsh )" - -[ -n "${PBS_SERVER_HOME}" ] || PBS_SERVER_HOME="/var/spool/torque" - -src_unpack() { - unpack "${A}" - cd "${S}" - epatch "${FILESDIR}"/${PN}-setuid-safety-am.patch - # Otherwise we'll fail due to strings over ISO C89 defined length 509 - sed -i 's:gcc_warning_flags="\(.*\)-Werror":gcc_warning_flags="\1":' configure.ac - eautoreconf || die "eautoreconf failed" -} - -src_compile() { - local myconf - - if use crypt; then - myconf="--with-rcp=scp" - else - myconf="--with-rcp=mom_rcp" - fi - - [ -n "${PBS_SERVER_NAME}" ] || PBS_SERVER_NAME=$(hostname -f) - - # TODO: Allow cpusets - econf \ - $(use_enable tk gui) \ - $(use_enable syslog) \ - $(use_enable server) \ - --with-server-home=${PBS_SERVER_HOME} \ - --with-environ=/etc/pbs_environment \ - --with-default-server=${PBS_SERVER_NAME} \ - ${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() { - 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}" - - make DESTDIR="${D}" install || die "make install failed" - - dodoc CHANGELOG DEVELOPMENT README.* Release_Notes || die "dodoc failed" - if use doc; then - dodoc doc/admin_guide.ps doc/*.pdf || die "dodoc failed" - fi - - # this file MUST exist for PBS/Torque to work - # but try to preserve any customatizations that the user has made - dodir /etc - mv "${D}"${PBS_SERVER_HOME}/pbs_environment "${D}"/etc/ - - # 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 - - if use server; then - newinitd "${FILESDIR}"/pbs_server-init.d-2.2.1-r1 pbs_server - newinitd "${FILESDIR}"/pbs_sched-init.d-2.2.1-r1 pbs_sched - fi - newinitd "${FILESDIR}"/pbs_mom-init.d-2.2.1-r1 pbs_mom - newconfd "${FILESDIR}"/torque-conf.d-2.2.1-r1 torque - newenvd "${FILESDIR}"/torque-env.d-2.2.1-r1 25torque -} - -pkg_preinst() { - if [[ -f "${ROOT}etc/pbs_environment" ]]; then - cp "${ROOT}etc/pbs_environment" "${D}"/etc/pbs_environment - fi - - if [ -n "${PBS_SERVER_NAME}" ]; then - echo "${PBS_SERVER_NAME}" > "${D}${PBS_SERVER_HOME}/server_name" - elif [[ -f "${ROOT}${PBS_SERVER_HOME}/server_name" ]]; then - cp "${ROOT}${PBS_SERVER_HOME}/server_name" "${D}${PBS_SERVER_HOME}/server_name" - fi - - # 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 -} - -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}" - - elog "There are a couple of changes in this ebuild." - elog "1.) The pbs-server-home has been moved from /var/spool/PBS to /var/spool/torque." - elog "2.) pbs_server, pbs_mom and pbs_sched now have separate init scripts" - - elog "Be sure to run env-update if this is your first install or you" - elog "changed PBS_SERVER_HOME!" -} - -# Either the correct PBS_SERVER_HOME and PBS_SERVER_NAME are set -# or we use the default HOME and the localhost as the server. -# 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="${ROOT}/${PBS_SERVER_HOME}" - local rc=0 - - ebegin "Configuring Torque" - [ -n "${PBS_SERVER_NAME}" ] || PBS_SERVER_NAME=$(hostname -f) - einfo "Using ${PBS_SERVER_HOME} 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" - if ! echo "y" | "${ROOT}"/usr/sbin/pbs_server \ - -d "${ROOT}${PBS_SERVER_HOME}" -t create &>/dev/null; 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.2.1.ebuild b/sys-cluster/torque/torque-2.2.1.ebuild deleted file mode 100644 index c757e2ec1acf..000000000000 --- a/sys-cluster/torque/torque-2.2.1.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-2.2.1.ebuild,v 1.3 2008/01/02 16:07:25 jsbronder Exp $ - -inherit autotools flag-o-matic eutils - -DESCRIPTION="Resource manager and queuing system based on OpenPBS" -HOMEPAGE="http://www.clusterresources.com/products/torque/" -SRC_URI="http://www.clusterresources.com/downloads/${PN}/${P}.tar.gz" - -LICENSE="openpbs" - -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="tk crypt server syslog doc" -PROVIDE="virtual/pbs" - -# ed is used by makedepend-sh -DEPEND_COMMON="virtual/libc - sys-libs/ncurses - sys-libs/readline - tk? ( dev-lang/tk ) - syslog? ( virtual/logger ) - !virtual/pbs - !sys-cluster/openpbs-common - !<x11-misc/qterm-0.4.0-r1" - -DEPEND="${DEPEND_COMMON} - sys-apps/ed" - -RDEPEND="${DEPEND_COMMON} - crypt? ( net-misc/openssh ) - !crypt? ( net-misc/netkit-rsh )" - -# TODO: Conforming to FHS? There are config files here -# and files that are processed by the daemons. -SPOOL_LOCATION="/var/spool" -PBS_SERVER_HOME="${SPOOL_LOCATION}/torque/" - -src_unpack() { - unpack "${A}" - cd "${S}" - epatch "${FILESDIR}"/${PN}-setuid-safety-am.patch - # Otherwise we'll fail due to strings over ISO C89 defined length 509 - sed -i 's:gcc_warning_flags="\(.*\)-Werror":gcc_warning_flags="\1":' configure.ac - eautoreconf || die "eautoreconf failed" -} - -src_compile() { - local myconf - - if use crypt; then - myconf="--with-rcp=scp" - else - myconf="--with-rcp=mom_rcp" - fi - # TODO: Allow cpusets - econf \ - $(use_enable tk gui) \ - $(use_enable syslog) \ - $(use_enable server) \ - --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() { - local root="$1" - local s="${SPOOL_LOCATION}" - 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}" - - make DESTDIR="${D}" install || die "make install failed" - - dodoc CHANGELOG DEVELOPMENT README.* Release_Notes || die "dodoc failed" - if use doc; then - dodoc doc/admin_guide.ps doc/*.pdf || die "dodoc failed" - fi - - # this file MUST exist for PBS/Torque to work - # but try to preserve any customatizations that the user has made - dodir /etc - mv "${D}"${PBS_SERVER_HOME}/pbs_environment "${D}"/etc/ - - # 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 - - if use server; then - newinitd "${FILESDIR}"/pbs_server-init.d-2.2.1 pbs_server - newinitd "${FILESDIR}"/pbs_sched-init.d-2.2.1 pbs_sched - fi - newinitd "${FILESDIR}"/pbs_mom-init.d-2.2.1 pbs_mom - newconfd "${FILESDIR}"/torque-conf.d-2.2.1 torque - newenvd "${FILESDIR}"/torque-env.d-2.2.1 25torque -} - -pkg_preinst() { - if [[ -f "${ROOT}etc/pbs_environment" ]]; then - cp "${ROOT}etc/pbs_environment" "${D}"/etc/pbs_environment - fi - if [[ -f "${ROOT}${PBS_SERVER_HOME}server_name" ]]; then - cp "${ROOT}${PBS_SERVER_HOME}server_name" "${D}${PBS_SERVER_HOME}server_name" - fi -} - -pkg_postinst() { - pbs_createspool "${ROOT}" - elog "If this is the first time torque has been installed, then you are not - ready to start the server. Please refer to the documentation located at: - http://www.clusterresources.com/wiki/doku.php?id=torque:torque_wiki" - - elog "There are a couple of changes in this ebuild. - 1.) The pbs-server-home has been moved from /var/spool/PBS to - /var/spool/torque. - 2.) pbs_server, pbs_mom and pbs_sched now have separate init scripts" -} |