Gentoo Archives: gentoo-commits

From: "Michael Januszewski (spock)" <spock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/gimps: ChangeLog gimps-26.4.ebuild
Date: Sun, 28 Nov 2010 18:18:42
Message-Id: 20101128181817.6C76220051@flycatcher.gentoo.org
1 spock 10/11/28 18:18:17
2
3 Modified: ChangeLog
4 Added: gimps-26.4.ebuild
5 Log:
6 Version bump (bug #345733).
7
8 (Portage version: 2.1.9.25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.38 sci-mathematics/gimps/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gimps/ChangeLog?rev=1.38&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gimps/ChangeLog?rev=1.38&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gimps/ChangeLog?r1=1.37&r2=1.38
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v
20 retrieving revision 1.37
21 retrieving revision 1.38
22 diff -u -r1.37 -r1.38
23 --- ChangeLog 16 Oct 2010 21:24:46 -0000 1.37
24 +++ ChangeLog 28 Nov 2010 18:18:17 -0000 1.38
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-mathematics/gimps
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v 1.37 2010/10/16 21:24:46 spock Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v 1.38 2010/11/28 18:18:17 spock Exp $
30 +
31 +*gimps-26.4 (28 Nov 2010)
32 +
33 + 28 Nov 2010; MichaƂ Januszewski <spock@g.o> +gimps-26.4.ebuild:
34 + Version bump (bug #345733).
35
36 *gimps-26.3 (14 Oct 2010)
37
38
39
40
41 1.1 sci-mathematics/gimps/gimps-26.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gimps/gimps-26.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gimps/gimps-26.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gimps-26.4.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/gimps-26.4.ebuild,v 1.1 2010/11/28 18:18:17 spock Exp $
51
52 IUSE=""
53 DESCRIPTION="GIMPS - The Great Internet Mersenne Prime Search"
54 HOMEPAGE="http://mersenne.org/"
55 SRC_URI="amd64? ( ftp://mersenne.org/gimps/mprime${PV/./}-linux64.tar.gz )
56 x86? ( ftp://mersenne.org/gimps/mprime${PV/./}.tar.gz )"
57
58 SLOT="0"
59 LICENSE="as-is"
60 KEYWORDS="-* ~amd64 ~x86"
61 RESTRICT="binchecks"
62
63 # Since there are no statically linked binaries for this version of mprime,
64 # and no static binaries for amd64 in general, we use the dynamically linked
65 # ones and try to cover the .so deps with the packages listed in RDEPEND.
66 DEPEND="x86? ( dev-util/bsdiff )"
67 RDEPEND="net-misc/curl"
68
69 S="${WORKDIR}"
70 I="/opt/gimps"
71
72 QA_EXECSTACK="opt/gimps/mprime"
73
74 src_install() {
75 dodir ${I} /var/lib/gimps
76 cp mprime "${D}/${I}"
77 chmod 0555 "${D}/${I}/mprime"
78 chown root:0 "${D}/${I}"
79 chown root:0 "${D}/${I}/mprime"
80
81 dodoc license.txt readme.txt stress.txt whatsnew.txt undoc.txt
82
83 newinitd "${FILESDIR}/gimps-25.7-init.d" gimps
84 newconfd "${FILESDIR}/gimps-25.6-conf.d" gimps
85 }
86
87 pkg_postinst() {
88 echo
89 einfo "You can use \`/etc/init.d/gimps start\` to start a GIMPS client in the"
90 einfo "background at boot. Have a look at /etc/conf.d/gimps and check some"
91 einfo "configuration options."
92 einfo
93 einfo "If you are a new user, you will need to configure GIMPS before"
94 einfo "starting the initscript. To do so, run:"
95 einfo " ${I}/mprime -w/var/lib/gimps"
96 einfo "followed by:"
97 einfo " chown nobody:nobody /var/lib/gimps/*"
98 einfo
99 einfo "If you have an existing GIMPS account, follow the instructions at:"
100 einfo " http://mersenne.org/freesoft/#upgradeusers"
101 einfo "and do not blindy restart gimps."
102 echo
103 }
104
105 pkg_postrm() {
106 echo
107 einfo "GIMPS data files were not removed."
108 einfo "Remove them manually from /var/lib/gimps/"
109 echo
110 }