summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-06-17 09:21:59 +0000
committerJustin Lecher <jlec@gentoo.org>2010-06-17 09:21:59 +0000
commit0477e96cb61310de276b801c0a8ade4b8c6f8f25 (patch)
tree4fde2e77400ad24fbe97e0c8ee23881f775bf3b1 /sci-biology/foldingathome
parentVersion bump. (diff)
downloadhistorical-0477e96cb61310de276b801c0a8ade4b8c6f8f25.tar.gz
historical-0477e96cb61310de276b801c0a8ade4b8c6f8f25.tar.bz2
historical-0477e96cb61310de276b801c0a8ade4b8c6f8f25.zip
Version Bump, 270458, fixes for prestripped files. #252033
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/foldingathome')
-rw-r--r--sci-biology/foldingathome/ChangeLog11
-rw-r--r--sci-biology/foldingathome/Manifest17
-rw-r--r--sci-biology/foldingathome/files/6.29/fah-init27
-rw-r--r--sci-biology/foldingathome/files/6.29/folding-conf.d22
-rw-r--r--sci-biology/foldingathome/files/6.29/initfolding6
-rw-r--r--sci-biology/foldingathome/foldingathome-6.29.ebuild59
6 files changed, 139 insertions, 3 deletions
diff --git a/sci-biology/foldingathome/ChangeLog b/sci-biology/foldingathome/ChangeLog
index 253023dfa6e2..c170583f1da9 100644
--- a/sci-biology/foldingathome/ChangeLog
+++ b/sci-biology/foldingathome/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-biology/foldingathome
-# Copyright 2002-2008 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 $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.28 2010/06/17 09:21:59 jlec Exp $
+
+*foldingathome-6.29 (17 Jun 2010)
+
+ 17 Jun 2010; Justin Lecher <jlec@gentoo.org> +files/6.29/fah-init,
+ +files/6.29/folding-conf.d, +files/6.29/initfolding,
+ +foldingathome-6.29.ebuild:
+ Version Bump, 270458, fixes for prestripped files. #252033
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
diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest
index ad744b58ec4c..a62fa046de07 100644
--- a/sci-biology/foldingathome/Manifest
+++ b/sci-biology/foldingathome/Manifest
@@ -1,6 +1,12 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
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 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
@@ -8,8 +14,17 @@ AUX init-5.0.2-r5 1602 RMD160 4680d24496b69512d6223fb420258ad5184241fa SHA1 db31
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
EBUILD foldingathome-5.0.2-r3.ebuild 1982 RMD160 a3a8bbaf21d5d50dc50f58f7313ecfa05c619392 SHA1 de7f263dbdba60c4a94419cfbedd3b78265377f6 SHA256 a0a0a6eb97dd353fe0be39007a7c88e07d1cb52d6eaf724bc7d04a7761916de4
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
-MISC ChangeLog 8971 RMD160 0a18581426c5182b787276654433fd03c82617b1 SHA1 def3add88785b93645fbf455409f2347b4c3adfd SHA256 84ece98166427843ffa26285ebd8045a90581b4e0b7523db3bb4af4a7360b273
+EBUILD foldingathome-6.29.ebuild 1625 RMD160 9466d947a7578a725121866bdc4df16484ad029c SHA1 0bdbf50fec0dd6057f6af66bc27dbc428b56c18c SHA256 e3a3d8357475c1d1a7a5b17196a4f8525b20151ffa4b51d6e8fe8795c16bc5a1
+MISC ChangeLog 9220 RMD160 cdc6edd8ad8d1a46ae919c66995f013a8af95578 SHA1 72ef51b57a869f68d21741936a86528f01335124 SHA256 20942867889865bb1f77b7db71532fcca81884cabb83218891e700740377118d
MISC metadata.xml 164 RMD160 2f441200f2672ab5f1efae7cbdb08b284603903c SHA1 61a50baedfd041e663d6c2a41a28b57e22dbb6de SHA256 f0897b09e661dc603041dab249d73253034659189becf1a34cca37a7d51ef72f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkwZ6T0ACgkQgAnW8HDreRY34gCcCeR57OAIy5VGNqJGzigMIiBq
+dHwAnRPtniPW8AJkfWmxg5jL+QiOJV8X
+=okUH
+-----END PGP SIGNATURE-----
diff --git a/sci-biology/foldingathome/files/6.29/fah-init b/sci-biology/foldingathome/files/6.29/fah-init
new file mode 100644
index 000000000000..23543db3d35c
--- /dev/null
+++ b/sci-biology/foldingathome/files/6.29/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.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
new file mode 100644
index 000000000000..d9d0225f7388
--- /dev/null
+++ b/sci-biology/foldingathome/files/6.29/folding-conf.d
@@ -0,0 +1,22 @@
+# 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
new file mode 100644
index 000000000000..3f760a1e6117
--- /dev/null
+++ b/sci-biology/foldingathome/files/6.29/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.29.ebuild b/sci-biology/foldingathome/foldingathome-6.29.ebuild
new file mode 100644
index 000000000000..2525e964bdae
--- /dev/null
+++ b/sci-biology/foldingathome/foldingathome-6.29.ebuild
@@ -0,0 +1,59 @@
+# 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.1 2010/06/17 09:21:59 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 ~x86"
+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 ""
+}