Gentoo Archives: gentoo-commits

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