Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2017 10:11:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218844] [NEW PORT] databases/couchdb2: JSON document database with HTTP API and scalable multi-master sync (Version 2.x)
Message-ID:  <bug-218844-13-5smYzcRqyI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218844-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218844-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218844

--- Comment #17 from Dave Cottlehuber <dch@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 sho=
uld
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 wis=
h 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=3D/usr/local/share/couchdb2
DOCSDIR=3D/usr/local/share/doc/couchdb2
EXAMPLESDIR=3D/usr/local/share/examples/couchdb2
WWWDIR=3D/usr/local/www/couchdb2
ETCDIR=3D/usr/local/etc/couchdb2

using
https://pkg.skunkwerks.at/poudriere/build.html?mastername=3D11_amd64-defaul=
t&build=3D2017-07-11_09h40m41s
as reference for errors, which is your latest patch + an updated erts versi=
on
spliced in.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218844-13-5smYzcRqyI>