# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= redis VERSION= 8.6.0 KEYWORDS= databases VARIANTS= std SDESC[std]= Persistent key-value database with net interface HOMEPAGE= https://redis.io/open-source/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= http://download.redis.io/releases/ DISTFILE[1]= redis-8.6.0.tar.gz:main DF_INDEX= 1 SPKGS[std]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none USERS= redis GROUPS= redis USERGROUP_SPKG= single USES= cpe gmake execinfo pkgconfig c++:single LICENSE= CUSTOM1:single CUSTOM2:single LICENSE_TERMS= single:{{WRKDIR}}/TERMS LICENSE_NAME= CUSTOM1:"Redis Source Available License 2.0" CUSTOM2:"Server Side Public License" LICENSE_FILE= CUSTOM1:{{WRKDIR}}/RSALv2 CUSTOM2:{{WRKDIR}}/SSPL LICENSE_SCHEME= dual CPE_VENDOR= redislabs FPC_EQUIVALENT= databases/redis MAKE_ENV= V=yo RC_SUBR= redis:single sentinel:single SUB_FILES= messages-single.ucl CFLAGS= -Wno-implicit-fallthrough LDFLAGS= -lm -lexecinfo VAR_OPSYS[linux]= LDFLAGS=-ldl pre-configure: # skip module tests (at least one requires link fix) ${REINPLACE_CMD} -e '/all:/ s/module_tests//' ${WRKSRC}/src/Makefile post-extract: ${SED} -n '/Redis Source Available License 2.0 (RSALv2)/!p;//q' \ ${WRKSRC}/LICENSE.txt > ${WRKDIR}/TERMS ${AWK} '/1. Redis/,/exclusive jurisdiction for all purposes/' \ ${WRKSRC}/LICENSE.txt > ${WRKDIR}/RSALv2 ${AWK} '/2. Server Side Public License/,/return for a fee./' \ ${WRKSRC}/LICENSE.txt > ${WRKDIR}/SSPL do-install: (cd ${WRKSRC}/src && \ ${INSTALL_PROGRAM} redis-benchmark redis-check-aof redis-check-rdb \ redis-cli redis-sentinel redis-server ${STAGEDIR}${PREFIX}/bin/) ${INSTALL_DATA} ${WRKSRC}/redis.conf \ ${STAGEDIR}${PREFIX}/etc/redis.conf.sample ${INSTALL_DATA} ${WRKSRC}/sentinel.conf \ ${STAGEDIR}${PREFIX}/etc/sentinel.conf.sample ${MKDIR} ${STAGEDIR}/var/db/redis \ ${STAGEDIR}/var/run/redis \ ${STAGEDIR}/var/log/redis [FILE:807:descriptions/desc.single] 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. [FILE:97:distinfo] d7e5f65f0bb0b4753d0cf98a60f5409a7c9b430ff8ac3397d336260cf64e5a6e 4235278 redis-8.6.0.tar.gz [FILE:261:manifests/plist.single] @sample etc/redis.conf.sample @sample etc/sentinel.conf.sample bin/ redis-benchmark redis-check-aof redis-check-rdb redis-cli redis-sentinel redis-server @dir(redis,redis,) /var/db/redis @dir(redis,redis,) /var/log/redis @dir(redis,redis,) /var/run/redis [FILE:294:patches/patch-deps-linenoise-Makefile] --- deps/linenoise/Makefile.orig 2026-02-08 07:03:30 UTC +++ deps/linenoise/Makefile @@ -1,10 +1,10 @@ STD= WARN= -Wall -OPT= -Os +#OPT= -Os R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) R_LDFLAGS= $(LDFLAGS) -DEBUG= -g +#DEBUG= -g R_CC=$(CC) $(R_CFLAGS) R_LD=$(CC) $(R_LDFLAGS) [FILE:1571:patches/patch-deps_hiredis_Makefile] --- deps/hiredis/Makefile.orig 2026-02-08 07:03:30 UTC +++ deps/hiredis/Makefile @@ -15,7 +15,7 @@ HIREDIS_PATCH=$(shell grep HIREDIS_PATCH HIREDIS_SONAME=$(shell grep HIREDIS_SONAME hiredis.h | awk '{print $$3}') # Installation related variables and target -PREFIX?=/usr/local +PREFIX?=${PREFIX} INCLUDE_PATH?=include/hiredis LIBRARY_PATH?=lib PKGCONF_PATH?=pkgconfig @@ -43,9 +43,7 @@ HIREDIS_LDFLAGS= # Fallback to gcc when $CC is not in $PATH. CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc') CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++') -OPTIMIZATION?=-O3 WARNINGS=-Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -DEBUG_FLAGS?= -g -ggdb REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CPPFLAGS) $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS) $(PLATFORM_FLAGS) $(HIREDIS_CFLAGS) REAL_LDFLAGS=$(LDFLAGS) $(HIREDIS_LDFLAGS) @@ -139,6 +137,15 @@ ifeq ($(uname_S),SunOS) DYLIB_MAKE_CMD=$(CC) $(SUN_SHARED_FLAG) -o $(DYLIBNAME) -h $(DYLIB_MINOR_NAME) $(LDFLAGS) SSL_DYLIB_MAKE_CMD=$(CC) $(SUN_SHARED_FLAG) -o $(SSL_DYLIBNAME) -h $(SSL_DYLIB_MINOR_NAME) $(LDFLAGS) $(SSL_LDFLAGS) endif +ifeq ($(uname_S),FreeBSD) + CFLAGS?=$(CFLAGS) + CCLINK?=-pthread + LDFLAGS?=-L. -Wl,-rpath,. + DYLIBNAME?=libhiredis.so + DYLIB_MAKE_CMD?=$(CC) -o ${DYLIBNAME} ${OBJ} + STLIBNAME?=libhiredis.a + STLIB_MAKE_CMD?=ar rcs ${STLIBNAME} ${OBJ} +endif ifeq ($(uname_S),Darwin) DYLIBSUFFIX=dylib DYLIB_MINOR_NAME=$(LIBNAME).$(HIREDIS_SONAME).$(DYLIBSUFFIX) [FILE:1472:patches/patch-redis.conf] --- redis.conf.orig 2026-02-08 07:03:30 UTC +++ redis.conf @@ -307,7 +307,7 @@ tcp-keepalive 300 # By default Redis does not run as a daemon. Use 'yes' if you need it. # Note that Redis will write a pid file in /var/run/redis.pid when daemonized. # When Redis is supervised by upstart or systemd, this parameter has no impact. -daemonize no +daemonize yes # If you run Redis from upstart or systemd, Redis can interact with your # supervision tree. Options: @@ -339,7 +339,7 @@ daemonize no # # Note that on modern Linux systems "/run/redis.pid" is more conforming # and should be used instead. -pidfile /var/run/redis_6379.pid +pidfile /var/run/redis/redis.pid # Specify the server verbosity level. # This can be one of: @@ -353,7 +353,7 @@ loglevel notice # Specify the log file name. Also the empty string can be used to force # Redis to log on the standard output. Note that if you use standard # output for logging but daemonize, logs will be sent to /dev/null -logfile "" +logfile /var/log/redis/redis.log # To enable logging to the system logger, just set 'syslog-enabled' to yes, # and optionally update the other syslog parameters to suit your needs. @@ -513,7 +513,7 @@ rdb-del-sync-files no # The Append Only File will also be created inside this directory. # # Note that you must specify a directory here, not a file name. -dir ./ +dir /var/db/redis/ ################################# REPLICATION ################################# [FILE:275:patches/patch-src-lua_cjson.c] --- deps/lua/src/lua_cjson.c.orig 2026-02-08 07:03:30 UTC +++ deps/lua/src/lua_cjson.c @@ -47,7 +47,9 @@ #include "strbuf.h" #include "fpconv.h" +#if defined(__sun) #include "../../../src/solarisfixes.h" +#endif #ifndef CJSON_MODNAME #define CJSON_MODNAME "cjson" [FILE:681:patches/patch-src_Makefile] --- src/Makefile.orig 2026-02-08 07:03:30 UTC +++ src/Makefile @@ -150,7 +150,6 @@ endif FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS) FINAL_LDFLAGS=$(LDFLAGS) $(OPT) $(REDIS_LDFLAGS) $(DEBUG) FINAL_LIBS=-lm -lstdc++ -DEBUG=-g -ggdb # Linux ARM32 needs -latomic at linking time ifneq (,$(findstring armv,$(uname_M))) @@ -235,12 +234,16 @@ ifeq ($(uname_S),Haiku) FINAL_LDFLAGS+= -lbsd -lnetwork FINAL_LIBS+= -lpthread else +ifeq ($(uname_S),MidnightBSD) + FINAL_LIBS+= -lpthread -lexecinfo +else # All the other OSes (notably Linux) FINAL_LDFLAGS+= -rdynamic FINAL_LIBS+=-ldl -pthread -lrt endif endif endif +endif endif endif endif [FILE:501:patches/patch-src_mkreleasehdr.sh] --- src/mkreleasehdr.sh.orig 2026-02-08 07:03:30 UTC +++ src/mkreleasehdr.sh @@ -1,6 +1,6 @@ #!/bin/sh -GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1` -GIT_DIRTY=`git diff --no-ext-diff -- ../src ../deps 2> /dev/null | wc -l` +GIT_SHA1="00000000" +GIT_DIRTY="0" BUILD_ID=`uname -n`"-"`date +%s` if [ -n "$SOURCE_DATE_EPOCH" ]; then BUILD_ID=$(date -u -d "@$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u +%s) [FILE:287:patches/patch-src_zmalloc.h] --- src/zmalloc.h.orig 2026-02-08 07:03:30 UTC +++ src/zmalloc.h @@ -58,7 +58,7 @@ defined(USE_MALLOC_USABLE_SIZE)) /* Includes for malloc_usable_size() */ -#ifdef __FreeBSD__ +#if defined __FreeBSD__ || defined __DragonFly__ #include #else #ifndef _GNU_SOURCE [FILE:228:files/messages-single.ucl.in] single: { type: "install" message: <