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 redis62-6.2.24:
JEMALLOC=off: Use jemalloc
TLS=on: Use TLS (openssl req.)
===> Use 'make config' to modify these settings
databases/{redis*,valkey}: Pass maintainership to new maintainer
I will be away from keyboard within 1-2 months and am not sure when I
will return. So pass maintainership of these ports to new maintainer
so they are timely updated (e.g. security update).
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/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.
databases/redis62: Update to 6.2.10
* Switch from CONFLICTS to CONFLICTS_INSTALL.
* Add PORTSCOUT to limit the range to 6.2.x.
ChangeLog: https://github.com/redis/redis/releases/tag/6.2.10
MFH: 2023Q1
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925
databases/redis{,62,-devel}: Use USES=luajit (defaults to lang/luajit-devel)
The LUAJIT option is marked broken in all these ports, so no PORTREVISION bump.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
databases/redis{6,62}: Fix problem that pkg-message is misleading
When installing package of databases/redis62, following pkg-message is
displayed.
To setup "redis62" you need to edit the configuration file:
/usr/local/etc/redis62.conf
To run redis from startup, add redis62_enable="YES"
in your /etc/rc.conf.
But path of configuration file is /usr/local/etc/redis.conf and what
should really be added to /etc/rc.conf is redis_enable="YES". Same
problem also happens when installing databases/redis6
(Only the first 15 lines of the commit message are shown above )
databases/redis62: Update to 6.2.7
* Mark BROKEN if any of external lua library options are
enabled. Upstream add new APIs to bundled lua library and use them
in source code of redis. This makes it impossible to compile and
link redis with external lua libraries. According to the commit
message of upstream repository they took the code of new API from
the repository of lua. It means linking with external lua libraries
may get possible again if they are updated. So mark BROKEN rather
than remove these options.
* Switch to DISTVERSION.
* Pet portlint and portclippy.
* Tidy up Makefile with portfmt.
ChangeLog: https://github.com/redis/redis/releases/tag/6.2.7
Security: cc42db1c-c65f-11ec-ad96-0800270512f4