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.34-r1.ebuild foldingathome-6.34.ebuild
Date: Tue, 28 Jun 2011 15:14:31
Message-Id: 20110628151416.6D50420054@flycatcher.gentoo.org
1 je_fro 11/06/28 15:14:16
2
3 Modified: ChangeLog
4 Added: foldingathome-6.34-r1.ebuild
5 Removed: foldingathome-6.34.ebuild
6 Log:
7 Change init script to use 'user' instead of 'chuid' for new openrc.
8
9 (Portage version: 2.1.10.3/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.33 sci-biology/foldingathome/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/ChangeLog?rev=1.33&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/ChangeLog?rev=1.33&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/ChangeLog?r1=1.32&r2=1.33
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v
21 retrieving revision 1.32
22 retrieving revision 1.33
23 diff -u -r1.32 -r1.33
24 --- ChangeLog 15 Jun 2011 18:00:52 -0000 1.32
25 +++ ChangeLog 28 Jun 2011 15:14:16 -0000 1.33
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-biology/foldingathome
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.32 2011/06/15 18:00:52 je_fro Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/ChangeLog,v 1.33 2011/06/28 15:14:16 je_fro Exp $
31 +
32 +*foldingathome-6.34-r1 (28 Jun 2011)
33 +
34 + 28 Jun 2011; Jeff Gardner <je_fro@g.o> files/6.34/fah-init,
35 + -foldingathome-6.34.ebuild, +foldingathome-6.34-r1.ebuild:
36 + Change init script to use 'user' instead of 'chuid' for new openrc.
37
38 15 Jun 2011; Jeff Gardner <je_fro@g.o>
39 -files/copy_client_config-5.0.2-r1, -files/init-5.0.2-r3,
40
41
42
43 1.1 sci-biology/foldingathome/foldingathome-6.34-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/foldingathome-6.34-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/foldingathome/foldingathome-6.34-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: foldingathome-6.34-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/foldingathome-6.34-r1.ebuild,v 1.1 2011/06/28 15:14:16 je_fro Exp $
53
54 EAPI="3"
55
56 inherit eutils
57
58 DESCRIPTION="Folding@Home is a distributed computing project for protein folding."
59 HOMEPAGE="http://folding.stanford.edu/FAQ-SMP.html"
60 SRC_URI="http://www.stanford.edu/group/pandegroup/folding/release/FAH${PV}-Linux64.tgz"
61
62 LICENSE="folding-at-home"
63 SLOT="0"
64 KEYWORDS="~amd64"
65 IUSE=""
66
67 S="${WORKDIR}"
68
69 I="opt/foldingathome"
70
71 QA_DT_HASH="${I}/.*"
72 QA_PRESTRIPPED="${I}/fah6"
73
74 pkg_setup() {
75 I="${EPREFIX}/${I}"
76 }
77
78 src_install() {
79 exeinto ${I}
80 doexe "${FILESDIR}"/${PV}/initfolding || die
81 doexe fah6 || die
82 newconfd "${FILESDIR}"/${PV}/folding-conf.d foldingathome || die
83 newinitd "${FILESDIR}"/${PV}/fah-init foldingathome || die
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 "${EPREFIX}"/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 ${EPREFIX}/etc/conf.d/foldingathome for options"
98 einfo ""
99 einfo "I encourage you to acquire a username and join team 36480."
100 einfo "http://folding.stanford.edu/English/Download#ntoc2"
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 }