Skip to contentSkip to conversation

boinc-client: Upgrade to 7.16.16 release

PATCH New Khem Raj 1 participant 3 messages Feb 4, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/3 boinc-client: Upgrade to 7.16.16 release

Drop upstreamed patch

---
 .../boinc/boinc-client/opengl_m4_check.patch  | 28 -------------------
 ...client_7.16.bb => boinc-client_7.16.16.bb} |  5 ++--
 2 files changed, 2 insertions(+), 31 deletions(-)
 delete mode 100644 meta-oe/recipes-extended/boinc/boinc-client/opengl_m4_check.patch
 rename meta-oe/recipes-extended/boinc/{boinc-client_7.16.bb => boinc-client_7.16.16.bb} (96%)
meta-oe/recipes-extended/boinc/boinc-client/opengl_m4_check.patch deleted +0 -28
deleted file mode 100644
index ad4493f0b6..0000000000
@@ -1,28 +0,0 @@
-From 4f2dd929618f149087249f3c90cc056d5080b1e4 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Thu, 3 Nov 2016 01:20:33 -0700
-Subject: [PATCH] boinc: Add recipe for boinc-client
-
-Do not add prefix/lib to library search path
-let sysroot take care of that
-
-Signed-off-by: Khem Raj <[email protected]>
-Upstream-Status: Inappropriate[Cross-compile specific]
-
----
- m4/ax_check_gl.m4 | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/m4/ax_check_gl.m4 b/m4/ax_check_gl.m4
-index e26ce5b930..1e60c9266a 100644
---- a/m4/ax_check_gl.m4
-+++ b/m4/ax_check_gl.m4
-@@ -58,7 +58,7 @@ else
-     else
-       ax_try_lib="${ax_lib}"
-     fi
--    LIBS="-L${prefix}/lib ${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}"
-+    LIBS="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}"
-     AC_LINK_IFELSE(
-     [AC_LANG_PROGRAM([[
- # if HAVE_WINDOWS_H && defined(_WIN32)
meta-oe/recipes-extended/boinc/boinc-client_7.16.16.bb renamed from meta-oe/recipes-extended/boinc/boinc-client_7.16.bb +2 -3
similarity index 96%
rename from meta-oe/recipes-extended/boinc/boinc-client_7.16.bb
rename to meta-oe/recipes-extended/boinc/boinc-client_7.16.16.bb
index db90f06f46..441bcd3ac3 100644
@@ -29,11 +29,10 @@ DEPENDS = "curl \
            ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+ libnotify xcb-util libxscrnsaver', '', d)} \
            nettle \
 "
-SRCREV = "e0e033af9fca3cca84a3417ea6531ae25be73a7a"
-BRANCH = "client_release/7/${PV}"
+SRCREV = "df0239e6f074207798a8ecf1358a74545dda9132"
+BRANCH = "client_release/7/7.16"
 SRC_URI = "git://github.com/BOINC/boinc;protocol=https;branch=${BRANCH} \
            file://boinc-AM_CONDITIONAL.patch \
-           file://opengl_m4_check.patch \
            file://gtk-configure.patch \
 "
 
Signature · 1 line
2.30.0
author
#1 lore raw

PATCH 2/3 net-snmp: Remove hardcoded paths to build host in net-snmp-config

New autconf detects that NSC_LDFLAGS are hardcoded to use -L/usr/lib therefore edit these variables during build so that they have cross-compile friendly values when net-snmp-config is used during build of dependent packages

---
 .../recipes-protocols/net-snmp/net-snmp_5.9.bb | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb +8 -10
index 6a4d5b1eff..051e168f02 100644
@@ -103,11 +103,10 @@ do_configure_prepend() {
 }
 
 do_configure_append() {
-    if [ "${HAS_PERL}" = "1" ]; then
-        sed -e "s@^NSC_INCLUDEDIR=.*@NSC_INCLUDEDIR=${STAGING_DIR_TARGET}\$\{includedir\}@g" \
-            -e "s@^NSC_LIBDIR=-L.*@NSC_LIBDIR=-L${STAGING_DIR_TARGET}\$\{libdir\}@g" \
-            -i ${B}/net-snmp-config
-    fi
+    sed -e "s@^NSC_INCLUDEDIR=.*@NSC_INCLUDEDIR=${STAGING_DIR_TARGET}\$\{includedir\}@g" \
+        -e "s@^NSC_LIBDIR=-L.*@NSC_LIBDIR=-L${STAGING_DIR_TARGET}\$\{libdir\}@g" \
+        -e "s@^NSC_LDFLAGS=\"-L.* @NSC_LDFLAGS=\"-L${STAGING_DIR_TARGET}\$\{libdir\} @g" \
+        -i ${B}/net-snmp-config
 }
 
 do_install_append() {
@@ -135,11 +134,10 @@ do_install_append() {
     sed -e 's@${STAGING_DIR_HOST}@@g' \
         -i ${D}${libdir}/pkgconfig/netsnmp*.pc
 
-    if [ "${HAS_PERL}" = "1" ]; then
-        sed -e "s@^NSC_INCLUDEDIR=.*@NSC_INCLUDEDIR=\$\{includedir\}@g" \
-            -e "s@^NSC_LIBDIR=-L.*@NSC_LIBDIR=-L\$\{libdir\}@g" \
-            -i ${D}${bindir}/net-snmp-config
-    fi
+    sed -e "s@^NSC_INCLUDEDIR=.*@NSC_INCLUDEDIR=\$\{includedir\}@g" \
+        -e "s@^NSC_LIBDIR=-L.*@NSC_LIBDIR=-L\$\{libdir\}@g" \
+        -e "s@^NSC_LDFLAGS=\"-L.* @NSC_LDFLAGS=\"-L\$\{libdir\} @g" \
+        -i ${D}${bindir}/net-snmp-config
 
     oe_multilib_header net-snmp/net-snmp-config.h
 }
Signature · 1 line
2.30.0
author
#2 lore raw

PATCH 3/3 keepalived: Upgrade to 2.2.1

In reply to Khem Raj
---
 .../keepalived/{keepalived_2.1.5.bb => keepalived_2.2.1.bb}   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
 rename meta-networking/recipes-daemons/keepalived/{keepalived_2.1.5.bb => keepalived_2.2.1.bb} (92%)
meta-networking/recipes-daemons/keepalived/keepalived_2.2.1.bb renamed from meta-networking/recipes-daemons/keepalived/keepalived_2.1.5.bb +1 -3
similarity index 92%
rename from meta-networking/recipes-daemons/keepalived/keepalived_2.1.5.bb
rename to meta-networking/recipes-daemons/keepalived/keepalived_2.2.1.bb
index 1230fcaee2..a778d26097 100644
@@ -11,9 +11,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "http://www.keepalived.org/software/${BP}.tar.gz"
-SRC_URI[md5sum] = "27e1cfff5b8dd95062ad415957e663e5"
-SRC_URI[sha256sum] = "d94d7ccbc5c95ab39c95a0e5ae89a25a224f39b6811f2930d3a1885a69732259"
-
+SRC_URI[sha256sum] = "91186f20c83ffc48d7a15a9a6e2329ed4feeb2dcb51f4aa9672c8840190ea741"
 UPSTREAM_CHECK_URI = "https://github.com/acassen/keepalived/releases"
 
 DEPENDS = "libnfnetlink openssl"
Signature · 1 line
2.30.0