1 |
spock 09/04/02 11:19:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gimps-25.9.ebuild |
5 |
Log: |
6 |
Version bump (bug #264372). |
7 |
(Portage version: 2.1.6.11/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.27 sci-mathematics/gimps/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gimps/ChangeLog?rev=1.27&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gimps/ChangeLog?rev=1.27&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gimps/ChangeLog?r1=1.26&r2=1.27 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v |
19 |
retrieving revision 1.26 |
20 |
retrieving revision 1.27 |
21 |
diff -u -r1.26 -r1.27 |
22 |
--- ChangeLog 19 Dec 2008 18:33:02 -0000 1.26 |
23 |
+++ ChangeLog 2 Apr 2009 11:19:27 -0000 1.27 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sci-mathematics/gimps |
26 |
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v 1.26 2008/12/19 18:33:02 spock Exp $ |
28 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v 1.27 2009/04/02 11:19:27 spock Exp $ |
30 |
+ |
31 |
+*gimps-25.9 (02 Apr 2009) |
32 |
+ |
33 |
+ 02 Apr 2009; MichaĆ Januszewski <spock@g.o> +gimps-25.9.ebuild: |
34 |
+ Version bump (bug #264372). |
35 |
|
36 |
*gimps-25.8 (19 Dec 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sci-mathematics/gimps/gimps-25.9.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gimps/gimps-25.9.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/gimps/gimps-25.9.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: gimps-25.9.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/gimps-25.9.ebuild,v 1.1 2009/04/02 11:19:27 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 |
|
62 |
# Since there are no statically linked binaries for this version of mprime, |
63 |
# and no static binaries for amd64 in general, we use the dynamically linked |
64 |
# ones and try to cover the .so deps with the packages listed in RDEPEND. |
65 |
DEPEND="x86? ( dev-util/bsdiff )" |
66 |
RDEPEND="net-misc/curl" |
67 |
|
68 |
S="${WORKDIR}" |
69 |
I="/opt/gimps" |
70 |
|
71 |
QA_EXECSTACK="opt/gimps/mprime" |
72 |
|
73 |
src_unpack() { |
74 |
unpack ${A} |
75 |
cd "${S}" |
76 |
|
77 |
if use x86 ; then |
78 |
bspatch mprime mprime.fixed "${FILESDIR}/mprime-25.7.bpatch" || \ |
79 |
die "failed to apply binary patch for libcurl.so.4" |
80 |
mv mprime.fixed mprime |
81 |
fi |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
dodir ${I} /var/lib/gimps |
86 |
cp mprime "${D}/${I}" |
87 |
chmod 0555 "${D}/${I}/mprime" |
88 |
chown root:0 "${D}/${I}" |
89 |
chown root:0 "${D}/${I}/mprime" |
90 |
|
91 |
dodoc license.txt readme.txt stress.txt whatsnew.txt undoc.txt |
92 |
|
93 |
newinitd "${FILESDIR}/gimps-25.7-init.d" gimps |
94 |
newconfd "${FILESDIR}/gimps-25.6-conf.d" gimps |
95 |
} |
96 |
|
97 |
pkg_postinst() { |
98 |
echo |
99 |
einfo "You can use \`/etc/init.d/gimps start\` to start a GIMPS client in the" |
100 |
einfo "background at boot. Have a look at /etc/conf.d/gimps and check some" |
101 |
einfo "configuration options." |
102 |
einfo |
103 |
einfo "If you are a new user, you will need to configure GIMPS before" |
104 |
einfo "starting the initscript. To do so, run:" |
105 |
einfo " ${I}/mprime -w/var/lib/gimps" |
106 |
einfo "followed by:" |
107 |
einfo " chown nobody:nobody /var/lib/gimps/*" |
108 |
einfo |
109 |
einfo "If you have an existing GIMPS account, follow the instructions at:" |
110 |
einfo " http://mersenne.org/freesoft/#upgradeusers" |
111 |
einfo "and do not blindy restart gimps." |
112 |
echo |
113 |
} |
114 |
|
115 |
pkg_postrm() { |
116 |
echo |
117 |
einfo "GIMPS data files were not removed." |
118 |
einfo "Remove them manually from /var/lib/gimps/" |
119 |
echo |
120 |
} |