summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2005-03-03 14:40:55 +0000
committerBrandon Low <lostlogic@gentoo.org>2005-03-03 14:40:55 +0000
commitf64a17f60903490dd283a5bcb3c7627a354be6aa (patch)
tree6bc27ecabe3bcc5a3b83040041313995319db39c
parentStable on sparc wrt #81652 (diff)
downloadgentoo-2-f64a17f60903490dd283a5bcb3c7627a354be6aa.tar.gz
gentoo-2-f64a17f60903490dd283a5bcb3c7627a354be6aa.tar.bz2
gentoo-2-f64a17f60903490dd283a5bcb3c7627a354be6aa.zip
Fix bug 82345, nice 20 doesn't exist.
Remove old ebuilds and files. (Portage version: 2.0.51.18)
-rw-r--r--sci-biology/foldingathome/ChangeLog10
-rw-r--r--sci-biology/foldingathome/files/digest-foldingathome-4.0.01
-rw-r--r--sci-biology/foldingathome/files/digest-foldingathome-4.0.0-r21
-rw-r--r--sci-biology/foldingathome/files/folding-conf.d27
-rw-r--r--sci-biology/foldingathome/files/folding-init.d24
-rw-r--r--sci-biology/foldingathome/files/folding-init.d-r129
-rw-r--r--sci-biology/foldingathome/files/folding-init.d-r325
-rwxr-xr-xsci-biology/foldingathome/files/folding.sh3
-rw-r--r--sci-biology/foldingathome/files/init-5.0.2-r34
-rwxr-xr-xsci-biology/foldingathome/files/initfolding3
-rw-r--r--sci-biology/foldingathome/files/initfolding-r119
-rw-r--r--sci-biology/foldingathome/foldingathome-4.0.0-r2.ebuild77
-rw-r--r--sci-biology/foldingathome/foldingathome-4.0.0.ebuild56
13 files changed, 11 insertions, 268 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/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 ""
-}