NetBSD Problem Report #44363

From cheusov@tut.by  Sun Jan  9 21:18:41 2011
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 78BCC63B89A
	for <gnats-bugs@gnats.netbsd.org>; Sun,  9 Jan 2011 21:18:41 +0000 (UTC)
Message-Id: <874o9h232s.fsf@asrock.chizhovka.net>
Date: Sun, 09 Jan 2011 23:13:15 +0200
From: cheusov@tut.by
To: gnats-bugs@gnats.NetBSD.org
Subject: Update for dict-server and dict-client [patch]
X-Send-Pr-Version: 3.95

>Number:         44363
>Category:       pkg
>Synopsis:       Update for dict-server and dict-client [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    obache
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 09 21:20:00 +0000 2011
>Closed-Date:    Thu Feb 03 12:58:22 +0000 2011
>Last-Modified:  Thu Feb 03 13:00:04 +0000 2011
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.1
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.1 NetBSD 5.1 (GENERIC) #0: Fri Nov 19 16:33:44 EET 2010 cheusov@asrock.chizhovka.net:/srv/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Update for textproc/dict-server and textproc/dict-client is provided.

  New script dict_lookup for translating words and phrases from X
  selection. It makes sense to configure launching dict_lookup on a
  keyboard shortcut in the window manager.

  dictd: Fix for SHOW SERVER command (dict -I).  On systems where
  sizeof(int) != sizeof (long) values in "Uncompressed" column may
  contain random garbage.  This problem was seen on NetBSD/x86_64/5.1

  Fix for sf bug #3098788
  https://sf.net/tracker/?func=detail&aid=3098788&group_id=605&atid=100605
  Regresson tests for dictzip were added.

  Fix in Makefile: non standard option for lex(1) was removed
  (This may unbreak compilation on SunOS, HP-UX...).

  dictfmt:
  Internal buffer size was increased from 10240 to 102400 bytes.

  Fixes for Tru64.

  Other minor fixes and cleanups

>How-To-Repeat:

>Fix:

Index: dict-server/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/dict-server/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- dict-server/Makefile	30 Dec 2009 11:55:49 -0000	1.27
+++ dict-server/Makefile	9 Jan 2011 21:08:41 -0000
@@ -5,8 +5,7 @@
 PKGNAME=	${DISTNAME:S/dictd/dict-server/}
 CATEGORIES=	textproc
 COMMENT=	Dictionary Service Protocol server
-
-#LICENSE=		gnu-gpl-v2
+LICENSE=	gnu-gpl-v2

 .include "../../mk/bsd.prefs.mk"

Index: dict-server/Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/dict-server/Makefile.common,v
retrieving revision 1.1
diff -u -r1.1 Makefile.common
--- dict-server/Makefile.common	31 Dec 2009 00:42:24 -0000	1.1
+++ dict-server/Makefile.common	9 Jan 2011 21:08:41 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile.common,v 1.1 2009/12/31 00:42:24 abs Exp $
 # used by textproc/dict-server/Makefile
 # used by textproc/dict-client/Makefile
-DISTNAME=	dictd-1.11.2
+DISTNAME=	dictd-1.12.0

 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=dict/} \
 		ftp://ftp.dict.org/pub/dict/
Index: dict-server/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/dict-server/distinfo,v
retrieving revision 1.18
diff -u -r1.18 distinfo
--- dict-server/distinfo	30 Dec 2009 11:55:49 -0000	1.18
+++ dict-server/distinfo	9 Jan 2011 21:08:41 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.18 2009/12/30 11:55:49 abs Exp $

-SHA1 (dictd-1.11.2.tar.gz) = 11087cfeffed4e19991e54561d2a6eca1b18d651
-RMD160 (dictd-1.11.2.tar.gz) = f93e8a7a0bbb4e1812288d2ed16889a60e8973ba
-Size (dictd-1.11.2.tar.gz) = 418649 bytes
+SHA1 (dictd-1.12.0.tar.gz) = 0a1b0c4103e5c3c8b749f9a5dc005cb70e4639e8
+RMD160 (dictd-1.12.0.tar.gz) = 56abaebf57baabcb72b96ccf6ec5c39cc3a67ceb
+Size (dictd-1.12.0.tar.gz) = 423183 bytes
Index: dict-client/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/dict-client/Makefile,v
retrieving revision 1.33
diff -u -r1.33 Makefile
--- dict-client/Makefile	30 Dec 2009 11:58:48 -0000	1.33
+++ dict-client/Makefile	9 Jan 2011 21:08:41 -0000
@@ -6,7 +6,7 @@
 CATEGORIES=	textproc
 COMMENT=	Dictionary Service Protocol client

-LICENSE=		gnu-gpl-v2
+LICENSE=		gnu-gpl-v2 AND mit

 USE_TOOLS+=		gmake yacc lex
 USE_LIBTOOL=		yes
@@ -18,7 +18,7 @@
 INSTALL_TARGET=		install.dict

 FILESDIR=	${.CURDIR}/../../textproc/dict-server/files
-PATCHDIR=	${.CURDIR}/../../textproc/dict-server/patches
+#PATCHDIR=	${.CURDIR}/../../textproc/dict-server/patches
 DISTINFO_FILE=	${.CURDIR}/../../textproc/dict-server/distinfo

 .include "../../devel/zlib/buildlink3.mk"
Index: dict-client/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/dict-client/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- dict-client/PLIST	22 Feb 2005 16:09:54 -0000	1.2
+++ dict-client/PLIST	9 Jan 2011 21:08:41 -0000
@@ -1,5 +1,7 @@
 @comment $NetBSD: PLIST,v 1.2 2005/02/22 16:09:54 adam Exp $
 bin/dict
+bin/dict_lookup
 bin/dictl
 man/man1/dict.1
+man/man1/dict_lookup.1
 man/man1/dictl.1

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 03 Feb 2011 12:43:04 +0000
Responsible-Changed-Why:
I'll take this.


State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Thu, 03 Feb 2011 12:58:22 +0000
State-Changed-Why:
Updated.  Thanks!


From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44363 CVS commit: pkgsrc/textproc
Date: Thu, 3 Feb 2011 12:55:51 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Thu Feb  3 12:55:51 UTC 2011

 Modified Files:
 	pkgsrc/textproc/dict-client: Makefile PLIST
 	pkgsrc/textproc/dict-server: Makefile Makefile.common distinfo

 Log Message:
 Update dict-{server,client} to 1.12.0.
 per maintainer update request PR#44363.

 ----------------------------------------------------------------------
 Version 1.12, by Aleksey Cheusov, Sun,  9 Jan 2011 18:16:34 +0200

   New script dict_lookup for translating words and phrases from X
   selection. It makes sense to configure launching dict_lookup on a
   keyboard shortcut in the window manager.

   dictd: Fix for SHOW SERVER command (dict -I).  On systems where
   sizeof(int) != sizeof (long) values in "Uncompressed" column may
   contain random garbage.  This problem was seen on NetBSD/x86_64/5.1

   Fix for sf bug #3098788
   https://sf.net/tracker/?func=detail&aid=3098788&group_id=605&atid=100605
   Regresson tests for dictzip were added.

   Fix in Makefile: non standard option for lex(1) was removed
   (This may unbreak compilation on SunOS, HP-UX...).

   dictfmt:
   Internal buffer size was increased from 10240 to 102400 bytes.

   Fixes for Tru64.

   Other minor fixes and cleanups


 To generate a diff of this commit:
 cvs rdiff -u -r1.33 -r1.34 pkgsrc/textproc/dict-client/Makefile
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/dict-client/PLIST
 cvs rdiff -u -r1.27 -r1.28 pkgsrc/textproc/dict-server/Makefile
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/dict-server/Makefile.common
 cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/dict-server/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.