diff options
author | Jeffrey Gardner <je_fro@gentoo.org> | 2011-06-15 18:00:53 +0000 |
---|---|---|
committer | Jeffrey Gardner <je_fro@gentoo.org> | 2011-06-15 18:00:53 +0000 |
commit | 093511c653566b51963e1fd2eda1a0228a2be0eb (patch) | |
tree | b615d6a3ebe620978e8f075bdd84dbb85c6a9c4e /sci-biology/foldingathome | |
parent | Fix init script to stop service. (diff) | |
download | historical-093511c653566b51963e1fd2eda1a0228a2be0eb.tar.gz historical-093511c653566b51963e1fd2eda1a0228a2be0eb.tar.bz2 historical-093511c653566b51963e1fd2eda1a0228a2be0eb.zip |
Remove broken old versions.
Package-Manager: portage-2.1.10.2/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/foldingathome')
-rw-r--r-- | sci-biology/foldingathome/ChangeLog | 9 | ||||
-rw-r--r-- | sci-biology/foldingathome/Manifest | 19 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/6.02/fah-init | 27 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/6.02/folding-conf.d | 21 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/6.02/initfolding | 6 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/6.29/fah-init | 27 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/6.29/folding-conf.d | 22 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/6.29/initfolding | 6 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/copy_client_config-5.0.2-r1 | 14 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/folding-conf.d-r1 | 29 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/init-5.0.2-r3 | 58 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/init-5.0.2-r5 | 59 | ||||
-rw-r--r-- | sci-biology/foldingathome/files/initfolding-r2 | 6 | ||||
-rw-r--r-- | sci-biology/foldingathome/foldingathome-5.0.2-r5.ebuild | 76 | ||||
-rw-r--r-- | sci-biology/foldingathome/foldingathome-6.02-r1.ebuild | 56 | ||||
-rw-r--r-- | sci-biology/foldingathome/foldingathome-6.29.ebuild | 59 |
16 files changed, 9 insertions, 485 deletions
diff --git a/sci-biology/foldingathome/ChangeLog b/sci-biology/foldingathome/ChangeLog index ea689c7a018a..46a279fad231 100644 --- a/sci-biology/foldingathome/ChangeLog +++ b/sci-biology/foldingathome/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-biology/foldingathome # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.31 2011/06/15 17:26:03 je_fro Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.32 2011/06/15 18:00:52 je_fro Exp $ + + 15 Jun 2011; Jeff Gardner <je_fro@gentoo.org> + -files/copy_client_config-5.0.2-r1, -files/init-5.0.2-r3, + -files/init-5.0.2-r5, -foldingathome-5.0.2-r5.ebuild, + -foldingathome-6.02-r1.ebuild, -foldingathome-6.29.ebuild, + -files/folding-conf.d-r1, -files/initfolding-r2: + Remove broken old versions. *foldingathome-6.34 (15 Jun 2011) diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest index a363917b3924..3d33f7df2324 100644 --- a/sci-biology/foldingathome/Manifest +++ b/sci-biology/foldingathome/Manifest @@ -1,24 +1,7 @@ -AUX 6.02/fah-init 802 RMD160 7c15544374e4adb9d8351a478f3551bcebd665ab SHA1 af814b258f67fcaf6bc6a5519c886895c31208fe SHA256 94e35a7aabfb0b2f10f5c8a6f28adca543dedaa51d4e737f4abffeef46a09323 -AUX 6.02/folding-conf.d 854 RMD160 c705e87e36b32b764eba185c2916a81a929e8c16 SHA1 6b29cac64993d9518fbefa8a61f09e07e6d44562 SHA256 815559a3c30858d47836dcb9244f8a42799630c88ac013e50f19fd74cca33c8c -AUX 6.02/initfolding 125 RMD160 70e92fa4aa493fdf362e98c88850008a2d9aa226 SHA1 27838b24f2f12b51212fa1845c210a1443911dfc SHA256 8bada0baf3b0835774c472e0e2e05e7cebfa675a77c15ebdf75fee6d80a95f8b -AUX 6.29/fah-init 823 RMD160 1f881b56e0d1bdaada4657cb081db29e32bd8969 SHA1 a144c88c51deb0def18cdc0c85a7d781cffda0ab SHA256 b4daadc5a726af9a780ad6aef1cb01ca56b5cb5229c17436a824c24c1bc704c9 -AUX 6.29/folding-conf.d 890 RMD160 aae1806917e61233ab0a0b717e144aa3a4d88697 SHA1 2a6f986aecb4d872e0b8098c826e2862b4d56831 SHA256 a74b555e4e4e75100a0332ef2663d200378197a77d6b8333bc1f8ccb826831ab -AUX 6.29/initfolding 125 RMD160 70e92fa4aa493fdf362e98c88850008a2d9aa226 SHA1 27838b24f2f12b51212fa1845c210a1443911dfc SHA256 8bada0baf3b0835774c472e0e2e05e7cebfa675a77c15ebdf75fee6d80a95f8b AUX 6.34/fah-init 802 RMD160 4fc0736d5e63cf19385d639a4dca530ba0c5a64b SHA1 1ca5632a1316fe58982669476eeea06ac43ae841 SHA256 9d01d4d8b01f3a12874af86bf9f97b2bc54f82a997f1f85bc0f86c3b49ccafa0 AUX 6.34/folding-conf.d 1331 RMD160 eeed187cf564508ac31d8d2dcd4d490f596986e5 SHA1 0e96b9a2eeff137f5623b614d64882cf6777843a SHA256 7809715e0fb6f6ce1437428bb376236a0b7b49993e6dd0f1046f839cc5ad7d8d AUX 6.34/initfolding 125 RMD160 70e92fa4aa493fdf362e98c88850008a2d9aa226 SHA1 27838b24f2f12b51212fa1845c210a1443911dfc SHA256 8bada0baf3b0835774c472e0e2e05e7cebfa675a77c15ebdf75fee6d80a95f8b -AUX copy_client_config-5.0.2-r1 393 RMD160 530642f45d1d83612aa6a8048f6ed5fbab67176b SHA1 5a3951b4fe98f62ae3e20269dabd5cfbf3554d77 SHA256 ddfe7ace77006273d1ac64aec4280fdecf52ea0f435dacf2d1bba3de3da42abe -AUX folding-conf.d-r1 1172 RMD160 1c76ea630aa18e1078642f198af46a46eeb5ce62 SHA1 e8940c6f63cd86f570ffebeac22a9e265dbde6dd SHA256 48e49f73fd3c5e45f6ffa99c243d0ff5068416db90d5fd3c447f0118dd8ec154 -AUX init-5.0.2-r3 1478 RMD160 06e256fa528abeb7378addbe795efb5d95c71852 SHA1 46fddec47f30e8a850c056327412c335d29a661e SHA256 646c350f9777b0a1df3901f963523d04b01d0997aae4f6b16b97bc9e7b031582 -AUX init-5.0.2-r5 1602 RMD160 4680d24496b69512d6223fb420258ad5184241fa SHA1 db3112edc993c69cd285ac0fc1bee41107c7075b SHA256 99e3eae808935333432becf04095063872e3c9c4aeb834beb88e82f3e8627c9c -AUX initfolding-r2 150 RMD160 160f6f4c8e15b5e5694cdbe53f08adcfd51c4f20 SHA1 8a57653fe7ac194cdb72d2ed9058436408529e0b SHA256 52375ccd65d9f7cbf09e0b2915f54a882726bf7c377353747fa3ff8fc2cedacb -DIST FAH502-Linux.exe 249236 RMD160 e63be66c70447095eb7054d855316f42e0364971 SHA1 eb480011f3aaf1cea92b001ff15634670142674c SHA256 02e2d3665a6e8f8fc89c7751b8faadff6885d34860643bdd4107d92825754d33 -DIST FAH6.02-Linux.tgz 139883 RMD160 a543bdb0e385281c064880ca55a92388a22372a6 SHA1 40d1010bbf36e5a35ad8477fdbd66ce53124fde3 SHA256 20a401bec46fc5c0f763a54a70e8520f975ddc72221230c9eb606fb22888dc06 -DIST FAH6.29-Linux.tgz 568939 RMD160 481edf16b8b8c8c80e4fdd0eee48fcf755646c3d SHA1 5eb6b40e8c6f65033f4d5b69f0e5e94b2808d603 SHA256 86af1ad84b9ec5b228ea550d9f1f88e53686937db5d1357f7e421ca7d8a45f45 DIST FAH6.34-Linux64.tgz 146345 RMD160 0de9632aa7fe09734642af512e028ac31d97dcdf SHA1 9150b81381a180fde2d81a27784bbb511bf66ea5 SHA256 8b4d47f2ac711bd487235c7f015df7420d9581d199b26479ef312b45e52c8a95 -EBUILD foldingathome-5.0.2-r5.ebuild 1998 RMD160 3aef065261ff2671a3116ad064a81e82f2279fb6 SHA1 82a6f896a77a34c111de154922b144bc39781deb SHA256 6f23ec58995581abc800b08c5ce9744f5dd36de895795853db9d04257ebe03ec -EBUILD foldingathome-6.02-r1.ebuild 1596 RMD160 317d3b5722c518b70a4f38ae5cd398785047b65a SHA1 c164a8d52ce726804b8f84f0f71de28396443639 SHA256 2b7b47607d1b40c65372089a2f226a3945b6fea88332a11d9cd816c9870fd686 -EBUILD foldingathome-6.29.ebuild 1620 RMD160 4e9e8a67de486a5a9c4bf395cebc042434b85dec SHA1 d25bd7d64604c1ef170fa72ea4bc7cb453a43417 SHA256 5adf1e43a566fcbe64bf4279748f53215f3c2ca6287b6e32fb22cc2f29175df8 EBUILD foldingathome-6.34.ebuild 1619 RMD160 cdce87e9ee35ccab4863381564691a91a0befeb0 SHA1 b13315ddee4e13dd26726704cda6026434e738c7 SHA256 539903e63214bcad7a68af9bef916fae5dcd0d26267531484564f196258b0312 -MISC ChangeLog 9755 RMD160 c68c9c3c80462e974642593c9af80363e2ff8501 SHA1 75d0f1ae5948380fba3d12fc060c931978c7f08c SHA256 823051d39464e7ad0e55eddcbe44ffcfa86cf1748546847672ee164a288f2fdf +MISC ChangeLog 10062 RMD160 9103534dc9acfd8b5c5c7ae1d96b8b5b69478665 SHA1 948974cdcf93d6665187dfa6a9e20eb3375e04f8 SHA256 86de4c606ec740f6edb64f50ee628f701f94b2704bd43d8c16e3d559d340ab6e MISC metadata.xml 164 RMD160 2f441200f2672ab5f1efae7cbdb08b284603903c SHA1 61a50baedfd041e663d6c2a41a28b57e22dbb6de SHA256 f0897b09e661dc603041dab249d73253034659189becf1a34cca37a7d51ef72f diff --git a/sci-biology/foldingathome/files/6.02/fah-init b/sci-biology/foldingathome/files/6.02/fah-init deleted file mode 100644 index 70424cac11f2..000000000000 --- a/sci-biology/foldingathome/files/6.02/fah-init +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.02/fah-init,v 1.3 2008/11/22 21:31:26 je_fro Exp $ - -opts="${opts} unitinfo" - -unitinfo() { - einfo "$(head -n1 /opt/foldingathome/unitinfo.txt):" - sed -e '1,2d' /opt/foldingathome/unitinfo.txt -} - -start() { - ebegin "Starting Folding@Home" - cd /opt/foldingathome - start-stop-daemon --chdir ${PWD} --chuid foldingathome --nicelevel 19 \ - --make-pidfile --pidfile "${PIDFILE}" \ - --start --background --exec ./fah6 -- ${FOLD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping Folding@Home" - start-stop-daemon --stop --user foldingathome --pidfile "${PIDFILE}" - eend $? - killall --user foldingathome --signal SIGKILL -} diff --git a/sci-biology/foldingathome/files/6.02/folding-conf.d b/sci-biology/foldingathome/files/6.02/folding-conf.d deleted file mode 100644 index af99fc1d601b..000000000000 --- a/sci-biology/foldingathome/files/6.02/folding-conf.d +++ /dev/null @@ -1,21 +0,0 @@ -# Config file for /etc/init.d/foldingathome -# -# The f@h client configuration can be found in /opt/foldingathome/client.cfg -# Run /opt/foldingathome/initfolding to reconfigure that. -# -# 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 -# -forceasm Force core assembly optimizations to be used if available -# -advmethods Request to be assigned any new Cores or work units. -# -smp Set the client to run in SMP mode (multicore) -# -# 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="" -PIDFILE=/var/run/folding - diff --git a/sci-biology/foldingathome/files/6.02/initfolding b/sci-biology/foldingathome/files/6.02/initfolding deleted file mode 100644 index 3f760a1e6117..000000000000 --- a/sci-biology/foldingathome/files/6.02/initfolding +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -cd /opt/foldingathome -/opt/foldingathome/fah6 -configonly -/bin/chown -R foldingathome:nogroup /opt/foldingathome - diff --git a/sci-biology/foldingathome/files/6.29/fah-init b/sci-biology/foldingathome/files/6.29/fah-init deleted file mode 100644 index 23543db3d35c..000000000000 --- a/sci-biology/foldingathome/files/6.29/fah-init +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/files/6.29/fah-init,v 1.1 2010/06/17 09:21:59 jlec Exp $ - -opts="${opts} unitinfo" - -unitinfo() { - einfo "$(head -n1 /opt/foldingathome/unitinfo.txt):" - sed -e '1,2d' /opt/foldingathome/unitinfo.txt -} - -start() { - ebegin "Starting Folding@Home" - cd /opt/foldingathome - start-stop-daemon --chdir ${PWD} --chuid foldingathome --nicelevel 19 \ - --make-pidfile --pidfile "${PIDFILE}" \ - --start --background --exec ./fah6 -- ${FOLD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping Folding@Home" - start-stop-daemon --stop --user foldingathome --pidfile "${PIDFILE}" - eend $? - [[ -f ${PIDFILE} ]] && killall --user foldingathome --signal SIGKILL -} diff --git a/sci-biology/foldingathome/files/6.29/folding-conf.d b/sci-biology/foldingathome/files/6.29/folding-conf.d deleted file mode 100644 index d9d0225f7388..000000000000 --- a/sci-biology/foldingathome/files/6.29/folding-conf.d +++ /dev/null @@ -1,22 +0,0 @@ -# Config file for /etc/init.d/foldingathome -# -# The f@h client configuration can be found in /opt/foldingathome/client.cfg -# Run /opt/foldingathome/initfolding to reconfigure that. -# -# 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 -# -forceasm Force core assembly optimizations to be used if available -# -advmethods Request to be assigned any new Cores or work units. -# -smp x Set the client to run on x cores in SMP mode -# -bigadv flag for maximum PPD -# -# 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="" -PIDFILE=/var/run/folding - diff --git a/sci-biology/foldingathome/files/6.29/initfolding b/sci-biology/foldingathome/files/6.29/initfolding deleted file mode 100644 index 3f760a1e6117..000000000000 --- a/sci-biology/foldingathome/files/6.29/initfolding +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -cd /opt/foldingathome -/opt/foldingathome/fah6 -configonly -/bin/chown -R foldingathome:nogroup /opt/foldingathome - diff --git a/sci-biology/foldingathome/files/copy_client_config-5.0.2-r1 b/sci-biology/foldingathome/files/copy_client_config-5.0.2-r1 deleted file mode 100644 index 3d60b8a32cef..000000000000 --- a/sci-biology/foldingathome/files/copy_client_config-5.0.2-r1 +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -C="client" -C1_CFG="${C}1/${C}.cfg" -cd /opt/foldingathome/ -if [ ! -f ${C1_CFG} ]; then - echo "Client not yet configured, exiting" - exit 1; -fi -sed -i -e 's/^\(team=\)0/\111298/' ${C1_CFG} -declare -i id=$(sed -e 's/^machineid=\([0-9]*\).*$/\1/p;d' ${C1_CFG}) -for (( i=2; ${i}<=8; i=${i}+1 )); do - id=$id+1 - sed -e "s/^\(machineid=\)[0-9]*/\1${id}/" ${C1_CFG} > ${C}${i}/${C}.cfg -done diff --git a/sci-biology/foldingathome/files/folding-conf.d-r1 b/sci-biology/foldingathome/files/folding-conf.d-r1 deleted file mode 100644 index ad4839b9d2af..000000000000 --- a/sci-biology/foldingathome/files/folding-conf.d-r1 +++ /dev/null @@ -1,29 +0,0 @@ -# Config file for /etc/init.d/foldingathome -# -# The f@h client configuration can be found in /opt/foldingathome/client1/client.cfg -# Run /opt/foldingathome/initfolding to reconfigure that. -# -# 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 -# -forceasm Force core assembly optimizations to be used if available -# -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. The init script has code to -# determine how many CPUs you have if you set CPU=0. -# -CPU=0 - diff --git a/sci-biology/foldingathome/files/init-5.0.2-r3 b/sci-biology/foldingathome/files/init-5.0.2-r3 deleted file mode 100644 index f4228702770b..000000000000 --- a/sci-biology/foldingathome/files/init-5.0.2-r3 +++ /dev/null @@ -1,58 +0,0 @@ -#!/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.2 2005/03/03 14:40:55 lostlogic Exp $ - -opts="${opts} unitinfo" - -do_config() { - if [ -z "${CPU}" ] || [ "${CPU}" == "0" ]; then - if [ -r /proc/cpuinfo ]; then - CPU=`grep "^processor[[:space:]]*:" /proc/cpuinfo | wc -l` - if (( $CPU > 8 )); then - CPU=8 - fi - else - CPU=1 - fi - fi -} - -unitinfo() { - do_config - for (($CPU; CPU > 0; CPU--)); do - einfo "CPU ${CPU} $(head -n1 /opt/foldingathome/client${CPU}/unitinfo.txt):" - sed -e '1,2d' /opt/foldingathome/client${CPU}/unitinfo.txt - done -} - -start() { - do_config - su foldingathome -c /opt/foldingathome/copy_client_config - for (($CPU; CPU > 0; CPU--)); do - ebegin "Starting Folding@Home on CPU ${CPU}" - cd /opt/foldingathome/client${CPU}/ - nice -n 19 su foldingathome -c "/opt/foldingathome/client${CPU}/foldingathome ${FOLD_OPTS}" &>/dev/null & - eend $? - done -} - -stop() { - do_config - for (($CPU; CPU > 0; CPU--)); do - ebegin "Stopping Folding@Home on CPU ${CPU}" - cd /opt/foldingathome/client${CPU}/ - for I in FahCore*.exe; do - if ps ax|grep $I > /dev/null 2>&1; then - killall -q $I > /dev/null 2>&1 - fi - done - sleep 1 - if ps ax|grep '[/]opt[/]foldingathome/client${CPU}/' > /dev/null 2>&1; then - eend 1 - else - eend 0 - fi - done -} - diff --git a/sci-biology/foldingathome/files/init-5.0.2-r5 b/sci-biology/foldingathome/files/init-5.0.2-r5 deleted file mode 100644 index 87fe45d8279e..000000000000 --- a/sci-biology/foldingathome/files/init-5.0.2-r5 +++ /dev/null @@ -1,59 +0,0 @@ -#!/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-r5,v 1.1 2006/06/16 08:44:04 phosphan Exp $ - -opts="${opts} unitinfo" - -do_config() { - if [ -z "${CPU}" ] || [ "${CPU}" == "0" ]; then - if [ -r /proc/cpuinfo ]; then - CPU=`grep "^processor[[:space:]]*:" /proc/cpuinfo | wc -l` - if (( $CPU > 8 )); then - CPU=8 - fi - else - CPU=1 - fi - fi -} - -unitinfo() { - do_config - for (($CPU; CPU > 0; CPU--)); do - einfo "CPU ${CPU} $(head -n1 /opt/foldingathome/client${CPU}/unitinfo.txt):" - sed -e '1,2d' /opt/foldingathome/client${CPU}/unitinfo.txt - done -} - -start() { - do_config - su foldingathome -c /opt/foldingathome/copy_client_config - for (($CPU; CPU > 0; CPU--)); do - ebegin "Starting Folding@Home on CPU ${CPU}" - cd /opt/foldingathome/client${CPU}/ - start-stop-daemon --chdir ${PWD} --chuid foldingathome --nicelevel 19 --start --background --exec ./foldingathome -- ${FOLD_OPTS} - eend $? - done -} - -stop() { - do_config - for (($CPU; CPU > 0; CPU--)); do - ebegin "Stopping Folding@Home on CPU ${CPU}" - start-stop-daemon --stop --user foldingathome --exec /opt/foldingathome/client${CPU}/foldingathome - cd /opt/foldingathome/client${CPU}/ - for I in FahCore*.exe; do - if ps ax|grep $I > /dev/null 2>&1; then - killall -q $I > /dev/null 2>&1 - fi - done - sleep 1 - if ps ax|grep '[/]opt[/]foldingathome/client${CPU}/' > /dev/null 2>&1; then - eend 1 - else - eend 0 - fi - done -} - diff --git a/sci-biology/foldingathome/files/initfolding-r2 b/sci-biology/foldingathome/files/initfolding-r2 deleted file mode 100644 index 1e39fa32359d..000000000000 --- a/sci-biology/foldingathome/files/initfolding-r2 +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -cd /opt/foldingathome/client1 -/opt/foldingathome/client1/foldingathome -configonly -/bin/chown -R foldingathome:nogroup /opt/foldingathome - diff --git a/sci-biology/foldingathome/foldingathome-5.0.2-r5.ebuild b/sci-biology/foldingathome/foldingathome-5.0.2-r5.ebuild deleted file mode 100644 index 473dc016a82a..000000000000 --- a/sci-biology/foldingathome/foldingathome-5.0.2-r5.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/foldingathome-5.0.2-r5.ebuild,v 1.7 2008/06/14 22:16:02 je_fro 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/FAH502-Linux.exe" -RESTRICT="mirror strip" - -SLOT="0" -IUSE="" -LICENSE="folding-at-home" -KEYWORDS="amd64 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} - newexe "${FILESDIR}"/initfolding-r2 initfolding - newexe "${FILESDIR}"/copy_client_config-${PV}-r1 copy_client_config - - # 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 - newinitd "${FILESDIR}"/init-${PVR} foldingathome - newconfd "${FILESDIR}"/folding-conf.d-r1 foldingathome -} - -pkg_preinst() { - # the bash shell is important for "su -c" in init script - 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-6.02-r1.ebuild b/sci-biology/foldingathome/foldingathome-6.02-r1.ebuild deleted file mode 100644 index bbe3f132f12f..000000000000 --- a/sci-biology/foldingathome/foldingathome-6.02-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/foldingathome-6.02-r1.ebuild,v 1.2 2008/11/22 22:04:33 je_fro Exp $ - -I="/opt/foldingathome" - -inherit eutils - -DESCRIPTION="Folding@Home is a distributed computing project for protein folding." -HOMEPAGE="http://folding.stanford.edu/FAQ-SMP.html" -SRC_URI="http://www.stanford.edu/group/pandegroup/folding/release/FAH6.02-Linux.tgz" - -LICENSE="folding-at-home" -SLOT="0" - -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=">=sys-libs/glibc-2.3.0 - amd64? ( app-emulation/emul-linux-x86-baselibs )" - -RDEPEND="" - -S="${WORKDIR}" - -src_install() { - exeinto ${I} - newexe "${FILESDIR}"/${PV}/initfolding initfolding - doexe fah6 mpiexec - newconfd "${FILESDIR}"/${PV}/folding-conf.d foldingathome - newinitd "${FILESDIR}"/${PV}/fah-init foldingathome -} - -pkg_preinst() { - # the bash shell is important for "su -c" in init script - 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 "" - einfo "I encourage you to acquire a username and join team 36480." - einfo "http://folding.stanford.edu/English/Download#ntoc2" - 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-6.29.ebuild b/sci-biology/foldingathome/foldingathome-6.29.ebuild deleted file mode 100644 index 9c4c86a08619..000000000000 --- a/sci-biology/foldingathome/foldingathome-6.29.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/foldingathome-6.29.ebuild,v 1.2 2010/06/22 06:29:37 jlec Exp $ - -EAPI="3" - -inherit eutils - -DESCRIPTION="Folding@Home is a distributed computing project for protein folding." -HOMEPAGE="http://folding.stanford.edu/FAQ-SMP.html" -SRC_URI="http://www.stanford.edu/group/pandegroup/folding/release/FAH${PV}-Linux.tgz" - -LICENSE="folding-at-home" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -S="${WORKDIR}" - -I="opt/foldingathome" - -QA_DT_HASH="${I}/.*" -QA_PRESTRIPPED="${I}/fah6" - -pkg_setup() { - I="${EPREFIX}/${I}" -} - -src_install() { - exeinto ${I} - doexe "${FILESDIR}"/6.02/initfolding || die - doexe fah6 mpiexec || die - newconfd "${FILESDIR}"/6.02/folding-conf.d foldingathome || die - newinitd "${FILESDIR}"/6.02/fah-init foldingathome || die -} - -pkg_preinst() { - # the bash shell is important for "su -c" in init script - enewuser foldingathome -1 /bin/bash /opt/foldingathome -} - -pkg_postinst() { - chown -R foldingathome:nogroup "${EPREFIX}"/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 ${EPREFIX}/etc/conf.d/foldingathome for options" - einfo "" - einfo "I encourage you to acquire a username and join team 36480." - einfo "http://folding.stanford.edu/English/Download#ntoc2" - einfo "" -} - -pkg_postrm() { - einfo "Folding@home data files were not removed." - einfo " Remove them manually from ${I}" - einfo "" -} |