Skip to content

Commit

Permalink
hgrep: update to 0.2.2.
Browse files Browse the repository at this point in the history
Fix a build failure since new RC version of clap crate was released.
Fix a dynamic link error of pcre2 library by linking the library
statically. The error could happen when you installed Homebrew to
non-default location on macOS (#6).
Add --regex-size-limit option for built-in grep feature.
Add --dfa-size-limit option for built-in grep feature.
Use Rust compiler v1.57 to build binaries.
  • Loading branch information
0-wiz-0 committed Dec 12, 2021
1 parent 1c6bdcd commit a56cd44
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 103 deletions.
4 changes: 2 additions & 2 deletions textproc/hgrep/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.6 2021/11/14 09:06:41 pin Exp $
# $NetBSD: Makefile,v 1.7 2021/12/12 09:57:46 wiz Exp $

DISTNAME= hgrep-0.2.1
DISTNAME= hgrep-0.2.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=rhysd/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Expand Down
49 changes: 24 additions & 25 deletions textproc/hgrep/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# $NetBSD: cargo-depends.mk,v 1.6 2021/11/14 09:06:41 pin Exp $
# $NetBSD: cargo-depends.mk,v 1.7 2021/12/12 09:57:46 wiz Exp $

CARGO_CRATE_DEPENDS+= adler-1.0.2
CARGO_CRATE_DEPENDS+= aho-corasick-0.7.18
CARGO_CRATE_DEPENDS+= ansi_colours-1.0.4
CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
CARGO_CRATE_DEPENDS+= anyhow-1.0.45
CARGO_CRATE_DEPENDS+= anyhow-1.0.51
CARGO_CRATE_DEPENDS+= atty-0.2.14
CARGO_CRATE_DEPENDS+= autocfg-1.0.1
CARGO_CRATE_DEPENDS+= base64-0.13.0
Expand All @@ -16,16 +16,15 @@ CARGO_CRATE_DEPENDS+= bugreport-0.4.1
CARGO_CRATE_DEPENDS+= bumpalo-3.8.0
CARGO_CRATE_DEPENDS+= bytecount-0.6.2
CARGO_CRATE_DEPENDS+= cast-0.2.7
CARGO_CRATE_DEPENDS+= cc-1.0.71
CARGO_CRATE_DEPENDS+= cc-1.0.72
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
CARGO_CRATE_DEPENDS+= chrono-0.4.19
CARGO_CRATE_DEPENDS+= clap-2.33.3
CARGO_CRATE_DEPENDS+= clap-3.0.0-beta.5
CARGO_CRATE_DEPENDS+= clap_generate-3.0.0-beta.5
CARGO_CRATE_DEPENDS+= clap-2.34.0
CARGO_CRATE_DEPENDS+= clap-3.0.0-rc.4
CARGO_CRATE_DEPENDS+= clap_generate-3.0.0-rc.4
CARGO_CRATE_DEPENDS+= clircle-0.3.0
CARGO_CRATE_DEPENDS+= console-0.14.1
CARGO_CRATE_DEPENDS+= content_inspector-0.2.4
CARGO_CRATE_DEPENDS+= crc32fast-1.2.1
CARGO_CRATE_DEPENDS+= crc32fast-1.3.0
CARGO_CRATE_DEPENDS+= criterion-0.3.5
CARGO_CRATE_DEPENDS+= criterion-plot-0.4.4
CARGO_CRATE_DEPENDS+= crossbeam-channel-0.5.1
Expand All @@ -48,7 +47,7 @@ CARGO_CRATE_DEPENDS+= encoding-index-simpchinese-1.20141219.5
CARGO_CRATE_DEPENDS+= encoding-index-singlebyte-1.20141219.5
CARGO_CRATE_DEPENDS+= encoding-index-tradchinese-1.20141219.5
CARGO_CRATE_DEPENDS+= encoding_index_tests-0.1.4
CARGO_CRATE_DEPENDS+= encoding_rs-0.8.29
CARGO_CRATE_DEPENDS+= encoding_rs-0.8.30
CARGO_CRATE_DEPENDS+= encoding_rs_io-0.1.7
CARGO_CRATE_DEPENDS+= error-chain-0.12.4
CARGO_CRATE_DEPENDS+= filedescriptor-0.8.1
Expand All @@ -69,46 +68,45 @@ CARGO_CRATE_DEPENDS+= hashbrown-0.11.2
CARGO_CRATE_DEPENDS+= hermit-abi-0.1.19
CARGO_CRATE_DEPENDS+= ignore-0.4.18
CARGO_CRATE_DEPENDS+= indexmap-1.7.0
CARGO_CRATE_DEPENDS+= itertools-0.10.1
CARGO_CRATE_DEPENDS+= itertools-0.10.3
CARGO_CRATE_DEPENDS+= itoa-0.4.8
CARGO_CRATE_DEPENDS+= jobserver-0.1.24
CARGO_CRATE_DEPENDS+= js-sys-0.3.55
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= lazycell-1.3.0
CARGO_CRATE_DEPENDS+= libc-0.2.107
CARGO_CRATE_DEPENDS+= libmimalloc-sys-0.1.22
CARGO_CRATE_DEPENDS+= libc-0.2.109
CARGO_CRATE_DEPENDS+= libmimalloc-sys-0.1.23
CARGO_CRATE_DEPENDS+= line-wrap-0.1.1
CARGO_CRATE_DEPENDS+= linked-hash-map-0.5.4
CARGO_CRATE_DEPENDS+= log-0.4.14
CARGO_CRATE_DEPENDS+= memchr-2.4.1
CARGO_CRATE_DEPENDS+= memmap2-0.3.1
CARGO_CRATE_DEPENDS+= memoffset-0.6.4
CARGO_CRATE_DEPENDS+= mimalloc-0.1.26
CARGO_CRATE_DEPENDS+= memoffset-0.6.5
CARGO_CRATE_DEPENDS+= mimalloc-0.1.27
CARGO_CRATE_DEPENDS+= miniz_oxide-0.4.4
CARGO_CRATE_DEPENDS+= num-integer-0.1.44
CARGO_CRATE_DEPENDS+= num-traits-0.2.14
CARGO_CRATE_DEPENDS+= num_cpus-1.13.0
CARGO_CRATE_DEPENDS+= once_cell-1.8.0
CARGO_CRATE_DEPENDS+= onig-6.3.1
CARGO_CRATE_DEPENDS+= onig_sys-69.7.1
CARGO_CRATE_DEPENDS+= oorandom-11.1.3
CARGO_CRATE_DEPENDS+= os_str_bytes-4.2.0
CARGO_CRATE_DEPENDS+= os_str_bytes-6.0.0
CARGO_CRATE_DEPENDS+= output_vt100-0.1.2
CARGO_CRATE_DEPENDS+= path-slash-0.1.4
CARGO_CRATE_DEPENDS+= path_abs-0.5.1
CARGO_CRATE_DEPENDS+= pathdiff-0.2.1
CARGO_CRATE_DEPENDS+= pcre2-0.2.3
CARGO_CRATE_DEPENDS+= pcre2-sys-0.2.5
CARGO_CRATE_DEPENDS+= pest-2.1.3
CARGO_CRATE_DEPENDS+= pkg-config-0.3.22
CARGO_CRATE_DEPENDS+= plist-1.2.1
CARGO_CRATE_DEPENDS+= pkg-config-0.3.23
CARGO_CRATE_DEPENDS+= plist-1.3.1
CARGO_CRATE_DEPENDS+= plotters-0.3.1
CARGO_CRATE_DEPENDS+= plotters-backend-0.3.2
CARGO_CRATE_DEPENDS+= plotters-svg-0.3.1
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.15
CARGO_CRATE_DEPENDS+= pretty_assertions-1.0.0
CARGO_CRATE_DEPENDS+= proc-macro-hack-0.5.19
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.32
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.33
CARGO_CRATE_DEPENDS+= quote-1.0.10
CARGO_CRATE_DEPENDS+= rand-0.8.4
CARGO_CRATE_DEPENDS+= rand_chacha-0.3.1
Expand All @@ -124,23 +122,23 @@ CARGO_CRATE_DEPENDS+= regex-syntax-0.6.25
CARGO_CRATE_DEPENDS+= remove_dir_all-0.5.3
CARGO_CRATE_DEPENDS+= rgb2ansi256-0.1.1
CARGO_CRATE_DEPENDS+= rustc_version-0.4.0
CARGO_CRATE_DEPENDS+= rustversion-1.0.5
CARGO_CRATE_DEPENDS+= ryu-1.0.5
CARGO_CRATE_DEPENDS+= rustversion-1.0.6
CARGO_CRATE_DEPENDS+= ryu-1.0.7
CARGO_CRATE_DEPENDS+= safemem-0.3.3
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
CARGO_CRATE_DEPENDS+= semver-0.11.0
CARGO_CRATE_DEPENDS+= semver-1.0.4
CARGO_CRATE_DEPENDS+= semver-parser-0.10.2
CARGO_CRATE_DEPENDS+= serde-1.0.130
CARGO_CRATE_DEPENDS+= serde-1.0.131
CARGO_CRATE_DEPENDS+= serde_cbor-0.11.2
CARGO_CRATE_DEPENDS+= serde_derive-1.0.130
CARGO_CRATE_DEPENDS+= serde_json-1.0.69
CARGO_CRATE_DEPENDS+= serde_derive-1.0.131
CARGO_CRATE_DEPENDS+= serde_json-1.0.72
CARGO_CRATE_DEPENDS+= serde_yaml-0.8.21
CARGO_CRATE_DEPENDS+= shell-escape-0.1.5
CARGO_CRATE_DEPENDS+= std_prelude-0.2.12
CARGO_CRATE_DEPENDS+= strsim-0.10.0
CARGO_CRATE_DEPENDS+= syn-1.0.81
CARGO_CRATE_DEPENDS+= syn-1.0.82
CARGO_CRATE_DEPENDS+= syntect-4.6.0
CARGO_CRATE_DEPENDS+= sys-info-0.9.1
CARGO_CRATE_DEPENDS+= tempfile-3.2.0
Expand All @@ -152,6 +150,7 @@ CARGO_CRATE_DEPENDS+= textwrap-0.14.2
CARGO_CRATE_DEPENDS+= thiserror-1.0.30
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.30
CARGO_CRATE_DEPENDS+= thread_local-1.1.3
CARGO_CRATE_DEPENDS+= time-0.3.5
CARGO_CRATE_DEPENDS+= tinytemplate-1.2.1
CARGO_CRATE_DEPENDS+= ucd-trie-0.1.3
CARGO_CRATE_DEPENDS+= unicode-width-0.1.9
Expand Down
Loading

0 comments on commit a56cd44

Please sign in to comment.