1 |
commit: 8eee6e2647fca439b9402910d59792f2cc2bfdee |
2 |
Author: Sven Eden <yamakuzure <AT> gmx <DOT> net> |
3 |
AuthorDate: Thu Dec 8 09:23:18 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 4 13:41:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eee6e26 |
7 |
|
8 |
sci-misc/boinc: Remove obsolete ebuilds, everybody should update. |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/3056 |
12 |
|
13 |
sci-misc/boinc/boinc-7.2.44.ebuild | 156 ----------------------------------- |
14 |
sci-misc/boinc/boinc-7.4.52.ebuild | 161 ------------------------------------- |
15 |
sci-misc/boinc/boinc-7.6.33.ebuild | 161 ------------------------------------- |
16 |
3 files changed, 478 deletions(-) |
17 |
|
18 |
diff --git a/sci-misc/boinc/boinc-7.2.44.ebuild b/sci-misc/boinc/boinc-7.2.44.ebuild |
19 |
deleted file mode 100644 |
20 |
index 7503d03..00000000 |
21 |
--- a/sci-misc/boinc/boinc-7.2.44.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,156 +0,0 @@ |
24 |
-# Copyright 1999-2016 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Id$ |
27 |
- |
28 |
-EAPI=6 |
29 |
- |
30 |
-WX_GTK_VER=2.8 |
31 |
- |
32 |
-inherit autotools eutils linux-info systemd user versionator wxwidgets |
33 |
- |
34 |
-MY_PV=$(get_version_component_range 1-2) |
35 |
- |
36 |
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" |
37 |
-HOMEPAGE="http://boinc.ssl.berkeley.edu/" |
38 |
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> ${P}.tar.gz" |
39 |
-RESTRICT="mirror" |
40 |
- |
41 |
-LICENSE="LGPL-2.1" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
44 |
-IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs" |
45 |
- |
46 |
-REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) " |
47 |
- |
48 |
-# libcurl must not be using an ssl backend boinc does not support. |
49 |
-# If the libcurl ssl backend changes, boinc should be recompiled. |
50 |
-RDEPEND=" |
51 |
- !sci-misc/boinc-bin |
52 |
- !app-admin/quickswitch |
53 |
- >=app-misc/ca-certificates-20080809 |
54 |
- net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)] |
55 |
- sys-apps/util-linux |
56 |
- sys-libs/zlib |
57 |
- cuda? ( |
58 |
- >=dev-util/nvidia-cuda-toolkit-2.1 |
59 |
- >=x11-drivers/nvidia-drivers-180.22 |
60 |
- ) |
61 |
- X? ( |
62 |
- dev-db/sqlite:3 |
63 |
- media-libs/freeglut |
64 |
- sys-libs/glibc:2.2 |
65 |
- virtual/jpeg:0= |
66 |
- x11-libs/gtk+:2 |
67 |
- >=x11-libs/libnotify-0.7 |
68 |
- x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] |
69 |
- ) |
70 |
-" |
71 |
-DEPEND="${RDEPEND} |
72 |
- sys-devel/gettext |
73 |
- app-text/docbook-xml-dtd:4.4 |
74 |
- app-text/docbook2X |
75 |
-" |
76 |
- |
77 |
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}" |
78 |
- |
79 |
-pkg_setup() { |
80 |
- # Bug 578750 |
81 |
- if use kernel_linux; then |
82 |
- linux-info_pkg_setup |
83 |
- if ! linux_config_exists; then |
84 |
- ewarn "Can't check the linux kernel configuration." |
85 |
- ewarn "You might be missing vsyscall support." |
86 |
- elif kernel_is -ge 4 4 \ |
87 |
- && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then |
88 |
- ewarn "You do not have vsyscall emulation enabled." |
89 |
- ewarn "This will prevent some boinc projects from running." |
90 |
- ewarn "Please enable vsyscall emulation:" |
91 |
- ewarn " CONFIG_LEGACY_VSYSCALL_EMULATE=y" |
92 |
- ewarn "in /usr/src/linux/.config, to be found at" |
93 |
- ewarn " Processor type and features --->" |
94 |
- ewarn " vsyscall table for legacy applications (None) --->" |
95 |
- ewarn " (X) Emulate" |
96 |
- ewarn "Alternatively, you can enable CONFIG_LEGACY_VSYSCALL_NATIVE." |
97 |
- ewarn "However, this has security implications and is not recommended." |
98 |
- fi |
99 |
- fi |
100 |
-} |
101 |
- |
102 |
-src_prepare() { |
103 |
- default |
104 |
- |
105 |
- # prevent bad changes in compile flags, bug 286701 |
106 |
- sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed" |
107 |
- |
108 |
- eautoreconf |
109 |
- |
110 |
- use X && need-wxwidgets unicode |
111 |
-} |
112 |
- |
113 |
-src_configure() { |
114 |
- econf --disable-server \ |
115 |
- --enable-client \ |
116 |
- --enable-dynamic-client-linkage \ |
117 |
- --disable-static \ |
118 |
- --enable-unicode \ |
119 |
- --with-ssl \ |
120 |
- $(use_with X x) \ |
121 |
- $(use_enable X manager) \ |
122 |
- $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir) |
123 |
-} |
124 |
- |
125 |
-src_install() { |
126 |
- default |
127 |
- |
128 |
- keepdir /var/lib/${PN} |
129 |
- |
130 |
- if use X; then |
131 |
- newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png |
132 |
- make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}" |
133 |
- fi |
134 |
- |
135 |
- # cleanup cruft |
136 |
- rm -rf "${ED}"/etc || die "rm failed" |
137 |
- |
138 |
- newinitd "${FILESDIR}"/${PN}.init ${PN} |
139 |
- newconfd "${FILESDIR}"/${PN}.conf ${PN} |
140 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
141 |
-} |
142 |
- |
143 |
-pkg_preinst() { |
144 |
- enewgroup ${PN} |
145 |
- # note this works only for first install so we have to |
146 |
- # elog user about the need of being in video group |
147 |
- local groups="${PN}" |
148 |
- if use cuda; then |
149 |
- groups+=",video" |
150 |
- fi |
151 |
- enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}" |
152 |
-} |
153 |
- |
154 |
-pkg_postinst() { |
155 |
- echo |
156 |
- elog "You are using the source compiled version of boinc." |
157 |
- use X && elog "The graphical manager can be found at /usr/bin/boincmgr" |
158 |
- elog |
159 |
- elog "You need to attach to a project to do anything useful with boinc." |
160 |
- elog "You can do this by running /etc/init.d/boinc attach" |
161 |
- elog "The howto for configuration is located at:" |
162 |
- elog "http://boinc.berkeley.edu/wiki/Anonymous_platform" |
163 |
- elog |
164 |
- # Add warning about the new password for the client, bug 121896. |
165 |
- if use X; then |
166 |
- elog "If you need to use the graphical manager the password is in:" |
167 |
- elog "/var/lib/boinc/gui_rpc_auth.cfg" |
168 |
- elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:" |
169 |
- elog "/etc/conf.d/boinc" |
170 |
- elog "You should change this password to something more memorable (can be even blank)." |
171 |
- elog "Remember to launch init script before using manager. Or changing the password." |
172 |
- elog |
173 |
- fi |
174 |
- if use cuda; then |
175 |
- elog "To be able to use CUDA you should add boinc user to video group." |
176 |
- elog "Run as root:" |
177 |
- elog "gpasswd -a boinc video" |
178 |
- fi |
179 |
-} |
180 |
|
181 |
diff --git a/sci-misc/boinc/boinc-7.4.52.ebuild b/sci-misc/boinc/boinc-7.4.52.ebuild |
182 |
deleted file mode 100644 |
183 |
index 52326a2..00000000 |
184 |
--- a/sci-misc/boinc/boinc-7.4.52.ebuild |
185 |
+++ /dev/null |
186 |
@@ -1,161 +0,0 @@ |
187 |
-# Copyright 1999-2016 Gentoo Foundation |
188 |
-# Distributed under the terms of the GNU General Public License v2 |
189 |
-# $Id$ |
190 |
- |
191 |
-EAPI=6 |
192 |
- |
193 |
-WX_GTK_VER=3.0 |
194 |
- |
195 |
-inherit autotools eutils linux-info systemd user versionator wxwidgets |
196 |
- |
197 |
-MY_PV=$(get_version_component_range 1-2) |
198 |
- |
199 |
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" |
200 |
-HOMEPAGE="http://boinc.ssl.berkeley.edu/" |
201 |
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> ${P}.tar.gz" |
202 |
-RESTRICT="mirror" |
203 |
- |
204 |
-LICENSE="LGPL-2.1" |
205 |
-SLOT="0" |
206 |
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
207 |
-IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs" |
208 |
- |
209 |
-REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) " |
210 |
- |
211 |
-# libcurl must not be using an ssl backend boinc does not support. |
212 |
-# If the libcurl ssl backend changes, boinc should be recompiled. |
213 |
-RDEPEND=" |
214 |
- !sci-misc/boinc-bin |
215 |
- !app-admin/quickswitch |
216 |
- >=app-misc/ca-certificates-20080809 |
217 |
- net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)] |
218 |
- sys-apps/util-linux |
219 |
- sys-libs/zlib |
220 |
- cuda? ( |
221 |
- >=dev-util/nvidia-cuda-toolkit-2.1 |
222 |
- >=x11-drivers/nvidia-drivers-180.22 |
223 |
- ) |
224 |
- X? ( |
225 |
- dev-db/sqlite:3 |
226 |
- media-libs/freeglut |
227 |
- sys-libs/glibc:2.2 |
228 |
- virtual/jpeg:0= |
229 |
- x11-libs/gtk+:2 |
230 |
- >=x11-libs/libnotify-0.7 |
231 |
- x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit] |
232 |
- ) |
233 |
-" |
234 |
-DEPEND="${RDEPEND} |
235 |
- sys-devel/gettext |
236 |
- app-text/docbook-xml-dtd:4.4 |
237 |
- app-text/docbook2X |
238 |
-" |
239 |
- |
240 |
-PATCHES=( |
241 |
- # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462 |
242 |
- "${FILESDIR}"/fix_webview.patch |
243 |
-) |
244 |
- |
245 |
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}" |
246 |
- |
247 |
-pkg_setup() { |
248 |
- # Bug 578750 |
249 |
- if use kernel_linux; then |
250 |
- linux-info_pkg_setup |
251 |
- if ! linux_config_exists; then |
252 |
- ewarn "Can't check the linux kernel configuration." |
253 |
- ewarn "You might be missing vsyscall support." |
254 |
- elif kernel_is -ge 4 4 \ |
255 |
- && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then |
256 |
- ewarn "You do not have vsyscall emulation enabled." |
257 |
- ewarn "This will prevent some boinc projects from running." |
258 |
- ewarn "Please enable vsyscall emulation:" |
259 |
- ewarn " CONFIG_LEGACY_VSYSCALL_EMULATE=y" |
260 |
- ewarn "in /usr/src/linux/.config, to be found at" |
261 |
- ewarn " Processor type and features --->" |
262 |
- ewarn " vsyscall table for legacy applications (None) --->" |
263 |
- ewarn " (X) Emulate" |
264 |
- ewarn "Alternatively, you can enable CONFIG_LEGACY_VSYSCALL_NATIVE." |
265 |
- ewarn "However, this has security implications and is not recommended." |
266 |
- fi |
267 |
- fi |
268 |
-} |
269 |
- |
270 |
-src_prepare() { |
271 |
- default |
272 |
- |
273 |
- # prevent bad changes in compile flags, bug 286701 |
274 |
- sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed" |
275 |
- |
276 |
- eautoreconf |
277 |
- |
278 |
- use X && need-wxwidgets unicode |
279 |
-} |
280 |
- |
281 |
-src_configure() { |
282 |
- econf --disable-server \ |
283 |
- --enable-client \ |
284 |
- --enable-dynamic-client-linkage \ |
285 |
- --disable-static \ |
286 |
- --enable-unicode \ |
287 |
- --with-ssl \ |
288 |
- $(use_with X x) \ |
289 |
- $(use_enable X manager) \ |
290 |
- $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir) |
291 |
-} |
292 |
- |
293 |
-src_install() { |
294 |
- default |
295 |
- |
296 |
- keepdir /var/lib/${PN} |
297 |
- |
298 |
- if use X; then |
299 |
- newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png |
300 |
- make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}" |
301 |
- fi |
302 |
- |
303 |
- # cleanup cruft |
304 |
- rm -rf "${ED}"/etc || die "rm failed" |
305 |
- |
306 |
- newinitd "${FILESDIR}"/${PN}.init ${PN} |
307 |
- newconfd "${FILESDIR}"/${PN}.conf ${PN} |
308 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
309 |
-} |
310 |
- |
311 |
-pkg_preinst() { |
312 |
- enewgroup ${PN} |
313 |
- # note this works only for first install so we have to |
314 |
- # elog user about the need of being in video group |
315 |
- local groups="${PN}" |
316 |
- if use cuda; then |
317 |
- groups+=",video" |
318 |
- fi |
319 |
- enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}" |
320 |
-} |
321 |
- |
322 |
-pkg_postinst() { |
323 |
- echo |
324 |
- elog "You are using the source compiled version of boinc." |
325 |
- use X && elog "The graphical manager can be found at /usr/bin/boincmgr" |
326 |
- elog |
327 |
- elog "You need to attach to a project to do anything useful with boinc." |
328 |
- elog "You can do this by running /etc/init.d/boinc attach" |
329 |
- elog "The howto for configuration is located at:" |
330 |
- elog "http://boinc.berkeley.edu/wiki/Anonymous_platform" |
331 |
- elog |
332 |
- # Add warning about the new password for the client, bug 121896. |
333 |
- if use X; then |
334 |
- elog "If you need to use the graphical manager the password is in:" |
335 |
- elog "/var/lib/boinc/gui_rpc_auth.cfg" |
336 |
- elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:" |
337 |
- elog "/etc/conf.d/boinc" |
338 |
- elog "You should change this password to something more memorable (can be even blank)." |
339 |
- elog "Remember to launch init script before using manager. Or changing the password." |
340 |
- elog |
341 |
- fi |
342 |
- if use cuda; then |
343 |
- elog "To be able to use CUDA you should add boinc user to video group." |
344 |
- elog "Run as root:" |
345 |
- elog "gpasswd -a boinc video" |
346 |
- fi |
347 |
-} |
348 |
|
349 |
diff --git a/sci-misc/boinc/boinc-7.6.33.ebuild b/sci-misc/boinc/boinc-7.6.33.ebuild |
350 |
deleted file mode 100644 |
351 |
index 52326a2..00000000 |
352 |
--- a/sci-misc/boinc/boinc-7.6.33.ebuild |
353 |
+++ /dev/null |
354 |
@@ -1,161 +0,0 @@ |
355 |
-# Copyright 1999-2016 Gentoo Foundation |
356 |
-# Distributed under the terms of the GNU General Public License v2 |
357 |
-# $Id$ |
358 |
- |
359 |
-EAPI=6 |
360 |
- |
361 |
-WX_GTK_VER=3.0 |
362 |
- |
363 |
-inherit autotools eutils linux-info systemd user versionator wxwidgets |
364 |
- |
365 |
-MY_PV=$(get_version_component_range 1-2) |
366 |
- |
367 |
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" |
368 |
-HOMEPAGE="http://boinc.ssl.berkeley.edu/" |
369 |
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> ${P}.tar.gz" |
370 |
-RESTRICT="mirror" |
371 |
- |
372 |
-LICENSE="LGPL-2.1" |
373 |
-SLOT="0" |
374 |
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
375 |
-IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs" |
376 |
- |
377 |
-REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) " |
378 |
- |
379 |
-# libcurl must not be using an ssl backend boinc does not support. |
380 |
-# If the libcurl ssl backend changes, boinc should be recompiled. |
381 |
-RDEPEND=" |
382 |
- !sci-misc/boinc-bin |
383 |
- !app-admin/quickswitch |
384 |
- >=app-misc/ca-certificates-20080809 |
385 |
- net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)] |
386 |
- sys-apps/util-linux |
387 |
- sys-libs/zlib |
388 |
- cuda? ( |
389 |
- >=dev-util/nvidia-cuda-toolkit-2.1 |
390 |
- >=x11-drivers/nvidia-drivers-180.22 |
391 |
- ) |
392 |
- X? ( |
393 |
- dev-db/sqlite:3 |
394 |
- media-libs/freeglut |
395 |
- sys-libs/glibc:2.2 |
396 |
- virtual/jpeg:0= |
397 |
- x11-libs/gtk+:2 |
398 |
- >=x11-libs/libnotify-0.7 |
399 |
- x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit] |
400 |
- ) |
401 |
-" |
402 |
-DEPEND="${RDEPEND} |
403 |
- sys-devel/gettext |
404 |
- app-text/docbook-xml-dtd:4.4 |
405 |
- app-text/docbook2X |
406 |
-" |
407 |
- |
408 |
-PATCHES=( |
409 |
- # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462 |
410 |
- "${FILESDIR}"/fix_webview.patch |
411 |
-) |
412 |
- |
413 |
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}" |
414 |
- |
415 |
-pkg_setup() { |
416 |
- # Bug 578750 |
417 |
- if use kernel_linux; then |
418 |
- linux-info_pkg_setup |
419 |
- if ! linux_config_exists; then |
420 |
- ewarn "Can't check the linux kernel configuration." |
421 |
- ewarn "You might be missing vsyscall support." |
422 |
- elif kernel_is -ge 4 4 \ |
423 |
- && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then |
424 |
- ewarn "You do not have vsyscall emulation enabled." |
425 |
- ewarn "This will prevent some boinc projects from running." |
426 |
- ewarn "Please enable vsyscall emulation:" |
427 |
- ewarn " CONFIG_LEGACY_VSYSCALL_EMULATE=y" |
428 |
- ewarn "in /usr/src/linux/.config, to be found at" |
429 |
- ewarn " Processor type and features --->" |
430 |
- ewarn " vsyscall table for legacy applications (None) --->" |
431 |
- ewarn " (X) Emulate" |
432 |
- ewarn "Alternatively, you can enable CONFIG_LEGACY_VSYSCALL_NATIVE." |
433 |
- ewarn "However, this has security implications and is not recommended." |
434 |
- fi |
435 |
- fi |
436 |
-} |
437 |
- |
438 |
-src_prepare() { |
439 |
- default |
440 |
- |
441 |
- # prevent bad changes in compile flags, bug 286701 |
442 |
- sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed" |
443 |
- |
444 |
- eautoreconf |
445 |
- |
446 |
- use X && need-wxwidgets unicode |
447 |
-} |
448 |
- |
449 |
-src_configure() { |
450 |
- econf --disable-server \ |
451 |
- --enable-client \ |
452 |
- --enable-dynamic-client-linkage \ |
453 |
- --disable-static \ |
454 |
- --enable-unicode \ |
455 |
- --with-ssl \ |
456 |
- $(use_with X x) \ |
457 |
- $(use_enable X manager) \ |
458 |
- $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir) |
459 |
-} |
460 |
- |
461 |
-src_install() { |
462 |
- default |
463 |
- |
464 |
- keepdir /var/lib/${PN} |
465 |
- |
466 |
- if use X; then |
467 |
- newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png |
468 |
- make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}" |
469 |
- fi |
470 |
- |
471 |
- # cleanup cruft |
472 |
- rm -rf "${ED}"/etc || die "rm failed" |
473 |
- |
474 |
- newinitd "${FILESDIR}"/${PN}.init ${PN} |
475 |
- newconfd "${FILESDIR}"/${PN}.conf ${PN} |
476 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
477 |
-} |
478 |
- |
479 |
-pkg_preinst() { |
480 |
- enewgroup ${PN} |
481 |
- # note this works only for first install so we have to |
482 |
- # elog user about the need of being in video group |
483 |
- local groups="${PN}" |
484 |
- if use cuda; then |
485 |
- groups+=",video" |
486 |
- fi |
487 |
- enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}" |
488 |
-} |
489 |
- |
490 |
-pkg_postinst() { |
491 |
- echo |
492 |
- elog "You are using the source compiled version of boinc." |
493 |
- use X && elog "The graphical manager can be found at /usr/bin/boincmgr" |
494 |
- elog |
495 |
- elog "You need to attach to a project to do anything useful with boinc." |
496 |
- elog "You can do this by running /etc/init.d/boinc attach" |
497 |
- elog "The howto for configuration is located at:" |
498 |
- elog "http://boinc.berkeley.edu/wiki/Anonymous_platform" |
499 |
- elog |
500 |
- # Add warning about the new password for the client, bug 121896. |
501 |
- if use X; then |
502 |
- elog "If you need to use the graphical manager the password is in:" |
503 |
- elog "/var/lib/boinc/gui_rpc_auth.cfg" |
504 |
- elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:" |
505 |
- elog "/etc/conf.d/boinc" |
506 |
- elog "You should change this password to something more memorable (can be even blank)." |
507 |
- elog "Remember to launch init script before using manager. Or changing the password." |
508 |
- elog |
509 |
- fi |
510 |
- if use cuda; then |
511 |
- elog "To be able to use CUDA you should add boinc user to video group." |
512 |
- elog "Run as root:" |
513 |
- elog "gpasswd -a boinc video" |
514 |
- fi |
515 |
-} |