Commit graph

40 commits

Author SHA1 Message Date
Min Sik Kim
39542960de libmaa is in pkgsrc. 2009-03-12 00:58:00 +00:00
Aleksey Cheusov
cf8c851dfa Update to 1.11.1
FIXES:

     Minor fix in dictd.8 (paths to config files), sf.net bug #2407717
     Thanks to Peter Volkov

     Bug fixed in installing plugins, sf.net bug #2218879,
     Thanks to Peter Volkov

     DICTFMT sorts entries in 00-database-alphabet entry
     lexicographically, that is now this order doesn't depend on
     sizeof(long). This fixes sf.net bug #2197588.
     Thanks to Peter Volkov and his tests on PowerPC.

     DICTD: SHOW STRAT: s/databases present/strategies present/
     found and reported by Goran Tal <goran.tal@gmail.com>. Thanks.

     DICTFMT: 'dictfmt -I' never worked (regrettable oversight, heh),
     found and reported by Goran Tal <goran.tal@gmail.com>. Thanks.

  Makefile.in, configure.in:
  "building and installing different set of things based
  on configure results considered harmful"(C) me :-)
  Plugins support in dictd is enabled by default (if available).
  DBI and JUDY plugins are disabled by default.
  Enable them explicitly by using
    ./configure --with-plugin-dbi
  and
    ./configure --with-plugin-judy
  This fixes sf.net bug #2218879 by Peter Volkov.

  By using DICTL_USE environment variable dictl utility can now use an
  external program for charset2charset conversions. This addresses
  sf.net bug #2407725, again by Peter Volkov

  * Makefile.in, configure.in:
  (Clean-ups)
  --with-local-libmaa option is removed from "configure" script.
  You should build libmaa manually before dictd/dict/...
  This removes lots of garbage from configure.in and Makefile.in and
  makes them MUCH cleaner. If you want to link dictd with libmaa statically,
  use Makefile's LIBMAA variable.

  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: LIBMAA variable added. Change it if you want to link
  dictd against libmaa statically or...

  * configure.in: Enable additional gcc warnings on all platforms
  unconditionally, not only under Linux, I need them under NetBSD.

  Makefile.in: fix for "uninstall" target

  Lots of clean-ups in dictl.

  Other minor clean-ups in Makefile.in and configure.in

  Minor spelling fixes in NEWS
2009-02-28 21:39:51 +00:00
Aleksey Cheusov
c4e5957def updated to version 1.11.0
Major changes:

  dictd tarball no longer contains libmaa library.  Now
  dictd/dict/dictfmt/dictzip/... are built with external libmaa
  library. Also, by default local "libmaa" directory is not used to
  detect libmaa even if this directory is present,
  use './configure --with-local-libmaa' option to force this.

  configure:
    removed: --with-cc, --with-cflags, --with-prog, --with-gprof,
    --with-checker, --with-efence, --with-insure and --with-purify
    options. Use standard CC, CPPFLAGS, CFLAGS, LDFLAGS etc.
     environment variables instead

  Compilation errors fixed on Solaris, Interix, HP-UX and others.

  dictfmt_index2suffix: \001 -> \1 inside regexp. It seems it is better
  eccepted by different awk/regexp_engines. (heirloom posix2001/awk and
  libuxre)

  fixed: sf.net bug #1627458 (make samples fails to build)

  fixed: sf.net bug #1941358 (first connection is denied)

  dictfmt_index2suffix: no need for GNU awk

  dictfmt_index2suffix and dictfmt_index2word are generated from *.in

  Lots of minor fixes and clean-ups in regression tests, Makefiles,
  configure...

  Lots of GCC warning messages were also fixed
2008-12-07 22:27:59 +00:00
Aleksey Cheusov
ddcb988e91 dictd and other tools are now linked with libmaa; clean-ups 2008-04-09 09:29:38 +00:00
Aleksey Cheusov
368b6fc678 fixes from upstream for DESTDIR support of libmaa
fixed: warnings by pkglint
bump revision
2008-04-09 09:16:32 +00:00
Aleksey Cheusov
594eabe3e2 upgrade to upstream version 1.10.11
Major changes:

 Everything can now be compiled with pcc (Portable C Compiler),
 tested under NetBSD

 clean-ups in C code, configure.in etc.  Warning messages generated by
 NetBSD/alpha were fixed.  Lots of warning messages produced by icc-10
 (Intel C Compiler) were fixed too.

 FIX: now dictd/libmaa can be built from external "object" (any!)
      directory just like many other autobloat-based projects can do.

      That is, the following works fine now

        cd obj-dir
        /path/to/dictd-sources/configure --with-libmaa
        gmake
        gmake install

 dictd:
     - FIXED: compilation failure on Linux if --disable-plugin
       option is specified.
     - index.c:
       FIXED: while processing MATCH command unicity of only first
       column of .index is checked, but fourth column (if present)
       is not.

     - timestamp log marker (log_option "timestamp") is changed from
       :T: to :t: because :T: begins client's full command (log_option
       "command")

 dictfmt:
     - FIXED: maximum length of headwords is limited to hardcoded
       constant just by cutting the end of headword.  Now internal
       arrays are realloced automatically.

 dict:
     - ADDED: -F|--flush option for flushing stdout after each
       definition/match. This may be useful in combination with -f

 colorit:
     - bashism fixed: 'echo -en' -> more portable 'printf'.
       Thanks to Debian users.

 libmaa:
     - fixed: DESTDIR support

 dictdplugin_popen:

     - fixed: missed header file, seen with gcc-4.3.
       Thanks to Martin Michlmayr for report
2008-04-08 19:39:40 +00:00
Aleksey Cheusov
d334543225 DESTDIR support 2008-03-30 13:12:54 +00:00
Aleksey Cheusov
2d08419e14 fix from upstream: fourth column search somerimes works incorrectly 2008-02-01 22:29:48 +00:00
Aleksey Cheusov
5f9619b311 FIX from upstream CVS: dictfmt doesn't limit length of headwords anymore 2008-01-31 17:46:41 +00:00
Aleksey Cheusov
c0a40c8fe8 updated to version 1.10.10 2007-12-15 21:58:25 +00:00
Aleksey Cheusov
7217cb51b2 1.10.9 -> 1.10.10 2007-12-15 21:13:41 +00:00
Aleksey Cheusov
949b2e4b4d Update to the latest upstream version dictd-1.10.9
dictd:
    - ADDED: 'limit_time' keyword for limiting time (in seconds)
      during which a client may talk to the server.
      This is for preventing DOS attacks.
      This option may be used as a replacement for 'delay' option.
      See dictd.8 for the documnetation

    - ADDED: new keyword 'limit_matches' and 'limit_defintions'
      limiting a number of matches and definitions respectively
      that the server may send to the client.
      This is for preventing DOS attacks.
      See dictd.8 for more information

    - ADDED: new keyword 'limit_queries'
      limiting a number of queries that client may send to the server
      This is for preventing DOS attacks.
      See dictd.8 for more information

    - ADDED: new keyword 'limit_childs' equal to old 'limit'.
      'limit' is now deprecated. Use 'limit_childs' instead.

    - ADDED: Two new search strategies, 'first' and 'last'.
      They match first or last word only in a multi-word entries.
      See dictd.8 for more information.

    - ADDED: new keywords 'site_no_banner', 'site_no_uptime'
      and 'site_no_dblist' for changing the way dictd answers on SHOW SERVER
      command (dict -I)
      See dictd.8 for more information.

    - ADDED: support for the case-sensitive search.
      For this database should be created with dictfmt --case-sensitive.

    - 'site' keyword has been moved to 'global' section of dictd.conf file
      Do not place it at the top level!

    - removed: --test-XXX options. Use -i and --stdin2stdout for debugging.

 dictfmt:
    - FIXED: longopts passed to getopt_long as argument was not
      ended with zeros. I even don't how this code could work
      for so many years.
      Affected dictfmt versions: 1.6.1-1.10.8

    - ADDED: --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. See dictfmt.1 for more information.

    - added: -i and -I for resorting .index files.
      See dictd.8 for more information.

    - added: By default a special headword 00-database-dictfmt-X.Y.Z
      is generated, i.e. every created database is marked
      "what version of dictfmt was used to create it".
      added: --without-ver option for preventing this.

 dictunformat:
    - minor fixes and improvements for 4-column .index file input
       See dictfmt --index-data-separator and
           dictunformat --index-data-separator

 dictfmt_index2suffix and dictfmt_index2word
    - fixes, now these utilities are ready for 4-column input and
      use 'dictfmt -i/-I' for resorting .index entries.
      See dictfmt.1 for more information.

 dict:
    - ADDED: -f option that enables formatted output, i.e. output
      convenient for postprocessing by standard UNIX utilities.
      See dict.1 for more information.
2007-10-04 10:55:18 +00:00
Aleksey Cheusov
36bf5cd7a1 added: new configure argument 2007-09-14 06:35:37 +00:00
Aleksey Cheusov
df41028c5f added: extra commands "unload" and "load" 2007-03-27 20:17:38 +00:00
Aleksey Cheusov
bf3dfc5bf2 minor changes 2007-03-27 20:16:54 +00:00
Aleksey Cheusov
8c123cc154 fixed (I hope): built failure on fresh Linux/Debian (missing USE_TOOLS += lex) 2007-03-27 20:16:16 +00:00
Aleksey Cheusov
86e7cc88d5 tab should begin the first line of action, not spaces 2007-03-10 21:28:43 +00:00
Aleksey Cheusov
336b0c6318 $NetBSD$ only 2006-12-13 22:06:09 +00:00
Aleksey Cheusov
db306ce7e9 fixed patch for autoconf-2.59/dictd-1.10.8 2006-12-13 21:55:53 +00:00
Aleksey Cheusov
90fde5c974 patch_count -= 1 2006-12-13 21:37:43 +00:00
Aleksey Cheusov
26399abb11 -> 1.10.8 version 2006-12-13 21:27:03 +00:00
Aleksey Cheusov
219847abce reverted bad changes from wip/libmaa 2006-11-18 17:00:01 +00:00
Aleksey Cheusov
1e304d1266 libmaa library from dictd sources 2006-11-18 16:54:29 +00:00
Sergey Svishchev
4f46d1157a Delint:
- add or fix RCS ids
- fix permission problems (USE_TOOLS etc.)
- fix MESSAGE, DESCR, COMMENT problems
- other minor tweaks (all reported by pkglint -Wall)
2006-10-29 11:23:06 +00:00
Aleksey Cheusov
adc9b115f3 --disable-shared option added for compilers
that don't like -fPIC (e.g. Interix/cc of probably Sun C compiler)
2006-09-14 14:46:22 +00:00
Aleksey Cheusov
488d3ee0ad wip/dict-client: adapted from textproc/ with some minor fixes (zlib, e.g.)
client and server has the same version and other attrs (Makefile.common)
2006-09-02 00:19:32 +00:00
Aleksey Cheusov
a8396ed4ff dictd:dictd: user:group becomes optional (Interix needs this)
added: ./configure --datadir=${PREFIX}/share/dictd
2006-08-27 11:08:17 +00:00
Aleksey Cheusov
2d7e983c9e fix: ${DICTD_USER} -> dictd
${DICTD_GROUP} -> dictd
2006-07-20 13:01:26 +00:00
Aleksey Cheusov
7eed5325e5 Extra documentation and examples files are also packaged
A few new notes in MESSAGE
2006-07-18 22:14:19 +00:00
Aleksey Cheusov
ab031fefec fixed: hardcoded path to m4, now USE_TOOLS is used
removed: section 1 in MESSAGE
2006-07-18 20:43:11 +00:00
Aleksey Cheusov
ffde1f2898 updated to version 1.10.7 2006-07-16 19:55:35 +00:00
Aleksey Cheusov
3c37bb1d51 DICTD_GROUP ---> dictd
DICTD_USER  ---> dictd
2006-07-14 08:12:57 +00:00
Aleksey Cheusov
4727827f0f fixed: upstream bug with pidof(dictd) != cat /var/run/dictd.pid
(fork(2) inside daemon(3))
2006-07-13 20:55:26 +00:00
Aleksey Cheusov
3bc5deee7a fixed: HEAD pkglint warning 2006-07-12 19:43:10 +00:00
Aleksey Cheusov
e0ff7b1fb5 plugins are disabled
new sums for patches
2006-07-12 15:34:32 +00:00
Aleksey Cheusov
600d595a9c much better default dictd.conf configuration file
syslog logging is set in dictd.conf but in rc.d script
2006-07-12 15:26:32 +00:00
Aleksey Cheusov
1ad052445c new rules for PKG_USERS, PKG_GROUPS,...
new maintaineter
2006-07-12 14:17:24 +00:00
Aleksey Cheusov
241949a509 fixed: installing example dictd.conf
a few minor changes in MESSAGE
2006-07-12 13:38:54 +00:00
Aleksey Cheusov
99f425c3e1 fixed: pkglint warnings
better example/dictd/dictd.conf
2006-07-12 13:15:18 +00:00
Aleksey Cheusov
a336a0de5d fixed and improved textproc/dict-server
dictd upgraded to the latest release 1.10.6
NOT TESTED GOOD ENOUGH YET
2006-07-05 23:21:50 +00:00