pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/33227 CVS commit: pkgsrc/textproc/dict-client

The following reply was made to PR pkg/33227; it has been noted by GNATS.

From: David Brownlee <>
Subject: PR/33227 CVS commit: pkgsrc/textproc/dict-client
Date: Wed, 30 Dec 2009 11:58:48 +0000

 Module Name:   pkgsrc
 Committed By:  abs
 Date:          Wed Dec 30 11:58:48 UTC 2009
 Modified Files:
        pkgsrc/textproc/dict-client: Makefile
 Log Message:
 Updated textproc/dict-client to 1.11.2 - also part of PR pkg/33227
 2009-10-04  Aleksey Cheusov <>
   * NEWS,
   Version -> 1.11.2
   NEWS update
 2009-09-21  Aleksey Cheusov <>
   * test/
   update for regression tests for some type of sort(1) commands
   * test/db.expect.testdb_utf8.dict, test/db.expect.testdb_utf8.index:
   oops, I forgot to commit it
 2009-09-20  Aleksey Cheusov <>
   * test/db.expect.smiley_1.index, test/db.expect.smiley_2.index, 
test/db.expect.smiley_3.index, test/db.expect.smiley_4.index, 
test/db.expect.smiley_5.index, test/dictd_smiley_2_res.expected.txt, 
test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt:
   updates for regression tests (sort -k1,1)
   * test/ fix for building from outside OBJDIR
 2009-09-19  Aleksey Cheusov <>
   * dictfmt.c:
   dictfmt spawns sort command to sort the index. When there are several
   entries for the same headword, they get sorted BY OFFSET AND SIZE (in
   addition to headwords), which don't sort alphabetically. As a result, the
   order of identical headwords is messed up.
   To fix these problem -k1,3 option is replaced with -k1,1.
   Thanks to Goran Tal for pointing out.
   * test/db.expect.cyrillic_1.index, test/db.expect.dict, 
test/db.expect.index, test/dictd_cyrillic_1_res.expected.txt, 
test/dictd_defstrat_1_res.expected.txt, test/, test/testdb.c5.txt, 
test/testdb.e.txt, test/testdb.f.txt, test/testdb.h.txt, test/testdb.j.txt, 
test/testdb.p.txt, TODO, dictfmt.c:
   dictfmt: superfluous spaces are removed not only from the beginng and
      the end of a headword but also inside a multiword headwords.
      Thank to Goran Tal for pointing out.
   * FIX: s/--index-keep-headword/--index-keep-orig/
   * test/dictd_cyrillic_3_res.expected.txt, 
test/dictd_defstrat_1_res.expected.txt, test/dictd_defstrat_2_res.expected.txt, 
test/dictd_indexdata_1_res.expected.txt, test/dictd_limits_1_res.expected.txt, 
test/dictd_mixedcase_1_res.expected.txt, test/
   all test files are CR NL, just like dict protocol is
   * test/dictd_cyrillic_3_res.expected.txt, test/input.cyrillic_3.txt, index.c:
   FIX: When search is handled by dict_search_bmh() function, the first
      character from the first entry in the index file is missing. Usually
      this is some of 00-database-* entries.
      Thanks to Goran Tal for a bug report and patch.
      Add regression test for this case.
   * test/ minor reorganization
 2009-03-01  Aleksey Cheusov <>
   * version -> 1.11.1
   * NEWS: Notes about upcoming release 1.11.1
   * INSTALL: updated for latest changes
   * release unnecessary rule for dictd
 2009-02-21  Aleksey Cheusov <>
   LIBMAA variable added to Makefile, imported from ./configure
 2009-01-31  Aleksey Cheusov <>
   code clean-ups, significant simplification
 2009-01-04  Aleksey Cheusov <>
   * dictfmt.c:
   FIXED: 'dictfmt -I' never worked (regrettable oversight, heh)
      Found and reported by Goran Tal <>
   * daemon.c:
   SHOW STRAT: s/databases present/strategies present/
     Found and reported by Goran Tal <>
 2008-12-29  Aleksey Cheusov <>
   * fix in uninstall target
   further clean-ups
   *,, dictP.h:
   remove checks for presense of memcpy and memmove. I don't care about
   platforms that do have them. I think all they are already dead.
   I you know such platforms, let me know
   Further clean-ups in and
   *, dictP.h:
   Further clean-ups. Remove checks for presense of unistd.h
   Remove --with-local-libmaa, build libmaa before dictd/dict/... manually.
   This removes lots of garbage from and
   Enable additional gcc warnings on all platforms unconditionally.
   I need them under NetBSD
   "building and installing different set of things based
   on configure results considered harmfull"(C)me :-)
   Plugins support in dictd is enabled by default (if available).
   DBI and JUDY plugins are disabled by default.
   This fixes bug #2218879
   *,, index.c:
   (Clean-ups) Ages ago, I've add to "configure" script an option
   --with-regex-include to make possible to build dictd with PCRE.
   Now, I've removed this option. If you want to build dictd with with PCRE,
   ask PCRE developers to install pcre/regex.h file linked to pcreposix.h.
   All other regexp libraries compatible with POSIX API do the same,
   rx/regex.h, rxspencer/regex.h etc. etc.
   So, this is good and well known convension.
   * minor clean-ups
   * test/db.expect.hello_1.dict, test/db.expect.hello_2.dict, 
test/db.expect.hello_3.dict, test/db.expect.hello_4.dict, 
test/db.expect.hello_5.dict, test/db.expect.hello_5.index, 
test/db.expect.indexdata_1.dict, test/db.expect.mixedcase_1.dict, 
test/db.expect.smiley_1.dict, test/db.expect.smiley_2.dict, 
test/db.expect.smiley_3.dict, test/db.expect.smiley_4.dict, 
test/db.expect.smiley_5.dict, test/dictd_cyrillic_1_res.expected.txt, 
test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, 
test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, 
test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, 
test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, 
test/db.expect.cyrillic_1.dict, test/db.expect.dict, dictfmt.c:
   fixed: bug #2197588 by Peter Volkov
      Now, all alphabet character from 00-database-alphabet special entry
      is resorted lexicographically and doesn;t depend on internal libmaa's
      function and sizeof(long)
 2008-12-24  Aleksey Cheusov <>
   Now dictl can use an external program for charset2charset conversion.
      Set DICTL_USE variable for this.
      I think this fixes bug #2407725
   clean-ups: DICT_DIR and CONF_DIR have no / at the end (like PLUGIN_DIR)
   * fix for bug #2218879 (/ at the end of PLUGIN_DIR)
   * fixed: bug #2407717
   * no Makefile.conf
   * libmaa is not a part of dictd tarball
   * NEWS: tyop
   * NEWS:
   notes about release 1.11.0
   * better ChangeLog
   * exclude_libmaa_logs: script for postprocessing rcs2log output
   * "libmaa not found" error message
   * libmaa/maa.h, libmaa/maaP.h, no $Id$ - I dislike it
   * removed: -ldl from building dbi plugin
   * clientparse.y, clientscan.l, codes.h, daemon.c, data.c,, dict.h, 
dictP.h,, dictd.c, dictd.h, dictfmt.c,, dictzip.c, 
dictzip.h, index.c, net.c, net.h, parse.c, parse.h, servparse.y, servscan.l:
   'Revised ...' lines removed from sources, cvs know better when
      files were revised last time.
   my copyleft
   'dist' target renamed to 'cvsdist'
   minor fixes in clean/distclean/cvsclean targets
   * version -> 1.11.0
   * daemon.c, data.c, dictP.h, dictd.c, dictdplugin_dbi.c, dictfmt.c, 
dictzip.c, index.c, lev.h, parse.c:
   fixed: gcc warnings, "unused variable" etc.
 2008-11-15  Aleksey Cheusov <>
   * dict.c: fixed: gcc compilation warning
   * Do not override CFLAGS set in environment. Never!
   \001 -> \1 inside regexp. It seems it is better excepted
      by different awk/regexp_engines. (heirloom posix2001/awk and libuxre)
   * fixes in "clean" target
   * test/ fixed: ln -f -s ./file file
     This is fatal on Interix
   *, dictP.h: fix for Interix 3.5, socklen_t is defined in it
   *, dictP.h:
   fix for platforms having no getopt_long(3) (Solaris, HP-UX, Interix etc.)
      happens if --without-local-libmaa option is applied.
   * checks for zlib.h iwhile configuring
   * fix for previous commits
   REMOVED: --with-cflags, --with-prog, --with-gprof, --with-checker,
      --with-efence, --with-insure and --with-purify
       Use CFLAGS, LDFLAGS, CC etc. environment variables instead
   removed: home-made --with-cc. Use CC environment variable instead
   * I hate $Id$, Grrr
   By default dictd is built with external libmaa library (if found).
      If it is not found, error message is output that suggests to apply
      --with-local-libmaa option.
 2008-08-30  Aleksey Cheusov <>
   GNU awk is not needed.
   * previous commit reverted
   * removed: $Revision: ...$
   * examples/dictd_popen.conf, examples/,
   fixed: bug #1627458
   * rm ====> libtool --mode=uninstall
   * dictd.c:
   fixed: bug #1941358
 2008-06-02  Aleksey Cheusov <>
   * dictfmt_index2suffix/dictfmt_index2word are installed from ./
   *, dictfmt_index2suffix,, 
dictfmt_index2word,, test/
   dictfmt_index2suffix and dictfmt_index2word are generated from *.in
   * test/ renamings
   * test/ cyrillic_4 regression test restored
   * rm -> rm -f in distclean target
   *,, test/
   'make test' now works fine from obj directory too
   cyrillic_4 test is temporarily disabled
 2008-05-29  Aleksey Cheusov <>
   * fix for dictd_test
   * ./dictd_test -> $(srcdir)/dictd_test
   * examples/dictd_popen.conf, INSTALL,
   fixes for bug #1627458
   * date -> touch
 2008-04-06  Aleksey Cheusov <>
   * NEWS,
   version -> 1.10.11
   NEWS: Release notes
   *, daemon.c, dictdplugin_judy.c, dictfmt.c, index.c, 
iswalnum.c, iswspace.c, lev.h, plugin.c, plugins_common.c, strategy.c, 
   fixed: lot of warning messages produced by icc-10 (Intel C Compiler)
 2008-02-09  Aleksey Cheusov <>
   * dictd.c:
   timestamp message in log marker (log_option "timestamp")
       is changed to :t: from :T:
       because :T: begins client's full command (log_option "command")
 2008-02-08  Aleksey Cheusov <>
   * bashism fixed: echo -en -> more portable printf
 2008-01-31  Aleksey Cheusov <>
   * dict.c:
   ADDED: -F|--flush option for flushing stdout after each definition/match.
       It is useful in combination with -f
   'XXX definitions found' is printed with -f (revert previous changes)
   * dict.c, dictzip.c: copyright
   * dictfmt.c:
   FIXED: maximum length of headwords are limited to hardcoded constant
       just by cutting the end of headword.
       Now internal arrays are realloced automatically.
   * INSTALL: spelling error fixed
   * -I. before -I${srcdir}
 2008-01-27  Aleksey Cheusov <>
   * index.c:
   FIXED: while processing MATCH command unicity of only first column of
       .index is checked, but fourth column (if present) should also be
 2008-01-22  Aleksey Cheusov <>
   * dictP.h, dictd.c:
   FIXED: failure on Linux if --disable-plugin option is specified.
       Now USE_PLUGIN macros is checks correctly.
 2008-01-20  Aleksey Cheusov <>
   * wcrtomb.c: fixed: warning generated by NetBSD/Alpha/GCC
 2008-01-19  Aleksey Cheusov <>
   CXX is detected using autoconf
   detection of AR/RANLIB is removed, they are not used directly
   libtool is run with --tag=CC and --tag=CXX for compiling C and C++ code
   C++ compiler cpp preprocessor are now detected using autoconf
   presence of fileno function is detected using autoconf
   removed: checking for command ar, not used directly
   * dict.c: removed: c99/c++ style comment markers
   * dictfmt.c, index.c, index.h, lev.h, wcrtomb.c:
   removed: c99/c++ style of comment markers
   * strategy.c: fixed: gcc warning
 2008-01-12  Aleksey Cheusov <>
   'gmake install' now works fine even if dictd was configure from
       the external "object"(any!!!) directory. Some other autobloat-based
       projects can do the same.
   FIX: now dictd can be fully built from external "object" (any!) directory
       just like many other autobloat-based projects can
       That is, the following works fine now
         cd obj-dir
         /dir/to/dictd --with-libmaa
         gmake install
   * date ---> touch
 2008-01-11  Aleksey Cheusov <>
   * clientscan.l, servscan.l:
   __FUNCTION__ -> __func__
       Now dictd is fully ready to compiled with pcc, tested under NetBSD
   * daemon.c: fix for pcc
   * dictd.c: fixed: pcc warning
   * daemon3.c, data.c, dict.c, dictd.c, dictzip.c, index.c, lev.h, 
libmaa/arg.c, libmaa/base26.c, libmaa/base64.c, libmaa/bit.c, libmaa/debug.c, 
libmaa/flags.c, libmaa/hash.c, libmaa/list.c, libmaa/log.c, libmaa/memory.c, 
libmaa/pr.c, libmaa/rnd.c, libmaa/set.c, libmaa/sl.c, libmaa/source.c, 
libmaa/string.c, libmaa/timer.c, libmaa/xmalloc.c, net.c, parse.c, plugin.c, 
snprintf.c, vsnprintf.c:
   Not standard __FUNCTION__ macros is changed to __func__
       All these changed sources can now be compiled with PCC (under NetBSD)
       PCC - Portable C Compiler
   * inttypes.h header is checked
   * dictfmt.c: fixed: pcc warnings, __FUNCTION__ -> __func__
   * daemon.c: fixed: pcc warning
   * dictP.h: a few comments added
 2007-12-26  Aleksey Cheusov <>
   * dictdplugin_popen.cpp:
   fixed: missed header file, seen with gcc-4.3.
       thanks to Martin Michlmayr for report
 2007-11-10  Aleksey Cheusov <>
   * Makefile.conf: no autoreconf
   * NEWS: notes about release 1.10.10
   FIXED: ooooooold bug. configure script was run twice for libmaa
   version bumped to 1.10.10
   * fix for NetBSD where locale -k shows nothing
 2007-10-10  Aleksey Cheusov <>
   * minor fix in "clean" target
 2007-09-29  Aleksey Cheusov <>
   * clientparse.y, clientscan.l,,, dict.c, dict.h,,
   DICT, DICTL and COLORIT programs DO NOT support option --pager|-P
       anymore. The code supporting this is removed.
       '-P -' is still allowed to not break the scripts.
       "Pager" functionality should be easily be implemented by users.
       See the following shell function.
          mydict () { dict "$@" 2>&1 | colorit | less; }
       Add it to you .profile (or whatever).
       I appologize for breaking backward compatibilities.
   * minor fix in *clean targets
   * dictfmt.c: copyright
 2007-07-27  Aleksey Cheusov <>
   * iswalnum.c:
   fix for utf-8 symbols other than BMP
 2007-06-18  Aleksey Cheusov <>
   * test/ fixed: dictfmt is not found
 2007-05-29  Aleksey Cheusov <>
   * dictfmt_index2suffix: mawk sucks
   * test/testdb.cyrillic_1.conf, test/testdb.cyrillic_2.conf, 
test/testdb.cyrillic_4.conf, test/testdb.defstrat_1.conf, 
test/testdb.defstrat_2.conf, test/testdb.hello_1.conf, 
test/testdb.hello_2.conf, test/testdb.hello_3.conf, test/testdb.hello_4.conf, 
test/testdb.hello_5.conf, test/testdb.indexdata_1.conf, 
test/testdb.limits_1.conf, test/testdb.mixedcase_1.conf, 
test/testdb.smiley_1.conf, test/testdb.smiley_2.conf, 
test/testdb.smiley_3.conf, test/testdb.smiley_4.conf, test/testdb.smiley_5.conf:
   no limits in most tests
   * dictdplugin_dbi.c, dictdplugin_judy.c: compilation fixes
   * NEWS, 1.10.9 release
   * daemon.c, limit_queries=0 means no limit
   * NEWS: notes about fix with getopt_long argument
   * NEWS: minor fixes
   * NEWS: notes about "limit_childs" keyword
   * defs.h,, dictd.c, dictd.h, servparse.y, servscan.l:
   option/variable/macro renamings: limit -> limit_childs
   * NEWS, daemon.c, defs.h,, dictd.c, dictd.h, servparse.y, 
   ADDED: new keyword 'limit_queries' for limiting a number of queries
       that client may send to the server. It defaults to 2000.
   minor fixes in NEWS
   * dictfmt.c: better checking for required argument
   * NEWS: note about 1.10.9 release
   * minor fixes
   * new words about -f
   * minor fix
   * daemon.c, defs.h,, dictd.c, dictd.h, servparse.y, servscan.l:
   ADDED: 'limit_time' option to 'global' dictd.conf section
      See dictd.8 for the more information.
   minor clean-ups: dict_daemon and dict_inetd function use global variable
 2007-05-28  Aleksey Cheusov <>
   * test/dictd_cyrillic_3_res.expected.txt:    forgot to commit it
   * test/, test/input.cyrillic_3.txt, 
test/testdb.cyrillic_2.conf, test/testdb.cyrillic_4.conf,
   new self tests
   minor clean-ups
   *, index.c, strategy.c, strategy.h:
   ADDED: Two new search strategies, 'first' and 'last'.
       See dictd.8 for the information.
   * dictd.c:
   I like empty lines to better separate code into sections ;-)
   * dictfmt_index2suffix, dictfmt_index2word:
   rewritten. Now they use dictfmt -i/-I for sorting
   * dictfmt.c:
   fix with -i and -I
   * dict.c:
   -f sends error messages like 'No matches...', 'No definitions...',
       'Invalid strategy...' etc. to stderr, not to the pager.
 2007-05-27  Aleksey Cheusov <>
   * test/, test/testdb.cyrillic_2.conf:
   commented test for dictfmt_index2word
   * dictfmt_index2word: fixes
   * dictfmt.c: -i and -I options fully support 4-column input
   * index.c: removed: unnecessary code for --test-xxx
 2007-05-24  Aleksey Cheusov <>
   * dictfmt_index2word:
   almost completely rewriten
   *, dictfmt.c:
   -i and -I have the following format:
       dictfmt -i|-I [options]
   *, dictfmt.c:
   -i and -I twins are now fully implemented and documented.
       See dictfmt(1) form documentation
   * test/ clean-ups
   * test/ nothing
   * test/dictd_cyrillic_1_res.expected.txt, 
test/dictd_defstrat_2_res.expected.txt, test/dictd_hello_1_res.expected.txt, 
test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, 
test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, 
test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, 
test/dictd_smiley_5_res.expected.txt, test/
   fixed: <CR> symbol at the end of line...
   * test/dictd_defstrat_2_res.expected.txt, test/, 
test/input.defstrat_2.txt, test/testdb.defstrat_2.conf:
   another tiny test for default_strategy
   * test/dictd_defstrat_1_res.expected.txt, test/, 
test/input.defstrat_1.txt, test/testdb.defstrat_1.conf:
   test for dictd/dictfmt --default-strategy
   * test/dictd_limits_1_res.expected.txt, test/, 
test/input.limits_1.txt, test/testdb.limits_1.conf:
   small test for limi_matches
   * dictfmt.c,
   00-database-dictfmt-X.Y.Z headword is generated
       instead of 00-database-dictfmt
 2007-05-23  Aleksey Cheusov <>
   * dictd.h, index.c, servparse.y, servscan.l, defs.h,, dictd.c:
   ADDED: new keywords in "global" section. limit_matches and limit_defintions
       See dictd.8 for information
   * removed: docs about --test-* options
   * index.c:
   code clean-ups, added: dict_add_word_to_list function
   * dict.c, dictd.c, dictzip.c: I don't like $ in the code
   * dictd.c: copyright
   * dictd.c:
   The following option are removed:
      -t --test <word>
      --test-file <file>
      --ftest <file>
      --test-strategy <strategy>
      --test-db <database>
      --test-show-info <database>
     All these options were created for testing and debugging.
     Actually -i and newly created --stdin2stdout is anough
       (and better) for this.
   * minor improvement
 2007-05-22  Aleksey Cheusov <>
   * daemon.c,, dictd.c, dictd.h, servparse.y, servscan.l:
   ADDED: site_no_banner, site_no_uptime, site_no_dblist keyword to
      the configuration file ("global" options section).
      See dictd.8 for more information.
   * daemon.c, defs.h,, dictd.c, dictd.h, examples/dictd4.conf, 
   'site' keyword has ben moved to 'global' ection of configuration file
       'site' section is deprecated now, but is still supported,
       error messages is logged if it used. Documentation and examples/ are
 2007-05-19  Aleksey Cheusov <>
   * documentation for an option -f
   * dict.c:
   -m support -f too.
      Matches have the following format <host><TAB><port><TAB><db><TAB><match>
   -D, -S, -I, -H, -i and similar also support -f (formatted output)
 2007-05-13  Aleksey Cheusov <>
   * dict.c: new option -f partially implemented
 2007-05-12  Aleksey Cheusov <>
   Recently 4-column .index entries were introduced.
       Now dictunformat is ready for this kind of dictionaries
       and produces correct output.
   * test/,, dictfmt.c,
   added: dictfmt --without-ver option.
       See dictfmt.1 for more information
   some docs for 00-database-mime-header entry
   minor fixes and changes
   * documentation for --case-sensitive option
   * documentation for --index-data-separator option
   * test/db.expect.indexdata_1.index, test/, 
   more complex test
   * dictfmt.c, test/db.expect.indexdata_1.dict, 
test/db.expect.indexdata_1.index, test/dictd_indexdata_1_res.expected.txt, 
test/, test/input.indexdata_1.txt, test/testdb.indexdata.txt, 
   added: tests --index-data-separator and --index-keep-orig dictfmt options
       and appropriate dictd search
   * dictfmt.c:
   ADDED: --dictfmt --index-data-separator option that allows
       to set index and data parts of the headword in .index file
       (first and fourth columns respectively) completely independantly.
       That is, the first column in .index file can now be treated
       as an index and an optional fourth columns - as a data, all this for
       MATCH protocol command.
   * codes.h, daemon.c, data.c, data.h, defs.h, dict.c, dict.h, dictP.h, 
dictd.c, dictdplugin_dbi.c, dictdplugin_judy.c, dictzip.c, heap.c, heap.h, 
index.c, index.h, lev.h, md5.c, net.c, net.h, parse.c, parse.h, plugin.c, 
plugin.h, plugins_common.c, plugins_common.h, servparse.y, servscan.l, str.c, 
str.h, strategy.c, strategy.h, clientparse.y, clientscan.l:
   removed: $Id$, I don't like it
   * dictfmt.c: no $Id$
   * dictfmt.c: code clean-ups
   00-database-case-sensitive headword is also not output
   * defs.h, dictd.c, dictfmt.c, index.c, index.h, str.c, str.h, 
test/db.expect.mixedcase_1.dict, test/db.expect.mixedcase_1.index, 
test/dictd_mixedcase_1_res.expected.txt, test/, 
test/input.mixedcase_1.txt, test/testdb.mixedcase.txt, 
   ADDED: support for case sensitive search.
       For this, database should be created using dictfmt --case-sensitive.
      In this case 00-database-case-sensitive headword is created which is
      checked by dictd
 2007-05-06  Aleksey Cheusov <>
   * data.c, index.c, net.c: fixed: gcc4/NetBSD warning messages
 2007-03-10  Aleksey Cheusov <>
   * fix: tab should begin the first line of action, not spaces
 2006-12-13  Aleksey Cheusov <>
   * NEWS: release notes for dictd-1.10.8
   * added: info about --stdin2stdout
   * br
   * no messages about flex/bison and GNU archive site
   * test/dictd_test, test/,, dictunformat,
   fixes for Solaris:
       - awk version defaults to that detected by ./configure
       - fix for idiotic Solaris shell
   *, libmaa: 0.990 -> 1.0; dict: 1.10.7 -> 1.10.8
 2006-12-12  Aleksey Cheusov <>
   * dictd.c: added fcntl.h for open(2)
   * dictd.c: only 012 descriptors are closed and reopened while daemon(3)-izing
 2006-12-11  Aleksey Cheusov <>
   * fixes in install/uninstall targets
   * dictvd: del
   *, fixes related to libtools and building xxxxFLAGS
   * added: -lz
   * libtool needs .lo, not .o
   * no local zlib/regex/dmalloc anymore
      Use CPPFLAGS, CFLAGS and LDFLAGS only!
   * index.c:
   altcompare removed
   malloc_count_while_searching -= 1
   -static removed from libtool arguments
   plugins are linked with LIBOBJS
   fixed: lex/yacc presense checking (non-portable "which /path/to/exe
   local_libmaa=0 by default
 2006-12-09  Aleksey Cheusov <>
   * gensub(,...1) -> gsub()
 2006-11-25  Aleksey Cheusov <>
   * index.c: fix for match nprefix/match exact/define
   * test/dictd_cyrillic_1_res.expected.txt, 
test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, 
test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, 
test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, 
test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, 
   to make a debug easier command itself is also logged
   * test/dictd_test: new temporary file
   * daemon.c, dictd.c, dictd.h:
   added: --stdin2stdout option for debugging purposes (in addition to -i)
 2006-11-19  Aleksey Cheusov <>
   Unknowledges section removed because neyther regex/ nor zlib/ are a part
      dictd distribution anymore
   Other minor clean-ups
 2006-11-10  Aleksey Cheusov <>
   * test/dictd_test: better message is output in case of test failure
 2006-09-19  Aleksey Cheusov <>
   * index.c:
   alcompare() function is implemented.
      Side effect: bug #1554437 is fixed.
      Side effect: for some sort of .index files MATCH command
       should work faster.
      TODO: remove malloc/free from altcompare.
 2006-07-16  Aleksey Cheusov <>
   * NEWS,
   updates for dictd-1.10.7
   a few fixed typos in NEWS
 2006-07-14  Aleksey Cheusov <>
   * dictd.c:
   FIXED: nmap utility of just a client that aborts connection for any reason
      can cause dictd server to exit with error on NetBSD and probably
      other OSes. This is because accept(2) returns ECONNABORTED which
      is treated as a uncritical error on Linux-only and
      as a critical error on all other OSes.
      Affected versions: 1.4.9-1.10.6
 2006-07-13  Aleksey Cheusov <>
   * dictd.c:
   fixed: `cat /var/run/` != pidof (dictd).
      Writing pid should happen after daemon(3)
 2006-07-03  Aleksey Cheusov <>
   * NEWS: additions to 1.10.6 release
   removed: code that does not work with BSD 'which'
   1.10.5 ---> 1.10.6
   * dictd.c: removed: unnecessary code
 2006-06-23  Aleksey Cheusov <>
   * test/dictd_test: nothing
   * test/dictd_cyrillic_1_res.expected.txt, test/dictd_test:
   Not only 'exact' search strategy is tested now.
   * index.c:
   fixed: 'word' strategy works incorrectly on OpenBSD and probably others
       because of incorrect isspacepuncttab array initizlization.
   * test/dictd_cyrillic_1_res.expected.txt, test/dictd_test:
   all search strategies are tested
   * test/dictd_cyrillic_1_res.expected.txt, 
test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, 
test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, 
test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, 
test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, 
   minor fixes
 2006-06-22  Aleksey Cheusov <>
   * test/db.expect.cyrillic_1.dict, test/db.expect.cyrillic_1.index, 
test/dictd_cyrillic_1_res.expected.txt, test/dictd_hello_1_res.expected.txt, 
test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, 
test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, 
test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, 
test/dictd_smiley_5_res.expected.txt, test/dictd_test, 
test/testdb.cyrillic.txt, test/testdb.cyrillic_1.conf:
   a few new tests, fixes, improvements
   * test/dictd_smiley_1_res.expected.txt, 
test/dictd_smiley_3_res.expected.txt, test/dictd_test:
   removed: too big files from testing
 2006-05-27  Aleksey Cheusov <>
   * dictd.c,, dictfmt.c, dictunformat, index.c, libmaa/base64.c, 
   added: b64_decode_buf function to libmaa library
   index.c:dict_word_create: minor speed-ups, avoided use of malloc()
   dictfmt --index-keep-orig create (if necessary) fourth column
       in .index file that keeps original headword which is returned
       by MATCH command. See dictfmt.1 for details.
   dictd: If opening a pid file of log file failed, error messages are printed
       to stderr.
 2006-05-26  Aleksey Cheusov <>
   * make --> $(MAKE)
   * NEWS, version --> 1.10.5
 2006-05-19  Aleksey Cheusov <>
   * daemon3.c: new #includes added
 2006-05-13  Aleksey Cheusov <>
   * daemon.c:
   FIXED: In case database_exit directive is used in dictd.conf
      SHOW DB command returns incorrect number of databases available.
      Afected versions: 1.10.2 -- 1.10.4
 2006-05-06  Aleksey Cheusov <>
   *, daemon3.c, dictP.h, dictd.c, net.c:
   When available, system-wide daemon(3) function
       is used for becoming a daemon.
 2006-04-15  Aleksey Cheusov <>
   * dictd.c:
   In dictd-1.9.14 dictd creates log file being root and than releases
      root priviledges. This was bad idea because log file may have % sign
      and may be used as a pattern for log files.
      Now older behaviour is restored, i.e.
      log file is created after releasing root priviledges.
      If you want to create log file under /var/log directory, create
      /var/log/dictd with appropriate permissions and create log files there.
      I apologize for inconvenience and breaking backward compatibility.
   * NEWS: typo fixed
 2006-04-09  Aleksey Cheusov <>
   * libmaa/maaP.h, dictP.h: removed obsolete code
 2006-04-08  Aleksey Cheusov <>
   * libmaa/, libmaa/decl.h, libmaa/maaP.h, libmaa/memtest.c, 
decl.h, deps, dictP.h, dictunformat:
   decl.h files seem obsolete to me. They cause problrems, do not help.
 2005-12-12  Aleksey Cheusov <>
   * NEWS:
   new notes
   * NEWS:
   typo fixed
   * NEWS,, dictd.c, net.c:
   FIX: pid file was created with 0666 permissions
   * dictd.c:
   minor fixes by Kirk Hilliard
 2005-12-08  Aleksey Cheusov <>
   * NEWS:
   Notes about regex/ and zlib/
   *, dictd.conf, examples/dictd1.conf:
   Version: 1.10.2 ---> 1.10.3
   Another example config file has been moved to examples/
   * NEWS:
   Notes about 1.10.3 release
   * config.guess, config.sub:
 2005-12-06  Aleksey Cheusov <>
   * examples/dictd_complex.conf:
   fixes for m4 shipped with *BSD and Solaris that expands "index" to -1
       even if it is used without arguments.
   * examples/dictd4.conf, examples/dictd_virtual.conf: minor fixes
 2005-12-05  Aleksey Cheusov <>
   * dict.c:
   fixed: compilation bugs (conformance to ANSI C)
   * dictP.h, libmaa/maaP.h:
   fixed: compilation bugs because of alloca
 2005-12-03  Aleksey Cheusov <>
   *, example.conf, example.dictrc,, example2.conf, 
example3.conf, example_complex.conf, example_mime.conf, 
example_plugin_dbi.conf, example_popen.conf, example_virtual.conf, 
   Example files have been moved to examples/ directory
   A few references to these files from dictd.8
   * INSTALL,, examples/dict1.conf, examples/dictd2.conf, 
examples/dictd3.conf, examples/dictd4.conf, examples/dictd_complex.conf, 
examples/dictd_mime.conf, examples/dictd_plugin_dbi.conf, 
examples/dictd_popen.conf, examples/dictd_site.txt, examples/dictd_virtual.conf:
   Example configuration files for 'dictd' and 'dict'
       have been moved to example/ directory
   fixed: missing .RE
   minor changes in FILES section of man pages
   *,, dictfmt_plugin, dictfmt_virtual, 
   Files and directories in .1 and .8 are set according to ./configure options
   removed: dictfmt_virtual, dictfmt_plugin utilities.
       Configure plugin or virtual databases using dictd.conf file
   *,,, dictd.8,
   File names (and optionally directories) in manual pages
        are specified according to ./configure options
   * dict.c:
   fixed (assert(3)):
      dict -M -S
      dict -M -D
      dict -M <query>
 2005-11-30  Aleksey Cheusov <>
   * colorit.1,,, dict.1,, dictfmt.1,, dictfmt_index2suffix.1,, 
dictfmt_index2word.1,, dictl.1,, 
dictunformat.1,, dictzip.1,
      dict.1  --->
      dictd.8 --->
      in order to make absolute paths in man pages
      dependant on ./configure options
   * NEWS, dictd.8: minor fixes
 2005-11-21  Aleksey Cheusov <>
   * dictd.c: noise exit after fatal error
   * install -m 755 ====> mkdir -p
   * example.conf: fixed: missing space
 2005-11-19  Aleksey Cheusov <>
   * dictd.8, index.c, index.h, strategy.c, strategy.h:
   ADDED: `nprefix' search strategy. See dictd.8 for more information.
       No plugin support yet.
 2005-11-15  Aleksey Cheusov <>
   * test/testdb.hello_1.conf, test/testdb.hello_2.conf, 
test/testdb.hello_3.conf, test/testdb.hello_4.conf, test/testdb.hello_5.conf, 
test/testdb.smiley_1.conf, test/testdb.smiley_2.conf, 
test/testdb.smiley_3.conf, test/testdb.smiley_4.conf, test/testdb.smiley_5.conf:
   fixed: Some m4 shipped with Solaris/MacOS-/... translate index to -1
       when no arguments are specified. Solution: index ===> `index'
   * test/dictd_test: fix for Solaris-9: $PWD ===> `pwd`
 2005-11-13  Aleksey Cheusov <>
   * dictP.h: fixed: defining __FUNCTION__
   * dictd.8: minor fix
 2005-10-30  Aleksey Cheusov <>
   * test/dictd_smiley_2_res.expected.txt, 
test/dictd_smiley_3_res.expected.txt, test/dictd_smiley_4_res.expected.txt, 
test/dictd_smiley_5_res.expected.txt, test/dictd_hello_1_res.expected.txt, 
test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, 
test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, 
test/dictd_smiley_1_res.expected.txt, test/dictd_test, 
test/testdb.hello_1.conf, test/testdb.hello_2.conf, test/testdb.hello_3.conf, 
test/testdb.hello_4.conf, test/testdb.hello_5.conf, test/testdb.smiley_1.conf, 
test/testdb.smiley_2.conf, test/testdb.smiley_3.conf, 
test/testdb.smiley_4.conf, test/testdb.smiley_5.conf:
   lots of new tests for 'dictd'
   fixes, code clean-ups and improvements of tests for 'dictfmt'
   * daemon.c: fixes for inetd (daemonS_out ---> 1)
 2005-10-15  Aleksey Cheusov <>
   * dict.c:
   minor fixes with pager, patches by Kirk Hilliard
   * dictfmt.1, dictl.1:
   fixed: bug #1227624, patches by micha137
   fixed: bug #1223489, patches by micha137
   * test/dictd_test: minor fixes in printf
 2005-09-22  Aleksey Cheusov <>
   * decl.h:
   fixed: compilation bug undet Solaris
   *, setenv.c:
   'setenv' function implementation (Solaris is affected)
 2005-09-06  Aleksey Cheusov <>
   * NEWS: updated
   * NEWS: release time
   * NEWS,, dictd.8:
   documentation updated
   version: 1.10.1 --> 1.10.2
   * dictd.8:
   added: short description for a list of special headwords in .index file
   * NEWS: updates for 1.10.2
   * dictfmt.1:
   added: documentation for --utf8 option
   * NEWS: updated for 1.10.2
 2005-09-05  Aleksey Cheusov <>
   * dictP.h, libmaa/maaP.h:
   fixed: compiler warnings on FreeBSD5
   * NEWS: *** empty log message ***
 2005-09-02  Aleksey Cheusov <>
   * dictfmt.c, str.c:
   fixes for FreeBSD-4
 2005-08-26  Aleksey Cheusov <>
   new command implemented: gensub
 2005-08-25  Aleksey Cheusov <>
   fixes in 'distclean' target
   * test/dictd_test:
   minor changes
   * dictfmt.c, test/db.expect.smiley_1.index:
   FIXED: dictfmt MUST produce the same output on all platforms.
      - -k 1,3 is used instead of -k 1,1, so all columns are used in sorting.
      - LC_ALL environment variable is ALWAYS set to C for 'sort' utility,
        otherwise sorting order depends on locale (LANG and LC_xxx variables).
 2005-08-18  Aleksey Cheusov <>
   * test/db.expect.hello_1.dict, test/db.expect.hello_1.index, 
test/db.expect.hello_2.dict, test/db.expect.hello_2.index, 
test/db.expect.hello_3.dict, test/db.expect.hello_3.index, 
test/db.expect.hello_4.dict, test/db.expect.hello_4.index, 
test/db.expect.hello_5.dict, test/db.expect.hello_5.index, test/dictd_test, 
   added: new tests for dictfmt
 2005-08-17  Aleksey Cheusov <>
   * test/db.expect.smiley_1.dict, test/db.expect.smiley_1.index, 
test/db.expect.smiley_2.dict, test/db.expect.smiley_2.index, 
test/db.expect.smiley_3.dict, test/db.expect.smiley_3.index, 
test/db.expect.smiley_4.index, test/db.expect.smiley_5.dict, 
test/db.expect.smiley_5.index, test/dictd_test, test/testdb.smiley.txt,
   more tests
   fixes, code-clean-ups
   * test/db.expect.dict, test/db.expect.index, test/db.expect.smiley_1.dict, 
test/db.expect.smiley_1.index, test/db.expect.smiley_2.dict, 
test/db.expect.smiley_2.index, test/db.expect.smiley_3.dict, 
test/db.expect.smiley_3.index, test/db.expect.smiley_4.dict, 
test/db.expect.smiley_4.index, test/dictd_test, test/testdb.c5.txt, 
test/testdb.e.txt, test/testdb.f.txt, test/testdb.h.txt, 
test/testdb.h.txt.dict, test/testdb.h.txt.index, test/testdb.j.txt, 
test/testdb.p.txt, test/testdb.smiley.txt:
   added: files for automatic testing, and testing script itself
 2005-08-15  Aleksey Cheusov <>
   * NEWS, dictfmt.1:
   minor fixes
 2005-08-14  Aleksey Cheusov <>
   * index.c:
   printf(...) --> PRINTF (DBG_SEARCH, (...))
   * dictfmt.c:
   fixed: 'dictfmt --allchars' run 'sort' utility with no C locale, while
       dictd requires this type of sorting.
       Affected versions: all dictfmt version providing --allchars option.
       It is strongly recommended to recreate dictionary
       which was built with --allchars option.
 2005-08-13  Aleksey Cheusov <>
   * dictfmt.c:
   added: -i option
 2005-07-26  Aleksey Cheusov <>
   * daemon.c:
   FIXED: 'SHOW DB' command shows the special entry '--exit--'
       as a normal database which cannot be used used for searching.
       This contradicts rfc-2229.
       Use 'SHOW SERVER' command to see where the default search stops.
   * dictfmt.c:
   FIXED: all these years dictfmt worked incorrectly
       because not only index part of .index was used in the sorting.
       A a result .index file could look like
         gawk:sample programs   CXyl    ON
         gawk:scalar constants  +sR     RS
         gawk:scanning an array BfKx    k7
     !   gawk   Se      I3e
         gawk:simple sed        Cpm/    xZ
         gawk:single character fields   pQy     So
         gawk:special caveats   7nN     Z2
     Pay attention to the line preceded by !.
     It leads to the word 'gawk' was never found.
     Now the external utility 'sort' is run with additional options:
       -t <TAB> -k 1,1
     Affected versions of dictfmt: 1.6.1 - 1.10.1
 2005-07-20  Aleksey Cheusov <>
   * dictfmt.c:
   fixed: typo in error message
 2005-07-17  Aleksey Cheusov <>
   * index.c:
   fixed: sometimes the regexp strategy may incorrectly
       because of optimization code and strange binary search.
       Thanks to Slava Kravchenko for bug report.
       Affected version: 1.4.9 - 1.10.1
 2005-06-09  Aleksey Cheusov <>
   * NEWS: NEWS file update
   * NEWS,
   news updated
   version --> 1.10.1
 2005-06-08  Aleksey Cheusov <>
   * dictfmt.c:
   minor fix
   * index.c:
   By default 'dictd' is run in UTF-8 mode unless you ./configure it
      with --with-system-utf8-funcs option
   * dictfmt.c:
   added: --utf8 option. Use it to create utf-8 dictionaries.
       Use of '--locale ru_RU.UTF-8' is deprecated unless you
       ./configure dict packages with --with-system-utf8-funcs
   * dictP.h:
   MB_CUR_MAX__: 7 --> 6
   * dict.1:
   fixed: typo. Thanks to A Costa for reporting the bug report.
 2005-04-14  Aleksey Cheusov <>
   * dictd.8, dictd.c, dictd.h, servparse.y, servscan.l:
   By default dictd, when running as daemon, writes a PID
       to /var/run/ file. This can be overriden by
       'pid_file' keyword in dictd.conf (See dictd.8) of command line
       option '--pid-file'
       Thanks to Josef Novak for sudgestion and patch.
 2005-04-13  Aleksey Cheusov <>
   * dictd.8:
   fixed: dictd.8 says that 'lev' strategy doesn't work
       with utf-8 dictionaries, but it does since release 1.9.13
   *, dictP.h, dictd.c, dictfmt.c, index.c, lev.h, mbrlen.c, 
mbrtowc.c, mbstowcs.c, mbtowc.c, str.c, wcrtomb.c, wctomb.c:
   unless 'dictd' is configured using './configure --with-system-utf8-funcs'
       'dictd' and 'dictfmt' use built-in UTF-8/UCS functions, i.e.
       there is no need for --locale xx_YY.UTF-8. As a result
       'dictd' can be compiled and run on platforms
       which doesn't have UTF-8 locale.
 To generate a diff of this commit:
 cvs rdiff -u -r1.32 -r1.33 pkgsrc/textproc/dict-client/Makefile
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index