Thread View: muc.lists.freebsd.ports
3 messages
3 total messages
Started by Dan Mahoney (ports)
Wed, 14 Oct 2026 08:12
A gentle request: Can we please standardize on a version of LMDB (0 or 1) and make it so all ports in pkg require the same one?
Author: Dan Mahoney (ports)
Date: Wed, 14 Oct 2026 08:12
Date: Wed, 14 Oct 2026 08:12
31 lines
5521 bytes
5521 bytes
Hey there. Right now, bind920 requires lmdb1 and postfix requires lmdb0, which means they're not co-installable. Postfix can work with either version. Bind9 only needs it in an edge case (it doesn't add any functionality, just speeds up an existing function), but it also can work with any version. Neither of these ports has a flavor option to let you install, say, postfix-lmdb0 from pkg. The postfix port is at least selectable. Bind920 is not. When LMDB changed their version, there were several things they did *really* wrong. There were breaking changes without bumping the library version, if you have large LMDB databases (as opposed to just postfix "map" files, which you can just rebuild), you have to dump and restore, and the dump utility is only included with LMDB0 (there's no dump util included in lmdb1 that can cleanly dump an lmdb0 file). It feels like there should be a flag day where LMDB1 becomes the default, and until then, it should only be available for people who want to build manually. -Dan Mahoney -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: A gentle request: Can we please standardize on a version of LMDB (0 or 1) and make it so all ports in pkg require the same o...
Author: Xavier Beaudouin
Date: Wed, 14 Oct 2026 08:48
Date: Wed, 14 Oct 2026 08:48
19 lines
3975 bytes
3975 bytes
Hello Dan, > > It feels like there should be a flag day where LMDB1 becomes the default, and until then, it should only be available for people who want to build manually. Yes this is really a complex issue… For example postfix and samba have same issues. Version 4.23, 4.24 and 4.25 have options to compile the good one, but there still another issue with lmdb : the incompatibility of the databases… Kind regards, Xavier -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: A gentle request: Can we please standardize on a version of LMDB (0 or 1) and make it so all ports in pkg require the same o...
Author: Dan Mahoney (ports)
Date: Wed, 14 Oct 2026 09:18
Date: Wed, 14 Oct 2026 09:18
32 lines
5809 bytes
5809 bytes
> On Oct 14, 2026, at 1:48 AM, Xavier Beaudouin <kiwi@freebsd.org> wrote: > > Hello Dan, > >> >> It feels like there should be a flag day where LMDB1 becomes the default, and until then, it should only be available for people who want to build manually. > > Yes this is really a complex issue… For example postfix and samba have same issues. Version 4.23, 4.24 and 4.25 have options to compile the good one, but there still another issue with lmdb : the incompatibility of the databases… Right, and lmdb1 will not read/write an LMDB0 database, nor seamlessly upgrade an lmdb0 database on first access. (This was not the fault of the FreeBSD people, just...a bad move or two on LMDB's part). It would have been way better if LMDB0 and LMDB1 had different include and lib paths, but it's too late to fix that now. Is there an exhaustive list of ports that make use of LMDB? -Dan -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads