NetBSD Problem Report #34414

From miwi@FreeBSD.org  Wed Aug 30 11:23:35 2006
Return-Path: <miwi@FreeBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id A1F6663B964
	for <gnats-bugs@gnats.netbsd.org>; Wed, 30 Aug 2006 11:23:35 +0000 (UTC)
Message-Id: <1156937017.3704@mwilke.ath.cx>
Date: Wed, 30 Aug 2006 13:23:37 +0200
From: "Martin Wilke" <miwi@FreeBSD.org>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: [update] textproc/p5-String-Approx/
X-Send-Pr-Version: gtk-send-pr 0.4.7 
X-GNATS-Notify:

>Number:         34414
>Category:       pkg
>Synopsis:       [update] textproc/p5-String-Approx/
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tv
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 30 11:25:06 +0000 2006
>Closed-Date:    Tue Sep 05 19:50:35 +0000 2006
>Last-Modified:  Tue Sep 05 19:50:35 +0000 2006
>Originator:     Martin Wilke
>Release:        NetBSD 4.0_BETA i386
>Organization:
>Environment:


System: NetBSD 4.0_BETA (MIWIBOX) #0: Tue Aug 29 10:29:38 CEST 2006
	miwi@mwilke.ath.cx:/usr/obj/sys/arch/i386/compile/MIWIBOX



>Description:


- Update to 3.26.

- Changelog

	* Try to underline, highlight, and explain the fact that
	  String::Approx does not do a good job for comparing
	  strings "with fuzz", use the Levenshtein et al for that.

	* aindex() might return "too early" indices if either the pattern
	  or the text contain repetitive characters, this seems to be a
	  tricky defect to fix and somewhat conflicting with our model
	  (return "as early as possible" matches, just like regular
	  expressions) (to get "as late as possible" matches one would
	  basically have to keep retrying at later indices until one
	  fails), so for now only document this known problem.
	  The same goes for aslice().

	* [INTERNAL] use Test::More (not 100% yet)

	* [INTERNAL] apse.c: do not reset text_position_range in apse_reset
	  (thanks to Helmut Jarausch)

	* [INTERNAL] apse.c: add #include <assert.h>.

	* [INTERNAL] apse.c: small signed/unsigned cleanups.

* Released as 3.25.

	* Pure documentation cleanup release to address
	  http://rt.cpan.org/NoAuth/Bug.html?id=12196
	  "Small String::Approx Pod issue"

* Released as 3.24.

	* Pure documentation cleanup release to address
	  http://rt.cpan.org/NoAuth/Bug.html?id=6668
	  "Unfortunate perldoc rendering of String::Approx"




>How-To-Repeat:





>Fix:


--- p5-String-Approx.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/pkgsrc/textproc/p5-String-Approx/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	22 Mar 2006 22:50:33 -0000	1.7
+++ Makefile	30 Aug 2006 09:52:53 -0000
@@ -1,9 +1,8 @@
 # $NetBSD: Makefile,v 1.7 2006/03/22 22:50:33 tv Exp $
 #

-DISTNAME=		String-Approx-3.23
+DISTNAME=		String-Approx-3.26
 PKGNAME=		p5-${DISTNAME}
-PKGREVISION=		2
 CATEGORIES=		textproc perl5
 MASTER_SITES=		${MASTER_SITE_PERL_CPAN:=String/}

Index: distinfo
===================================================================
RCS file: /home/pcvs/pkgsrc/textproc/p5-String-Approx/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	24 Feb 2005 14:48:45 -0000	1.3
+++ distinfo	30 Aug 2006 09:53:15 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.3 2005/02/24 14:48:45 agc Exp $

-SHA1 (String-Approx-3.23.tar.gz) = 3eb4ac3cb5607143e76fbc59fe6bbdab55755d69
-RMD160 (String-Approx-3.23.tar.gz) = 649811e16d49639f61ff80abf88bde8e48f157aa
-Size (String-Approx-3.23.tar.gz) = 43872 bytes
+SHA1 (String-Approx-3.26.tar.gz) = 84832bacb985c015748c746662c4615082edaf3c
+RMD160 (String-Approx-3.26.tar.gz) = 4ea6485425a06722e55a61df3d33c725970b7476
+Size (String-Approx-3.26.tar.gz) = 44800 bytes
--- p5-String-Approx.diff ends here ---



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tv
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Fri, 01 Sep 2006 03:34:43 +0000
Responsible-Changed-Why:
Assign to maintainer.


From: Todd Vierling <tv@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34414 CVS commit: pkgsrc/textproc/p5-String-Approx
Date: Tue,  5 Sep 2006 19:49:33 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tv
 Date:		Tue Sep  5 19:49:33 UTC 2006

 Modified Files:
 	pkgsrc/textproc/p5-String-Approx: Makefile distinfo

 Log Message:
 Update to 3.26; fixes PR pkg/34414.  Changes:

 2006-04-09  Jarkko Hietaniemi  <jhi@Chicxulub.local>

 	* Try to underline, highlight, and explain the fact that
 	  String::Approx does not do a good job for comparing
 	  strings "with fuzz", use the Levenshtein et al for that.

 	* aindex() might return "too early" indices if either the pattern
 	  or the text contain repetitive characters, this seems to be a
 	  tricky defect to fix and somewhat conflicting with our model
 	  (return "as early as possible" matches, just like regular
 	  expressions) (to get "as late as possible" matches one would
 	  basically have to keep retrying at later indices until one
 	  fails), so for now only document this known problem.
 	  The same goes for aslice().

 	* [INTERNAL] use Test::More (not 100% yet)

 	* [INTERNAL] apse.c: do not reset text_position_range in apse_reset
 	  (thanks to Helmut Jarausch)

 	* [INTERNAL] apse.c: add #include <assert.h>.

 	* [INTERNAL] apse.c: small signed/unsigned cleanups.

 	* Released as 3.26.

 2005-05-24  Jarkko Hietaniemi  <jhi@iki.fi>

 	* Pure documentation cleanup release to address
 	  http://rt.cpan.org/NoAuth/Bug.html?id=12196
 	  "Small String::Approx Pod issue"

 	* Released as 3.25.

 2005-01-02  Jarkko Hietaniemi  <jhi@iki.fi>

 	* Pure documentation cleanup release to address
 	  http://rt.cpan.org/NoAuth/Bug.html?id=6668
 	  "Unfortunate perldoc rendering of String::Approx"

 	* Released as 3.24.


 To generate a diff of this commit:
 cvs rdiff -r1.7 -r1.8 pkgsrc/textproc/p5-String-Approx/Makefile
 cvs rdiff -r1.3 -r1.4 pkgsrc/textproc/p5-String-Approx/distinfo

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

State-Changed-From-To: open->closed
State-Changed-By: tv@netbsd.org
State-Changed-When: Tue, 05 Sep 2006 19:50:35 +0000
State-Changed-Why:
Updated.


>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.