pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import dusage
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Mon Jan 24 21:16:19 2022 +0100
Changeset: 50daaafbef7f877e08966b635bac94c8ef3954f1
Modified Files:
Makefile
Added Files:
dusage/DESCR
dusage/Makefile
dusage/PLIST
dusage/cargo-depends.mk
dusage/distinfo
Log Message:
Import dusage
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=50daaafbef7f877e08966b635bac94c8ef3954f1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
dusage/DESCR | 10 +++++++
dusage/Makefile | 22 +++++++++++++++
dusage/PLIST | 2 ++
dusage/cargo-depends.mk | 24 +++++++++++++++++
dusage/distinfo | 71 +++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 130 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index ddd489c5a9..37625ac7ba 100644
--- a/Makefile
+++ b/Makefile
@@ -709,6 +709,7 @@ SUBDIR+= dune-common
SUBDIR+= dune-geometry
SUBDIR+= dune-istl
SUBDIR+= duplo
+SUBDIR+= dusage
SUBDIR+= dvbsnoop
SUBDIR+= dvegas
SUBDIR+= dvisvgm
diff --git a/dusage/DESCR b/dusage/DESCR
new file mode 100644
index 0000000000..8a8f01b1a8
--- /dev/null
+++ b/dusage/DESCR
@@ -0,0 +1,10 @@
+Command line disk usage tool.
+
+Features
+ -bargraph with disk and inode usage.
+ -background: inodes, foreground: disks.
+ -grouping of filesystems.
+ -separate coloring of /, /boot and /mnt for easy spotting.
+ -log2ram filesystem displayed last for easy spotting of log drive usage
+ on Raspberry Pi.
+ -display of detailed inode usage (similar to df -i).
diff --git a/dusage/Makefile b/dusage/Makefile
new file mode 100644
index 0000000000..a65ef3fb3e
--- /dev/null
+++ b/dusage/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME= dusage-0.1.1
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mihaigalos/}
+GITHUB_PROJECT= dusage
+GITHUB_TAG= f9e362c180465825645cffc9f506030661d5a467
+
+MAINTAINER= pin%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mihaigalos/dusage/
+COMMENT= Command line disk usage information tool
+LICENSE= mit
+
+.include "cargo-depends.mk"
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/dusage ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dusage/PLIST b/dusage/PLIST
new file mode 100644
index 0000000000..68a4211b63
--- /dev/null
+++ b/dusage/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/dusage
diff --git a/dusage/cargo-depends.mk b/dusage/cargo-depends.mk
new file mode 100644
index 0000000000..6097bf398b
--- /dev/null
+++ b/dusage/cargo-depends.mk
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+= atty-0.2.14
+CARGO_CRATE_DEPENDS+= autocfg-1.0.1
+CARGO_CRATE_DEPENDS+= bitflags-1.3.2
+CARGO_CRATE_DEPENDS+= byte-unit-4.0.13
+CARGO_CRATE_DEPENDS+= cc-1.0.72
+CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+= clap-2.34.0
+CARGO_CRATE_DEPENDS+= colored-2.0.0
+CARGO_CRATE_DEPENDS+= hermit-abi-0.1.19
+CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+= libc-0.2.113
+CARGO_CRATE_DEPENDS+= memoffset-0.6.5
+CARGO_CRATE_DEPENDS+= nix-0.23.1
+CARGO_CRATE_DEPENDS+= strsim-0.8.0
+CARGO_CRATE_DEPENDS+= textwrap-0.11.0
+CARGO_CRATE_DEPENDS+= unicode-width-0.1.9
+CARGO_CRATE_DEPENDS+= utf8-width-0.1.5
+CARGO_CRATE_DEPENDS+= vec_map-0.8.2
+CARGO_CRATE_DEPENDS+= winapi-0.3.9
+CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
diff --git a/dusage/distinfo b/dusage/distinfo
new file mode 100644
index 0000000000..b5f1d7fc07
--- /dev/null
+++ b/dusage/distinfo
@@ -0,0 +1,71 @@
+$NetBSD$
+
+BLAKE2s (ansi_term-0.12.1.crate) = 9d7961fca7b2680f17660048cf2d6171faa0def807ea66b5b5b9110f0623a12f
+SHA512 (ansi_term-0.12.1.crate) = b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671
+Size (ansi_term-0.12.1.crate) = 24838 bytes
+BLAKE2s (atty-0.2.14.crate) = 8a58145c7b668aa6caf8d749e37857ff202211e1bfa9e441f130ff02feb68405
+SHA512 (atty-0.2.14.crate) = d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
+Size (atty-0.2.14.crate) = 5470 bytes
+BLAKE2s (autocfg-1.0.1.crate) = 5ed71afef2e7ff6595833cf457df844e3f461a1b7a8f0d541b1b2c5c5e6394a0
+SHA512 (autocfg-1.0.1.crate) = 630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b
+Size (autocfg-1.0.1.crate) = 12908 bytes
+BLAKE2s (bitflags-1.3.2.crate) = e3a3b45a4403823875a03dbda329ca16068fa8f847cef81987c6b780101f2415
+SHA512 (bitflags-1.3.2.crate) = 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
+Size (bitflags-1.3.2.crate) = 23021 bytes
+BLAKE2s (byte-unit-4.0.13.crate) = bc234e724e2bf811c82c7d37bd395c4618cfc2438cd6d7671850b8dd3711db24
+SHA512 (byte-unit-4.0.13.crate) = d100207e25d2a6e7a1677ba13703518bf157aef3a641020f9b569546fcf7d0405d73b8a9aaedcba812584537c0ee5d94a048e04673f49458626bd63274afe197
+Size (byte-unit-4.0.13.crate) = 10846 bytes
+BLAKE2s (cc-1.0.72.crate) = d7c813ce55ba3261f533abd6ff1428db11b296901bef18e733f859452d7705f9
+SHA512 (cc-1.0.72.crate) = e9a5b283b2a1fee1030009068c1f87291ec1dab7584a0892f27cc7e523c8fdfd5d986281d9aec1a00af706af1e61d7e64c245c74be7b39c8c022ae2d4f87de8d
+Size (cc-1.0.72.crate) = 57495 bytes
+BLAKE2s (cfg-if-1.0.0.crate) = fbb02f63b24cc224b045ff2aac3aefd0a77cf7b578df4d5f9da9517a59aaf9bb
+SHA512 (cfg-if-1.0.0.crate) = 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
+Size (cfg-if-1.0.0.crate) = 7934 bytes
+BLAKE2s (clap-2.34.0.crate) = 91ff2fb5743d3909808214f12ff8daee40fe089653558e9d390acc6ee56956c1
+SHA512 (clap-2.34.0.crate) = c648a761b9996a7e7464a538bb53621bae22090b846a42c3b729beca3363958ae67e3da9f93f58b10a10e043cadf7ff930388680d168646178c2824177832db8
+Size (clap-2.34.0.crate) = 202210 bytes
+BLAKE2s (colored-2.0.0.crate) = d662d4cff2fde6538fe02524b0e763f1928411c0dfb593c90c8dd6a6616389ec
+SHA512 (colored-2.0.0.crate) = c9ee830c1e8a32372ab8c7ce569701deaa6533fa369fc1b4c04bed57b1e686ed775fc76c3d9815ad21ee69cfc7c30d645abcbacad39081c7e37ff83ebb6d9e8a
+Size (colored-2.0.0.crate) = 21619 bytes
+BLAKE2s (dusage-0.1.1-f9e362c180465825645cffc9f506030661d5a467.tar.gz) = 1de2caef3bbc321ef6aedc4ab9fa9625c2d4e47f093f580cafc1e4fee6fb844c
+SHA512 (dusage-0.1.1-f9e362c180465825645cffc9f506030661d5a467.tar.gz) = d9b451a6855e5b25d73a25e852314381193a2fb9517ac6eeb97184956d781af8882e242bdb83f5017375f767d1518409254551a384da25aaa9067da69a84c64f
+Size (dusage-0.1.1-f9e362c180465825645cffc9f506030661d5a467.tar.gz) = 9375 bytes
+BLAKE2s (hermit-abi-0.1.19.crate) = c731a42a9056a75a3ba26b5ab02c7c60c1fa2f21635d4152de66dc2eb407e097
+SHA512 (hermit-abi-0.1.19.crate) = 1c877fcd562b15d2de9c151fd6c5f3ea4bf48abcb799e6139a180ffad5d64b632f0000d5707bbd92ff23a0e5f349157b9e0f5be8b50f03680b0fa47315dbb78a
+Size (hermit-abi-0.1.19.crate) = 9979 bytes
+BLAKE2s (lazy_static-1.4.0.crate) = 0d5f7c2bcfe70610bc27bd6b339ea3e4ca3b7014149714db3a0c199ac6f07cd1
+SHA512 (lazy_static-1.4.0.crate) = e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
+Size (lazy_static-1.4.0.crate) = 10443 bytes
+BLAKE2s (libc-0.2.113.crate) = e3f7a59d3dffa61f2c723b09091c769fa14860c6be6f097aa31ac5d737ca2e18
+SHA512 (libc-0.2.113.crate) = 9b3740ae39ce8813b2add0f208764a0b91f1132d5ef28579ef26c1817fdf065746ff909eced162d920fd1d91d63d41a9963768e48f4e20dea4ec246bb0240181
+Size (libc-0.2.113.crate) = 566175 bytes
+BLAKE2s (memoffset-0.6.5.crate) = 6d7634c95e5cdff4cf8017e0a0c26c7c33e7ac540bb37d2bc1812c874471f0a1
+SHA512 (memoffset-0.6.5.crate) = 11bdd9185b99dfee8e659e051b09ee301c7142a372a8117864745a5085c015436d2efbb1478192886f09cbc562529e209d2e3325d94938a64bc75b1d91d2bf3f
+Size (memoffset-0.6.5.crate) = 7686 bytes
+BLAKE2s (nix-0.23.1.crate) = f2cc2a3e893a47f30d1623cd826559065d811604dcf64ca337299adfdc8a8f7b
+SHA512 (nix-0.23.1.crate) = 23431030b094ebb027200d8cdc05d0ac1730fbb86ee088795a2314f1ba19b76ed5f24373c1aba8125575bf69f8e7d4d9c08344b9cb49a4ae3d8f7987b5f4e6b6
+Size (nix-0.23.1.crate) = 240531 bytes
+BLAKE2s (strsim-0.8.0.crate) = 4c57b0c1505fd1e6a962cf721ee33473997ba55c8638e53c92efc6c9cf7fcc91
+SHA512 (strsim-0.8.0.crate) = 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34
+Size (strsim-0.8.0.crate) = 9309 bytes
+BLAKE2s (textwrap-0.11.0.crate) = aac1ca89e048f3559b66b2653332c7a880ffdd9d7e557c097334ed50099ae7af
+SHA512 (textwrap-0.11.0.crate) = f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a
+Size (textwrap-0.11.0.crate) = 17322 bytes
+BLAKE2s (unicode-width-0.1.9.crate) = 2c6be29baaa9f1c7b48cc6251da5aff0f9ee755d8ff1cc058dd0c084643e546c
+SHA512 (unicode-width-0.1.9.crate) = 0f5ec46c57e3b5e50cb8430c89db8d9c129e80ca11a9c398b5312bfe95001e19ca3efbfeb01c3ac09c4ce7e26c6ee1f352f7e114ecef78cefd68c54d2d50f5f4
+Size (unicode-width-0.1.9.crate) = 16745 bytes
+BLAKE2s (utf8-width-0.1.5.crate) = c3ebe2621b1d0d6e71735c7f322267cbbdbfad68a02e8918d7de26a573965126
+SHA512 (utf8-width-0.1.5.crate) = 9491b21ae7d516afc6015ce06fba94ba2916c4811bdb58b91b1d531603e978985473651abd56777285c58b8b0c7ed650a68fdab20423b623e0140aeab1bf3f6e
+Size (utf8-width-0.1.5.crate) = 2941 bytes
+BLAKE2s (vec_map-0.8.2.crate) = a40b5b21f51fcfad8f2fa810b929af3cb20cd710bec9216e8750e973dc9ff59a
+SHA512 (vec_map-0.8.2.crate) = 4f1ef59bc2c437e79f1f84fe021bce5aa8ccd581f500f3d5776913d5f17d45b03ccee64f5bd03d47656318cfc9344a1f4311079d471fa409a8e4e94c143973f9
+Size (vec_map-0.8.2.crate) = 14466 bytes
+BLAKE2s (winapi-0.3.9.crate) = 295083bd8c53c7decc4187da324a1284ad05cbccc9198d31facb6a42e34867ce
+SHA512 (winapi-0.3.9.crate) = ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
+Size (winapi-0.3.9.crate) = 1200382 bytes
+BLAKE2s (winapi-i686-pc-windows-gnu-0.4.0.crate) = 3ef20321fea464773f9e73ac16ada3a0e8101a8c3c0ebab763049f2ab269eb1a
+SHA512 (winapi-i686-pc-windows-gnu-0.4.0.crate) = a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
+Size (winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 bytes
+BLAKE2s (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 85ecec73b9874f5f443e29d99f93a11889e74ddf5a4bfeb929e2355a7cee32f1
+SHA512 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
+Size (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 bytes
Home |
Main Index |
Thread Index |
Old Index