diff options
author | Gianfranco Costamagna <costamagna.gianfranco@gmail.com> | 2022-01-27 11:48:59 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-01-27 08:58:47 -0800 |
commit | 7d03e44490a4596b43b3b3a0586315c936cd6e0f (patch) | |
tree | 29e4af841ee2de9d9696b38500e27cb2145f67bd | |
parent | aa22894fa352986a62c4530ad8facd8868b2e535 (diff) | |
download | meta-openembedded-7d03e44490a4596b43b3b3a0586315c936cd6e0f.tar.gz |
boinc-client: Update to 7.18.1
* update to 7.18.1 and unblacklist
* Add openssl 3.0 build fix provided by upstream
* fix the sed command to work with the correct new libtool named file
* refresh patches
* drop patch part that is added in one patch and removed in the following one
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 1 | ||||
-rw-r--r-- | meta-oe/recipes-extended/boinc/boinc-client/4563.patch | 36 | ||||
-rw-r--r-- | meta-oe/recipes-extended/boinc/boinc-client/boinc-AM_CONDITIONAL.patch | 11 | ||||
-rw-r--r-- | meta-oe/recipes-extended/boinc/boinc-client/gtk-configure.patch | 10 | ||||
-rw-r--r-- | meta-oe/recipes-extended/boinc/boinc-client_7.18.1.bb (renamed from meta-oe/recipes-extended/boinc/boinc-client_7.16.16.bb) | 12 |
5 files changed, 45 insertions, 25 deletions
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb index 3cf33c6943..a600b24cc3 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | |||
@@ -333,6 +333,7 @@ RDEPENDS:packagegroup-meta-oe-devtools:remove:x86 = "ply" | |||
333 | 333 | ||
334 | RDEPENDS:packagegroup-meta-oe-extended ="\ | 334 | RDEPENDS:packagegroup-meta-oe-extended ="\ |
335 | bitwise \ | 335 | bitwise \ |
336 | ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland opengl", "boinc-client", "", d)} \ | ||
336 | brotli \ | 337 | brotli \ |
337 | byacc \ | 338 | byacc \ |
338 | cmatrix \ | 339 | cmatrix \ |
diff --git a/meta-oe/recipes-extended/boinc/boinc-client/4563.patch b/meta-oe/recipes-extended/boinc/boinc-client/4563.patch new file mode 100644 index 0000000000..a18da45395 --- /dev/null +++ b/meta-oe/recipes-extended/boinc/boinc-client/4563.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 689dc20ede9768377d4032ff8c70b58269c8dc9c Mon Sep 17 00:00:00 2001 | ||
2 | From: Charlie Fenton <charlief@example.com> | ||
3 | Date: Mon, 18 Oct 2021 01:43:08 -0700 | ||
4 | Subject: [PATCH 01/10] Mac: update dependent libraries to latest: | ||
5 | c-ares-1.17.2, curl-7.79.1, freetype-2.11.0, openssl-3.0.0 Previously updated | ||
6 | to wxWidgets-3.1.5. FTGL version ftgl-2.1.3~rc5 is still the current | ||
7 | version. | ||
8 | |||
9 | --- | ||
10 | lib/crypt.cpp | 7 +- | ||
11 | 8 files changed, 199 insertions(+), 150 deletions(-) | ||
12 | |||
13 | diff --git a/lib/crypt.cpp b/lib/crypt.cpp | ||
14 | index 01249cfc340..9b1f69160b8 100644 | ||
15 | --- a/lib/crypt.cpp | ||
16 | +++ b/lib/crypt.cpp | ||
17 | @@ -1,6 +1,6 @@ | ||
18 | // This file is part of BOINC. | ||
19 | // http://boinc.berkeley.edu | ||
20 | -// Copyright (C) 2008 University of California | ||
21 | +// Copyright (C) 2021 University of California | ||
22 | // | ||
23 | // BOINC is free software; you can redistribute it and/or modify it | ||
24 | // under the terms of the GNU Lesser General Public License | ||
25 | @@ -672,7 +672,10 @@ int check_validity_of_cert( | ||
26 | } | ||
27 | #ifdef HAVE_OPAQUE_RSA_DSA_DH | ||
28 | RSA *rsa; | ||
29 | - rsa = EVP_PKEY_get0_RSA(pubKey); | ||
30 | + // CAUTION: In OpenSSL 3.0.0, EVP_PKEY_get0_RSA() now returns a | ||
31 | + // pointer of type "const struct rsa_st*" to an immutable value. | ||
32 | + // Do not try to modify the contents of the returned struct. | ||
33 | + rsa = (rsa_st*)EVP_PKEY_get0_RSA(pubKey); | ||
34 | if (!RSA_blinding_on(rsa, c)) { | ||
35 | #else | ||
36 | if (!RSA_blinding_on(pubKey->pkey.rsa, c)) { | ||
diff --git a/meta-oe/recipes-extended/boinc/boinc-client/boinc-AM_CONDITIONAL.patch b/meta-oe/recipes-extended/boinc/boinc-client/boinc-AM_CONDITIONAL.patch index 7c3b0325dd..0431f523e5 100644 --- a/meta-oe/recipes-extended/boinc/boinc-client/boinc-AM_CONDITIONAL.patch +++ b/meta-oe/recipes-extended/boinc/boinc-client/boinc-AM_CONDITIONAL.patch | |||
@@ -14,7 +14,7 @@ diff --git a/configure.ac b/configure.ac | |||
14 | index d81d795de4..7beeb34ae2 100644 | 14 | index d81d795de4..7beeb34ae2 100644 |
15 | --- a/configure.ac | 15 | --- a/configure.ac |
16 | +++ b/configure.ac | 16 | +++ b/configure.ac |
17 | @@ -63,6 +63,7 @@ m4_pattern_allow([AC_PROG_OBJCXX]) | 17 | @@ -59,6 +59,7 @@ m4_pattern_allow([AC_PROG_OBJCXX]) |
18 | m4_ifdef([AC_PROG_OBJCXX],[AC_PROG_OBJCXX],) | 18 | m4_ifdef([AC_PROG_OBJCXX],[AC_PROG_OBJCXX],) |
19 | dnl ------ | 19 | dnl ------ |
20 | AC_PROG_CPP | 20 | AC_PROG_CPP |
@@ -22,12 +22,3 @@ index d81d795de4..7beeb34ae2 100644 | |||
22 | AC_PROG_MAKE_SET | 22 | AC_PROG_MAKE_SET |
23 | SAH_LINKS | 23 | SAH_LINKS |
24 | AC_LANG_PUSH(C) | 24 | AC_LANG_PUSH(C) |
25 | @@ -1068,6 +1069,8 @@ AM_CONDITIONAL(ENABLE_BOINCCRYPT, [test "x${enable_server}" = xyes || test "x${ | ||
26 | AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes]) | ||
27 | AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so]) | ||
28 | |||
29 | +PKG_CHECK_MODULES([GTK2], [gtk+-2.0]) | ||
30 | + | ||
31 | dnl ====================================================================== | ||
32 | dnl some more vodoo required for building portable client-binary (client, clientgui) | ||
33 | dnl ====================================================================== | ||
diff --git a/meta-oe/recipes-extended/boinc/boinc-client/gtk-configure.patch b/meta-oe/recipes-extended/boinc/boinc-client/gtk-configure.patch index e060b1a40c..3b814e903c 100644 --- a/meta-oe/recipes-extended/boinc/boinc-client/gtk-configure.patch +++ b/meta-oe/recipes-extended/boinc/boinc-client/gtk-configure.patch | |||
@@ -14,7 +14,7 @@ diff --git a/configure.ac b/configure.ac | |||
14 | index 7beeb34ae2..35234c2762 100644 | 14 | index 7beeb34ae2..35234c2762 100644 |
15 | --- a/configure.ac | 15 | --- a/configure.ac |
16 | +++ b/configure.ac | 16 | +++ b/configure.ac |
17 | @@ -1018,6 +1018,11 @@ else | 17 | @@ -1044,6 +1044,11 @@ else |
18 | AM_CONDITIONAL([GUI_GTK], false) | 18 | AM_CONDITIONAL([GUI_GTK], false) |
19 | fi | 19 | fi |
20 | 20 | ||
@@ -26,11 +26,3 @@ index 7beeb34ae2..35234c2762 100644 | |||
26 | dnl ---------- libNotify -------------------------------------------------- | 26 | dnl ---------- libNotify -------------------------------------------------- |
27 | if test "${enable_manager}" = yes ; then | 27 | if test "${enable_manager}" = yes ; then |
28 | PKG_CHECK_MODULES(LIBNOTIFY, [libnotify]) | 28 | PKG_CHECK_MODULES(LIBNOTIFY, [libnotify]) |
29 | @@ -1069,7 +1074,6 @@ AM_CONDITIONAL(ENABLE_BOINCCRYPT, [test "x${enable_server}" = xyes || test "x${ | ||
30 | AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes]) | ||
31 | AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so]) | ||
32 | |||
33 | -PKG_CHECK_MODULES([GTK2], [gtk+-2.0]) | ||
34 | |||
35 | dnl ====================================================================== | ||
36 | dnl some more vodoo required for building portable client-binary (client, clientgui) | ||
diff --git a/meta-oe/recipes-extended/boinc/boinc-client_7.16.16.bb b/meta-oe/recipes-extended/boinc/boinc-client_7.18.1.bb index 79aaad9d85..114e39463c 100644 --- a/meta-oe/recipes-extended/boinc/boinc-client_7.16.16.bb +++ b/meta-oe/recipes-extended/boinc/boinc-client_7.18.1.bb | |||
@@ -16,7 +16,6 @@ global warming, discover sources of gravitational waves, and many other types \ | |||
16 | of scientific and mathematical research." | 16 | of scientific and mathematical research." |
17 | 17 | ||
18 | HOMEPAGE = "http://boinc.berkeley.edu/" | 18 | HOMEPAGE = "http://boinc.berkeley.edu/" |
19 | PNBLACKLIST[boinc-client] ?= "Needs porting to openssl 3.x" | ||
20 | LICENSE = "LGPLv2+ & GPLv3" | 19 | LICENSE = "LGPLv2+ & GPLv3" |
21 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 20 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ |
22 | file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6" | 21 | file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6" |
@@ -30,11 +29,12 @@ DEPENDS = "curl \ | |||
30 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+ libnotify xcb-util libxscrnsaver', '', d)} \ | 29 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+ libnotify xcb-util libxscrnsaver', '', d)} \ |
31 | nettle \ | 30 | nettle \ |
32 | " | 31 | " |
33 | SRCREV = "df0239e6f074207798a8ecf1358a74545dda9132" | 32 | SRCREV = "b49adfb118211e11c719766c0d71e7bdfe7f3363" |
34 | BRANCH = "client_release/7/7.16" | 33 | BRANCH = "client_release/7/7.18" |
35 | SRC_URI = "git://github.com/BOINC/boinc;protocol=https;branch=${BRANCH} \ | 34 | SRC_URI = "git://github.com/BOINC/boinc;protocol=https;branch=${BRANCH} \ |
36 | file://boinc-AM_CONDITIONAL.patch \ | 35 | file://boinc-AM_CONDITIONAL.patch \ |
37 | file://gtk-configure.patch \ | 36 | file://gtk-configure.patch \ |
37 | file://4563.patch \ | ||
38 | " | 38 | " |
39 | 39 | ||
40 | inherit gettext autotools pkgconfig features_check systemd | 40 | inherit gettext autotools pkgconfig features_check systemd |
@@ -70,9 +70,9 @@ do_configure:prepend () { | |||
70 | 70 | ||
71 | do_compile:prepend () { | 71 | do_compile:prepend () { |
72 | # Disable rpaths | 72 | # Disable rpaths |
73 | sed -i -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' ${B}/${TARGET_SYS}-libtool | 73 | sed -i -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' ${B}/libtool |
74 | sed -i -e 's|^sys_lib_dlsearch_path_spec=.*|sys_lib_dlsearch_path_spec=""|g' ${B}/${TARGET_SYS}-libtool | 74 | sed -i -e 's|^sys_lib_dlsearch_path_spec=.*|sys_lib_dlsearch_path_spec=""|g' ${B}/libtool |
75 | sed -i -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' ${B}/${TARGET_SYS}-libtool | 75 | sed -i -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' ${B}/libtool |
76 | } | 76 | } |
77 | 77 | ||
78 | do_install:append() { | 78 | do_install:append() { |