pkgsrc/databases/couchdb/patches/patch-aa
fhajny 95f2c83d1f Update databases/couchdb to 2.1.1.
couchdb 2.1.1
- CouchDB now supports compilation and running under Erlang/OTP 20.x
- The couch_peruser functionality is now really fixed
- The cookie domain for AuthSession cookies, used in a proxy
  authentication configuration, can now be customized via the ini file
- It is now possible to modify shard maps for system databases
- Due to an Erlang bug (ERL-343), invalid paths can be returned if
  volumes are mounted containing whitespace in their name (fixed)
- The current node's local interface can now be accessed at
  /_node/_local/{endpoint} as well as at
  /_node/<nodename>@<hostname>/{endpoint}.- The Dockerfile in the source
  repository has been retired
- Fauxton now uses a version of React with a BSD license.
- CouchDB now no longer decompresses documents just to determine their
  uncompressed size
- The design document cache (ddoc_cache) has been rewritten to improve
  performance
- Mango now supports partial indexes
- Mango queries can now be paginated
- Mango _find accepts an execution_stats parameter
- Mango now requires that all of the fields in a candidate index must
  exist in a query's selector
- Other minor improvements.

couchdb 2.1.0
- The Mango _find endpoint supports a new combination operator,
  $allMatch.
- New scheduling replicator.
- Other minor improvements.

See changelog for the 2.1.x branch for more:

  http://docs.couchdb.org/en/latest/whatsnew/2.1.html
2017-11-07 15:33:27 +00:00

32 lines
1.1 KiB
Text

$NetBSD: patch-aa,v 1.10 2017/11/07 15:33:27 fhajny Exp $
Set pkgsrc standard paths. Portability.
--- configure.orig 2017-11-01 02:52:10.000000000 +0000
+++ configure
@@ -85,7 +85,7 @@ parse_opts() {
--rebar)
if [ -x "$2" ]; then
- version=`$2 --version 2> /dev/null | grep -o "2\.[6-9]\.[0-9]"`
+ version=`$2 --version 2> /dev/null | grep -w "2\.[6-9]\.[0-9]"`
if [ $? -ne 0 ]; then
printf 'Rebar >=2.6.0 and <3.0.0 required' >&2
exit 1
@@ -150,11 +150,11 @@ 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"}.
-{log_file, "$LOG_FILE"}.
-{fauxton_root, "./share/www"}.
+{prefix, "@PREFIX@/couchdb"}.
+{data_dir, "@COUCH_DBDIR@"}.
+{view_index_dir, "@COUCH_DBDIR@"}.
+{log_file, "@COUCH_LOGDIR@/couch.log"}.
+{fauxton_root, "@PREFIX@/couchdb/share/www"}.
{user, "$COUCHDB_USER"}.
{node_name, "-name couchdb@127.0.0.1"}.
{cluster_port, 5984}.