1 |
commit: 74f81e9f6208ff09217cd3d2f24cea423b327663 |
2 |
Author: Sven Eden <yamakuzure <AT> gmx <DOT> net> |
3 |
AuthorDate: Thu Apr 28 08:10:38 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 4 22:00:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f81e9f |
7 |
|
8 |
sci-misc/boinc: Removed obsolete ebuild for boinc-7.4.42-r1 |
9 |
|
10 |
Gentoo-Bug: 577490, 578750 |
11 |
|
12 |
Made obsolete by the 7.4.42-r2 ebuild, that has an important fix. |
13 |
|
14 |
Package-Manager: portage-2.2.28 |
15 |
|
16 |
sci-misc/boinc/boinc-7.4.42-r1.ebuild | 141 ---------------------------------- |
17 |
1 file changed, 141 deletions(-) |
18 |
|
19 |
diff --git a/sci-misc/boinc/boinc-7.4.42-r1.ebuild b/sci-misc/boinc/boinc-7.4.42-r1.ebuild |
20 |
deleted file mode 100644 |
21 |
index 40a8b16..0000000 |
22 |
--- a/sci-misc/boinc/boinc-7.4.42-r1.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,141 +0,0 @@ |
25 |
-# Copyright 1999-2015 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Id$ |
28 |
- |
29 |
-EAPI=5 |
30 |
- |
31 |
-#WANT_AUTOMAKE="1.11" |
32 |
- |
33 |
-AUTOTOOLS_AUTORECONF=true |
34 |
- |
35 |
-inherit autotools-utils eutils flag-o-matic systemd user versionator wxwidgets |
36 |
- |
37 |
-MY_PV=$(get_version_component_range 1-2) |
38 |
- |
39 |
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" |
40 |
-HOMEPAGE="http://boinc.ssl.berkeley.edu/" |
41 |
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
- |
43 |
-LICENSE="LGPL-2.1" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
46 |
-IUSE="X cuda static-libs" |
47 |
- |
48 |
-RDEPEND=" |
49 |
- !sci-misc/boinc-bin |
50 |
- !app-admin/quickswitch |
51 |
- >=app-misc/ca-certificates-20080809 |
52 |
- dev-libs/openssl:0= |
53 |
- net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)] |
54 |
- sys-apps/util-linux |
55 |
- sys-libs/zlib |
56 |
- cuda? ( |
57 |
- >=dev-util/nvidia-cuda-toolkit-2.1 |
58 |
- >=x11-drivers/nvidia-drivers-180.22 |
59 |
- ) |
60 |
- X? ( |
61 |
- dev-db/sqlite:3 |
62 |
- media-libs/freeglut |
63 |
- sys-libs/glibc:2.2 |
64 |
- virtual/jpeg:0= |
65 |
- x11-libs/gtk+:2 |
66 |
- >=x11-libs/libnotify-0.7 |
67 |
- x11-libs/wxGTK:3.0[X,opengl,webkit] |
68 |
- ) |
69 |
-" |
70 |
-DEPEND="${RDEPEND} |
71 |
- sys-devel/gettext |
72 |
- app-text/docbook-xml-dtd:4.4 |
73 |
- app-text/docbook2X |
74 |
-" |
75 |
- |
76 |
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}" |
77 |
- |
78 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
79 |
- |
80 |
-src_prepare() { |
81 |
- # prevent bad changes in compile flags, bug 286701 |
82 |
- sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed" |
83 |
- |
84 |
- autotools-utils_src_prepare |
85 |
-} |
86 |
- |
87 |
-src_configure() { |
88 |
- local myeconfargs=( |
89 |
- --disable-server |
90 |
- --enable-client |
91 |
- --enable-dynamic-client-linkage |
92 |
- --disable-static |
93 |
- --enable-unicode |
94 |
- --with-ssl |
95 |
- $(use_with X x) |
96 |
- $(use_enable X manager) |
97 |
- ) |
98 |
- |
99 |
- # look for wxGTK |
100 |
- if use X; then |
101 |
- WX_GTK_VER="3.0" |
102 |
- need-wxwidgets unicode |
103 |
- myeconfargs+=(--with-wx-config="${WX_CONFIG}") |
104 |
- else |
105 |
- myeconfargs+=(--without-wxdir) |
106 |
- fi |
107 |
- |
108 |
- autotools-utils_src_configure |
109 |
-} |
110 |
- |
111 |
-src_install() { |
112 |
- autotools-utils_src_install |
113 |
- |
114 |
- keepdir /var/lib/${PN} |
115 |
- |
116 |
- if use X; then |
117 |
- newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png |
118 |
- make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}" |
119 |
- fi |
120 |
- |
121 |
- # cleanup cruft |
122 |
- rm -rf "${ED}"/etc |
123 |
- |
124 |
- newinitd "${FILESDIR}"/${PN}.init ${PN} |
125 |
- newconfd "${FILESDIR}"/${PN}.conf ${PN} |
126 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
127 |
-} |
128 |
- |
129 |
-pkg_preinst() { |
130 |
- enewgroup ${PN} |
131 |
- # note this works only for first install so we have to |
132 |
- # elog user about the need of being in video group |
133 |
- local groups="${PN}" |
134 |
- if use cuda; then |
135 |
- group+=",video" |
136 |
- fi |
137 |
- enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}" |
138 |
-} |
139 |
- |
140 |
-pkg_postinst() { |
141 |
- echo |
142 |
- elog "You are using the source compiled version of boinc." |
143 |
- use X && elog "The graphical manager can be found at /usr/bin/boincmgr" |
144 |
- elog |
145 |
- elog "You need to attach to a project to do anything useful with boinc." |
146 |
- elog "You can do this by running /etc/init.d/boinc attach" |
147 |
- elog "The howto for configuration is located at:" |
148 |
- elog "http://boinc.berkeley.edu/wiki/Anonymous_platform" |
149 |
- elog |
150 |
- # Add warning about the new password for the client, bug 121896. |
151 |
- if use X; then |
152 |
- elog "If you need to use the graphical manager the password is in:" |
153 |
- elog "/var/lib/boinc/gui_rpc_auth.cfg" |
154 |
- elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:" |
155 |
- elog "/etc/conf.d/boinc" |
156 |
- elog "You should change this password to something more memorable (can be even blank)." |
157 |
- elog "Remember to launch init script before using manager. Or changing the password." |
158 |
- elog |
159 |
- fi |
160 |
- if use cuda; then |
161 |
- elog "To be able to use CUDA you should add boinc user to video group." |
162 |
- elog "Run as root:" |
163 |
- elog "gpasswd -a boinc video" |
164 |
- fi |
165 |
-} |