1 |
scarabeus 09/11/10 21:14:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: boinc-6.10.18.ebuild |
5 |
Removed: boinc-6.4.5-r2.ebuild |
6 |
Log: |
7 |
Version bump. Drop old. Per bug #292640. |
8 |
(Portage version: 2.2_rc48/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.79 sci-misc/boinc/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/ChangeLog?rev=1.79&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/ChangeLog?rev=1.79&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/ChangeLog?r1=1.78&r2=1.79 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v |
20 |
retrieving revision 1.78 |
21 |
retrieving revision 1.79 |
22 |
diff -u -r1.78 -r1.79 |
23 |
--- ChangeLog 20 Oct 2009 10:18:09 -0000 1.78 |
24 |
+++ ChangeLog 10 Nov 2009 21:14:27 -0000 1.79 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for sci-misc/boinc |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.78 2009/10/20 10:18:09 scarabeus Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.79 2009/11/10 21:14:27 scarabeus Exp $ |
30 |
+ |
31 |
+*boinc-6.10.18 (10 Nov 2009) |
32 |
+ |
33 |
+ 10 Nov 2009; Tomáš Chvátal <scarabeus@g.o> |
34 |
+ -files/6.4.5-RSA_security.patch, -boinc-6.4.5-r2.ebuild, |
35 |
+ -files/6.4.5-gcc44.patch, -files/6.4.5-nostrip.patch, |
36 |
+ +boinc-6.10.18.ebuild: |
37 |
+ Version bump. Drop old. Per bug #292640. |
38 |
|
39 |
20 Oct 2009; Tomáš Chvátal <scarabeus@g.o> |
40 |
boinc-6.6.40-r2.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 sci-misc/boinc/boinc-6.10.18.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/boinc-6.10.18.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/boinc-6.10.18.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: boinc-6.10.18.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-6.10.18.ebuild,v 1.1 2009/11/10 21:14:27 scarabeus Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
|
57 |
inherit flag-o-matic depend.apache eutils wxwidgets autotools |
58 |
|
59 |
DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" |
60 |
HOMEPAGE="http://boinc.ssl.berkeley.edu/" |
61 |
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.bz2" |
62 |
|
63 |
LICENSE="LGPL-2.1" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
66 |
IUSE="X +client cuda server" |
67 |
|
68 |
RDEPEND=" |
69 |
!sci-misc/boinc-bin |
70 |
!app-admin/quickswitch |
71 |
>=app-misc/ca-certificates-20080809 |
72 |
dev-libs/openssl |
73 |
net-misc/curl |
74 |
sys-apps/util-linux |
75 |
sys-libs/zlib |
76 |
cuda? ( |
77 |
>=dev-util/nvidia-cuda-toolkit-2.1 |
78 |
>=x11-drivers/nvidia-drivers-180.22 |
79 |
) |
80 |
server? ( |
81 |
>=virtual/mysql-5.0 |
82 |
dev-python/mysql-python |
83 |
) |
84 |
" |
85 |
DEPEND="${RDEPEND} |
86 |
sys-devel/gettext |
87 |
server? ( virtual/imap-c-client ) |
88 |
X? ( |
89 |
media-libs/freeglut |
90 |
media-libs/jpeg |
91 |
x11-libs/wxGTK:2.8[X,opengl] |
92 |
) |
93 |
" |
94 |
|
95 |
# Upstream sucks in autotools |
96 |
#MAKEOPTS="-j1" |
97 |
|
98 |
src_prepare() { |
99 |
# use system ssl certificates |
100 |
mkdir "${S}"/curl |
101 |
cp /etc/ssl/certs/ca-certificates.crt "${S}"/curl/ca-bundle.crt |
102 |
|
103 |
# prevent bad changes in compile flags, bug 286701 |
104 |
sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed" |
105 |
|
106 |
epatch \ |
107 |
"${FILESDIR}"/6.4.5-glibc210.patch |
108 |
|
109 |
eautoreconf |
110 |
} |
111 |
|
112 |
src_configure() { |
113 |
local wxconf="" |
114 |
local conf="" |
115 |
|
116 |
# define preferable CFLAGS (recommended by upstream) |
117 |
append-flags -O3 -funroll-loops -fforce-addr -ffast-math |
118 |
|
119 |
# look for wxGTK |
120 |
if use X; then |
121 |
WX_GTK_VER="2.8" |
122 |
need-wxwidgets unicode |
123 |
wxconf+=" --with-wx-config=${WX_CONFIG}" |
124 |
else |
125 |
wxconf+=" --without-wxdir" |
126 |
fi |
127 |
|
128 |
# Bug #248769: don't use strlcat and friends from kerberos or similar |
129 |
#local func |
130 |
#for func in strlcat strlcpy; do |
131 |
# eval "export ac_cv_func_${func}=no" |
132 |
# append-cppflags -D${func}=boinc_${func} |
133 |
#done |
134 |
use server || conf+=" --disable-server" |
135 |
use X || conf+=" --disable-manager" |
136 |
use client || conf+=" --disable-client" |
137 |
|
138 |
# configure |
139 |
econf \ |
140 |
--disable-dependency-tracking \ |
141 |
--enable-unicode \ |
142 |
--with-ssl \ |
143 |
$(use_with X x) \ |
144 |
${wxconf} \ |
145 |
${conf} |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
emake DESTDIR="${D}" install || die "make install failed" |
150 |
|
151 |
dodir /var/lib/${PN}/ |
152 |
keepdir /var/lib/${PN}/ |
153 |
|
154 |
if use X; then |
155 |
newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png || die |
156 |
make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" /var/lib/${PN} |
157 |
fi |
158 |
|
159 |
# cleanup cruft |
160 |
rm -rf "${D}"/etc/ |
161 |
|
162 |
newinitd "${FILESDIR}"/${PN}.init ${PN} |
163 |
newconfd "${FILESDIR}"/${PN}.conf ${PN} |
164 |
} |
165 |
|
166 |
pkg_setup() { |
167 |
enewgroup ${PN} |
168 |
# note this works only for first install so we have to |
169 |
# elog user about the need of being in video group |
170 |
if use cuda; then |
171 |
enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},video" |
172 |
else |
173 |
enewuser ${PN} -1 -1 /var/lib/${PN} "${PN}" |
174 |
fi |
175 |
} |
176 |
|
177 |
pkg_postinst() { |
178 |
echo |
179 |
elog "You are using the source compiled version of ${PN}." |
180 |
use X && elog "The graphical manager can be found at /usr/bin/${PN}mgr" |
181 |
elog |
182 |
elog "You need to attach to a project to do anything useful with ${PN}." |
183 |
elog "You can do this by running /etc/init.d/${PN} attach" |
184 |
elog "The howto for configuration is located at:" |
185 |
elog "http://boinc.berkeley.edu/wiki/Anonymous_platform" |
186 |
elog |
187 |
# Add warning about the new password for the client, bug 121896. |
188 |
if use X; then |
189 |
elog "If you need to use the graphical manager the password is in:" |
190 |
elog "/var/lib/${PN}/gui_rpc_auth.cfg" |
191 |
elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:" |
192 |
elog "/etc/conf.d/${PN}" |
193 |
elog "You should change this password to something more memorable (can be even blank)." |
194 |
elog "Remember to launch init script before using manager. Or changing the password." |
195 |
elog |
196 |
fi |
197 |
if use cuda; then |
198 |
elog "To be able to use CUDA you should add boinc user to video group." |
199 |
elog "To do so run as root:" |
200 |
elog "gpasswd -a boinc video" |
201 |
fi |
202 |
} |