ports/databases/couchdb3/files/patch-configure
Dave Cottlehuber 6924dfdf7e databases/couchdb3: update to 3.4.2, resolve PR282217
- include QuickJS engine
- support xxHash for data integrity checksums
- improved mango keys-only indexes
- https://blog.couchdb.org/2024/10/22/3-4-2/
- https://docs.couchdb.org/en/stable/whatsnew/3.4.html

- ensure snappy NIF is compiled without optimisations to avoid
    corrupted documents under newer clang versions, used in
    in 14.1-RELEASE (see PR282217 for details)

Sponsored by:	SkunkWerks, GmbH

PR:		282217
2024-11-22 17:27:52 +00:00

35 lines
1 KiB
Text

--- configure.orig 2024-10-01 06:38:09 UTC
+++ configure
@@ -19,7 +19,7 @@ basename=`basename $0`
rootdir="$(cd "${0%/*}" 2>/dev/null; echo "$PWD")"
basename=`basename $0`
-PACKAGE_AUTHOR_NAME="The Apache Software Foundation"
+PACKAGE_AUTHOR_NAME="FreeBSD"
REBAR3_BRANCH="3.23.0"
ERLFMT_VERSION="v1.3.0"
@@ -369,16 +369,16 @@ cat > rel/couchdb.config << EOF
% The contents of this file are auto-generated by configure
%
{package_author_name, "$PACKAGE_AUTHOR_NAME"}.
-{prefix, "."}.
-{data_dir, "./data"}.
-{view_index_dir, "./data"}.
-{nouveau_index_dir, "./data/nouveau"}.
+{prefix, "%%APPDIR%%"}.
+{data_dir, "%%DBDIR%%"}.
+{view_index_dir, "%%DBDIR%%"}.
+{nouveau_index_dir, "%%DBDIR%%/nouveau"}.
{nouveau_url, "http://127.0.0.1:5987"}.
{nouveau_port, 5987}.
{nouveau_admin_port, 5988}.
-{state_dir, "./data"}.
-{log_file, "$LOG_FILE"}.
-{fauxton_root, "./share/www"}.
+{state_dir, "%%DBDIR%%"}.
+{log_file, "%%LOG_FILE%%"}.
+{fauxton_root, "%%WWWDIR%%"}.
{user, "$COUCHDB_USER"}.
{js_engine, "$JS_ENGINE"}.
{spidermonkey_version, "$SM_VSN"}.