From nobody Fri Apr 15 20:10:38 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 570AE2DFBDA; Fri, 15 Apr 2022 20:10:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kg6rt1xTnz4q6L; Fri, 15 Apr 2022 20:10:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650053438; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VK7AAFTboI60D0siAVpdVVv2JXAz6qaBsgfD33a/foY=; b=J1no0AMvkqz6dFTjIY9oNfv3bcGANV4cseK+do7oHozjnqO+DDdrJxMMQOdFI1BomK9bjq EK1RYpdIjos4nmlerwFiymym1grGvft5L+iRQWLFlaVFLVmHFiDD1UlztC9y9D+m7tVRli Trnv+gE3SVJ3rdRDZ00XEp4EV82eGWTTdw8GH2tzOx0bubK2mNVShgLqqAHLMQ773t2foG InltKxtzrhUv5yDewzhQUAKp4o065uKBjQRZ4+0bewEMOsat5MAsrNtadUuaX76IuBzpWD pmrtBt6pJUGRULsNm1UPS1WmUqMXPyFv6iYFJrQeVKAaZkNupPcaTYQmBmcT3A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 23FE81BA3B; Fri, 15 Apr 2022 20:10:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23FKAc6A034422; Fri, 15 Apr 2022 20:10:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23FKAc06034421; Fri, 15 Apr 2022 20:10:38 GMT (envelope-from git) Date: Fri, 15 Apr 2022 20:10:38 GMT Message-Id: <202204152010.23FKAc06034421@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Neel Chauhan Subject: git: acb03a3c0498 - main - sysutils/diskus: new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: acb03a3c0498a87456e8715d3dcad908e8d7fc3c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650053438; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VK7AAFTboI60D0siAVpdVVv2JXAz6qaBsgfD33a/foY=; b=LTzC1EezOpop8keDhuKYmkgeE5yJFupdmIAL5Hi6ZX4cAp+0MVEt62+tsorjCUkHcaTwak 07pCxsBuKidiQtWPpetX1KgArN+qU/AJOZVZgYgN0DNtzCLqWb2A1sSnVjHpaf43cFnwH0 ceaAU3ZbRo+Yq3XGtdKm8vdmG+rv14RfnqUo5jUXX/3BlbkOtR7+Cc1Jgdd8qJ6B7XmJhi xWwqZN1LPcUhbZY8dS+4sJe3o0itP1oB3gu+XGfxrGvybs1CEgJ/X8rQuS1/+lWJA5SekW j5S8zeQ2H705lCaTVqtKvdVqEYUb+SamuOMFDHJ7dvcMJt1Anwj8a3kC7stRhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650053438; a=rsa-sha256; cv=none; b=ngziMymjZfPWe8vP1CAsvLfBPoCHwmHC+/VXg80MKwf6g8JSdSa/YqEcsfS/seh3j6O3O3 h4ibW0SuKilUA7KVXCnzG+JZwidYEr5an7aBGVsW7KZWddc+qDIrBNIKXo9/f2x4GnKtCP 1T4PBj1Wsjb2vfJl0IdShN5+ZC4CnsvrY6FRYMJN3BHF5Bu0qM0toBNoIOP7lk8mHNkf59 NMZcRQvTqdcr9YX5WmTQoMZpsfJo4xgS3YNO5ofhyiwTqwsSZA1V2maQu14nQ9l/u6lb/D nTR9vxfNVy1EqolFYqR5J0aGm5+mV8IbyqvmagGZysXcDTk051bxRJHRogaUrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=acb03a3c0498a87456e8715d3dcad908e8d7fc3c commit acb03a3c0498a87456e8715d3dcad908e8d7fc3c Author: Mostly BSD AuthorDate: 2022-03-21 14:49:27 +0000 Commit: Neel Chauhan CommitDate: 2022-04-15 20:09:59 +0000 sysutils/diskus: new port Changes: https://github.com/sharkdp/diskus/ PR: 262704 --- sysutils/Makefile | 1 + sysutils/diskus/Makefile | 70 ++++++++++++++++++++++++++++++++++++++++ sysutils/diskus/distinfo | 81 +++++++++++++++++++++++++++++++++++++++++++++++ sysutils/diskus/pkg-descr | 8 +++++ 4 files changed, 160 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 63f9f925839f..196f27551ce7 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -273,6 +273,7 @@ SUBDIR += diskonaut SUBDIR += diskscrub SUBDIR += disktype + SUBDIR += diskus SUBDIR += dmg2img SUBDIR += dmidecode SUBDIR += dnf diff --git a/sysutils/diskus/Makefile b/sysutils/diskus/Makefile new file mode 100644 index 000000000000..c7a13d37bc3e --- /dev/null +++ b/sysutils/diskus/Makefile @@ -0,0 +1,70 @@ +PORTNAME= diskus +DISTVERSIONPREFIX= v +DISTVERSION= 0.7.0 +CATEGORIES= sysutils + +MAINTAINER= sec.research.2005@gmail.com +COMMENT= Mminimal, fast alternative to 'du -sh' + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE-MIT + +USES= cargo +USE_GITHUB= yes +GH_ACCOUNT= sharkdp + +CARGO_CRATES= ansi_term-0.11.0 \ + arrayvec-0.4.12 \ + atty-0.2.14 \ + autocfg-1.0.1 \ + bitflags-1.3.2 \ + cfg-if-1.0.0 \ + clap-2.33.3 \ + crossbeam-channel-0.5.1 \ + crossbeam-deque-0.8.1 \ + crossbeam-epoch-0.9.5 \ + crossbeam-utils-0.8.5 \ + either-1.6.1 \ + fuchsia-cprng-0.1.1 \ + hermit-abi-0.1.19 \ + humansize-1.1.1 \ + itoa-0.4.8 \ + lazy_static-1.4.0 \ + libc-0.2.107 \ + memoffset-0.6.4 \ + nodrop-0.1.14 \ + num-format-0.4.0 \ + num_cpus-1.13.0 \ + rand-0.4.6 \ + rand_core-0.3.1 \ + rand_core-0.4.2 \ + rayon-1.5.1 \ + rayon-core-1.9.1 \ + rdrand-0.4.0 \ + remove_dir_all-0.5.3 \ + scopeguard-1.1.0 \ + strsim-0.8.0 \ + tempdir-0.3.7 \ + term_size-0.3.2 \ + textwrap-0.11.0 \ + unicode-width-0.1.9 \ + vec_map-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/diskus \ + man/man1/${PORTNAME}.1.gz +PORTDOCS= *.md +OPTIONS_DEFINE= DOCS + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/diskus + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1 + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) + +.include diff --git a/sysutils/diskus/distinfo b/sysutils/diskus/distinfo new file mode 100644 index 000000000000..32b30c499a20 --- /dev/null +++ b/sysutils/diskus/distinfo @@ -0,0 +1,81 @@ +TIMESTAMP = 1647612987 +SHA256 (rust/crates/ansi_term-0.11.0.crate) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b +SIZE (rust/crates/ansi_term-0.11.0.crate) = 17087 +SHA256 (rust/crates/arrayvec-0.4.12.crate) = cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9 +SIZE (rust/crates/arrayvec-0.4.12.crate) = 26551 +SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 +SIZE (rust/crates/atty-0.2.14.crate) = 5470 +SHA256 (rust/crates/autocfg-1.0.1.crate) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a +SIZE (rust/crates/autocfg-1.0.1.crate) = 12908 +SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a +SIZE (rust/crates/bitflags-1.3.2.crate) = 23021 +SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd +SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 +SHA256 (rust/crates/clap-2.33.3.crate) = 37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002 +SIZE (rust/crates/clap-2.33.3.crate) = 201925 +SHA256 (rust/crates/crossbeam-channel-0.5.1.crate) = 06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4 +SIZE (rust/crates/crossbeam-channel-0.5.1.crate) = 86919 +SHA256 (rust/crates/crossbeam-deque-0.8.1.crate) = 6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e +SIZE (rust/crates/crossbeam-deque-0.8.1.crate) = 20852 +SHA256 (rust/crates/crossbeam-epoch-0.9.5.crate) = 4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd +SIZE (rust/crates/crossbeam-epoch-0.9.5.crate) = 43883 +SHA256 (rust/crates/crossbeam-utils-0.8.5.crate) = d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db +SIZE (rust/crates/crossbeam-utils-0.8.5.crate) = 38414 +SHA256 (rust/crates/either-1.6.1.crate) = e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457 +SIZE (rust/crates/either-1.6.1.crate) = 13641 +SHA256 (rust/crates/fuchsia-cprng-0.1.1.crate) = a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba +SIZE (rust/crates/fuchsia-cprng-0.1.1.crate) = 2950 +SHA256 (rust/crates/hermit-abi-0.1.19.crate) = 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33 +SIZE (rust/crates/hermit-abi-0.1.19.crate) = 9979 +SHA256 (rust/crates/humansize-1.1.1.crate) = 02296996cb8796d7c6e3bc2d9211b7802812d36999a51bb754123ead7d37d026 +SIZE (rust/crates/humansize-1.1.1.crate) = 9131 +SHA256 (rust/crates/itoa-0.4.8.crate) = b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4 +SIZE (rust/crates/itoa-0.4.8.crate) = 11926 +SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 +SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443 +SHA256 (rust/crates/libc-0.2.107.crate) = fbe5e23404da5b4f555ef85ebed98fb4083e55a00c317800bc2a50ede9f3d219 +SIZE (rust/crates/libc-0.2.107.crate) = 554639 +SHA256 (rust/crates/memoffset-0.6.4.crate) = 59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9 +SIZE (rust/crates/memoffset-0.6.4.crate) = 7664 +SHA256 (rust/crates/nodrop-0.1.14.crate) = 72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb +SIZE (rust/crates/nodrop-0.1.14.crate) = 7667 +SHA256 (rust/crates/num-format-0.4.0.crate) = bafe4179722c2894288ee77a9f044f02811c86af699344c498b0840c698a2465 +SIZE (rust/crates/num-format-0.4.0.crate) = 59791 +SHA256 (rust/crates/num_cpus-1.13.0.crate) = 05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3 +SIZE (rust/crates/num_cpus-1.13.0.crate) = 14704 +SHA256 (rust/crates/rand-0.4.6.crate) = 552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293 +SIZE (rust/crates/rand-0.4.6.crate) = 76401 +SHA256 (rust/crates/rand_core-0.3.1.crate) = 7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b +SIZE (rust/crates/rand_core-0.3.1.crate) = 15483 +SHA256 (rust/crates/rand_core-0.4.2.crate) = 9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc +SIZE (rust/crates/rand_core-0.4.2.crate) = 20243 +SHA256 (rust/crates/rayon-1.5.1.crate) = c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90 +SIZE (rust/crates/rayon-1.5.1.crate) = 160424 +SHA256 (rust/crates/rayon-core-1.9.1.crate) = d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e +SIZE (rust/crates/rayon-core-1.9.1.crate) = 64961 +SHA256 (rust/crates/rdrand-0.4.0.crate) = 678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2 +SIZE (rust/crates/rdrand-0.4.0.crate) = 6456 +SHA256 (rust/crates/remove_dir_all-0.5.3.crate) = 3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7 +SIZE (rust/crates/remove_dir_all-0.5.3.crate) = 9184 +SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd +SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470 +SHA256 (rust/crates/strsim-0.8.0.crate) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a +SIZE (rust/crates/strsim-0.8.0.crate) = 9309 +SHA256 (rust/crates/tempdir-0.3.7.crate) = 15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8 +SIZE (rust/crates/tempdir-0.3.7.crate) = 11468 +SHA256 (rust/crates/term_size-0.3.2.crate) = 1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9 +SIZE (rust/crates/term_size-0.3.2.crate) = 10917 +SHA256 (rust/crates/textwrap-0.11.0.crate) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060 +SIZE (rust/crates/textwrap-0.11.0.crate) = 17322 +SHA256 (rust/crates/unicode-width-0.1.9.crate) = 3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973 +SIZE (rust/crates/unicode-width-0.1.9.crate) = 16745 +SHA256 (rust/crates/vec_map-0.8.2.crate) = f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191 +SIZE (rust/crates/vec_map-0.8.2.crate) = 14466 +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 (sharkdp-diskus-v0.7.0_GH0.tar.gz) = 64b1b2e397ef4de81ea20274f98ec418b0fe19b025860e33beaba5494d3b8bd1 +SIZE (sharkdp-diskus-v0.7.0_GH0.tar.gz) = 17046 diff --git a/sysutils/diskus/pkg-descr b/sysutils/diskus/pkg-descr new file mode 100644 index 000000000000..dc7a5bcc6902 --- /dev/null +++ b/sysutils/diskus/pkg-descr @@ -0,0 +1,8 @@ +Minimal, fast alternative to 'du -sh' + +Simple program that computes the total size of the current directory. +It is a parallelized version of du -sh. On my 8-core laptop, +it is about ten times faster than du with a cold disk cache and +more than three times faster with a warm disk cache. + +WWW: https://github.com/sharkdp/diskus/