pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-ack Update to 2.16. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3814d105568
branches:  trunk
changeset: 359629:d3814d105568
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Mar 14 14:41:27 2017 +0000

description:
Update to 2.16. From the changelog:

[CONFUSING BEHAVIOR & UPCOMING CHANGES]
The -w has a confusing behavior that it's had since back to ack 1.x
that will be changing in the future.  It's not changing in this
version, but this is a heads-up that it's coming.

ack -w is "match a whole word", and ack does this by putting turning
your PATTERN into \bPATTERN\b.  So "ack -w foo" effectively becomes
"ack \bfoo\b".  Handy.

The problem is that ack doesn't put a \b before PATTERN if it begins
with a non-word character, and won't put a \b after PATTERN if it
ends with a non-word character.

The problem is that if you're searching for "fool" or "foot", but
only as a word, and you do "ack -w foo[lt]" or "ack -w (fool|foot)",
you'll get matches for "football and foolish" which certainly should
not match if you're using -w.

[ENHANCEMENTS]
Include .cljs, .cljc and .edn files with the --clojure filetype.  Thanks,
Austin Chamberlin.

Added .xsd to the --xml filetype.  Thanks, Nick Morrott.

Added support for Swift language.  Thanks, Nikolaj Schumacher. (GH #512)

The MSYS2 project is now seen as Windows.  Thanks, Ray Donnelly. (GH #450)

Expand the definition of OCaml files.  Thanks, Marek Kubica. (GH #511)

Add support for Groovy Server Pages.  Thanks, Ethan Mallove. (GH #469)

The JSP filetype (--jsp) now recognizes .jspf files.  Thanks, Sebastien
Feugere.  (GH #586)

Many optimizations and code cleanups.  Thanks, Stephan Hohe.

Added --hpp option for C++ header files.  Thankis, Steffen Jaeckel.

ack now supports --ignore-dir=match:....  Thanks, Ailin Nemui! (GitHub ticket #42)

ack also supports --ignore-dir=ext:..., and --noignore-dir supports match/ext as well

[INTERNALS]
Added test to test --output. Thanks, Varadinsky! (GH #587, GH #590)

Added test to make sure subdirs of target subdirs are ignored if
--ignore-dir applies to them.  Thanks, Pete Houston. (GH #570)

[DOCUMENTATION]
Expanded the explanation of how the -w flag works.  Thanks, Ed Avis.
(GH #585)

[FIXES]
Reverted an optimization to make \s work properly again. (GH #572,
GH #571, GH #562, GH #491, GH #498)

Fixed an out-of-date FAQ entry.  Thanks, Jakub Wilk.  (GH #580)

The -l and -c flags would sometimes return inaccurate results due to
a bug introduced in 2.14.  Thanks to Elliot Shank for the report! (GH #491)

Behavior when using newlines in a search was inconsistent.  Thanks to
Yves Chevallier for the report! (GH #522)

Add minimal requirement of Getopt::Long 2.38, not 2.35, for GetOptionsFromString.

Don't ignore directories that are specified as command line targets (GH #524)

Fix a bug where a regular expression that matches the empty string could cause ack
to go into an infinite loop (GH #542)

diffstat:

 textproc/p5-ack/Makefile |   5 ++---
 textproc/p5-ack/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (29 lines):

diff -r 4936e742f21b -r d3814d105568 textproc/p5-ack/Makefile
--- a/textproc/p5-ack/Makefile  Tue Mar 14 14:12:26 2017 +0000
+++ b/textproc/p5-ack/Makefile  Tue Mar 14 14:41:27 2017 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2016/06/08 19:24:47 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2017/03/14 14:41:27 schmonz Exp $
 
-DISTNAME=      ack-2.14
+DISTNAME=      ack-2.16
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    textproc perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=App/}
 
diff -r 4936e742f21b -r d3814d105568 textproc/p5-ack/distinfo
--- a/textproc/p5-ack/distinfo  Tue Mar 14 14:12:26 2017 +0000
+++ b/textproc/p5-ack/distinfo  Tue Mar 14 14:41:27 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2015/11/04 01:59:59 agc Exp $
+$NetBSD: distinfo,v 1.11 2017/03/14 14:41:27 schmonz Exp $
 
-SHA1 (ack-2.14.tar.gz) = 4a9dcfa32b12f68cf34988a1cca9d3d96098ae57
-RMD160 (ack-2.14.tar.gz) = b82431b84fae2dcd8af38b9657825a9d78701bcd
-SHA512 (ack-2.14.tar.gz) = 64af6490947e4dcc9e9a28c28db5750df7bec4098e3e8a9d940be5f6b99fe0169c091d390480eb95cf7704f24c745bd6c93b8cfd8de7cab75c11c313184666b4
-Size (ack-2.14.tar.gz) = 222479 bytes
+SHA1 (ack-2.16.tar.gz) = 618c9fd0afeaf9ad743558a52cc1e751a470f1eb
+RMD160 (ack-2.16.tar.gz) = 0a91f395e3a2f987dfbcb7f7fae497485905054f
+SHA512 (ack-2.16.tar.gz) = c475674466bf204046c54b3b1d6f346c784203aa5a6e098fef6e0553d0674da173318bd5fdff3495360775bbddb544f01974f7314dd19cdb149365ca34283572
+Size (ack-2.16.tar.gz) = 225707 bytes



Home | Main Index | Thread Index | Old Index