summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/redis
Commit message (Collapse)AuthorAgeFilesLines
* redis: upgrade 6.2.1 -> 6.2.2zangrc2021-04-231-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: upgrade 6.0.9 -> 6.2.1Yi Fan Yu2021-04-135-76/+62
| | | | | | | | | | Refresh 3 patches. Removed Patch: ilp32.patch fixed by upstream 0719388cfb1a79160204314beb1de1f9c29a3684 Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Update to 6.0.9Khem Raj2020-12-141-3/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Fix build on 32bit targets and clangKhem Raj2020-11-022-0/+30
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Fix build with clang on riscv32Khem Raj2020-10-272-0/+49
| | | | | | | | | clang defines __ILP32__ for rv32 but gcc does not as a result backtracing gets enabled when using clang but not when using gcc so clang build exposes a porting error. Therefore add code to return correct mcontext on rv32 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: upgrade 6.0.7 -> 6.0.8Zang Ruochen2020-09-171-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: upgrade 6.0.6 -> 6.0.7Zang Ruochen2020-09-101-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: upgrade 6.0.5 -> 6.0.6Zang Ruochen2020-08-071-3/+3
| | | | | | | -License-Update: Copyright year updated to 2020. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: upgrade 6.0.4 -> 6.0.5Zang Ruochen2020-06-301-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: upgrade 5.0.9 -> 6.0.4Andreas Müller2020-06-192-10/+15
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: upgrade 5.0.8 -> 5.0.9Wang Mingyu2020-04-251-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: upgrade 5.0.7 -> 5.0.8Zang Ruochen2020-03-173-32/+4
| | | | | | | | | | | -Refresh the following patch: 0001-src-Do-not-reset-FINAL_LIBS.patch -0005-Mark-extern-definition-of-SDS_NOINIT-in-sds.h.patch Removed since this is included in 5.0.8 Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Upgrade to 5.0.7Khem Raj2019-12-235-128/+58
| | | | | | | | Remove an upstreamed patch Add patches to build with new glibc/gcc Drop atomic removal patch and link with libatomic when needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Clarify BSD license variantChristophe PRIOUZEAU2019-10-251-1/+1
| | | | | | | The License of redis is BSD-3-Clause. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Fix build with clang/x86Khem Raj2019-09-102-1/+36
| | | | | | | | | Need to link with libatomics for 64bit atomics support Fixes i686-yoe-linux/i686-yoe-linux-ld: networking.o: in function `createClient': | /usr/src/debug/redis/4.0.14-r0/redis-4.0.14/src/networking.c:103: undefined reference to `__atomic_fetch_add_8' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: backport a fix for stack trace generation on aarch64Martin Jansa2019-08-122-0/+46
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Upgrade to 4.0.14Khem Raj2019-04-141-4/+4
| | | | | | | Add needed depends Do not build jemalloc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Fix ocasional parallel build failureKhem Raj2019-04-071-0/+4
| | | | | | | | | | | Sometimes with high parallel build we see compile errors e.g. clang-8: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [Makefile:52: lua] Error 1 Therefore try to build dependencies before main build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Update to 4.0.12Khem Raj2018-12-231-2/+3
| | | | | | Exclude atomics on ppc as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: fix build for qemuarm disabling atomicsAndrea Adami2018-10-251-0/+1
| | | | | | | | | | | | Apply the same patch used for mips. Fix |ld: networking.o: in function `createClient': | /usr/src/debug/redis/4.0.8-r0/redis-4.0.8/src/networking.c:93: undefined reference to `__atomic_fetch_add_8' Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Update to 4.0.8Alistair Francis2018-05-296-138/+956
| | | | | | | | Update redis to the latest 4.0.8 release. This also involves updating the redis.conf while maintaining some OE specific config options. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: increase the max number of fds to actually match redis.confFrank Meerkoetter2016-12-091-0/+1
| | | | | | | | | | Now that the processes no longer runs as root, we need to increase the limit for it. This only affects systemd based systems. Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* redis: do not run as rootFrank Meerkoetter2016-12-092-3/+9
| | | | | | | | | | | | | | | Running a network facing daemon written in C as root is not a good idea. Introduce a redis system user/group for that. A drawback is that now redis can no longer increase the number of open fds to 10000 (MaxClients). If this is needed the ulimit needs to be tweaked in the init script or systemd unit file. This only affects systemd based systems. Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* redis: log to syslogFrank Meerkoetter2016-12-091-3/+3
| | | | | | | | | | | Creating /var/log/redis.log requires root permissions to create the file. Use syslog instead so redis does not require root. This affects both sysv and systemd based systems. Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* redis: do not expose the service to the network by defaultFrank Meerkoetter2016-12-091-1/+1
| | | | | | | | Binding it to localhost is a safe default. This affects both sysv and systemd based systems. Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* redis: add a systemd service fileFrank Meerkoetter2016-12-092-1/+28
| | | | | | | | | The redis.conf is changed on the fly to not daemonize redis. The reason for that is that with this appraoch we don't need special permissions to write to /var/run/. Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* redis: fix hiredis build so it's less failure-prone and links properlyStephen Arnold2016-06-152-0/+21
| | | | | | | | This patch resets the default OPT flags to -O2 and adds the missing ranlib command to index the static library. Signed-off-by: Stephen Arnold <sarnold@vctlabs.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* redis: stylizeAndrea Galbusera2015-09-231-12/+8
| | | | | | | | * remove trailing whitespaces * run through oe-stylize Signed-off-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* redis: add redis.conf to CONFFILESAndrea Galbusera2015-09-231-0/+1
| | | | | Signed-off-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* redis: fix configuration file permissionsAndrea Galbusera2015-09-231-1/+1
| | | | | | | use 0644 instead of 0755 to install configuration file Signed-off-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* redis: update to version 3.0.2Armin Kuster2015-06-234-32/+52
| | | | | | | | This includes CVE-2015-4335. LICENSE checksum changed do to copyright update. Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* redis: add new recipe for redis-2.6.9Kevin Baker2013-02-166-0/+742
A recipe for Redis 2.6.9, an advanced key-value store. Needed some patching of Makefiles and deps to get it to work with OE. OE Specific configuration: This is built to override MALLOC and use libc's malloc instead of the provided jemalloc or tcmalloc that weren't building correctly. Also the default savepoint setting was updated in the default redis.conf to tune for a small embedded system. Known Bug: redis-cli eats all the input on a serial port - watch out when using the serial console with redis-cli. see https://github.com/antirez/linenoise/issues/38 Tested with Yocto "Danny" / armv7a. Signed-off-by: Kevin Baker <kevinb@ventureresearch.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>