aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-10-05 01:52:45 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2009-10-05 01:53:03 +0400
commite485db9cdc6be86740375f1cf1fde6dd09969fd0 (patch)
treef7760a13e4b224dffbf4525791ff913d0ba18ea8
parentMerge remote branch 'origin/master' (diff)
downloadsci-e485db9cdc6be86740375f1cf1fde6dd09969fd0.tar.gz
sci-e485db9cdc6be86740375f1cf1fde6dd09969fd0.tar.bz2
sci-e485db9cdc6be86740375f1cf1fde6dd09969fd0.zip
[sci-biology/foldingathome] Version bump
(Portage version: 2.2_rc43/git/Linux x86_64) (Signed Manifest commit)
-rw-r--r--sci-biology/foldingathome/ChangeLog238
-rw-r--r--sci-biology/foldingathome/Manifest17
-rw-r--r--sci-biology/foldingathome/files/6.24/fah-init27
-rw-r--r--sci-biology/foldingathome/files/6.24/folding-conf.d21
-rw-r--r--sci-biology/foldingathome/files/6.24/initfolding6
-rw-r--r--sci-biology/foldingathome/foldingathome-6.24.ebuild56
-rw-r--r--sci-biology/foldingathome/metadata.xml5
7 files changed, 370 insertions, 0 deletions
diff --git a/sci-biology/foldingathome/ChangeLog b/sci-biology/foldingathome/ChangeLog
new file mode 100644
index 000000000..7c1beaf4e
--- /dev/null
+++ b/sci-biology/foldingathome/ChangeLog
@@ -0,0 +1,238 @@
+# ChangeLog for sci-biology/foldingathome
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.27 2008/11/30 19:46:50 je_fro Exp $
+
+*foldingathome-6.24 (04 Oct 2009)
+
+ 04 Oct 2009; Alexey Shvetsov <alexxy@gentoo.org> +files/6.24/fah-init,
+ +foldingathome-6.24.ebuild, +files/6.24/folding-conf.d,
+ +files/6.24/initfolding, +metadata.xml:
+ Version bump
+
+ 30 Nov 2008; Jeff Gardner <je_fro@gentoo.org> files/6.02/folding-conf.d:
+ Removing smp from default opts to hopefully fix bug #248896
+ Thanks to Vladimir Berezhnoy.
+
+ 22 Nov 2008; Jeff Gardner <je_fro@gentoo.org>
+ foldingathome-6.02-r1.ebuild:
+ Add shameless plug for my folding group.
+
+*foldingathome-6.02-r1 (22 Nov 2008)
+
+ 22 Nov 2008; Jeff Gardner <je_fro@gentoo.org> -foldingathome-6.02.ebuild,
+ +foldingathome-6.02-r1.ebuild:
+ Bumping for init script fix and add back ~x86.
+
+ 22 Nov 2008; Jeff Gardner <je_fro@gentoo.org> files/6.02/fah-init:
+ Changing to use init script from Constantin Baranov on bug #218331
+
+ 03 Aug 2008; Jeff Gardner <je_fro@gentoo.org> -files/6.02_beta1/fah-init,
+ -files/6.02_beta1/folding-conf.d, -files/6.02_beta1/initfolding,
+ -foldingathome-6.02_beta1.ebuild:
+ remove dead beta
+
+*foldingathome-6.02 (03 Aug 2008)
+
+ 03 Aug 2008; Jeff Gardner <je_fro@gentoo.org> +files/6.02/fah-init,
+ +files/6.02/folding-conf.d, +files/6.02/initfolding,
+ +foldingathome-6.02.ebuild:
+ Latest version, thanks to Nicolas Schlumberger, closes bug #233751
+
+ 15 Jun 2008; Jeff Gardner <je_fro@gentoo.org>
+ files/6.02_beta1/folding-conf.d:
+ Add smp option thanks to Timon Van Overveldt in bug #194423
+
+*foldingathome-6.02_beta1 (14 Jun 2008)
+
+ 14 Jun 2008; Jeff Gardner <je_fro@gentoo.org> -files/5.91_beta/fah-init,
+ -files/5.91_beta/initfolding, -files/5.91_beta/folding-conf.d,
+ +files/6.02_beta1/fah-init, +files/6.02_beta1/folding-conf.d,
+ +files/6.02_beta1/initfolding, -foldingathome-5.91_beta.ebuild,
+ +foldingathome-6.02_beta1.ebuild:
+ Latest beta client
+
+ 12 Jul 2007; Christoph Mende <angelos@gentoo.org>
+ foldingathome-5.0.2-r5.ebuild:
+ Stable on amd64 wrt bug #164823
+
+ 12 Jul 2007; Christian Faulhammer <opfer@gentoo.org>
+ foldingathome-5.0.2-r5.ebuild:
+ stable x86, bug 164823
+
+ 03 Jul 2007; Jeff Gardner <je_fro@gentoo.org>
+ foldingathome-5.91_beta.ebuild:
+ foldingathome-5.91_beta has expired. Removing KEYWORDS until the next
+ release arrives.
+
+ 02 Jul 2007; Piotr JaroszyƄski <peper@gentoo.org>
+ foldingathome-5.0.2-r3.ebuild, foldingathome-5.0.2-r5.ebuild:
+ (QA) RESTRICT clean up.
+
+ 21 Apr 2007; Jeff Gardner <je_fro@gentoo.org>
+ foldingathome-5.0.2-r3.ebuild, foldingathome-5.0.2-r5.ebuild:
+ Use newconfd wrt bug #174266
+
+ 11 Apr 2007; Jeff Gardner <je_fro@gentoo.org>
+ foldingathome-5.91_beta.ebuild:
+ Fixed to better install files under /etc.
+
+*foldingathome-5.91_beta (10 Apr 2007)
+
+ 10 Apr 2007; Jeff Gardner <je_fro@gentoo.org> +files/5.91_beta/fah-init,
+ +files/5.91_beta/folding-conf.d, +files/5.91_beta/initfolding,
+ +foldingathome-5.91_beta.ebuild:
+ Adding the amd64-smp client for testing. Thanks to John Gibson.
+
+ 03 Nov 2006; Olivier Fisette <ribosome@gentoo.org> -files/init-5.0.2-r4,
+ -foldingathome-5.0.2-r4.ebuild:
+ Pruned old version.
+
+*foldingathome-5.0.2-r5 (16 Jun 2006)
+
+ 16 Jun 2006; Patrick Kursawe <phosphan@gentoo.org> +files/init-5.0.2-r5,
+ +foldingathome-5.0.2-r5.ebuild:
+ Adding --chdir to start-stop-daemon because of bug #109707
+
+*foldingathome-5.0.2-r4 (14 Aug 2005)
+
+ 14 Aug 2005; Olivier Fisette <ribosome@gentoo.org> +files/init-5.0.2-r4,
+ +foldingathome-5.0.2-r4.ebuild:
+ Fixed bug #95697: license is now correct and the binaries are no longer
+ stripped since we are not allowed to modify them. Thanks to Ian Kelly
+ <kellyia@udel.edu>. Fixed bugs #90247 and #93047: Foldingathome init script
+ now uses start-stop-daemon. Thanks to James Lademann
+ <jwlademann@myrealbox.com>.
+
+ 22 Apr 2005; Danny van Dyk <kugelfang@gentoo.org>
+ foldingathome-5.0.2-r3.ebuild:
+ Marked stable on amd64.
+
+ 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:
+ Mark stable on x86
+
+ 05 Feb 2005; Brandon Low <lostlogic@gentoo.org> -files/copy_client_config,
+ -files/folding-init.d-r2, -files/folding-init.d-r4, -files/init-5.0.2-r1,
+ -files/init-5.0.2-r2, -foldingathome-5.0.2-r1.ebuild,
+ -foldingathome-5.0.2-r2.ebuild, -foldingathome-5.0.2.ebuild:
+ Clean up some cruft
+
+*foldingathome-5.0.2-r3 (05 Feb 2005)
+
+ 05 Feb 2005; Brandon Low <lostlogic@gentoo.org> +files/init-5.0.2-r3,
+ +foldingathome-5.0.2-r3.ebuild:
+ Fix bug #80778
+
+*foldingathome-5.0.2-r2 (04 Feb 2005)
+
+ 04 Feb 2005; Brandon Low <lostlogic@gentoo.org> +files/init-5.0.2-r2,
+ +foldingathome-5.0.2-r2.ebuild:
+ Fix bug #79574. Add unitinfo target to initscript to get the status of each
+ core on the system. Thanks to Yosef Meller <yosefm@gmail.com> for the idea
+ and initial patch
+
+*foldingathome-5.0.2-r1 (03 Feb 2005)
+
+ 03 Feb 2005; Brandon Low <lostlogic@gentoo.org>
+ +files/copy_client_config-5.0.2-r1, +files/init-5.0.2-r1,
+ +foldingathome-5.0.2-r1.ebuild:
+ Fix bug 71700 hopefully. Use bash not python for copy_client_config. Update
+ the init script to do more sane things and not fail to stop on multi-cpu
+ systems.
+
+*foldingathome-4.0.0-r2 (23 Dec 2004)
+
+ 23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/copy_client_config, +files/folding-conf.d, +files/folding-conf.d-r1,
+ +files/folding-init.d, +files/folding-init.d-r1, +files/folding-init.d-r2,
+ +files/folding-init.d-r3, +files/folding-init.d-r4, +files/folding.sh,
+ +files/initfolding, +files/initfolding-r1, +files/initfolding-r2,
+ +foldingathome-4.0.0-r2.ebuild, +foldingathome-4.0.0.ebuild,
+ +foldingathome-5.0.2.ebuild:
+ Moved from app-sci/foldingathome to sci-biology/foldingathome.
+
+ 13 Dec 2004; Patrick Kursawe <phosphan@gentoo.org>
+ -foldingathome-4.0.0-r1.ebuild:
+ Cleanup
+
+*foldingathome-5.0.2 (09 Nov 2004)
+
+ 09 Nov 2004; Steve Arnold <nerdboy@gentoo.org> +files/copy_client_config,
+ +files/folding-conf.d-r1, +files/folding-init.d-r4, +files/initfolding-r2,
+ +foldingathome-5.0.2.ebuild:
+ bumped to current version (bug 60318) with ebuild from Gregory P. Smith
+ <greg-gentoo@electricrain.com>. Gentoo team config.
+
+ 12 Jun 2004; Danny van Dyk <kugelfang@gentoo.org>
+ foldingathome-4.0.0-r2.ebuild:
+ Marked ~amd64.
+
+*foldingathome-4.0.0-r2 (07 Jun 2004)
+
+ 07 Jun 2004; Patrick Kursawe <phosphan@gentoo.org>
+ foldingathome-3.24-r1.ebuild, foldingathome-3.24.ebuild,
+ foldingathome-4.0.0-r2.ebuild, files/folding-init.d-r3:
+ No longer redirecting output to a redundand log file, see bug #51489
+ Cleanup, removing 3.x versions.
+
+ 23 Apr 2004; David Holm <dholm@gentoo.org> foldingathome-4.0.0-r1.ebuild:
+ Added to ~ppc.
+
+*foldingathome-4.0.0-r1 (22 Apr 2004)
+
+ 22 Apr 2004; Patrick Kursawe <phosphan@gentoo.org>
+ foldingathome-4.0.0-r1.ebuild, files/folding-conf.d,
+ files/folding-init.d-r2, files/initfolding-r1:
+ Added support to run multiple clients for those with multiprocessors
+ and the ability to pass options to the Folding clients.
+ Based on bug #47526 (by Mike Caley <mjcaley@darkarctic.com>)
+
+ 26 Mar 2004; Patrick Kursawe <phosphan@gentoo.org>
+ foldingathome-3.14.ebuild, foldingathome-3.24-r1.ebuild,
+ foldingathome-3.24.ebuild, foldingathome-4.0.0.ebuild:
+ Setting IUSE, removing S= where not necessary, declaring 4.0.0 stable for x86
+
+ 09 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> foldingathome-4.0.0.ebuild:
+ Adding amd64 keyword. Closing #43779.
+
+*foldingathome-4.0.0 (03 Mar 2004)
+
+ 03 Mar 2004; Patrick Kursawe <phosphan@gentoo.org>
+ foldingathome-4.0.0.ebuild:
+ Version bump inspired by bug #34859
+
+*foldingathome-3.24-r1 (01 Mar 2004)
+
+ 01 Mar 2004; Patrick Kursawe <phosphan@gentoo.org>
+ foldingathome-3.24-r1.ebuild, files/folding-init.d-r1, files/folding.sh,
+ files/initfolding:
+ Running as seperate user now.
+
+ 05 May 2003; Daniel Ahlberg <aliz@gentoo.org> files/folding-init.d :
+ Fixed stop() in init script. Fix by
+ Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl> in #20327.
+
+ 23 Apr 2003; Daniel Ahlberg <aliz@gentoo.org> foldingathome-3.2.4.ebuild, files/folding-init.d :
+ Now has the version number in SRC_URI and also uses the newer client if we're running >=glibc-2.3.0.
+ Also updated init script. Closes #19709 and #17715.
+
+*foldingathome-3.24 (27 Feb 2003)
+
+ 27 Feb 2003; Daniel Ahlberg <aliz@gentoo.org> foldingathome-3.24.ebuild :
+ Version bump.
+
+ 27 Feb 2003; Daniel Ahlberg <aliz@gentoo.org> files/folding-init.d :
+ Start the daemon with nice, closes #12950.
+
+*foldingathome-3.14 (04 Nov 2002)
+
+ 04 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ Initial import. Ebuild contributed by Ryan Shaw <ryan.shaw@stanfordalumni.org> in #9535.
diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest
new file mode 100644
index 000000000..6228c0669
--- /dev/null
+++ b/sci-biology/foldingathome/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 6.24/fah-init 802 RMD160 7c15544374e4adb9d8351a478f3551bcebd665ab SHA1 af814b258f67fcaf6bc6a5519c886895c31208fe SHA256 94e35a7aabfb0b2f10f5c8a6f28adca543dedaa51d4e737f4abffeef46a09323
+AUX 6.24/folding-conf.d 854 RMD160 c705e87e36b32b764eba185c2916a81a929e8c16 SHA1 6b29cac64993d9518fbefa8a61f09e07e6d44562 SHA256 815559a3c30858d47836dcb9244f8a42799630c88ac013e50f19fd74cca33c8c
+AUX 6.24/initfolding 125 RMD160 70e92fa4aa493fdf362e98c88850008a2d9aa226 SHA1 27838b24f2f12b51212fa1845c210a1443911dfc SHA256 8bada0baf3b0835774c472e0e2e05e7cebfa675a77c15ebdf75fee6d80a95f8b
+DIST FAH6.24beta-Linux.tgz 444667 RMD160 925d7686f42e7c39c00efc4afae534080072cf73 SHA1 609cc62ea65e0be9e1dbcd0ac62628b2b2689f93 SHA256 0b8ea7e824331f7b54323a756f5f8ea91365614d2f74079f8c3fdcfcf073ac49
+EBUILD foldingathome-6.24.ebuild 1591 RMD160 81efd5e8da212430462708e724b5c9463f1e20ba SHA1 ad463f8a0aa00093619f9332595ad4f1227420d1 SHA256 87c14f45a04b7789245c4de9484c20ab2a021b833db6d23b4cc4b7d47bafc8f1
+MISC ChangeLog 9195 RMD160 5b93b8cc0ae95d83c93d4bc9b1fb74c03c927369 SHA1 e18145b24646a2eea9f8e7eef5878cf8b291e57f SHA256 66ddd7945a2669209fc5a6ce8d4dd28c15f1ba964ef51e014d76552f5383b7c7
+MISC metadata.xml 164 RMD160 2f441200f2672ab5f1efae7cbdb08b284603903c SHA1 61a50baedfd041e663d6c2a41a28b57e22dbb6de SHA256 f0897b09e661dc603041dab249d73253034659189becf1a34cca37a7d51ef72f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkrJGS0ACgkQ5BmOA85PVLjisgCfUmot5mH1tPVILlQ3X2n6Twm+
+mmwAnAsXKSpRSD+3h1jGUhEtcTgWe989
+=Ftkn
+-----END PGP SIGNATURE-----
diff --git a/sci-biology/foldingathome/files/6.24/fah-init b/sci-biology/foldingathome/files/6.24/fah-init
new file mode 100644
index 000000000..70424cac1
--- /dev/null
+++ b/sci-biology/foldingathome/files/6.24/fah-init
@@ -0,0 +1,27 @@
+#!/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.24/folding-conf.d b/sci-biology/foldingathome/files/6.24/folding-conf.d
new file mode 100644
index 000000000..af99fc1d6
--- /dev/null
+++ b/sci-biology/foldingathome/files/6.24/folding-conf.d
@@ -0,0 +1,21 @@
+# 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.24/initfolding b/sci-biology/foldingathome/files/6.24/initfolding
new file mode 100644
index 000000000..3f760a1e6
--- /dev/null
+++ b/sci-biology/foldingathome/files/6.24/initfolding
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cd /opt/foldingathome
+/opt/foldingathome/fah6 -configonly
+/bin/chown -R foldingathome:nogroup /opt/foldingathome
+
diff --git a/sci-biology/foldingathome/foldingathome-6.24.ebuild b/sci-biology/foldingathome/foldingathome-6.24.ebuild
new file mode 100644
index 000000000..4c0685ce9
--- /dev/null
+++ b/sci-biology/foldingathome/foldingathome-6.24.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/foldingathome-6.24beta.ebuild,v 1.0 2009/05/10 splat 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.24beta-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/metadata.xml b/sci-biology/foldingathome/metadata.xml
new file mode 100644
index 000000000..34294c65c
--- /dev/null
+++ b/sci-biology/foldingathome/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-biology</herd>
+</pkgmetadata>