[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2024-04-12 Thread Joonas Niilola
commit: 24d5e9de7d001b29c9ea5744fdfa206caec256ef
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Apr 12 09:15:40 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Apr 12 13:08:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d5e9de

sci-misc/boinc: Stabilize 7.24.1-r1 amd64, #918092

Signed-off-by: Joonas Niilola  gentoo.org>

 sci-misc/boinc/boinc-7.24.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.24.1-r1.ebuild 
b/sci-misc/boinc/boinc-7.24.1-r1.ebuild
index 5faed36ec985..6bf4c492b7a8 100644
--- a/sci-misc/boinc/boinc-7.24.1-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.24.1-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm64 ~ia64 ~ppc ppc64 sparc ~x86"
+   KEYWORDS="amd64 arm64 ~ia64 ~ppc ppc64 sparc ~x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2024-04-11 Thread Sam James
commit: 3961afe7d37a6776d0c70a48b29160631b78d852
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 11 21:33:46 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 11 21:33:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3961afe7

sci-misc/boinc: Stabilize 7.24.1-r1 arm64, #918092

Signed-off-by: Sam James  gentoo.org>

 sci-misc/boinc/boinc-7.24.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.24.1-r1.ebuild 
b/sci-misc/boinc/boinc-7.24.1-r1.ebuild
index 2a3f5343cc5b..5faed36ec985 100644
--- a/sci-misc/boinc/boinc-7.24.1-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.24.1-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ppc64 sparc ~x86"
+   KEYWORDS="~amd64 arm64 ~ia64 ~ppc ppc64 sparc ~x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2024-04-11 Thread Sam James
commit: bad2ac20904fea82c125ff68213f9981e503aab9
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 11 16:46:15 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 11 16:46:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad2ac20

sci-misc/boinc: Stabilize 7.24.1-r1 sparc, #918092

Signed-off-by: Sam James  gentoo.org>

 sci-misc/boinc/boinc-7.24.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.24.1-r1.ebuild 
b/sci-misc/boinc/boinc-7.24.1-r1.ebuild
index 473ca503496a..2a3f5343cc5b 100644
--- a/sci-misc/boinc/boinc-7.24.1-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.24.1-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ppc64 ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ppc64 sparc ~x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2024-04-11 Thread Arthur Zamarin
commit: 99d1d11824d172d04e9b31c178573e460e733371
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Apr 11 16:37:20 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Apr 11 16:37:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d1d118

sci-misc/boinc: Stabilize 7.24.1-r1 ppc64, #918092

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-misc/boinc/boinc-7.24.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.24.1-r1.ebuild 
b/sci-misc/boinc/boinc-7.24.1-r1.ebuild
index 3a0c1e63675f..473ca503496a 100644
--- a/sci-misc/boinc/boinc-7.24.1-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.24.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ppc64 ~sparc ~x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-11-24 Thread Sam James
commit: 200d7dc3eeb2bba02f53a32be29aa930cf6c193c
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 25 05:37:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 25 05:37:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=200d7dc3

sci-misc/boinc: cleanup curl_ssl_nss cruft

curl removed this upstream a few releases ago, and all releases are now gone 
from
::gentoo.

This one is less important but may as well do it now while I remember.

Signed-off-by: Sam James  gentoo.org>

 sci-misc/boinc/{boinc-7.22.0.ebuild => boinc-7.22.0-r1.ebuild} | 2 +-
 sci-misc/boinc/{boinc-7.24.1.ebuild => boinc-7.24.1-r1.ebuild} | 2 +-
 sci-misc/boinc/boinc-.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.22.0.ebuild 
b/sci-misc/boinc/boinc-7.22.0-r1.ebuild
similarity index 98%
rename from sci-misc/boinc/boinc-7.22.0.ebuild
rename to sci-misc/boinc/boinc-7.22.0-r1.ebuild
index b885c3d4e1e5..8fc5d062c797 100644
--- a/sci-misc/boinc/boinc-7.22.0.ebuild
+++ b/sci-misc/boinc/boinc-7.22.0-r1.ebuild
@@ -42,7 +42,7 @@ DEPEND="
virtual/opencl
)
dev-libs/openssl:=
-   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
sys-libs/zlib
X? (
dev-libs/glib:2

diff --git a/sci-misc/boinc/boinc-7.24.1.ebuild 
b/sci-misc/boinc/boinc-7.24.1-r1.ebuild
similarity index 98%
rename from sci-misc/boinc/boinc-7.24.1.ebuild
rename to sci-misc/boinc/boinc-7.24.1-r1.ebuild
index 5a296b9442ef..3a0c1e63675f 100644
--- a/sci-misc/boinc/boinc-7.24.1.ebuild
+++ b/sci-misc/boinc/boinc-7.24.1-r1.ebuild
@@ -36,7 +36,7 @@ DEPEND="
acct-user/boinc
app-misc/ca-certificates
dev-libs/openssl:=
-   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
sys-libs/zlib
cuda? (
x11-drivers/nvidia-drivers

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 72f1e1e3e30e..9526c0e202fa 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -44,7 +44,7 @@ DEPEND="
virtual/opencl
)
dev-libs/openssl:=
-   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
sys-apps/util-linux
sys-libs/zlib
X? (



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-10-17 Thread Andrew Ammerlaan
commit: e49496d68253ab8595f09ed67660b97fa1d140ca
Author: Sven Eden  prydeworx  com>
AuthorDate: Wed Sep 20 05:33:32 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Oct 17 07:28:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e49496d6

sci-misc/boinc: add 7.24.1

Bug: https://bugs.gentoo.org/914451
Closes: https://bugs.gentoo.org/914451
Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-misc/boinc/Manifest|   1 +
 sci-misc/boinc/boinc-7.24.1.ebuild | 194 +
 2 files changed, 195 insertions(+)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index e204b98cadec..902a51fe1346 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,4 @@
 DIST boinc-7.20.2.tar.gz 46555666 BLAKE2B 
4d11217739d341c5b61d86afa02eebdad80809f42caa3f6dea1d86ed53d79004d60fa362fd04d53060060472e108e0ee0aa0428e4799eb70f2e98f07dc1f39cd
 SHA512 
0309d5585ece96a5d9021058870dce9a96c89ece269650961a9b22d5219529e242a55dc1e466f5364535033198ca5c36496ca23125a9cda0c308bfdb4372abbb
 DIST boinc-7.22.0.tar.gz 46675766 BLAKE2B 
97083fa482fadcbd38c3e207fe8c41bfe380e37f181b7d32969b8ef44b0186bc4e117bac59ab1f557b12598352ff9206a9ba12dd748781342545d661e1386a67
 SHA512 
f8c87338750605f59f5265fd0bfe2956acfca0c42ef58402df860f0eb9953467ee34286308a916e1d4ee12cbf85c05422558ccdf241ab8f26b86c966f66aec4a
+DIST boinc-7.24.1.tar.gz 46747399 BLAKE2B 
872cf16a67a69c297aa3096c44b8272c039e913991253c7e52847f438050c0f87088c9cb84a5761877c9acb6bcb73dfdfbc7452e7ae98a0aeee55916838fbc93
 SHA512 
7dad36900c13b69a89b5a173fc283130bc4cf15c781ed31ed72ce0b6ba0db4895a12314d0f302c7a91c2762333b7c162f20f32e67ed5e2e7a4099e1f2238c255
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.24.1.ebuild 
b/sci-misc/boinc/boinc-7.24.1.ebuild
new file mode 100644
index ..5a296b9442ef
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.24.1.ebuild
@@ -0,0 +1,194 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=$(ver_cut 1-2)
+WX_GTK_VER=3.2-gtk3
+
+inherit autotools desktop flag-o-matic linux-info optfeature wxwidgets 
xdg-utils
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="https://boinc.berkeley.edu/;
+
+SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+fi
+
+LICENSE="LGPL-3+"
+SLOT="0"
+
+IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
+
+REQUIRED_USE="
+   ^^ ( curl_ssl_gnutls curl_ssl_openssl )
+"
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+DEPEND="
+   acct-user/boinc
+   app-misc/ca-certificates
+   dev-libs/openssl:=
+   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-libs/zlib
+   cuda? (
+   x11-drivers/nvidia-drivers
+   )
+   opencl? (
+   virtual/opencl
+   )
+   X? (
+   dev-libs/glib:2
+   media-libs/freeglut
+   media-libs/libjpeg-turbo:=
+   x11-libs/gtk+:3
+   x11-libs/libnotify
+   x11-libs/libX11
+   x11-libs/libXScrnSaver
+   x11-libs/libxcb:=
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   x11-libs/xcb-util
+   )
+"
+BDEPEND="app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+   sys-devel/gettext
+   X? ( virtual/imagemagick-tools[png,tiff] )
+"
+RDEPEND="
+   ${DEPEND}
+   sys-apps/util-linux
+   !app-admin/quickswitch
+"
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-10-17 Thread Andrew Ammerlaan
commit: 3d436bcb394dbce5ef57ff9bf5413641eafd0975
Author: Sven Eden  prydeworx  com>
AuthorDate: Wed Sep 20 05:34:30 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Oct 17 07:28:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d436bcb

sci-misc/boinc: drop 7.20.2-r3

Signed-off-by: Sven Eden  prydeworx.com>
Closes: https://github.com/gentoo/gentoo/pull/32940
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-misc/boinc/Manifest   |   1 -
 sci-misc/boinc/boinc-7.20.2-r3.ebuild | 196 --
 2 files changed, 197 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 902a51fe1346..7fb384f54d46 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,4 +1,3 @@
-DIST boinc-7.20.2.tar.gz 46555666 BLAKE2B 
4d11217739d341c5b61d86afa02eebdad80809f42caa3f6dea1d86ed53d79004d60fa362fd04d53060060472e108e0ee0aa0428e4799eb70f2e98f07dc1f39cd
 SHA512 
0309d5585ece96a5d9021058870dce9a96c89ece269650961a9b22d5219529e242a55dc1e466f5364535033198ca5c36496ca23125a9cda0c308bfdb4372abbb
 DIST boinc-7.22.0.tar.gz 46675766 BLAKE2B 
97083fa482fadcbd38c3e207fe8c41bfe380e37f181b7d32969b8ef44b0186bc4e117bac59ab1f557b12598352ff9206a9ba12dd748781342545d661e1386a67
 SHA512 
f8c87338750605f59f5265fd0bfe2956acfca0c42ef58402df860f0eb9953467ee34286308a916e1d4ee12cbf85c05422558ccdf241ab8f26b86c966f66aec4a
 DIST boinc-7.24.1.tar.gz 46747399 BLAKE2B 
872cf16a67a69c297aa3096c44b8272c039e913991253c7e52847f438050c0f87088c9cb84a5761877c9acb6bcb73dfdfbc7452e7ae98a0aeee55916838fbc93
 SHA512 
7dad36900c13b69a89b5a173fc283130bc4cf15c781ed31ed72ce0b6ba0db4895a12314d0f302c7a91c2762333b7c162f20f32e67ed5e2e7a4099e1f2238c255
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.20.2-r3.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
deleted file mode 100644
index 769f1e61a2ff..
--- a/sci-misc/boinc/boinc-7.20.2-r3.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV=$(ver_cut 1-2)
-WX_GTK_VER=3.0-gtk3
-
-inherit autotools desktop flag-o-matic linux-info optfeature wxwidgets 
xdg-utils
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="https://boinc.berkeley.edu/;
-
-SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
-   inherit git-r3
-else
-   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm64 ~ia64 ~ppc ppc64 sparc ~x86"
-   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-fi
-
-LICENSE="LGPL-3"
-SLOT="0"
-
-IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
-
-REQUIRED_USE="
-   ^^ ( curl_ssl_gnutls curl_ssl_openssl )
-"
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-DEPEND="
-   acct-user/boinc
-   app-misc/ca-certificates
-   cuda? (
-   x11-drivers/nvidia-drivers
-   )
-   opencl? (
-   virtual/opencl
-   )
-   dev-libs/openssl:=
-   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-libs/zlib
-   X? (
-   dev-libs/glib:2
-   media-libs/freeglut
-   media-libs/libjpeg-turbo:=
-   x11-libs/gtk+:3
-   x11-libs/libnotify
-   x11-libs/libX11
-   x11-libs/libXScrnSaver
-   x11-libs/libxcb:=
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   x11-libs/xcb-util
-   )
-"
-BDEPEND="app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   sys-devel/gettext
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-RDEPEND="
-   ${DEPEND}
-   sys-apps/util-linux
-   !app-admin/quickswitch
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/${PN}-7.18-fix_webview.patch
-)
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
-   ewarn "You do not have vsyscall emulation 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-09-25 Thread Andrew Ammerlaan
commit: 9787899f6701fb7054c0455445e0c120f90073b8
Author: Matt Jolly  footclan  ninja>
AuthorDate: Mon Sep 25 01:05:11 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Sep 25 08:06:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9787899f

sci-misc/boinc: update wxGTK dependency for live

See: 
https://github.com/BOINC/boinc/commit/ac988fd70844b25a1782a66a0e460b85f63d46e8

Signed-off-by: Matt Jolly  footclan.ninja>
Closes: https://github.com/gentoo/gentoo/pull/33045
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-misc/boinc/boinc-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 50cb69b384db..72f1e1e3e30e 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 # For live ebuilds this should be set to the latest available patch in 
${FILESDIR}
 # It does not need to reflect the actual internal version reported by BOINC 
unless that patch is broken.
 MY_PV=7.18
-WX_GTK_VER=3.0-gtk3
+WX_GTK_VER=3.2-gtk3
 
 inherit autotools desktop flag-o-matic linux-info optfeature wxwidgets 
xdg-utils
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-06-09 Thread Arthur Zamarin
commit: 91d314eb7d1c371ee3b9db832a96d93d8db6bb33
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 15:44:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 15:44:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d314eb

sci-misc/boinc: Stabilize 7.22.0 ppc64, #908157

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-misc/boinc/boinc-7.22.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.22.0.ebuild 
b/sci-misc/boinc/boinc-7.22.0.ebuild
index 344afdee1f97..cfd8ad6f9de4 100644
--- a/sci-misc/boinc/boinc-7.22.0.ebuild
+++ b/sci-misc/boinc/boinc-7.22.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm64 ~ia64 ~ppc ~ppc64 sparc ~x86"
+   KEYWORDS="~amd64 arm64 ~ia64 ~ppc ppc64 sparc ~x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-06-09 Thread Sam James
commit: a2287cc209f49d26a1ab50711ce395b6cb7b1d80
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 14:29:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 14:29:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2287cc2

sci-misc/boinc: Stabilize 7.22.0 sparc, #908157

Signed-off-by: Sam James  gentoo.org>

 sci-misc/boinc/boinc-7.22.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.22.0.ebuild 
b/sci-misc/boinc/boinc-7.22.0.ebuild
index 24d484fd5000..344afdee1f97 100644
--- a/sci-misc/boinc/boinc-7.22.0.ebuild
+++ b/sci-misc/boinc/boinc-7.22.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~amd64 arm64 ~ia64 ~ppc ~ppc64 sparc ~x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-06-09 Thread Arthur Zamarin
commit: 0314380fc87bacc1b62c275e5322e2ca80c37726
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 14:10:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 14:10:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0314380f

sci-misc/boinc: Stabilize 7.22.0 arm64, #908157

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-misc/boinc/boinc-7.22.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.22.0.ebuild 
b/sci-misc/boinc/boinc-7.22.0.ebuild
index 395eba6c25b3..24d484fd5000 100644
--- a/sci-misc/boinc/boinc-7.22.0.ebuild
+++ b/sci-misc/boinc/boinc-7.22.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~amd64 arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-06-03 Thread Arthur Zamarin
commit: 880a380c1c360ce3cf4b564b69026bb7d72055ef
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  2 16:13:29 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jun  3 11:12:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880a380c

sci-misc/boinc: destabilize for ~ppc

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r3.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
index a081e12939cb..9afaa8e7a874 100644
--- a/sci-misc/boinc/boinc-7.20.2-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm64 ~ia64 ppc ppc64 sparc x86"
+   KEYWORDS="amd64 arm64 ~ia64 ~ppc ppc64 sparc x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-05-06 Thread Arthur Zamarin
commit: 5ebbe8d61a5c75f02d5c322212e2fdaad51492e3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:50:52 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:50:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ebbe8d6

sci-misc/boinc: Stabilize 7.20.2-r3 arm64, #904310

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r3.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
index 5140e6623e40..a081e12939cb 100644
--- a/sci-misc/boinc/boinc-7.20.2-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm64 ~ia64 ppc ppc64 sparc x86"
+   KEYWORDS="amd64 arm64 ~ia64 ppc ppc64 sparc x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-04-14 Thread Sam James
commit: 38fb99c49aa60ffed0b49f46f0eb88c0d5f7a2ab
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 14 19:45:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 14 19:45:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38fb99c4

sci-misc/boinc: Stabilize 7.20.2-r3 ppc, #904310

Signed-off-by: Sam James  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r3.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
index f58a60abdc8a..4023a47bc3b2 100644
--- a/sci-misc/boinc/boinc-7.20.2-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm64 ~ia64 ~ppc ppc64 ~sparc x86"
+   KEYWORDS="amd64 ~arm64 ~ia64 ppc ppc64 ~sparc x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-04-14 Thread Sam James
commit: b01cb14527c4b9f6c94121be43649d722f37ff45
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 14 19:45:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 14 19:45:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b01cb145

sci-misc/boinc: Stabilize 7.20.2-r3 sparc, #904310

Signed-off-by: Sam James  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r3.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
index 4023a47bc3b2..5140e6623e40 100644
--- a/sci-misc/boinc/boinc-7.20.2-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm64 ~ia64 ppc ppc64 ~sparc x86"
+   KEYWORDS="amd64 ~arm64 ~ia64 ppc ppc64 sparc x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-04-14 Thread Sam James
commit: b7e7d4652047794b61d2e41e7a89be6f09d147d0
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 14 19:33:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 14 19:33:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7e7d465

sci-misc/boinc: Stabilize 7.20.2-r3 x86, #904310

Signed-off-by: Sam James  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r3.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
index 34a0beacca83..5ca7771701e6 100644
--- a/sci-misc/boinc/boinc-7.20.2-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ppc64 ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ppc64 ~sparc x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-04-14 Thread Sam James
commit: f232e924e1d76ad9286a93ac1e07c66209c36766
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 14 19:33:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 14 19:33:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f232e924

sci-misc/boinc: Stabilize 7.20.2-r3 amd64, #904310

Signed-off-by: Sam James  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r3.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
index 5ca7771701e6..f58a60abdc8a 100644
--- a/sci-misc/boinc/boinc-7.20.2-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ppc64 ~sparc x86"
+   KEYWORDS="amd64 ~arm64 ~ia64 ~ppc ppc64 ~sparc x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-04-14 Thread Florian Schmaus
commit: e4e30047d0d6029366f05710be19edf5e8de7b5b
Author: Pedro Arizmendi  pm  me>
AuthorDate: Tue Mar 28 17:07:13 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Fri Apr 14 19:07:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e30047

sci-misc/boinc: Version bump to 7.22.0

Signed-off-by: Pedro Arizmendi  pm.me>
Closes: https://github.com/gentoo/gentoo/pull/30383
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/Manifest|   1 +
 sci-misc/boinc/boinc-7.22.0.ebuild | 196 +
 2 files changed, 197 insertions(+)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 8522dc31b874..e204b98cadec 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,2 +1,3 @@
 DIST boinc-7.20.2.tar.gz 46555666 BLAKE2B 
4d11217739d341c5b61d86afa02eebdad80809f42caa3f6dea1d86ed53d79004d60fa362fd04d53060060472e108e0ee0aa0428e4799eb70f2e98f07dc1f39cd
 SHA512 
0309d5585ece96a5d9021058870dce9a96c89ece269650961a9b22d5219529e242a55dc1e466f5364535033198ca5c36496ca23125a9cda0c308bfdb4372abbb
+DIST boinc-7.22.0.tar.gz 46675766 BLAKE2B 
97083fa482fadcbd38c3e207fe8c41bfe380e37f181b7d32969b8ef44b0186bc4e117bac59ab1f557b12598352ff9206a9ba12dd748781342545d661e1386a67
 SHA512 
f8c87338750605f59f5265fd0bfe2956acfca0c42ef58402df860f0eb9953467ee34286308a916e1d4ee12cbf85c05422558ccdf241ab8f26b86c966f66aec4a
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.22.0.ebuild 
b/sci-misc/boinc/boinc-7.22.0.ebuild
new file mode 100644
index ..395eba6c25b3
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.22.0.ebuild
@@ -0,0 +1,196 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=$(ver_cut 1-2)
+WX_GTK_VER=3.0-gtk3
+
+inherit autotools desktop flag-o-matic linux-info optfeature wxwidgets 
xdg-utils
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="https://boinc.berkeley.edu/;
+
+SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+
+IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
+
+REQUIRED_USE="
+   ^^ ( curl_ssl_gnutls curl_ssl_openssl )
+"
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+DEPEND="
+   acct-user/boinc
+   app-misc/ca-certificates
+   cuda? (
+   x11-drivers/nvidia-drivers
+   )
+   opencl? (
+   virtual/opencl
+   )
+   dev-libs/openssl:=
+   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-libs/zlib
+   X? (
+   dev-libs/glib:2
+   media-libs/freeglut
+   media-libs/libjpeg-turbo:=
+   x11-libs/gtk+:3
+   x11-libs/libnotify
+   x11-libs/libX11
+   x11-libs/libXScrnSaver
+   x11-libs/libxcb:=
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   x11-libs/xcb-util
+   )
+"
+BDEPEND="app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+   sys-devel/gettext
+   X? ( virtual/imagemagick-tools[png,tiff] )
+"
+RDEPEND="
+   ${DEPEND}
+   sys-apps/util-linux
+   !app-admin/quickswitch
+"
+
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/${PN}-7.18-fix_webview.patch
+)
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"
+  

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2023-04-14 Thread Arthur Zamarin
commit: fbf2e39ebc13ee77b6e925a10126efefea28a85e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr 14 08:57:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 14 08:57:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf2e39e

sci-misc/boinc: Stabilize 7.20.2-r3 ppc64, #904310

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r3.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
index 7cc390819f18..34a0beacca83 100644
--- a/sci-misc/boinc/boinc-7.20.2-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ppc64 ~sparc ~x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-12-30 Thread Conrad Kostecki
commit: d083d821d83a15fc4fe780f5888ce48d8fb54503
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Dec 30 23:32:04 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Dec 30 23:38:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d083d821

sci-misc/boinc: drop 7.20.2-r2

Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r2.ebuild | 209 --
 1 file changed, 209 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r2.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
deleted file mode 100644
index f7d156f21794..
--- a/sci-misc/boinc/boinc-7.20.2-r2.ebuild
+++ /dev/null
@@ -1,209 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV=$(ver_cut 1-2)
-WX_GTK_VER=3.0-gtk3
-
-inherit autotools desktop flag-o-matic linux-info optfeature wxwidgets 
xdg-utils
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="https://boinc.berkeley.edu/;
-
-SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
-   inherit git-r3
-else
-   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-fi
-
-LICENSE="LGPL-3"
-SLOT="0"
-
-IUSE_VIDEO_CARDS="
-   video_cards_amdgpu
-   video_cards_intel
-   video_cards_nvidia
-   video_cards_radeonsi
-"
-
-IUSE="${IUSE_VIDEO_CARDS} X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
-
-REQUIRED_USE="
-   ^^ ( curl_ssl_gnutls curl_ssl_openssl )
-   cuda? ( video_cards_nvidia )
-   opencl? ( || ( ${IUSE_VIDEO_CARDS} ) )
-"
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-DEPEND="
-   acct-user/boinc
-   app-misc/ca-certificates
-   cuda? (
-   x11-drivers/nvidia-drivers
-   )
-   opencl? (
-   virtual/opencl
-   video_cards_amdgpu?   ( amd64? ( dev-libs/rocm-opencl-runtime ) 
)
-   video_cards_intel?( amd64? ( dev-libs/intel-compute-runtime 
) )
-   video_cards_nvidia?   ( x11-drivers/nvidia-drivers )
-   video_cards_radeonsi? ( media-libs/mesa[opencl] )
-   )
-   dev-libs/openssl:=
-   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-libs/zlib
-   X? (
-   dev-libs/glib:2
-   media-libs/freeglut
-   media-libs/libjpeg-turbo:=
-   x11-libs/gtk+:3
-   x11-libs/libnotify
-   x11-libs/libX11
-   x11-libs/libXScrnSaver
-   x11-libs/libxcb:=
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   x11-libs/xcb-util
-   )
-"
-BDEPEND="app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   sys-devel/gettext
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-RDEPEND="
-   ${DEPEND}
-   sys-apps/util-linux
-   !app-admin/quickswitch
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/${PN}-7.18-fix_webview.patch
-)
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
-   ewarn "You do not have vsyscall emulation enabled."
-   ewarn "This will prevent some boinc projects from 
running."
-   ewarn "Please enable vsyscall emulation:"
-   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
-   ewarn "in /usr/src/linux/.config, to be found at"
-   ewarn "Processor type and features --->"
-   ewarn "vsyscall table for legacy applications 
(None) --->"
-   ewarn "(X) Emulate"
-   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
-   ewarn "However, this has security implications and is 
not recommended."
-   fi
-   fi
-}
-
-src_prepare() {
-   default
-
-   # prevent bad changes in compile flags, bug 286701
-   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
-
-   eautoreconf
-}
-
-src_configure() {
-   

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-08-09 Thread Craig Andrews
commit: bb1388ddcba362863ab793817e54f67fbe1e3c85
Author: Craig Andrews  gentoo  org>
AuthorDate: Thu Aug  4 14:07:21 2022 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Tue Aug  9 13:11:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb1388dd

sci-misc/boinc: remove VIDEO_CARDS USE flag

Closes: https://bugs.gentoo.org/863617
Signed-off-by: Craig Andrews  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/26737
Signed-off-by: Craig Andrews  gentoo.org>

 .../{boinc-.ebuild => boinc-7.20.2-r3.ebuild}  | 22 +++---
 sci-misc/boinc/boinc-.ebuild   | 15 +--
 2 files changed, 4 insertions(+), 33 deletions(-)

diff --git a/sci-misc/boinc/boinc-.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
similarity index 88%
copy from sci-misc/boinc/boinc-.ebuild
copy to sci-misc/boinc/boinc-7.20.2-r3.ebuild
index bb39d825d04c..7cc390819f18 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r3.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=8
 
-# For live ebuilds this should be set to the latest available patch in 
${FILESDIR}
-# It does not need to reflect the actual internal version reported by BOINC 
unless that patch is broken.
-MY_PV=7.18
+MY_PV=$(ver_cut 1-2)
 WX_GTK_VER=3.0-gtk3
 
 inherit autotools desktop flag-o-matic linux-info optfeature wxwidgets 
xdg-utils
@@ -26,19 +24,10 @@ fi
 LICENSE="LGPL-3"
 SLOT="0"
 
-IUSE_VIDEO_CARDS="
-   video_cards_amdgpu
-   video_cards_intel
-   video_cards_nvidia
-   video_cards_radeonsi
-"
-
-IUSE="${IUSE_VIDEO_CARDS} X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
+IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
 
 REQUIRED_USE="
^^ ( curl_ssl_gnutls curl_ssl_openssl )
-   cuda? ( video_cards_nvidia )
-   opencl? ( || ( ${IUSE_VIDEO_CARDS} ) )
 "
 
 # libcurl must not be using an ssl backend boinc does not support.
@@ -51,14 +40,9 @@ DEPEND="
)
opencl? (
virtual/opencl
-   video_cards_amdgpu?   ( amd64? ( dev-libs/rocm-opencl-runtime ) 
)
-   video_cards_intel?( amd64? ( dev-libs/intel-compute-runtime 
) )
-   video_cards_nvidia?   ( x11-drivers/nvidia-drivers )
-   video_cards_radeonsi? ( media-libs/mesa[opencl] )
)
dev-libs/openssl:=

net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
sys-libs/zlib
X? (
dev-libs/glib:2
@@ -86,7 +70,7 @@ RDEPEND="
 
 PATCHES=(
# >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/${PN}-${MY_PV}-fix_webview.patch
+   "${FILESDIR}"/${PN}-7.18-fix_webview.patch
 )
 
 pkg_setup() {

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index bb39d825d04c..50cb69b384db 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -26,19 +26,10 @@ fi
 LICENSE="LGPL-3"
 SLOT="0"
 
-IUSE_VIDEO_CARDS="
-   video_cards_amdgpu
-   video_cards_intel
-   video_cards_nvidia
-   video_cards_radeonsi
-"
-
-IUSE="${IUSE_VIDEO_CARDS} X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
+IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
 
 REQUIRED_USE="
^^ ( curl_ssl_gnutls curl_ssl_openssl )
-   cuda? ( video_cards_nvidia )
-   opencl? ( || ( ${IUSE_VIDEO_CARDS} ) )
 "
 
 # libcurl must not be using an ssl backend boinc does not support.
@@ -51,10 +42,6 @@ DEPEND="
)
opencl? (
virtual/opencl
-   video_cards_amdgpu?   ( amd64? ( dev-libs/rocm-opencl-runtime ) 
)
-   video_cards_intel?( amd64? ( dev-libs/intel-compute-runtime 
) )
-   video_cards_nvidia?   ( x11-drivers/nvidia-drivers )
-   video_cards_radeonsi? ( media-libs/mesa[opencl] )
)
dev-libs/openssl:=

net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2022-08-01 Thread Florian Schmaus
commit: b95bc9d5e8e3d87f75c2cc56822b184eec299a45
Author: Florian Schmaus  gentoo  org>
AuthorDate: Mon Aug  1 10:23:38 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Aug  1 10:28:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b95bc9d5

sci-misc/boinc: fix newinit call

That one is on me.

My last-minute modifcation of b19f0b8c6415 ("sci-misc/boinc: Simplify
the init script") did not respect that the removed sed was not using
--in-place.

Fixes: b19f0b8c6415 ("sci-misc/boinc: Simplify the init script")
Closes: https://bugs.gentoo.org/862783
Closes: https://bugs.gentoo.org/862786
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r2.ebuild  | 2 +-
 sci-misc/boinc/boinc-.ebuild   | 2 +-
 sci-misc/boinc/files/{boinc.init.in => boinc.init} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r2.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
index f14534027d69..f7d156f21794 100644
--- a/sci-misc/boinc/boinc-7.20.2-r2.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
@@ -161,7 +161,7 @@ src_install() {
rm -r "${ED}"/etc || die "rm failed"
find "${D}" -name '*.la' -delete || die "Removing .la files failed"
 
-   newinitd ${PN}.init ${PN}
+   newinitd "${FILESDIR}"/${PN}.init ${PN}
newconfd "${FILESDIR}"/${PN}.conf ${PN}
 }
 

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 07b9716f2970..bb39d825d04c 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -164,7 +164,7 @@ src_install() {
rm -r "${ED}"/etc || die "rm failed"
find "${D}" -name '*.la' -delete || die "Removing .la files failed"
 
-   newinitd ${PN}.init ${PN}
+   newinitd "${FILESDIR}"/${PN}.init ${PN}
newconfd "${FILESDIR}"/${PN}.conf ${PN}
 }
 

diff --git a/sci-misc/boinc/files/boinc.init.in 
b/sci-misc/boinc/files/boinc.init
similarity index 100%
rename from sci-misc/boinc/files/boinc.init.in
rename to sci-misc/boinc/files/boinc.init



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-08-01 Thread Florian Schmaus
commit: 748c635eee96f4795967d6131abe7939059c4632
Author: Sven Eden  prydeworx  com>
AuthorDate: Wed Jul 27 11:39:29 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Aug  1 08:34:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748c635e

sci-misc/boinc: drop 7.18.1-r2

Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/boinc-7.18.1-r2.ebuild | 197 --
 1 file changed, 197 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.18.1-r2.ebuild 
b/sci-misc/boinc/boinc-7.18.1-r2.ebuild
deleted file mode 100644
index cc883b7b84a7..
--- a/sci-misc/boinc/boinc-7.18.1-r2.ebuild
+++ /dev/null
@@ -1,197 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV=$(ver_cut 1-2)
-WX_GTK_VER=3.0-gtk3
-
-inherit autotools desktop flag-o-matic linux-info wxwidgets xdg-utils
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="https://boinc.berkeley.edu/;
-
-SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
-   inherit git-r3
-else
-   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-fi
-
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
-
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-DEPEND="
-   acct-user/boinc
-   >=app-misc/ca-certificates-20080809
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   dev-libs/openssl:=
-   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-libs/zlib
-   X? (
-   dev-libs/glib:2
-   media-libs/freeglut
-   media-libs/libjpeg-turbo:=
-   x11-libs/gtk+:3
-   >=x11-libs/libnotify-0.7
-   x11-libs/libX11
-   x11-libs/libXScrnSaver
-   x11-libs/libxcb:=
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   x11-libs/xcb-util
-   )
-"
-BDEPEND="app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   sys-devel/gettext
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-RDEPEND="
-   ${DEPEND}
-   sys-apps/util-linux
-   !app-admin/quickswitch
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/${PN}-${MY_PV}-fix_webview.patch
-)
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
-   ewarn "You do not have vsyscall emulation enabled."
-   ewarn "This will prevent some boinc projects from 
running."
-   ewarn "Please enable vsyscall emulation:"
-   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
-   ewarn "in /usr/src/linux/.config, to be found at"
-   ewarn "Processor type and features --->"
-   ewarn "vsyscall table for legacy applications 
(None) --->"
-   ewarn "(X) Emulate"
-   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
-   ewarn "However, this has security implications and is 
not recommended."
-   fi
-   fi
-}
-
-src_prepare() {
-   default
-
-   # prevent bad changes in compile flags, bug 286701
-   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
-
-   eautoreconf
-}
-
-src_configure() {
-   use X && setup-wxwidgets
-
-   append-libs -L"${ESYSROOT}"/usr/$(get_libdir) 
-L"${ESYSROOT}"/$(get_libdir)
-
-   econf --disable-server \
-   --enable-client \
-   --enable-dynamic-client-linkage \
-   --disable-static \
-   --enable-unicode \
-   --with-ssl \
-   $(use_with X x) \
-   $(use_enable X manager) \
-   $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
-}
-
-src_install() {
-   default
-
-   keepdir 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-08-01 Thread Florian Schmaus
commit: 3257d73e3a2bc5076a4ee2646de0ef530dbd36b5
Author: Sven Eden  prydeworx  com>
AuthorDate: Wed Jul 27 11:48:04 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Aug  1 08:34:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3257d73e

sci-misc/boinc: Untangle CUDA/OpenCL for nvidia and fix dependencies

* OpenCL is not needed to run CUDA apps
* BOINC can use CUDA via nvidia-drivers, dev-util/nvidia-cuda-toolkit
  is not neccessary
* BOINC can use OpenCL via nvidia-drivers,
  media-gfx/nvidia-cg-toolkit is not neccessary
* USE flag "opencl" pulls in virtual/opencl instead.

Bug: https://bugs.gentoo.org/819378
Closes: https://bugs.gentoo.org/819378
Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r2.ebuild | 6 +++---
 sci-misc/boinc/boinc-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r2.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
index 2375df6ac7ea..5c03102ff4aa 100644
--- a/sci-misc/boinc/boinc-7.20.2-r2.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
@@ -35,7 +35,7 @@ IUSE="${IUSE_VIDEO_CARDS} X cuda curl_ssl_gnutls 
+curl_ssl_openssl opencl"
 
 REQUIRED_USE="
^^ ( curl_ssl_gnutls curl_ssl_openssl )
-   cuda? ( opencl video_cards_nvidia )
+   cuda? ( video_cards_nvidia )
opencl? ( || ( ${IUSE_VIDEO_CARDS} ) )
 "
 
@@ -45,13 +45,13 @@ DEPEND="
acct-user/boinc
app-misc/ca-certificates
cuda? (
-   dev-util/nvidia-cuda-toolkit
x11-drivers/nvidia-drivers
)
opencl? (
+   virtual/opencl
video_cards_amdgpu?   ( amd64? ( dev-libs/rocm-opencl-runtime ) 
)
video_cards_intel?( amd64? ( dev-libs/intel-compute-runtime 
) )
-   video_cards_nvidia?   ( x11-drivers/nvidia-drivers 
media-gfx/nvidia-cg-toolkit )
+   video_cards_nvidia?   ( x11-drivers/nvidia-drivers )
video_cards_radeonsi? ( media-libs/mesa[opencl] )
)
dev-libs/openssl:=

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 9689e98c8f56..08e8f1f9530c 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -37,7 +37,7 @@ IUSE="${IUSE_VIDEO_CARDS} X cuda curl_ssl_gnutls 
+curl_ssl_openssl opencl"
 
 REQUIRED_USE="
^^ ( curl_ssl_gnutls curl_ssl_openssl )
-   cuda? ( opencl video_cards_nvidia )
+   cuda? ( video_cards_nvidia )
opencl? ( || ( ${IUSE_VIDEO_CARDS} ) )
 "
 
@@ -47,13 +47,13 @@ DEPEND="
acct-user/boinc
app-misc/ca-certificates
cuda? (
-   dev-util/nvidia-cuda-toolkit
x11-drivers/nvidia-drivers
)
opencl? (
+   virtual/opencl
video_cards_amdgpu?   ( amd64? ( dev-libs/rocm-opencl-runtime ) 
)
video_cards_intel?( amd64? ( dev-libs/intel-compute-runtime 
) )
-   video_cards_nvidia?   ( x11-drivers/nvidia-drivers 
media-gfx/nvidia-cg-toolkit )
+   video_cards_nvidia?   ( x11-drivers/nvidia-drivers )
video_cards_radeonsi? ( media-libs/mesa[opencl] )
)
dev-libs/openssl:=



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-08-01 Thread Florian Schmaus
commit: 3b5cff7a666c493b0421d43a5742f318fb1e5485
Author: Sven Eden  prydeworx  com>
AuthorDate: Wed Jul 27 12:03:05 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Aug  1 08:34:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b5cff7a

sci-misc/boinc: Add optfeature message to point out net-fs/cvmfs

CVMFS is needed to run ATLAS native tasks from LHC@home.
But besides not being needed by anything else, it is also only
available on x86 and amd64.
Therefore this did not become a USE flag but an optional feature
message.

Bug: https://bugs.gentoo.org/811249
Closes: https://bugs.gentoo.org/811249
Signed-off-by: Sven Eden  prydeworx.com>
Closes: https://github.com/gentoo/gentoo/pull/26619
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r2.ebuild | 5 -
 sci-misc/boinc/boinc-.ebuild  | 5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r2.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
index 5c03102ff4aa..f14534027d69 100644
--- a/sci-misc/boinc/boinc-7.20.2-r2.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MY_PV=$(ver_cut 1-2)
 WX_GTK_VER=3.0-gtk3
 
-inherit autotools desktop flag-o-matic linux-info wxwidgets xdg-utils
+inherit autotools desktop flag-o-matic linux-info optfeature wxwidgets 
xdg-utils
 
 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
 HOMEPAGE="https://boinc.berkeley.edu/;
@@ -195,6 +195,9 @@ pkg_postinst() {
elog "Run as root:"
elog "gpasswd -a boinc video"
elog
+
+   optfeature_header "If you want to run ATLAS native tasks by LHC@home, 
you need to install:"
+   optfeature "CERN VM filesystem support" net-fs/cvmfs
 }
 
 pkg_postrm() {

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 08e8f1f9530c..07b9716f2970 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -8,7 +8,7 @@ EAPI=8
 MY_PV=7.18
 WX_GTK_VER=3.0-gtk3
 
-inherit autotools desktop flag-o-matic linux-info wxwidgets xdg-utils
+inherit autotools desktop flag-o-matic linux-info optfeature wxwidgets 
xdg-utils
 
 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
 HOMEPAGE="https://boinc.berkeley.edu/;
@@ -198,6 +198,9 @@ pkg_postinst() {
elog "Run as root:"
elog "gpasswd -a boinc video"
elog
+
+   optfeature_header "If you want to run ATLAS native tasks by LHC@home, 
you need to install:"
+   optfeature "CERN VM filesystem support" net-fs/cvmfs
 }
 
 pkg_postrm() {



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-08-01 Thread Florian Schmaus
commit: 1736df328f9404f0f0841e25b9f6a158d9ad085c
Author: Sven Eden  prydeworx  com>
AuthorDate: Wed Jul 27 11:38:07 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Aug  1 08:34:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1736df32

sci-misc/boinc: Bump to 7.20.2 ; plus OpenCL dependency fixes

BOINC can now detect and use the correct OpenCL implementations for
various situations. Therefore VIDEO_CARDS is questioned to pull in
the needed dependencies:

* video_cards_amdgpu   : dev-libs/rocm-opencl-runtime
  -> AMD GPUs supported by the amdgpu kernel driver. 64-bit only
* video_cards_intel: dev-libs/intel-compute-runtime
  -> integrated Intel GPUs from Broadwell onwards. 64-bit only
* video_cards_nvidia   : media-gfx/nvidia-cg-toolkit
  -> USE="cuda" is enforced in this case
* video_cards_radeonsi : media-libs/mesa[opencl]

WARNING: Only nvidia+intel have been tested yet!

Bug: https://bugs.gentoo.org/861440

Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/Manifest   |   2 +-
 sci-misc/boinc/boinc-7.20.2-r2.ebuild | 207 ++
 sci-misc/boinc/metadata.xml   |   1 +
 3 files changed, 209 insertions(+), 1 deletion(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 97a54e30850d..8522dc31b874 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,2 +1,2 @@
-DIST boinc-7.18.1.tar.gz 50851883 BLAKE2B 
64d321c8c56d7c34a08646dc16de5ddbb9b8e4be57b673fa77515845d967e28b5cf1fda677293e2fc8cf36a18ac0b7e7feebfbd8e434ebed41b8280c7395950d
 SHA512 
200587a0896aec6a7e7247132811141909aa333cb2bb9350c5ba016ffdf056413b1c5346361b311c087634b2d29cdbb204486385d8561a299b68739244c5a532
+DIST boinc-7.20.2.tar.gz 46555666 BLAKE2B 
4d11217739d341c5b61d86afa02eebdad80809f42caa3f6dea1d86ed53d79004d60fa362fd04d53060060472e108e0ee0aa0428e4799eb70f2e98f07dc1f39cd
 SHA512 
0309d5585ece96a5d9021058870dce9a96c89ece269650961a9b22d5219529e242a55dc1e466f5364535033198ca5c36496ca23125a9cda0c308bfdb4372abbb
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.20.2-r2.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
new file mode 100644
index ..4f714313eeff
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=$(ver_cut 1-2)
+WX_GTK_VER=3.0-gtk3
+
+inherit autotools desktop flag-o-matic linux-info wxwidgets xdg-utils
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="https://boinc.berkeley.edu/;
+
+SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+
+IUSE_VIDEO_CARDS="
+   video_cards_amdgpu
+   video_cards_intel
+   video_cards_nvidia
+   video_cards_radeonsi
+"
+
+IUSE="${IUSE_VIDEO_CARDS} X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
+
+REQUIRED_USE="
+   ^^ ( curl_ssl_gnutls curl_ssl_openssl )
+   cuda? ( opencl video_cards_nvidia )
+   opencl? ( || ( ${IUSE_VIDEO_CARDS} ) )
+"
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+DEPEND="
+   acct-user/boinc
+   app-misc/ca-certificates
+   cuda? (
+   dev-util/nvidia-cuda-toolkit
+   x11-drivers/nvidia-drivers
+   )
+   opencl? (
+   video_cards_amdgpu?   ( amd64? ( dev-libs/rocm-opencl-runtime ) 
)
+   video_cards_intel?( amd64? ( dev-libs/intel-compute-runtime 
) )
+   video_cards_nvidia?   ( x11-drivers/nvidia-drivers 
media-gfx/nvidia-cg-toolkit )
+   video_cards_radeonsi? ( media-libs/mesa[opencl] )
+   )
+   dev-libs/openssl:=
+   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-libs/zlib
+   X? (
+   dev-libs/glib:2
+   media-libs/freeglut
+   media-libs/libjpeg-turbo:=
+   x11-libs/gtk+:3
+   x11-libs/libnotify
+   x11-libs/libX11
+   x11-libs/libXScrnSaver
+   x11-libs/libxcb:=
+ 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/, sci-misc/boinc/files/

2022-08-01 Thread Florian Schmaus
commit: b19f0b8c64154a126e0cc38af89b4a58434c1c43
Author: Sven Eden  prydeworx  com>
AuthorDate: Wed Jul 27 11:41:27 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Aug  1 08:34:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b19f0b8c

sci-misc/boinc: Simplify the init script

It is no longer neccessary to maintain CUDA/OpenCL symlinks.

[ flow: remove sed which became effectless ]

Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: Florian Schmaus  gentoo.org>
Modified-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r2.ebuild |  1 -
 sci-misc/boinc/boinc-.ebuild  |  1 -
 sci-misc/boinc/files/boinc.init.in| 49 ---
 3 files changed, 51 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.20.2-r2.ebuild 
b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
index 4f714313eeff..2375df6ac7ea 100644
--- a/sci-misc/boinc/boinc-7.20.2-r2.ebuild
+++ b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
@@ -161,7 +161,6 @@ src_install() {
rm -r "${ED}"/etc || die "rm failed"
find "${D}" -name '*.la' -delete || die "Removing .la files failed"
 
-   sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.init.in > 
${PN}.init || die
newinitd ${PN}.init ${PN}
newconfd "${FILESDIR}"/${PN}.conf ${PN}
 }

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index b6be3bb05451..9689e98c8f56 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -164,7 +164,6 @@ src_install() {
rm -r "${ED}"/etc || die "rm failed"
find "${D}" -name '*.la' -delete || die "Removing .la files failed"
 
-   sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.init.in > 
${PN}.init || die
newinitd ${PN}.init ${PN}
newconfd "${FILESDIR}"/${PN}.conf ${PN}
 }

diff --git a/sci-misc/boinc/files/boinc.init.in 
b/sci-misc/boinc/files/boinc.init.in
index 9ac9b11a930d..c95b49825fbe 100644
--- a/sci-misc/boinc/files/boinc.init.in
+++ b/sci-misc/boinc/files/boinc.init.in
@@ -41,53 +41,6 @@ create_work_directory() {
return 0
 }
 
-fix_lib_symlinks() {
-   local src="$1"
-   local tgt="$2"
-
-   # If the source does not exist, we can not do anything
-   if [ ! -f "${src}" ] ; then
-   return 1
-   fi
-
-   # Check whether the symlink is already there and in order
-   if [ -L "${tgt}" ] ; then
-   if [ -f "${tgt}" ] ; then
-   return 0
-   fi
-
-   # Remove broken symlink
-   if ! rm -f "${tgt}"; then
-   eerror "Removing '${tgt}' failed!"
-   return 1
-   fi
-   fi
-
-   # symlink the correct path
-   if ! ln -snf "${src}" "${tgt}"; then
-   eerror "Symlinking '${src}' to '${tgt}' failed!"
-   return 1
-   fi
-
-   return 0
-}
-
-cuda_check() {
-   local libsource="/opt/cuda/@libdir@/libcudart.so"
-   local libtarget="${RUNTIMEDIR}/libcudart.so"
-
-   fix_lib_symlinks "${libsource}" "${libtarget}" || return 1
-   return 0
-}
-
-opencl_check() {
-   local libsource="/usr/@libdir@/libOpenCL.so"
-   local libtarget="${RUNTIMEDIR}/libOpenCL.so"
-
-   fix_lib_symlinks "${libsource}" "${libtarget}" || return 1
-   return 0
-}
-
 env_check() {
# Make sure the configuration is sane
: ${USER:="boinc"}
@@ -120,8 +73,6 @@ env_check() {
 start_pre() {
env_check || return 1
create_work_directory || return 1
-   cuda_check || einfo "CUDA not supported"
-   opencl_check || einfo "OpenCL not supported"
 
if [ ! -f "${RUNTIMEDIR}/lockfile" ]; then
einfo "File \"${RUNTIMEDIR}/lockfile\" does not exist, assuming 
first run."



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-08-01 Thread Florian Schmaus
commit: 237775050e361deea34a09d476f5e12c3b3e4df0
Author: Sven Eden  prydeworx  com>
AuthorDate: Wed Jul 27 11:40:07 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Aug  1 08:34:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23777505

sci-misc/boinc: Apply the 7.20.2 updates to the live ebuild

Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/boinc-.ebuild | 38 --
 1 file changed, 24 insertions(+), 14 deletions(-)

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 7f348a89ae3c..b6be3bb05451 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -25,18 +25,36 @@ fi
 
 LICENSE="LGPL-3"
 SLOT="0"
-IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
 
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
+IUSE_VIDEO_CARDS="
+   video_cards_amdgpu
+   video_cards_intel
+   video_cards_nvidia
+   video_cards_radeonsi
+"
+
+IUSE="${IUSE_VIDEO_CARDS} X cuda curl_ssl_gnutls +curl_ssl_openssl opencl"
+
+REQUIRED_USE="
+   ^^ ( curl_ssl_gnutls curl_ssl_openssl )
+   cuda? ( opencl video_cards_nvidia )
+   opencl? ( || ( ${IUSE_VIDEO_CARDS} ) )
+"
 
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
 DEPEND="
acct-user/boinc
-   >=app-misc/ca-certificates-20080809
+   app-misc/ca-certificates
cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
+   dev-util/nvidia-cuda-toolkit
+   x11-drivers/nvidia-drivers
+   )
+   opencl? (
+   video_cards_amdgpu?   ( amd64? ( dev-libs/rocm-opencl-runtime ) 
)
+   video_cards_intel?( amd64? ( dev-libs/intel-compute-runtime 
) )
+   video_cards_nvidia?   ( x11-drivers/nvidia-drivers 
media-gfx/nvidia-cg-toolkit )
+   video_cards_radeonsi? ( media-libs/mesa[opencl] )
)
dev-libs/openssl:=

net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
@@ -47,7 +65,7 @@ DEPEND="
media-libs/freeglut
media-libs/libjpeg-turbo:=
x11-libs/gtk+:3
-   >=x11-libs/libnotify-0.7
+   x11-libs/libnotify
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libxcb:=
@@ -181,14 +199,6 @@ pkg_postinst() {
elog "Run as root:"
elog "gpasswd -a boinc video"
elog
-   # Add information about BOINC supporting OpenCL
-   elog "BOINC supports OpenCL. To use it you have to eselect"
-   if use cuda; then
-   elog "nvidia as the OpenCL implementation, as you are using 
CUDA."
-   else
-   elog "the correct OpenCL implementation for your graphic card."
-   fi
-   elog
 }
 
 pkg_postrm() {



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-04-25 Thread Florian Schmaus
commit: 49c96cb7dd94c391cc6a8cb15ca9159f05d69cdf
Author: Florian Schmaus  gentoo  org>
AuthorDate: Mon Apr 25 06:35:45 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Apr 25 06:37:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c96cb7

sci-misc/boinc: fix dependencies

Signed-off-by: Florian Schmaus  gentoo.org>

 .../{boinc-7.18.1-r1.ebuild => boinc-7.18.1-r2.ebuild}   | 16 +---
 sci-misc/boinc/boinc-.ebuild | 15 +--
 2 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.18.1-r1.ebuild 
b/sci-misc/boinc/boinc-7.18.1-r2.ebuild
similarity index 97%
rename from sci-misc/boinc/boinc-7.18.1-r1.ebuild
rename to sci-misc/boinc/boinc-7.18.1-r2.ebuild
index 3395522f0874..cc883b7b84a7 100644
--- a/sci-misc/boinc/boinc-7.18.1-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.18.1-r2.ebuild
@@ -36,20 +36,20 @@ DEPEND="
>=dev-util/nvidia-cuda-toolkit-2.1
>=x11-drivers/nvidia-drivers-180.22
)
+   dev-libs/openssl:=

net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
sys-libs/zlib
X? (
-   dev-db/sqlite:3
+   dev-libs/glib:2
media-libs/freeglut
media-libs/libjpeg-turbo:=
x11-libs/gtk+:3
-   x11-libs/libICE
>=x11-libs/libnotify-0.7
-   x11-libs/libSM
-   x11-libs/libXi
-   x11-libs/libXmu
+   x11-libs/libX11
+   x11-libs/libXScrnSaver
+   x11-libs/libxcb:=
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   x11-libs/xcb-util
)
 "
 BDEPEND="app-text/docbook-xml-dtd:4.4
@@ -57,7 +57,9 @@ BDEPEND="app-text/docbook-xml-dtd:4.4
sys-devel/gettext
X? ( virtual/imagemagick-tools[png,tiff] )
 "
-RDEPEND="${DEPEND}
+RDEPEND="
+   ${DEPEND}
+   sys-apps/util-linux
!app-admin/quickswitch
 "
 

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 78012a2d9c57..7f348a89ae3c 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -38,20 +38,21 @@ DEPEND="
>=dev-util/nvidia-cuda-toolkit-2.1
>=x11-drivers/nvidia-drivers-180.22
)
+   dev-libs/openssl:=

net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
sys-apps/util-linux
sys-libs/zlib
X? (
-   dev-db/sqlite:3
+   dev-libs/glib:2
media-libs/freeglut
media-libs/libjpeg-turbo:=
x11-libs/gtk+:3
-   x11-libs/libICE
>=x11-libs/libnotify-0.7
-   x11-libs/libSM
-   x11-libs/libXi
-   x11-libs/libXmu
+   x11-libs/libX11
+   x11-libs/libXScrnSaver
+   x11-libs/libxcb:=
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   x11-libs/xcb-util
)
 "
 BDEPEND="app-text/docbook-xml-dtd:4.4
@@ -59,7 +60,9 @@ BDEPEND="app-text/docbook-xml-dtd:4.4
sys-devel/gettext
X? ( virtual/imagemagick-tools[png,tiff] )
 "
-RDEPEND="${DEPEND}
+RDEPEND="
+   ${DEPEND}
+   sys-apps/util-linux
!app-admin/quickswitch
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/, sci-misc/boinc/files/

2022-04-24 Thread Florian Schmaus
commit: 7a0414526e4942bf4767aaa2c9a9cfa5fd7f605a
Author: Florian Schmaus  gentoo  org>
AuthorDate: Sun Apr 24 19:43:52 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Apr 24 20:10:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a041452

sci-misc/boinc: fix dep, openrc: ALLOW_REMOTE_RPC=no, GROUP=(id -gn $USER)

Replace the deprecated virtual/jpeg with media-libs/libjpeg-turbo.

Use 'boinc' user's primary group per default. This syncs the behavior of
the openrc-run script with the systemd service file. We can now also
drop acct-group/boinc, since nothing in sci-misc/boinc depends on it.

Also set ALLOW_REMOTE_RPC=no, instead of yes, if absent. Allowing remote
RPCs, if not explicitly enabled by the user, that is, per default, is
not sensible from a security perspective.
Note that the shipped boinc.conf already sets ALLOW_REMOTE_RPC=no.

Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/{boinc-7.18.1.ebuild => boinc-7.18.1-r1.ebuild} | 3 +--
 sci-misc/boinc/boinc-.ebuild   | 3 +--
 sci-misc/boinc/files/boinc.conf| 4 +++-
 sci-misc/boinc/files/boinc.init.in | 6 +++---
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.18.1.ebuild 
b/sci-misc/boinc/boinc-7.18.1-r1.ebuild
similarity index 99%
rename from sci-misc/boinc/boinc-7.18.1.ebuild
rename to sci-misc/boinc/boinc-7.18.1-r1.ebuild
index 2d86dc42372a..3395522f0874 100644
--- a/sci-misc/boinc/boinc-7.18.1.ebuild
+++ b/sci-misc/boinc/boinc-7.18.1-r1.ebuild
@@ -30,7 +30,6 @@ REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
 DEPEND="
-   acct-group/boinc
acct-user/boinc
>=app-misc/ca-certificates-20080809
cuda? (
@@ -43,6 +42,7 @@ DEPEND="
X? (
dev-db/sqlite:3
media-libs/freeglut
+   media-libs/libjpeg-turbo:=
x11-libs/gtk+:3
x11-libs/libICE
>=x11-libs/libnotify-0.7
@@ -50,7 +50,6 @@ DEPEND="
x11-libs/libXi
x11-libs/libXmu
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   virtual/jpeg
)
 "
 BDEPEND="app-text/docbook-xml-dtd:4.4

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 21a46ecfa659..78012a2d9c57 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -32,7 +32,6 @@ REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
 DEPEND="
-   acct-group/boinc
acct-user/boinc
>=app-misc/ca-certificates-20080809
cuda? (
@@ -45,6 +44,7 @@ DEPEND="
X? (
dev-db/sqlite:3
media-libs/freeglut
+   media-libs/libjpeg-turbo:=
x11-libs/gtk+:3
x11-libs/libICE
>=x11-libs/libnotify-0.7
@@ -52,7 +52,6 @@ DEPEND="
x11-libs/libXi
x11-libs/libXmu
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   virtual/jpeg
)
 "
 BDEPEND="app-text/docbook-xml-dtd:4.4

diff --git a/sci-misc/boinc/files/boinc.conf b/sci-misc/boinc/files/boinc.conf
index 22fcca0d3001..856be30a2402 100644
--- a/sci-misc/boinc/files/boinc.conf
+++ b/sci-misc/boinc/files/boinc.conf
@@ -2,7 +2,9 @@
 
 # Owner of BOINC process (must be existing)
 USER="boinc"
-GROUP="boinc"
+# Group of the BOINC process. Defaults to the user's primary group if
+# not set.
+#GROUP="boinc"
 
 # Directory with runtime data: Work units, project binaries, user info etc.
 RUNTIMEDIR="/var/lib/boinc"

diff --git a/sci-misc/boinc/files/boinc.init.in 
b/sci-misc/boinc/files/boinc.init.in
index 763b6969..9ac9b11a930d 100644
--- a/sci-misc/boinc/files/boinc.init.in
+++ b/sci-misc/boinc/files/boinc.init.in
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 extra_started_commands="attach resume suspend"
@@ -91,12 +91,12 @@ opencl_check() {
 env_check() {
# Make sure the configuration is sane
: ${USER:="boinc"}
-   : ${GROUP:="boinc"}
+   : ${GROUP:="$(id -ng ${USER})"}
: ${RUNTIMEDIR:="/var/lib/boinc"}
: ${BOINCBIN:="$(which boinc_client)"}
: ${BOINC_PIDFILE:="/var/run/boinc_client.pid"}
: ${BOINCCMD:="$(which /usr/bin/boinccmd)"}
-   : ${ALLOW_REMOTE_RPC:="yes"}
+   : ${ALLOW_REMOTE_RPC:="no"}
: ${NICELEVEL:="19"}
# ARGS is not checked, it could have been explicitly set
# to be empty by the user.



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-04-23 Thread Joonas Niilola
commit: 6d07f581e0c41f81e9f9f356c31e278c0ec2489e
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Apr 23 10:31:54 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Apr 23 10:32:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d07f581

sci-misc/boinc: readd missing deps

 - we don't depend on indirect deps.

Signed-off-by: Joonas Niilola  gentoo.org>

 sci-misc/boinc/boinc-7.18.1.ebuild | 1 +
 sci-misc/boinc/boinc-.ebuild   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sci-misc/boinc/boinc-7.18.1.ebuild 
b/sci-misc/boinc/boinc-7.18.1.ebuild
index cc6e40ae8bc8..2d86dc42372a 100644
--- a/sci-misc/boinc/boinc-7.18.1.ebuild
+++ b/sci-misc/boinc/boinc-7.18.1.ebuild
@@ -30,6 +30,7 @@ REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
 DEPEND="
+   acct-group/boinc
acct-user/boinc
>=app-misc/ca-certificates-20080809
cuda? (

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 03a0bfb404ad..21a46ecfa659 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -32,6 +32,7 @@ REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
 DEPEND="
+   acct-group/boinc
acct-user/boinc
>=app-misc/ca-certificates-20080809
cuda? (



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-04-23 Thread Florian Schmaus
commit: 5cbf2d87530396284d7b3b9d2883ec7f06fab30a
Author: Matt Jolly  footclan  ninja>
AuthorDate: Tue Apr 19 10:36:43 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sat Apr 23 10:22:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cbf2d87

sci-misc/boinc: remove outdated bugfix

\#732024 had its fixes merged upstream in 2020.

Signed-off-by: Matt Jolly  footclan.ninja>
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/boinc-7.18.1.ebuild | 12 +---
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.18.1.ebuild 
b/sci-misc/boinc/boinc-7.18.1.ebuild
index 0dc03ea7bec4..88f456e68454 100644
--- a/sci-misc/boinc/boinc-7.18.1.ebuild
+++ b/sci-misc/boinc/boinc-7.18.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -92,22 +92,12 @@ pkg_setup() {
 }
 
 src_prepare() {
-   # bug #732024
-   if test "x$(get_libdir)" = "xlib64"; then
-   sed -i -e 's,/:/lib:/usr/lib:,:/lib64:/usr/lib64:,g' 
m4/sah_check_lib.m4 || die
-   fi
-
default
 
# prevent bad changes in compile flags, bug 286701
sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
 
eautoreconf
-
-   # bug #732024
-   if test "x$(get_libdir)" = "xlib64"; then
-   sed -i -e 's,/lib\([ /;:"]\),/lib64\1,g' configure || die
-   fi
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/, sci-misc/boinc/files/

2022-04-23 Thread Florian Schmaus
commit: b3330b9f798e149e23bb170febc6becba4e68b26
Author: Matt Jolly  footclan  ninja>
AuthorDate: Tue Apr 19 10:59:26 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sat Apr 23 10:22:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3330b9f

sci-misc/boinc: update 

* Now matches 7.18 ebuild with changes for current master.

Signed-off-by: Matt Jolly  footclan.ninja>
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/boinc-7.18.1.ebuild |  1 -
 sci-misc/boinc/boinc-.ebuild   | 26 --
 sci-misc/boinc/files/fix_webview.patch | 11 ---
 3 files changed, 8 insertions(+), 30 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.18.1.ebuild 
b/sci-misc/boinc/boinc-7.18.1.ebuild
index 88f456e68454..fd553c6cd6be 100644
--- a/sci-misc/boinc/boinc-7.18.1.ebuild
+++ b/sci-misc/boinc/boinc-7.18.1.ebuild
@@ -30,7 +30,6 @@ REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
 DEPEND="
-   acct-group/boinc
acct-user/boinc
>=app-misc/ca-certificates-20080809
cuda? (

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 897b7f6af916..a49065351f63 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-MY_PV=7.16
+# For live ebuilds this should be set to the latest available patch in 
${FILESDIR}
+# It does not need to reflect the actual internal version reported by BOINC 
unless that patch is broken.
+MY_PV=7.18
 WX_GTK_VER=3.0-gtk3
 
 inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
@@ -29,8 +31,7 @@ REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
 
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
-COMMON_DEPEND="
-   acct-group/boinc
+DEPEND="
acct-user/boinc
>=app-misc/ca-certificates-20080809
cuda? (
@@ -54,13 +55,12 @@ COMMON_DEPEND="
virtual/jpeg
)
 "
-DEPEND="${RDEPEND}
-   app-text/docbook-xml-dtd:4.4
+BDEPEND="app-text/docbook-xml-dtd:4.4
app-text/docbook2X
sys-devel/gettext
X? ( virtual/imagemagick-tools[png,tiff] )
 "
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="${DEPEND}
!app-admin/quickswitch
 "
 
@@ -93,22 +93,12 @@ pkg_setup() {
 }
 
 src_prepare() {
-   # bug #732024
-   if test "x$(get_libdir)" = "xlib64"; then
-   sed -i -e 's,/:/lib:/usr/lib:,:/lib64:/usr/lib64:,g' 
m4/sah_check_lib.m4 || die
-   fi
-
default
 
# prevent bad changes in compile flags, bug 286701
sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
 
eautoreconf
-
-   # bug #732024
-   if test "x$(get_libdir)" = "xlib64"; then
-   sed -i -e 's,/lib\([ /;:"]\),/lib64\1,g' configure || die
-   fi
 }
 
 src_configure() {

diff --git a/sci-misc/boinc/files/fix_webview.patch 
b/sci-misc/boinc/files/fix_webview.patch
deleted file mode 100644
index 6c141eb7c829..
--- a/sci-misc/boinc/files/fix_webview.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/configure.ac 2016-07-06 11:16:41.0 +0200
-+++ b/configure.ac 2016-07-06 11:45:51.088155620 +0200
-@@ -1250,7 +1250,7 @@
- CLIENTGUIFLAGS="${CLIENTGUIFLAGS} -DNDEBUG"
- fi
- 
--CLIENTGUILIBS="${WX_LIBS} ${SQLITE3_LIBS}"
-+CLIENTGUILIBS="${WX_LIBS} $($WX_CONFIG_WITH_ARGS --libs webview) 
${SQLITE3_LIBS}"
- 
- if test "${enable_client_release}" = "yes" ; then
-if test "x${WX_LIBS_STATIC}" = "x" ; then



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-04-23 Thread Florian Schmaus
commit: a58777683966ca26fd7bedff5614700d9be72ab7
Author: Matt Jolly  footclan  ninja>
AuthorDate: Sun Apr 17 13:50:24 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sat Apr 23 10:22:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5877768

sci-misc/boinc: update EAPI 7 -> 8

Signed-off-by: Matt Jolly  footclan.ninja>
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/boinc-7.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.18.1.ebuild 
b/sci-misc/boinc/boinc-7.18.1.ebuild
index 44f5b5d810ad..0dc03ea7bec4 100644
--- a/sci-misc/boinc/boinc-7.18.1.ebuild
+++ b/sci-misc/boinc/boinc-7.18.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 MY_PV=$(ver_cut 1-2)
 WX_GTK_VER=3.0-gtk3



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/, sci-misc/boinc/files/

2022-04-23 Thread Florian Schmaus
commit: f1880e6e442b143855549405b0a4745a983fed38
Author: Matt Jolly  footclan  ninja>
AuthorDate: Sun Apr 17 12:46:31 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sat Apr 23 10:22:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1880e6e

sci-misc/boinc: add 7.18.1

Signed-off-by: Matt Jolly  footclan.ninja>
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/Manifest   |   1 +
 sci-misc/boinc/boinc-7.18.1.ebuild| 207 ++
 sci-misc/boinc/files/boinc-7.18-fix_webview.patch |  13 ++
 3 files changed, 221 insertions(+)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index a8af88e0f15c..02edd84d7b4e 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,2 +1,3 @@
 DIST boinc-7.16.17.tar.gz 49628624 BLAKE2B 
87e266a29506ecaa41fd18a2521b08c291548a4e31f7748001e5214e6f1fada1ded8bb8b559635d4f9c7c256cd7829dcf9132c02448c559d5ceb13524ca42e0f
 SHA512 
e9882f37ad5c83ed020155c8192228322932f83b88ed00d025dcda63bff2dca109ecdcbaf98b48c4522b841f545f32352e5c158ae0a41de0a1f2941ac8135221
+DIST boinc-7.18.1.tar.gz 50851883 BLAKE2B 
64d321c8c56d7c34a08646dc16de5ddbb9b8e4be57b673fa77515845d967e28b5cf1fda677293e2fc8cf36a18ac0b7e7feebfbd8e434ebed41b8280c7395950d
 SHA512 
200587a0896aec6a7e7247132811141909aa333cb2bb9350c5ba016ffdf056413b1c5346361b311c087634b2d29cdbb204486385d8561a299b68739244c5a532
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.18.1.ebuild 
b/sci-misc/boinc/boinc-7.18.1.ebuild
new file mode 100644
index ..44f5b5d810ad
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.18.1.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=$(ver_cut 1-2)
+WX_GTK_VER=3.0-gtk3
+
+inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="https://boinc.ssl.berkeley.edu/;
+
+SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
+
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+DEPEND="
+   acct-group/boinc
+   acct-user/boinc
+   >=app-misc/ca-certificates-20080809
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   virtual/jpeg:0=
+   x11-libs/gtk+:3
+   x11-libs/libICE
+   >=x11-libs/libnotify-0.7
+   x11-libs/libSM
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   virtual/jpeg
+   )
+"
+BDEPEND="app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+   sys-devel/gettext
+   X? ( virtual/imagemagick-tools[png,tiff] )
+"
+RDEPEND="${DEPEND}
+   !app-admin/quickswitch
+"
+
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/${PN}-${MY_PV}-fix_webview.patch
+)
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2022-04-23 Thread Florian Schmaus
commit: e172239312f312f1385cfb00635c85ab89fef1e8
Author: Florian Schmaus  gentoo  org>
AuthorDate: Sat Apr 23 10:21:28 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sat Apr 23 10:22:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1722393

sci-misc/boinc: remove unused eclass, update HOMEPAGE, fix jpeg dep

Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/boinc-7.18.1.ebuild | 5 ++---
 sci-misc/boinc/boinc-.ebuild   | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.18.1.ebuild 
b/sci-misc/boinc/boinc-7.18.1.ebuild
index fd553c6cd6be..cc6e40ae8bc8 100644
--- a/sci-misc/boinc/boinc-7.18.1.ebuild
+++ b/sci-misc/boinc/boinc-7.18.1.ebuild
@@ -6,10 +6,10 @@ EAPI=8
 MY_PV=$(ver_cut 1-2)
 WX_GTK_VER=3.0-gtk3
 
-inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
+inherit autotools desktop flag-o-matic linux-info wxwidgets xdg-utils
 
 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="https://boinc.ssl.berkeley.edu/;
+HOMEPAGE="https://boinc.berkeley.edu/;
 
 SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
 if [[ ${PV} == * ]] ; then
@@ -42,7 +42,6 @@ DEPEND="
X? (
dev-db/sqlite:3
media-libs/freeglut
-   virtual/jpeg:0=
x11-libs/gtk+:3
x11-libs/libICE
>=x11-libs/libnotify-0.7

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index a49065351f63..03a0bfb404ad 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -8,10 +8,10 @@ EAPI=8
 MY_PV=7.18
 WX_GTK_VER=3.0-gtk3
 
-inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
+inherit autotools desktop flag-o-matic linux-info wxwidgets xdg-utils
 
 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="https://boinc.ssl.berkeley.edu/;
+HOMEPAGE="https://boinc.berkeley.edu/;
 
 SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
 if [[ ${PV} == * ]] ; then
@@ -44,7 +44,6 @@ DEPEND="
X? (
dev-db/sqlite:3
media-libs/freeglut
-   virtual/jpeg:0=
x11-libs/gtk+:3
x11-libs/libICE
>=x11-libs/libnotify-0.7



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2022-04-23 Thread Florian Schmaus
commit: b278d4d538bec7ca3673a51b8bb38a86b8432555
Author: Matt Jolly  footclan  ninja>
AuthorDate: Tue Apr 19 11:07:59 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sat Apr 23 10:22:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b278d4d5

sci-misc/boinc: drop 7.16.17

Signed-off-by: Matt Jolly  footclan.ninja>
Closes: https://github.com/gentoo/gentoo/pull/25064
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-misc/boinc/Manifest|   1 -
 sci-misc/boinc/boinc-7.16.17.ebuild| 207 -
 sci-misc/boinc/files/boinc-7.16-fix_webview.patch  |  11 --
 .../boinc/files/boinc-7.16-remove-usr_lib.patch|  89 -
 4 files changed, 308 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 02edd84d7b4e..97a54e30850d 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,2 @@
-DIST boinc-7.16.17.tar.gz 49628624 BLAKE2B 
87e266a29506ecaa41fd18a2521b08c291548a4e31f7748001e5214e6f1fada1ded8bb8b559635d4f9c7c256cd7829dcf9132c02448c559d5ceb13524ca42e0f
 SHA512 
e9882f37ad5c83ed020155c8192228322932f83b88ed00d025dcda63bff2dca109ecdcbaf98b48c4522b841f545f32352e5c158ae0a41de0a1f2941ac8135221
 DIST boinc-7.18.1.tar.gz 50851883 BLAKE2B 
64d321c8c56d7c34a08646dc16de5ddbb9b8e4be57b673fa77515845d967e28b5cf1fda677293e2fc8cf36a18ac0b7e7feebfbd8e434ebed41b8280c7395950d
 SHA512 
200587a0896aec6a7e7247132811141909aa333cb2bb9350c5ba016ffdf056413b1c5346361b311c087634b2d29cdbb204486385d8561a299b68739244c5a532
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.16.17.ebuild 
b/sci-misc/boinc/boinc-7.16.17.ebuild
deleted file mode 100644
index 44f5b5d810ad..
--- a/sci-misc/boinc/boinc-7.16.17.ebuild
+++ /dev/null
@@ -1,207 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=$(ver_cut 1-2)
-WX_GTK_VER=3.0-gtk3
-
-inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="https://boinc.ssl.berkeley.edu/;
-
-SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
-   inherit git-r3
-else
-   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-fi
-
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
-
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-DEPEND="
-   acct-group/boinc
-   acct-user/boinc
-   >=app-misc/ca-certificates-20080809
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   virtual/jpeg:0=
-   x11-libs/gtk+:3
-   x11-libs/libICE
-   >=x11-libs/libnotify-0.7
-   x11-libs/libSM
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   virtual/jpeg
-   )
-"
-BDEPEND="app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   sys-devel/gettext
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-RDEPEND="${DEPEND}
-   !app-admin/quickswitch
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/${PN}-${MY_PV}-fix_webview.patch
-)
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
-   ewarn "You do not have vsyscall emulation enabled."
-   ewarn "This will prevent some boinc projects from 
running."
-   ewarn "Please enable vsyscall emulation:"
- 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-10-06 Thread Jakov Smolić
commit: 61ac7eaebca92db16ce5ecaed039e9ee8d2a
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Oct  6 07:51:51 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Oct  6 08:31:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61ac7eae

sci-misc/boinc: drop 7.16.16

Signed-off-by: Jakov Smolić  gentoo.org>

 sci-misc/boinc/Manifest |   1 -
 sci-misc/boinc/boinc-7.16.16.ebuild | 208 
 2 files changed, 209 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 214c7d2ddfb..a8af88e0f15 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,2 @@
-DIST boinc-7.16.16.tar.gz 49599131 BLAKE2B 
819ab85c19a684144711f77e669b892aa73c006b81c1d7ef7adbd9d580e1e8473ae27b52dc17953ee677c70fc78ed15df936afd740e629715f30f2b81d84ea6f
 SHA512 
dd7042e176d6506c70de7866556ae73b2f45734df92038086d5b0414751f3da08dc571c49f0c26d747d3fb2577674d3ff8cdec7d3563861e5af9c1db0a0e
 DIST boinc-7.16.17.tar.gz 49628624 BLAKE2B 
87e266a29506ecaa41fd18a2521b08c291548a4e31f7748001e5214e6f1fada1ded8bb8b559635d4f9c7c256cd7829dcf9132c02448c559d5ceb13524ca42e0f
 SHA512 
e9882f37ad5c83ed020155c8192228322932f83b88ed00d025dcda63bff2dca109ecdcbaf98b48c4522b841f545f32352e5c158ae0a41de0a1f2941ac8135221
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.16.16.ebuild 
b/sci-misc/boinc/boinc-7.16.16.ebuild
deleted file mode 100644
index 5ed09539980..000
--- a/sci-misc/boinc/boinc-7.16.16.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=$(ver_cut 1-2)
-WX_GTK_VER=3.0-gtk3
-
-inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="https://boinc.ssl.berkeley.edu/;
-
-SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
-   inherit git-r3
-else
-   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-fi
-
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
-
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-COMMON_DEPEND="
-   acct-group/boinc
-   acct-user/boinc
-   >=app-misc/ca-certificates-20080809
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   virtual/jpeg:0=
-   x11-libs/gtk+:3
-   x11-libs/libICE
-   >=x11-libs/libnotify-0.7
-   x11-libs/libSM
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   virtual/jpeg
-   )
-"
-DEPEND="${RDEPEND}
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   sys-devel/gettext
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-RDEPEND="${COMMON_DEPEND}
-   !app-admin/quickswitch
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/${PN}-${MY_PV}-fix_webview.patch
-)
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
-   ewarn "You do not have vsyscall emulation enabled."
-   ewarn "This will prevent some boinc projects from 
running."
-   ewarn "Please enable vsyscall emulation:"
-   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
-   ewarn "in /usr/src/linux/.config, to be found at"
-   ewarn "Processor type and features --->"
-   

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-07-08 Thread Joonas Niilola
commit: 659e5394f382e6f0e613b59104e07e70696af262
Author: Sven Eden  prydeworx  com>
AuthorDate: Tue Jun 22 06:22:48 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul  8 09:38:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659e5394

sci-misc/boinc: Cleanup version 7.16.14

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sven Eden  prydeworx.com>
Closes: https://github.com/gentoo/gentoo/pull/21369
Signed-off-by: Joonas Niilola  gentoo.org>

 sci-misc/boinc/Manifest |   1 -
 sci-misc/boinc/boinc-7.16.14.ebuild | 210 
 2 files changed, 211 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 6f35f7adedd..214c7d2ddfb 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,4 +1,3 @@
-DIST boinc-7.16.14.tar.gz 49623696 BLAKE2B 
dde4163040d122cf4707e4747b18120f64c31af5ea4ca778709d9dd3c2fb019eb10ecb6ee367b73ea245cb5ed93bac710f268db2e0408b32120c750915473575
 SHA512 
9315cd8344571ac64eecf12676a2d3d6c021577ecee7a92eff253185f7ddf5bf4d64503a819c625afafd258ad28c3879839016c431aa3099083a90194c7e6454
 DIST boinc-7.16.16.tar.gz 49599131 BLAKE2B 
819ab85c19a684144711f77e669b892aa73c006b81c1d7ef7adbd9d580e1e8473ae27b52dc17953ee677c70fc78ed15df936afd740e629715f30f2b81d84ea6f
 SHA512 
dd7042e176d6506c70de7866556ae73b2f45734df92038086d5b0414751f3da08dc571c49f0c26d747d3fb2577674d3ff8cdec7d3563861e5af9c1db0a0e
 DIST boinc-7.16.17.tar.gz 49628624 BLAKE2B 
87e266a29506ecaa41fd18a2521b08c291548a4e31f7748001e5214e6f1fada1ded8bb8b559635d4f9c7c256cd7829dcf9132c02448c559d5ceb13524ca42e0f
 SHA512 
e9882f37ad5c83ed020155c8192228322932f83b88ed00d025dcda63bff2dca109ecdcbaf98b48c4522b841f545f32352e5c158ae0a41de0a1f2941ac8135221
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.16.14.ebuild 
b/sci-misc/boinc/boinc-7.16.14.ebuild
deleted file mode 100644
index 97890ccde30..000
--- a/sci-misc/boinc/boinc-7.16.14.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=$(ver_cut 1-2)
-WX_GTK_VER=3.0-gtk3
-
-inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="https://boinc.ssl.berkeley.edu/;
-
-SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
-   inherit git-r3
-else
-   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-fi
-
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
-
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-COMMON_DEPEND="
-   acct-group/boinc
-   acct-user/boinc
-   >=app-misc/ca-certificates-20080809
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   virtual/jpeg:0=
-   x11-libs/gtk+:3
-   x11-libs/libICE
-   >=x11-libs/libnotify-0.7
-   x11-libs/libSM
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   virtual/jpeg
-   )
-"
-DEPEND="${RDEPEND}
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   sys-devel/gettext
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-RDEPEND="${COMMON_DEPEND}
-   !app-admin/quickswitch
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/${PN}-${MY_PV}-fix_webview.patch
-   # bug #732024
-   "${FILESDIR}"/${PN}-${MY_PV}-remove-usr_lib.patch
-)
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif kernel_is 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-07-08 Thread Joonas Niilola
commit: f6f37fe3cd7cba6dc2e5e80eb76a33084972e611
Author: Sven Eden  prydeworx  com>
AuthorDate: Tue Jun 22 06:21:48 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul  8 09:38:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f37fe3

sci-misc/boinc: Bump to 7.16.17

Simple copy bump, no changes needed.

Closes: https://bugs.gentoo.org/797439
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sci-misc/boinc/Manifest |   1 +
 sci-misc/boinc/boinc-7.16.17.ebuild | 208 
 2 files changed, 209 insertions(+)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index f6fa833c3e1..6f35f7adedd 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,4 @@
 DIST boinc-7.16.14.tar.gz 49623696 BLAKE2B 
dde4163040d122cf4707e4747b18120f64c31af5ea4ca778709d9dd3c2fb019eb10ecb6ee367b73ea245cb5ed93bac710f268db2e0408b32120c750915473575
 SHA512 
9315cd8344571ac64eecf12676a2d3d6c021577ecee7a92eff253185f7ddf5bf4d64503a819c625afafd258ad28c3879839016c431aa3099083a90194c7e6454
 DIST boinc-7.16.16.tar.gz 49599131 BLAKE2B 
819ab85c19a684144711f77e669b892aa73c006b81c1d7ef7adbd9d580e1e8473ae27b52dc17953ee677c70fc78ed15df936afd740e629715f30f2b81d84ea6f
 SHA512 
dd7042e176d6506c70de7866556ae73b2f45734df92038086d5b0414751f3da08dc571c49f0c26d747d3fb2577674d3ff8cdec7d3563861e5af9c1db0a0e
+DIST boinc-7.16.17.tar.gz 49628624 BLAKE2B 
87e266a29506ecaa41fd18a2521b08c291548a4e31f7748001e5214e6f1fada1ded8bb8b559635d4f9c7c256cd7829dcf9132c02448c559d5ceb13524ca42e0f
 SHA512 
e9882f37ad5c83ed020155c8192228322932f83b88ed00d025dcda63bff2dca109ecdcbaf98b48c4522b841f545f32352e5c158ae0a41de0a1f2941ac8135221
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.16.17.ebuild 
b/sci-misc/boinc/boinc-7.16.17.ebuild
new file mode 100644
index 000..5ed09539980
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.16.17.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=$(ver_cut 1-2)
+WX_GTK_VER=3.0-gtk3
+
+inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="https://boinc.ssl.berkeley.edu/;
+
+SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
+
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+COMMON_DEPEND="
+   acct-group/boinc
+   acct-user/boinc
+   >=app-misc/ca-certificates-20080809
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   virtual/jpeg:0=
+   x11-libs/gtk+:3
+   x11-libs/libICE
+   >=x11-libs/libnotify-0.7
+   x11-libs/libSM
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   virtual/jpeg
+   )
+"
+DEPEND="${RDEPEND}
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+   sys-devel/gettext
+   X? ( virtual/imagemagick-tools[png,tiff] )
+"
+RDEPEND="${COMMON_DEPEND}
+   !app-admin/quickswitch
+"
+
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/${PN}-${MY_PV}-fix_webview.patch
+)
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif kernel_is -ge 4 4 \
+   && linux_chkconfig_present 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-07-08 Thread Joonas Niilola
commit: ea07ff0708c72d074ec564d956a075ea4497c36a
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Jul  8 09:37:40 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul  8 09:38:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea07ff07

sci-misc/boinc: remove COMMON_DEPEND, introduce BDEPEND in 7.16.17

Signed-off-by: Joonas Niilola  gentoo.org>

 sci-misc/boinc/boinc-7.16.17.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.16.17.ebuild 
b/sci-misc/boinc/boinc-7.16.17.ebuild
index 5ed09539980..44f5b5d810a 100644
--- a/sci-misc/boinc/boinc-7.16.17.ebuild
+++ b/sci-misc/boinc/boinc-7.16.17.ebuild
@@ -29,7 +29,7 @@ REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
 
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
-COMMON_DEPEND="
+DEPEND="
acct-group/boinc
acct-user/boinc
>=app-misc/ca-certificates-20080809
@@ -54,13 +54,12 @@ COMMON_DEPEND="
virtual/jpeg
)
 "
-DEPEND="${RDEPEND}
-   app-text/docbook-xml-dtd:4.4
+BDEPEND="app-text/docbook-xml-dtd:4.4
app-text/docbook2X
sys-devel/gettext
X? ( virtual/imagemagick-tools[png,tiff] )
 "
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="${DEPEND}
!app-admin/quickswitch
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-05-01 Thread Sam James
commit: fe6a5012f01034ab802cf72b279c4e2dd8220b99
Author: Sam James  gentoo  org>
AuthorDate: Sat May  1 17:52:00 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  1 18:06:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe6a5012

sci-misc/boinc: drop obsolete LibreSSL support

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 sci-misc/boinc/boinc-7.16.14.ebuild | 6 +++---
 sci-misc/boinc/boinc-7.16.16.ebuild | 6 +++---
 sci-misc/boinc/boinc-.ebuild| 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.16.14.ebuild 
b/sci-misc/boinc/boinc-7.16.14.ebuild
index 3f403c0a77f..97890ccde30 100644
--- a/sci-misc/boinc/boinc-7.16.14.ebuild
+++ b/sci-misc/boinc/boinc-7.16.14.ebuild
@@ -23,9 +23,9 @@ fi
 
 LICENSE="LGPL-3"
 SLOT="0"
-IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
+IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
 
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
 
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
@@ -37,7 +37,7 @@ COMMON_DEPEND="
>=dev-util/nvidia-cuda-toolkit-2.1
>=x11-drivers/nvidia-drivers-180.22
)
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
sys-apps/util-linux
sys-libs/zlib
X? (

diff --git a/sci-misc/boinc/boinc-7.16.16.ebuild 
b/sci-misc/boinc/boinc-7.16.16.ebuild
index 213bded4921..5ed09539980 100644
--- a/sci-misc/boinc/boinc-7.16.16.ebuild
+++ b/sci-misc/boinc/boinc-7.16.16.ebuild
@@ -23,9 +23,9 @@ fi
 
 LICENSE="LGPL-3"
 SLOT="0"
-IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
+IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
 
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
 
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
@@ -37,7 +37,7 @@ COMMON_DEPEND="
>=dev-util/nvidia-cuda-toolkit-2.1
>=x11-drivers/nvidia-drivers-180.22
)
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
sys-apps/util-linux
sys-libs/zlib
X? (

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 6040de51a82..897b7f6af91 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -23,9 +23,9 @@ fi
 
 LICENSE="LGPL-3"
 SLOT="0"
-IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
+IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
 
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
 
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
@@ -37,7 +37,7 @@ COMMON_DEPEND="
>=dev-util/nvidia-cuda-toolkit-2.1
>=x11-drivers/nvidia-drivers-180.22
)
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
sys-apps/util-linux
sys-libs/zlib
X? (



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-04-24 Thread David Seifert
commit: 7f004bded053e7a6e6294e0de91fc2a7098ba193
Author: Sven Eden  prydeworx  com>
AuthorDate: Sat Apr 24 12:51:36 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr 24 12:51:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f004bde

sci-misc/boinc: Cleanup obsolete 7.14.2 ebuild.

Closes: https://github.com/gentoo/gentoo/pull/20482
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/Manifest|   1 -
 sci-misc/boinc/boinc-7.14.2.ebuild | 191 -
 2 files changed, 192 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 64ba107c3c5..f6fa833c3e1 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,4 +1,3 @@
-DIST boinc-7.14.2.tar.gz 52236336 BLAKE2B 
fa97d3af9e9a650db409b24386e7950369ab2247469cd83d717d1b6dccb7952a0997763dad2285532cef6807f0460eb320edb3a162b6b20a70bae12159ec6b7f
 SHA512 
dcb6d60893e8baad6282d5e4728387352e942375d988df9c2ad00022deaa9bc5ace967a1346e1b43b25342d2e477ab42e28640935d94e6950ee3716732c9c1af
 DIST boinc-7.16.14.tar.gz 49623696 BLAKE2B 
dde4163040d122cf4707e4747b18120f64c31af5ea4ca778709d9dd3c2fb019eb10ecb6ee367b73ea245cb5ed93bac710f268db2e0408b32120c750915473575
 SHA512 
9315cd8344571ac64eecf12676a2d3d6c021577ecee7a92eff253185f7ddf5bf4d64503a819c625afafd258ad28c3879839016c431aa3099083a90194c7e6454
 DIST boinc-7.16.16.tar.gz 49599131 BLAKE2B 
819ab85c19a684144711f77e669b892aa73c006b81c1d7ef7adbd9d580e1e8473ae27b52dc17953ee677c70fc78ed15df936afd740e629715f30f2b81d84ea6f
 SHA512 
dd7042e176d6506c70de7866556ae73b2f45734df92038086d5b0414751f3da08dc571c49f0c26d747d3fb2577674d3ff8cdec7d3563861e5af9c1db0a0e
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.14.2.ebuild 
b/sci-misc/boinc/boinc-7.14.2.ebuild
deleted file mode 100644
index 4159f0107c2..000
--- a/sci-misc/boinc/boinc-7.14.2.ebuild
+++ /dev/null
@@ -1,191 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-WX_GTK_VER=3.0-gtk3
-
-inherit autotools desktop gnome2-utils linux-info systemd user wxwidgets
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="https://boinc.ssl.berkeley.edu/;
-
-SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
-   inherit git-r3
-else
-   MY_PV="7.14"
-   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-fi
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
-
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-COMMON_DEPEND="
-   >=app-misc/ca-certificates-20080809
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   virtual/jpeg:0=
-   x11-libs/gtk+:3
-   >=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   )
-"
-DEPEND="${RDEPEND}
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   sys-devel/gettext
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-RDEPEND="${COMMON_DEPEND}
-   !app-admin/quickswitch
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/fix_webview.patch
-)
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
-   ewarn "You do not have vsyscall emulation enabled."
-   ewarn "This will prevent some boinc projects from 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-04-24 Thread David Seifert
commit: 3bfe6e33619fbeab0b0d364fd6bdc43889290dc7
Author: Sven Eden  prydeworx  com>
AuthorDate: Sat Apr 24 12:51:33 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr 24 12:51:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfe6e33

sci-misc/boinc: Bump to 7.16.16

The live ebuild is synced to this new version.

Closes: https://bugs.gentoo.org/784635
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/Manifest| 1 +
 sci-misc/boinc/{boinc-.ebuild => boinc-7.16.16.ebuild} | 0
 sci-misc/boinc/boinc-.ebuild   | 2 +-
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 6f1f72eff13..64ba107c3c5 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,4 @@
 DIST boinc-7.14.2.tar.gz 52236336 BLAKE2B 
fa97d3af9e9a650db409b24386e7950369ab2247469cd83d717d1b6dccb7952a0997763dad2285532cef6807f0460eb320edb3a162b6b20a70bae12159ec6b7f
 SHA512 
dcb6d60893e8baad6282d5e4728387352e942375d988df9c2ad00022deaa9bc5ace967a1346e1b43b25342d2e477ab42e28640935d94e6950ee3716732c9c1af
 DIST boinc-7.16.14.tar.gz 49623696 BLAKE2B 
dde4163040d122cf4707e4747b18120f64c31af5ea4ca778709d9dd3c2fb019eb10ecb6ee367b73ea245cb5ed93bac710f268db2e0408b32120c750915473575
 SHA512 
9315cd8344571ac64eecf12676a2d3d6c021577ecee7a92eff253185f7ddf5bf4d64503a819c625afafd258ad28c3879839016c431aa3099083a90194c7e6454
+DIST boinc-7.16.16.tar.gz 49599131 BLAKE2B 
819ab85c19a684144711f77e669b892aa73c006b81c1d7ef7adbd9d580e1e8473ae27b52dc17953ee677c70fc78ed15df936afd740e629715f30f2b81d84ea6f
 SHA512 
dd7042e176d6506c70de7866556ae73b2f45734df92038086d5b0414751f3da08dc571c49f0c26d747d3fb2577674d3ff8cdec7d3563861e5af9c1db0a0e
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-.ebuild 
b/sci-misc/boinc/boinc-7.16.16.ebuild
similarity index 100%
copy from sci-misc/boinc/boinc-.ebuild
copy to sci-misc/boinc/boinc-7.16.16.ebuild

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 213bded4921..6040de51a82 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-MY_PV=$(ver_cut 1-2)
+MY_PV=7.16
 WX_GTK_VER=3.0-gtk3
 
 inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-04-24 Thread David Seifert
commit: 5ae54d1e747b699aef71cd549555968db56a11e2
Author: Sven Eden  prydeworx  com>
AuthorDate: Sat Apr 24 12:51:30 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr 24 12:51:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae54d1e

sci-misc/boinc: Fix installation with imagemagick[-xml]

If imagemagick is installed with USE="-xml" when installing boinc
with USE="X", the process off creating png icons using `convert`
fails with the following messages:


convert: Incorrect value for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag'
 @ warning/tiff.c/TIFFWarnings/1046.
convert: delegate library support not built-in
 '/data/portage/portage/sci-misc/boinc-7.14.2/distdir/boinc.tif' (XML)
 @ error/profile.c/ValidateXMPProfile/1927.
convert: Incorrect value for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag'
 @ warning/tiff.c/TIFFWarnings/1046.


Actually these are just warnings from libtiff, and the conversion
succeeds. There is no problem with the resulting PNGs.

This commit switches the check'n'fail from the `convert` command to
the `newicon` command, so we only fail if the target PNG really
could not be created.

Also add some minor fixes to the ebuild.

Closes: https://bugs.gentoo.org/766093
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/boinc-7.16.14.ebuild | 15 ++-
 sci-misc/boinc/boinc-.ebuild| 17 ++---
 2 files changed, 20 insertions(+), 12 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.16.14.ebuild 
b/sci-misc/boinc/boinc-7.16.14.ebuild
index cf696e8c6bc..3f403c0a77f 100644
--- a/sci-misc/boinc/boinc-7.16.14.ebuild
+++ b/sci-misc/boinc/boinc-7.16.14.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 MY_PV=$(ver_cut 1-2)
 WX_GTK_VER=3.0-gtk3
 
-inherit autotools desktop linux-info systemd wxwidgets xdg-utils
+inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
 
 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
 HOMEPAGE="https://boinc.ssl.berkeley.edu/;
@@ -107,8 +107,6 @@ src_prepare() {
 
eautoreconf
 
-   use X && setup-wxwidgets
-
# bug #732024
if test "x$(get_libdir)" = "xlib64"; then
sed -i -e 's,/lib\([ /;:"]\),/lib64\1,g' configure || die
@@ -116,7 +114,10 @@ src_prepare() {
 }
 
 src_configure() {
-   LDFLAGS="-L${EPREFIX}/usr/$(get_libdir) -L${EPREFIX}/$(get_libdir) 
${LDFLAGS}" \
+   use X && setup-wxwidgets
+
+   append-libs -L"${ESYSROOT}"/usr/$(get_libdir) 
-L"${ESYSROOT}"/$(get_libdir)
+
econf --disable-server \
--enable-client \
--enable-dynamic-client-linkage \
@@ -137,7 +138,11 @@ src_install() {
# Create new icons. bug 593362
local s SIZES=(16 22 24 32 36 48 64 72 96 128 192 256)
for s in "${SIZES[@]}"; do
-   convert "${DISTDIR}"/${PN}.tif -resize ${s}x${s} 
"${WORKDIR}"/boinc_${s}.png || die
+   # The convert command is not checked, because it will 
issue warnings and exit with
+   # an error code if imagemagick is used and was merged 
with USE="-xml", although the
+   # conversion has worked. See #766093
+   # Instead, newicon will fail if the conversion did not 
produce the icon.
+   convert "${DISTDIR}"/${PN}.tif -resize ${s}x${s} 
"${WORKDIR}"/boinc_${s}.png
newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
done
make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index cf696e8c6bc..213bded4921 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 MY_PV=$(ver_cut 1-2)
 WX_GTK_VER=3.0-gtk3
 
-inherit autotools desktop linux-info systemd wxwidgets xdg-utils
+inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
 
 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
 HOMEPAGE="https://boinc.ssl.berkeley.edu/;
@@ -67,8 +67,6 @@ RDEPEND="${COMMON_DEPEND}
 PATCHES=(
# >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
"${FILESDIR}"/${PN}-${MY_PV}-fix_webview.patch
-   # bug #732024
-   "${FILESDIR}"/${PN}-${MY_PV}-remove-usr_lib.patch
 )
 
 pkg_setup() {
@@ -107,8 +105,6 @@ src_prepare() {
 
eautoreconf
 
-   use X && setup-wxwidgets
-
# bug #732024
if test "x$(get_libdir)" = "xlib64"; then
sed -i -e 's,/lib\([ /;:"]\),/lib64\1,g' configure || die
@@ -116,7 +112,10 @@ src_prepare() {
 }
 
 src_configure() {
-   LDFLAGS="-L${EPREFIX}/usr/$(get_libdir) -L${EPREFIX}/$(get_libdir) 
${LDFLAGS}" \
+   use X && setup-wxwidgets
+

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-04-04 Thread David Seifert
commit: ed908a156e861cb926bffc32449f619262f75b46
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr  4 20:21:03 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr  4 20:21:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed908a15

sci-misc/boinc: need-wxwidgets -> setup-wxwidgets

Closes: https://github.com/gentoo/gentoo/pull/20254
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/boinc-7.14.2.ebuild | 5 ++---
 sci-misc/boinc/boinc-.ebuild   | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.14.2.ebuild 
b/sci-misc/boinc/boinc-7.14.2.ebuild
index 9377eb9ee4e..51e1970735b 100644
--- a/sci-misc/boinc/boinc-7.14.2.ebuild
+++ b/sci-misc/boinc/boinc-7.14.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -92,11 +92,10 @@ src_prepare() {
sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
 
eautoreconf
-
-   use X && need-wxwidgets unicode
 }
 
 src_configure() {
+   use X && setup-wxwidgets unicode
econf --disable-server \
--enable-client \
--enable-dynamic-client-linkage \

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
index 0d45457bf43..c47d056ff11 100644
--- a/sci-misc/boinc/boinc-.ebuild
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -92,11 +92,10 @@ src_prepare() {
sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
 
eautoreconf
-
-   use X && need-wxwidgets unicode
 }
 
 src_configure() {
+   use X && setup-wxwidgets unicode
econf --disable-server \
--enable-client \
--enable-dynamic-client-linkage \



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/

2021-02-21 Thread Conrad Kostecki
commit: d50e52de49b98f11d6f596fd68eacfc8a789c89e
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Feb 21 11:27:45 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 21 21:28:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d50e52de

sci-misc/boinc: remove unused patches/file

Closes: https://github.com/gentoo/gentoo/pull/19574
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-misc/boinc/files/7.10-fix_xlocale.patch | 37 -
 sci-misc/boinc/files/7.8-fix_xlocale.patch  | 42 -
 sci-misc/boinc/files/boinc.service  | 11 
 3 files changed, 90 deletions(-)

diff --git a/sci-misc/boinc/files/7.10-fix_xlocale.patch 
b/sci-misc/boinc/files/7.10-fix_xlocale.patch
deleted file mode 100644
index 6d2360138f8..000
--- a/sci-misc/boinc/files/7.10-fix_xlocale.patch
+++ /dev/null
@@ -1,37 +0,0 @@
 a/configure.ac 2018-03-21 12:08:02.287768932 +0100
-+++ b/configure.ac 2018-03-21 12:09:32.918771652 +0100
-@@ -592,7 +592,7 @@
-echo "DEBUG: GLUT_CFLAGS = $GLUT_CFLAGS" >&5
-echo "DEBUG: GLUT_LIBS = $GLUT_LIBS" >&5
- 
--   AC_CHECK_HEADERS([gl.h glu.h glut.h glaux.h GL/gl.h GL/glu.h GL/glut.h 
GL/glaux.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h OpenGL/glaux.h GLUT/glut.h 
MesaGL/gl.h MesaGL/glu.h MesaGL/glut.h MesaGL/glaux.h libnotify/notify.h 
gtk/gtk.h locale.h xlocale.h])
-+   AC_CHECK_HEADERS([gl.h glu.h glut.h glaux.h GL/gl.h GL/glu.h GL/glut.h 
GL/glaux.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h OpenGL/glaux.h GLUT/glut.h 
MesaGL/gl.h MesaGL/glu.h MesaGL/glut.h MesaGL/glaux.h libnotify/notify.h 
gtk/gtk.h locale.h])
- 
-AC_CHECK_LIB([jpeg], [jpeg_start_compress],[have_jpeg=1],[have_jpeg=0])
-AC_CHECK_HEADER([jpeglib.h],[have_jpeg=1],[have_jpeg=0])
 a/lib/gui_rpc_client.h 2018-03-21 12:07:51.300768602 +0100
-+++ b/lib/gui_rpc_client.h 2018-03-21 12:09:11.671771015 +0100
-@@ -810,8 +810,8 @@
- 
- #elif defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED < 
MAC_OS_X_VERSION_10_4)
- // uselocale() is not available in OS 10.3.9 so use weak linking
--#if HAVE_XLOCALE_H
--#include 
-+#if HAVE_LOCALE_H
-+#include 
- #endif
- extern intfreelocale(locale_t) __attribute__((weak_import));
- extern locale_t   newlocale(int, __const char *, locale_t) 
__attribute__((weak_import));
 a/clientgui/AsyncRPC.cpp   2018-03-21 12:08:17.241769380 +0100
-+++ b/clientgui/AsyncRPC.cpp   2018-03-21 12:08:50.664770384 +0100
-@@ -19,8 +19,8 @@
- #pragma implementation "AsyncRPC.h"
- #endif
- 
--#if HAVE_XLOCALE_H
--#include 
-+#if HAVE_LOCALE_H
-+#include 
- #endif
- 
- #include "stdwx.h"

diff --git a/sci-misc/boinc/files/7.8-fix_xlocale.patch 
b/sci-misc/boinc/files/7.8-fix_xlocale.patch
deleted file mode 100644
index 8b80258cf6c..000
--- a/sci-misc/boinc/files/7.8-fix_xlocale.patch
+++ /dev/null
@@ -1,42 +0,0 @@
 a/configure.ac 2017-12-18 17:45:19.829854890 +0100
-+++ b/configure.ac 2017-12-18 17:46:13.845853923 +0100
-@@ -602,7 +602,7 @@
-echo "DEBUG: GLUT_CFLAGS = $GLUT_CFLAGS" >&5
-echo "DEBUG: GLUT_LIBS = $GLUT_LIBS" >&5
- 
--   AC_CHECK_HEADERS([gl.h glu.h glut.h glaux.h GL/gl.h GL/glu.h GL/glut.h 
GL/glaux.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h OpenGL/glaux.h GLUT/glut.h 
MesaGL/gl.h MesaGL/glu.h MesaGL/glut.h MesaGL/glaux.h libnotify/notify.h 
gtk/gtk.h locale.h xlocale.h])
-+   AC_CHECK_HEADERS([gl.h glu.h glut.h glaux.h GL/gl.h GL/glu.h GL/glut.h 
GL/glaux.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h OpenGL/glaux.h GLUT/glut.h 
MesaGL/gl.h MesaGL/glu.h MesaGL/glut.h MesaGL/glaux.h libnotify/notify.h 
gtk/gtk.h locale.h])
- 
-AC_CHECK_LIB([jpeg], [jpeg_start_compress],[have_jpeg=1],[have_jpeg=0])
-AC_CHECK_HEADER([jpeglib.h],[have_jpeg=1],[have_jpeg=0])
-@@ -986,9 +986,6 @@
- #ifdef HAVE_LOCALE_H
- #include 
- #endif
--#ifdef HAVE_XLOCALE_H
--#include 
--#endif
- ]])
- 
- dnl Checks for typedefs, structures, and compiler characteristics.
 a/lib/gui_rpc_client.h 2017-12-18 17:47:22.826852688 +0100
-+++ b/lib/gui_rpc_client.h 2017-12-18 17:48:42.384851263 +0100
-@@ -807,7 +807,6 @@
- 
- #elif defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED < 
MAC_OS_X_VERSION_10_4)
- // uselocale() is not available in OS 10.3.9 so use weak linking
--#include 
- extern intfreelocale(locale_t) __attribute__((weak_import));
- extern locale_t   newlocale(int, __const char *, locale_t) 
__attribute__((weak_import));
- extern locale_t   uselocale(locale_t) __attribute__((weak_import));
 a/clientgui/AsyncRPC.cpp   2017-12-18 17:47:30.727852546 +0100
-+++ b/clientgui/AsyncRPC.cpp   2017-12-18 17:48:56.785851005 +0100
-@@ -20,7 +20,7 @@
- #endif
- 
- #if !(defined(_WIN32) || (defined(__WXMAC__) && 
(MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4)))
--#include 
-+#include 
- #endif
- 
- 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-01-30 Thread Sam James
commit: 3df96e8bf8dabe9382c5bd42c81f168f2f32bd83
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 30 10:26:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 30 10:26:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3df96e8b

sci-misc/boinc: restore ~arm64

Bug: https://bugs.gentoo.org/766054
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sci-misc/boinc/boinc-7.16.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.16.14.ebuild 
b/sci-misc/boinc/boinc-7.16.14.ebuild
index 904a8535641..cf696e8c6bc 100644
--- a/sci-misc/boinc/boinc-7.16.14.ebuild
+++ b/sci-misc/boinc/boinc-7.16.14.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
 else
SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2021-01-18 Thread Joonas Niilola
commit: e9b2020e1f608225d8fd30a16b4b7a1dcb9f214f
Author: Sven Eden  prydeworx  com>
AuthorDate: Sun Nov  8 14:21:41 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jan 18 13:37:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b2020e

sci-misc/boinc: V7.16.14 bump, EAPI 7 upgrade, bug fixes, GLEP 81

This version bump also fixes the following issues:
* The user/group management is now done according to GLEP 81
* /etc/init.d/boinc: Ensure correct RUNTIMEDIR permissions (#684074)
* /etc/init.d/boinc: The password does no longer need to be submitted
* Hardcoded library search paths to /lib and /usr/lib have been
  removed or switched to /lib64 and /usr/lib64, if those are the
  regular library directories on the emerging system. (#732024)

Closes: https://bugs.gentoo.org/684074
Closes: https://bugs.gentoo.org/717580
Closes: https://bugs.gentoo.org/732024
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sci-misc/boinc/Manifest|   1 +
 sci-misc/boinc/boinc-7.16.14.ebuild| 205 +
 sci-misc/boinc/files/boinc-7.16-fix_webview.patch  |  11 ++
 .../boinc/files/boinc-7.16-remove-usr_lib.patch|  89 +
 sci-misc/boinc/files/boinc.init.in |  53 +-
 sci-misc/boinc/metadata.xml|  44 +++--
 6 files changed, 342 insertions(+), 61 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index a1b9dd4a5e7..c9a98cfa036 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,4 +1,5 @@
 DIST boinc-7.14.2.tar.gz 52236336 BLAKE2B 
fa97d3af9e9a650db409b24386e7950369ab2247469cd83d717d1b6dccb7952a0997763dad2285532cef6807f0460eb320edb3a162b6b20a70bae12159ec6b7f
 SHA512 
dcb6d60893e8baad6282d5e4728387352e942375d988df9c2ad00022deaa9bc5ace967a1346e1b43b25342d2e477ab42e28640935d94e6950ee3716732c9c1af
+DIST boinc-7.16.14.tar.gz 49623696 BLAKE2B 
dde4163040d122cf4707e4747b18120f64c31af5ea4ca778709d9dd3c2fb019eb10ecb6ee367b73ea245cb5ed93bac710f268db2e0408b32120c750915473575
 SHA512 
9315cd8344571ac64eecf12676a2d3d6c021577ecee7a92eff253185f7ddf5bf4d64503a819c625afafd258ad28c3879839016c431aa3099083a90194c7e6454
 DIST boinc-7.8.6.tar.gz 52037690 BLAKE2B 
21d356488d8ea7e665f1b47e8ef0a0055d8b1a11e6e2aeea0b0ee7839fc7c0498b97ff9bc0183cd7391b5c86590ffc8234d823a743688a833ffcbe83797fd679
 SHA512 
e565fff30bc7214ae48548ae726544be3c8b09455a8c78a9e30410fd6cffe3b04b2e5c7f54381fa4190aa8adb259243b7d6443b6760c038ed8347edfed1ba997
 DIST boinc-7.9.3.tar.gz 49628586 BLAKE2B 
a053645f5e5c41610863c19be028963fb2e92fc0015b9df5377e734af968f1a70e4913cdc2052fd4a396dd1a9a782464e3ffc96a4b59a166f25c387de4c30d6d
 SHA512 
d85880ec8e58d53af2cc5c9e357a29fbefe149450f33dea6fed5847b8e8c8bd9c9c5a309180c801c77fbedd740ebef83c1b410e8bc514e35fe210af57552bad5
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.16.14.ebuild 
b/sci-misc/boinc/boinc-7.16.14.ebuild
new file mode 100644
index 000..409c97fc025
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.16.14.ebuild
@@ -0,0 +1,205 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=$(ver_cut 1-2)
+WX_GTK_VER=3.0-gtk3
+
+inherit autotools desktop linux-info systemd wxwidgets xdg-utils
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="https://boinc.ssl.berkeley.edu/;
+
+SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
+
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+COMMON_DEPEND="
+   acct-group/boinc
+   acct-user/boinc
+   >=app-misc/ca-certificates-20080809
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   X? (
+   

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-01-18 Thread Joonas Niilola
commit: 2d7173e1fe4436d1a399fd66ed5c7465e501080d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Jan 18 13:38:09 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jan 18 13:38:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d7173e1

sci-misc/boinc: use rm -r in 7.16.14

Signed-off-by: Joonas Niilola  gentoo.org>

 sci-misc/boinc/boinc-7.16.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/boinc-7.16.14.ebuild 
b/sci-misc/boinc/boinc-7.16.14.ebuild
index 409c97fc025..904a8535641 100644
--- a/sci-misc/boinc/boinc-7.16.14.ebuild
+++ b/sci-misc/boinc/boinc-7.16.14.ebuild
@@ -148,7 +148,7 @@ src_install() {
fi
 
# cleanup cruft
-   rm -rf "${ED}"/etc || die "rm failed"
+   rm -r "${ED}"/etc || die "rm failed"
find "${D}" -name '*.la' -delete || die "Removing .la files failed"
 
sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.init.in > 
${PN}.init || die



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-01-18 Thread Joonas Niilola
commit: 0dcadc885659a0892407725f0b2bfa39da1ab3df
Author: Sven Eden  prydeworx  com>
AuthorDate: Sun Nov  8 14:24:40 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jan 18 13:37:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dcadc88

sci-misc/boinc: Drop obsolete boinc-7.9.3.ebuild

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sven Eden  prydeworx.com>
Closes: https://github.com/gentoo/gentoo/pull/18183
Signed-off-by: Joonas Niilola  gentoo.org>

 sci-misc/boinc/Manifest   |   1 -
 sci-misc/boinc/boinc-7.9.3.ebuild | 196 --
 2 files changed, 197 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index a81fad556ab..6f1f72eff13 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,4 +1,3 @@
 DIST boinc-7.14.2.tar.gz 52236336 BLAKE2B 
fa97d3af9e9a650db409b24386e7950369ab2247469cd83d717d1b6dccb7952a0997763dad2285532cef6807f0460eb320edb3a162b6b20a70bae12159ec6b7f
 SHA512 
dcb6d60893e8baad6282d5e4728387352e942375d988df9c2ad00022deaa9bc5ace967a1346e1b43b25342d2e477ab42e28640935d94e6950ee3716732c9c1af
 DIST boinc-7.16.14.tar.gz 49623696 BLAKE2B 
dde4163040d122cf4707e4747b18120f64c31af5ea4ca778709d9dd3c2fb019eb10ecb6ee367b73ea245cb5ed93bac710f268db2e0408b32120c750915473575
 SHA512 
9315cd8344571ac64eecf12676a2d3d6c021577ecee7a92eff253185f7ddf5bf4d64503a819c625afafd258ad28c3879839016c431aa3099083a90194c7e6454
-DIST boinc-7.9.3.tar.gz 49628586 BLAKE2B 
a053645f5e5c41610863c19be028963fb2e92fc0015b9df5377e734af968f1a70e4913cdc2052fd4a396dd1a9a782464e3ffc96a4b59a166f25c387de4c30d6d
 SHA512 
d85880ec8e58d53af2cc5c9e357a29fbefe149450f33dea6fed5847b8e8c8bd9c9c5a309180c801c77fbedd740ebef83c1b410e8bc514e35fe210af57552bad5
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.9.3.ebuild 
b/sci-misc/boinc/boinc-7.9.3.ebuild
deleted file mode 100644
index 784d06069db..000
--- a/sci-misc/boinc/boinc-7.9.3.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-WX_GTK_VER=3.0-gtk3
-
-inherit autotools eutils gnome2-utils linux-info systemd user wxwidgets
-
-MY_PV="7.10"
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
-   X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-RESTRICT="mirror"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
-
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-COMMON_DEPEND="
-   >=app-misc/ca-certificates-20080809
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   virtual/jpeg:0=
-   x11-libs/gtk+:3
-   >=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   )
-"
-DEPEND="${RDEPEND}
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   sys-devel/gettext
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-RDEPEND="${COMMON_DEPEND}
-   !app-admin/quickswitch
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/fix_webview.patch
-   # xlocale.h was removed in modern glibc, bug 639108
-   "${FILESDIR}"/${MY_PV}-fix_xlocale.patch
-)
-
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
-   ewarn "You do not have vsyscall emulation enabled."
-   ewarn "This will prevent some boinc projects from 
running."
-   ewarn 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2021-01-18 Thread Joonas Niilola
commit: 98e3d12ede1bc5188f2a1330f8604acb67f71180
Author: Sven Eden  prydeworx  com>
AuthorDate: Sun Nov  8 14:24:11 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jan 18 13:37:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e3d12e

sci-misc/boinc: Drop obsolete boinc-7.8.6.ebuild

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sven Eden  prydeworx.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sci-misc/boinc/Manifest   |   1 -
 sci-misc/boinc/boinc-7.8.6.ebuild | 196 --
 2 files changed, 197 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index c9a98cfa036..a81fad556ab 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,5 +1,4 @@
 DIST boinc-7.14.2.tar.gz 52236336 BLAKE2B 
fa97d3af9e9a650db409b24386e7950369ab2247469cd83d717d1b6dccb7952a0997763dad2285532cef6807f0460eb320edb3a162b6b20a70bae12159ec6b7f
 SHA512 
dcb6d60893e8baad6282d5e4728387352e942375d988df9c2ad00022deaa9bc5ace967a1346e1b43b25342d2e477ab42e28640935d94e6950ee3716732c9c1af
 DIST boinc-7.16.14.tar.gz 49623696 BLAKE2B 
dde4163040d122cf4707e4747b18120f64c31af5ea4ca778709d9dd3c2fb019eb10ecb6ee367b73ea245cb5ed93bac710f268db2e0408b32120c750915473575
 SHA512 
9315cd8344571ac64eecf12676a2d3d6c021577ecee7a92eff253185f7ddf5bf4d64503a819c625afafd258ad28c3879839016c431aa3099083a90194c7e6454
-DIST boinc-7.8.6.tar.gz 52037690 BLAKE2B 
21d356488d8ea7e665f1b47e8ef0a0055d8b1a11e6e2aeea0b0ee7839fc7c0498b97ff9bc0183cd7391b5c86590ffc8234d823a743688a833ffcbe83797fd679
 SHA512 
e565fff30bc7214ae48548ae726544be3c8b09455a8c78a9e30410fd6cffe3b04b2e5c7f54381fa4190aa8adb259243b7d6443b6760c038ed8347edfed1ba997
 DIST boinc-7.9.3.tar.gz 49628586 BLAKE2B 
a053645f5e5c41610863c19be028963fb2e92fc0015b9df5377e734af968f1a70e4913cdc2052fd4a396dd1a9a782464e3ffc96a4b59a166f25c387de4c30d6d
 SHA512 
d85880ec8e58d53af2cc5c9e357a29fbefe149450f33dea6fed5847b8e8c8bd9c9c5a309180c801c77fbedd740ebef83c1b410e8bc514e35fe210af57552bad5
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.8.6.ebuild 
b/sci-misc/boinc/boinc-7.8.6.ebuild
deleted file mode 100644
index 79674f89662..000
--- a/sci-misc/boinc/boinc-7.8.6.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-WX_GTK_VER=3.0-gtk3
-
-inherit autotools eutils gnome2-utils linux-info systemd user versionator 
wxwidgets
-
-MY_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
-   X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-RESTRICT="mirror"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
-
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-COMMON_DEPEND="
-   >=app-misc/ca-certificates-20080809
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   X? (
-   >=x11-libs/libnotify-0.7
-   dev-db/sqlite:3
-   media-libs/freeglut
-   virtual/jpeg:0=
-   x11-libs/gtk+:3
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   )
-"
-DEPEND="${COMMON_DEPEND}
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   sys-devel/gettext
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-RDEPEND="${COMMON_DEPEND}
-   !app-admin/quickswitch
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/fix_webview.patch
-   # xlocale.h was removed in modern glibc, bug 639108
-   "${FILESDIR}"/${MY_PV}-fix_xlocale.patch
-)
-
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2020-08-24 Thread Jonas Stein
commit: d558e37e4614317b55035b0dc16a03ca8f23f0ad
Author: Jonas Stein  gentoo  org>
AuthorDate: Mon Aug 24 17:41:33 2020 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Mon Aug 24 17:45:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d558e37e

sci-misc/boinc: Maintainer retired

Proxied maintainer retired due to inactivity.
Bug: https://bugs.gentoo.org/633138
Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Jonas Stein  gentoo.org>

 sci-misc/boinc/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sci-misc/boinc/metadata.xml b/sci-misc/boinc/metadata.xml
index cda1e480534..ca04e552419 100644
--- a/sci-misc/boinc/metadata.xml
+++ b/sci-misc/boinc/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-yamakuz...@gmx.net
-Sven Eden
-  
   
 s...@gentoo.org
 Gentoo Science Project



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2018-12-06 Thread Craig Andrews
commit: 0e3d1743848c7347c182bb1fd9a5b03fab777ead
Author: Craig Andrews  gentoo  org>
AuthorDate: Wed Dec  5 04:21:23 2018 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Thu Dec  6 21:20:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e3d1743

sci-misc/boinc: Add - live version

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Craig Andrews  gentoo.org>

 sci-misc/boinc/boinc-.ebuild | 192 +++
 1 file changed, 192 insertions(+)

diff --git a/sci-misc/boinc/boinc-.ebuild b/sci-misc/boinc/boinc-.ebuild
new file mode 100644
index 000..0d45457bf43
--- /dev/null
+++ b/sci-misc/boinc/boinc-.ebuild
@@ -0,0 +1,192 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+WX_GTK_VER=3.0-gtk3
+
+inherit autotools gnome2-utils linux-info systemd user wxwidgets
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="https://boinc.ssl.berkeley.edu/;
+
+SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
+   inherit git-r3
+else
+   MY_PV="7.14"
+   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
+
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+COMMON_DEPEND="
+   >=app-misc/ca-certificates-20080809
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   virtual/jpeg:0=
+   x11-libs/gtk+:3
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+   sys-devel/gettext
+   X? ( virtual/imagemagick-tools[png,tiff] )
+"
+RDEPEND="${COMMON_DEPEND}
+   !app-admin/quickswitch
+"
+
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/fix_webview.patch
+)
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy applications 
(None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
+   ewarn "However, this has security implications and is 
not recommended."
+   fi
+   fi
+}
+
+src_prepare() {
+   default
+
+   # prevent bad changes in compile flags, bug 286701
+   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
+
+   eautoreconf
+
+   use X && need-wxwidgets unicode
+}
+
+src_configure() {
+   econf --disable-server \
+   --enable-client \
+   --enable-dynamic-client-linkage \
+   --disable-static \
+   --enable-unicode \
+   --with-ssl \
+   $(use_with X x) \
+   $(use_enable X manager) \
+   $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
+}
+
+src_install() {
+   default
+
+   keepdir /var/lib/${PN}
+
+   if use X; then
+   # Create new icons. bug 593362
+   local s SIZES=(16 22 24 32 36 48 64 72 96 128 192 256)
+   for s in "${SIZES[@]}"; do
+   convert 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2018-12-06 Thread Craig Andrews
commit: 3b0bc28b2e20c96d6d534c727749f727408007b7
Author: Craig Andrews  gentoo  org>
AuthorDate: Wed Dec  5 04:11:42 2018 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Thu Dec  6 21:20:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b0bc28b

sci-misc/boinc: 7.14.2 version bump

Remove boinc.service; upstream provides boinc_client.service
elog about OpenCL as well as CUDA

Closes: https://bugs.gentoo.org/672550
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Craig Andrews  gentoo.org>

 sci-misc/boinc/Manifest|   1 +
 sci-misc/boinc/boinc-7.14.2.ebuild | 192 +
 2 files changed, 193 insertions(+)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index f2bd0f57b26..a1b9dd4a5e7 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,4 @@
+DIST boinc-7.14.2.tar.gz 52236336 BLAKE2B 
fa97d3af9e9a650db409b24386e7950369ab2247469cd83d717d1b6dccb7952a0997763dad2285532cef6807f0460eb320edb3a162b6b20a70bae12159ec6b7f
 SHA512 
dcb6d60893e8baad6282d5e4728387352e942375d988df9c2ad00022deaa9bc5ace967a1346e1b43b25342d2e477ab42e28640935d94e6950ee3716732c9c1af
 DIST boinc-7.8.6.tar.gz 52037690 BLAKE2B 
21d356488d8ea7e665f1b47e8ef0a0055d8b1a11e6e2aeea0b0ee7839fc7c0498b97ff9bc0183cd7391b5c86590ffc8234d823a743688a833ffcbe83797fd679
 SHA512 
e565fff30bc7214ae48548ae726544be3c8b09455a8c78a9e30410fd6cffe3b04b2e5c7f54381fa4190aa8adb259243b7d6443b6760c038ed8347edfed1ba997
 DIST boinc-7.9.3.tar.gz 49628586 BLAKE2B 
a053645f5e5c41610863c19be028963fb2e92fc0015b9df5377e734af968f1a70e4913cdc2052fd4a396dd1a9a782464e3ffc96a4b59a166f25c387de4c30d6d
 SHA512 
d85880ec8e58d53af2cc5c9e357a29fbefe149450f33dea6fed5847b8e8c8bd9c9c5a309180c801c77fbedd740ebef83c1b410e8bc514e35fe210af57552bad5
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.14.2.ebuild 
b/sci-misc/boinc/boinc-7.14.2.ebuild
new file mode 100644
index 000..0d45457bf43
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.14.2.ebuild
@@ -0,0 +1,192 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+WX_GTK_VER=3.0-gtk3
+
+inherit autotools gnome2-utils linux-info systemd user wxwidgets
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="https://boinc.ssl.berkeley.edu/;
+
+SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/BOINC/${PN}.git;
+   inherit git-r3
+else
+   MY_PV="7.14"
+   SRC_URI+=" 
https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+   S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
+
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+COMMON_DEPEND="
+   >=app-misc/ca-certificates-20080809
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   virtual/jpeg:0=
+   x11-libs/gtk+:3
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+   sys-devel/gettext
+   X? ( virtual/imagemagick-tools[png,tiff] )
+"
+RDEPEND="${COMMON_DEPEND}
+   !app-admin/quickswitch
+"
+
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/fix_webview.patch
+)
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2018-04-24 Thread Andreas Sturmlechner
commit: b9b1328e09eaa33e6b040b2bd5cb21a3e72b6c06
Author: Sven Eden  gmx  net>
AuthorDate: Tue Apr 24 05:44:01 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Apr 24 21:56:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9b1328e

sci-misc/boinc: Remove obsolete 7.8.4-r1

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sci-misc/boinc/Manifest  |   1 -
 sci-misc/boinc/boinc-7.8.4-r1.ebuild | 195 ---
 2 files changed, 196 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index cedc7247b7f..a04ac5afb50 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,2 @@
-DIST boinc-7.8.4.tar.gz 52035132 BLAKE2B 
4234bd6f3ad3bbb4d7d518e45c16b8843de35f37d2cfd40ff149d85d14cb6d6bed2cbd682ba1d16099c1261eb000f8bb2e4f637b47d12e84e43266b4de076ed0
 SHA512 
d888f6c1586b57cdad7c4c783b2e58ae3bc3da8d0183eaacfe43f9798519e65129324222e6190a8ee1f00be2dfd31ee54fe2a88ef77950506e29552ce32de8aa
 DIST boinc-7.8.6.tar.gz 52037690 BLAKE2B 
21d356488d8ea7e665f1b47e8ef0a0055d8b1a11e6e2aeea0b0ee7839fc7c0498b97ff9bc0183cd7391b5c86590ffc8234d823a743688a833ffcbe83797fd679
 SHA512 
e565fff30bc7214ae48548ae726544be3c8b09455a8c78a9e30410fd6cffe3b04b2e5c7f54381fa4190aa8adb259243b7d6443b6760c038ed8347edfed1ba997
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.8.4-r1.ebuild 
b/sci-misc/boinc/boinc-7.8.4-r1.ebuild
deleted file mode 100644
index 066eded5748..000
--- a/sci-misc/boinc/boinc-7.8.4-r1.ebuild
+++ /dev/null
@@ -1,195 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-WX_GTK_VER=3.0-gtk3
-
-inherit autotools eutils gnome2-utils linux-info systemd user versionator 
wxwidgets
-
-MY_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
-   X? ( http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-RESTRICT="mirror"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
-
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-RDEPEND="
-   !sci-misc/boinc-bin
-   !app-admin/quickswitch
-   >=app-misc/ca-certificates-20080809
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   sys-libs/glibc:2.2
-   virtual/jpeg:0=
-   x11-libs/gtk+:3
-   >=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   )
-"
-DEPEND="${RDEPEND}
-   sys-devel/gettext
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/fix_webview.patch
-   # xlocale.h was removed in modern glibc, bug 639108
-   "${FILESDIR}"/${MY_PV}-fix_xlocale.patch
-)
-
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
-   ewarn "You do not have vsyscall emulation enabled."
-   ewarn "This will prevent some boinc projects from 
running."
-   ewarn "Please enable vsyscall emulation:"
-   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
-   ewarn "in /usr/src/linux/.config, to be found at"
-   ewarn "Processor type and features --->"
-   ewarn "vsyscall table for legacy applications 
(None) --->"
-   

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/, sci-misc/boinc/files/

2018-04-24 Thread Andreas Sturmlechner
commit: 124fd3da717a11809d37a151e954c3aac8c7d829
Author: Sven Eden  gmx  net>
AuthorDate: Wed Mar 21 11:39:26 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Apr 24 21:56:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=124fd3da

sci-misc/boinc: 7.8.6 version bump

Besides the version bump the xlocale patch has been renamed to
include the client release series. This has been done to counter
future changes which might make the current patch to fail.

Further the ebuild got cleaned up. The static-libs USE flag has been removed,
it was not used anywhere.

Tested-by: Sven Eden  gmx.net>
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/7531

 sci-misc/boinc/Manifest|  1 +
 .../{boinc-7.8.4.ebuild => boinc-7.8.4-r1.ebuild}  |  2 +-
 .../{boinc-7.8.4.ebuild => boinc-7.8.6.ebuild} | 29 +++---
 .../{fix_xlocale.patch => 7.8-fix_xlocale.patch}   |  0
 4 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 669f224b49a..cedc7247b7f 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,2 +1,3 @@
 DIST boinc-7.8.4.tar.gz 52035132 BLAKE2B 
4234bd6f3ad3bbb4d7d518e45c16b8843de35f37d2cfd40ff149d85d14cb6d6bed2cbd682ba1d16099c1261eb000f8bb2e4f637b47d12e84e43266b4de076ed0
 SHA512 
d888f6c1586b57cdad7c4c783b2e58ae3bc3da8d0183eaacfe43f9798519e65129324222e6190a8ee1f00be2dfd31ee54fe2a88ef77950506e29552ce32de8aa
+DIST boinc-7.8.6.tar.gz 52037690 BLAKE2B 
21d356488d8ea7e665f1b47e8ef0a0055d8b1a11e6e2aeea0b0ee7839fc7c0498b97ff9bc0183cd7391b5c86590ffc8234d823a743688a833ffcbe83797fd679
 SHA512 
e565fff30bc7214ae48548ae726544be3c8b09455a8c78a9e30410fd6cffe3b04b2e5c7f54381fa4190aa8adb259243b7d6443b6760c038ed8347edfed1ba997
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.8.4.ebuild 
b/sci-misc/boinc/boinc-7.8.4-r1.ebuild
similarity index 99%
copy from sci-misc/boinc/boinc-7.8.4.ebuild
copy to sci-misc/boinc/boinc-7.8.4-r1.ebuild
index b1ddba69aff..066eded5748 100644
--- a/sci-misc/boinc/boinc-7.8.4.ebuild
+++ b/sci-misc/boinc/boinc-7.8.4-r1.ebuild
@@ -56,7 +56,7 @@ PATCHES=(
# >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
"${FILESDIR}"/fix_webview.patch
# xlocale.h was removed in modern glibc, bug 639108
-   "${FILESDIR}"/fix_xlocale.patch
+   "${FILESDIR}"/${MY_PV}-fix_xlocale.patch
 )
 
 S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"

diff --git a/sci-misc/boinc/boinc-7.8.4.ebuild 
b/sci-misc/boinc/boinc-7.8.6.ebuild
similarity index 94%
rename from sci-misc/boinc/boinc-7.8.4.ebuild
rename to sci-misc/boinc/boinc-7.8.6.ebuild
index b1ddba69aff..79674f89662 100644
--- a/sci-misc/boinc/boinc-7.8.4.ebuild
+++ b/sci-misc/boinc/boinc-7.8.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,51 +12,51 @@ MY_PV=$(get_version_component_range 1-2)
 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
 HOMEPAGE="http://boinc.ssl.berkeley.edu/;
 
SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
-   X? ( http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+   X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
 RESTRICT="mirror"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
 
 REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
 
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
-RDEPEND="
-   !sci-misc/boinc-bin
-   !app-admin/quickswitch
+COMMON_DEPEND="
>=app-misc/ca-certificates-20080809
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
cuda? (
>=dev-util/nvidia-cuda-toolkit-2.1
>=x11-drivers/nvidia-drivers-180.22
)
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
X? (
+   >=x11-libs/libnotify-0.7
dev-db/sqlite:3
media-libs/freeglut
-   

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2018-04-24 Thread Andreas Sturmlechner
commit: a954c781733024fddc2d9f15bc69d9a074ba063e
Author: Sven Eden  gmx  net>
AuthorDate: Wed Mar 21 11:42:19 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Apr 24 21:56:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a954c781

sci-misc/boinc: New version 7.9.3 and new xlocale patch

The client release series 7.10 is currently a "pre-release", so the
series has the lower client version 7.9.3 as its newest release.

As predicted the old xlocale patch does not fit any more, so a new
patch was created.

Tested-by: Sven Eden  gmx.net>
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sci-misc/boinc/Manifest |   1 +
 sci-misc/boinc/boinc-7.9.3.ebuild   | 196 
 sci-misc/boinc/files/7.10-fix_xlocale.patch |  37 ++
 3 files changed, 234 insertions(+)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index a04ac5afb50..f2bd0f57b26 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,2 +1,3 @@
 DIST boinc-7.8.6.tar.gz 52037690 BLAKE2B 
21d356488d8ea7e665f1b47e8ef0a0055d8b1a11e6e2aeea0b0ee7839fc7c0498b97ff9bc0183cd7391b5c86590ffc8234d823a743688a833ffcbe83797fd679
 SHA512 
e565fff30bc7214ae48548ae726544be3c8b09455a8c78a9e30410fd6cffe3b04b2e5c7f54381fa4190aa8adb259243b7d6443b6760c038ed8347edfed1ba997
+DIST boinc-7.9.3.tar.gz 49628586 BLAKE2B 
a053645f5e5c41610863c19be028963fb2e92fc0015b9df5377e734af968f1a70e4913cdc2052fd4a396dd1a9a782464e3ffc96a4b59a166f25c387de4c30d6d
 SHA512 
d85880ec8e58d53af2cc5c9e357a29fbefe149450f33dea6fed5847b8e8c8bd9c9c5a309180c801c77fbedd740ebef83c1b410e8bc514e35fe210af57552bad5
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.9.3.ebuild 
b/sci-misc/boinc/boinc-7.9.3.ebuild
new file mode 100644
index 000..784d06069db
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.9.3.ebuild
@@ -0,0 +1,196 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+WX_GTK_VER=3.0-gtk3
+
+inherit autotools eutils gnome2-utils linux-info systemd user wxwidgets
+
+MY_PV="7.10"
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
+   X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+RESTRICT="mirror"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl"
+
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+COMMON_DEPEND="
+   >=app-misc/ca-certificates-20080809
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   virtual/jpeg:0=
+   x11-libs/gtk+:3
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+   sys-devel/gettext
+   X? ( virtual/imagemagick-tools[png,tiff] )
+"
+RDEPEND="${COMMON_DEPEND}
+   !app-admin/quickswitch
+"
+
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/fix_webview.patch
+   # xlocale.h was removed in modern glibc, bug 639108
+   "${FILESDIR}"/${MY_PV}-fix_xlocale.patch
+)
+
+S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+ 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2018-02-11 Thread Michał Górny
commit: 7f8f67ff2bbf1937cfbb1a53a9107441993a7c1d
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 11 11:08:21 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 11 11:08:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f8f67ff

sci-misc/boinc: Remove useless maintainer 

Remove useless/redundant maintainer . It does not benefit
bug wrangling, and only wastes developer's time on reading it. Few tips:

- assignee/CC is implied by ordering, there is no reason to repeat it,
- we know that maintainer is maintainer (la la la la la),
- most of adjectives for maintainer are of no value and/or are obvious.

 sci-misc/boinc/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-misc/boinc/metadata.xml b/sci-misc/boinc/metadata.xml
index 5e74c0cc24c..cda1e480534 100644
--- a/sci-misc/boinc/metadata.xml
+++ b/sci-misc/boinc/metadata.xml
@@ -4,7 +4,6 @@
   
 yamakuz...@gmx.net
 Sven Eden
-Proxied maintainer; set to assignee in all bugs
   
   
 s...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2017-12-27 Thread Mart Raudsepp
commit: 36450a88d1529f5ee657e7dc328c9a98a7367706
Author: Sven Eden  gmx  net>
AuthorDate: Sun Dec 24 14:31:32 2017 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Wed Dec 27 11:56:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36450a88

sci-misc/boinc: Remove xlocale.h usage, fixes bug 639108

>=sys-libs/glibc-2.26 dropped xlocale.h support.

>From https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27
 > The nonstandard header xlocale.h has been removed in this release. It was
 > never intended to be included directly by programs other than glibc itself,
 > and it was a strict subset of the standard header locale.h.

This commit removes the inclusion of xlocale.h, and substitutes it with
locale.h where necessary.

Tested-by: Sven Eden  gmx.net>
Bug: https://bugs.gentoo.org/639108
Closes: https://bugs.gentoo.org/639108
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/boinc/boinc-7.8.4.ebuild  |  2 ++
 sci-misc/boinc/files/fix_xlocale.patch | 42 ++
 2 files changed, 44 insertions(+)

diff --git a/sci-misc/boinc/boinc-7.8.4.ebuild 
b/sci-misc/boinc/boinc-7.8.4.ebuild
index b4628e19804..3c1024ee2da 100644
--- a/sci-misc/boinc/boinc-7.8.4.ebuild
+++ b/sci-misc/boinc/boinc-7.8.4.ebuild
@@ -55,6 +55,8 @@ DEPEND="${RDEPEND}
 PATCHES=(
# >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
"${FILESDIR}"/fix_webview.patch
+   # xlocale.h was removed in modern glibc, bug 639108
+   "${FILESDIR}"/fix_xlocale.patch
 )
 
 S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"

diff --git a/sci-misc/boinc/files/fix_xlocale.patch 
b/sci-misc/boinc/files/fix_xlocale.patch
new file mode 100644
index 000..8b80258cf6c
--- /dev/null
+++ b/sci-misc/boinc/files/fix_xlocale.patch
@@ -0,0 +1,42 @@
+--- a/configure.ac 2017-12-18 17:45:19.829854890 +0100
 b/configure.ac 2017-12-18 17:46:13.845853923 +0100
+@@ -602,7 +602,7 @@
+echo "DEBUG: GLUT_CFLAGS = $GLUT_CFLAGS" >&5
+echo "DEBUG: GLUT_LIBS = $GLUT_LIBS" >&5
+ 
+-   AC_CHECK_HEADERS([gl.h glu.h glut.h glaux.h GL/gl.h GL/glu.h GL/glut.h 
GL/glaux.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h OpenGL/glaux.h GLUT/glut.h 
MesaGL/gl.h MesaGL/glu.h MesaGL/glut.h MesaGL/glaux.h libnotify/notify.h 
gtk/gtk.h locale.h xlocale.h])
++   AC_CHECK_HEADERS([gl.h glu.h glut.h glaux.h GL/gl.h GL/glu.h GL/glut.h 
GL/glaux.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h OpenGL/glaux.h GLUT/glut.h 
MesaGL/gl.h MesaGL/glu.h MesaGL/glut.h MesaGL/glaux.h libnotify/notify.h 
gtk/gtk.h locale.h])
+ 
+AC_CHECK_LIB([jpeg], [jpeg_start_compress],[have_jpeg=1],[have_jpeg=0])
+AC_CHECK_HEADER([jpeglib.h],[have_jpeg=1],[have_jpeg=0])
+@@ -986,9 +986,6 @@
+ #ifdef HAVE_LOCALE_H
+ #include 
+ #endif
+-#ifdef HAVE_XLOCALE_H
+-#include 
+-#endif
+ ]])
+ 
+ dnl Checks for typedefs, structures, and compiler characteristics.
+--- a/lib/gui_rpc_client.h 2017-12-18 17:47:22.826852688 +0100
 b/lib/gui_rpc_client.h 2017-12-18 17:48:42.384851263 +0100
+@@ -807,7 +807,6 @@
+ 
+ #elif defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED < 
MAC_OS_X_VERSION_10_4)
+ // uselocale() is not available in OS 10.3.9 so use weak linking
+-#include 
+ extern intfreelocale(locale_t) __attribute__((weak_import));
+ extern locale_t   newlocale(int, __const char *, locale_t) 
__attribute__((weak_import));
+ extern locale_t   uselocale(locale_t) __attribute__((weak_import));
+--- a/clientgui/AsyncRPC.cpp   2017-12-18 17:47:30.727852546 +0100
 b/clientgui/AsyncRPC.cpp   2017-12-18 17:48:56.785851005 +0100
+@@ -20,7 +20,7 @@
+ #endif
+ 
+ #if !(defined(_WIN32) || (defined(__WXMAC__) && 
(MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4)))
+-#include 
++#include 
+ #endif
+ 
+ #include "stdwx.h"



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-12-27 Thread Mart Raudsepp
commit: e5f2f2be84c3b6a791f53864d397372d41308430
Author: Sven Eden  gmx  net>
AuthorDate: Sun Dec 24 14:24:24 2017 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Wed Dec 27 11:55:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f2f2be

sci-misc/boinc: Clean up old ebuilds

As it was discussed in bug 640822, said bug is now closed with
cleaning up the old ebuilds.
The newest no longer depends on gtk2 based wxWidgets, and remains.

Closes: https://bugs.gentoo.org/640822
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/boinc/Manifest  |   1 -
 sci-misc/boinc/boinc-7.8.1-r1.ebuild | 189 ---
 sci-misc/boinc/boinc-7.8.1.ebuild| 181 -
 3 files changed, 371 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index d4d77311581..669f224b49a 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,2 @@
-DIST boinc-7.8.1.tar.gz 52056850 BLAKE2B 
ddedde30c18e231e4820e8ecf66a9a5042b25527a1ce670ddeae314ee08b9549601aab4e920871ff30933474bdf5a1ff2d2772daa76eb602fce1d98a1f9d425f
 SHA512 
32a30f19dd6b7e6b6050de9952091c2a60e27f4891542f70a449a7d7af347d9b0eecae4501bfb7465f453d1bbe321369f911be74b882384aa5216db3bf569656
 DIST boinc-7.8.4.tar.gz 52035132 BLAKE2B 
4234bd6f3ad3bbb4d7d518e45c16b8843de35f37d2cfd40ff149d85d14cb6d6bed2cbd682ba1d16099c1261eb000f8bb2e4f637b47d12e84e43266b4de076ed0
 SHA512 
d888f6c1586b57cdad7c4c783b2e58ae3bc3da8d0183eaacfe43f9798519e65129324222e6190a8ee1f00be2dfd31ee54fe2a88ef77950506e29552ce32de8aa
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.8.1-r1.ebuild 
b/sci-misc/boinc/boinc-7.8.1-r1.ebuild
deleted file mode 100644
index 885e7ebb207..000
--- a/sci-misc/boinc/boinc-7.8.1-r1.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-WX_GTK_VER=3.0
-
-inherit autotools eutils gnome2-utils linux-info systemd user versionator 
wxwidgets
-
-MY_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
-   X? ( http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-RESTRICT="mirror"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
-
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-RDEPEND="
-   !sci-misc/boinc-bin
-   !app-admin/quickswitch
-   >=app-misc/ca-certificates-20080809
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   sys-libs/glibc:2.2
-   virtual/jpeg:0=
-   x11-libs/gtk+:2
-   >=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   )
-"
-DEPEND="${RDEPEND}
-   sys-devel/gettext
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-
-PATCHES=(
-   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
-   "${FILESDIR}"/fix_webview.patch
-)
-
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
-   ewarn "You do not have vsyscall emulation enabled."
-   ewarn "This will prevent some boinc projects from 
running."
-   ewarn "Please enable vsyscall emulation:"
-   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
-   ewarn "in /usr/src/linux/.config, to be found at"
-   ewarn "

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-12-27 Thread Mart Raudsepp
commit: c82da1d4dfcc319e319b6ed532b0be3e3fed36b6
Author: Sven Eden  gmx  net>
AuthorDate: Mon Dec 25 11:06:31 2017 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Wed Dec 27 11:56:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c82da1d4

sci-misc/boinc: Update icon cache if icons are installed/removed

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/boinc/boinc-7.8.4.ebuild | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.8.4.ebuild 
b/sci-misc/boinc/boinc-7.8.4.ebuild
index 3c1024ee2da..b1ddba69aff 100644
--- a/sci-misc/boinc/boinc-7.8.4.ebuild
+++ b/sci-misc/boinc/boinc-7.8.4.ebuild
@@ -136,6 +136,8 @@ src_install() {
 }
 
 pkg_preinst() {
+   gnome2_icon_savelist
+
enewgroup ${PN}
# note this works only for first install so we have to
# elog user about the need of being in video group
@@ -147,7 +149,9 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-   gnome2_icon_cache_update
+   if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
+   gnome2_icon_cache_update
+   fi
 
elog
elog "You are using the source compiled version of boinc."
@@ -185,5 +189,7 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-   gnome2_icon_cache_update
+   if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
+   gnome2_icon_cache_update
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-12-21 Thread Mart Raudsepp
commit: 8ff0b882bc4eb16abcca916707bd2cb7d6ace4e5
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Thu Dec 21 10:44:08 2017 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Dec 21 10:46:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff0b882

sci-misc/boinc: update icon cache in 7.8.4 as well

This brings in the iconcache update fix from 7.8.1-r1 that was
pushed while 7.8.4 PR was still unmerged. But without the
redundant gnome2_icon_savelist call, as the conditional to
only call cache update isn't inside itself since a while now.

Bug: https://bugs.gentoo.org/636886
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/boinc/boinc-7.8.4.ebuild | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.8.4.ebuild 
b/sci-misc/boinc/boinc-7.8.4.ebuild
index b29f7289978..b4628e19804 100644
--- a/sci-misc/boinc/boinc-7.8.4.ebuild
+++ b/sci-misc/boinc/boinc-7.8.4.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 WX_GTK_VER=3.0-gtk3
 
-inherit autotools eutils linux-info systemd user versionator wxwidgets
+inherit autotools eutils gnome2-utils linux-info systemd user versionator 
wxwidgets
 
 MY_PV=$(get_version_component_range 1-2)
 
@@ -67,7 +67,7 @@ pkg_setup() {
ewarn "Can't check the linux kernel configuration."
ewarn "You might be missing vsyscall support."
elif kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
ewarn "You do not have vsyscall emulation enabled."
ewarn "This will prevent some boinc projects from 
running."
ewarn "Please enable vsyscall emulation:"
@@ -145,6 +145,8 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
+   gnome2_icon_cache_update
+
elog
elog "You are using the source compiled version of boinc."
use X && elog "The graphical manager can be found at /usr/bin/boincmgr"
@@ -179,3 +181,7 @@ pkg_postinst() {
fi
elog
 }
+
+pkg_postrm() {
+   gnome2_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-12-21 Thread Mart Raudsepp
commit: f371aa1404ec4ff581399ce81685ffe828270005
Author: kuzetsa  gmail  com>
AuthorDate: Tue Dec 12 13:24:32 2017 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Dec 21 10:46:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f371aa14

sci-misc/boinc: sci-misc/boinc: bump 7.8.4 & SLOT wxGTK:3.0-gtk3

Bug: https://bugs.gentoo.org/640822
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sci-misc/boinc/Manifest   |   1 +
 sci-misc/boinc/boinc-7.8.4.ebuild | 181 ++
 2 files changed, 182 insertions(+)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 126667e4535..d4d77311581 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,2 +1,3 @@
 DIST boinc-7.8.1.tar.gz 52056850 BLAKE2B 
ddedde30c18e231e4820e8ecf66a9a5042b25527a1ce670ddeae314ee08b9549601aab4e920871ff30933474bdf5a1ff2d2772daa76eb602fce1d98a1f9d425f
 SHA512 
32a30f19dd6b7e6b6050de9952091c2a60e27f4891542f70a449a7d7af347d9b0eecae4501bfb7465f453d1bbe321369f911be74b882384aa5216db3bf569656
+DIST boinc-7.8.4.tar.gz 52035132 BLAKE2B 
4234bd6f3ad3bbb4d7d518e45c16b8843de35f37d2cfd40ff149d85d14cb6d6bed2cbd682ba1d16099c1261eb000f8bb2e4f637b47d12e84e43266b4de076ed0
 SHA512 
d888f6c1586b57cdad7c4c783b2e58ae3bc3da8d0183eaacfe43f9798519e65129324222e6190a8ee1f00be2dfd31ee54fe2a88ef77950506e29552ce32de8aa
 DIST boinc.tif 288208 BLAKE2B 
156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260
 SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046

diff --git a/sci-misc/boinc/boinc-7.8.4.ebuild 
b/sci-misc/boinc/boinc-7.8.4.ebuild
new file mode 100644
index 000..b29f7289978
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.8.4.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+WX_GTK_VER=3.0-gtk3
+
+inherit autotools eutils linux-info systemd user versionator wxwidgets
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
+   X? ( http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+RESTRICT="mirror"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
+
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+RDEPEND="
+   !sci-misc/boinc-bin
+   !app-admin/quickswitch
+   >=app-misc/ca-certificates-20080809
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   sys-libs/glibc:2.2
+   virtual/jpeg:0=
+   x11-libs/gtk+:3
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+   X? ( virtual/imagemagick-tools[png,tiff] )
+"
+
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/fix_webview.patch
+)
+
+S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy applications 
(None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-12-20 Thread Craig Andrews
commit: 4f8f65525b333b3f895d6c59e514433270b87cfc
Author: Francesco Turco  fastmail  fm>
AuthorDate: Mon Sep 18 11:59:46 2017 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Wed Dec 20 20:13:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8f6552

sci-misc/boinc: update icon cache

/usr/share/icons/hicolor/icon-theme.cache needs to be updated
every time users install or remove BOINC

Closes: https://bugs.gentoo.org/636886

 sci-misc/boinc/boinc-7.8.1-r1.ebuild | 189 +++
 1 file changed, 189 insertions(+)

diff --git a/sci-misc/boinc/boinc-7.8.1-r1.ebuild 
b/sci-misc/boinc/boinc-7.8.1-r1.ebuild
new file mode 100644
index 000..885e7ebb207
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.8.1-r1.ebuild
@@ -0,0 +1,189 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+WX_GTK_VER=3.0
+
+inherit autotools eutils gnome2-utils linux-info systemd user versionator 
wxwidgets
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
+   X? ( http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+RESTRICT="mirror"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
+
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+RDEPEND="
+   !sci-misc/boinc-bin
+   !app-admin/quickswitch
+   >=app-misc/ca-certificates-20080809
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   sys-libs/glibc:2.2
+   virtual/jpeg:0=
+   x11-libs/gtk+:2
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+   X? ( virtual/imagemagick-tools[png,tiff] )
+"
+
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/fix_webview.patch
+)
+
+S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy applications 
(None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
+   ewarn "However, this has security implications and is 
not recommended."
+   fi
+   fi
+}
+
+src_prepare() {
+   default
+
+   # prevent bad changes in compile flags, bug 286701
+   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
+
+   eautoreconf
+
+   use X && need-wxwidgets unicode
+}
+
+src_configure() {
+   econf --disable-server \
+   --enable-client \
+   --enable-dynamic-client-linkage \
+   --disable-static \
+   --enable-unicode \
+   --with-ssl \
+   $(use_with X x) \
+   $(use_enable X manager) \
+   $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
+}
+
+src_install() {
+   default
+
+   keepdir /var/lib/${PN}
+
+   if use X; then
+   # Create new icons. bug 593362
+   local s SIZES=(16 22 24 32 36 48 64 72 96 128 192 256)
+   for s in "${SIZES[@]}"; do
+   

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-11-02 Thread Mart Raudsepp
commit: 6bfdf87f159e4ca84c0ba7f7cc57a86773290088
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Thu Nov  2 11:39:30 2017 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Nov  2 11:39:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bfdf87f

sci-misc/boinc: remove old

Acked-by: David Seifert  gentoo.org>
Package-Manager: Portage-2.3.8, Repoman-2.3.2

 sci-misc/boinc/Manifest   |   3 -
 sci-misc/boinc/boinc-7.2.47.ebuild| 175 
 sci-misc/boinc/boinc-7.4.52-r6.ebuild | 180 -
 sci-misc/boinc/boinc-7.6.33-r6.ebuild | 181 --
 4 files changed, 539 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index f4897fa8f32..45520c8c7b0 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,5 +1,2 @@
-DIST boinc-7.2.47.tar.gz 45121528 SHA256 
2b06d0bbff2aae52645db124052ba1b749c38261e9b9f006fc9b5d00b35c2141 SHA512 
25d44c5db8533367bdf960f76c52bb6f1763110843be3616b822dbc2d0d1aea2837052f041c04e0336f3371449a96562740f484969b73e26c0f5b20407c74e14
 WHIRLPOOL 
9b6ad2d776dd0ab506af25df576b098988a12649da6d4deef6505c7e2284062d494293f5b9b9ddb44cce131819112b705e7658cd1473ca5889fed6f9a0b7e306
-DIST boinc-7.4.52.tar.gz 44146597 SHA256 
b1a53a845c3f9e727d2b3017b266438fd346d73b06c5b0b371e689e803ef0b02 SHA512 
09743401e204b4af1e2fb5a594a4cb024b5270b80e69a82cf67eb5e648b14b348a3f7f3b45128667e3ba4ef5f85bc3206606276a91a3497a1a3e7f775f1df006
 WHIRLPOOL 
27f29ac83a6494943c55f89bbdca8cbbbdd469ab1bf389c6772423e7eb0aaf4e4650a4a883ad45a99f97aa32fb3d598c926ae06a5f8ceae30a415e41fb3dd9e1
-DIST boinc-7.6.33.tar.gz 43569061 SHA256 
dd2bee1f0ee734961a24f4edfb9f45efa4bd6d7351f5bd5f715a822245ac4353 SHA512 
dc374b4dcfbe4cc1b75274ba651ee8bb7da1223263bd71d958939330b09757a9c8c22da43d06126cf444933c01814775d234294a5d4c00dc31a7ec27895b
 WHIRLPOOL 
15221749191abf7fe28091f2b916c896fd9101e23ff3e711fa4bd9d925f00fb58d14345c656ad0fe5988eba5f22f2671fc6fc748f39615eeba1aab08cc8619cb
 DIST boinc-7.8.1.tar.gz 52056850 SHA256 
6c9668bf2240b4d4e96ee5955b91d474011ec62414434de2d4f170e3ecb7bd6d SHA512 
32a30f19dd6b7e6b6050de9952091c2a60e27f4891542f70a449a7d7af347d9b0eecae4501bfb7465f453d1bbe321369f911be74b882384aa5216db3bf569656
 WHIRLPOOL 
3fee0f50d96e6a4ddd5f0c6b7976658e92358ae73c1169f403495a42f3758398d3ba5d868ec433519ded3f65f01a50325a6f24ae5fbfddf8f63201e246e32980
 DIST boinc.tif 288208 SHA256 
5c14c65a7531e1dc3f7f7c18ef86eb0e27726527cb835967aed8b0d003eb564a SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046
 WHIRLPOOL 
6a6cace44c8483000cda787da39006db521fd9408539f8abca2c2ab913371405b97719af0518acd2f5239451a9605d0f6d67a40fdb14cb49a03a42a7a44a4c86

diff --git a/sci-misc/boinc/boinc-7.2.47.ebuild 
b/sci-misc/boinc/boinc-7.2.47.ebuild
deleted file mode 100644
index a5b8a0a8c2d..000
--- a/sci-misc/boinc/boinc-7.2.47.ebuild
+++ /dev/null
@@ -1,175 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-WX_GTK_VER=2.8
-
-inherit autotools eutils linux-info systemd user versionator wxwidgets
-
-MY_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
-   X? ( http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
-RESTRICT="mirror"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
-
-REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-RDEPEND="
-   !sci-misc/boinc-bin
-   !app-admin/quickswitch
-   >=app-misc/ca-certificates-20080809
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   sys-libs/glibc:2.2
-   virtual/jpeg:0=
-   x11-libs/gtk+:2
-   >=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
-   )
-"
-DEPEND="${RDEPEND}
-   sys-devel/gettext
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-   X? ( virtual/imagemagick-tools[png,tiff] )
-"
-
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-09-22 Thread Michael Palimaka
commit: 42616e69fb24f7265da464dd1e7a5187a77cabce
Author: Sven Eden  gmx  net>
AuthorDate: Fri Sep 15 14:53:08 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Sep 22 13:47:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42616e69

sci-misc/boinc: Updated Manifest due to upstream changes

Closes: https://bugs.gentoo.org/631184
Closes: https://github.com/gentoo/gentoo/pull/5706
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sci-misc/boinc/Manifest | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 9e53e5657c0..f4897fa8f32 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,5 +1,5 @@
-DIST boinc-7.2.47.tar.gz 45121609 SHA256 
f48a7d8387d2809b438d844d239b39e705d5b39d1bf03f4a5be41e30e7d41137 SHA512 
0865c0462fac94d03447442a37896f61af58d8ab83331d8bede0fda8dbca0b94b583abe20938b54096be2a5553ab39467f9381e855e326ff9b289ed74bd78431
 WHIRLPOOL 
bb842e8f2c91bee882ee650cb06f21570f88bd05b38a9f57ff2b55b34f6fb546bdec698023df9fa4169250c39b46ea9d8c3ddf3e6ec6ba6e33ff636162203289
-DIST boinc-7.4.52.tar.gz 44146174 SHA256 
ac27154ad28d9d0a63ba7153ebb7bcbbd0586744c763c91deeb0325d56530192 SHA512 
32623552e091bf388e85e5f118a8cd035b677091620d2b171513299428e4b53b94f7bfd75e8d4e9f46de3a7cadd8b498434acc3b9aeffbd3667aa18d65c0bc78
 WHIRLPOOL 
e1035ba513a3adced4d5576e856fc43213cca923f3d016aa86c19784a4efcbaa7e599a2728568e14121a63aa89365b1ae00b99af588824f17371836f9494266e
-DIST boinc-7.6.33.tar.gz 43569544 SHA256 
c4b1c29b9655013e0ac61dddf47ad7f30f38c46159f02a9d9dc8ab854e99aa6d SHA512 
c1a98d1a489835abdac72b300c0c8ce82eec9a677ff891c57da4df9875a9bbdd4b45dd9d5ae6ddc2926a0e47ae281fb94ff87815b8aeab0786e15062465e2c20
 WHIRLPOOL 
118578c4058b3f19fab61982a2f2007379790f37cd077f80f7e4c6a7bed30016142c3236af6274553c19ac1a662b4022ddf6323e22c7dc697ea30ca0bccfbaeb
-DIST boinc-7.8.1.tar.gz 52054963 SHA256 
5393c54aa40f4513d1d0603a0f450036c5fe07dba134cfb31289a62d85f46933 SHA512 
208431e87cc47bfcd255049d113a0d0ad9e9648644b8611ab149d0621e5cf731086e2cbe8944950b4f5d12aefdd73353e540938e580cb98663861923cb049e31
 WHIRLPOOL 
79fc632cdae976f99d7859c91b110b659c394f396e1f1f427d83606d04674cf8399d38e38584f9ace300b874611792586348b46946a1950420586d7b9939ff3f
+DIST boinc-7.2.47.tar.gz 45121528 SHA256 
2b06d0bbff2aae52645db124052ba1b749c38261e9b9f006fc9b5d00b35c2141 SHA512 
25d44c5db8533367bdf960f76c52bb6f1763110843be3616b822dbc2d0d1aea2837052f041c04e0336f3371449a96562740f484969b73e26c0f5b20407c74e14
 WHIRLPOOL 
9b6ad2d776dd0ab506af25df576b098988a12649da6d4deef6505c7e2284062d494293f5b9b9ddb44cce131819112b705e7658cd1473ca5889fed6f9a0b7e306
+DIST boinc-7.4.52.tar.gz 44146597 SHA256 
b1a53a845c3f9e727d2b3017b266438fd346d73b06c5b0b371e689e803ef0b02 SHA512 
09743401e204b4af1e2fb5a594a4cb024b5270b80e69a82cf67eb5e648b14b348a3f7f3b45128667e3ba4ef5f85bc3206606276a91a3497a1a3e7f775f1df006
 WHIRLPOOL 
27f29ac83a6494943c55f89bbdca8cbbbdd469ab1bf389c6772423e7eb0aaf4e4650a4a883ad45a99f97aa32fb3d598c926ae06a5f8ceae30a415e41fb3dd9e1
+DIST boinc-7.6.33.tar.gz 43569061 SHA256 
dd2bee1f0ee734961a24f4edfb9f45efa4bd6d7351f5bd5f715a822245ac4353 SHA512 
dc374b4dcfbe4cc1b75274ba651ee8bb7da1223263bd71d958939330b09757a9c8c22da43d06126cf444933c01814775d234294a5d4c00dc31a7ec27895b
 WHIRLPOOL 
15221749191abf7fe28091f2b916c896fd9101e23ff3e711fa4bd9d925f00fb58d14345c656ad0fe5988eba5f22f2671fc6fc748f39615eeba1aab08cc8619cb
+DIST boinc-7.8.1.tar.gz 52056850 SHA256 
6c9668bf2240b4d4e96ee5955b91d474011ec62414434de2d4f170e3ecb7bd6d SHA512 
32a30f19dd6b7e6b6050de9952091c2a60e27f4891542f70a449a7d7af347d9b0eecae4501bfb7465f453d1bbe321369f911be74b882384aa5216db3bf569656
 WHIRLPOOL 
3fee0f50d96e6a4ddd5f0c6b7976658e92358ae73c1169f403495a42f3758398d3ba5d868ec433519ded3f65f01a50325a6f24ae5fbfddf8f63201e246e32980
 DIST boinc.tif 288208 SHA256 
5c14c65a7531e1dc3f7f7c18ef86eb0e27726527cb835967aed8b0d003eb564a SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046
 WHIRLPOOL 
6a6cace44c8483000cda787da39006db521fd9408539f8abca2c2ab913371405b97719af0518acd2f5239451a9605d0f6d67a40fdb14cb49a03a42a7a44a4c86



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-08-19 Thread Michał Górny
commit: 192b9a6ad983e4419319fd2792ed344d73a754e1
Author: Sven Eden  gmx  net>
AuthorDate: Sat Aug 19 15:46:38 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 19 19:01:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=192b9a6a

sci-misc/boinc: New ebuild for series 7.8 client version 7.8.1

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sci-misc/boinc/Manifest   |   1 +
 sci-misc/boinc/boinc-7.8.1.ebuild | 181 ++
 2 files changed, 182 insertions(+)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index e84a0ffccb5..9e53e5657c0 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,4 +1,5 @@
 DIST boinc-7.2.47.tar.gz 45121609 SHA256 
f48a7d8387d2809b438d844d239b39e705d5b39d1bf03f4a5be41e30e7d41137 SHA512 
0865c0462fac94d03447442a37896f61af58d8ab83331d8bede0fda8dbca0b94b583abe20938b54096be2a5553ab39467f9381e855e326ff9b289ed74bd78431
 WHIRLPOOL 
bb842e8f2c91bee882ee650cb06f21570f88bd05b38a9f57ff2b55b34f6fb546bdec698023df9fa4169250c39b46ea9d8c3ddf3e6ec6ba6e33ff636162203289
 DIST boinc-7.4.52.tar.gz 44146174 SHA256 
ac27154ad28d9d0a63ba7153ebb7bcbbd0586744c763c91deeb0325d56530192 SHA512 
32623552e091bf388e85e5f118a8cd035b677091620d2b171513299428e4b53b94f7bfd75e8d4e9f46de3a7cadd8b498434acc3b9aeffbd3667aa18d65c0bc78
 WHIRLPOOL 
e1035ba513a3adced4d5576e856fc43213cca923f3d016aa86c19784a4efcbaa7e599a2728568e14121a63aa89365b1ae00b99af588824f17371836f9494266e
 DIST boinc-7.6.33.tar.gz 43569544 SHA256 
c4b1c29b9655013e0ac61dddf47ad7f30f38c46159f02a9d9dc8ab854e99aa6d SHA512 
c1a98d1a489835abdac72b300c0c8ce82eec9a677ff891c57da4df9875a9bbdd4b45dd9d5ae6ddc2926a0e47ae281fb94ff87815b8aeab0786e15062465e2c20
 WHIRLPOOL 
118578c4058b3f19fab61982a2f2007379790f37cd077f80f7e4c6a7bed30016142c3236af6274553c19ac1a662b4022ddf6323e22c7dc697ea30ca0bccfbaeb
+DIST boinc-7.8.1.tar.gz 52054963 SHA256 
5393c54aa40f4513d1d0603a0f450036c5fe07dba134cfb31289a62d85f46933 SHA512 
208431e87cc47bfcd255049d113a0d0ad9e9648644b8611ab149d0621e5cf731086e2cbe8944950b4f5d12aefdd73353e540938e580cb98663861923cb049e31
 WHIRLPOOL 
79fc632cdae976f99d7859c91b110b659c394f396e1f1f427d83606d04674cf8399d38e38584f9ace300b874611792586348b46946a1950420586d7b9939ff3f
 DIST boinc.tif 288208 SHA256 
5c14c65a7531e1dc3f7f7c18ef86eb0e27726527cb835967aed8b0d003eb564a SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046
 WHIRLPOOL 
6a6cace44c8483000cda787da39006db521fd9408539f8abca2c2ab913371405b97719af0518acd2f5239451a9605d0f6d67a40fdb14cb49a03a42a7a44a4c86

diff --git a/sci-misc/boinc/boinc-7.8.1.ebuild 
b/sci-misc/boinc/boinc-7.8.1.ebuild
new file mode 100644
index 000..59a13dfeba9
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.8.1.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+WX_GTK_VER=3.0
+
+inherit autotools eutils linux-info systemd user versionator wxwidgets
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
+   X? ( http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
+RESTRICT="mirror"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
+
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+RDEPEND="
+   !sci-misc/boinc-bin
+   !app-admin/quickswitch
+   >=app-misc/ca-certificates-20080809
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   sys-libs/glibc:2.2
+   virtual/jpeg:0=
+   x11-libs/gtk+:2
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+   X? ( virtual/imagemagick-tools[png,tiff] )
+"
+
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/fix_webview.patch
+)
+
+S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/, sci-misc/boinc/files/

2017-08-19 Thread Michał Górny
commit: 42e99588ad3b1c7822cf9f150d4af33eb9c73517
Author: Sven Eden  gmx  net>
AuthorDate: Sat Aug 19 15:39:18 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 19 19:01:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42e99588

sci-misc/boinc: Fix typos in init script

This commit fixes Gentoo Bug #626958
  "sci-misc/boinc-7.6.33-r5 typos in /etc/init.d/boinc"

In five places the eerror function was spelled "eeror", which is
obviously wrong. This commit fixes that.

As the init script isn't correctly working in all error cases without
these fixes, the ebuilds got revision bumped to forece the
installation of the fixed version.

Bug: https://bugs.gentoo.org/show_bug.cgi?id=626958
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../boinc/{boinc-7.2.44-r5.ebuild => boinc-7.2.44-r6.ebuild}   |  0
 .../boinc/{boinc-7.4.52-r5.ebuild => boinc-7.4.52-r6.ebuild}   |  0
 .../boinc/{boinc-7.6.33-r5.ebuild => boinc-7.6.33-r6.ebuild}   |  0
 sci-misc/boinc/files/boinc.init.in | 10 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.44-r5.ebuild 
b/sci-misc/boinc/boinc-7.2.44-r6.ebuild
similarity index 100%
rename from sci-misc/boinc/boinc-7.2.44-r5.ebuild
rename to sci-misc/boinc/boinc-7.2.44-r6.ebuild

diff --git a/sci-misc/boinc/boinc-7.4.52-r5.ebuild 
b/sci-misc/boinc/boinc-7.4.52-r6.ebuild
similarity index 100%
rename from sci-misc/boinc/boinc-7.4.52-r5.ebuild
rename to sci-misc/boinc/boinc-7.4.52-r6.ebuild

diff --git a/sci-misc/boinc/boinc-7.6.33-r5.ebuild 
b/sci-misc/boinc/boinc-7.6.33-r6.ebuild
similarity index 100%
rename from sci-misc/boinc/boinc-7.6.33-r5.ebuild
rename to sci-misc/boinc/boinc-7.6.33-r6.ebuild

diff --git a/sci-misc/boinc/files/boinc.init.in 
b/sci-misc/boinc/files/boinc.init.in
index a5ea8dd13bb..b46a06e3d38 100644
--- a/sci-misc/boinc/files/boinc.init.in
+++ b/sci-misc/boinc/files/boinc.init.in
@@ -15,13 +15,13 @@ create_work_directory() {
if [ ! -d "${RUNTIMEDIR}" ]; then
einfo "Directory ${RUNTIMEDIR} does not exist, creating now."
if ! mkdir -p "${RUNTIMEDIR}"; then
-   eeror "Directory ${RUNTIMEDIR} could not be created!"
+   eerror "Directory ${RUNTIMEDIR} could not be created!"
return 1
fi
 
# ensure proper ownership
if ! chown "${USER}:${GROUP}" "${RUNTIMEDIR}"; then
-   eeror "Changing ownership of '${RUNTIMEDIR}' to 
'${USER}:${GROUP}' failed!"
+   eerror "Changing ownership of '${RUNTIMEDIR}' to 
'${USER}:${GROUP}' failed!"
return 1
fi
fi
@@ -33,7 +33,7 @@ create_work_directory() {
fi
 
if ! ln -s "${sslcrt}" "${RUNTIMEDIR}"/ca-bundle.crt; then
-   eeror "Symlinking '${sslcrt}' failed!"
+   eerror "Symlinking '${sslcrt}' failed!"
return 1
fi
fi
@@ -58,14 +58,14 @@ fix_lib_symlinks() {
 
# Remove broken symlink
if ! rm -f "${tgt}"; then
-   eeror "Removing '${tgt}' failed!"
+   eerror "Removing '${tgt}' failed!"
return 1
fi
fi
 
# symlink the correct path
if ! ln -snf "${src}" "${tgt}"; then
-   eeror "Symlinking '${src}' to '${tgt}' failed!"
+   eerror "Symlinking '${src}' to '${tgt}' failed!"
return 1
fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-08-19 Thread Michał Górny
commit: dabdb0a10b0b87760e592aeb18fea4c82c2fe95b
Author: Sven Eden  gmx  net>
AuthorDate: Sat Aug 19 15:44:34 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 19 19:01:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dabdb0a1

sci-misc/boinc: Version bump of series 7.2 client to version 7.2.47

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sci-misc/boinc/Manifest| 2 +-
 sci-misc/boinc/{boinc-7.2.44-r6.ebuild => boinc-7.2.47.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 93aca18a340..e84a0ffccb5 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,4 +1,4 @@
-DIST boinc-7.2.44.tar.gz 46626134 SHA256 
bae214f238b8b3d1826a44e3a9e5d91cbad165e7df6daf8a7f208f36c51c5425 SHA512 
60f58eecbe1f8d1a272b338d0c2b2fcbfb95538c448cbfdab25d3e860129b519a2c3b2608a909e285bdf4378c23a71107a6d3c2d3aa519ec906480d81be19ca9
 WHIRLPOOL 
f071fce088769ca35bacc9466e3a863bc619d025e14aa26b96a5a736027e4438a2d660df804d95cc635c4bd83e636c0c79e2712f2953bbc2fd905091ec1a1589
+DIST boinc-7.2.47.tar.gz 45121609 SHA256 
f48a7d8387d2809b438d844d239b39e705d5b39d1bf03f4a5be41e30e7d41137 SHA512 
0865c0462fac94d03447442a37896f61af58d8ab83331d8bede0fda8dbca0b94b583abe20938b54096be2a5553ab39467f9381e855e326ff9b289ed74bd78431
 WHIRLPOOL 
bb842e8f2c91bee882ee650cb06f21570f88bd05b38a9f57ff2b55b34f6fb546bdec698023df9fa4169250c39b46ea9d8c3ddf3e6ec6ba6e33ff636162203289
 DIST boinc-7.4.52.tar.gz 44146174 SHA256 
ac27154ad28d9d0a63ba7153ebb7bcbbd0586744c763c91deeb0325d56530192 SHA512 
32623552e091bf388e85e5f118a8cd035b677091620d2b171513299428e4b53b94f7bfd75e8d4e9f46de3a7cadd8b498434acc3b9aeffbd3667aa18d65c0bc78
 WHIRLPOOL 
e1035ba513a3adced4d5576e856fc43213cca923f3d016aa86c19784a4efcbaa7e599a2728568e14121a63aa89365b1ae00b99af588824f17371836f9494266e
 DIST boinc-7.6.33.tar.gz 43569544 SHA256 
c4b1c29b9655013e0ac61dddf47ad7f30f38c46159f02a9d9dc8ab854e99aa6d SHA512 
c1a98d1a489835abdac72b300c0c8ce82eec9a677ff891c57da4df9875a9bbdd4b45dd9d5ae6ddc2926a0e47ae281fb94ff87815b8aeab0786e15062465e2c20
 WHIRLPOOL 
118578c4058b3f19fab61982a2f2007379790f37cd077f80f7e4c6a7bed30016142c3236af6274553c19ac1a662b4022ddf6323e22c7dc697ea30ca0bccfbaeb
 DIST boinc.tif 288208 SHA256 
5c14c65a7531e1dc3f7f7c18ef86eb0e27726527cb835967aed8b0d003eb564a SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046
 WHIRLPOOL 
6a6cace44c8483000cda787da39006db521fd9408539f8abca2c2ab913371405b97719af0518acd2f5239451a9605d0f6d67a40fdb14cb49a03a42a7a44a4c86

diff --git a/sci-misc/boinc/boinc-7.2.44-r6.ebuild 
b/sci-misc/boinc/boinc-7.2.47.ebuild
similarity index 100%
rename from sci-misc/boinc/boinc-7.2.44-r6.ebuild
rename to sci-misc/boinc/boinc-7.2.47.ebuild



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2017-07-05 Thread Michał Górny
commit: 2e1256f586edfdfae022945f278e3d28ac997ecf
Author: Sven Eden  gmx  net>
AuthorDate: Tue Jun  6 17:20:12 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  5 09:08:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e1256f5

sci-misc/boinc: Fix bashisms in init script and enhance OpenCL support

This commit fixes the following issues:

 - https://bugs.gentoo.org/show_bug.cgi?id=620818
   The previous init script consisted of many bashisms that have been removed.

 - BOINC supports OpenCL unconditionally. This commit adds an informational
   text about its support to the ebuilds.

 - For OpenCL to work, the currently used libOpenCL.so must be symlinked into
   the BOINC working directory, just like libcudart.so. The init script has been
   updated to take care of symlinking libOpenCL.so.

Closes: https://github.com/gentoo/gentoo/pull/4887
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 ...inc-7.2.44-r4.ebuild => boinc-7.2.44-r5.ebuild} |  11 +-
 ...inc-7.4.52-r4.ebuild => boinc-7.4.52-r5.ebuild} |  11 +-
 ...inc-7.6.33-r4.ebuild => boinc-7.6.33-r5.ebuild} |  12 +-
 sci-misc/boinc/files/{boinc.init => boinc.init.in} | 126 -
 sci-misc/boinc/metadata.xml|   2 +-
 5 files changed, 107 insertions(+), 55 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.44-r4.ebuild 
b/sci-misc/boinc/boinc-7.2.44-r5.ebuild
similarity index 92%
rename from sci-misc/boinc/boinc-7.2.44-r4.ebuild
rename to sci-misc/boinc/boinc-7.2.44-r5.ebuild
index 58ea2259b58..a5b8a0a8c2d 100644
--- a/sci-misc/boinc/boinc-7.2.44-r4.ebuild
+++ b/sci-misc/boinc/boinc-7.2.44-r5.ebuild
@@ -122,7 +122,8 @@ src_install() {
# cleanup cruft
rm -rf "${ED%/}"/etc || die "rm failed"
 
-   newinitd "${FILESDIR}"/${PN}.init ${PN}
+   sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.init.in > 
${PN}.init || die
+   newinitd ${PN}.init ${PN}
newconfd "${FILESDIR}"/${PN}.conf ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
 }
@@ -163,4 +164,12 @@ pkg_postinst() {
elog "Run as root:"
elog "gpasswd -a boinc video"
fi
+   # Add information about BOINC supporting OpenCL
+   elog "BOINC supports OpenCL. To use it you have to eselect"
+   if use cuda; then
+   elog "nvidia as the OpenCL implementation, as you are using 
CUDA."
+   else
+   elog "the correct OpenCL implementation for your graphic card."
+   fi
+   elog
 }

diff --git a/sci-misc/boinc/boinc-7.4.52-r4.ebuild 
b/sci-misc/boinc/boinc-7.4.52-r5.ebuild
similarity index 92%
rename from sci-misc/boinc/boinc-7.4.52-r4.ebuild
rename to sci-misc/boinc/boinc-7.4.52-r5.ebuild
index eacfd2ea862..55454c00e45 100644
--- a/sci-misc/boinc/boinc-7.4.52-r4.ebuild
+++ b/sci-misc/boinc/boinc-7.4.52-r5.ebuild
@@ -127,7 +127,8 @@ src_install() {
# cleanup cruft
rm -rf "${ED%/}"/etc || die "rm failed"
 
-   newinitd "${FILESDIR}"/${PN}.init ${PN}
+   sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.init.in > 
${PN}.init || die
+   newinitd ${PN}.init ${PN}
newconfd "${FILESDIR}"/${PN}.conf ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
 }
@@ -168,4 +169,12 @@ pkg_postinst() {
elog "Run as root:"
elog "gpasswd -a boinc video"
fi
+   # Add information about BOINC supporting OpenCL
+   elog "BOINC supports OpenCL. To use it you have to eselect"
+   if use cuda; then
+   elog "nvidia as the OpenCL implementation, as you are using 
CUDA."
+   else
+   elog "the correct OpenCL implementation for your graphic card."
+   fi
+   elog
 }

diff --git a/sci-misc/boinc/boinc-7.6.33-r4.ebuild 
b/sci-misc/boinc/boinc-7.6.33-r5.ebuild
similarity index 92%
rename from sci-misc/boinc/boinc-7.6.33-r4.ebuild
rename to sci-misc/boinc/boinc-7.6.33-r5.ebuild
index eacfd2ea862..59a13dfeba9 100644
--- a/sci-misc/boinc/boinc-7.6.33-r4.ebuild
+++ b/sci-misc/boinc/boinc-7.6.33-r5.ebuild
@@ -127,7 +127,8 @@ src_install() {
# cleanup cruft
rm -rf "${ED%/}"/etc || die "rm failed"
 
-   newinitd "${FILESDIR}"/${PN}.init ${PN}
+   sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.init.in > 
${PN}.init || die
+   newinitd ${PN}.init ${PN}
newconfd "${FILESDIR}"/${PN}.conf ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
 }
@@ -167,5 +168,14 @@ pkg_postinst() {
elog "To be able to use CUDA you should add boinc user to video 
group."
elog "Run as root:"
elog "gpasswd -a boinc video"
+   elog
+   fi
+   # Add information about BOINC supporting OpenCL
+   elog "BOINC supports OpenCL. To use it you have to eselect"
+   if use cuda; then
+   elog "nvidia as the OpenCL implementation, as you are using 
CUDA."
+   else
+   elog "the correct 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-06-09 Thread Anthony G. Basile
commit: f01f05b499f89adba126c21016d9a43f712b1885
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Jun  9 12:00:14 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Jun  9 15:55:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f01f05b4

sci-misc/boinc: Drop curl_ssl_polarssl which was removed as part of bug #618356

Package-Manager: Portage-2.3.5, Repoman-2.3.2

Signed-off-by: Anthony G. Basile  gentoo.org>

 sci-misc/boinc/boinc-7.2.44-r4.ebuild | 2 +-
 sci-misc/boinc/boinc-7.4.52-r4.ebuild | 2 +-
 sci-misc/boinc/boinc-7.6.33-r4.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.44-r4.ebuild 
b/sci-misc/boinc/boinc-7.2.44-r4.ebuild
index 7a190292049..58ea2259b58 100644
--- a/sci-misc/boinc/boinc-7.2.44-r4.ebuild
+++ b/sci-misc/boinc/boinc-7.2.44-r4.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
!sci-misc/boinc-bin
!app-admin/quickswitch
>=app-misc/ca-certificates-20080809
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
sys-apps/util-linux
sys-libs/zlib
cuda? (

diff --git a/sci-misc/boinc/boinc-7.4.52-r4.ebuild 
b/sci-misc/boinc/boinc-7.4.52-r4.ebuild
index d33072c9535..eacfd2ea862 100644
--- a/sci-misc/boinc/boinc-7.4.52-r4.ebuild
+++ b/sci-misc/boinc/boinc-7.4.52-r4.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
!sci-misc/boinc-bin
!app-admin/quickswitch
>=app-misc/ca-certificates-20080809
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
sys-apps/util-linux
sys-libs/zlib
cuda? (

diff --git a/sci-misc/boinc/boinc-7.6.33-r4.ebuild 
b/sci-misc/boinc/boinc-7.6.33-r4.ebuild
index d33072c9535..eacfd2ea862 100644
--- a/sci-misc/boinc/boinc-7.6.33-r4.ebuild
+++ b/sci-misc/boinc/boinc-7.6.33-r4.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
!sci-misc/boinc-bin
!app-admin/quickswitch
>=app-misc/ca-certificates-20080809
-   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
sys-apps/util-linux
sys-libs/zlib
cuda? (



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-06-04 Thread Michał Górny
commit: 74027c867f3d93a6355ad0e6878b30fc26176956
Author: Sven Eden  gmx  net>
AuthorDate: Tue May 23 14:04:27 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun  4 16:59:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74027c86

sci-misc/boinc: Support CURL_SSL="gnutls"

Enabling gnutls USE flag on curl broke boinc ability to
connect to WorldCommunityGrid (WCG) servers.

This situation seems to have changed, as I have no problem
connecting to WCG using CURL_SSL="gnutls" any more.

Bug: https://bugs.gentoo.org/619032
Package-Manager: portage-2.3.6

 sci-misc/boinc/boinc-7.2.44-r3.ebuild | 6 +++---
 sci-misc/boinc/boinc-7.4.52-r3.ebuild | 6 +++---
 sci-misc/boinc/boinc-7.6.33-r3.ebuild | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.44-r3.ebuild 
b/sci-misc/boinc/boinc-7.2.44-r3.ebuild
index 1b17b96b1a8..7a190292049 100644
--- a/sci-misc/boinc/boinc-7.2.44-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.2.44-r3.ebuild
@@ -18,9 +18,9 @@ RESTRICT="mirror"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
 
-REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) "
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
 
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
@@ -28,7 +28,7 @@ RDEPEND="
!sci-misc/boinc-bin
!app-admin/quickswitch
>=app-misc/ca-certificates-20080809
-   
net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
sys-apps/util-linux
sys-libs/zlib
cuda? (

diff --git a/sci-misc/boinc/boinc-7.4.52-r3.ebuild 
b/sci-misc/boinc/boinc-7.4.52-r3.ebuild
index 440eb1d4e12..d33072c9535 100644
--- a/sci-misc/boinc/boinc-7.4.52-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.4.52-r3.ebuild
@@ -18,9 +18,9 @@ RESTRICT="mirror"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
 
-REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) "
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
 
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
@@ -28,7 +28,7 @@ RDEPEND="
!sci-misc/boinc-bin
!app-admin/quickswitch
>=app-misc/ca-certificates-20080809
-   
net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
sys-apps/util-linux
sys-libs/zlib
cuda? (

diff --git a/sci-misc/boinc/boinc-7.6.33-r3.ebuild 
b/sci-misc/boinc/boinc-7.6.33-r3.ebuild
index 440eb1d4e12..d33072c9535 100644
--- a/sci-misc/boinc/boinc-7.6.33-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.6.33-r3.ebuild
@@ -18,9 +18,9 @@ RESTRICT="mirror"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs"
+IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
 
-REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) "
+REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
 
 # libcurl must not be using an ssl backend boinc does not support.
 # If the libcurl ssl backend changes, boinc should be recompiled.
@@ -28,7 +28,7 @@ RDEPEND="
!sci-misc/boinc-bin
!app-admin/quickswitch
>=app-misc/ca-certificates-20080809
-   
net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
+   
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
sys-apps/util-linux
sys-libs/zlib
cuda? (



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2017-06-04 Thread Michał Górny
commit: 2563ac2933be85a58e7bc953e1f80ac0b04f173b
Author: Sven Eden  gmx  net>
AuthorDate: Wed May 24 07:29:35 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun  4 17:02:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2563ac29

sci-misc/boinc: Fix suspend/resume commands in the init script.

Both suspend and resume do not work any more, at least with boinc-7.6.33.
The reason is, that fetching the project URLs require password authentication.

This commit adds the required steps to no longer get an authentication error
when trying to suspend/resume boinc.

Closes: https://github.com/gentoo/gentoo/pull/4732
Package-Manager: portage-2.3.6

 ...boinc-7.2.44-r3.ebuild => boinc-7.2.44-r4.ebuild} |  0
 ...boinc-7.4.52-r3.ebuild => boinc-7.4.52-r4.ebuild} |  0
 ...boinc-7.6.33-r3.ebuild => boinc-7.6.33-r4.ebuild} |  0
 sci-misc/boinc/files/boinc.init  | 20 
 4 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.44-r3.ebuild 
b/sci-misc/boinc/boinc-7.2.44-r4.ebuild
similarity index 100%
rename from sci-misc/boinc/boinc-7.2.44-r3.ebuild
rename to sci-misc/boinc/boinc-7.2.44-r4.ebuild

diff --git a/sci-misc/boinc/boinc-7.4.52-r3.ebuild 
b/sci-misc/boinc/boinc-7.4.52-r4.ebuild
similarity index 100%
rename from sci-misc/boinc/boinc-7.4.52-r3.ebuild
rename to sci-misc/boinc/boinc-7.4.52-r4.ebuild

diff --git a/sci-misc/boinc/boinc-7.6.33-r3.ebuild 
b/sci-misc/boinc/boinc-7.6.33-r4.ebuild
similarity index 100%
rename from sci-misc/boinc/boinc-7.6.33-r3.ebuild
rename to sci-misc/boinc/boinc-7.6.33-r4.ebuild

diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index ceeeac87145..23450a6857c 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -184,15 +184,17 @@ resume() {
env_check || return 1
 
local password=""
-   local master_urls=( \
-   $("${BOINCCMD}" --get_project_status | \
- sed -n 's/\s*master URL: //p') \
-   )
 
if need_passwd_arg; then
password="--passwd \"$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg")\""
fi
 
+   local master_urls=( \
+   $(cd "${RUNTIMEDIR}" ; \
+ "${BOINCCMD}" ${password} --get_project_status | \
+ sed -n 's/\s*master URL: //p') \
+   )
+
for url in "${master_urls[@]}"; do
ebegin "Resuming $url"
start-stop-daemon --user "${USER}:${GROUP}" --quiet \
@@ -207,15 +209,17 @@ suspend() {
env_check || return 1
 
local password=""
-   local master_urls=( \
-   $("${BOINCCMD}" --get_project_status | \
- sed -n 's/\s*master URL: //p') \
-   )
 
if need_passwd_arg; then
password="--passwd \"$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg")\""
fi
 
+   local master_urls=( \
+   $(cd "${RUNTIMEDIR}" ; \
+ "${BOINCCMD}" ${password} --get_project_status | \
+ sed -n 's/\s*master URL: //p') \
+   )
+
for url in "${master_urls[@]}"; do
ebegin "Suspending $url"
start-stop-daemon --user "${USER}:${GROUP}" --quiet \



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-02-17 Thread Michael Palimaka
commit: 8ae16089ff4fd0fc661962a42d78633ecfa64361
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Feb 17 11:27:55 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Feb 17 11:28:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae16089

sci-misc/boinc: reorder maintainers to match descriptions

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/boinc/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/boinc/metadata.xml b/sci-misc/boinc/metadata.xml
index 7b0596fd8b..c65c76f57f 100644
--- a/sci-misc/boinc/metadata.xml
+++ b/sci-misc/boinc/metadata.xml
@@ -1,15 +1,15 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-s...@gentoo.org
-Gentoo Science Project
-  
   
 yamakuz...@gmx.net
 Sven Eden
 Proxied maintainer; set to assignee in all bugs
   
+  
+s...@gentoo.org
+Gentoo Science Project
+  
 
   BOINC (Berkeley Open Infrastructure for Network Computing) is a software
   platform for distributed computing using volunteered computer resources.



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/

2017-01-29 Thread David Seifert
commit: 6c8e0dbe77c59d92a08b26f10c9177e55740348f
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Sun Jan 29 09:18:12 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 29 20:09:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c8e0dbe

sci-misc/boinc: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/3709

 sci-misc/boinc/files/boinc-7.2.0-fix_subdirs.patch | 69 --
 1 file changed, 69 deletions(-)

diff --git a/sci-misc/boinc/files/boinc-7.2.0-fix_subdirs.patch 
b/sci-misc/boinc/files/boinc-7.2.0-fix_subdirs.patch
deleted file mode 100644
index be0a02c..
--- a/sci-misc/boinc/files/boinc-7.2.0-fix_subdirs.patch
+++ /dev/null
@@ -1,69 +0,0 @@
- Makefile.am  | 14 +++---
- configure.ac |  5 -
- 2 files changed, 7 insertions(+), 12 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 6322db1..45d8b67 100644
 a/Makefile.am
-+++ b/Makefile.am
-@@ -10,13 +10,13 @@ ACLOCAL_AMFLAGS = -I m4
- 
- if ENABLE_LIBRARIES
- API_SUBDIRS = api lib
--if ENABLE_SERVER
--API_SUBDIRS += zip
--endif
-+#if ENABLE_SERVER
-+#API_SUBDIRS += zip
-+#endif
- endif
- 
- if ENABLE_SERVER
--   SERVER_SUBDIRS = db test py sched apps tools vda html
-+   SERVER_SUBDIRS = db test py sched apps tools vda
- ## once contained samples/example_app which breaks out-of-source-tree builds
- endif
- 
-@@ -26,9 +26,9 @@ endif
- 
- if ENABLE_MANAGER
-CLIENTGUI_SUBDIRS = clientgui locale
--if BUILD_X11_SCREENSAVER
--   CLIENTGUI_SUBDIRS += clientscr
--endif
-+#if BUILD_X11_SCREENSAVER
-+#   CLIENTGUI_SUBDIRS += clientscr
-+#endif
- endif
- 
- # ORDER MATTERS below.  One must build dependencies FIRST, then things
-diff --git a/configure.ac b/configure.ac
-index 2bef437..5a9e104 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -955,7 +955,6 @@ AC_CONFIG_FILES([
-  apps/Makefile
-  clientgui/Makefile
-  clientgui/res/Makefile
-- clientscr/Makefile
-  client/Makefile
-  client/win/boinc_path_config.py:py/boinc_path_config.py.in
-  client/scripts/Makefile
-@@ -963,7 +962,6 @@ AC_CONFIG_FILES([
-  db/Makefile
-  doc/Makefile
-  doc/manpages/Makefile
-- html/Makefile
-  lib/Makefile
-  locale/Makefile
-  Makefile
-@@ -993,9 +991,6 @@ AC_CONFIG_FILES([
-  tools/boinc_path_config.py:py/boinc_path_config.py.in
-  tools/Makefile
-  vda/Makefile
-- zip/Makefile
-- zip/zip/Makefile
-- zip/unzip/Makefile
-  m4/Makefile
-   ])
- 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-01-04 Thread David Seifert
commit: caf505ba0e3ee48cf2117042844c715873417863
Author: Sven Eden  gmx  net>
AuthorDate: Thu Dec  8 09:24:53 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan  4 13:42:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf505ba

sci-misc/boinc: Rename desktop file to boincmgr.desktop

Gentoo-Bug: 599910

This is a workaround to the following issue:
The desktop entry filename and the executable filename are different.
Binary:   boincmgr
Desktop file: boincmgr-boinc.desktop
This causes GNOME to use an ugly icon in the launcher. It is also not
possible to add the BOINC icon to the favorites.
Renaming the desktop file to boincmgr.desktop fixes both issues,
although this is only a hotfix. The GNOME shell should be perfectly
capable of using any well formed desktop file regardless of its name.

Package-Manager: portage-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/3056

 sci-misc/boinc/{boinc-7.2.44-r1.ebuild => boinc-7.2.44-r2.ebuild} | 4 
 sci-misc/boinc/{boinc-7.4.52-r1.ebuild => boinc-7.4.52-r2.ebuild} | 4 
 sci-misc/boinc/{boinc-7.6.33-r1.ebuild => boinc-7.6.33-r2.ebuild} | 4 
 3 files changed, 12 insertions(+)

diff --git a/sci-misc/boinc/boinc-7.2.44-r1.ebuild 
b/sci-misc/boinc/boinc-7.2.44-r2.ebuild
similarity index 96%
rename from sci-misc/boinc/boinc-7.2.44-r1.ebuild
rename to sci-misc/boinc/boinc-7.2.44-r2.ebuild
index bc0952d..130e512e 100644
--- a/sci-misc/boinc/boinc-7.2.44-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.2.44-r2.ebuild
@@ -118,6 +118,10 @@ src_install() {
newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
done
make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
+
+   # Rename the desktop file to boincmgr.desktop to (hot)fix bug 
599910
+   mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop 
|| \
+   die "Failed to rename desktop file"
fi
 
# cleanup cruft

diff --git a/sci-misc/boinc/boinc-7.4.52-r1.ebuild 
b/sci-misc/boinc/boinc-7.4.52-r2.ebuild
similarity index 96%
rename from sci-misc/boinc/boinc-7.4.52-r1.ebuild
rename to sci-misc/boinc/boinc-7.4.52-r2.ebuild
index 0a508d3..cf02d0e 100644
--- a/sci-misc/boinc/boinc-7.4.52-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.4.52-r2.ebuild
@@ -123,6 +123,10 @@ src_install() {
newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
done
make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
+
+   # Rename the desktop file to boincmgr.desktop to (hot)fix bug 
599910
+   mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop 
|| \
+   die "Failed to rename desktop file"
fi
 
# cleanup cruft

diff --git a/sci-misc/boinc/boinc-7.6.33-r1.ebuild 
b/sci-misc/boinc/boinc-7.6.33-r2.ebuild
similarity index 96%
rename from sci-misc/boinc/boinc-7.6.33-r1.ebuild
rename to sci-misc/boinc/boinc-7.6.33-r2.ebuild
index 0a508d3..cf02d0e 100644
--- a/sci-misc/boinc/boinc-7.6.33-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.6.33-r2.ebuild
@@ -123,6 +123,10 @@ src_install() {
newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
done
make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
+
+   # Rename the desktop file to boincmgr.desktop to (hot)fix bug 
599910
+   mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop 
|| \
+   die "Failed to rename desktop file"
fi
 
# cleanup cruft



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/

2017-01-04 Thread David Seifert
commit: e4bdce024162b77ee4947674c2e4399fc4cf23f7
Author: Sven Eden  gmx  net>
AuthorDate: Thu Dec  8 09:21:44 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan  4 13:41:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4bdce02

sci-misc/boinc: Update init script to fix bug 584386 and 603522

Gentoo-Bug: 584386

The boinc init script starts boinc_client in daemon mode, and relies on
boinccmd to send a quit signal to stop the service.

This leads to the following two problems:
1) It is not possible to generate a pid file, as the pid read from the
   started boinc_client is invalid after it forked to background.
2) The stop command immediately returns, but boinc_client can still be
   active for a long time, over a minute in fact, while it is stopping
   running projects and cleaning up its work data. This is especially
   problematic when boinc is stopped while shutting down the machine.

Gentoo-Bug: 603522

The init script for boinc calls "chown -R" on "${RUNTIMEDIR}".
This leads to the security issue, that the "boinc" user can create a
hardlink within ${RUNTIMEDIR} pointing to a file that he does not
own, and the next time the daemon is started, the init script (as
root) will give ownership of the *target* of the hardlink to the
boinc user.

This commit removes the usage of "chown -R" from start_pre(), and
adds a single call to "chown" to create_work_directory() if, and only
if the working directory has been newly created.

Other fixes and changes:

Another problem found is the function cuda_check(), which assumes the cuda
libraries to be installed in /opt/cuda/lib, leading to an invalid symlink
for libcudart.so on 64 bit machines where the library is installed in
/opt/cuda/lib64.

This commit changes the following behaviour, besides some long overdue
cleanup:
1) start() no longer uses the --daemon option of the boinc_client, but
   the --background option of the start-stop-daemon command. Further it
   creates a pid file in the path set by the new config variable
   BOINC_PIDFILE, that has been added to boinc.conf.
2) stop() no longer uses boinccmd to send a quit signal, but uses the
   --stop and --pidfile options of the start-stop-daemon command. The
   waiting time should be large enough to successfully await the end of
   the exiting task of the boinc_client program.
3) cuda_check() now checks the validity of the libcudart.so symlink and
   removes it if it is invalid. Further it looks for a present
   libcudart.so library in /opt/cuda/lib* and picks the newest found to
   create a new symlink if none is present.
4) The suspend() and resume() functions have been updated to use the
   start-stop-daemon command, so both the user:group and a possibly
   required password are now used to circumvent authentication errors.

Package-Manager: portage-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/3056

 sci-misc/boinc/files/boinc.conf |   6 +++
 sci-misc/boinc/files/boinc.init | 106 +++-
 2 files changed, 89 insertions(+), 23 deletions(-)

diff --git a/sci-misc/boinc/files/boinc.conf b/sci-misc/boinc/files/boinc.conf
index 0fef6ae..22fcca0 100644
--- a/sci-misc/boinc/files/boinc.conf
+++ b/sci-misc/boinc/files/boinc.conf
@@ -10,6 +10,12 @@ RUNTIMEDIR="/var/lib/boinc"
 # Location of the boinc command line binary
 BOINCBIN="/usr/bin/boinc_client"
 
+# Location of the boinc_client pid file
+BOINC_PIDFILE="/var/run/boinc_client.pid"
+
+# Location of the boinccmd command
+BOINCCMD="/usr/bin/boinccmd"
+
 # Allow remote gui RPC yes or no
 ALLOW_REMOTE_RPC="no"
 

diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index 07b8b80..4067105 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -5,7 +5,6 @@
 
 extra_started_commands="attach resume suspend"
 
-
 depend() {
# we can use dns and net, but we can also in most cases live without 
them
use dns net ntp-client ntpd
@@ -13,15 +12,19 @@ depend() {
 
 
 create_work_directory() {
-   if [ ! -d "${RUNTIMEDIR}" ]; then
+   if [[ ! -d "${RUNTIMEDIR}" ]]; then
einfo "Directory ${RUNTIMEDIR} does not exist, creating now."
mkdir -p "${RUNTIMEDIR}"
-   if [ ! -d "${RUNTIMEDIR}" ]; then
+   if [[ ! -d "${RUNTIMEDIR}" ]]; then
eeror "Directory ${RUNTIMEDIR} could not be created!"
return 1
fi
+
+   # ensure proper ownership
+   chown "${USER}:${GROUP}" "${RUNTIMEDIR}"
fi
-   if [ ! -e "${RUNTIMEDIR}"/ca-bundle.crt ] ; then
+
+   if [[ ! -e "${RUNTIMEDIR}"/ca-bundle.crt ]]; then
ln -s /etc/ssl/certs/ca-certificates.crt 
"${RUNTIMEDIR}"/ca-bundle.crt
fi
 
@@ -30,9 +33,20 @@ create_work_directory() {
 
 
 cuda_check() {
-   if [ -f /opt/cuda/lib/libcudart.so ]; then
-   # symlink wont harm :]
-  

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2017-01-04 Thread David Seifert
commit: 8eee6e2647fca439b9402910d59792f2cc2bfdee
Author: Sven Eden  gmx  net>
AuthorDate: Thu Dec  8 09:23:18 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan  4 13:41:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eee6e26

sci-misc/boinc: Remove obsolete ebuilds, everybody should update.

Package-Manager: portage-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/3056

 sci-misc/boinc/boinc-7.2.44.ebuild | 156 ---
 sci-misc/boinc/boinc-7.4.52.ebuild | 161 -
 sci-misc/boinc/boinc-7.6.33.ebuild | 161 -
 3 files changed, 478 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.44.ebuild 
b/sci-misc/boinc/boinc-7.2.44.ebuild
deleted file mode 100644
index 7503d03..
--- a/sci-misc/boinc/boinc-7.2.44.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-WX_GTK_VER=2.8
-
-inherit autotools eutils linux-info systemd user versionator wxwidgets
-
-MY_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs"
-
-REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) "
-
-# libcurl must not be using an ssl backend boinc does not support.
-# If the libcurl ssl backend changes, boinc should be recompiled.
-RDEPEND="
-   !sci-misc/boinc-bin
-   !app-admin/quickswitch
-   >=app-misc/ca-certificates-20080809
-   
net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   sys-libs/glibc:2.2
-   virtual/jpeg:0=
-   x11-libs/gtk+:2
-   >=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
-   )
-"
-DEPEND="${RDEPEND}
-   sys-devel/gettext
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-"
-
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-
-pkg_setup() {
-   # Bug 578750
-   if use kernel_linux; then
-   linux-info_pkg_setup
-   if ! linux_config_exists; then
-   ewarn "Can't check the linux kernel configuration."
-   ewarn "You might be missing vsyscall support."
-   elif   kernel_is -ge 4 4 \
-   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
-   ewarn "You do not have vsyscall emulation enabled."
-   ewarn "This will prevent some boinc projects from 
running."
-   ewarn "Please enable vsyscall emulation:"
-   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
-   ewarn "in /usr/src/linux/.config, to be found at"
-   ewarn "Processor type and features --->"
-   ewarn "vsyscall table for legacy applications 
(None) --->"
-   ewarn "(X) Emulate"
-   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
-   ewarn "However, this has security implications and is 
not recommended."
-   fi
-   fi
-}
-
-src_prepare() {
-   default
-
-   # prevent bad changes in compile flags, bug 286701
-   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
-
-   eautoreconf
-
-   use X && need-wxwidgets unicode
-}
-
-src_configure() {
-   econf --disable-server \
-   --enable-client \
-   --enable-dynamic-client-linkage \
-   --disable-static \
-   --enable-unicode \
-   --with-ssl \
-   $(use_with X x) \
-   $(use_enable X manager) \
-   $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
-}
-
-src_install() {
-   default
-
-   keepdir /var/lib/${PN}
-
-   if use X; then
-   newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png
-   make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
-   fi
-
-   # cleanup cruft
-   rm -rf "${ED}"/etc || die "rm failed"
-
-   newinitd "${FILESDIR}"/${PN}.init ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf ${PN}
- 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2016-11-12 Thread David Seifert
commit: ab959214be1c6b67588681761f14073f3f051270
Author: Sven Eden  gmx  net>
AuthorDate: Sat Nov 12 15:23:43 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 12 15:39:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab959214

sci-misc/boinc: Cleanup of obsolete ebuilds and files

Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2768

Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/Manifest  |   5 +-
 sci-misc/boinc/boinc-7.2.42-r2.ebuild| 150 --
 sci-misc/boinc/boinc-7.4.43.ebuild   | 154 ---
 sci-misc/boinc/boinc-7.6.31-r3.ebuild| 150 --
 sci-misc/boinc/files/generate_tarball.sh | 103 -
 5 files changed, 1 insertion(+), 561 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 1dc63ac..c31dcd0 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,6 +1,3 @@
-DIST boinc-7.2.42.tar.gz 45420832 SHA256 
c4e9c6aef80db15afa3617804f6cdbf15586865d260b242a06197681a8ac86e6 SHA512 
c702597b2469e40cdb1fe4d47ac7b808a2f5702d7199e8bc4f2e50ec7a1058057f4edc6baec9ff64b877da788a13bd74049348286c7cbc98a7f73232f25749d0
 WHIRLPOOL 
ddade063072bef0a9dfcba50ce3878c8d0318e8ed607af045e7c7561296742dd66612d68d013be627692a3dbf54296b02dbc50533cd1d0d4a6b2deb53c99305e
 DIST boinc-7.2.44.tar.gz 46626134 SHA256 
bae214f238b8b3d1826a44e3a9e5d91cbad165e7df6daf8a7f208f36c51c5425 SHA512 
60f58eecbe1f8d1a272b338d0c2b2fcbfb95538c448cbfdab25d3e860129b519a2c3b2608a909e285bdf4378c23a71107a6d3c2d3aa519ec906480d81be19ca9
 WHIRLPOOL 
f071fce088769ca35bacc9466e3a863bc619d025e14aa26b96a5a736027e4438a2d660df804d95cc635c4bd83e636c0c79e2712f2953bbc2fd905091ec1a1589
-DIST boinc-7.4.42.tar.gz 44075908 SHA256 
2656727628cae8b15c39e48e08e0521aae345dd1cf4674c6730150500b30145f SHA512 
6eabb130d38c55b551ce216afcb8b4a27d9755c4a20dfc30e7ab0c7e8ba5ab5af6995348ec5fee6b9711aa85f7fdbcef78b05894873d8780f20c9e29e17c8ad1
 WHIRLPOOL 
3b61de0a5a443d457ceda3c01bf824fa5d9a72c7e5d8e8da1bf35f1510a7d3fb72dbbf8ce329b2f8ca18c82afc16852df0cd047d4870b06537ddff473277d655
-DIST boinc-7.4.43.tar.gz 44144046 SHA256 
f7b6c093e88227093cdc7c7a337eafe3d10ec4071bfe5cdc20dfa9fdd74fcb9b SHA512 
3c9b95daa2083c61f7794482fb1a23e2eacd6f08da49e7378450bdffab15458c58405b2945cca24bd724018859b77474e220bef94dd78c7e42eb51f8789ede63
 WHIRLPOOL 
570d9fb837bcdf74985944894719aea4bdfff174da1d1b60592a895540e3d9d160759658a0fb452a51e796dc5f9111f3f9bd05e2a1e2a54d4fdefcf7847d3598
-DIST boinc-7.6.31.tar.gz 43534132 SHA256 
133490409d4a8513024253dd22ccf6ab26f210226db97f2021fd75eb79a27f08 SHA512 
b2f35e7446bf01f4557a0d3c18ccad49a3e71d72fd25d69ff2e023ac51b1293ce3a7066ca0959e35301d1d99fc66eabf11dd89845ac120326f27fcdfa30fcdeb
 WHIRLPOOL 
0d5de909dbe8a7f961d221f01e2ffc57bacc72fc91ac26bdf30fff73f4ce80c1b60f5a7e782da8b8cda222a23455275fd96f18b902c77c971aa86a4c4a010641
+DIST boinc-7.4.52.tar.gz 44146174 SHA256 
ac27154ad28d9d0a63ba7153ebb7bcbbd0586744c763c91deeb0325d56530192 SHA512 
32623552e091bf388e85e5f118a8cd035b677091620d2b171513299428e4b53b94f7bfd75e8d4e9f46de3a7cadd8b498434acc3b9aeffbd3667aa18d65c0bc78
 WHIRLPOOL 
e1035ba513a3adced4d5576e856fc43213cca923f3d016aa86c19784a4efcbaa7e599a2728568e14121a63aa89365b1ae00b99af588824f17371836f9494266e
 DIST boinc-7.6.33.tar.gz 43569544 SHA256 
c4b1c29b9655013e0ac61dddf47ad7f30f38c46159f02a9d9dc8ab854e99aa6d SHA512 
c1a98d1a489835abdac72b300c0c8ce82eec9a677ff891c57da4df9875a9bbdd4b45dd9d5ae6ddc2926a0e47ae281fb94ff87815b8aeab0786e15062465e2c20
 WHIRLPOOL 
118578c4058b3f19fab61982a2f2007379790f37cd077f80f7e4c6a7bed30016142c3236af6274553c19ac1a662b4022ddf6323e22c7dc697ea30ca0bccfbaeb

diff --git a/sci-misc/boinc/boinc-7.2.42-r2.ebuild 
b/sci-misc/boinc/boinc-7.2.42-r2.ebuild
deleted file mode 100644
index a7c9d06..
--- a/sci-misc/boinc/boinc-7.2.42-r2.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-WX_GTK_VER=2.8
-
-inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
-
-MY_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda static-libs"
-
-RDEPEND="
-   !sci-misc/boinc-bin
-   !app-admin/quickswitch
-   >=app-misc/ca-certificates-20080809
-   dev-libs/openssl:0=
-   net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   X? (
-   dev-db/sqlite:3
- 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-11-12 Thread David Seifert
commit: 9b44cf4c542d8d7ad55794641d3f74e51be8161f
Author: Sven Eden  gmx  net>
AuthorDate: Sat Nov 12 15:23:45 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 12 15:39:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b44cf4c

sci-misc/boinc: Add new icons to all ebuilds with revbump

Gentoo-Bug: 593362

Currently BOINC manager uses the 48x48 icon from
/usr/share/pixmaps/boinc.png, which looks quite ugly.
There are better icons from http://boinc.berkeley.edu/logo.php.

If USE="X" is set, the ebuilds now use convert (from either
imagemagick or graphicsmagick) to produce png icons from
http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif.

Produced sizes are:
16, 22, 24, 32, 36, 48, 64, 72, 96, 128, 192 and 256.

Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2768

Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/Manifest|  1 +
 ...inc-7.6.33-r1.ebuild => boinc-7.2.44-r1.ebuild} | 36 +
 ...inc-7.6.33-r1.ebuild => boinc-7.4.52-r1.ebuild} | 37 +++---
 sci-misc/boinc/boinc-7.6.33-r1.ebuild  | 37 +++---
 4 files changed, 76 insertions(+), 35 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index c31dcd0..93aca18 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,4 @@
 DIST boinc-7.2.44.tar.gz 46626134 SHA256 
bae214f238b8b3d1826a44e3a9e5d91cbad165e7df6daf8a7f208f36c51c5425 SHA512 
60f58eecbe1f8d1a272b338d0c2b2fcbfb95538c448cbfdab25d3e860129b519a2c3b2608a909e285bdf4378c23a71107a6d3c2d3aa519ec906480d81be19ca9
 WHIRLPOOL 
f071fce088769ca35bacc9466e3a863bc619d025e14aa26b96a5a736027e4438a2d660df804d95cc635c4bd83e636c0c79e2712f2953bbc2fd905091ec1a1589
 DIST boinc-7.4.52.tar.gz 44146174 SHA256 
ac27154ad28d9d0a63ba7153ebb7bcbbd0586744c763c91deeb0325d56530192 SHA512 
32623552e091bf388e85e5f118a8cd035b677091620d2b171513299428e4b53b94f7bfd75e8d4e9f46de3a7cadd8b498434acc3b9aeffbd3667aa18d65c0bc78
 WHIRLPOOL 
e1035ba513a3adced4d5576e856fc43213cca923f3d016aa86c19784a4efcbaa7e599a2728568e14121a63aa89365b1ae00b99af588824f17371836f9494266e
 DIST boinc-7.6.33.tar.gz 43569544 SHA256 
c4b1c29b9655013e0ac61dddf47ad7f30f38c46159f02a9d9dc8ab854e99aa6d SHA512 
c1a98d1a489835abdac72b300c0c8ce82eec9a677ff891c57da4df9875a9bbdd4b45dd9d5ae6ddc2926a0e47ae281fb94ff87815b8aeab0786e15062465e2c20
 WHIRLPOOL 
118578c4058b3f19fab61982a2f2007379790f37cd077f80f7e4c6a7bed30016142c3236af6274553c19ac1a662b4022ddf6323e22c7dc697ea30ca0bccfbaeb
+DIST boinc.tif 288208 SHA256 
5c14c65a7531e1dc3f7f7c18ef86eb0e27726527cb835967aed8b0d003eb564a SHA512 
548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046
 WHIRLPOOL 
6a6cace44c8483000cda787da39006db521fd9408539f8abca2c2ab913371405b97719af0518acd2f5239451a9605d0f6d67a40fdb14cb49a03a42a7a44a4c86

diff --git a/sci-misc/boinc/boinc-7.6.33-r1.ebuild 
b/sci-misc/boinc/boinc-7.2.44-r1.ebuild
similarity index 85%
copy from sci-misc/boinc/boinc-7.6.33-r1.ebuild
copy to sci-misc/boinc/boinc-7.2.44-r1.ebuild
index 7d8033c..bc0952d 100644
--- a/sci-misc/boinc/boinc-7.6.33-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.2.44-r1.ebuild
@@ -2,17 +2,18 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-WX_GTK_VER=3.0
+WX_GTK_VER=2.8
 
-inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+inherit autotools eutils linux-info systemd user versionator wxwidgets
 
 MY_PV=$(get_version_component_range 1-2)
 
 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
 HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz
+   X? ( http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> 
${PN}.tif )"
 RESTRICT="mirror"
 
 LICENSE="LGPL-2.1"
@@ -42,13 +43,18 @@ RDEPEND="
virtual/jpeg:0=
x11-libs/gtk+:2
>=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
)
 "
 DEPEND="${RDEPEND}
sys-devel/gettext
app-text/docbook-xml-dtd:4.4
app-text/docbook2X
+   X? (
+   || ( media-gfx/imagemagick[png,tiff]
+   media-gfx/graphicsmagick[imagemagick,png,tiff]
+   )
+   )
 "
 
 S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
@@ -60,7 +66,7 @@ pkg_setup() {
if ! linux_config_exists; then
ewarn "Can't check the linux kernel configuration."
ewarn "You might be missing vsyscall support."
-   elif   kernel_is -ge 4 4 \
+   elif kernel_is -ge 4 4 \
 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2016-11-12 Thread David Seifert
commit: cdcd619623d85b22cf53304952ab00cf880626a6
Author: Sven Eden  gmx  net>
AuthorDate: Sat Nov 12 15:23:42 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 12 15:39:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdcd6196

sci-misc/boinc: Fix linker errors with wxGTK for boinc-7.6.33

Gentoo-Bug: 587462

>=x11-libs/wxGTK-3.0.2.0-r3 has webview removed. This patch adds
webview to the CLIENTGUILIBS.

Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2768

Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/boinc-7.6.33-r1.ebuild  | 157 +
 sci-misc/boinc/files/fix_webview.patch |  11 +++
 2 files changed, 168 insertions(+)

diff --git a/sci-misc/boinc/boinc-7.6.33-r1.ebuild 
b/sci-misc/boinc/boinc-7.6.33-r1.ebuild
new file mode 100644
index ..7d8033c
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.6.33-r1.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER=3.0
+
+inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
+RESTRICT="mirror"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs"
+
+REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+RDEPEND="
+   !sci-misc/boinc-bin
+   !app-admin/quickswitch
+   >=app-misc/ca-certificates-20080809
+   
net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   sys-libs/glibc:2.2
+   virtual/jpeg:0=
+   x11-libs/gtk+:2
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+"
+
+S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif   kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy applications 
(None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
+   ewarn "However, this has security implications and is 
not recommended."
+   fi
+   fi
+}
+
+src_prepare() {
+   # prevent bad changes in compile flags, bug 286701
+   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
+
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   epatch "${FILESDIR}"/fix_webview.patch
+
+   eautoreconf
+
+   use X && need-wxwidgets unicode
+}
+
+src_configure() {
+   econf --disable-server \
+   --enable-client \
+   --enable-dynamic-client-linkage \
+   --disable-static \
+   --enable-unicode \
+   --with-ssl \
+   $(use_with X x) \
+   $(use_enable X manager) \
+   $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
+}
+
+src_install() {
+   default
+
+   keepdir /var/lib/${PN}
+
+   if use X; then
+   newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png
+   make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
+   fi
+
+  

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-11-12 Thread David Seifert
commit: 55693b2ea7418d0f9aac19fad0ab535742751d8e
Author: Sven Eden  gmx  net>
AuthorDate: Sat Nov 12 15:23:41 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 12 15:39:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55693b2e

sci-misc/boinc: New ebuild for boinc-7.4.52

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2768

Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/{boinc-7.4.42-r4.ebuild => boinc-7.4.52.ebuild} | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.4.42-r4.ebuild 
b/sci-misc/boinc/boinc-7.4.52.ebuild
similarity index 90%
rename from sci-misc/boinc/boinc-7.4.42-r4.ebuild
rename to sci-misc/boinc/boinc-7.4.52.ebuild
index 6e2e785..3daf627 100644
--- a/sci-misc/boinc/boinc-7.4.42-r4.ebuild
+++ b/sci-misc/boinc/boinc-7.4.52.ebuild
@@ -13,18 +13,22 @@ MY_PV=$(get_version_component_range 1-2)
 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
 HOMEPAGE="http://boinc.ssl.berkeley.edu/;
 
SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
+RESTRICT="mirror"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda static-libs"
+IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs"
 
+REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
 RDEPEND="
!sci-misc/boinc-bin
!app-admin/quickswitch
>=app-misc/ca-certificates-20080809
-   dev-libs/openssl:0=
-   net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
+   
net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
sys-apps/util-linux
sys-libs/zlib
cuda? (



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/

2016-11-12 Thread David Seifert
commit: 14de3518f17d22f210aa99d1023f13aeaa49c8de
Author: Sven Eden  gmx  net>
AuthorDate: Sat Nov 12 15:23:43 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 12 15:39:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14de3518

sci-misc/boinc: Add suspend/resume to boinc init script, fix null byte input.

Gentoo-Bug: 493476

Enable users to suspend/resume all projects without having to start
and use the manager GUI.

Gentoo-Bug: 584386 (partly)

After upgrading to the current app-shells/bash-4.4 the stop command
provokes the following warning:

"command substitution: ignored null byte in input"

This happens due to the usage of "cut" with --output-delimiter=''.
Obviously "cut" puts a null byte out if the delimiter was set to
nothing. (Checked with hexdump, it does.)

The fix is to use "tr -d ." to concatenate the version numbers, and
then to compare against an "expr substr".

Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2768

Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/files/boinc.init | 22 ++
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index e20c8df..07b8b80 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -3,7 +3,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-extra_started_commands="attach"
+extra_started_commands="attach resume suspend"
 
 
 depend() {
@@ -59,9 +59,9 @@ env_check() {
 
 
 need_passwd_arg() {
-   local vers=$(${BOINCBIN} --version | cut -d '.' --output-delimiter='' 
-f 1,2)
-   [ -z "$vers" ] && vers=0
-   [ $vers -lt 74 ] && return 0
+   local vers=$(${BOINCBIN} --version | tr -d .)
+   [ -z "$vers" ] && vers="00"
+   [ $(expr substr "$vers" 1 2) -lt 74 ] && return 0
 
# From version 7.4 on, the default is to read
# gui_rpc_auth.cfg for the password.
@@ -151,3 +151,17 @@ stop() {
start-stop-daemon -u ${USER} -q -d "${RUNTIMEDIR}" -x boinccmd -- 
${password} --quit
eend $?
 }
+
+
+resume() {
+   for url in $(boinccmd --get_project_status | sed -n 's/\s*master URL: 
//p'); do
+   boinccmd --project ${url} resume
+   done
+}
+
+
+suspend() {
+   for url in $(boinccmd --get_project_status | sed -n 's/\s*master URL: 
//p'); do
+   boinccmd --project ${url} suspend;
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-11-12 Thread David Seifert
commit: 84a54f76e75c3a53d0ab2b4188bcf73c9e942518
Author: Sven Eden  gmx  net>
AuthorDate: Sat Nov 12 15:23:44 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 12 15:39:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84a54f76

sci-misc/boinc: Update to EAPI 6

Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2768

Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/boinc-7.2.44.ebuild |  8 +---
 sci-misc/boinc/boinc-7.4.52.ebuild | 13 ++---
 sci-misc/boinc/boinc-7.6.33.ebuild | 13 ++---
 3 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.44.ebuild 
b/sci-misc/boinc/boinc-7.2.44.ebuild
index c36fd44..7503d03 100644
--- a/sci-misc/boinc/boinc-7.2.44.ebuild
+++ b/sci-misc/boinc/boinc-7.2.44.ebuild
@@ -2,11 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 WX_GTK_VER=2.8
 
-inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+inherit autotools eutils linux-info systemd user versionator wxwidgets
 
 MY_PV=$(get_version_component_range 1-2)
 
@@ -77,6 +77,8 @@ pkg_setup() {
 }
 
 src_prepare() {
+   default
+
# prevent bad changes in compile flags, bug 286701
sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
 
@@ -121,7 +123,7 @@ pkg_preinst() {
# elog user about the need of being in video group
local groups="${PN}"
if use cuda; then
-   group+=",video"
+   groups+=",video"
fi
enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}"
 }

diff --git a/sci-misc/boinc/boinc-7.4.52.ebuild 
b/sci-misc/boinc/boinc-7.4.52.ebuild
index 3daf627..52326a2 100644
--- a/sci-misc/boinc/boinc-7.4.52.ebuild
+++ b/sci-misc/boinc/boinc-7.4.52.ebuild
@@ -2,11 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 WX_GTK_VER=3.0
 
-inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+inherit autotools eutils linux-info systemd user versionator wxwidgets
 
 MY_PV=$(get_version_component_range 1-2)
 
@@ -51,6 +51,11 @@ DEPEND="${RDEPEND}
app-text/docbook2X
 "
 
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/fix_webview.patch
+)
+
 S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 
 pkg_setup() {
@@ -77,6 +82,8 @@ pkg_setup() {
 }
 
 src_prepare() {
+   default
+
# prevent bad changes in compile flags, bug 286701
sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
 
@@ -121,7 +128,7 @@ pkg_preinst() {
# elog user about the need of being in video group
local groups="${PN}"
if use cuda; then
-   group+=",video"
+   groups+=",video"
fi
enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}"
 }

diff --git a/sci-misc/boinc/boinc-7.6.33.ebuild 
b/sci-misc/boinc/boinc-7.6.33.ebuild
index 3daf627..52326a2 100644
--- a/sci-misc/boinc/boinc-7.6.33.ebuild
+++ b/sci-misc/boinc/boinc-7.6.33.ebuild
@@ -2,11 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 WX_GTK_VER=3.0
 
-inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+inherit autotools eutils linux-info systemd user versionator wxwidgets
 
 MY_PV=$(get_version_component_range 1-2)
 
@@ -51,6 +51,11 @@ DEPEND="${RDEPEND}
app-text/docbook2X
 "
 
+PATCHES=(
+   # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
+   "${FILESDIR}"/fix_webview.patch
+)
+
 S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 
 pkg_setup() {
@@ -77,6 +82,8 @@ pkg_setup() {
 }
 
 src_prepare() {
+   default
+
# prevent bad changes in compile flags, bug 286701
sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
 
@@ -121,7 +128,7 @@ pkg_preinst() {
# elog user about the need of being in video group
local groups="${PN}"
if use cuda; then
-   group+=",video"
+   groups+=",video"
fi
enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}"
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-06-14 Thread David Seifert
commit: d4b1d6a5a66b4dd0457cb62dd58c8bf9317c5470
Author: Sven Eden  gmx  net>
AuthorDate: Wed Jun  8 14:35:37 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jun 14 19:09:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b1d6a5

sci-misc/boinc: New ebuild for boinc-7.6.33

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1629

Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/Manifest|   3 +
 sci-misc/boinc/boinc-7.6.33.ebuild | 154 +
 2 files changed, 157 insertions(+)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 4f1d78d..1dc63ac 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,6 @@
 DIST boinc-7.2.42.tar.gz 45420832 SHA256 
c4e9c6aef80db15afa3617804f6cdbf15586865d260b242a06197681a8ac86e6 SHA512 
c702597b2469e40cdb1fe4d47ac7b808a2f5702d7199e8bc4f2e50ec7a1058057f4edc6baec9ff64b877da788a13bd74049348286c7cbc98a7f73232f25749d0
 WHIRLPOOL 
ddade063072bef0a9dfcba50ce3878c8d0318e8ed607af045e7c7561296742dd66612d68d013be627692a3dbf54296b02dbc50533cd1d0d4a6b2deb53c99305e
+DIST boinc-7.2.44.tar.gz 46626134 SHA256 
bae214f238b8b3d1826a44e3a9e5d91cbad165e7df6daf8a7f208f36c51c5425 SHA512 
60f58eecbe1f8d1a272b338d0c2b2fcbfb95538c448cbfdab25d3e860129b519a2c3b2608a909e285bdf4378c23a71107a6d3c2d3aa519ec906480d81be19ca9
 WHIRLPOOL 
f071fce088769ca35bacc9466e3a863bc619d025e14aa26b96a5a736027e4438a2d660df804d95cc635c4bd83e636c0c79e2712f2953bbc2fd905091ec1a1589
 DIST boinc-7.4.42.tar.gz 44075908 SHA256 
2656727628cae8b15c39e48e08e0521aae345dd1cf4674c6730150500b30145f SHA512 
6eabb130d38c55b551ce216afcb8b4a27d9755c4a20dfc30e7ab0c7e8ba5ab5af6995348ec5fee6b9711aa85f7fdbcef78b05894873d8780f20c9e29e17c8ad1
 WHIRLPOOL 
3b61de0a5a443d457ceda3c01bf824fa5d9a72c7e5d8e8da1bf35f1510a7d3fb72dbbf8ce329b2f8ca18c82afc16852df0cd047d4870b06537ddff473277d655
+DIST boinc-7.4.43.tar.gz 44144046 SHA256 
f7b6c093e88227093cdc7c7a337eafe3d10ec4071bfe5cdc20dfa9fdd74fcb9b SHA512 
3c9b95daa2083c61f7794482fb1a23e2eacd6f08da49e7378450bdffab15458c58405b2945cca24bd724018859b77474e220bef94dd78c7e42eb51f8789ede63
 WHIRLPOOL 
570d9fb837bcdf74985944894719aea4bdfff174da1d1b60592a895540e3d9d160759658a0fb452a51e796dc5f9111f3f9bd05e2a1e2a54d4fdefcf7847d3598
 DIST boinc-7.6.31.tar.gz 43534132 SHA256 
133490409d4a8513024253dd22ccf6ab26f210226db97f2021fd75eb79a27f08 SHA512 
b2f35e7446bf01f4557a0d3c18ccad49a3e71d72fd25d69ff2e023ac51b1293ce3a7066ca0959e35301d1d99fc66eabf11dd89845ac120326f27fcdfa30fcdeb
 WHIRLPOOL 
0d5de909dbe8a7f961d221f01e2ffc57bacc72fc91ac26bdf30fff73f4ce80c1b60f5a7e782da8b8cda222a23455275fd96f18b902c77c971aa86a4c4a010641
+DIST boinc-7.6.33.tar.gz 43569544 SHA256 
c4b1c29b9655013e0ac61dddf47ad7f30f38c46159f02a9d9dc8ab854e99aa6d SHA512 
c1a98d1a489835abdac72b300c0c8ce82eec9a677ff891c57da4df9875a9bbdd4b45dd9d5ae6ddc2926a0e47ae281fb94ff87815b8aeab0786e15062465e2c20
 WHIRLPOOL 
118578c4058b3f19fab61982a2f2007379790f37cd077f80f7e4c6a7bed30016142c3236af6274553c19ac1a662b4022ddf6323e22c7dc697ea30ca0bccfbaeb

diff --git a/sci-misc/boinc/boinc-7.6.33.ebuild 
b/sci-misc/boinc/boinc-7.6.33.ebuild
new file mode 100644
index 000..3daf627
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.6.33.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER=3.0
+
+inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
+RESTRICT="mirror"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs"
+
+REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+RDEPEND="
+   !sci-misc/boinc-bin
+   !app-admin/quickswitch
+   >=app-misc/ca-certificates-20080809
+   
net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   sys-libs/glibc:2.2
+   virtual/jpeg:0=
+   x11-libs/gtk+:2
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   app-text/docbook-xml-dtd:4.4
+

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-06-14 Thread David Seifert
commit: 0ce3732615dffa55ed07837950e4c718470f635c
Author: Sven Eden  gmx  net>
AuthorDate: Wed Jun  8 14:34:00 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jun 14 19:09:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ce37326

sci-misc/boinc: New ebuild for boinc-7.2.44

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1629

Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/boinc-7.2.44.ebuild | 154 +
 1 file changed, 154 insertions(+)

diff --git a/sci-misc/boinc/boinc-7.2.44.ebuild 
b/sci-misc/boinc/boinc-7.2.44.ebuild
new file mode 100644
index 000..c36fd44
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.2.44.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER=2.8
+
+inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
+RESTRICT="mirror"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs"
+
+REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+RDEPEND="
+   !sci-misc/boinc-bin
+   !app-admin/quickswitch
+   >=app-misc/ca-certificates-20080809
+   
net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   sys-libs/glibc:2.2
+   virtual/jpeg:0=
+   x11-libs/gtk+:2
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+"
+
+S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif   kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy applications 
(None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
+   ewarn "However, this has security implications and is 
not recommended."
+   fi
+   fi
+}
+
+src_prepare() {
+   # prevent bad changes in compile flags, bug 286701
+   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
+
+   eautoreconf
+
+   use X && need-wxwidgets unicode
+}
+
+src_configure() {
+   econf --disable-server \
+   --enable-client \
+   --enable-dynamic-client-linkage \
+   --disable-static \
+   --enable-unicode \
+   --with-ssl \
+   $(use_with X x) \
+   $(use_enable X manager) \
+   $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
+}
+
+src_install() {
+   default
+
+   keepdir /var/lib/${PN}
+
+   if use X; then
+   newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png
+   make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
+   fi
+
+   # cleanup cruft
+   rm -rf "${ED}"/etc || die "rm failed"
+
+   newinitd "${FILESDIR}"/${PN}.init ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf ${PN}
+   systemd_dounit "${FILESDIR}"/${PN}.service
+}
+
+pkg_preinst() {
+   enewgroup ${PN}
+   # note this works only for first install so we have 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-06-14 Thread David Seifert
commit: f001ab2981417a0f5a8f5249f3708da7ebcb3148
Author: Sven Eden  gmx  net>
AuthorDate: Wed Jun  8 14:35:11 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jun 14 19:09:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f001ab29

sci-misc/boinc: New ebuild for boinc-7.4.43

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1629

Signed-off-by: David Seifert  gentoo.org>

 sci-misc/boinc/boinc-7.4.43.ebuild | 154 +
 1 file changed, 154 insertions(+)

diff --git a/sci-misc/boinc/boinc-7.4.43.ebuild 
b/sci-misc/boinc/boinc-7.4.43.ebuild
new file mode 100644
index 000..3daf627
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.4.43.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER=3.0
+
+inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
+RESTRICT="mirror"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda curl_ssl_libressl +curl_ssl_openssl static-libs"
+
+REQUIRED_USE="^^ ( curl_ssl_libressl curl_ssl_openssl ) "
+
+# libcurl must not be using an ssl backend boinc does not support.
+# If the libcurl ssl backend changes, boinc should be recompiled.
+RDEPEND="
+   !sci-misc/boinc-bin
+   !app-admin/quickswitch
+   >=app-misc/ca-certificates-20080809
+   
net-misc/curl[-curl_ssl_gnutls(-),curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),-curl_ssl_polarssl(-)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   sys-libs/glibc:2.2
+   virtual/jpeg:0=
+   x11-libs/gtk+:2
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+"
+
+S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+
+pkg_setup() {
+   # Bug 578750
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   elif   kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy applications 
(None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
+   ewarn "However, this has security implications and is 
not recommended."
+   fi
+   fi
+}
+
+src_prepare() {
+   # prevent bad changes in compile flags, bug 286701
+   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
+
+   eautoreconf
+
+   use X && need-wxwidgets unicode
+}
+
+src_configure() {
+   econf --disable-server \
+   --enable-client \
+   --enable-dynamic-client-linkage \
+   --disable-static \
+   --enable-unicode \
+   --with-ssl \
+   $(use_with X x) \
+   $(use_enable X manager) \
+   $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
+}
+
+src_install() {
+   default
+
+   keepdir /var/lib/${PN}
+
+   if use X; then
+   newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png
+   make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
+   fi
+
+   # cleanup cruft
+   rm -rf "${ED}"/etc || die "rm failed"
+
+   newinitd "${FILESDIR}"/${PN}.init ${PN}
+   newconfd "${FILESDIR}"/${PN}.conf ${PN}
+   systemd_dounit "${FILESDIR}"/${PN}.service
+}
+
+pkg_preinst() {
+   enewgroup ${PN}
+   # note this works only for first install so we 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-05-07 Thread David Seifert
commit: 3c7ed3fc1248785347a43e6241e581fe4c8b1385
Author: Sven Eden  gmx  net>
AuthorDate: Fri May  6 15:45:43 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May  7 22:31:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c7ed3fc

sci-misc/boinc: Fix VSYSCALL check for boinc-7.4.42

Gentoo-Bug: 578750

The configuration options were misunderstood.

- CONFIG_X86_VSYSCALL_EMULATION only enables a dmesg message if any
  legacy application tries to use any vsyscall. If disabled, these
  applications simply segfault with no output in dmesg.
- To make the old calls available, either
  CONFIG_LEGACY_VSYSCALL_NATIVE or CONFIG_LEGACY_VSYSCALL_EMULATE
  must be used.

Therefore the ebuild was reverted to check against the
CONFIG_LEGACY_VSYSCALL_NONE option, and warns the user if this is
set.

Package-Manager: portage-2.2.28

 ...inc-7.4.42-r3.ebuild => boinc-7.4.42-r4.ebuild} | 34 +-
 1 file changed, 13 insertions(+), 21 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.4.42-r3.ebuild 
b/sci-misc/boinc/boinc-7.4.42-r4.ebuild
similarity index 78%
rename from sci-misc/boinc/boinc-7.4.42-r3.ebuild
rename to sci-misc/boinc/boinc-7.4.42-r4.ebuild
index f1c2408..6e2e785 100644
--- a/sci-misc/boinc/boinc-7.4.42-r3.ebuild
+++ b/sci-misc/boinc/boinc-7.4.42-r4.ebuild
@@ -50,32 +50,24 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 
 pkg_setup() {
+   # Bug 578750
if use kernel_linux; then
linux-info_pkg_setup
if ! linux_config_exists; then
ewarn "Can't check the linux kernel configuration."
ewarn "You might be missing vsyscall support."
-   else
-   if   kernel_is -ge 4 4 \
- && linux_chkconfig_present LEGACY_VSYSCALL_NONE \
- && ! linux_chkconfig_present X86_VSYSCALL_EMULATION; 
then
-   ewarn "You do have neither x86 vsyscall 
emulation"
-   ewarn "nor legacy vsyscall support enabled."
-   ewarn "This will prevent some boinc projects 
from running."
-   ewarn "Please enable vsyscall emulation:"
-   ewarn "CONFIG_X86_VSYSCALL_EMULATION=y"
-   ewarn "in /usr/src/linux/.config, to be found 
at"
-   ewarn "Processor type and features --->"
-   ewarn "[*] Enable vsyscall emulation"
-   ewarn "or set"
-   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
-   ewarn "in /usr/src/linux/.config, to be found 
at"
-   ewarn "Processor type and features --->"
-   ewarn "vsyscall table for legacy 
applications (None) --->"
-   ewarn "(X) Emulate"
-   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
-   ewarn "However, this has security implications 
and is not recommended."
-   fi
+   elif   kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy applications 
(None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
+   ewarn "However, this has security implications and is 
not recommended."
fi
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-05-07 Thread David Seifert
commit: 87fb055e1198f9f343c3f2991154f323d7187e60
Author: Sven Eden  gmx  net>
AuthorDate: Fri May  6 15:40:09 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May  7 22:31:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87fb055e

sci-misc/boinc: Fix VSYSCALL check for boinc-7.2.42

Gentoo-Bug: 578750

The configuration options were misunderstood.

- CONFIG_X86_VSYSCALL_EMULATION only enables a dmesg message if any
  legacy application tries to use any vsyscall. If disabled, these
  applications simply segfault with no output in dmesg.
- To make the old calls available, either
  CONFIG_LEGACY_VSYSCALL_NATIVE or CONFIG_LEGACY_VSYSCALL_EMULATE
  must be used.

Therefore the ebuild was reverted to check against the
CONFIG_LEGACY_VSYSCALL_NONE option, and warns the user if this is
set.

Package-Manager: portage-2.2.28

 ...inc-7.2.42-r1.ebuild => boinc-7.2.42-r2.ebuild} | 34 +-
 1 file changed, 13 insertions(+), 21 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.42-r1.ebuild 
b/sci-misc/boinc/boinc-7.2.42-r2.ebuild
similarity index 78%
rename from sci-misc/boinc/boinc-7.2.42-r1.ebuild
rename to sci-misc/boinc/boinc-7.2.42-r2.ebuild
index ae58b2d..a7c9d06 100644
--- a/sci-misc/boinc/boinc-7.2.42-r1.ebuild
+++ b/sci-misc/boinc/boinc-7.2.42-r2.ebuild
@@ -50,32 +50,24 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 
 pkg_setup() {
+   # Bug 578750
if use kernel_linux; then
linux-info_pkg_setup
if ! linux_config_exists; then
ewarn "Can't check the linux kernel configuration."
ewarn "You might be missing vsyscall support."
-   else
-   if   kernel_is -ge 4 4 \
- && linux_chkconfig_present LEGACY_VSYSCALL_NONE \
- && ! linux_chkconfig_present X86_VSYSCALL_EMULATION; 
then
-   ewarn "You do have neither x86 vsyscall 
emulation"
-   ewarn "nor legacy vsyscall support enabled."
-   ewarn "This will prevent some boinc projects 
from running."
-   ewarn "Please enable vsyscall emulation:"
-   ewarn "CONFIG_X86_VSYSCALL_EMULATION=y"
-   ewarn "in /usr/src/linux/.config, to be found 
at"
-   ewarn "Processor type and features --->"
-   ewarn "[*] Enable vsyscall emulation"
-   ewarn "or set"
-   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
-   ewarn "in /usr/src/linux/.config, to be found 
at"
-   ewarn "Processor type and features --->"
-   ewarn "vsyscall table for legacy 
applications (None) --->"
-   ewarn "(X) Emulate"
-   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
-   ewarn "However, this has security implications 
and is not recommended."
-   fi
+   elif   kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy applications 
(None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
+   ewarn "However, this has security implications and is 
not recommended."
fi
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-05-07 Thread David Seifert
commit: 38460857021466100646b9a8b110798cc7661abf
Author: Sven Eden  gmx  net>
AuthorDate: Fri May  6 15:46:05 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May  7 22:31:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38460857

sci-misc/boinc: Fix VSYSCALL check for boinc-7.6.31

Gentoo-Bug: 578750

The configuration options were misunderstood.

- CONFIG_X86_VSYSCALL_EMULATION only enables a dmesg message if any
  legacy application tries to use any vsyscall. If disabled, these
  applications simply segfault with no output in dmesg.
- To make the old calls available, either
  CONFIG_LEGACY_VSYSCALL_NATIVE or CONFIG_LEGACY_VSYSCALL_EMULATE
  must be used.

Therefore the ebuild was reverted to check against the
CONFIG_LEGACY_VSYSCALL_NONE option, and warns the user if this is
set.

Package-Manager: portage-2.2.28

 ...inc-7.6.31-r2.ebuild => boinc-7.6.31-r3.ebuild} | 34 +-
 1 file changed, 13 insertions(+), 21 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.6.31-r2.ebuild 
b/sci-misc/boinc/boinc-7.6.31-r3.ebuild
similarity index 78%
rename from sci-misc/boinc/boinc-7.6.31-r2.ebuild
rename to sci-misc/boinc/boinc-7.6.31-r3.ebuild
index f1c2408..6e2e785 100644
--- a/sci-misc/boinc/boinc-7.6.31-r2.ebuild
+++ b/sci-misc/boinc/boinc-7.6.31-r3.ebuild
@@ -50,32 +50,24 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
 
 pkg_setup() {
+   # Bug 578750
if use kernel_linux; then
linux-info_pkg_setup
if ! linux_config_exists; then
ewarn "Can't check the linux kernel configuration."
ewarn "You might be missing vsyscall support."
-   else
-   if   kernel_is -ge 4 4 \
- && linux_chkconfig_present LEGACY_VSYSCALL_NONE \
- && ! linux_chkconfig_present X86_VSYSCALL_EMULATION; 
then
-   ewarn "You do have neither x86 vsyscall 
emulation"
-   ewarn "nor legacy vsyscall support enabled."
-   ewarn "This will prevent some boinc projects 
from running."
-   ewarn "Please enable vsyscall emulation:"
-   ewarn "CONFIG_X86_VSYSCALL_EMULATION=y"
-   ewarn "in /usr/src/linux/.config, to be found 
at"
-   ewarn "Processor type and features --->"
-   ewarn "[*] Enable vsyscall emulation"
-   ewarn "or set"
-   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
-   ewarn "in /usr/src/linux/.config, to be found 
at"
-   ewarn "Processor type and features --->"
-   ewarn "vsyscall table for legacy 
applications (None) --->"
-   ewarn "(X) Emulate"
-   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
-   ewarn "However, this has security implications 
and is not recommended."
-   fi
+   elif   kernel_is -ge 4 4 \
+   && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
+   ewarn "You do not have vsyscall emulation enabled."
+   ewarn "This will prevent some boinc projects from 
running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy applications 
(None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
+   ewarn "However, this has security implications and is 
not recommended."
fi
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2016-05-05 Thread David Seifert
commit: 790b10547476baba875701da659349976cadd0ff
Author: David Seifert  gentoo  org>
AuthorDate: Thu May  5 12:43:52 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu May  5 12:44:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=790b1054

sci-misc/boinc: Fix variable default statements in init scripts

Package-Manager: portage-2.2.28

 .../boinc/{boinc-7.2.42.ebuild => boinc-7.2.42-r1.ebuild}   |  0
 .../{boinc-7.4.42-r2.ebuild => boinc-7.4.42-r3.ebuild}  |  0
 .../{boinc-7.6.31-r1.ebuild => boinc-7.6.31-r2.ebuild}  |  0
 sci-misc/boinc/files/boinc.init | 13 +++--
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.42.ebuild 
b/sci-misc/boinc/boinc-7.2.42-r1.ebuild
similarity index 100%
rename from sci-misc/boinc/boinc-7.2.42.ebuild
rename to sci-misc/boinc/boinc-7.2.42-r1.ebuild

diff --git a/sci-misc/boinc/boinc-7.4.42-r2.ebuild 
b/sci-misc/boinc/boinc-7.4.42-r3.ebuild
similarity index 100%
rename from sci-misc/boinc/boinc-7.4.42-r2.ebuild
rename to sci-misc/boinc/boinc-7.4.42-r3.ebuild

diff --git a/sci-misc/boinc/boinc-7.6.31-r1.ebuild 
b/sci-misc/boinc/boinc-7.6.31-r2.ebuild
similarity index 100%
rename from sci-misc/boinc/boinc-7.6.31-r1.ebuild
rename to sci-misc/boinc/boinc-7.6.31-r2.ebuild

diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index 1d78d0a..e20c8df 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -39,12 +39,12 @@ cuda_check() {
 
 env_check() {
# Make sure the configuration is sane
-   ${USER:="boinc"}
-   ${GROUP:="boinc"}
-   ${RUNTIMEDIR:="/var/lib/boinc"}
-   ${BOINCBIN:="$(which boinc_client)"}
-   ${ALLOW_REMOTE_RPC:="yes"}
-   ${NICELEVEL:="19"}
+   : ${USER:="boinc"}
+   : ${GROUP:="boinc"}
+   : ${RUNTIMEDIR:="/var/lib/boinc"}
+   : ${BOINCBIN:="$(which boinc_client)"}
+   : ${ALLOW_REMOTE_RPC:="yes"}
+   : ${NICELEVEL:="19"}
# ARGS is not checked, it could have been explicitly set
# to be empty by the user.
 
@@ -137,6 +137,7 @@ attach() {
tail "${RUNTIMEDIR}/stdoutdae.txt"
 }
 
+
 stop() {
local password=""
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/

2016-05-04 Thread David Seifert
commit: 77700d6221afc3a293241b8547a9904be2bd434b
Author: Sven Eden  gmx  net>
AuthorDate: Fri Apr 29 08:52:09 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed May  4 22:00:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77700d62

sci-misc/boinc: Upgraded init script

Gentoo-Bug: 574260

After hot-fixing bug 574260, the following fixes/additions, suggested
by Jan Chren were made:

- #!/sbin/runscript -> #!/sbin/openrc-run
- Variables from /etc/conf.d/boinc are checked, and empty variables
  are pre-filled with sane defaults.
- split start() to start_pre() and start()
- removed check_baselayout()
- replaced /etc/init.d/boinc with ${RC_SERVICE}
- replaced echo with einfo ""
- replaced ${SVCNAME} with ${RC_SVCNAME}
- removed unset for local vars

Package-Manager: portage-2.2.28

 sci-misc/boinc/Manifest |  1 -
 sci-misc/boinc/files/boinc.init | 94 ++---
 2 files changed, 70 insertions(+), 25 deletions(-)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 01bb35e..4f1d78d 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,4 +1,3 @@
-DIST boinc-7.2.0.tar.xz 25138432 SHA256 
714ac3a10bec41afc224e8343f5bc221a488eefca4592dbc9ce4eea2c10cad5e SHA512 
4ee360c14117cf4bbc26dfb48682462cdd15ca04b16f40b76562c0f5fa1a4531775762a1ce1f59960b4d0166a5d429af1279199f5140d3e112c72361ad01c46e
 WHIRLPOOL 
3d41bf1f80d04aa9ec576da18bbb6a8078c98060bd6167dcf6a75fa34619fb95831695fb145a8f4400ec0d99a743f42539751667fcbc505fba7c747c0e0bedfd
 DIST boinc-7.2.42.tar.gz 45420832 SHA256 
c4e9c6aef80db15afa3617804f6cdbf15586865d260b242a06197681a8ac86e6 SHA512 
c702597b2469e40cdb1fe4d47ac7b808a2f5702d7199e8bc4f2e50ec7a1058057f4edc6baec9ff64b877da788a13bd74049348286c7cbc98a7f73232f25749d0
 WHIRLPOOL 
ddade063072bef0a9dfcba50ce3878c8d0318e8ed607af045e7c7561296742dd66612d68d013be627692a3dbf54296b02dbc50533cd1d0d4a6b2deb53c99305e
 DIST boinc-7.4.42.tar.gz 44075908 SHA256 
2656727628cae8b15c39e48e08e0521aae345dd1cf4674c6730150500b30145f SHA512 
6eabb130d38c55b551ce216afcb8b4a27d9755c4a20dfc30e7ab0c7e8ba5ab5af6995348ec5fee6b9711aa85f7fdbcef78b05894873d8780f20c9e29e17c8ad1
 WHIRLPOOL 
3b61de0a5a443d457ceda3c01bf824fa5d9a72c7e5d8e8da1bf35f1510a7d3fb72dbbf8ce329b2f8ca18c82afc16852df0cd047d4870b06537ddff473277d655
 DIST boinc-7.6.31.tar.gz 43534132 SHA256 
133490409d4a8513024253dd22ccf6ab26f210226db97f2021fd75eb79a27f08 SHA512 
b2f35e7446bf01f4557a0d3c18ccad49a3e71d72fd25d69ff2e023ac51b1293ce3a7066ca0959e35301d1d99fc66eabf11dd89845ac120326f27fcdfa30fcdeb
 WHIRLPOOL 
0d5de909dbe8a7f961d221f01e2ffc57bacc72fc91ac26bdf30fff73f4ce80c1b60f5a7e782da8b8cda222a23455275fd96f18b902c77c971aa86a4c4a010641

diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index 6ed9041..1d78d0a 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -1,19 +1,21 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
 # Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 extra_started_commands="attach"
 
+
 depend() {
# we can use dns and net, but we can also in most cases live without 
them
use dns net ntp-client ntpd
 }
 
+
 create_work_directory() {
if [ ! -d "${RUNTIMEDIR}" ]; then
-   einfo "Directory ${RUNTIMEDIR} not existing, creating now."
-   mkdir "${RUNTIMEDIR}"
+   einfo "Directory ${RUNTIMEDIR} does not exist, creating now."
+   mkdir -p "${RUNTIMEDIR}"
if [ ! -d "${RUNTIMEDIR}" ]; then
eeror "Directory ${RUNTIMEDIR} could not be created!"
return 1
@@ -22,8 +24,11 @@ create_work_directory() {
if [ ! -e "${RUNTIMEDIR}"/ca-bundle.crt ] ; then
ln -s /etc/ssl/certs/ca-certificates.crt 
"${RUNTIMEDIR}"/ca-bundle.crt
fi
+
+   return 0
 }
 
+
 cuda_check() {
if [ -f /opt/cuda/lib/libcudart.so ]; then
# symlink wont harm :]
@@ -31,15 +36,42 @@ cuda_check() {
fi
 }
 
-check_baselayout() {
-   if [ "${RC_VERSION:-0}" = "0" ]; then
-   eerror "This script cannot be used for baselayout-1."
+
+env_check() {
+   # Make sure the configuration is sane
+   ${USER:="boinc"}
+   ${GROUP:="boinc"}
+   ${RUNTIMEDIR:="/var/lib/boinc"}
+   ${BOINCBIN:="$(which boinc_client)"}
+   ${ALLOW_REMOTE_RPC:="yes"}
+   ${NICELEVEL:="19"}
+   # ARGS is not checked, it could have been explicitly set
+   # to be empty by the user.
+
+   # If the client was not found (how?) something is seriously wrong
+   if [ ! -x "$BOINCBIN" ] ; then
+   eerror "No boinc_client found!"
return 1
fi
+
+   return 0
 }
 
-start() {
-   check_baselayout || return 1
+
+need_passwd_arg() {
+   local vers=$(${BOINCBIN} --version | cut -d '.' --output-delimiter='' 
-f 1,2)
+  

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-05-04 Thread David Seifert
commit: 34be81fa0d2e31e54d6c70de18ae665968c72284
Author: Sven Eden  gmx  net>
AuthorDate: Thu Apr 28 07:59:58 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed May  4 22:00:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34be81fa

sci-misc/boinc: Removed obsolete ebuild for boinc-7.2.0-r1

Gentoo-Bug: 577490

Made obsolete by the addition of the versioned 7.2.42 ebuild.

Package-Manager: portage-2.2.28

 sci-misc/boinc/boinc-7.2.0-r1.ebuild | 147 ---
 1 file changed, 147 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.0-r1.ebuild 
b/sci-misc/boinc/boinc-7.2.0-r1.ebuild
deleted file mode 100644
index 45652f8..000
--- a/sci-misc/boinc/boinc-7.2.0-r1.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-#WANT_AUTOMAKE="1.11"
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils flag-o-matic eutils wxwidgets user systemd
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda static-libs"
-
-RDEPEND="
-   !sci-misc/boinc-bin
-   !app-admin/quickswitch
-   >=app-misc/ca-certificates-20080809
-   dev-libs/openssl:0=
-   net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   sys-libs/glibc:2.2
-   virtual/jpeg:0=
-   x11-libs/gtk+:2
-   >=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:2.8[X,opengl]
-   )
-"
-DEPEND="${RDEPEND}
-   sys-devel/gettext
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-fix_subdirs.patch
-)
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-src_prepare() {
-   # prevent bad changes in compile flags, bug 286701
-   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
-
-   autotools-utils_src_prepare
-}
-
-src_configure() {
-   local wxconf=""
-
-   # add gtk includes
-   append-flags "$(pkg-config --cflags gtk+-2.0)"
-
-   # look for wxGTK
-   if use X; then
-   WX_GTK_VER="2.8"
-   need-wxwidgets unicode
-   wxconf+=" --with-wx-config=${WX_CONFIG}"
-   else
-   wxconf+=" --without-wxdir"
-   fi
-
-   local myeconfargs=(
-   --disable-server
-   --enable-client
-   --enable-dynamic-client-linkage
-   --disable-static
-   --enable-unicode
-   --with-ssl
-   $(use_with X x)
-   $(use_enable X manager)
-   ${wxconf}
-   )
-   autotools-utils_src_configure
-}
-
-src_install() {
-   autotools-utils_src_install
-
-   dodir /var/lib/${PN}/
-   keepdir /var/lib/${PN}/
-
-   if use X; then
-   newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png 
${PN}.png || die
-   make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
-   fi
-
-   # cleanup cruft
-   rm -rf "${ED}"/etc/
-
-   newinitd "${FILESDIR}"/${PN}.init ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf ${PN}
-   systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_preinst() {
-   enewgroup ${PN}
-   # note this works only for first install so we have to
-   # elog user about the need of being in video group
-   if use cuda; then
-   enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},video"
-   else
-   enewuser ${PN} -1 -1 /var/lib/${PN} "${PN}"
-   fi
-}
-
-pkg_postinst() {
-   echo
-   elog "You are using the source compiled version of ${PN}."
-   use X && elog "The graphical manager can be found at /usr/bin/${PN}mgr"
-   elog
-   elog "You need to attach to a project to do anything useful with ${PN}."
-   elog "You can do this by running /etc/init.d/${PN} attach"
-   elog "The howto for configuration is located at:"
-   elog "http://boinc.berkeley.edu/wiki/Anonymous_platform;
-   elog
-   # Add warning about the new password for the client, bug 121896.
-   if use X; then
-   elog "If you need to use the graphical manager the password is 
in:"
-   elog "/var/lib/${PN}/gui_rpc_auth.cfg"
-   elog "Where /var/lib/ is default RUNTIMEDIR, that can be 
changed in:"
-   elog "/etc/conf.d/${PN}"
-   elog "You should change this password to something more 
memorable (can be even blank)."

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-05-04 Thread David Seifert
commit: 7c683220facc3387d27c33ba6b2dc816ef3f592c
Author: Sven Eden  gmx  net>
AuthorDate: Thu Apr 28 08:13:40 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed May  4 22:00:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c683220

sci-misc/boinc: Removed obsolete ebuild for boinc-7.6.31

Gentoo-Bug: 577490, 578750

Made obsolete by the 7.6.31-r1 ebuild, that has an important fix.

Package-Manager: portage-2.2.28

 sci-misc/boinc/boinc-7.6.31.ebuild | 127 -
 1 file changed, 127 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.6.31.ebuild 
b/sci-misc/boinc/boinc-7.6.31.ebuild
deleted file mode 100644
index f390d9a..000
--- a/sci-misc/boinc/boinc-7.6.31.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-WX_GTK_VER=3.0
-
-inherit autotools flag-o-matic systemd user versionator wxwidgets
-
-MY_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda static-libs"
-
-RDEPEND="
-   !sci-misc/boinc-bin
-   !app-admin/quickswitch
-   >=app-misc/ca-certificates-20080809
-   dev-libs/openssl:0=
-   net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   sys-libs/glibc:2.2
-   virtual/jpeg:0=
-   x11-libs/gtk+:2
-   >=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
-   )
-"
-DEPEND="${RDEPEND}
-   sys-devel/gettext
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-"
-
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-
-src_prepare() {
-   # prevent bad changes in compile flags, bug 286701
-   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
-
-   eautoreconf
-
-   use X && need-wxwidgets unicode
-}
-
-src_configure() {
-   econf --disable-server \
-   --enable-client \
-   --enable-dynamic-client-linkage \
-   --disable-static \
-   --enable-unicode \
-   --with-ssl \
-   $(use_with X x) \
-   $(use_enable X manager) \
-   $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
-}
-
-src_install() {
-   default
-
-   keepdir /var/lib/${PN}
-
-   if use X; then
-   newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png
-   make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
-   fi
-
-   # cleanup cruft
-   rm -rf "${ED}"/etc || die "rm failed"
-
-   newinitd "${FILESDIR}"/${PN}.init ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf ${PN}
-   systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_preinst() {
-   enewgroup ${PN}
-   # note this works only for first install so we have to
-   # elog user about the need of being in video group
-   local groups="${PN}"
-   if use cuda; then
-   group+=",video"
-   fi
-   enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}"
-}
-
-pkg_postinst() {
-   echo
-   elog "You are using the source compiled version of boinc."
-   use X && elog "The graphical manager can be found at /usr/bin/boincmgr"
-   elog
-   elog "You need to attach to a project to do anything useful with boinc."
-   elog "You can do this by running /etc/init.d/boinc attach"
-   elog "The howto for configuration is located at:"
-   elog "http://boinc.berkeley.edu/wiki/Anonymous_platform;
-   elog
-   # Add warning about the new password for the client, bug 121896.
-   if use X; then
-   elog "If you need to use the graphical manager the password is 
in:"
-   elog "/var/lib/boinc/gui_rpc_auth.cfg"
-   elog "Where /var/lib/ is default RUNTIMEDIR, that can be 
changed in:"
-   elog "/etc/conf.d/boinc"
-   elog "You should change this password to something more 
memorable (can be even blank)."
-   elog "Remember to launch init script before using manager. Or 
changing the password."
-   elog
-   fi
-   if use cuda; then
-   elog "To be able to use CUDA you should add boinc user to video 
group."
-   elog "Run as root:"
-   elog "gpasswd -a boinc video"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-05-04 Thread David Seifert
commit: ef2e495cdb8f55c0530e95ba0d5a66afda9a322d
Author: Sven Eden  gmx  net>
AuthorDate: Thu Apr 28 08:12:46 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed May  4 22:00:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef2e495c

sci-misc/boinc: New r1 ebuild for boinc-7.6.31 with vsyscall fix

Gentoo-Bug: 577490, 578750

A check against VSYSCALL kernel options was added.
Russell Knighton found out, that some projects segfault if VSYSCALL
mappings are completely disabled, and reported the issue in bug
578750.

The check against CONFIG_LEGACY_VSYSCALL_NONE and
CONFIG_X86_VSYSCALL_EMULATION is based on his patch submitted in the
bug reported by him.

Package-Manager: portage-2.2.28

 sci-misc/boinc/boinc-7.6.31-r1.ebuild | 158 ++
 1 file changed, 158 insertions(+)

diff --git a/sci-misc/boinc/boinc-7.6.31-r1.ebuild 
b/sci-misc/boinc/boinc-7.6.31-r1.ebuild
new file mode 100644
index 000..f1c2408
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.6.31-r1.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER=3.0
+
+inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda static-libs"
+
+RDEPEND="
+   !sci-misc/boinc-bin
+   !app-admin/quickswitch
+   >=app-misc/ca-certificates-20080809
+   dev-libs/openssl:0=
+   net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   sys-libs/glibc:2.2
+   virtual/jpeg:0=
+   x11-libs/gtk+:2
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+"
+
+S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+
+pkg_setup() {
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   else
+   if   kernel_is -ge 4 4 \
+ && linux_chkconfig_present LEGACY_VSYSCALL_NONE \
+ && ! linux_chkconfig_present X86_VSYSCALL_EMULATION; 
then
+   ewarn "You do have neither x86 vsyscall 
emulation"
+   ewarn "nor legacy vsyscall support enabled."
+   ewarn "This will prevent some boinc projects 
from running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_X86_VSYSCALL_EMULATION=y"
+   ewarn "in /usr/src/linux/.config, to be found 
at"
+   ewarn "Processor type and features --->"
+   ewarn "[*] Enable vsyscall emulation"
+   ewarn "or set"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found 
at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy 
applications (None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
+   ewarn "However, this has security implications 
and is not recommended."
+   fi
+   fi
+   fi
+}
+
+src_prepare() {
+   # prevent bad changes in compile flags, bug 286701
+   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
+
+   eautoreconf
+
+   use X && need-wxwidgets unicode
+}
+
+src_configure() {
+   econf --disable-server \
+   --enable-client \
+   --enable-dynamic-client-linkage \
+   --disable-static \
+   --enable-unicode \
+   --with-ssl \
+   $(use_with X x) \
+   $(use_enable X manager) \
+   $(usex X --with-wx-config="${WX_CONFIG}" 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-05-04 Thread David Seifert
commit: 74f81e9f6208ff09217cd3d2f24cea423b327663
Author: Sven Eden  gmx  net>
AuthorDate: Thu Apr 28 08:10:38 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed May  4 22:00:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f81e9f

sci-misc/boinc: Removed obsolete ebuild for boinc-7.4.42-r1

Gentoo-Bug: 577490, 578750

Made obsolete by the 7.4.42-r2 ebuild, that has an important fix.

Package-Manager: portage-2.2.28

 sci-misc/boinc/boinc-7.4.42-r1.ebuild | 141 --
 1 file changed, 141 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.4.42-r1.ebuild 
b/sci-misc/boinc/boinc-7.4.42-r1.ebuild
deleted file mode 100644
index 40a8b16..000
--- a/sci-misc/boinc/boinc-7.4.42-r1.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-#WANT_AUTOMAKE="1.11"
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils eutils flag-o-matic systemd user versionator wxwidgets
-
-MY_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda static-libs"
-
-RDEPEND="
-   !sci-misc/boinc-bin
-   !app-admin/quickswitch
-   >=app-misc/ca-certificates-20080809
-   dev-libs/openssl:0=
-   net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   sys-libs/glibc:2.2
-   virtual/jpeg:0=
-   x11-libs/gtk+:2
-   >=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:3.0[X,opengl,webkit]
-   )
-"
-DEPEND="${RDEPEND}
-   sys-devel/gettext
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-"
-
-S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-src_prepare() {
-   # prevent bad changes in compile flags, bug 286701
-   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
-
-   autotools-utils_src_prepare
-}
-
-src_configure() {
-   local myeconfargs=(
-   --disable-server
-   --enable-client
-   --enable-dynamic-client-linkage
-   --disable-static
-   --enable-unicode
-   --with-ssl
-   $(use_with X x)
-   $(use_enable X manager)
-   )
-
-   # look for wxGTK
-   if use X; then
-   WX_GTK_VER="3.0"
-   need-wxwidgets unicode
-   myeconfargs+=(--with-wx-config="${WX_CONFIG}")
-   else
-   myeconfargs+=(--without-wxdir)
-   fi
-
-   autotools-utils_src_configure
-}
-
-src_install() {
-   autotools-utils_src_install
-
-   keepdir /var/lib/${PN}
-
-   if use X; then
-   newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png
-   make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
-   fi
-
-   # cleanup cruft
-   rm -rf "${ED}"/etc
-
-   newinitd "${FILESDIR}"/${PN}.init ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf ${PN}
-   systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_preinst() {
-   enewgroup ${PN}
-   # note this works only for first install so we have to
-   # elog user about the need of being in video group
-   local groups="${PN}"
-   if use cuda; then
-   group+=",video"
-   fi
-   enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}"
-}
-
-pkg_postinst() {
-   echo
-   elog "You are using the source compiled version of boinc."
-   use X && elog "The graphical manager can be found at /usr/bin/boincmgr"
-   elog
-   elog "You need to attach to a project to do anything useful with boinc."
-   elog "You can do this by running /etc/init.d/boinc attach"
-   elog "The howto for configuration is located at:"
-   elog "http://boinc.berkeley.edu/wiki/Anonymous_platform;
-   elog
-   # Add warning about the new password for the client, bug 121896.
-   if use X; then
-   elog "If you need to use the graphical manager the password is 
in:"
-   elog "/var/lib/boinc/gui_rpc_auth.cfg"
-   elog "Where /var/lib/ is default RUNTIMEDIR, that can be 
changed in:"
-   elog "/etc/conf.d/boinc"
-   elog "You should change this password to something more 
memorable (can be even blank)."
-   elog "Remember to launch init script before using 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-05-04 Thread David Seifert
commit: 5edb32233eb4827d1b1ba33b53744c4fb16c5015
Author: Sven Eden  gmx  net>
AuthorDate: Tue Apr 12 12:28:39 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed May  4 22:00:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5edb3223

sci-misc/boinc: New ebuild for boinc-7.2.42 with vsyscall check

Gentoo-Bug: 577490, 578750

The ebuild is essentially the same as for the new boinc-7.6.31 with
the following exception:

The 7.2 series can not be built with wxGTK:3.0, therefore this ebuild
uses wxGTK:2.8.

Further a check against VSYSCALL kernel options has been added.
Russell Knighton found out, that some projects segfault if VSYSCALL
mappings are completely disabled, and reported the issue in bug
578750.

The check against CONFIG_LEGACY_VSYSCALL_NONE and
CONFIG_X86_VSYSCALL_EMULATION is based on his patch submitted in the
bug reported by him.

Package-Manager: portage-2.2.28

 sci-misc/boinc/Manifest|   1 +
 sci-misc/boinc/boinc-7.2.42.ebuild | 158 +
 2 files changed, 159 insertions(+)

diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index db934cd..01bb35e 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -1,3 +1,4 @@
 DIST boinc-7.2.0.tar.xz 25138432 SHA256 
714ac3a10bec41afc224e8343f5bc221a488eefca4592dbc9ce4eea2c10cad5e SHA512 
4ee360c14117cf4bbc26dfb48682462cdd15ca04b16f40b76562c0f5fa1a4531775762a1ce1f59960b4d0166a5d429af1279199f5140d3e112c72361ad01c46e
 WHIRLPOOL 
3d41bf1f80d04aa9ec576da18bbb6a8078c98060bd6167dcf6a75fa34619fb95831695fb145a8f4400ec0d99a743f42539751667fcbc505fba7c747c0e0bedfd
+DIST boinc-7.2.42.tar.gz 45420832 SHA256 
c4e9c6aef80db15afa3617804f6cdbf15586865d260b242a06197681a8ac86e6 SHA512 
c702597b2469e40cdb1fe4d47ac7b808a2f5702d7199e8bc4f2e50ec7a1058057f4edc6baec9ff64b877da788a13bd74049348286c7cbc98a7f73232f25749d0
 WHIRLPOOL 
ddade063072bef0a9dfcba50ce3878c8d0318e8ed607af045e7c7561296742dd66612d68d013be627692a3dbf54296b02dbc50533cd1d0d4a6b2deb53c99305e
 DIST boinc-7.4.42.tar.gz 44075908 SHA256 
2656727628cae8b15c39e48e08e0521aae345dd1cf4674c6730150500b30145f SHA512 
6eabb130d38c55b551ce216afcb8b4a27d9755c4a20dfc30e7ab0c7e8ba5ab5af6995348ec5fee6b9711aa85f7fdbcef78b05894873d8780f20c9e29e17c8ad1
 WHIRLPOOL 
3b61de0a5a443d457ceda3c01bf824fa5d9a72c7e5d8e8da1bf35f1510a7d3fb72dbbf8ce329b2f8ca18c82afc16852df0cd047d4870b06537ddff473277d655
 DIST boinc-7.6.31.tar.gz 43534132 SHA256 
133490409d4a8513024253dd22ccf6ab26f210226db97f2021fd75eb79a27f08 SHA512 
b2f35e7446bf01f4557a0d3c18ccad49a3e71d72fd25d69ff2e023ac51b1293ce3a7066ca0959e35301d1d99fc66eabf11dd89845ac120326f27fcdfa30fcdeb
 WHIRLPOOL 
0d5de909dbe8a7f961d221f01e2ffc57bacc72fc91ac26bdf30fff73f4ce80c1b60f5a7e782da8b8cda222a23455275fd96f18b902c77c971aa86a4c4a010641

diff --git a/sci-misc/boinc/boinc-7.2.42.ebuild 
b/sci-misc/boinc/boinc-7.2.42.ebuild
new file mode 100644
index 000..ae58b2d
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.2.42.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER=2.8
+
+inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda static-libs"
+
+RDEPEND="
+   !sci-misc/boinc-bin
+   !app-admin/quickswitch
+   >=app-misc/ca-certificates-20080809
+   dev-libs/openssl:0=
+   net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   sys-libs/glibc:2.2
+   virtual/jpeg:0=
+   x11-libs/gtk+:2
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+"
+
+S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+
+pkg_setup() {
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   else
+   if   kernel_is -ge 4 4 \
+ && linux_chkconfig_present LEGACY_VSYSCALL_NONE \
+ && ! linux_chkconfig_present X86_VSYSCALL_EMULATION; 
then
+

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-05-04 Thread David Seifert
commit: d785b6087dc8912fac7fabc437980d34df67bf74
Author: Sven Eden  gmx  net>
AuthorDate: Thu Apr 28 07:49:50 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed May  4 22:00:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d785b608

sci-misc/boinc: Removed obsolete ebuild for boinc-7.2.0

Gentoo-Bug: 577490

Made obsolete by the addition of the versioned 7.2.42 ebuild.

Package-Manager: portage-2.2.28

 sci-misc/boinc/boinc-7.2.0.ebuild | 146 --
 1 file changed, 146 deletions(-)

diff --git a/sci-misc/boinc/boinc-7.2.0.ebuild 
b/sci-misc/boinc/boinc-7.2.0.ebuild
deleted file mode 100644
index 648d390..000
--- a/sci-misc/boinc/boinc-7.2.0.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-#WANT_AUTOMAKE="1.11"
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils flag-o-matic eutils wxwidgets user
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/;
-SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda static-libs"
-
-RDEPEND="
-   !sci-misc/boinc-bin
-   !app-admin/quickswitch
-   >=app-misc/ca-certificates-20080809
-   dev-libs/openssl:0=
-   net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
-   sys-apps/util-linux
-   sys-libs/zlib
-   cuda? (
-   >=dev-util/nvidia-cuda-toolkit-2.1
-   >=x11-drivers/nvidia-drivers-180.22
-   )
-   X? (
-   dev-db/sqlite:3
-   media-libs/freeglut
-   sys-libs/glibc:2.2
-   virtual/jpeg:0=
-   x11-libs/gtk+:2
-   >=x11-libs/libnotify-0.7
-   x11-libs/wxGTK:2.8[X,opengl]
-   )
-"
-DEPEND="${RDEPEND}
-   sys-devel/gettext
-   app-text/docbook-xml-dtd:4.4
-   app-text/docbook2X
-"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-fix_subdirs.patch
-)
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-src_prepare() {
-   # prevent bad changes in compile flags, bug 286701
-   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
-
-   autotools-utils_src_prepare
-}
-
-src_configure() {
-   local wxconf=""
-
-   # add gtk includes
-   append-flags "$(pkg-config --cflags gtk+-2.0)"
-
-   # look for wxGTK
-   if use X; then
-   WX_GTK_VER="2.8"
-   need-wxwidgets unicode
-   wxconf+=" --with-wx-config=${WX_CONFIG}"
-   else
-   wxconf+=" --without-wxdir"
-   fi
-
-   local myeconfargs=(
-   --disable-server
-   --enable-client
-   --enable-dynamic-client-linkage
-   --disable-static
-   --enable-unicode
-   --with-ssl
-   $(use_with X x)
-   $(use_enable X manager)
-   ${wxconf}
-   )
-   autotools-utils_src_configure
-}
-
-src_install() {
-   autotools-utils_src_install
-
-   dodir /var/lib/${PN}/
-   keepdir /var/lib/${PN}/
-
-   if use X; then
-   newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png 
${PN}.png || die
-   make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" 
"Path=/var/lib/${PN}"
-   fi
-
-   # cleanup cruft
-   rm -rf "${ED}"/etc/
-
-   newinitd "${FILESDIR}"/${PN}.init ${PN}
-   newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_preinst() {
-   enewgroup ${PN}
-   # note this works only for first install so we have to
-   # elog user about the need of being in video group
-   if use cuda; then
-   enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},video"
-   else
-   enewuser ${PN} -1 -1 /var/lib/${PN} "${PN}"
-   fi
-}
-
-pkg_postinst() {
-   echo
-   elog "You are using the source compiled version of ${PN}."
-   use X && elog "The graphical manager can be found at /usr/bin/${PN}mgr"
-   elog
-   elog "You need to attach to a project to do anything useful with ${PN}."
-   elog "You can do this by running /etc/init.d/${PN} attach"
-   elog "The howto for configuration is located at:"
-   elog "http://boinc.berkeley.edu/wiki/Anonymous_platform;
-   elog
-   # Add warning about the new password for the client, bug 121896.
-   if use X; then
-   elog "If you need to use the graphical manager the password is 
in:"
-   elog "/var/lib/${PN}/gui_rpc_auth.cfg"
-   elog "Where /var/lib/ is default RUNTIMEDIR, that can be 
changed in:"
-   elog "/etc/conf.d/${PN}"
-   elog "You should change this password to something more 
memorable (can be even blank)."
-   elog "Remember to launch init script before using 

[gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/

2016-05-04 Thread David Seifert
commit: 0b2cd7eed3b49453911bf5d9e2fd18db725d2a35
Author: Sven Eden  gmx  net>
AuthorDate: Thu Apr 28 08:08:16 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed May  4 22:00:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b2cd7ee

sci-misc/boinc: New r2 ebuild for boinc-7.4.42 with vsyscall fix

Gentoo-Bug: 577490, 578750

A check against VSYSCALL kernel options was added.
Russell Knighton found out, that some projects segfault if VSYSCALL
mappings are completely disabled, and reported the issue in bug
578750.

The check against CONFIG_LEGACY_VSYSCALL_NONE and
CONFIG_X86_VSYSCALL_EMULATION is based on his patch submitted in the
bug reported by him.

Package-Manager: portage-2.2.28

 sci-misc/boinc/boinc-7.4.42-r2.ebuild | 158 ++
 1 file changed, 158 insertions(+)

diff --git a/sci-misc/boinc/boinc-7.4.42-r2.ebuild 
b/sci-misc/boinc/boinc-7.4.42-r2.ebuild
new file mode 100644
index 000..f1c2408
--- /dev/null
+++ b/sci-misc/boinc/boinc-7.4.42-r2.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER=3.0
+
+inherit autotools flag-o-matic linux-info systemd user versionator wxwidgets
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
+HOMEPAGE="http://boinc.ssl.berkeley.edu/;
+SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X cuda static-libs"
+
+RDEPEND="
+   !sci-misc/boinc-bin
+   !app-admin/quickswitch
+   >=app-misc/ca-certificates-20080809
+   dev-libs/openssl:0=
+   net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
+   sys-apps/util-linux
+   sys-libs/zlib
+   cuda? (
+   >=dev-util/nvidia-cuda-toolkit-2.1
+   >=x11-drivers/nvidia-drivers-180.22
+   )
+   X? (
+   dev-db/sqlite:3
+   media-libs/freeglut
+   sys-libs/glibc:2.2
+   virtual/jpeg:0=
+   x11-libs/gtk+:2
+   >=x11-libs/libnotify-0.7
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
+   )
+"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+   app-text/docbook-xml-dtd:4.4
+   app-text/docbook2X
+"
+
+S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
+
+pkg_setup() {
+   if use kernel_linux; then
+   linux-info_pkg_setup
+   if ! linux_config_exists; then
+   ewarn "Can't check the linux kernel configuration."
+   ewarn "You might be missing vsyscall support."
+   else
+   if   kernel_is -ge 4 4 \
+ && linux_chkconfig_present LEGACY_VSYSCALL_NONE \
+ && ! linux_chkconfig_present X86_VSYSCALL_EMULATION; 
then
+   ewarn "You do have neither x86 vsyscall 
emulation"
+   ewarn "nor legacy vsyscall support enabled."
+   ewarn "This will prevent some boinc projects 
from running."
+   ewarn "Please enable vsyscall emulation:"
+   ewarn "CONFIG_X86_VSYSCALL_EMULATION=y"
+   ewarn "in /usr/src/linux/.config, to be found 
at"
+   ewarn "Processor type and features --->"
+   ewarn "[*] Enable vsyscall emulation"
+   ewarn "or set"
+   ewarn "CONFIG_LEGACY_VSYSCALL_EMULATE=y"
+   ewarn "in /usr/src/linux/.config, to be found 
at"
+   ewarn "Processor type and features --->"
+   ewarn "vsyscall table for legacy 
applications (None) --->"
+   ewarn "(X) Emulate"
+   ewarn "Alternatively, you can enable 
CONFIG_LEGACY_VSYSCALL_NATIVE."
+   ewarn "However, this has security implications 
and is not recommended."
+   fi
+   fi
+   fi
+}
+
+src_prepare() {
+   # prevent bad changes in compile flags, bug 286701
+   sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
+
+   eautoreconf
+
+   use X && need-wxwidgets unicode
+}
+
+src_configure() {
+   econf --disable-server \
+   --enable-client \
+   --enable-dynamic-client-linkage \
+   --disable-static \
+   --enable-unicode \
+   --with-ssl \
+   $(use_with X x) \
+   $(use_enable X manager) \
+   $(usex X --with-wx-config="${WX_CONFIG}" 

  1   2   >