pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: databases/openldap-server bdb backend

On Mon, 11 May 2020 22:37:42 +0200
Jaromír Doleček <> wrote:

> Seems you are right, mdb is the preferred default.

Another thing I'm not sure about is the dynamic modules. This option
enables support for them:

### Enable dynamic module support
.if !empty(PKG_OPTIONS:Mdso)
CONFIGURE_ARGS+=        --enable-modules
.include "../../devel/libltdl/"

but then SLAPD backends and overlays are not built as modules. If you
run "pkg_info -L openldap-server" there are no modules listed.

So if "--enable-modules" is selected, I wonder if Makefile needs to
pass backends + overlays as modules as well:

--enable-overlays=mod --enable-mdb=mod --enable-monitor=mod ... and so

So you can only load the modules you need and keep memory usage down.
I've not used it in this way, so not sure if there are any downsides
associated with modules and how portable this is across different OSes.

Home | Main Index | Thread Index | Old Index