Thu Jan 20 20:16:08 2022 UTC ()
ugrep: updated to 3.6.0

ugrep v3.6.0
New --replace option to replace pattern matches in the output with custom formatted text with % fields. This option can be combined with any other option, including -y (--any-line) to pass through a file with substitutions applied to the output. To make ugrep more user-friendly, the new --help format option argument displays a summary of % format fields, the new --help regex option argument displays an overview of regular expression pattern syntax, and the new --help globs option argument displays the gitignore-style glob syntax and conventions used by ugrep. Increased searching speed of large files with AVX optimizations applied to the default pattern matcher engine. AVX optimizations were largely disabled (only partially applied) to make ugrep binary portable on Linux platforms since ugrep v3.3.5, requested by issue trackers 103 and 143. Binary portability over x86/x64 now works better with new multi-version code selected at runtime to run the original faster pattern matchi
ng engine. More coming soon!

ugrep v3.5.0
New --zmax=NUM option to be used with -z (--decompress) to search compressed files and archives recursively stored within tar/zip/cpio/pax archives for up to NUM recursive expansion levels deep. (Directory trees in archives are already recursively traversed and do not require --zmax.) The --zmax argument may range from 1 (default) to 99 for up to 99 recursive decompression and de-archiving steps. Improved option -U to be used for backward compatibility with GNU/BSD grep by no longer flagging invalid UTF as "binary files". More to come soon!

ugrep v3.4.0
New Boolean search query options --files and --lines. The specified Boolean search query conditions apply to lines by default. Because GNU/BSD grep and ugrep are generally line-based, --lines is the default option. Specify --files --bool to apply the specified Boolean query to files as a whole: a file matches if all Boolean conditions are satisfied by matching patterns anywhere in the file. More to come soon!


(adam)
diff -r1.23 -r1.24 pkgsrc/textproc/ugrep/Makefile
diff -r1.21 -r1.22 pkgsrc/textproc/ugrep/distinfo

cvs diff -r1.23 -r1.24 pkgsrc/textproc/ugrep/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/ugrep/Makefile 2022/01/10 01:46:45 1.23
+++ pkgsrc/textproc/ugrep/Makefile 2022/01/20 20:16:08 1.24
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.23 2022/01/10 01:46:45 ryoon Exp $ 1# $NetBSD: Makefile,v 1.24 2022/01/20 20:16:08 adam Exp $
2 2
3DISTNAME= ugrep-3.3.12 3DISTNAME= ugrep-3.6.0
4PKGREVISION= 1 
5CATEGORIES= textproc 4CATEGORIES= textproc
6MASTER_SITES= ${MASTER_SITE_GITHUB:=Genivia/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=Genivia/}
7GITHUB_TAG= v${PKGVERSION_NOREV} 6GITHUB_TAG= v${PKGVERSION_NOREV}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/Genivia/ugrep 9HOMEPAGE= https://github.com/Genivia/ugrep
11COMMENT= Fast grep with many enhancements including Unicode support 10COMMENT= Fast grep with many enhancements including Unicode support
12LICENSE= modified-bsd 11LICENSE= modified-bsd
13 12
14.include "options.mk" 13.include "options.mk"
15 14
16USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
17USE_TOOLS+= gmake pkg-config 16USE_TOOLS+= gmake pkg-config

cvs diff -r1.21 -r1.22 pkgsrc/textproc/ugrep/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/ugrep/distinfo 2021/12/13 16:17:48 1.21
+++ pkgsrc/textproc/ugrep/distinfo 2022/01/20 20:16:08 1.22
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.21 2021/12/13 16:17:48 adam Exp $ 1$NetBSD: distinfo,v 1.22 2022/01/20 20:16:08 adam Exp $
2 2
3BLAKE2s (ugrep-3.3.12.tar.gz) = 77f1cdfe4b40c4f748d635db46c0882adaa4f494ce8ed39bab71ef694cb24550 3BLAKE2s (ugrep-3.6.0.tar.gz) = 0926f7b4a32e937ff5e9c9d6dd2df6cb8a789f3d62a9388cb7cabfc392138295
4SHA512 (ugrep-3.3.12.tar.gz) = d322aec1307976cfce606855741016039aa0190de32ac65641ac3cb9d4f52a0d03e3555d42c92217f41ba7d6a50e83cb461af8a4bd7f9469ff620733da07c56c 4SHA512 (ugrep-3.6.0.tar.gz) = cd79bed9549c3ccfda606c203fc55b2eb5a4c695d63dcdadb3b2f1b42a8ff1b95ea560f90b57c3344c64be9d4762cd7305be951dcce24e963aafd44daee84ac8
5Size (ugrep-3.3.12.tar.gz) = 4312900 bytes 5Size (ugrep-3.6.0.tar.gz) = 4409603 bytes