BSD Ports

databases/couchdb3 3.5.3 FreeBSD

JSON document database with HTTP API and scalable cluster mesh sync

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
c98d9f05f6
License
APACHE20, BSD3CLAUSE, ISCL, OFL11, WTFPL
Categories
databases
Package size
34716.0 KiB, 66319.9 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDdatabases/couchdb33.5.3
DragonFlydatabases/couchdb33.3.3_1
MidnightBSDdatabases/couchdb33.5.3_2

Install

Binary package:

pkg install couchdb3

From the ports tree:

cd /usr/ports/databases/couchdb3/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	couchdb3>0:databases/couchdb3

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.5.2_53.5.3---
FreeBSD:14:quarterly3.5.2_53.5.2_5n/a--
FreeBSD:15:latest3.5.33.5.3n/a--
FreeBSD:15:quarterly3.5.2_53.5.2_5n/an/an/a
FreeBSD:16:latest3.5.2_53.5.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Library 2

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 10
Run dependencies 4

No port depends on this one.

Configuration

Options name: databases_couchdb3

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
compiler:c++17-lang cpe gmake libtool ncurses ssl
Service scripts
couchdb3
Conflicts with
couchdb4*

Message after installing

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:[email protected]:5984/_users
curl -X PUT http://admin:[email protected]:5984/_replicator
curl -X PUT http://admin:[email protected]: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

Files

Manual pages 1
  • apachecouchdb(1)
pkg-plist 1758
  • @sample(couchdb,couchdb,640) etc/couchdb3/local.ini.sample
  • @sample(couchdb,couchdb,640) etc/couchdb3/vm.args.sample
  • libexec/couchdb3/LICENSE
  • libexec/couchdb3/bin/couchdb
  • libexec/couchdb3/bin/couchjs
  • libexec/couchdb3/bin/remsh
  • libexec/couchdb3/bin/weatherreport
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/beam.smp
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/ct_run
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/epmd
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/erl
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/erl_call
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/erl_child_setup
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/erlc
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/erlexec
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/escript
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/heart
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/inet_gethost
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/run_erl
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/start
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/to_erl
  • libexec/couchdb3/erts-%%ERTS_VER%%/bin/yielding_c_fun
  • libexec/couchdb3/erts-%%ERTS_VER%%/lib/internal/README
  • libexec/couchdb3/etc/default.ini
  • libexec/couchdb3/etc/nouveau.yaml
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1.app
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1.appup
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1_db.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_check.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_constructed_ber_bin_v2.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_constructed_per.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_eval_ext.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_func.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_gen.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_gen_ber_bin_v2.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_gen_check.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_gen_jer.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_gen_per.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_imm.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_name.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_parser2.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_partial_decode.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_pretty_format.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_rtt.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_table.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_tok.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1ct_value.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/ebin/asn1rt_nif.beam
  • libexec/couchdb3/lib/asn1-%%ASN1_VER%%/priv/lib/asn1rt_nif.so
  • libexec/couchdb3/lib/b64url-%%VERSION%%/ebin/b64url.app
  • libexec/couchdb3/lib/b64url-%%VERSION%%/ebin/b64url.beam
  • libexec/couchdb3/lib/b64url-%%VERSION%%/priv/b64url.so
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd.app
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_app.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_auth.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_auth_cache.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_auth_request.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_cors.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_db.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_epi.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_external.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_handlers.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_httpd_handlers.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_misc.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_node.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_plugin.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_prefer_header.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_rewrite.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_show.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_stats.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_sup.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_test_util.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_util.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_view.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/ebin/chttpd_xframe_options.beam
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/include/chttpd.hrl
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/include/chttpd_cors.hrl
  • libexec/couchdb3/lib/chttpd-%%VERSION%%/priv/stats_descriptions.cfg
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_a.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_asm.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_block.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_bounds.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_call_types.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_clean.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_core_to_ssa.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_dict.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_digraph.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_disasm.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_doc.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_flatten.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_jump.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_listing.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_opcodes.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_ssa.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_ssa_alias.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_ssa_bc_size.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_ssa_bool.beam
  • libexec/couchdb3/lib/compiler-%%COMPILER_VER%%/ebin/beam_ssa_bsm.beam

The first 100 are listed.

distinfo 1
FileSizeSHA256
apache-couchdb-3.5.3.tar.gz2.5034444e+07ae0bb374cc89900d6cb1dfb8d8e80c799186dcf2d143ca886296c230af420896
Master sites 1
  • APACHE/couchdb/source/3.5.3

Commit history 6

DateCommitCreditsLog message
c98d9f05f6 Dave Cottlehuber databases/couchdb3: Update to 3.5.3
- security maintenance release fixing six CVEs - performance improvements to _bulk_docs, views, and QuickJS - over 50 bugfixes and improvements - https://blog.couchdb.org/2026/10/12/3-5-3/ MFH: 2026Q3 Security: CVE-2026-86471 Security: CVE-2026-90797 Security: CVE-2026-90798 Security: CVE-2026-90800 Security: CVE-2026-90799 Security: CVE-2026-107755 Sponsored by: SkunkWerks, GmbH
d36a21c363 Jimmy Olgeni databases/couchdb3: Bump PORTREVISION for Erlang/OTP 28.5.0.7
ee1a7d634d Jimmy Olgeni databases/couchdb3: Bump PORTREVISION after erlang-runtime28 update
aaa28e3db4 Jimmy Olgeni databases/couchdb3: Resolve bundled OTP versions dynamically in PLIST_SUB
The release bundles erts and 13 OTP applications from lang/erlang-runtime28, and pkg-plist pinned each of their versioned directory names. Six of the last eight plist commits were pure OTP rename churn, the largest touching 610 lines, while the 3.5.2 update itself touched 23. Derive the versions from the installed runtime at plist-generation time instead. The package file list is unchanged: resolving the tokenized plist with the versions this build staged reproduces the previous pkg-plist byte for byte, so no PORTREVISION bump is needed. An erlang-runtime28 update now needs only a PORTREVISION bump. Note this reads ${LOCALBASE}/lib/erlang28 rather than the staged release, because generate-plist runs before do-install; it holds as long as the …
05f4685a54 Jimmy Olgeni databases/couchdb3: Bump PORTREVISION after erlang-runtime28 update

The latest 5 of 6 in the history this site was built from.