As you know, 1.71dev does chroot(2) to the directory that dictionary
is located, and this makes the server configuration a little bit confused.
1.71dev also uses stderr as debugging information output, so that it may
affect some clients if dbskkd-cdb is kicked from inetd(8).
But these annoyed days are over. 2.00 behavior is backed to the one
as of 1.01; no chroot(2), no debug output to stderr (yeah!).
From this version, dbskkd-cdb uses tinycdb instead of original cdb.
For Makefile simplicity, this ports BUILD_DEPENDS to tinycdb. Thanks
to higher compatibility between tinycdb and cdb, you don't need to
rebuild CDB dictionary file; ports/japanese/skk-jisyo-cdb is not changed.
I've removed two patches, the one is just unneeded for now, and the another
one is for ports understandability (patch-aa is not a good idea; I can keep
this, but this is the second major version release -- it is a good time
to rename the patch file.)
Thank you to Kenji Rikitake, the dbskkd-cdb author, to let me to know
the 2.00 release in advance, and give some time to update this ports.
As you know, version 1.71 (actually 1.71dev) is "development version."
However, this version was already available in 20th century, and there
are no "doesn't work" information. The author of dbskkd-cdb says it's
ok to update this port to version 1.71dev, so here it is.
With a help of ports/databases/cdb, the Makefile is simpler than previous.
No features are changed, except dbskkd-cdb does chroot(2) in this version.
Since chroot(2) requires superuser privilege, dbskkd-cdb should be started
by root. For inetd user, please double-check your inetd.conf line from
skkserv stream tcp nowait nobody ${PREFIX}/libexec/dbskkd-cdb dbskkd-cdb
to
skkserv stream tcp nowait root ${PREFIX}/libexec/dbskkd-cdb dbskkd-cdb"
to kick by root. Daemontools users please consult the document.
Thanks to: Kenji Rikitake (the dbskkd-cdb author)