summaryrefslogtreecommitdiff
path: root/textproc/dict-client
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-02-22 16:09:54 +0000
committeradam <adam@pkgsrc.org>2005-02-22 16:09:54 +0000
commit3ef10034f07d751f0e3aed4be16d73bc00e97a23 (patch)
treec8d2443715c1daa3f84ca782f3dfecc0e82ba10d /textproc/dict-client
parente0ccadbfcc267131cab182535a4be5cdf505ccb8 (diff)
downloadpkgsrc-3ef10034f07d751f0e3aed4be16d73bc00e97a23.tar.gz
Changes 1.9.15:
Format of .index files for 8-bit databases (not-ASCII and non-UTF8) has been changed. This makes `dictd' backward incompatible with 8-bit dagabases built by earlier versions of `dictfmt', i.e. `dictd-1.9.15' and later doesn't work with 8-bit databases generated by dictfmt-1.9.14 and earlier. See ChangeLog for details. If you use 8-bit database, rebuild them using new `dictfmt' like this dictunformat db.index < db.dict | dictfmt -t --locale <locale> db-new dictd: - fixed: Function `dict_search_bmh' works incorrectly in utf-8 mode on non-GLIBC systems. As a result `suffix', `substring' and `word' strategies may work incorrectly with UTF-8 databases on such platforms (FreeBSD). - fixed: In dictd-1.9.8 support of CYGWIN was declared, but it was broken in later versions. dictd-1.9.15 can be succesfully built with CYGWIN. - fixed: `dictd' dies when client tries to obtain information about virtual database (SHOW INFO <virt_db>). - Every database specified in configuration file may have its own "default" search strategy (i.e. `.' strategy). For this purpose additional keyword `default_strategy' is implemented. See example2.conf sample file and dictd.8 for documentation. - When `-d' is applied, debugging information is printed to syslog (or log file or stderr). NOTE: `-dinit' option may show you a reason why dictd doesn't start. If you are in trouble, apply it first (and -L or -s of course)! - dictd works correctly even on platforms which do not support `iswalnum', `iswspace' and `towlower' functions. Dictd with utf-8 databases was slightly tested on FreeBSD4.{9,10} -fixed: logging is directed when --inetd is applied - `AC_FUNC_MMAP' is replaced for `AC_CHECK_FUNC(mmap)' in configure.in As a result `mmap/munmap' functions will be used on CYGWIN and INTERIX if they are present. If you dislike it, use --without-mmap option. dictdplugin_dbi plugin: - new options: `all_char' and `utf8'. `all_char' option is set to FALSE by default. `utf8' option is set to TRUE by default. Both are overrided by `00-database-allchars' and `00-database-utf8' special headwords. dictd/dict/... have been ported to Interix (MS SFU-3.0 and SFU-3.5). It works fine as Interix daemon with ASCII databases (tested on Interix 3.0 and 3.5) NOTE: GNU make is needed for building `dictd' dictfmt: - new option --default-strategy. See dictfmt(1).
Diffstat (limited to 'textproc/dict-client')
-rw-r--r--textproc/dict-client/Makefile18
-rw-r--r--textproc/dict-client/PLIST4
2 files changed, 12 insertions, 10 deletions
diff --git a/textproc/dict-client/Makefile b/textproc/dict-client/Makefile
index 5c2a3d808a0..21fe4f2deb8 100644
--- a/textproc/dict-client/Makefile
+++ b/textproc/dict-client/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2004/12/03 15:15:11 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2005/02/22 16:09:54 adam Exp $
-DISTNAME= dictd-1.8.0
-PKGNAME= dict-client-1.8.0
-PKGREVISION= 4
+DISTNAME= dictd-1.9.15
+PKGNAME= dict-client-1.9.15
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.dict.org/pub/dict/
@@ -10,9 +9,11 @@ MAINTAINER= mike@ethmoid.org
HOMEPAGE= http://www.dict.org/
COMMENT= Dictionary Service Protocol client
-USE_BUILDLINK3= yes
-USE_GNU_TOOLS+= make
-GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-cflags="${CFLAGS}"
+CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
BUILD_TARGET= dict
INSTALL_TARGET= install.dict
@@ -21,7 +22,6 @@ FILESDIR= ${.CURDIR}/../../textproc/dict-server/files
PATCHDIR= ${.CURDIR}/../../textproc/dict-server/patches
DISTINFO_FILE= ${.CURDIR}/../../textproc/dict-server/distinfo
-CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
-
.include "../../devel/libltdl/buildlink3.mk"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/dict-client/PLIST b/textproc/dict-client/PLIST
index fee7844f267..be301383397 100644
--- a/textproc/dict-client/PLIST
+++ b/textproc/dict-client/PLIST
@@ -1,3 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:56:26 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/02/22 16:09:54 adam Exp $
bin/dict
+bin/dictl
man/man1/dict.1
+man/man1/dictl.1