Gentoo Archives: gentoo-commits

From: "Jeffrey Gardner (je_fro)" <je_fro@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/foldingathome: ChangeLog foldingathome-6.02.ebuild
Date: Sun, 03 Aug 2008 03:20:02
Message-Id: E1KPU8V-0006vg-KD@stork.gentoo.org
1 je_fro 08/08/03 03:19:59
2
3 Modified: ChangeLog
4 Added: foldingathome-6.02.ebuild
5 Log:
6 Latest, thanks to Nicolas Schlumberger, closing bug #233751
7 (Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64)
8
9 Revision Changes Path
10 1.22 sci-biology/foldingathome/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/ChangeLog?rev=1.22&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/ChangeLog?rev=1.22&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/ChangeLog?r1=1.21&r2=1.22
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v
19 retrieving revision 1.21
20 retrieving revision 1.22
21 diff -u -r1.21 -r1.22
22 --- ChangeLog 15 Jun 2008 04:36:41 -0000 1.21
23 +++ ChangeLog 3 Aug 2008 03:19:58 -0000 1.22
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sci-biology/foldingathome
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.21 2008/06/15 04:36:41 je_fro Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.22 2008/08/03 03:19:58 je_fro Exp $
29 +
30 +*foldingathome-6.02 (03 Aug 2008)
31 +
32 + 03 Aug 2008; Jeff Gardner <je_fro@g.o> +files/6.02/fah-init,
33 + +files/6.02/folding-conf.d, +files/6.02/initfolding,
34 + +foldingathome-6.02.ebuild:
35 + Latest version, thanks to Nicolas Schlumberger, closes bug #233751
36
37 15 Jun 2008; Jeff Gardner <je_fro@g.o>
38 files/6.02_beta1/folding-conf.d:
39
40
41
42 1.1 sci-biology/foldingathome/foldingathome-6.02.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/foldingathome-6.02.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/foldingathome-6.02.ebuild?rev=1.1&content-type=text/plain
46
47 Index: foldingathome-6.02.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/foldingathome-6.02.ebuild,v 1.1 2008/08/03 03:19:58 je_fro Exp $
52
53 # no version number on this install dir since upgrades will be using same dir
54 # (data will be stored here too)
55 # The clientX files from old foldingathome will remain untouched.
56 I="/opt/foldingathome/amd64-smp"
57
58 inherit eutils
59
60 DESCRIPTION="Folding@Home is a distributed computing project for protein folding."
61 HOMEPAGE="http://folding.stanford.edu/FAQ-SMP.html"
62 SRC_URI="http://www.stanford.edu/group/pandegroup/folding/release/FAH6.02-Linux.tgz"
63
64 LICENSE="folding-at-home"
65 SLOT="0"
66
67 # This is for x86_64 only.
68 KEYWORDS="~amd64"
69 IUSE=""
70
71 DEPEND=">=sys-apps/baselayout-1.8.0
72 >=sys-libs/glibc-2.3.0
73 app-emulation/emul-linux-x86-baselibs"
74 RDEPEND=""
75
76 S="${WORKDIR}"
77
78 src_install() {
79 exeinto ${I}
80 newexe "${FILESDIR}"/${PV}/initfolding initfolding
81 doexe fah6 mpiexec
82 newconfd "${FILESDIR}"/${PV}/folding-conf.d foldingathome
83 newinitd "${FILESDIR}"/${PV}/fah-init foldingathome
84 }
85
86 pkg_preinst() {
87 # the bash shell is important for "su -c" in init script
88 enewuser foldingathome -1 /bin/bash /opt/foldingathome
89 }
90
91 pkg_postinst() {
92 chown -R foldingathome:nogroup /opt/foldingathome
93 einfo "To run Folding@home in the background at boot:"
94 einfo " rc-update add foldingathome default"
95 einfo ""
96 einfo "Please run ${I}/initfolding to configure your client"
97 einfo "and edit /etc/conf.d/foldingathome for options"
98 einfo ""
99 einfo "This experimental F@H package exists alongside your old data files"
100 einfo "in ${I}."
101 einfo ""
102 }
103
104 pkg_postrm() {
105 einfo "Folding@home data files were not removed."
106 einfo " Remove them manually from ${I}"
107 einfo ""
108 }