Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/boinc: boinc-7.2.0.ebuild ChangeLog metadata.xml boinc-7.0.29.ebuild
Date: Sun, 30 Jun 2013 14:52:51
Message-Id: 20130630145248.44E622171D@flycatcher.gentoo.org
1 jlec 13/06/30 14:52:48
2
3 Modified: ChangeLog metadata.xml
4 Added: boinc-7.2.0.ebuild
5 Removed: boinc-7.0.29.ebuild
6 Log:
7 sci-misc/boinc: Version bump and drop old, fixes: security issue, #467908; link problems, #464772; correlation with abrupt time changes through ntp, #413041; menu items with newer x11-libs/wxGTK, #379979 & #376237
8
9 (Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
10
11 Revision Changes Path
12 1.111 sci-misc/boinc/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/ChangeLog?rev=1.111&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/ChangeLog?rev=1.111&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/ChangeLog?r1=1.110&r2=1.111
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v
21 retrieving revision 1.110
22 retrieving revision 1.111
23 diff -u -r1.110 -r1.111
24 --- ChangeLog 17 Aug 2012 09:45:54 -0000 1.110
25 +++ ChangeLog 30 Jun 2013 14:52:47 -0000 1.111
26 @@ -1,6 +1,16 @@
27 # ChangeLog for sci-misc/boinc
28 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.110 2012/08/17 09:45:54 scarabeus Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.111 2013/06/30 14:52:47 jlec Exp $
32 +
33 +*boinc-7.2.0 (30 Jun 2013)
34 +
35 + 30 Jun 2013; Justin Lecher <jlec@g.o> -boinc-7.0.29.ebuild,
36 + +boinc-7.2.0.ebuild, -files/7.0.2-fix_subdirs.patch,
37 + +files/boinc-7.2.0-fix_subdirs.patch, files/boinc.init,
38 + files/generate_tarball.sh, metadata.xml:
39 + Version bump and drop old, fixes: security issue, #467908; link problems,
40 + #464772; correlation with abrupt time changes through ntp, #413041; menu
41 + items with newer x11-libs/wxGTK, #379979 & #376237
42
43 17 Aug 2012; Tomáš Chvátal <scarabeus@g.o> -boinc-6.12.42.ebuild,
44 -files/6.12.26-fix_subdirs.patch:
45
46
47
48 1.11 sci-misc/boinc/metadata.xml
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/metadata.xml?rev=1.11&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/metadata.xml?rev=1.11&content-type=text/plain
52 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/metadata.xml?r1=1.10&r2=1.11
53
54 Index: metadata.xml
55 ===================================================================
56 RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/metadata.xml,v
57 retrieving revision 1.10
58 retrieving revision 1.11
59 diff -u -r1.10 -r1.11
60 --- metadata.xml 22 May 2011 09:34:20 -0000 1.10
61 +++ metadata.xml 30 Jun 2013 14:52:47 -0000 1.11
62 @@ -1,16 +1,16 @@
63 <?xml version="1.0" encoding="UTF-8"?>
64 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
65 <pkgmetadata>
66 -<herd>sci</herd>
67 -<longdescription lang="en">
68 + <herd>sci</herd>
69 + <longdescription lang="en">
70 BOINC (Berkeley Open Infrastructure for Network Computing) is a software
71 platform for distributed computing using volunteered computer resources.
72 </longdescription>
73 -<use>
74 - <flag name="cuda">
75 + <use>
76 + <flag name="cuda">
77 Use nvidia cuda toolkit for speeding up computations.
78 NOTE: works only for subset of nvidia graphic cards so make sure your card
79 is supported before opening bug about it.
80 </flag>
81 -</use>
82 + </use>
83 </pkgmetadata>
84
85
86
87 1.1 sci-misc/boinc/boinc-7.2.0.ebuild
88
89 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/boinc-7.2.0.ebuild?rev=1.1&view=markup
90 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/boinc-7.2.0.ebuild?rev=1.1&content-type=text/plain
91
92 Index: boinc-7.2.0.ebuild
93 ===================================================================
94 # Copyright 1999-2013 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 # $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-7.2.0.ebuild,v 1.1 2013/06/30 14:52:47 jlec Exp $
97
98 EAPI=5
99
100 #WANT_AUTOMAKE="1.11"
101
102 AUTOTOOLS_AUTORECONF=true
103
104 inherit autotools-utils flag-o-matic eutils wxwidgets user
105
106 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
107 HOMEPAGE="http://boinc.ssl.berkeley.edu/"
108 SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
109
110 LICENSE="LGPL-2.1"
111 SLOT="0"
112 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
113 IUSE="X cuda static-libs"
114
115 RDEPEND="
116 !sci-misc/boinc-bin
117 !app-admin/quickswitch
118 >=app-misc/ca-certificates-20080809
119 dev-libs/openssl
120 net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
121 sys-apps/util-linux
122 sys-libs/zlib
123 cuda? (
124 >=dev-util/nvidia-cuda-toolkit-2.1
125 >=x11-drivers/nvidia-drivers-180.22
126 )
127 X? (
128 dev-db/sqlite:3
129 media-libs/freeglut
130 sys-libs/glibc:2.2
131 virtual/jpeg
132 x11-libs/gtk+:2
133 >=x11-libs/libnotify-0.7
134 x11-libs/wxGTK:2.8[X,opengl]
135 )
136 "
137 DEPEND="${RDEPEND}
138 sys-devel/gettext
139 app-text/docbook-xml-dtd:4.4
140 app-text/docbook2X
141 "
142
143 PATCHES=(
144 "${FILESDIR}"/${P}-fix_subdirs.patch
145 )
146
147 AUTOTOOLS_IN_SOURCE_BUILD=1
148
149 src_prepare() {
150 # prevent bad changes in compile flags, bug 286701
151 sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
152
153 autotools-utils_src_prepare
154 }
155
156 src_configure() {
157 local wxconf=""
158
159 # add gtk includes
160 append-flags "$(pkg-config --cflags gtk+-2.0)"
161
162 # look for wxGTK
163 if use X; then
164 WX_GTK_VER="2.8"
165 need-wxwidgets unicode
166 wxconf+=" --with-wx-config=${WX_CONFIG}"
167 else
168 wxconf+=" --without-wxdir"
169 fi
170
171 local myeconfargs=(
172 --disable-server
173 --enable-client
174 --enable-dynamic-client-linkage
175 --disable-static
176 --enable-unicode
177 --with-ssl
178 $(use_with X x)
179 $(use_enable X manager)
180 ${wxconf}
181 )
182 autotools-utils_src_configure
183 }
184
185 src_install() {
186 autotools-utils_src_install
187
188 dodir /var/lib/${PN}/
189 keepdir /var/lib/${PN}/
190
191 if use X; then
192 newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png || die
193 make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
194 fi
195
196 # cleanup cruft
197 rm -rf "${ED}"/etc/
198
199 newinitd "${FILESDIR}"/${PN}.init ${PN}
200 newconfd "${FILESDIR}"/${PN}.conf ${PN}
201 }
202
203 pkg_preinst() {
204 enewgroup ${PN}
205 # note this works only for first install so we have to
206 # elog user about the need of being in video group
207 if use cuda; then
208 enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},video"
209 else
210 enewuser ${PN} -1 -1 /var/lib/${PN} "${PN}"
211 fi
212 }
213
214 pkg_postinst() {
215 echo
216 elog "You are using the source compiled version of ${PN}."
217 use X && elog "The graphical manager can be found at /usr/bin/${PN}mgr"
218 elog
219 elog "You need to attach to a project to do anything useful with ${PN}."
220 elog "You can do this by running /etc/init.d/${PN} attach"
221 elog "The howto for configuration is located at:"
222 elog "http://boinc.berkeley.edu/wiki/Anonymous_platform"
223 elog
224 # Add warning about the new password for the client, bug 121896.
225 if use X; then
226 elog "If you need to use the graphical manager the password is in:"
227 elog "/var/lib/${PN}/gui_rpc_auth.cfg"
228 elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:"
229 elog "/etc/conf.d/${PN}"
230 elog "You should change this password to something more memorable (can be even blank)."
231 elog "Remember to launch init script before using manager. Or changing the password."
232 elog
233 fi
234 if use cuda; then
235 elog "To be able to use CUDA you should add boinc user to video group."
236 elog "Run as root:"
237 elog "gpasswd -a boinc video"
238 fi
239 }