[Bug 218844] [NEW PORT] databases/couchdb2: JSON document database with HTTP API and scalable multi-master sync (Version 2.x)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 11 10:12:00 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218844

--- Comment #17 from Dave Cottlehuber <dch at skunkwerks.at> ---
@rap aside from the OTP 20.0 vs OTP 19.x clashes discussed on IRC there are a
few changes needed for pkg-plist yet:

- /usr/local/lib/* should be read only in general and root:wheel (default)
groups
- 0755 for dirs, 0644 for files (defaults)
- sensitive files should be couchdb:couchdb 0600 or root:couchdb 0660
(local.ini, vm.args, sys.config)
- default.ini should be 0644 root:wheel as its part of the distribution
- directories should be root:wheel 0755 apart from /var/*/couchdb which should
be  root:couchdb 0770 to prevent information disclosure
- .o, .a .c intermediate files should be removed
- the port should install to /usr/local/lib/couchdb2 so that people who wish to
migrate from v1.x to v2.x can have them concurrently installed, at least via
`pkg install -f couchdb couchdb2`
- this would mean you can use prefixes instead of custom locations in the
pkg-plist:

DATADIR=/usr/local/share/couchdb2
DOCSDIR=/usr/local/share/doc/couchdb2
EXAMPLESDIR=/usr/local/share/examples/couchdb2
WWWDIR=/usr/local/www/couchdb2
ETCDIR=/usr/local/etc/couchdb2

using
https://pkg.skunkwerks.at/poudriere/build.html?mastername=11_amd64-default&build=2017-07-11_09h40m41s
as reference for errors, which is your latest patch + an updated erts version
spliced in.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list