Subject: CVS commit: pkgsrc/textproc/dict-server
To: None <pkgsrc-changes@NetBSD.org>
From: Adam Ciarcinski <adam@netbsd.org>
List: pkgsrc-changes
Date: 02/22/2005 16:10:03
Module Name: pkgsrc
Committed By: adam
Date: Tue Feb 22 16:10:03 UTC 2005
Modified Files:
pkgsrc/textproc/dict-server: Makefile PLIST distinfo
pkgsrc/textproc/dict-server/patches: patch-ak
Log Message:
Changes 1.9.15:
Format of .index files for 8-bit databases (not-ASCII and non-UTF8)
has been changed. This makes `dictd' backward incompatible with
8-bit dagabases built by earlier versions of `dictfmt', i.e.
`dictd-1.9.15' and later doesn't work with 8-bit databases
generated by dictfmt-1.9.14 and earlier. See ChangeLog for details.
If you use 8-bit database, rebuild them using new `dictfmt' like this
dictunformat db.index < db.dict | dictfmt -t --locale <locale> db-new
dictd:
- fixed: Function `dict_search_bmh' works incorrectly in utf-8 mode
on non-GLIBC systems.
As a result `suffix', `substring' and `word' strategies
may work incorrectly with UTF-8 databases
on such platforms (FreeBSD).
- fixed: In dictd-1.9.8 support of CYGWIN was declared,
but it was broken in later versions.
dictd-1.9.15 can be succesfully built with CYGWIN.
- fixed: `dictd' dies when client tries to obtain information
about virtual database (SHOW INFO <virt_db>).
- Every database specified in configuration file
may have its own "default" search
strategy (i.e. `.' strategy).
For this purpose additional
keyword `default_strategy' is implemented.
See example2.conf sample file and dictd.8 for documentation.
- When `-d' is applied,
debugging information is printed to syslog (or log file or stderr).
NOTE: `-dinit' option may show you a reason why dictd doesn't start.
If you are in trouble, apply it first (and -L or -s of course)!
- dictd works correctly even on platforms which do not support
`iswalnum', `iswspace' and `towlower' functions.
Dictd with utf-8 databases was slightly tested on FreeBSD4.{9,10}
-fixed: logging is directed when --inetd is applied
- `AC_FUNC_MMAP' is replaced for `AC_CHECK_FUNC(mmap)' in configure.in
As a result `mmap/munmap' functions will be used on CYGWIN and INTERIX
if they are present.
If you dislike it, use --without-mmap option.
dictdplugin_dbi plugin:
- new options: `all_char' and `utf8'.
`all_char' option is set to FALSE by default.
`utf8' option is set to TRUE by default.
Both are overrided by
`00-database-allchars' and `00-database-utf8' special headwords.
dictd/dict/... have been ported to Interix (MS SFU-3.0 and SFU-3.5).
It works fine as Interix daemon
with ASCII databases (tested on Interix 3.0 and 3.5)
NOTE: GNU make is needed for building `dictd'
dictfmt:
- new option --default-strategy. See dictfmt(1).
To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 pkgsrc/textproc/dict-server/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/textproc/dict-server/PLIST
cvs rdiff -r1.10 -r1.11 pkgsrc/textproc/dict-server/distinfo
cvs rdiff -r1.1 -r1.2 pkgsrc/textproc/dict-server/patches/patch-ak
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.