Port details on branch 2024Q4 |
- couchdb3 JSON document database with HTTP API and scalable cluster mesh sync
- 3.4.2 databases =0 3.4.2Version of this port present on the latest quarterly branch.
- Maintainer: dch@FreeBSD.org
- Port Added: 2024-12-09 21:57:06
- Last Update: 2024-12-16 07:42:16
- Commit Hash: 594d6e6
- License: APACHE20 BSD3CLAUSE ISCL OFL11 WTFPL
- WWW:
- https://couchdb.apache.org/
- Description:
- Apache CouchDB lets you access your data where you need it by defining the
Couch Replication Protocol that is implemented by a variety of projects and
products that span every imaginable computing environment from globally
distributed server-clusters, over mobile phones to web browsers.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- couchdb3>0:databases/couchdb3
- Conflicts:
- CONFLICTS:
- To install the port:
- cd /usr/ports/databases/couchdb3/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/couchdb3
- pkg install couchdb3
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: couchdb3
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1729600712
SHA256 (apache-couchdb-3.4.2.tar.gz) = d27ff2a13356000296a98ab884caf3d175927cf21727963ff90fab3a747544cf
SIZE (apache-couchdb-3.4.2.tar.gz) = 19242582
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- erlang-runtime26>=26.0 : lang/erlang-runtime26
- rebar : devel/rebar
- gmake>=4.4.1 : devel/gmake
- Library dependencies:
-
- libicudata.so : devel/icu
- libmozjs-91.so : lang/spidermonkey91
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for couchdb3-3.4.2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- databases_couchdb3
- USES:
- compiler:c++17-lang cpe gmake libtool ncurses ssl
- pkg-message:
- For install:
- If this is the first time you are installing couchdb3, you will need
to add a default administrator, and initialise the database node.
If you are upgrading an existing couchdb3 installation < 2.0, you will
need to replicate your databases across with HTTP, and manually apply
any security objects and local.ini settings.
If you are upgrading from 2.0 and newer, you can simply re-use the
existing database and views directory, amending your local.ini file
accordingly:
[couchdb]
uuid = ....
database_dir = /var/db/couchdb/data
view_index_dir = /var/db/couchdb/views
In both cases, make sure your javascript functions are compliant with
modern JS, as the SpiderMonkey 60 engine is more strict than its
predecessors used in older CouchDB versions.
For a single node setup, append an inital administrator username and
password to the [admins] section of your local.ini, and a [log] section:
[admins]
admin = passwd
[log]
# http://docs.couchdb.org/en/latest/config/logging.html
level = err
include_sasl = true
writer = syslog
syslog_host = localhost
Amend /usr/local/etc/couchdb3/vm.args as required, at least altering the cookie.
Then, start Apache CouchDB, and run the following commands once the
database is started for the first time, amending admin:passwd to match
your choice above to initialise the default databases:
sudo service couchdb3 start
curl -X PUT http://admin:passwd@127.0.0.1:5984/_users
curl -X PUT http://admin:passwd@127.0.0.1:5984/_replicator
curl -X PUT http://admin:passwd@127.0.0.1:5984/_global_changes
Then use the admin interface at http://127.0.0.1:5984/_utils/# as usual.
For more information see
http://docs.couchdb.org/en/latest/setup/index.html
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.4.2 16 Dec 2024 07:42:16 |
Dave Cottlehuber (dch) |
databases/couchdb3: fix pkg-plist errors
Previous CouchDB releases are directly dependent on lang/erlang* runtimes,
but this one is now a fully relocatable erlang release. The lang/erlang
version in quarterly are slightly different in main, and the plist did
not reflect this.
Reported by: pkg-fallout
Sponsored by: SkunkWerks, GmbH |
3.4.2 09 Dec 2024 21:55:50 |
Dave Cottlehuber (dch) |
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
(cherry picked from commit 6924dfdf7ea3b4b511c7f987727cb6933175765c) |