1
0
forked from pool/boinc-client

Accepting request 832542 from network

- Update to release 7.16.11

OBS-URL: https://build.opensuse.org/request/show/832542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boinc-client?expand=0&rev=46
This commit is contained in:
Dominique Leuenberger 2020-09-25 14:30:42 +00:00 committed by Git OBS Bridge
commit efbf5ea4d8
5 changed files with 39 additions and 99 deletions

3
7.16.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a3f9453b16acfd8c636d18b4939c461c751aa1dd9e108cf60b90a3909bfa0a9
size 49621256

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:caa567da8d3eb50859efe2eeba1c23c7b27d3b0f15b548136e75302713b25303
size 47920766

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Sep 5 20:00:16 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 7.16.11
* Changes to build procedure for other platforms
* A locale-related fix is included
-------------------------------------------------------------------
Tue Aug 25 20:49:05 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 7.16.9
* Linux client: fix X-based idle detection
* Drop X11 fallback as Wayland can show a desktop session with no
X11 servers, but XWayland can be started temporarily (and is
useless for idle detection).
* client: avoid CPU starvation when GPU computing is suspended
* client: do nott allow an empty GUI RPC password
* client: let a project master URL change from http: to https: without involving the user.
* Fix CORS for GUI RPC via HTTP
* Converted Java parts to Kotlin
* transitioner: Fix race condition with file_upload_handler
- Drop boinc-guirpcauth.patch (mostly merged; upstream has a
slightly different solution, though)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 22 13:59:26 UTC 2020 - Paolo Stivanin <info@paolostivanin.com> Wed Apr 22 13:59:26 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -36,7 +36,7 @@
Name: boinc-client Name: boinc-client
%define rel_name %{name}_release %define rel_name %{name}_release
%define minor_version 7.16 %define minor_version 7.16
Version: %{minor_version}.6 Version: %{minor_version}.11
Release: 0 Release: 0
Summary: Client for Berkeley Open Infrastructure for Network Computing Summary: Client for Berkeley Open Infrastructure for Network Computing
License: GPL-3.0-or-later OR LGPL-3.0-or-later License: GPL-3.0-or-later OR LGPL-3.0-or-later
@ -54,13 +54,10 @@ Source6: boinc-manager
Source10: %{name}.init Source10: %{name}.init
Source20: %{name}.service Source20: %{name}.service
Source100: %{name}-rpmlintrc Source100: %{name}-rpmlintrc
Patch1: boinc-guirpcauth.patch
Patch2: boinc-docbook2x.patch Patch2: boinc-docbook2x.patch
Patch4: xlocale.patch Patch4: xlocale.patch
Patch5: build-client-scripts.patch Patch5: build-client-scripts.patch
Patch6: libboinc-shared.patch Patch6: libboinc-shared.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
BuildRequires: Mesa-devel BuildRequires: Mesa-devel
BuildRequires: docbook2x BuildRequires: docbook2x
BuildRequires: docbook_4 BuildRequires: docbook_4
@ -78,33 +75,19 @@ BuildRequires: pkg-config
BuildRequires: pwdutils BuildRequires: pwdutils
BuildRequires: sqlite3-devel BuildRequires: sqlite3-devel
BuildRequires: xorg-x11-libXmu-devel BuildRequires: xorg-x11-libXmu-devel
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-util)
BuildRequires: pkgconfig(xi)
Requires(pre): pwdutils Requires(pre): pwdutils
Requires: ca-certificates-mozilla Requires: ca-certificates-mozilla
Recommends: boinc-client-lang = %{version} Recommends: boinc-client-lang = %{version}
Recommends: logrotate Recommends: logrotate
#
%if 0%{?suse_version} >= 1310
BuildRequires: libXi-devel
BuildRequires: libxcb-devel
BuildRequires: xcb-util-devel
%else
BuildRequires: xorg-x11-libxcb-devel
%endif
#
%if 0%{?suse_version} >= 1210
BuildRequires: pkgconfig(systemd)
%define has_systemd 1
%else
Requires(pre): %fillup_prereq
Requires(pre): %insserv_prereq
%endif
#
%if %{with manager} %if %{with manager}
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: wxWidgets-3_0-devel >= 3.0.2 BuildRequires: wxWidgets-3_0-devel >= 3.0.2
%lang_package -n boinc-manager %lang_package -n boinc-manager
%endif %endif
#
%lang_package %lang_package
%description %description
@ -113,7 +96,7 @@ software platform which supports distributed computing, primarily in
the form of "volunteer" computing and "desktop grid" computing. It is the form of "volunteer" computing and "desktop grid" computing. It is
well suited for problems which are often described as "trivially well suited for problems which are often described as "trivially
parallel". BOINC is the underlying software used by projects such as parallel". BOINC is the underlying software used by projects such as
SETI@home, Einstein@Home, ClimatePrediciton.net, the World Community Einstein@Home, ClimatePrediciton.net, the World Community
Grid, and many other distributed computing projects. Grid, and many other distributed computing projects.
This package installs the BOINC client software, which will allow This package installs the BOINC client software, which will allow
@ -156,8 +139,7 @@ This package contains development files for libboinc.
%prep %prep
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%setup -q -n %{name}_release-%{minor_version}-%{version} -D -a 1 %autosetup -p1 -n %{name}_release-%{minor_version}-%{version} -D -a 1
%patch -P 1 -P 2 -P 4 -P 5 -P 6 -p1
%build %build
# Fix default path for boincscr # Fix default path for boincscr
@ -206,19 +188,19 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# Export Path and make # Export Path and make
make clean %{?_smp_mflags} make clean %{?_smp_mflags}
make libboinc_la_LIBADD="-L%{_libdir} -lssl -ldl" \ make libboinc_la_LIBADD="-L%{_libdir} -lssl -ldl" \
CFLAGS="%{optflags} -g -W -pipe -fno-strict-aliasing -D_REENTRANT" \ CFLAGS="%{optflags} -W -pipe -fno-strict-aliasing -D_REENTRANT" \
CXXFLAGS="%{optflags} -g -W -pipe -fno-strict-aliasing -D_REENTRANT" \ CXXFLAGS="%{optflags} -W -pipe -fno-strict-aliasing -D_REENTRANT" \
DESTDIR=%{_prefix} %{?_smp_mflags} DESTDIR=%{_prefix} %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
%if %{with manager} %if %{with manager}
for i in clientgui locale; do for i in clientgui locale; do
%else %else
for i in locale; do for i in locale; do
%endif %endif
pushd $i pushd $i
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
popd popd
done done
@ -260,15 +242,10 @@ rm -f %{buildroot}%{_sysconfdir}/sysconfig/%{name}
# Install init and create symlink for rcboinc # Install init and create symlink for rcboinc
install -dm0755 %{buildroot}%{_sbindir} install -dm0755 %{buildroot}%{_sbindir}
%if 0%{?has_systemd}
install -D -m0644 %{SOURCE20} %{buildroot}%{_unitdir}/%{name}.service install -D -m0644 %{SOURCE20} %{buildroot}%{_unitdir}/%{name}.service
# And remove sysvinit script installed by boinc # And remove sysvinit script installed by boinc
rm -r %{buildroot}/%{_initddir} rm -r %{buildroot}/%{_initddir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
%else
install -Dm0755 %{SOURCE10} %{buildroot}%{_initddir}/%{name}
/bin/ln -sf %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
%endif
# Install template for sysconfig # Install template for sysconfig
install -Dm0644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.%{name} install -Dm0644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.%{name}
@ -326,33 +303,18 @@ if [ -f %{_sysconfdir}/sysconfig/%{name} ]; then
mv -f %{_sysconfdir}/sysconfig/%{name} %{_sysconfdir}/sysconfig/%{name}.save mv -f %{_sysconfdir}/sysconfig/%{name} %{_sysconfdir}/sysconfig/%{name}.save
fi fi
fi fi
%if 0%{?has_systemd}
%service_add_pre %{name}.service %service_add_pre %{name}.service
%endif
%preun %preun
%if 0%{?has_systemd}
%service_del_preun %{name}.service %service_del_preun %{name}.service
%else
%stop_on_removal %{name}
%endif
%post %post
%if 0%{?has_systemd}
%{fillup_only} %{fillup_only}
%service_add_post %{name}.service %service_add_post %{name}.service
%else
%fillup_and_insserv %{name}
%endif
%{_sbindir}/usermod -c "BOINC Client" -s /sbin/nologin boinc 2>/dev/null || : %{_sbindir}/usermod -c "BOINC Client" -s /sbin/nologin boinc 2>/dev/null || :
%postun %postun
%if 0%{?has_systemd}
%service_del_postun %{name}.service %service_del_postun %{name}.service
%else
%restart_on_update %{name}
%insserv_cleanup
%endif
%post -n boinc-manager %post -n boinc-manager
%{_bindir}/touch --no-create %{_datadir}/icons/hicolor || : %{_bindir}/touch --no-create %{_datadir}/icons/hicolor || :
@ -371,7 +333,6 @@ fi
%postun -n libboinc%{sonum} -p /sbin/ldconfig %postun -n libboinc%{sonum} -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-)
%license COPYING* COPYRIGHT %license COPYING* COPYRIGHT
%doc README.SUSE %doc README.SUSE
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
@ -382,26 +343,15 @@ fi
%{_bindir}/switcher %{_bindir}/switcher
%{_mandir}/man1/boinccmd.1.gz %{_mandir}/man1/boinccmd.1.gz
%{_mandir}/man1/boinc.1.gz %{_mandir}/man1/boinc.1.gz
%if 0%{?has_systemd}
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service
%else
%{_initddir}/%{name}
%endif
%{_sbindir}/rc%{name} %{_sbindir}/rc%{name}
%{_fillupdir}/sysconfig.%{name} %{_fillupdir}/sysconfig.%{name}
%defattr(-,boinc,boinc,-) %attr(-,boinc,boinc) %{boinc_dir}/
%{boinc_dir}/
%files -n %{name}-lang -f BOINC-Client.lang %files -n %{name}-lang -f BOINC-Client.lang
%defattr(-,root,root)
%if 0%{?sles_version} == 11
%dir %{_datadir}/locale/fa_IR
%dir %{_datadir}/locale/fa_IR/LC_MESSAGES
%endif
%if %{with manager} %if %{with manager}
%files -n boinc-manager %files -n boinc-manager
%defattr(-,root,root,-)
%{_bindir}/boinc-gui %{_bindir}/boinc-gui
%{_bindir}/boinc-manager %{_bindir}/boinc-manager
%{_bindir}/boincmgr %{_bindir}/boincmgr
@ -413,15 +363,12 @@ fi
%{_mandir}/man1/boinc-manager.1.gz %{_mandir}/man1/boinc-manager.1.gz
%files -n boinc-manager-lang -f BOINC-Manager.lang %files -n boinc-manager-lang -f BOINC-Manager.lang
%defattr(-,root,root)
%endif %endif
%files -n libboinc%{sonum} %files -n libboinc%{sonum}
%defattr(-,root,root,-)
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files -n libboinc-devel %files -n libboinc-devel
%defattr(-,root,root,-)
%{_libdir}/*.a %{_libdir}/*.a
%{_libdir}/*.so %{_libdir}/*.so
%{_includedir}/boinc %{_includedir}/boinc

View File

@ -1,31 +0,0 @@
From: <saigkill@opensuse.org>
Date: 2011-04-28 17:29:54 +0000
X-Upstream: no
Create password file rw for group, this enables passwordless connection
of manager from users of the boinc group. This won't be probably
upstreamed as it might be unsafe for common usage without setting
proper group ownership of the password file.
---
client/gui_rpc_server.cpp | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
Index: boinc-client_release-7.8-7.8.3/client/gui_rpc_server.cpp
===================================================================
--- boinc-client_release-7.8-7.8.3.orig/client/gui_rpc_server.cpp
+++ boinc-client_release-7.8-7.8.3/client/gui_rpc_server.cpp
@@ -176,12 +176,7 @@ void GUI_RPC_CONN_SET::get_password() {
// they can cause code to execute as this user.
// So better protect it.
//
- if (g_use_sandbox) {
- // Allow group access so authorized administrator can modify it
- chmod(GUI_RPC_PASSWD_FILE, S_IRUSR|S_IWUSR | S_IRGRP | S_IWGRP);
- } else {
- chmod(GUI_RPC_PASSWD_FILE, S_IRUSR|S_IWUSR);
- }
+ chmod(GUI_RPC_PASSWD_FILE, S_IRUSR|S_IWUSR | S_IRGRP | S_IWGRP);
#endif
}