pkgsrc/databases/couchdb/patches/patch-rel_overlay_bin_couchdb
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

26 lines
870 B
Text

$NetBSD: patch-rel_overlay_bin_couchdb,v 1.2 2017/11/07 15:33:27 fhajny Exp $
Set pkgsrc standard paths.
--- rel/overlay/bin/couchdb.orig 2017-07-30 22:11:20.000000000 +0000
+++ rel/overlay/bin/couchdb
@@ -12,11 +12,7 @@
# License for the specific language governing permissions and limitations under
# the License.
-COUCHDB_BIN_DIR=$(cd "${0%/*}" && pwd)
-ERTS_BIN_DIR=$COUCHDB_BIN_DIR/../
-cd "$COUCHDB_BIN_DIR/../"
-
-export ROOTDIR=${ERTS_BIN_DIR%/*}
+export ROOTDIR=@PREFIX@/couchdb
START_ERL=`cat "$ROOTDIR/releases/start_erl.data"`
ERTS_VSN=${START_ERL% *}
@@ -27,5 +23,5 @@ export EMU=beam
export PROGNAME=`echo $0 | sed 's/.*\///'`
exec "$BINDIR/erlexec" -boot "$ROOTDIR/releases/$APP_VSN/couchdb" \
- -args_file "$ROOTDIR/etc/vm.args" \
+ -args_file "@PKG_SYSCONFDIR@/vm.args" \
-config "$ROOTDIR/releases/$APP_VSN/sys.config" "$@"