summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/redis/redis
Commit message (Collapse)AuthorAgeFilesLines
* redis: Fix build with clang/x86Khem Raj2019-10-051-0/+32
| | | | | | | | | | | 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> (cherry picked from commit 2b49254d61ca817799a206cd022617854aa5bc0b) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* redis: backport a fix for stack trace generation on aarch64Martin Jansa2019-09-021-0/+45
| | | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* redis: Update to 4.0.8Alistair Francis2018-05-295-135/+952
| | | | | | | | 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-091-2/+2
| | | | | | | | | | | | | | | 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-091-0/+14
| | | | | | | | | 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-151-0/+19
| | | | | | | | 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: update to version 3.0.2Armin Kuster2015-06-233-27/+46
| | | | | | | | 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>
* redis: add new recipe for redis-2.6.9Kevin Baker2013-02-165-0/+706
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>