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.
8 lines
315 B
Bash
8 lines
315 B
Bash
--- makeskkcdb.sh.dist 2009-02-06 11:56:47.000000000 +0900
|
|
+++ makeskkcdb.sh 2009-02-11 01:34:16.000000000 +0900
|
|
@@ -1,3 +1,3 @@
|
|
#!/bin/sh
|
|
-./skktocdbm.sh < /usr/local/share/skk/SKK-JISYO.L | \
|
|
- cdb -c -t - SKK-JISYO.L.cdb
|
|
+./skktocdbm.sh < %%PREFIX%%/%%SKKDIR%%/%%JISYONAME%% | \
|
|
+ cdb -c -t - %%JISYONAME%%.cdb
|