From 62dc8b6c43e3ff654dfd3ed6c1cc0e997983484230272bcf13b3fa18cad97159 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 7 Jun 2022 21:43:40 +0000 Subject: [PATCH] - Update to release 7.20.0 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=96 --- 7.18.1.tar.gz | 3 -- 7.20.0.tar.gz | 3 ++ boinc-client.changes | 15 +++++++++ boinc-client.spec | 17 +++++----- libboinc-shared.patch | 72 ++++++++++++++++++++++++------------------- 5 files changed, 68 insertions(+), 42 deletions(-) delete mode 100644 7.18.1.tar.gz create mode 100644 7.20.0.tar.gz diff --git a/7.18.1.tar.gz b/7.18.1.tar.gz deleted file mode 100644 index fc590d2..0000000 --- a/7.18.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:274388d9c49e488b6c8502ffc6eb605d5ceae391fb0c2fc56dbb0254d0ceb27e -size 50851883 diff --git a/7.20.0.tar.gz b/7.20.0.tar.gz new file mode 100644 index 0000000..2fc8638 --- /dev/null +++ b/7.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:350238753fce0249b71eb928e62b387020c726dc3e49e60155d99e698781b59a +size 46553409 diff --git a/boinc-client.changes b/boinc-client.changes index 9d50a4c..1bbda2a 100644 --- a/boinc-client.changes +++ b/boinc-client.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Jun 7 21:04:38 UTC 2022 - Jan Engelhardt + +- Update to release 7.20.0 + * client: pass process priority to wrapper + * client: Ignore tty(S|ACM) devices in TTY idle time + calculation + * client: fix overly aggressive project-wide file transfer + backoff policy + * client: fix work-fetch logic when max concurrent limits are + used + * manager: fix failure to connect to client with non-English + language +- Let -devel subpackage follow the main package name. + ------------------------------------------------------------------- Sat Oct 23 16:17:52 UTC 2021 - Aaron Puchert diff --git a/boinc-client.spec b/boinc-client.spec index c0baba1..71a4505 100644 --- a/boinc-client.spec +++ b/boinc-client.spec @@ -1,7 +1,7 @@ # # spec file for package boinc-client # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2016 by Aaron Puchert # Copyright (c) 2011 by Sascha Manns # @@ -35,8 +35,8 @@ Name: boinc-client %define rel_name %{name}_release -%define minor_version 7.18 -Version: %{minor_version}.1 +%define minor_version 7.20 +Version: %{minor_version}.0 Release: 0 Summary: Client for Berkeley Open Infrastructure for Network Computing License: GPL-3.0-or-later OR LGPL-3.0-or-later @@ -124,14 +124,16 @@ Group: System/Libraries The Berkeley Open Infrastructure for Network Computing (BOINC) is a software platform which supports distributed computing. -%package -n libboinc-devel +%package devel Summary: Development files for libboinc Group: Development/Libraries/C and C++ Requires: libboinc%{sonum} = %{version}-%{release} Conflicts: %{name}-devel Requires: openssl-devel +Obsoletes: libboinc-devel < %{version}-%{release} +Provides: libboinc-devel = %{version}-%{release} -%description -n libboinc-devel +%description devel This package contains development files for libboinc. %prep @@ -190,7 +192,7 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool # Export Path and make -make clean %{?_smp_mflags} +%make_build clean make libboinc_la_LIBADD="-L%{_libdir} -lssl -ldl" \ DESTDIR=%{_prefix} %{?_smp_mflags} V=1 @@ -356,9 +358,10 @@ fi %files -n libboinc%{sonum} %{_libdir}/*.so.* -%files -n libboinc-devel +%files devel %{_libdir}/*.a %{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc %{_includedir}/boinc %changelog diff --git a/libboinc-shared.patch b/libboinc-shared.patch index bef1736..5541189 100644 --- a/libboinc-shared.patch +++ b/libboinc-shared.patch @@ -1,4 +1,10 @@ -Build shared libraries for client and static libraries for science apps. +Date: Tue Jul 24 20:06:29 UTC 2018 +From: aaronpuchert@alice-dsl.net + +Build shared libraries for client and static libraries for science +apps. Science apps are distributed as binaries over the BOINC +network, so dynamic linking doesn't make sense. But we can use +dynamic linking for the client. --- api/Makefile.am | 6 +++--- @@ -12,19 +18,20 @@ Build shared libraries for client and static libraries for science apps. vda/Makefile.am | 1 - 9 files changed, 8 insertions(+), 14 deletions(-) -Index: boinc-client_release-7.18-7.18.0/api/Makefile.am +Index: boinc-client_release-7.20-7.20.0/api/Makefile.am =================================================================== ---- boinc-client_release-7.18-7.18.0.orig/api/Makefile.am -+++ boinc-client_release-7.18-7.18.0/api/Makefile.am -@@ -43,18 +43,18 @@ endif - +--- boinc-client_release-7.20-7.20.0.orig/api/Makefile.am ++++ boinc-client_release-7.20-7.20.0/api/Makefile.am +@@ -44,20 +44,20 @@ endif lib_LTLIBRARIES = libboinc_api.la + pkgconfig_DATA = libboinc_api.pc libboinc_api_la_SOURCES = $(api_files) -libboinc_api_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) +libboinc_api_la_LDFLAGS = -static -version-number $(LIBBOINC_VERSION) if BUILD_GRAPHICS_API lib_LTLIBRARIES += libboinc_graphics2.la + pkgconfig_DATA += libboinc_graphics2.pc libboinc_graphics2_la_SOURCES = $(graphics2_files) libboinc_graphics2_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/samples/image_libs -libboinc_graphics2_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) -ljpeg @@ -32,16 +39,17 @@ Index: boinc-client_release-7.18-7.18.0/api/Makefile.am endif #BUILD_GRAPHICS_API lib_LTLIBRARIES += libboinc_opencl.la + pkgconfig_DATA += libboinc_opencl.pc libboinc_opencl_la_SOURCES = $(opencl_files) -libboinc_opencl_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) +libboinc_opencl_la_LDFLAGS = -static -version-number $(LIBBOINC_VERSION) if INSTALL_HEADERS ## install only headers that are meant for exporting the API !! -Index: boinc-client_release-7.18-7.18.0/apps/Makefile.am +Index: boinc-client_release-7.20-7.20.0/apps/Makefile.am =================================================================== ---- boinc-client_release-7.18-7.18.0.orig/apps/Makefile.am -+++ boinc-client_release-7.18-7.18.0/apps/Makefile.am +--- boinc-client_release-7.20-7.20.0.orig/apps/Makefile.am ++++ boinc-client_release-7.20-7.20.0/apps/Makefile.am @@ -8,15 +8,15 @@ example_PROGRAMS = upper_case concat 1se upper_case_SOURCES = upper_case.cpp @@ -61,10 +69,10 @@ Index: boinc-client_release-7.18-7.18.0/apps/Makefile.am -1sec_LDFLAGS = -static-libtool-libs $(PTHREAD_CFLAGS) +1sec_LDFLAGS = $(PTHREAD_CFLAGS) 1sec_LDADD = $(APPLIBS) -Index: boinc-client_release-7.18-7.18.0/client/Makefile.am +Index: boinc-client_release-7.20-7.20.0/client/Makefile.am =================================================================== ---- boinc-client_release-7.18-7.18.0.orig/client/Makefile.am -+++ boinc-client_release-7.18-7.18.0/client/Makefile.am +--- boinc-client_release-7.20-7.20.0.orig/client/Makefile.am ++++ boinc-client_release-7.20-7.20.0/client/Makefile.am @@ -6,7 +6,6 @@ CXXFLAGS := $(filter-out -mfpu=vfpv3-d16 include $(top_srcdir)/Makefile.incl @@ -73,10 +81,10 @@ Index: boinc-client_release-7.18-7.18.0/client/Makefile.am ## for an entirely statically linked library, you may want to try ## -all-static instead. There's a good chance it won't work properly, ## so we'll use the safer "-static-libtool-libs" by default. -Index: boinc-client_release-7.18-7.18.0/clientgui/Makefile.am +Index: boinc-client_release-7.20-7.20.0/clientgui/Makefile.am =================================================================== ---- boinc-client_release-7.18-7.18.0.orig/clientgui/Makefile.am -+++ boinc-client_release-7.18-7.18.0/clientgui/Makefile.am +--- boinc-client_release-7.20-7.20.0.orig/clientgui/Makefile.am ++++ boinc-client_release-7.20-7.20.0/clientgui/Makefile.am @@ -7,7 +7,6 @@ include $(top_srcdir)/Makefile.incl @@ -85,10 +93,10 @@ Index: boinc-client_release-7.18-7.18.0/clientgui/Makefile.am ## for an entirely statically linked library, you may want to try ## -all-static instead. There's a good chance it won't work properly, ## so we'll use the safer "-static-libtool-libs" by default. -Index: boinc-client_release-7.18-7.18.0/clientscr/Makefile.am +Index: boinc-client_release-7.20-7.20.0/clientscr/Makefile.am =================================================================== ---- boinc-client_release-7.18-7.18.0.orig/clientscr/Makefile.am -+++ boinc-client_release-7.18-7.18.0/clientscr/Makefile.am +--- boinc-client_release-7.20-7.20.0.orig/clientscr/Makefile.am ++++ boinc-client_release-7.20-7.20.0/clientscr/Makefile.am @@ -5,7 +5,6 @@ include $(top_srcdir)/Makefile.incl AM_LDFLAGS += -lpthread @@ -97,11 +105,11 @@ Index: boinc-client_release-7.18-7.18.0/clientscr/Makefile.am ## for an entirely statically linked library, you may want to try ## -all-static instead. There's a good chance it won't work properly, ## so we'll use the safer "-static-libtool-libs" by default. -Index: boinc-client_release-7.18-7.18.0/lib/Makefile.am +Index: boinc-client_release-7.20-7.20.0/lib/Makefile.am =================================================================== ---- boinc-client_release-7.18-7.18.0.orig/lib/Makefile.am -+++ boinc-client_release-7.18-7.18.0/lib/Makefile.am -@@ -186,7 +186,7 @@ lib_LTLIBRARIES = libboinc.la +--- boinc-client_release-7.20-7.20.0.orig/lib/Makefile.am ++++ boinc-client_release-7.20-7.20.0/lib/Makefile.am +@@ -186,7 +186,7 @@ pkgconfig_DATA = libboinc.pc libboinc_la_SOURCES = $(generic_sources) $(mac_sources) $(win_sources) libboinc_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) libboinc_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) @@ -110,7 +118,7 @@ Index: boinc-client_release-7.18-7.18.0/lib/Makefile.am if OS_FREEBSD libboinc_la_LDFLAGS += -lexecinfo endif -@@ -197,7 +197,7 @@ lib_LTLIBRARIES += libboinc_crypt.la +@@ -198,7 +198,7 @@ pkgconfig_DATA += libboinc_crypt.pc libboinc_crypt_la_SOURCES = crypt.cpp libboinc_crypt_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) $(SSL_CFLAGS) libboinc_crypt_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) $(SSL_CXXFLAGS) @@ -119,10 +127,10 @@ Index: boinc-client_release-7.18-7.18.0/lib/Makefile.am libboinc_crypt_la_LIBADD = endif -Index: boinc-client_release-7.18-7.18.0/sched/Makefile.am +Index: boinc-client_release-7.20-7.20.0/sched/Makefile.am =================================================================== ---- boinc-client_release-7.18-7.18.0.orig/sched/Makefile.am -+++ boinc-client_release-7.18-7.18.0/sched/Makefile.am +--- boinc-client_release-7.20-7.20.0.orig/sched/Makefile.am ++++ boinc-client_release-7.20-7.20.0/sched/Makefile.am @@ -4,7 +4,6 @@ include $(top_srcdir)/Makefile.incl @@ -131,10 +139,10 @@ Index: boinc-client_release-7.18-7.18.0/sched/Makefile.am if ENABLE_LIBRARIES -Index: boinc-client_release-7.18-7.18.0/tools/Makefile.am +Index: boinc-client_release-7.20-7.20.0/tools/Makefile.am =================================================================== ---- boinc-client_release-7.18-7.18.0.orig/tools/Makefile.am -+++ boinc-client_release-7.18-7.18.0/tools/Makefile.am +--- boinc-client_release-7.20-7.20.0.orig/tools/Makefile.am ++++ boinc-client_release-7.20-7.20.0/tools/Makefile.am @@ -42,7 +42,6 @@ dist_tools_DATA = \ gui_urls.xml @@ -143,10 +151,10 @@ Index: boinc-client_release-7.18-7.18.0/tools/Makefile.am cancel_jobs_SOURCES = cancel_jobs.cpp cancel_jobs_LDADD = $(SERVERLIBS) -Index: boinc-client_release-7.18-7.18.0/vda/Makefile.am +Index: boinc-client_release-7.20-7.20.0/vda/Makefile.am =================================================================== ---- boinc-client_release-7.18-7.18.0.orig/vda/Makefile.am -+++ boinc-client_release-7.18-7.18.0/vda/Makefile.am +--- boinc-client_release-7.20-7.20.0.orig/vda/Makefile.am ++++ boinc-client_release-7.20-7.20.0/vda/Makefile.am @@ -4,7 +4,6 @@ vdadir=$(prefix)/lib/boinc-server-maker/ vda_PROGRAMS = vda vdad ssim