summaryrefslogtreecommitdiff
path: root/databases/redis-devel (follow)
Commit message (Collapse)AuthorAgeFilesLines
* databases/redis*: Properly reference _ADDFLAGS set by some opt_VARSTobias Kortkamp2021-09-031-1/+2
| | | | | | | | | | opt_VARS always upcases its argument, so the defined(_addflags) check will never be true. The _ADDFLAGS block overwrites the global CFLAGS and LDFLAGS which is also suspicous and probably not quite right. Reported by: portscan
* databases/redis*: update databases/redis to 6.2.5.Sergey A. Osokin2021-08-181-1/+1
| | | | | | Update CONFLICTS for databases/redis* ports. Add a notice to UPDATING. Connect databases/redis6 to build.
* databases/redis{,-devel,5}: Update to 6.0.15, 6.2.5, 5.0.13Yasuhiro Kimura2021-07-272-4/+4
| | | | | | | | | | Release Notes: https://groups.google.com/g/redis-db/c/yU-jQ9BhL24/m/e6iZA2GLBgAJ Security: CVE-2021-32761 PR: 257326 Approved by: osa (maintainer) MFH: 2021Q3 Security: c561ce49-eabc-11eb-9c3f-0800270512f4
* databases/redis-devel: security update from 6.2.3 to 6.2.4Sergey A. Osokin2021-06-012-4/+4
| | | | | | | Changelog: https://github.com/redis/redis/compare/6.2.3...6.2.4 PR: 256340 Security: CVE-2021-32625 Security: 8eb69cd0-c2ec-11eb-b6e7-8c164567ca3c
* databases/redis-devel: update to 6.2.3.Sergey A. Osokin2021-05-032-4/+4
| | | | PR: 255582
* databases/redis-devel: update to the fresh bugfix release 6.2.2.Sergey A. Osokin2021-04-202-4/+4
| | | | | Changelog: https://github.com/redis/redis/blob/6.2.2/00-RELEASENOTES PR: 255247
* Update CONFLICTS after databases/redis4 removal.Sergey A. Osokin2021-04-081-1/+1
|
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-062-6/+0
|
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Fix build on FreeBSD11.Sergey A. Osokin2021-03-061-0/+3
| | | | Notes: svn path=/head/; revision=567504
* Update from 6.2.0 to 6.2.1.Sergey A. Osokin2021-03-023-34/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove added to the upstream patch. <ChangeLog> ================================================================================ Redis 6.2.1 Released Mon Mar 1 17:51:36 IST 2021 ================================================================================ Upgrade urgency: LOW. Here is a comprehensive list of changes in this release compared to 6.2.0, each one includes the PR number that added it, so you can get more details at https://github.com/redis/redis/pull/<number> Bug fixes: * Fix sanitize-dump-payload for stream with deleted records (#8568) * Prevent client-query-buffer-limit config from being set to lower than 1mb (#8557) Improvements: * Make port, tls-port and bind config options modifiable at runtime (#8510) Platform and deployment-related changes: * Fix compilation error on non-glibc systems if jemalloc is not used (#8533) * Improved memory consumption and memory usage tracking on FreeBSD (#8545) * Fix compilation on ARM64 MacOS with jemalloc (#8458) Modules: * New Module API for getting user name of a client (#8508) * Optimize RM_Call by utilizing a shared reusable client (#8516) * Fix crash running CLIENT INFO via RM_Call (#8560) </ChangeLog> Notes: svn path=/head/; revision=566961
* Fix build.Sergey A. Osokin2021-02-231-0/+30
| | | | | | | | | | | | | | | | | | | | cc -std=c11 -pedantic -DREDIS_STATIC='' -Wall -W -Wno-missing-field-initializers -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -MMD -o lzf_c.o -c lzf_c.c zmalloc.c:59:5: error: function-like macro 'sizeof' is not defined #if PREFIX_SIZE > 0 ^ zmalloc.c:55:22: note: expanded from macro 'PREFIX_SIZE' #define PREFIX_SIZE (sizeof(size_t)) ^ 1 error generated. gmake[3]: *** [Makefile:339: zmalloc.o] Error 1 Do not bump PORTREVISION because these have no successful builds. Reported by: many Notes: svn path=/head/; revision=566418
* Security update if you use 32bit build of redis (see bellow), MODERATESergey A. Osokin2021-02-232-6/+5
| | | | | | | | | | | | | | | | if you used earlier versions of Redis 6.2, LOW otherwise. Integer overflow on 32-bit systems (CVE-2021-21309): Redis 4.0 or newer uses a configurable limit for the maximum supported bulk input size. By default, it is 512MB which is a safe value for all platforms. If the limit is significantly increased, receiving a large request from a client may trigger several integer overflow scenarios, which would result with buffer overflow and heap corruption. ChangeLog: https://github.com/redis/redis/releases/tag/6.2.0 Notes: svn path=/head/; revision=566402
* Update to 6.2rc3.Sergey A. Osokin2021-02-022-5/+5
| | | | | | | ChangeLog: https://github.com/redis/redis/blob/6.2-rc3/00-RELEASENOTES Notes: svn path=/head/; revision=563817
* Update to the recent development version 6.2.0rc2.Sergey A. Osokin2021-01-139-81/+81
| | | | Notes: svn path=/head/; revision=561490
* Update databases/redis to the recent stable version 6.0.10.Sergey A. Osokin2021-01-131-1/+2
| | | | | | | | | | | | | | | Update CONFLICTS for: o) databases/redis4 o) databases/redis5 o) databases/redis o) databases/redis-devel Connect databases/redis5 to the build. Bump PORTREVISIONs for dependant ports. Notes: svn path=/head/; revision=561486
* Update from 6.0.8 to 6.0.10.Sergey A. Osokin2021-01-135-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> ================================================================================ Redis 6.0.10 Released Tue Jan 12 16:20:20 IST 2021 ================================================================================ Upgrade urgency MODERATE: several bugs with moderate impact are fixed, Here is a comprehensive list of changes in this release compared to 6.0.9. Command behavior changes: * SWAPDB invalidates WATCHed keys (#8239) * SORT command behaves differently when used on a writable replica (#8283) * EXISTS should not alter LRU (#8016) In Redis 5.0 and 6.0 it would have touched the LRU/LFU of the key. * OBJECT should not reveal logically expired keys (#8016) Will now behave the same TYPE or any other non-DEBUG command. * GEORADIUS[BYMEMBER] can fail with -OOM if Redis is over the memory limit (#8107) Other behavior changes: * Sentinel: Fix missing updates to the config file after SENTINEL SET command (#8229) * CONFIG REWRITE is atomic and safer, but requires write access to the config file's folder (#7824, #8051) This change was already present in 6.0.9, but was missing from the release notes. Bug fixes with compatibility implications (bugs introduced in Redis 6.0): * Fix RDB CRC64 checksum on big-endian systems (#8270) If you're using big-endian please consider the compatibility implications with RESTORE, replication and persistence. * Fix wrong order of key/value in Lua's map response (#8266) If your scripts use redis.setresp() or return a map (new in Redis 6.0), please consider the implications. Bug fixes: * Fix an issue where a forked process deletes the parent's pidfile (#8231) * Fix crashes when enabling io-threads-do-reads (#8230) * Fix a crash in redis-cli after executing cluster backup (#8267) * Handle output buffer limits for module blocked clients (#8141) Could result in a module sending reply to a blocked client to go beyond the limit. * Fix setproctitle related crashes. (#8150, #8088) Caused various crashes on startup, mainly on Apple M1 chips or under instrumentation. * Backup/restore cluster mode keys to slots map for repl-diskless-load=swapdb (#8108) In cluster mode with repl-diskless-load, when loading failed, slot map wouldn't have been restored. * Fix oom-score-adj-values range, and bug when used in config file (#8046) Enabling setting this in the config file in a line after enabling it, would have been buggy. * Reset average ttl when empty databases (#8106) Just causing misleading metric in INFO * Disable rehash when Redis has child process (#8007) This could have caused excessive CoW during BGSAVE, replication or AOFRW. * Further improved ACL algorithm for picking categories (#7966) Output of ACL GETUSER is now more similar to the one provided by ACL SETUSER. * Fix bug with module GIL being released prematurely (#8061) Could in theory (and rarely) cause multi-threaded modules to corrupt memory. * Reduce effect of client tracking causing feedback loop in key eviction (#8100) * Fix cluster access to unaligned memory (SIGBUS on old ARM) (#7958) * Fix saving of strings larger than 2GB into RDB files (#8306) Additional improvements: * Avoid wasteful transient memory allocation in certain cases (#8286, #5954) Platform / toolchain support related improvements: * Fix crash log registers output on ARM. (#8020) * Add a check for an ARM64 Linux kernel bug (#8224) Due to the potential severity of this issue, Redis will print log warning on startup. * Raspberry build fix. (#8095) New configuration options: * oom-score-adj-values config can now take absolute values (besides relative ones) (#8046) Module related fixes: * Moved RMAPI_FUNC_SUPPORTED so that it's usable (#8037) * Improve timer accuracy (#7987) * Allow '\0' inside of result of RM_CreateStringPrintf (#6260) ================================================================================ Redis 6.0.9 Released Mon Oct 26 10:37:47 IST 2020 ================================================================================ Upgrade urgency: SECURITY if you use an affected platform (see below). Otherwise the upgrade urgency is MODERATE. This release fixes a potential heap overflow when using a heap allocator other than jemalloc or glibc's malloc. See: https://github.com/redis/redis/pull/7963 Other fixes in this release: New: * Memory reporting of clients argv (#7874) * Add redis-cli control on raw format line delimiter (#7841) * Add redis-cli support for rediss:// -u prefix (#7900) * Get rss size support for NetBSD and DragonFlyBSD Behavior changes: * WATCH no longer ignores keys which have expired for MULTI/EXEC (#7920) * Correct OBJECT ENCODING response for stream type (#7797) * Allow blocked XREAD on a cluster replica (#7881) * TLS: Do not require CA config if not used (#7862) Bug fixes: * INFO report real peak memory (before eviction) (#7894) * Allow requirepass config to clear the password (#7899) * Fix config rewrite file handling to make it really atomic (#7824) * Fix excessive categories being displayed from ACLs (#7889) * Add fsync in replica when full RDB payload was received (#7839) * Don't write replies to socket when output buffer limit reached (#7202) * Fix redis-check-rdb support for modules aux data (#7826) * Other smaller bug fixes Modules API: * Add APIs for version and compatibility checks (#7865) * Add RM_GetClientCertificate (#7866) * Add RM_GetDetachedThreadSafeContext (#7886) * Add RM_GetCommandKeys (#7884) * Add Swapdb Module Event (#7804) * RM_GetContextFlags provides indication of being in a fork child (#7783) * RM_GetContextFlags document missing flags: MULTI_DIRTY, IS_CHILD (#7821) * Expose real client on connection events (#7867) * Minor improvements to module blocked on keys (#7903) </ChangeLog> Notes: svn path=/head/; revision=561473
* Update from 6.0.6 to 6.0.8.Sergey A. Osokin2020-09-152-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The distribution point has changed on GH from antirez to redis. <ChangeLog> ================================================================================ Redis 6.0.8 Released Wed Sep 09 23:34:17 IDT 2020 ================================================================================ 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. 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 New features / Changes: * Remove THP warning when set to madvise * Allow EXEC with read commands on readonly replica in cluster * Add masters/replicas options to redis-cli --cluster call command Module API: * Add RedisModule_ThreadSafeContextTryLock ================================================================================ Redis 6.0.7 Released Fri Aug 28 11:05:09 IDT 2020 ================================================================================ Upgrade urgency MODERATE: several bugs with moderate impact are fixed, Specifically the first two listed below which cause protocol errors for clients. Bug fixes: * CONFIG SET could hung the client when arrives during RDB/ROF loading (When processed after another command that was also rejected with -LOADING error) * LPOS command when RANK is greater than matches responded wiht broken protocol (negative multi-bulk count) * UNLINK / Lazyfree for stream type key would have never do async freeing * PERSIST should invalidate WATCH (Like EXPIRE does) * EXEC with only read commands could have be rejected when OOM * TLS: relax verification on CONFIG SET (Don't error if some configs are set and tls isn't enabled) * TLS: support cluster/replication without tls-port * Systemd startup after network is online * Redis-benchmark improvements * Various small bug fixes New features: * Add oom-score-adj configuration option to control Linux OOM killer * Show IO threads statistics and status in INFO output * Add optional tls verification mode (see tls-auth-clients) Module API: * Add RedisModule_HoldString * Add loaded keyspace event * Fix RedisModuleEvent_LoadingProgress * Fix RedisModuleEvent_MasterLinkChange hook missing on successful psync * Fix missing RM_CLIENTINFO_FLAG_SSL * Refactor redismodule.h for use with -fno-common / extern </ChangeLog> Notes: svn path=/head/; revision=548702
* Update from 6.0.5 to 6.0.6.Sergey A. Osokin2020-07-222-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> Upgrade urgency MODERATE: several bugs with moderate impact are fixed here. The most important issues are listed here: * Fix crash when enabling CLIENT TRACKING with prefix * EXEC always fails with EXECABORT and multi-state is cleared * RESTORE ABSTTL won't store expired keys into the db * redis-cli better handling of non-pritable key names * TLS: Ignore client cert when tls-auth-clients off * Tracking: fix invalidation message on flush * Notify systemd on Sentinel startup * Fix crash on a misuse of STRALGO * Few fixes in module API * Fix a few rare leaks (STRALGO error misuse, Sentinel) * Fix a possible invalid access in defrag of scripts (unlikely to cause real harm) New features: * LPOS command to search in a list * Use user+pass for MIGRATE in redis-cli and redis-benchmark in cluster mode * redis-cli support TLS for --pipe, --rdb and --replica options * TLS: Session caching configuration support </ChangeLog> Notes: svn path=/head/; revision=542854
* - Add LICENSE_FILEDmitry Marakasov2020-07-042-1/+2
| | | | | | | | | - Update WWW Approved by: portmgr blanket Notes: svn path=/head/; revision=541189
* Update from 6.0.4 to 6.0.5.Sergey A. Osokin2020-06-102-5/+5
| | | | | | | | | | | | | | | | | | | | | <ChangeLog> Upgrade urgency MODERATE: several bugs with moderate impact are fixed here. The most important issues are listed here: * Fix handling of speical chars in ACL LOAD. * Make Redis Cluster more robust about operation errors that may lead to two clusters to mix together. * Revert the sendfile() implementation of RDB transfer. It causes some delay. * Fix TLS certificate loading for chained certificates. * Fix AOF rewirting of KEEPTTL SET option. * Fix MULTI/EXEC behavior during -BUSY script errors. </ChangeLog> Notes: svn path=/head/; revision=538403
* Update from 6.0.3 to 6.0.4.Sergey A. Osokin2020-06-042-5/+5
| | | | | | | | | | | | | <ChangeLog> Upgrade urgency CRITICAL: this release fixes a severe replication bug. Please visit https://github.com/antirez/redis/blob/6.0/00-RELEASENOTES for details. </ChangeLog> Notes: svn path=/head/; revision=537881
* Update from 6.0.2 to 6.0.3.Sergey A. Osokin2020-05-162-6/+5
| | | | | | | | | | | <ChangeLog> Upgrade urgency CRITICAL: a crash introduced in 6.0.2 is now fixed. </ChangeLog> Notes: svn path=/head/; revision=535481
* Update the lua/luajit/luajit-openresty extra patches.Sergey A. Osokin2020-05-164-21/+22
| | | | | | | Bump PORTREVISION. Notes: svn path=/head/; revision=535480
* Update from 6.0.1 to 6.0.2.Sergey A. Osokin2020-05-162-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> Upgrade urgency MODERATE: many not critical bugfixes in different areas. Critical fix to client side caching when keys are evicted from the tracking table but no notifications are sent. The following are the most serious fix: * XPENDING should not update consumer's seen-time * optimize memory usage of deferred replies - fixed * Fix CRC64 initialization outside the Redis server itself. * stringmatchlen() should not expect null terminated strings. * Cluster nodes availability checks improved when there is high Pub/Sub load on the cluster bus. * Redis Benchmark: Fix coredump because of double free * Tracking: send eviction messages when evicting entries. * rax.c updated from upstream antirez/rax. * fix redis 6.0 not freeing closed connections during loading. New features: * Support setcpuaffinity on linux/bsd * Client Side Caching: Add Tracking Prefix Number Stats in Server Info * Add --user argument to redis-benchmark.c (ACL) </ChangeLog> Notes: svn path=/head/; revision=535476
* Update to 6.0.1.Sergey A. Osokin2020-05-042-5/+5
| | | | | | | | | | | | | | | | | | | <ChangeLog> Upgrade urgency HIGH: This release fixes a crash when builiding against Libc malloc. Here we revert 8110ba888, an optimization that causes a crash due to a bug in the code. It does not happen with the default allocator because of differences between Jemalloc and libc malloc, so this escaped all our testing but was reported by a user. We'll add back the original optimization that was reverted here later, after checking what happens: it is not a critical optimization. </ChangeLog> Notes: svn path=/head/; revision=533927
* Update to the recent commit (aka 6.0 GA).Sergey A. Osokin2020-04-305-17/+17
| | | | Notes: svn path=/head/; revision=533477
* Update to the recent commit.Sergey A. Osokin2020-04-252-5/+5
| | | | Notes: svn path=/head/; revision=532912
* Update to the recent commit.Sergey A. Osokin2020-04-182-5/+5
| | | | Notes: svn path=/head/; revision=532036
* USES=lua gained flavors.Mathieu Arnold2020-04-141-1/+1
| | | | | | | | | | | | | | | | | | Ports using USES=lua:module or lua:flavors will be flavored. A range of supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ) for ports not supporting all lua versions. USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of flavored lua ports, in a similar way as PHP or Python flavors. PR: 245038 Submitted by: andrew tao11 riddles org uk Reviewed by: mat, kevans, russ haley gmail com Approved by: mat (portmgr) Differential Revision: https://reviews.freebsd.org/D16494 Notes: svn path=/head/; revision=531700
* Update to the recent commit.Sergey A. Osokin2020-04-112-5/+5
| | | | Notes: svn path=/head/; revision=531432
* Update to the Apr 3, 2020.Sergey A. Osokin2020-04-045-41/+41
| | | | | | | Re-generate lua/luajit specific patches. Notes: svn path=/head/; revision=530532
* Update to the recent commit.Sergey A. Osokin2020-03-182-5/+5
| | | | Notes: svn path=/head/; revision=528624
* Update to the recent commit.Sergey A. Osokin2020-03-072-5/+5
| | | | Notes: svn path=/head/; revision=527980
* Update to the recent commit.Sergey A. Osokin2020-02-292-5/+5
| | | | Notes: svn path=/head/; revision=527472
* Update to the recent commit.Sergey A. Osokin2020-02-212-5/+5
| | | | Notes: svn path=/head/; revision=526599
* Update to the recent commit.Sergey A. Osokin2020-02-092-5/+5
| | | | Notes: svn path=/head/; revision=525656
* Update to the recent commit.Sergey A. Osokin2020-02-022-6/+6
| | | | | | | Reset OPTIMIZATION to respect our CFLAGS. Notes: svn path=/head/; revision=524800
* Update to the recent commit.Sergey A. Osokin2020-01-142-5/+5
| | | | Notes: svn path=/head/; revision=522978
* Update to the recent commit.Sergey A. Osokin2020-01-112-11/+8
| | | | | | | Reduce complexity with the lua-related targets. Notes: svn path=/head/; revision=522622
* Add TLS support.Sergey A. Osokin2020-01-041-46/+42
| | | | | | | | | | | | Convert to use modern OPTIONS way to be less discouraged with the number of knobs. (*) Bump PORTREVISION. Thanks to: adamw (*) Notes: svn path=/head/; revision=522069
* Update to a recent snapshot.Sergey A. Osokin2020-01-042-5/+5
| | | | Notes: svn path=/head/; revision=522038
* Update to the recent commit.Sergey A. Osokin2019-12-272-5/+5
| | | | Notes: svn path=/head/; revision=520982
* Update to the recent commit.Sergey A. Osokin2019-12-192-5/+5
| | | | Notes: svn path=/head/; revision=520418
* Update to the recent commit.Sergey A. Osokin2019-12-172-5/+7
| | | | | | | | | | Also, introduce another dependency records for two different versions of luajit in the ports tree, cause otherwise the port has a library dependency issue because those libraries have the same numbers. Notes: svn path=/head/; revision=520300
* Update to the recent version.Sergey A. Osokin2019-12-132-5/+5
| | | | Notes: svn path=/head/; revision=520062
* Add two missing patches with r519299.Sergey A. Osokin2019-12-082-0/+69
| | | | Notes: svn path=/head/; revision=519300
* Update to the recent 7e24e21 commit on Dec 5, 2019.Sergey A. Osokin2019-12-082-8/+15
| | | | | | | Port to the openresty flavor of luajit. Notes: svn path=/head/; revision=519299
* databases/redis-devel: fix build on GCC architecturesPiotr Kubaj2019-12-071-4/+1
| | | | | | | | | | Require C11 compiler: cc1: error: unrecognized command line option "-std=c11" Also remove base GCC workaround. Notes: svn path=/head/; revision=519240
* Update to the recent commit.Sergey A. Osokin2019-12-052-5/+5
| | | | Notes: svn path=/head/; revision=519059