diff options
author | Brandon Low <lostlogic@gentoo.org> | 2005-03-03 14:40:55 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2005-03-03 14:40:55 +0000 |
commit | 3f99c075635ec847d5322016239b8c7994326aba (patch) | |
tree | 1459f947f9209624088a81889e68ec7eaf206fa0 /sci-biology/foldingathome | |
parent | Stable on sparc wrt #81652 (diff) | |
download | historical-3f99c075635ec847d5322016239b8c7994326aba.tar.gz historical-3f99c075635ec847d5322016239b8c7994326aba.tar.bz2 historical-3f99c075635ec847d5322016239b8c7994326aba.zip |
Fix bug 82345, nice 20 doesn't exist.
Remove old ebuilds and files.
Package-Manager: portage-2.0.51.18
Diffstat (limited to 'sci-biology/foldingathome')
-rw-r--r-- | sci-biology/foldingathome/ChangeLog | 10 | ||||
-rw-r--r-- | sci-biology/foldingathome/Manifest | 15 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/digest-foldingathome-4.0.0 | 1 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/digest-foldingathome-4.0.0-r2 | 1 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/folding-conf.d | 27 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/folding-init.d | 24 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/folding-init.d-r1 | 29 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/folding-init.d-r3 | 25 | ||||
-rwxr-xr-x | sci-biology/foldingathome/files/folding.sh | 3 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/init-5.0.2-r3 | 4 | ||||
-rwxr-xr-x | sci-biology/foldingathome/files/initfolding | 3 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/initfolding-r1 | 19 | ||||
-rw-r--r-- | sci-biology/foldingathome/foldingathome-4.0.0-r2.ebuild | 77 | ||||
-rw-r--r-- | sci-biology/foldingathome/foldingathome-4.0.0.ebuild | 56 |
14 files changed, 13 insertions, 281 deletions
diff --git a/sci-biology/foldingathome/ChangeLog b/sci-biology/foldingathome/ChangeLog index 2e769e1a378f..39722c17192d 100644 --- a/sci-biology/foldingathome/ChangeLog +++ b/sci-biology/foldingathome/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-biology/foldingathome # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.7 2005/02/08 16:06:00 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.8 2005/03/03 14:40:55 lostlogic Exp $ + + 03 Mar 2005; Brandon Low <lostlogic@gentoo.org> -files/folding-conf.d, + -files/folding-init.d, -files/folding-init.d-r1, -files/folding-init.d-r3, + -files/folding.sh, files/init-5.0.2-r3, -files/initfolding, + -files/initfolding-r1, -foldingathome-4.0.0-r2.ebuild, + -foldingathome-4.0.0.ebuild: + Fix bug 82345, nice 20 doesn't exist. + Remove old ebuilds and files. 08 Feb 2005; Brandon Low <lostlogic@gentoo.org> foldingathome-5.0.2-r3.ebuild: diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest index ad49756b853f..80f4e561ae8b 100644 --- a/sci-biology/foldingathome/Manifest +++ b/sci-biology/foldingathome/Manifest @@ -1,19 +1,8 @@ -MD5 0e1014eb4bdefeb4d6917bac1a827c2a foldingathome-4.0.0-r2.ebuild 1908 MD5 938dbe850011d46b810c68d930857bc9 foldingathome-5.0.2-r3.ebuild 2019 -MD5 e5275a69ca715ca6a2fdddf88af0f01e foldingathome-4.0.0.ebuild 1452 -MD5 c741e7409fc89c8dba383d4defca8fd3 ChangeLog 4979 +MD5 fe63240d3631efcb43cabbdb1d23c97a ChangeLog 5352 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 -MD5 a586f7af900f3c15982e59730e7e082a files/folding-conf.d 1125 -MD5 91f88a421f87928d798002ede77fa8f9 files/initfolding 80 MD5 2f181dd626be0626fc9000536fd0d4c4 files/digest-foldingathome-5.0.2-r3 61 -MD5 76b9bbe1167870a4cd58351bc530cc87 files/folding-init.d 538 -MD5 9c93f287339458f575ee4c5d20fffdfe files/initfolding-r1 656 MD5 f3a9e0a439c14bd3d328cea6e3af1540 files/initfolding-r2 150 MD5 3174784abb8ed1da2fc846d722aeffe5 files/folding-conf.d-r1 1172 -MD5 6c633c6cc20e087d9da4585c5d9563dc files/digest-foldingathome-4.0.0-r2 66 -MD5 d2be64c34b80c66ca7f602576c15389d files/folding-init.d-r1 741 -MD5 5c608b526b53375ad6003e76b9c8ba19 files/folding-init.d-r3 640 -MD5 aec1f2de50cf95bf1797d61ae94b3b04 files/folding.sh 88 -MD5 2326943c3b985a2597d83b3b82b6257c files/init-5.0.2-r3 1478 -MD5 6c633c6cc20e087d9da4585c5d9563dc files/digest-foldingathome-4.0.0 66 +MD5 b695ee5884feb42cd5678eb977d862cc files/init-5.0.2-r3 1478 MD5 71ad6348b9f8b367f2417eddf75417c7 files/copy_client_config-5.0.2-r1 393 diff --git a/sci-biology/foldingathome/files/digest-foldingathome-4.0.0 b/sci-biology/foldingathome/files/digest-foldingathome-4.0.0 deleted file mode 100644 index 6018adcfd4d5..000000000000 --- a/sci-biology/foldingathome/files/digest-foldingathome-4.0.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 d8ca3f78a3fff62059b780891d4c1e06 FAH4Console-Linux.exe 246740 diff --git a/sci-biology/foldingathome/files/digest-foldingathome-4.0.0-r2 b/sci-biology/foldingathome/files/digest-foldingathome-4.0.0-r2 deleted file mode 100644 index 6018adcfd4d5..000000000000 --- a/sci-biology/foldingathome/files/digest-foldingathome-4.0.0-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 d8ca3f78a3fff62059b780891d4c1e06 FAH4Console-Linux.exe 246740 diff --git a/sci-biology/foldingathome/files/folding-conf.d b/sci-biology/foldingathome/files/folding-conf.d deleted file mode 100644 index 677bf8b582c6..000000000000 --- a/sci-biology/foldingathome/files/folding-conf.d +++ /dev/null @@ -1,27 +0,0 @@ -# Config file for /etc/init.d/foldingathome - -# Enter options here to be passed to the Folding client: -# -# -oneunit Instruct the client to quit following the completion of one work unit. -# -verbosity x Sets the output level, from 1 to 9 (max). The default is 3 -# -pause Pause after finishing & trying to send current unit -# -forceasm Force core assembly optimizations to be used if available -# -forceSSE On machines with an AMD processor, Core_78 gives priority to 3DNow over -# SSE -- this overrides that. -# -advmethods Request to be assigned any new Cores or work units. -# -# A full listing of options can be found here: -# http://www.stanford.edu/group/pandegroup/folding/console-userguide.html -# But use of other options are not recommended when using the Folding client -# as a service. -# -FOLD_OPTS="-advmethods" - -# Number of clients to run -# -# Folding@Home isn't multithreaded, so if you're running multiple CPU's -# you will need to run a client to run for each of your CPU's in order -# to achieve the best performance for Folding@Home. Up to a maximum of 8. -# Ex. A dual CPU system would use CPU=2 -# -CPU=1 diff --git a/sci-biology/foldingathome/files/folding-init.d b/sci-biology/foldingathome/files/folding-init.d deleted file mode 100644 index e7ccdc2d7f72..000000000000 --- a/sci-biology/foldingathome/files/folding-init.d +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2003 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/folding-init.d,v 1.1 2004/12/23 18:37:10 ribosome Exp $ - -start() { - - ebegin "Starting Folding@home" - cd /opt/foldingathome - nice -n 19 ./foldingathome >&/dev/null& - eend $? -} - -stop() { - ebegin "Stopping Folding@Home" - cd /opt/foldingathome - for I in FahCore*.exe - do - killall -q $I >/dev/null - done - killall foldingathome >/dev/null - eend $? -} - diff --git a/sci-biology/foldingathome/files/folding-init.d-r1 b/sci-biology/foldingathome/files/folding-init.d-r1 deleted file mode 100644 index 86d2cc1cec30..000000000000 --- a/sci-biology/foldingathome/files/folding-init.d-r1 +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2003 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/folding-init.d-r1,v 1.1 2004/12/23 18:37:10 ribosome Exp $ - -start() { - ebegin "Starting Folding@home" - if [ ! -f /opt/foldingathome/client.cfg ]; then - eerror "Can't start without initial configuration." - eerror "For first run configuration, please run" - eerror "/opt/foldingathome/initfolding" - return 1 - fi - cd /opt/foldingathome - su foldingathome ./folding.sh - eend $? -} - -stop() { - ebegin "Stopping Folding@Home" - cd /opt/foldingathome - for I in FahCore*.exe - do - killall -q $I >/dev/null - done - killall foldingathome >/dev/null - eend $? -} - diff --git a/sci-biology/foldingathome/files/folding-init.d-r3 b/sci-biology/foldingathome/files/folding-init.d-r3 deleted file mode 100644 index eaeda24dad93..000000000000 --- a/sci-biology/foldingathome/files/folding-init.d-r3 +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2003 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/folding-init.d-r3,v 1.1 2004/12/23 18:37:10 ribosome Exp $ - -start() { - ebegin "Starting Folding@Home" - for (($CPU; CPU != 0; CPU--)) - do - cd /opt/foldingathome/client${CPU}/ - nice -n 20 su foldingathome -c "/opt/foldingathome/client${CPU}/foldingathome ${FOLD_OPTS}" &>/dev/null & - done - eend $? -} - -stop() { - ebegin "Stopping Folding@Home" - for I in FahCore*.exe - do - killall -q $I >/dev/null - done - killall foldingathome >/dev/null - eend $? -} - diff --git a/sci-biology/foldingathome/files/folding.sh b/sci-biology/foldingathome/files/folding.sh deleted file mode 100755 index 9a206fcfb1d6..000000000000 --- a/sci-biology/foldingathome/files/folding.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -cd /opt/foldingathome -nice -n 20 ./foldingathome &>/opt/foldingathome/log & diff --git a/sci-biology/foldingathome/files/init-5.0.2-r3 b/sci-biology/foldingathome/files/init-5.0.2-r3 index c178ecfbdd62..f4228702770b 100644 --- a/sci-biology/foldingathome/files/init-5.0.2-r3 +++ b/sci-biology/foldingathome/files/init-5.0.2-r3 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/init-5.0.2-r3,v 1.1 2005/02/06 01:02:39 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/init-5.0.2-r3,v 1.2 2005/03/03 14:40:55 lostlogic Exp $ opts="${opts} unitinfo" @@ -32,7 +32,7 @@ start() { for (($CPU; CPU > 0; CPU--)); do ebegin "Starting Folding@Home on CPU ${CPU}" cd /opt/foldingathome/client${CPU}/ - nice -n 20 su foldingathome -c "/opt/foldingathome/client${CPU}/foldingathome ${FOLD_OPTS}" &>/dev/null & + nice -n 19 su foldingathome -c "/opt/foldingathome/client${CPU}/foldingathome ${FOLD_OPTS}" &>/dev/null & eend $? done } diff --git a/sci-biology/foldingathome/files/initfolding b/sci-biology/foldingathome/files/initfolding deleted file mode 100755 index 90d17068e9d0..000000000000 --- a/sci-biology/foldingathome/files/initfolding +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -cd /opt/foldingathome -su foldingathome -c "./foldingathome -config" diff --git a/sci-biology/foldingathome/files/initfolding-r1 b/sci-biology/foldingathome/files/initfolding-r1 deleted file mode 100644 index aa62f2cc47a3..000000000000 --- a/sci-biology/foldingathome/files/initfolding-r1 +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python - -import os, shutil - -os.chdir("/opt/foldingathome/client1") -os.system("/opt/foldingathome/client1/foldingathome -configonly") -os.system("chown -R foldingathome:nogroup /opt/foldingathome") - -clientnum = (1, 2, 3, 4, 5, 6, 7, 8) - -for i in clientnum: - shutil.copyfile("/opt/foldingathome/client1/client.cfg", "/opt/foldingathome/client%d/client.cfg" % (i)) - clientfile = open("/opt/foldingathome/client%d/client.cfg" % (i), "r") - lines = clientfile.readlines() - lines[4] = "machineid=%d\n" % (i) - clientfile.close() - clientfile = open("/opt/foldingathome/client%d/client.cfg" % (i), "w") - clientfile.writelines(lines) - clientfile.close() diff --git a/sci-biology/foldingathome/foldingathome-4.0.0-r2.ebuild b/sci-biology/foldingathome/foldingathome-4.0.0-r2.ebuild deleted file mode 100644 index 2e817bd06d03..000000000000 --- a/sci-biology/foldingathome/foldingathome-4.0.0-r2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/foldingathome-4.0.0-r2.ebuild,v 1.2 2005/02/03 17:14:46 lostlogic Exp $ - -# no version number on this install dir since upgrades will be using same dir -# (data will be stored here too) -I="/opt/foldingathome" - -inherit eutils - -DESCRIPTION="Help simulate protein folding at home" -HOMEPAGE="http://folding.stanford.edu/" -SRC_URI="http://www.stanford.edu/group/pandegroup/release/FAH4Console-Linux.exe" -RESTRICT="nomirror" - -SLOT="0" -IUSE="" -LICENSE="as-is" -KEYWORDS="~x86 ~ppc ~amd64" - -DEPEND=">=sys-apps/baselayout-1.8.0 - >=sys-libs/glibc-2.3.0 - amd64? ( app-emulation/emul-linux-x86-baselibs )" - -S="${WORKDIR}" - -src_unpack() { - cp "${DISTDIR}/${A}" ${PN} -} - -src_install() { - exeinto ${I} - newexe ${FILESDIR}/initfolding-r1 initfolding - - # Clients - exeinto ${I}/client1 - doexe foldingathome - exeinto ${I}/client2 - doexe foldingathome - exeinto ${I}/client3 - doexe foldingathome - exeinto ${I}/client4 - doexe foldingathome - exeinto ${I}/client5 - doexe foldingathome - exeinto ${I}/client6 - doexe foldingathome - exeinto ${I}/client7 - doexe foldingathome - exeinto ${I}/client8 - doexe foldingathome - exeinto /etc/init.d - newexe ${FILESDIR}/folding-init.d-r3 foldingathome - - insinto /etc/conf.d - newins ${FILESDIR}/folding-conf.d foldingathome -} - -pkg_preinst() { - enewuser foldingathome -1 /bin/bash /opt/foldingathome -} - -pkg_postinst() { - chown -R foldingathome:nogroup /opt/foldingathome - einfo "To run Folding@home in the background at boot:" - einfo " rc-update add foldingathome default" - einfo "" - einfo "Please run ${I}/initfolding to configure your client" - einfo "and edit /etc/conf.d/foldingathome for options" - einfo "" -} - -pkg_postrm() { - einfo "Folding@home data files were not removed." - einfo " Remove them manually from ${I}" - einfo "" -} diff --git a/sci-biology/foldingathome/foldingathome-4.0.0.ebuild b/sci-biology/foldingathome/foldingathome-4.0.0.ebuild deleted file mode 100644 index 1b30a95adbf3..000000000000 --- a/sci-biology/foldingathome/foldingathome-4.0.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/foldingathome-4.0.0.ebuild,v 1.2 2005/02/03 17:14:46 lostlogic Exp $ - -# no version number on this install dir since upgrades will be using same dir -# (data will be stored here too) -I="/opt/foldingathome" - -inherit eutils - -DESCRIPTION="Help simulate protein folding at home" -HOMEPAGE="http://folding.stanford.edu/" -SRC_URI="http://www.stanford.edu/group/pandegroup/release/FAH4Console-Linux.exe" -RESTRICT="nomirror" - -SLOT="0" -IUSE="" -LICENSE="as-is" -KEYWORDS="x86" - -DEPEND=">=sys-apps/baselayout-1.8.0 - >=sys-libs/glibc-2.3.0 - amd64? ( app-emulation/emul-linux-x86-baselibs )" - -S="${WORKDIR}" - -src_unpack() { - cp "${DISTDIR}/${A}" ${PN} -} - -src_install() { - exeinto ${I} - doexe foldingathome - doexe ${FILESDIR}/folding.sh - doexe ${FILESDIR}/initfolding - exeinto /etc/init.d - newexe ${FILESDIR}/folding-init.d-r1 foldingathome -} - -pkg_preinst() { - enewuser foldingathome -1 /bin/bash /opt/foldingathome -} - -pkg_postinst() { - chown -R foldingathome:nogroup /opt/foldingathome - einfo "To run Folding@home in the background at boot:" - einfo " rc-update add foldingathome default" - einfo "" - einfo "For first run configuration, please run /opt/foldingathome/initfolding" -} - -pkg_postrm() { - einfo "Folding@home data files were not removed." - einfo " Remove them manually from ${I}" - einfo "" -} |