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-r1.ebuild foldingathome-6.02.ebuild |
Date: | Sat, 22 Nov 2008 21:31:28 |
Message-Id: | E1L404c-0000ft-OX@stork.gentoo.org |
1 | je_fro 08/11/22 21:31:26 |
2 | |
3 | Modified: ChangeLog |
4 | Added: foldingathome-6.02-r1.ebuild |
5 | Removed: foldingathome-6.02.ebuild |
6 | Log: |
7 | Bumping for init script fix and add back ~x86. |
8 | (Portage version: 2.2_rc15/cvs/Linux 2.6.27-gentoo-r3 x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.25 sci-biology/foldingathome/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/ChangeLog?rev=1.25&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/ChangeLog?rev=1.25&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/ChangeLog?r1=1.24&r2=1.25 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v |
20 | retrieving revision 1.24 |
21 | retrieving revision 1.25 |
22 | diff -u -r1.24 -r1.25 |
23 | --- ChangeLog 22 Nov 2008 04:37:22 -0000 1.24 |
24 | +++ ChangeLog 22 Nov 2008 21:31:26 -0000 1.25 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sci-biology/foldingathome |
27 | # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.24 2008/11/22 04:37:22 je_fro Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.25 2008/11/22 21:31:26 je_fro Exp $ |
30 | + |
31 | +*foldingathome-6.02-r1 (22 Nov 2008) |
32 | + |
33 | + 22 Nov 2008; Jeff Gardner <je_fro@g.o> -foldingathome-6.02.ebuild, |
34 | + +foldingathome-6.02-r1.ebuild: |
35 | + Bumping for init script fix and add back ~x86. |
36 | |
37 | 22 Nov 2008; Jeff Gardner <je_fro@g.o> files/6.02/fah-init: |
38 | Changing to use init script from Constantin Baranov on bug #218331 |
39 | |
40 | |
41 | |
42 | 1.1 sci-biology/foldingathome/foldingathome-6.02-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/foldingathome-6.02-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/foldingathome/foldingathome-6.02-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: foldingathome-6.02-r1.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-r1.ebuild,v 1.1 2008/11/22 21:31:26 je_fro Exp $ |
52 | |
53 | I="/opt/foldingathome" |
54 | |
55 | inherit eutils |
56 | |
57 | DESCRIPTION="Folding@Home is a distributed computing project for protein folding." |
58 | HOMEPAGE="http://folding.stanford.edu/FAQ-SMP.html" |
59 | SRC_URI="http://www.stanford.edu/group/pandegroup/folding/release/FAH6.02-Linux.tgz" |
60 | |
61 | LICENSE="folding-at-home" |
62 | SLOT="0" |
63 | |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="" |
66 | |
67 | DEPEND=">=sys-libs/glibc-2.3.0 |
68 | amd64? ( app-emulation/emul-linux-x86-baselibs )" |
69 | |
70 | RDEPEND="" |
71 | |
72 | S="${WORKDIR}" |
73 | |
74 | src_install() { |
75 | exeinto ${I} |
76 | newexe "${FILESDIR}"/${PV}/initfolding initfolding |
77 | doexe fah6 mpiexec |
78 | newconfd "${FILESDIR}"/${PV}/folding-conf.d foldingathome |
79 | newinitd "${FILESDIR}"/${PV}/fah-init foldingathome |
80 | } |
81 | |
82 | pkg_preinst() { |
83 | # the bash shell is important for "su -c" in init script |
84 | enewuser foldingathome -1 /bin/bash /opt/foldingathome |
85 | } |
86 | |
87 | pkg_postinst() { |
88 | chown -R foldingathome:nogroup /opt/foldingathome |
89 | einfo "To run Folding@home in the background at boot:" |
90 | einfo " rc-update add foldingathome default" |
91 | einfo "" |
92 | einfo "Please run ${I}/initfolding to configure your client" |
93 | einfo "and edit /etc/conf.d/foldingathome for options" |
94 | einfo "" |
95 | } |
96 | |
97 | pkg_postrm() { |
98 | einfo "Folding@home data files were not removed." |
99 | einfo " Remove them manually from ${I}" |
100 | einfo "" |
101 | } |