<pre style='margin:0'>
Mohamed Akram (mohd-akram) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/473af634ceef3a5645a48d5b9d83e86c56ec6497">https://github.com/macports/macports-ports/commit/473af634ceef3a5645a48d5b9d83e86c56ec6497</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 473af634cee valkey: new port
</span>473af634cee is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 473af634ceef3a5645a48d5b9d83e86c56ec6497
</span>Author: Mohamed Akram <makr@macports.org>
AuthorDate: Wed May 1 03:38:40 2024 +0400
<span style='display:block; white-space:pre;color:#404040;'> valkey: new port
</span>---
databases/valkey/Portfile | 110 ++++++++++++++++++++++++++
databases/valkey/files/patch-fix-install.diff | 57 +++++++++++++
databases/valkey/files/patch-gh-12585.diff | 10 +++
databases/valkey/files/patch-hiredis.diff | 11 +++
databases/valkey/files/patch-valkey.conf.diff | 30 +++++++
5 files changed, 218 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/valkey/Portfile b/databases/valkey/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..5baee3ca79f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/valkey/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,110 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup legacysupport 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup muniversal 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup xcode_workaround 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clock_gettime
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.newest_darwin_requires_legacy 15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name valkey
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup valkey-io valkey 7.2.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories databases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {outlook.com:mohd.akram @mohd-akram} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description in-memory data store
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Valkey is an open source (BSD) high-performance key/value \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ datastore that supports a variety workloads such as \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ caching, message queues, and can act as a primary database.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://valkey.io
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 877e2388d520f6fb3a1e4e6dd9effeb80b072fb7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c7c7a758edabe7693b3692db58fe5328130036b06224df64ab1f0c12fe265a76 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3420515
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-valkey.conf.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-hiredis.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-gh-12585.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-fix-install.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/valkey.conf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/deps/hiredis/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see ${worksrcpath}/deps/jemalloc/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2014
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append -std=c++14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/59245
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode_workaround.fixed_xcode_version 11.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# valkey and dep makefiles have their own optflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.optflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# avoid build conflict with lua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cppflags-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -I${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -isystem${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# valkey doesn't know about CPPFLAGS so pass it this way
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append SERVER_CFLAGS="${configure.cppflags}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# disable silent rules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append V=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# use jemalloc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append MALLOC=jemalloc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# enable TLS.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append BUILD_TLS=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib path:lib/libssl.dylib:openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# prevent conflict with redis
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.args-append USE_REDIS_SYMLINKS=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set db_dir ${prefix}/var/db/valkey
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set log_dir ${prefix}/var/log/valkey
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.keepdirs ${destroot}${db_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${log_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+makefile.has_destdir no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach conffile {valkey.conf sentinel.conf} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/${conffile} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${name}/${conffile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -o ${name} -g ${name} -d ${destroot}${db_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -o ${name} -g ${name} -d ${destroot}${log_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach conffile {valkey.conf sentinel.conf} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${prefix}/etc/${conffile}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${prefix}/share/doc/${name}/${conffile} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/etc/${conffile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+add_users valkey group=valkey realname=Valkey\ Database\ Server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.create yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.user valkey
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.group valkey
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.executable ${prefix}/bin/valkey-server ${prefix}/etc/valkey.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex ${name}-(\\d+.\\d+.\\d+)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/valkey/files/patch-fix-install.diff b/databases/valkey/files/patch-fix-install.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9096dbdda8c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/valkey/files/patch-fix-install.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,57 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From d0ee4188c509f8c7e86ef7a2bf538e42896419d4 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: =?UTF-8?q?Viktor=20S=C3=B6derqvist?= <viktor.soderqvist@est.tech>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Thu, 25 Apr 2024 23:19:15 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Don't let install flags affect build (#382)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+MIME-Version: 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Content-Type: text/plain; charset=UTF-8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Content-Transfer-Encoding: 8bit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Don't let the Make valiable `USE_REDIS_SYMLINKS` affect the build.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+If it does, it causes the second line in the example below (`make
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+install`) to recompile what was already compiled on the line above, and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+this time it's built without BUILD_TLS=yes USE_SYSTEMD=yes.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ make BUILD_TLS=yes USE_SYSTEMD=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ make PREFIX=custom/usr USE_REDIS_SYMLINKS=no install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fixes #377
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/Makefile | 3 +--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/server.c | 4 +---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2 files changed, 2 insertions(+), 5 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/src/Makefile b/src/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 47b961862..b73d509fe 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -348,7 +348,6 @@ USE_REDIS_SYMLINKS?=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifeq ($(USE_REDIS_SYMLINKS),yes)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAYBE_INSTALL_REDIS_SYMLINK=$(INSTALL_REDIS_SYMLINK)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAYBE_UNINSTALL_REDIS_SYMLINK=@rm -f $(1)/$(subst $(ENGINE_NAME),redis,$(2))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- FINAL_CFLAGS+= -DUSE_REDIS_SYMLINKS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAYBE_INSTALL_REDIS_SYMLINK=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAYBE_UNINSTALL_REDIS_SYMLINK=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/src/server.c b/src/server.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0864ec7d4..02191da78 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/server.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/server.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7021,15 +7021,13 @@ int main(int argc, char **argv) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if (strstr(exec_name,"valkey-check-aof") != NULL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ redis_check_aof_main(argc,argv);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* If enable USE_REDIS_SYMLINKS, valkey may install symlinks like
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* valkey may install symlinks like
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * redis-server -> valkey-server, redis-check-rdb -> valkey-check-rdb,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * redis-check-aof -> valkey-check-aof, etc. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef USE_REDIS_SYMLINKS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (strstr(exec_name,"redis-check-rdb") != NULL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ redis_check_rdb_main(argc, argv, NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if (strstr(exec_name,"redis-check-aof") != NULL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ redis_check_aof_main(argc,argv);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (argc >= 2) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ j = 1; /* First option to parse in argv[] */
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/valkey/files/patch-gh-12585.diff b/databases/valkey/files/patch-gh-12585.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..82760157fae
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/valkey/files/patch-gh-12585.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/config.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/config.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -31,6 +31,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define __CONFIG_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define _DARWIN_C_SOURCE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <fcntl.h> // for fcntl(fd, F_FULLFSYNC)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <AvailabilityMacros.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/valkey/files/patch-hiredis.diff b/databases/valkey/files/patch-hiredis.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8779cda41fb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/valkey/files/patch-hiredis.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff -ur valkey-7.0.0-orig/deps/hivalkey/Makefile valkey-7.0.0/deps/hivalkey/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- deps/hiredis/Makefile 2022-04-27 09:32:17.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ deps/hiredis/Makefile 2022-05-16 15:06:01.193307851 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -22,6 +22,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INSTALL_INCLUDE_PATH= $(DESTDIR)$(PREFIX)/$(INCLUDE_PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INSTALL_LIBRARY_PATH= $(DESTDIR)$(PREFIX)/$(LIBRARY_PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INSTALL_PKGCONF_PATH= $(INSTALL_LIBRARY_PATH)/$(PKGCONF_PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++OPENSSL_PREFIX=@PREFIX@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # redis-server configuration used for testing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ REDIS_PORT=56379
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/valkey/files/patch-valkey.conf.diff b/databases/valkey/files/patch-valkey.conf.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f051cf46cc2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/valkey/files/patch-valkey.conf.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,30 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff -ur valkey-7.0.0-orig/valkey.conf valkey-7.0.0/valkey.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- valkey.conf 2022-04-27 09:32:17.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ valkey.conf 2022-05-16 14:17:18.104384198 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -338,7 +338,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Note that on modern Linux systems "/run/valkey.pid" is more conforming
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # and should be used instead.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-pidfile /var/run/valkey_6379.pid
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++pidfile @PREFIX@/var/run/valkey_6379.pid
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Specify the server verbosity level.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # This can be one of:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -351,7 +351,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Specify the log file name. Also the empty string can be used to force
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the server to log on the standard output. Note that if you use standard
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # output for logging but daemonize, logs will be sent to /dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-logfile ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++logfile @PREFIX@/var/log/valkey/valkey.log
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # To enable logging to the system logger, just set 'syslog-enabled' to yes,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # and optionally update the other syslog parameters to suit your needs.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -501,7 +501,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The Append Only File will also be created inside this directory.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Note that you must specify a directory here, not a file name.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-dir ./
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++dir @PREFIX@/var/db/valkey
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ################################# REPLICATION #################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>