129 Commits

Author SHA1 Message Date
tb
86596ab42f redis: Link to PR for 64-bit time_t patches 2021-03-17 06:25:55 +00:00
tb
7913853c7a redis: switch to bundled Lua
The Redis port was hacked up to make use of Lua 5.1 from ports. This is a
bad idea since there are known Redis exploits coming from bytecode in Lua.
The Lua bundled by Redis has this neutered. In addition, this allows us to
get rid of some atrocious hackery which will be a major headache when
upstream will update its bundled Lua.

ok sthen
2021-03-16 21:18:38 +00:00
tb
c42614d345 databases/redis: zap noop patch
In Redis 2.8.12, this patch was needed due to TCP_KEEPIDLE.
Since Redis 4.0.1, the code is guarded by #if defined(__GLIBC__) && ...
so adding && !defined(__OpenBSD__) doesn't make a difference.
2021-03-14 23:39:37 +00:00
tb
5d75fac7c1 databases/redis: simplify Makefile patch
INSTALL_SBIN is no longer used, so no need to add it.
2021-03-14 23:06:17 +00:00
danj
809a0ce097 Update to redis-6.2.1
Tests pass on sparc64/amd64.

ok tb@
2021-03-06 17:42:12 +00:00
tb
ef6e779540 Update to Redis 6.2.0, ok danj sthen
Redis 6.2 includes many new commands and improvements, but no big features. It
mainly makes Redis more complete and addresses issues that have been requested
by many users frequently or for a long time.

https://github.com/redis/redis/blob/6.2/00-RELEASENOTES

This version includes a security fix for ILP32 arches (CVE-2021-21309)
2021-02-25 15:05:23 +00:00
danj
a0f4a6cec2 Update to redis-6.0.10
If you used Redis on some Big Endian Arch (like sparc64) with
previous 6.0.x versions, you should really have a look at
https://github.com/redis/redis/pull/8270 to "consider the
compatibility implications with RESTORE, replication and
persistence".

Tests pass on amd64 and sparc64 (with the usual occasional replica
hiccup on sparc64).

Positive feedback from Mark Patruck.
Help from, and ok tb@
2021-01-23 14:58:19 +00:00
tb
bd1f51cd88 Update to Redis 6.0.9
The incorrect assumption in zmalloc_usable_size() was corrected upstream,
so we can get rid of the local patch. Add a new patch for a long long
time_t format string, with a tweak from jca.

ok danj

Changelog: https://github.com/redis/redis/blob/6.0.9/00-RELEASENOTES
2020-10-29 05:14:03 +00:00
tb
03f1d45462 Update to Redis 6.0.8
ok rsadowski

Upgrade urgency HIGH: Anyone who's using Redis 6.0.7 with Sentinel or
CONFIG REWRITE command is affected and should upgrade ASAP, see #7760.
[https://github.com/redis/redis/issues/7760]

Bug fixes:

* CONFIG REWRITE after setting oom-score-adj-values either via CONFIG SET or
  loading it from a config file, will generate a corrupt config file that will
  cause Redis to fail to start
* Fix issue with redis-cli --pipe on MacOS
* Fix RESP3 response for HKEYS/HVALS on non-existing key
* Various small bug fixes

Full release notes:
https://github.com/redis/redis/blob/6.0.8/00-RELEASENOTES
2020-09-11 13:54:01 +00:00
tb
7ebc05702d regen patch 2020-09-08 05:51:53 +00:00
tb
c38ccf8cd0 Update to Redis 6.0.7
Upgrade urgency for both 6.0.6 and 6.0.7 is MODERATE, see changelog for
details. Notably, the fix for the sentinel crash was merged upstream.

https://raw.githubusercontent.com/antirez/redis/6.0/00-RELEASENOTES

There is another test that occasionally fails since 6.0.6:

[err]: Piping raw protocol in tests/integration/redis-cli.tcl

Tested on amd64 and macppc, build tested with clang and egcc on sparc64.

Thanks to danj for testing and okaying 6.0.6.

ok sthen
2020-09-03 04:29:27 +00:00
tb
83ad536d24 add a link to the PR 2020-07-02 09:27:17 +00:00
tb
b8bb52ab64 Avoid an out-of-bounds read in the redis-sentinel
The Redis sentinel would crash with a segfault after a few minutes because
it tried to read from a page without read permissions. Check up front
whether the sds is long enough to contain redis:slave or redis:master
before memcmp() as is done everywhere else in sentinelRefreshInstanceInfo().

From Nam Nguyen
2020-06-28 10:47:15 +00:00
tb
927dec0a23 add a few comments to summarize the many changes in src/Makefile 2020-06-28 10:33:01 +00:00
tb
b154cdce45 Update to Redis 6.0.5
ok danj kn
2020-06-14 07:35:36 +00:00
tb
e9670716ad Update to Redis 6.0.4
https://raw.githubusercontent.com/antirez/redis/6.0/00-RELEASENOTES

Thanks to cwen for helping me figure out what was going on with
64-bit atomics on powerpc and gkoehler for fixing this in clang.

ok danj sthen
2020-06-08 07:32:47 +00:00
sthen
fa47db53c3 update to redis-5.0.9, ok tb@ 2020-04-18 17:42:54 +00:00
tb
903f2b40ac Update to Redis 5.0.8. Fixes some security issues and plugs lots
of memory leaks. Add a patch for a time_t truncation issue on
architectures with 32 bit longs. The update results in one test
failure showing much more often on sparc64:

*** [err]: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl
the used_memory of replica is much larger than master. Master:35666976 Replica:69051032

Tests by Uwe Werler.

ok kn, "move forward" danj

Release notes:

https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES
2020-03-17 04:51:28 +00:00
tb
23c4d3079f Update Redis to 5.0.7, the latest stable version.
Users should have no problem migrating from 4.0 to 5.0.
Backward incompatible changes are listed at the end of the release notes:
https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES

Tested by cwen, danj, kmos, sthen and myself on amd64, arm64, armv7 (4.0
was broken, 5.0 is still broken), i386, macppc, and sparc64 (tests get
flakier with this update).  Many thanks to kmos for his efforts.

Help with the initial patch from mikeb.  Signed char fix from cwen;
config file consolidation by danj; Makefile tweaks from sthen.

ok danj kmos sthen
2020-02-11 08:11:13 +00:00
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
sthen
86852bcf6e reset unresponsive maintainers, various porters have spent a bunch of
time waiting for timeouts over the last year or more for many of these
ports.  ok danj@ jca@ kmos@
2019-04-24 16:26:54 +00:00
sthen
a5a1dd324f update to redis-4.0.14, ok kn@ danj@ jca@
(i didn't wait very long for $MAINTAINER but did warn that i wouldn't wait
very long and am confident in the update)
2019-04-02 22:13:11 +00:00
kn
0119ab44a7 Update to redis-4.0.11
OK sthen (no response from maintainer)
2018-09-02 11:08:51 +00:00
kn
d1def7758b Security update to redis-4.0.10
This fixes multiple issues, see http://antirez.com/news/119.

OK sthen
2018-07-10 13:44:57 +00:00
kn
bb0b9e2fa1 Update to redis-4.0.9
Add USE_JEMALLOC=no to be clear.

OK rpointel, sthen
2018-04-26 11:15:46 +00:00
kn
2cf1f40d84 Simplify/remove patches by passing parameters in MAKE_ENV
Input and OK jca
2018-04-24 14:35:29 +00:00
jca
82b4f48f7d Unbreak on armv7
Drop -funwind-tables which leads to undefined references to libunwind
symbols.  This seems to be needed by the libunwind support in jemalloc,
which we do not use.

Reported (and fixed differently) by Markus Hennecke, ok sthen@ kn@, maintainer timeout
2018-04-22 14:30:29 +00:00
sthen
829fc1c274 update to redis-4.0.8 with a number of important fixes. see
https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
update pointed out by kn@ but with a more complex diff.

dcoppa (maintainer) doesn't seem to be around so I'm committing anyway
in order that it makes 6.3; ok jasper@
2018-03-19 18:15:57 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
dcoppa
8589f5d0ea Update to redis-4.0.2 2017-09-22 05:46:35 +00:00
dcoppa
bcb91e5fbc Update to redis-4.0.1 2017-08-09 09:16:09 +00:00
dcoppa
2ce7024b7c Update to redis-3.2.9 2017-06-09 09:27:02 +00:00
dcoppa
8a24b6eb28 Update to redis-3.2.8 2017-02-23 08:35:20 +00:00
dcoppa
d79d62c0c7 Bugfixing update to redis-3.2.6 2016-12-07 12:38:43 +00:00
dcoppa
b44bc8c003 Update to redis-3.2.5 2016-11-01 09:07:19 +00:00
dcoppa
871ebe3254 Update to redis-3.2.4 2016-09-27 14:38:26 +00:00
dcoppa
73cc3897fd Update to redis-3.2.3 2016-08-05 11:23:42 +00:00
dcoppa
90810d4d66 Update to redis-3.2.1 2016-06-20 10:49:38 +00:00
dcoppa
6c55fdcb8e Set default max clients to 96 here too, like we did in redis.conf 2016-05-10 12:45:28 +00:00
dcoppa
a324065c9f Update to redis-3.2.0 2016-05-10 09:38:48 +00:00
dcoppa
bbdc813c58 Upstream replaced source distfile.
Spotted by nigel@, thanks!
2016-01-28 15:56:28 +00:00
dcoppa
1cc444ebd6 Bugfixing update to redis-3.0.7 2016-01-28 09:45:46 +00:00
dcoppa
55eb9b5881 Bugfixing update to redis-3.0.6 2015-12-21 11:16:35 +00:00
dcoppa
a24c734a18 Bugfixing update to redis-3.0.5 2015-10-16 12:15:59 +00:00
dcoppa
1016452b26 Bugfixing update to redis-3.0.4 2015-09-09 08:56:53 +00:00
dcoppa
06fda746ae Bugfixing update to redis-3.0.3 2015-07-18 15:08:47 +00:00
ajacoutot
93d3a402cd Fix pexp after recent rc.subr change. 2015-07-15 16:15:35 +00:00
dcoppa
644400d235 *Security* update to redis-3.0.2
http://benmmurphy.github.io/blog/2015/06/04/redis-eval-lua-sandbox-escape/
2015-06-05 16:29:09 +00:00
dcoppa
0060eb48f5 Bugfixing update to redis-3.0.1 2015-05-08 09:25:41 +00:00
dcoppa
26540e875f Update to redis-3.0.0 2015-04-27 08:53:17 +00:00