Stuart Henderson writes: > On 2019/03/03 01:53, Anthony J. Bentley wrote: > > GNU Dico is a flexible modular implementation of DICT server (RFC 2229). > > In contrast to other implementations, it does not depend on particular > > database format. GNU Dico handles database accesses using loadable modules. > > I imagine using it with books/gcide would be a pretty common use case. > > What do you think about shipping a sample config for that (files/dicod.conf > installed under share/examples and @sample'd into /etc, with a comment saying > that gcide is required to use this config) and having other pieces in place > to work with that (i.e. @sample /var/dicod and have the rc script create > /var/run/dicod with appropriate permissions)?
Yes, definitely. Here's a new port with an example config. I went ahead and reduced to a single directory /var/dico for both the index and pidfile, as /var/run/dico isn't actually a default (the default is actually /var/run/dicod.pid, which doesn't work unless the server is started as root). > - there are commented-out rc_bg/rc_reload in dico.rc Removed. It does background and reload correctly via rcctl. > - the static libraries for the plugins don't seem useful, you can > probably zap them with LIBTOOL_FLAGS = --tag=disable-static Sure. -- Anthony J. Bentley
dico.tar.gz
Description: dico.tar.gz