head 1.9; access; symbols pkgsrc-2023Q4:1.9.0.80 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.78 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.9.0.76 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.74 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.72 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.70 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.68 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.66 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.64 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.62 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.60 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.58 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.56 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.54 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.50 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.30 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.52 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.48 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.46 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.44 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.42 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.40 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.38 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.36 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.34 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.32 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.28 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.26 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.24 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.22 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.20 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.18 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.16 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.14 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.12 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.10 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.8 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.6 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.4 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.2 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.8.0.34 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.32 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.30 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.28 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.26 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.24 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.22 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.20 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.18 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.16 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.14 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.12 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.10 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.8 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.6 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.4 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.2 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.7.0.4 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.2 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.5.0.38 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.36 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.34 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.32 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.30 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.28 pkgsrc-2008Q1:1.5.0.26 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.24 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.22 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.20 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.18 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.16 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.14 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.12 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.10 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.8 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.6 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.4 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.2 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.4.0.6 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.4 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.2 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.3.0.6 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.4 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.9 date 2014.03.11.14.05.17; author jperkin; state Exp; branches; next 1.8; commitid ZdYDtaK33Yj8Shsx; 1.8 date 2009.12.30.11.55.49; author abs; state Exp; branches; next 1.7; 1.7 date 2009.06.14.21.36.30; author joerg; state Exp; branches; next 1.6; 1.6 date 2009.06.14.18.17.13; author joerg; state Exp; branches; next 1.5; 1.5 date 2005.02.22.16.10.03; author adam; state Exp; branches; next 1.4; 1.4 date 2004.03.28.21.43.26; author jmmv; state Exp; branches; next 1.3; 1.3 date 2002.12.27.02.40.19; author uebayasi; state Exp; branches; next 1.2; 1.2 date 2002.10.11.00.47.28; author uebayasi; state Exp; branches; next 1.1; 1.1 date 2001.10.31.22.56.28; author zuntum; state Exp; branches; next ; desc @@ 1.9 log @Remove example rc.d scripts from PLISTs. These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or ignored otherwise. @ text @@@comment $NetBSD: PLIST,v 1.8 2009/12/30 11:55:49 abs Exp $ bin/dictfmt bin/dictfmt_index2suffix bin/dictfmt_index2word bin/dictunformat bin/dictzip man/man1/dictfmt.1 man/man1/dictfmt_index2suffix.1 man/man1/dictfmt_index2word.1 man/man1/dictunformat.1 man/man1/dictzip.1 man/man8/dictd.8 sbin/dictd share/doc/dict-server/COPYING share/doc/dict-server/INSTALL share/doc/dict-server/NEWS share/doc/dict-server/README share/examples/dict-server/dictd.conf share/examples/dict-server/dictd1.conf share/examples/dict-server/dictd2.conf share/examples/dict-server/dictd3.conf share/examples/dict-server/dictd4.conf share/examples/dict-server/dictd_complex.conf share/examples/dict-server/dictd_mime.conf share/examples/dict-server/dictd_plugin_dbi.conf share/examples/dict-server/dictd_site.txt share/examples/dict-server/dictd_virtual.conf @ 1.8 log @Address PR pkg/33227 Updated textproc/dict-server to 1.11.2 Package appears to have been significantly cleaned up and portability patches no longer needed. Changes since dictd-1.9.15: 2009-10-04 Aleksey Cheusov * NEWS, configure.in: Version -> 1.11.2 NEWS update 2009-09-21 Aleksey Cheusov * test/dictd_test.in: 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/dictd_test.in: 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/dictd_test.in, 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. * dictfmt.1.in: 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/dictd_test.in: 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/dictd_test.in: minor reorganization 2009-03-01 Aleksey Cheusov * configure.in: version -> 1.11.1 * NEWS: Notes about upcoming release 1.11.1 * INSTALL: updated for latest changes * Makefile.in: release unnecessary rule for dictd 2009-02-21 Aleksey Cheusov * configure.in, Makefile.in: LIBMAA variable added to Makefile, imported from ./configure 2009-01-31 Aleksey Cheusov * dictl.in: 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 * Makefile.in: fix in uninstall target * configure.in: further clean-ups * Makefile.in, configure.in, 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 configure.in and Makefile.in * configure.in, dictP.h: Further clean-ups. Remove checks for presense of unistd.h * Makefile.in, configure.in: (Clean-ups) Remove --with-local-libmaa, build libmaa before dictd/dict/... manually. This removes lots of garbage from configure.in and Makefile.in * configure.in: Enable additional gcc warnings on all platforms unconditionally. I need them under NetBSD * Makefile.in, configure.in: "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 sf.net bug #2218879 * configure.in, include_regex.h.in, 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. * Makefile.in: * configure.in: 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: sf.net 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 * dictl.in: Now dictl can use an external program for charset2charset conversion. Set DICTL_USE variable for this. I think this fixes sf.net bug #2407725 * Makefile.in: clean-ups: DICT_DIR and CONF_DIR have no / at the end (like PLUGIN_DIR) * Makefile.in: fix for sf.net bug #2218879 (/ at the end of PLUGIN_DIR) * dictd.8.in: fixed: sf.net bug #2407717 * Makefile.in: no Makefile.conf * Makefile.in: libmaa is not a part of dictd tarball * NEWS: tyop * NEWS: notes about release 1.11.0 * Makefile.in: better ChangeLog * exclude_libmaa_logs: script for postprocessing rcs2log output * configure.in: "libmaa not found" error message * libmaa/maa.h, libmaa/maaP.h, Makefile.in: no $Id$ - I dislike it * Makefile.in: removed: -ldl from building dbi plugin * clientparse.y, clientscan.l, codes.h, daemon.c, data.c, dict.1.in, dict.h, dictP.h, dictd.8.in, dictd.c, dictd.h, dictfmt.c, dictzip.1.in, dictzip.c, dictzip.h, index.c, net.c, net.h, parse.c, parse.h, servparse.y, servscan.l: 'Revised ...by ...' lines removed from sources, cvs know better when files were revised last time. my copyleft * Makefile.in: 'dist' target renamed to 'cvsdist' minor fixes in clean/distclean/cvsclean targets * configure.in: 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 * configure.in: Do not override CFLAGS set in environment. Never! * dictfmt_index2suffix.in: \001 -> \1 inside regexp. It seems it is better excepted by different awk/regexp_engines. (heirloom posix2001/awk and libuxre) * Makefile.in: fixes in "clean" target * test/dictd_test.in: fixed: ln -f -s ./file file This is fatal on Interix * configure.in, dictP.h: fix for Interix 3.5, socklen_t is defined in it * configure.in, dictP.h: fix for platforms having no getopt_long(3) (Solaris, HP-UX, Interix etc.) happens if --without-local-libmaa option is applied. * configure.in: checks for zlib.h iwhile configuring * configure.in: fix for previous commits * configure.in: REMOVED: --with-cflags, --with-prog, --with-gprof, --with-checker, --with-efence, --with-insure and --with-purify Use CFLAGS, LDFLAGS, CC etc. environment variables instead * configure.in: removed: home-made --with-cc. Use CC environment variable instead * configure.in: I hate $Id$, Grrr * configure.in: 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 * dictfmt_index2suffix.in: GNU awk is not needed. * configure.in: previous commit reverted * configure.in: removed: $Revision: ...$ * examples/dictd_popen.conf, examples/dictd_popen.conf.in, configure.in: fixed: sf.net bug #1627458 * Makefile.in: rm ====> libtool --mode=uninstall * dictd.c: fixed: sf.net bug #1941358 2008-06-02 Aleksey Cheusov * Makefile.in: dictfmt_index2suffix/dictfmt_index2word are installed from ./ * configure.in, dictfmt_index2suffix, dictfmt_index2suffix.in, dictfmt_index2word, dictfmt_index2word.in, test/dictd_test.in: dictfmt_index2suffix and dictfmt_index2word are generated from *.in * test/dictd_test.in: renamings * test/dictd_test.in: cyrillic_4 regression test restored * Makefile.in: rm -> rm -f in distclean target * Makefile.in, configure.in, test/dictd_test.in: 'make test' now works fine from obj directory too cyrillic_4 test is temporarily disabled 2008-05-29 Aleksey Cheusov * Makefile.in: fix for dictd_test * Makefile.in: ./dictd_test -> $(srcdir)/dictd_test * examples/dictd_popen.conf, INSTALL, Makefile.in: fixes for sf.net bug #1627458 * Makefile.in: date -> touch 2008-04-06 Aleksey Cheusov * NEWS, configure.in: version -> 1.10.11 NEWS: Release notes * configure.in, daemon.c, dictdplugin_judy.c, dictfmt.c, index.c, iswalnum.c, iswspace.c, lev.h, plugin.c, plugins_common.c, strategy.c, strategy.h: 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 * colorit.in: 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 * Makefile.in: -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 checked. 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 * configure.in, Makefile.in: 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 * Makefile.in: '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. * Makefile.in: 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 gmake install * configure.in: 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 * configure.in: 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 * configure.in: FIXED: ooooooold bug. configure script was run twice for libmaa version bumped to 1.10.10 * dictl.in: fix for NetBSD where locale -k shows nothing 2007-10-10 Aleksey Cheusov * Makefile.in: minor fix in "clean" target 2007-09-29 Aleksey Cheusov * clientparse.y, clientscan.l, colorit.in, dict.1.in, dict.c, dict.h, dictl.1.in, dictl.in: 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. * Makefile.in: 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/dictd_test.in: 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, configure.in: 1.10.9 release * daemon.c, dictd.8.in: 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.8.in, dictd.c, dictd.h, servparse.y, servscan.l: option/variable/macro renamings: limit -> limit_childs * NEWS, daemon.c, defs.h, dictd.8.in, dictd.c, dictd.h, servparse.y, servscan.l: 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 * dictfmt.1.in: minor fixes * dict.1.in: new words about -f * dict.1.in: minor fix * daemon.c, defs.h, dictd.8.in, 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 client_delay 2007-05-28 Aleksey Cheusov * test/dictd_cyrillic_3_res.expected.txt: forgot to commit it * test/dictd_test.in, test/input.cyrillic_3.txt, test/testdb.cyrillic_2.conf, test/testdb.cyrillic_4.conf, configure.in: new self tests minor clean-ups * dictd.8.in, 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 fixes clean-ups * 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/dictd_test.in, 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.1.in, dictfmt.c: -i and -I have the following format: dictfmt -i|-I [options] * dictfmt.1.in, dictfmt.c: -i and -I twins are now fully implemented and documented. See dictfmt(1) form documentation * test/dictd_test.in: clean-ups * test/dictd_test.in: 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/dictd_test.in: fixed: symbol at the end of line... * test/dictd_defstrat_2_res.expected.txt, test/dictd_test.in, test/input.defstrat_2.txt, test/testdb.defstrat_2.conf: another tiny test for default_strategy * test/dictd_defstrat_1_res.expected.txt, test/dictd_test.in, test/input.defstrat_1.txt, test/testdb.defstrat_1.conf: test for dictd/dictfmt --default-strategy * test/dictd_limits_1_res.expected.txt, test/dictd_test.in, test/input.limits_1.txt, test/testdb.limits_1.conf: small test for limi_matches * dictfmt.c, dictunformat.in: 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.8.in, dictd.c: ADDED: new keywords in "global" section. limit_matches and limit_defintions See dictd.8 for information * dictd.8.in: 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 --test-file --ftest --test-strategy --test-db --test-match --test-nooutput --test-idle --test-show-info All these options were created for testing and debugging. Actually -i and newly created --stdin2stdout is anough (and better) for this. * dictd.8.in: minor improvement 2007-05-22 Aleksey Cheusov * daemon.c, dictd.8.in, 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.8.in, dictd.c, dictd.h, examples/dictd4.conf, servparse.y: '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 up-to-date 2007-05-19 Aleksey Cheusov * dict.1.in: documentation for an option -f * dict.c: -m support -f too. Matches have the following format -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 * dictunformat.in: Recently 4-column .index entries were introduced. Now dictunformat is ready for this kind of dictionaries and produces correct output. * test/dictd_test.in, dictfmt.1.in, dictfmt.c, dictunformat.in: added: dictfmt --without-ver option. See dictfmt.1 for more information * dictfmt.1.in: some docs for 00-database-mime-header entry minor fixes and changes * dictfmt.1.in: documentation for --case-sensitive option * dictfmt.1.in: documentation for --index-data-separator option * test/db.expect.indexdata_1.index, test/dictd_test.in, test/testdb.indexdata.txt: 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/dictd_test.in, test/input.indexdata_1.txt, test/testdb.indexdata.txt, test/testdb.indexdata_1.conf: 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 * dictunformat.in: 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/dictd_test.in, test/input.mixedcase_1.txt, test/testdb.mixedcase.txt, test/testdb.mixedcase_1.conf: 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 * Makefile.in: fix: tab should begin the first line of action, not spaces 2006-12-13 Aleksey Cheusov * NEWS: release notes for dictd-1.10.8 * dictd.8.in: added: info about --stdin2stdout * configure.in: br * configure.in: no messages about flex/bison and GNU archive site * test/dictd_test, test/dictd_test.in, configure.in, dictunformat, dictunformat.in: fixes for Solaris: - awk version defaults to that detected by ./configure - fix for idiotic Solaris shell * Makefile.in, configure.in: 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 * Makefile.in: fixes in install/uninstall targets * dictvd: del * Makefile.in, configure.in: fixes related to libtools and building xxxxFLAGS * Makefile.in: added: -lz * Makefile.in: libtool needs .lo, not .o * configure.in: no local zlib/regex/dmalloc anymore * configure.in: only CFLAGS, CPPFLAGS and LDFLAGS... * Makefile.in, configure.in: removed: WCFLAGS SCFLAGS XTRACFLAGS WLDFLAGS XTRALDFLAGS XTRAHEADERS Use CPPFLAGS, CFLAGS and LDFLAGS only! * index.c: altcompare removed malloc_count_while_searching -= 1 * Makefile.in: -static removed from libtool arguments Makefile.in plugins are linked with LIBOBJS * Makefile.in: libtool-ization * configure.in: fixed: lex/yacc presense checking (non-portable "which /path/to/exe local_libmaa=0 by default 2006-12-09 Aleksey Cheusov * colorit.in: 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, test/dictd_test: 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 * dictd.8.in: 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: sf.net 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, configure.in: 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/dictd.pid` != pidof (dictd). Writing pid should happen after daemon(3) 2006-07-03 Aleksey Cheusov * NEWS: additions to 1.10.6 release * configure.in: 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, test/dictd_test: 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.1.in, dictfmt.c, dictunformat, index.c, libmaa/base64.c, libmaa/maa.h: 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 * Makefile.in: make --> $(MAKE) * NEWS, configure.in: 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 * configure.in, 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/Makefile.in, 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, configure.in, 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/ * configure.in, 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: updated 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 * dictd.8.in, example.conf, example.dictrc, example.site, example2.conf, example3.conf, example_complex.conf, example_mime.conf, example_plugin_dbi.conf, example_popen.conf, example_virtual.conf, examples/dictd4.conf: Example files have been moved to examples/ directory A few references to these files from dictd.8 * INSTALL, dictd.8.in, 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 * dictd.8.in: fixed: missing .RE * colorit.1.in, dict.1.in, dictd.8.in: minor changes in FILES section of man pages * Makefile.in, dictd.8.in, dictfmt_plugin, dictfmt_virtual, dictfmt_virtual.1: 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 * colorit.1.in, configure.in, dict.1.in, dictd.8, dictd.8.in: 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 2005-11-30 Aleksey Cheusov * colorit.1, colorit.1.in, configure.in, dict.1, dict.1.in, dictfmt.1, dictfmt.1.in, dictfmt_index2suffix.1, dictfmt_index2suffix.1.in, dictfmt_index2word.1, dictfmt_index2word.1.in, dictl.1, dictl.1.in, dictunformat.1, dictunformat.1.in, dictzip.1, dictzip.1.in: renamed: dict.1 ---> dict.1.in dictd.8 ---> dictd.8.in ... 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 * Makefile.in: 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: sf.net bug #1227624, patches by micha137 * dictl.in: fixed: sf.net bug #1223489, patches by micha137 * test/dictd_test: minor fixes in printf 2005-09-22 Aleksey Cheusov * decl.h: fixed: compilation bug undet Solaris * configure.in, setenv.c: 'setenv' function implementation (Solaris is affected) 2005-09-06 Aleksey Cheusov * NEWS: updated * NEWS: release time * NEWS, configure.in, 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 * colorit.in: new command implemented: gensub 2005-08-25 Aleksey Cheusov * Makefile.in: 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, test/testdb.hello.txt: 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, Makefile.in: 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 -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, configure.in: 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/dictd.pid 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 * configure.in, 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. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.5 2005/02/22 16:10:03 adam Exp $ a27 1 share/examples/rc.d/dictd @ 1.7 log @Convert @@exec/@@unexec to @@pkgdir or drop it. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.6 2009/06/14 18:17:13 joerg Exp $ a4 2 bin/dictfmt_plugin bin/dictfmt_virtual d14 4 d19 10 a28 1 @@pkgdir share/dictd @ 1.6 log @Remove @@dirrm entries from PLISTs @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.5 2005/02/22 16:10:03 adam Exp $ d17 1 a17 1 @@exec ${MKDIR} %D/share/dictd @ 1.5 log @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 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 ). - 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). @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.4 2004/03/28 21:43:26 jmmv Exp $ a16 1 @@dirrm share/examples/dict-server a17 1 @@dirrm share/dictd @ 1.4 log @Honour PKG_SYSCONFDIR. Bump PKGREVISION. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.3 2002/12/27 02:40:19 uebayasi Exp $ d4 4 d10 3 @ 1.3 log @* Separate dictionary data from dict-server. A patch problem found by bulk build is solved. * Make dict-client depend on dict-server. Bump PKGREVISIONs. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.2 2002/10/11 00:47:28 uebayasi Exp $ a4 1 etc/dictd.conf d9 4 @ 1.2 log @Note update of Dictd (dict-server and dict-client) to 1.8.0. Approximate set of changes from 1.5.5 is: * Plug-in capability is added. This helps to develop alternative database formats. * dictdmt is added. * Suffix search improvements. * UTF-8 support. And many bug fixes as usual. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:56:28 zuntum Exp $ a9 19 share/dictd/web1913.dict.dz share/dictd/web1913.index share/dictd/wn.dict.dz share/dictd/wn.index share/dictd/gazetteer.dict.dz share/dictd/gazetteer.index share/dictd/jargon.dict.dz share/dictd/jargon.index share/dictd/foldoc.dict.dz share/dictd/foldoc.index share/dictd/elements.dict.dz share/dictd/elements.index share/dictd/easton.dict.dz share/dictd/easton.index share/dictd/hitchcock.dict.dz share/dictd/hitchcock.index share/dictd/world95.dict.dz share/dictd/world95.index @@dirrm share/dictd @ 1.1 log @Move pkg/ files into package's toplevel directory @ text @d1 3 a3 3 @@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/28 16:17:20 tron Exp $ sbin/dictd man/man8/dictd.8 d5 2 d8 2 a9 1 etc/dictd.conf @