Redis is an open source, advanced key-value store. It is often referred
to as a data structure server since keys can contain strings, hashes,
lists, sets and sorted sets.
You can run atomic operations on these types, like appending to a string;
incrementing the value in a hash; pushing to a list; computing set
intersection, union and difference; or getting the member with highest
ranking in a sorted set.
In order to achieve its outstanding performance, Redis works with an
in-memory dataset. Depending on your use case, you can persist it either
by dumping the dataset to disk every once in a while, or by appending each
command to a log.
Redis also supports trivial-to-setup master-slave replication, with very
fast non-blocking first synchronization, auto-reconnection on net split
and so forth.
===> The following configuration options are available for redis70-7.0.15_1:
JEMALLOC=off: Use jemalloc
TLS=on: Use TLS (openssl req.)
===> Use 'make config' to modify these settings
To setup "redis" you need to edit the configuration file:
/usr/local/etc/redis.conf
To run redis from startup, add redis_enable="YES"
in your /etc/rc.conf.
databases/redis*: Refine ports
* Alway build with base system compiler. In 2018 Makefile was changed
so GCC is used with i386. It seems to be workaround of build error,
But now build succeeds without GCC on i386 and all supported FreeBSD
versions.
* Remove options for external lua library and related patches. On
April 2022 upstream made incompatible change of bundled lua library
to fix vulnerability. As a result build got failed when external lua
library is enabled. Upstream said in commit message of their
repository that they took codes from lua repository. So I kept the
options with marking as broken hoping breakage will be solved in the
future. But it is still broken after two years and doesn't seem to
change.
* Remove TRIB option. When it is enabled ruby script named
redis-trib.rb is installed. But it just prints warning message that
it is no longer available and redis-cli should be used instead, and
exit. So it isn't usefull anymore.
* Fix post-patch-JEMALLOC-on target so proper line is replaced.
* Pet portclippy.
databases/redis70: update to 7.0.15 with fix CVE-2023-41056
Security fixes:
* (CVE-2023-41056) In some cases, Redis may incorrectly handle resizing of
memory
buffers which can result in incorrect accounting of buffer sizes and lead to
heap overflow and potential remote code execution.
Changelog: https://github.com/redis/redis/releases/tag/7.0.15
PR: 276255
Approved by: yasu (maintainer, timeout > 14 days), arrowd (mentor)
MFH: 2024Q1
databases/redis*: Update CONFLICTS_INSTALL, remove CONFLICTS
* Update CONFLICTS_INSTALL after databases/redis70 is added to ports
tree.
* Remove CONFLICTS as build of one redis version succeeds even if
another version is installed.