22 Commits

Author SHA1 Message Date
Khem Raj 089472974c redis-plus-plus: relax -Werror=maybe-uninitialized for GCC 16
GCC 16 emits a spurious -Wmaybe-uninitialized for the exception helper
constructors in reply.h, and the project builds with -Werror:

  src/sw/redis++/reply.h:54:60: error: '<unknown>' may be used uninitialized
  [-Werror=maybe-uninitialized]
  cc1plus: all warnings being treated as errors

Add -Wno-error=maybe-uninitialized for the gcc toolchain.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:28 -07:00
Gyorgy Sarvari 45172be94e redis-plus-plus: upgrade 1.3.14 -> 1.3.15
Drop 0001-update-cmake_minimum_required-to-3.5.patch, because it is
included in this release.

Add back 0001-CMakeLists.txt-fix-substitution-for-static-libs.patch
to SRC_URI, because it was removed accidentally during a previous
update.

Changelog:
- Support cmake FetchContent feature
- Support more hash commands
- Make variant parser more efficient
- Fix event loop crash: avoid closing handle opened by hiredis

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-27 16:18:15 -07:00
Moritz Haase 2a0b7b4aac redis-plus-plus: upgrade 1.3.11 -> 1.3.14
Additionally backport a patch to support to build against CMake 4+ that hasn't
made it into a release yet.

Release notes are available at [0].

[0]: https://github.com/sewenew/redis-plus-plus/releases

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:04 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu e53bbbed77 redis-plus-plus: upgrade 1.3.10 -> 1.3.11
Changelog:
==========
-Fix redlock to make multiple threads be able to lock on the same RedMutex
-Asynchronously update slot-node mapping in some edge cases
-Use weak_ptr to avoid joining EvenLoop thread in itself
-Support setting connection name
-Support shard pub/sub

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-02 00:35:51 -08:00
Wang Mingyu 817ae6c4ad redis-plus-plus: upgrade 1.3.9 -> 1.3.10
Changelog:
 Fix TLS support on async interface

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-20 19:08:57 -07:00
Wang Mingyu 22d1293154 redis-plus-plus: upgrade 1.3.8 -> 1.3.9
0001-CMakeLists.txt-fix-substitution-for-static-libs.patch
refresh for new version

Changelog:
===========
    Fix async interface bug
    More built-in commands support for AsyncRedis
    Fix incorrect hiredis static lib dependency when building with TSL
    Breaking change: make HSET related methods return long long instead of bool

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-19 10:24:49 -07:00
Peter Bergin df6d91cfc4 redis-plus-plus: uprev to 1.3.8
Removed patch now applied upstream.

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Peter Bergin 48297a8f75 redis-plus-plus: introduce fix for library detection
When building static library a substitution for library name
was bad. Reported in https://github.com/sewenew/redis-plus-plus/issues/486
and detected when building new version of hiredis that also builds
a static library.

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Peter Bergin ea516e9563 redis-plus-plus: clean up recipe and make use of packageconfig
Remove unneeded statements in the code.
Align with style guide.
Introduce PACKAGECONFIG for ssl and test.
Remove QA warning.

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Khem Raj 8d2a06b62e redis-plus-plus: Enable SSL/TLS by default
Makes the build consistent and it does not look into native sysroot for ssl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-26 13:10:37 -08:00
Khem Raj 52935c3dc0 redis-plus-plus: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-25 23:18:05 -08:00
Khem Raj 494e8f0c2f redis-plus-plus: Upgrade to 1.3.7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-25 23:18:05 -08:00
wangmy b85feca281 redis-plus-plus: upgrade 1.3.3 -> 1.3.5
0001-cmake-Use-CMAKE_INSTALL_LIBDIR-from-GNUInstallDirs.patch
removed since it's included in 1.3.5

Changelog:
==========
  Ensure running async callback when error happens.
  Add sentinel support for coroutine interface.
  Add publish command for async interface.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-26 20:49:05 -04:00
Khem Raj 7226d2e222 redis-plus-plus: Use GNUInstallDirs in cmake
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-21 08:25:11 -07:00
wangmy c581dc38d7 redis-plus-plus: upgrade 1.3.2 -> 1.3.3
Changelog:
=========
Fix async interface related bugs
Fix example and test problems
Fix Windows compilation problem

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-21 18:49:37 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Oleksandr Kravchuk 4f92686fdb redis-plus-plus: update to 1.3.2
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-26 20:09:42 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Wang Mingyu 75a9a09efd redis-plus-plus: upgrade 1.2.1 -> 1.2.2
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-28 10:20:43 -08:00
Khem Raj 83a340c9ad redis-plus-plus: Upgrade to 1.2.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 13:41:02 -08:00
Fagundes, Paulo 74f2b5780d redis-plus-plus: add recipe
redis-plus-plus is a redis client written in C++ and based on hiredis

Signed-off-by: Paulo Fagundes <paulohefagundes@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-06 13:57:38 -07:00