git: 4dd3123e0068 - main - devel/cargo-bloat: New port: Find out what takes most of the space in your executable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Jan 2023 08:28:11 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4dd3123e0068620ccac94ec85743d54ddf640b5f
commit 4dd3123e0068620ccac94ec85743d54ddf640b5f
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-09 07:23:21 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-09 08:28:08 +0000
devel/cargo-bloat: New port: Find out what takes most of the space in your executable
---
devel/Makefile | 1 +
devel/cargo-bloat/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++
devel/cargo-bloat/distinfo | 35 +++++++++++++++++++++++++++++++++++
devel/cargo-bloat/pkg-descr | 2 ++
4 files changed, 78 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 5facac1f71f1..1c9b8754c3fd 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -322,6 +322,7 @@
SUBDIR += capstone3
SUBDIR += capstone4
SUBDIR += capstone5
+ SUBDIR += cargo-bloat
SUBDIR += cargo-c
SUBDIR += cargo-generate
SUBDIR += cask
diff --git a/devel/cargo-bloat/Makefile b/devel/cargo-bloat/Makefile
new file mode 100644
index 000000000000..e0e740e39259
--- /dev/null
+++ b/devel/cargo-bloat/Makefile
@@ -0,0 +1,40 @@
+PORTNAME= cargo-bloat
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.11.1
+CATEGORIES= devel
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Find out what takes most of the space in your executable
+WWW= https://github.com/RazrFalcon/cargo-bloat
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cargo
+
+USE_GITHUB= yes
+GH_ACCOUNT= RazrFalcon
+
+CARGO_CRATES= binfarce-0.2.1 \
+ fallible-iterator-0.2.0 \
+ json-0.12.4 \
+ libc-0.2.126 \
+ memmap2-0.5.4 \
+ multimap-0.8.3 \
+ pdb-0.7.0 \
+ pico-args-0.5.0 \
+ regex-1.5.6 \
+ regex-syntax-0.6.26 \
+ scroll-0.10.2 \
+ term_size-0.3.2 \
+ uuid-0.8.2 \
+ winapi-0.3.9 \
+ winapi-i686-pc-windows-gnu-0.4.0 \
+ winapi-x86_64-pc-windows-gnu-0.4.0
+
+PLIST_FILES= bin/${PORTNAME}
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/devel/cargo-bloat/distinfo b/devel/cargo-bloat/distinfo
new file mode 100644
index 000000000000..84db85ef2047
--- /dev/null
+++ b/devel/cargo-bloat/distinfo
@@ -0,0 +1,35 @@
+TIMESTAMP = 1673246297
+SHA256 (rust/crates/binfarce-0.2.1.crate) = 18464ccbb85e5dede30d70cc7676dc9950a0fb7dbf595a43d765be9123c616a2
+SIZE (rust/crates/binfarce-0.2.1.crate) = 22233
+SHA256 (rust/crates/fallible-iterator-0.2.0.crate) = 4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7
+SIZE (rust/crates/fallible-iterator-0.2.0.crate) = 18509
+SHA256 (rust/crates/json-0.12.4.crate) = 078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd
+SIZE (rust/crates/json-0.12.4.crate) = 105942
+SHA256 (rust/crates/libc-0.2.126.crate) = 349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836
+SIZE (rust/crates/libc-0.2.126.crate) = 590481
+SHA256 (rust/crates/memmap2-0.5.4.crate) = d5172b50c23043ff43dd53e51392f36519d9b35a8f3a410d30ece5d1aedd58ae
+SIZE (rust/crates/memmap2-0.5.4.crate) = 25473
+SHA256 (rust/crates/multimap-0.8.3.crate) = e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a
+SIZE (rust/crates/multimap-0.8.3.crate) = 13518
+SHA256 (rust/crates/pdb-0.7.0.crate) = 13f4d162ecaaa1467de5afbe62d597757b674b51da8bb4e587430c5fdb2af7aa
+SIZE (rust/crates/pdb-0.7.0.crate) = 118603
+SHA256 (rust/crates/pico-args-0.5.0.crate) = 5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315
+SIZE (rust/crates/pico-args-0.5.0.crate) = 11545
+SHA256 (rust/crates/regex-1.5.6.crate) = d83f127d94bdbcda4c8cc2e50f6f84f4b611f69c902699ca385a39c3a75f9ff1
+SIZE (rust/crates/regex-1.5.6.crate) = 238593
+SHA256 (rust/crates/regex-syntax-0.6.26.crate) = 49b3de9ec5dc0a3417da371aab17d729997c15010e7fd24ff707773a33bddb64
+SIZE (rust/crates/regex-syntax-0.6.26.crate) = 293912
+SHA256 (rust/crates/scroll-0.10.2.crate) = fda28d4b4830b807a8b43f7b0e6b5df875311b3e7621d84577188c175b6ec1ec
+SIZE (rust/crates/scroll-0.10.2.crate) = 27810
+SHA256 (rust/crates/term_size-0.3.2.crate) = 1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9
+SIZE (rust/crates/term_size-0.3.2.crate) = 10917
+SHA256 (rust/crates/uuid-0.8.2.crate) = bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7
+SIZE (rust/crates/uuid-0.8.2.crate) = 37909
+SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
+SIZE (rust/crates/winapi-0.3.9.crate) = 1200382
+SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
+SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815
+SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
+SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998
+SHA256 (RazrFalcon-cargo-bloat-v0.11.1_GH0.tar.gz) = 4f338c1a7f7ee6bcac150f7856ed1f32cf8d9009cfd513ca6c1aac1e6685c35f
+SIZE (RazrFalcon-cargo-bloat-v0.11.1_GH0.tar.gz) = 19121
diff --git a/devel/cargo-bloat/pkg-descr b/devel/cargo-bloat/pkg-descr
new file mode 100644
index 000000000000..f9727e8ecc26
--- /dev/null
+++ b/devel/cargo-bloat/pkg-descr
@@ -0,0 +1,2 @@
+cargo-bloat allows you to find out what takes most of the space in
+your executable.