openldap: upgrade 2.4.58 -> 2.5.8
PATCH 1/2 openldap: upgrade 2.4.58 -> 2.5.8
From: Salman Ahmed <[email protected]>
- dropped retired backends (bdb, hdb, shell)
- back-monitor is now built as part of slapd
- added asyncmeta and wt backends
- dropped patches for functionalities which don't
exist anymore
Signed-off-by Salman Ahmed <[email protected]>
Signed-off-by Khem Raj <[email protected]>
---
.../openldap/openldap/install-strip.patch | 2 +-
.../openldap-2.4.28-gnutls-gcrypt.patch | 10 ++-
.../openldap/openldap-CVE-2015-3276.patch | 58 ----------------
.../openldap/openldap-m4-pthread.patch | 22 ------
.../openldap/openldap/thread_stub.patch | 20 ------
.../openldap/openldap/use-urandom.patch | 15 ++--
.../{openldap_2.4.58.bb => openldap_2.5.8.bb} | 68 +++++++------------
7 files changed, 37 insertions(+), 158 deletions(-)
delete mode 100644 meta-oe/recipes-support/openldap/openldap/openldap-CVE-2015-3276.patch
delete mode 100644 meta-oe/recipes-support/openldap/openldap/openldap-m4-pthread.patch
delete mode 100644 meta-oe/recipes-support/openldap/openldap/thread_stub.patch
rename meta-oe/recipes-support/openldap/{openldap_2.4.58.bb => openldap_2.5.8.bb} (82%)meta-oe/recipes-support/openldap/openldap/install-strip.patch +1 -1
@@ -6,7 +6,7 @@ Upstream-Status: Pending --- a/build/top.mk +++ b/build/top.mk -@@ -121,7 +121,7 @@ LTCOMPILE_MOD = $(LIBTOOL) $(LTONLY_MOD) +@@ -125,7 +125,7 @@ LTCOMPILE_MOD = $(LIBTOOL) $(LTONLY_MOD) --mode=compile \ LTLINK_MOD = $(LIBTOOL) $(LTONLY_MOD) --mode=link \ $(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS_MOD)
meta-oe/recipes-support/openldap/openldap/openldap-2.4.28-gnutls-gcrypt.patch +4 -6
@@ -2,13 +2,11 @@ From http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-nds/openldap/fi Upstream-status: Pending --- - ---- a/configure.in -+++ b/configure.in -@@ -1227,7 +1227,7 @@ if test $ol_link_tls = no ; then - ol_with_tls=gnutls +--- a/configure.ac ++++ b/configure.ac +@@ -1263,7 +1263,7 @@ if test $ol_link_tls = no ; then ol_link_tls=yes + WITH_TLS_TYPE=gnutls - TLS_LIBS="-lgnutls" + TLS_LIBS="-lgnutls -lgcrypt"
meta-oe/recipes-support/openldap/openldap/openldap-CVE-2015-3276.patch deleted +0 -58
58 lines not on this page · raw message
meta-oe/recipes-support/openldap/openldap/openldap-m4-pthread.patch deleted +0 -22
@@ -1,22 +0,0 @@ -Upstream-Status: Pending - ---- a/build/openldap.m4 -+++ b/build/openldap.m4 -@@ -651,7 +651,7 @@ AC_DEFUN([OL_PTHREAD_TEST_FUNCTION],[[ - ]]) - - AC_DEFUN([OL_PTHREAD_TEST_PROGRAM], --AC_LANG_SOURCE([OL_PTHREAD_TEST_INCLUDES -+[AC_LANG_SOURCE([[OL_PTHREAD_TEST_INCLUDES - - int main(argc, argv) - int argc; -@@ -659,7 +659,7 @@ int main(argc, argv) - { - OL_PTHREAD_TEST_FUNCTION - } --])) -+]])]) - dnl -------------------------------------------------------------------- - AC_DEFUN([OL_PTHREAD_TRY], [# Pthread try link: $1 ($2) - if test "$ol_link_threads" = no ; then
meta-oe/recipes-support/openldap/openldap/thread_stub.patch deleted +0 -20
@@ -1,20 +0,0 @@ -openldap: set pointer - -When the function ldap_pvt_thread_pool_getkey() succeeds, it -must set the value of *data since the caller may try to use it. - -Upstream-Status: pending - -Signed-off-by: Joe Slater <[email protected]> - - ---- a/libraries/libldap_r/thr_stub.c -+++ b/libraries/libldap_r/thr_stub.c -@@ -217,6 +217,7 @@ ldap_pvt_thread_pool_unidle ( ldap_pvt_t - int ldap_pvt_thread_pool_getkey ( - void *ctx, void *key, void **data, ldap_pvt_thread_pool_keyfree_t **kfree ) - { -+ if (data) *data = NULL; /* avoid problems with uninitialized *data */ - return(0); - } -
meta-oe/recipes-support/openldap/openldap/use-urandom.patch +6 -9
@@ -8,20 +8,17 @@ Upstream-Status: pending Signed-off-by: Joe Slater <[email protected]> - ---- a/configure.in -+++ b/configure.in -@@ -2153,8 +2153,8 @@ fi +--- a/configure.ac ++++ b/configure.ac +@@ -2117,6 +2117,7 @@ AC_SUBST(systemdsystemunitdir) dnl ---------------------------------------------------------------- dnl Check for entropy sources +dev=no if test $cross_compiling != yes && test "$ac_cv_mingw32" != yes ; then -- dev=no + dev=no if test -r /dev/urandom ; then - dev="/dev/urandom"; - elif test -r /idev/urandom ; then -@@ -2167,9 +2167,11 @@ if test $cross_compiling != yes && test +@@ -2131,9 +2132,11 @@ if test $cross_compiling != yes && test "$ac_cv_mingw32" != yes ; then dev="/idev/random"; fi
@@ -29,7 +26,7 @@ Signed-off-by: Joe Slater <[email protected]> - AC_DEFINE_UNQUOTED(URANDOM_DEVICE,"$dev",[set to urandom device]) - fi +elif test $cross_compiling == yes ; then -+ dev="/dev/urandom"; ++ dev="/dev/urandom"; +fi +if test $dev != no ; then + AC_DEFINE_UNQUOTED(URANDOM_DEVICE,"$dev",[set to urandom device])
meta-oe/recipes-support/openldap/openldap_2.5.8.bb renamed from meta-oe/recipes-support/openldap/openldap_2.4.58.bb +26 -42
152 lines not on this page · raw message
Signature · 1 line
2.33.1
PATCH 2/2 lvgl: Lint recipe
From: Philippe Coval <[email protected]>
Forwarded: https://github.com/openembedded/meta-openembedded/pull/461
Relate-to: https://github.com/lvgl/lvgl/issues/2534
Signed-off-by Philippe Coval <[email protected]>
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb | 23 +++++++-------------- 1 file changed, 8 insertions(+), 15 deletions(-)
meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb +8 -15
@@ -1,19 +1,16 @@ -# -*- mode: bitbake; c-basic-offset: 4; indent-tabs-mode: nil -*- - # SPDX-FileCopyrightText: Huawei Inc. +# # SPDX-License-Identifier: MIT -# TODO: Pin upstream release (current is v8.0.3-dev-239-g7b7bed37d) -src_org = "lvgl" -SRC_URI = "gitsm://github.com/${src_org}/lvgl;destsuffix=${S};protocol=https;nobranch=1" -SRCREV = "7b7bed37d3e937c59ec99fccba58774fbf9f1930" - +HOMEPAGE = "https://lvgl.io/" +DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI" +SUMMARY = "Light and Versatile Graphics Library" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" -HOMEPAGE = "https://lvgl.io/" -SUMMARY = "Light and Versatile Graphics Library" -DESCRIPTION = "LVGL is an open-source graphics library providing everything you need to create embedded GUI with easy-to-use graphical elements, beautiful visual effects and low memory footprint." +# TODO: Pin upstream release (current is v8.0.3-dev-239-g7b7bed37d) +SRC_URI = "gitsm://github.com/lvgl/lvgl;destsuffix=${S};protocol=https;nobranch=1" +SRCREV = "7b7bed37d3e937c59ec99fccba58774fbf9f1930" REQUIRED_DISTRO_FEATURES = "wayland"
@@ -24,17 +21,13 @@ S = "${WORKDIR}/${PN}-${PV}" EXTRA_OECMAKE += "-Dinstall:BOOL=ON" - do_configure:prepend() { [ -r "${S}/lv_conf.h" ] \ || sed -e "s|#if 0 /*Set it to \"1\" to enable the content*/|#if 1 // Enabled by ${PN}|g" \ < "${S}/lv_conf_template.h" > "${S}/lv_conf.h" } - -FILES:${PN}-dev = "\ +FILES:${PN}-dev += "\ ${includedir}/${PN}/ \ ${includedir}/${PN}/lvgl/ \ " - -FILES:${PN}-staticdev = "${libdir}/"
Signature · 1 line
2.33.1