aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bingrep
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2017-06-22 00:39:39 +0800
committertobik <tobik@FreeBSD.org>2017-06-22 00:39:39 +0800
commitd1941e1a3c113400211b2ae5d22b06bdb791c122 (patch)
tree22e32dd79d01b370d30a5e9aca0465baeaeb13d6 /devel/bingrep
parent10044216ea381dd2ffa7426d9a016d1ad61180f9 (diff)
downloadfreebsd-ports-gnome-d1941e1a3c113400211b2ae5d22b06bdb791c122.tar.gz
freebsd-ports-gnome-d1941e1a3c113400211b2ae5d22b06bdb791c122.tar.zst
freebsd-ports-gnome-d1941e1a3c113400211b2ae5d22b06bdb791c122.zip
New port: devel/bingrep
Greps through binaries from various OSs and architectures, and colors them. Current backends: - ELF 32/64, arm, x86, openrisc - all others will parse and color, but relocations won't show properly - Mach 32/64, arm, x86 - PE (debug only) WWW: https://github.com/m4b/bingrep Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D11162
Diffstat (limited to 'devel/bingrep')
-rw-r--r--devel/bingrep/Makefile43
-rw-r--r--devel/bingrep/distinfo53
-rw-r--r--devel/bingrep/pkg-descr9
3 files changed, 105 insertions, 0 deletions
diff --git a/devel/bingrep/Makefile b/devel/bingrep/Makefile
new file mode 100644
index 000000000000..ed9b509d7e3b
--- /dev/null
+++ b/devel/bingrep/Makefile
@@ -0,0 +1,43 @@
+# $FreeBSD$
+
+PORTNAME= bingrep
+PORTVERSION= g20170612
+CATEGORIES= devel
+
+MAINTAINER= tobik@FreeBSD.org
+COMMENT= Grep through binaries
+
+USES= cargo
+USE_GITHUB= yes
+GH_ACCOUNT= m4b
+GH_TAGNAME= 0705684
+
+PLIST_FILES= bin/bingrep
+
+CARGO_CRATES= ansi_term-0.9.0 \
+ atty-0.2.2 \
+ bitflags-0.8.2 \
+ clap-2.24.2 \
+ colored-1.5.1 \
+ goblin-0.0.10 \
+ kernel32-sys-0.2.2 \
+ lazy_static-0.2.8 \
+ libc-0.2.23 \
+ plain-0.0.2 \
+ quote-0.3.15 \
+ scroll-0.5.0 \
+ scroll_derive-0.4.0 \
+ strsim-0.6.0 \
+ structopt-0.0.3 \
+ structopt-derive-0.0.3 \
+ syn-0.11.11 \
+ synom-0.11.3 \
+ term_size-0.3.0 \
+ unicode-segmentation-1.2.0 \
+ unicode-width-0.1.4 \
+ unicode-xid-0.0.4 \
+ vec_map-0.8.0 \
+ winapi-0.2.8 \
+ winapi-build-0.1.1
+
+.include <bsd.port.mk>
diff --git a/devel/bingrep/distinfo b/devel/bingrep/distinfo
new file mode 100644
index 000000000000..8e48c5038f1a
--- /dev/null
+++ b/devel/bingrep/distinfo
@@ -0,0 +1,53 @@
+TIMESTAMP = 1497440040
+SHA256 (rust/crates/ansi_term-0.9.0.tar.gz) = 23ac7c30002a5accbf7e8987d0632fa6de155b7c3d39d0067317a391e00a2ef6
+SIZE (rust/crates/ansi_term-0.9.0.tar.gz) = 11718
+SHA256 (rust/crates/atty-0.2.2.tar.gz) = d912da0db7fa85514874458ca3651fe2cddace8d0b0505571dbdcd41ab490159
+SIZE (rust/crates/atty-0.2.2.tar.gz) = 5124
+SHA256 (rust/crates/bitflags-0.8.2.tar.gz) = 1370e9fc2a6ae53aea8b7a5110edbd08836ed87c88736dfabccade1c2b44bff4
+SIZE (rust/crates/bitflags-0.8.2.tar.gz) = 11200
+SHA256 (rust/crates/clap-2.24.2.tar.gz) = 6b8f69e518f967224e628896b54e41ff6acfb4dcfefc5076325c36525dac900f
+SIZE (rust/crates/clap-2.24.2.tar.gz) = 179198
+SHA256 (rust/crates/colored-1.5.1.tar.gz) = 66e436adfcba3a50905f943d990f5ef7c230ebe2d9476ab5c7dc2427afe357ee
+SIZE (rust/crates/colored-1.5.1.tar.gz) = 33931
+SHA256 (rust/crates/goblin-0.0.10.tar.gz) = 81af14056c25d33759862c5ae2035452acb1255bfb1b16db57819f183921e259
+SIZE (rust/crates/goblin-0.0.10.tar.gz) = 94446
+SHA256 (rust/crates/kernel32-sys-0.2.2.tar.gz) = 7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d
+SIZE (rust/crates/kernel32-sys-0.2.2.tar.gz) = 24537
+SHA256 (rust/crates/lazy_static-0.2.8.tar.gz) = 3b37545ab726dd833ec6420aaba8231c5b320814b9029ad585555d2a03e94fbf
+SIZE (rust/crates/lazy_static-0.2.8.tar.gz) = 9950
+SHA256 (rust/crates/libc-0.2.23.tar.gz) = e7eb6b826bfc1fdea7935d46556250d1799b7fe2d9f7951071f4291710665e3e
+SIZE (rust/crates/libc-0.2.23.tar.gz) = 153939
+SHA256 (rust/crates/plain-0.0.2.tar.gz) = 595830506990cbd6a1a08ed73bd9b40beb4692f38334885bf25a5daa654c6fae
+SIZE (rust/crates/plain-0.0.2.tar.gz) = 9019
+SHA256 (rust/crates/quote-0.3.15.tar.gz) = 7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a
+SIZE (rust/crates/quote-0.3.15.tar.gz) = 12041
+SHA256 (rust/crates/scroll-0.5.0.tar.gz) = 1d916a75d18d4c559fa7312afe6f522fe5b63176e6591d02ed81017c22f8ea27
+SIZE (rust/crates/scroll-0.5.0.tar.gz) = 21550
+SHA256 (rust/crates/scroll_derive-0.4.0.tar.gz) = 686ef1d49b34827d6aed93e0bbe9e53023b26e25f54dead31859974067400f19
+SIZE (rust/crates/scroll_derive-0.4.0.tar.gz) = 2789
+SHA256 (rust/crates/strsim-0.6.0.tar.gz) = b4d15c810519a91cf877e7e36e63fe068815c678181439f2f29e2562147c3694
+SIZE (rust/crates/strsim-0.6.0.tar.gz) = 8500
+SHA256 (rust/crates/structopt-0.0.3.tar.gz) = 2d52740003d84335ccfc6f9223a9cede3943e5f1e75b15b21a9cd40d02f1d6df
+SIZE (rust/crates/structopt-0.0.3.tar.gz) = 3393
+SHA256 (rust/crates/structopt-derive-0.0.3.tar.gz) = 1e4f5f4da823bbf745599cd6e6c344817e2580cf2ea46d012aa62da714a20725
+SIZE (rust/crates/structopt-derive-0.0.3.tar.gz) = 3508
+SHA256 (rust/crates/syn-0.11.11.tar.gz) = d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad
+SIZE (rust/crates/syn-0.11.11.tar.gz) = 63309
+SHA256 (rust/crates/synom-0.11.3.tar.gz) = a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6
+SIZE (rust/crates/synom-0.11.3.tar.gz) = 17120
+SHA256 (rust/crates/term_size-0.3.0.tar.gz) = e2b6b55df3198cc93372e85dd2ed817f0e38ce8cc0f22eb32391bfad9c4bf209
+SIZE (rust/crates/term_size-0.3.0.tar.gz) = 9932
+SHA256 (rust/crates/unicode-segmentation-1.2.0.tar.gz) = a8083c594e02b8ae1654ae26f0ade5158b119bd88ad0e8227a5d8fcd72407946
+SIZE (rust/crates/unicode-segmentation-1.2.0.tar.gz) = 67562
+SHA256 (rust/crates/unicode-width-0.1.4.tar.gz) = bf3a113775714a22dcb774d8ea3655c53a32debae63a063acc00a91cc586245f
+SIZE (rust/crates/unicode-width-0.1.4.tar.gz) = 15283
+SHA256 (rust/crates/unicode-xid-0.0.4.tar.gz) = 8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc
+SIZE (rust/crates/unicode-xid-0.0.4.tar.gz) = 16034
+SHA256 (rust/crates/vec_map-0.8.0.tar.gz) = 887b5b631c2ad01628bbbaa7dd4c869f80d3186688f8d0b6f58774fbe324988c
+SIZE (rust/crates/vec_map-0.8.0.tar.gz) = 13742
+SHA256 (rust/crates/winapi-0.2.8.tar.gz) = 167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a
+SIZE (rust/crates/winapi-0.2.8.tar.gz) = 455145
+SHA256 (rust/crates/winapi-build-0.1.1.tar.gz) = 2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc
+SIZE (rust/crates/winapi-build-0.1.1.tar.gz) = 669
+SHA256 (m4b-bingrep-g20170612-0705684_GH0.tar.gz) = 140f01ea897b5be1e89949d68a5591253b41fb345a587c759984d4e945e92f6b
+SIZE (m4b-bingrep-g20170612-0705684_GH0.tar.gz) = 343989
diff --git a/devel/bingrep/pkg-descr b/devel/bingrep/pkg-descr
new file mode 100644
index 000000000000..ef06ee6bd241
--- /dev/null
+++ b/devel/bingrep/pkg-descr
@@ -0,0 +1,9 @@
+Greps through binaries from various OSs and architectures, and colors
+them. Current backends:
+
+- ELF 32/64, arm, x86, openrisc - all others will parse and color, but
+ relocations won't show properly
+- Mach 32/64, arm, x86
+- PE (debug only)
+
+WWW: https://github.com/m4b/bingrep