Date: Sun, 1 Jan 2023 09:42:27 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d922254545a4 - main - misc/coloursum: New port: Colourise your checksum output Message-ID: <202301010942.3019gRt8099118@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d922254545a42d9771b50385c5d07b735be94beb commit d922254545a42d9771b50385c5d07b735be94beb Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-01 07:57:40 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-01 09:42:21 +0000 misc/coloursum: New port: Colourise your checksum output --- misc/Makefile | 1 + misc/coloursum/Makefile | 71 +++++++++++++++++++++++++++++++++ misc/coloursum/distinfo | 101 +++++++++++++++++++++++++++++++++++++++++++++++ misc/coloursum/pkg-descr | 6 +++ 4 files changed, 179 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index a3744390b899..93d1bd35b280 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -44,6 +44,7 @@ SUBDIR += cloc SUBDIR += clpbar SUBDIR += colortail + SUBDIR += coloursum SUBDIR += colwide SUBDIR += compat.el SUBDIR += compat10x diff --git a/misc/coloursum/Makefile b/misc/coloursum/Makefile new file mode 100644 index 000000000000..5a44dd0f7c5a --- /dev/null +++ b/misc/coloursum/Makefile @@ -0,0 +1,71 @@ +PORTNAME= coloursum +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.0 +CATEGORIES= misc + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Colourise your checksum output +WWW= https://github.com/ticky/coloursum + +LICENSE= MIT + +USES= cargo +USE_GITHUB= yes +GH_ACCOUNT= ticky + +CARGO_CRATES= ansi_term-0.11.0 \ + atty-0.2.11 \ + autocfg-0.1.2 \ + bitflags-1.0.4 \ + clap-2.32.0 \ + cloudabi-0.0.3 \ + ecoji-1.0.0 \ + either-1.5.1 \ + fuchsia-cprng-0.1.1 \ + heck-0.3.1 \ + indoc-0.3.3 \ + indoc-impl-0.3.3 \ + itertools-0.8.0 \ + libc-0.2.50 \ + phf-0.7.24 \ + phf_codegen-0.7.24 \ + phf_generator-0.7.24 \ + phf_shared-0.7.24 \ + proc-macro-hack-0.5.5 \ + proc-macro2-0.4.27 \ + quote-0.6.11 \ + rand-0.6.5 \ + rand_chacha-0.1.1 \ + rand_core-0.3.1 \ + rand_core-0.4.0 \ + rand_hc-0.1.0 \ + rand_isaac-0.1.1 \ + rand_jitter-0.1.3 \ + rand_os-0.1.3 \ + rand_pcg-0.1.2 \ + rand_xorshift-0.1.1 \ + rdrand-0.4.0 \ + redox_syscall-0.1.51 \ + redox_termios-0.1.1 \ + siphasher-0.2.3 \ + strsim-0.7.0 \ + structopt-0.2.15 \ + structopt-derive-0.2.15 \ + syn-0.15.29 \ + termion-1.5.1 \ + textwrap-0.10.0 \ + unicode-segmentation-1.2.1 \ + unicode-width-0.1.5 \ + unicode-xid-0.1.0 \ + unindent-0.1.3 \ + vec_map-0.8.1 \ + winapi-0.3.6 \ + 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/misc/coloursum/distinfo b/misc/coloursum/distinfo new file mode 100644 index 000000000000..4363da85a4a6 --- /dev/null +++ b/misc/coloursum/distinfo @@ -0,0 +1,101 @@ +TIMESTAMP = 1672559415 +SHA256 (rust/crates/ansi_term-0.11.0.crate) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b +SIZE (rust/crates/ansi_term-0.11.0.crate) = 17087 +SHA256 (rust/crates/atty-0.2.11.crate) = 9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652 +SIZE (rust/crates/atty-0.2.11.crate) = 5916 +SHA256 (rust/crates/autocfg-0.1.2.crate) = a6d640bee2da49f60a4068a7fae53acde8982514ab7bae8b8cea9e88cbcfd799 +SIZE (rust/crates/autocfg-0.1.2.crate) = 10444 +SHA256 (rust/crates/bitflags-1.0.4.crate) = 228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12 +SIZE (rust/crates/bitflags-1.0.4.crate) = 15282 +SHA256 (rust/crates/clap-2.32.0.crate) = b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e +SIZE (rust/crates/clap-2.32.0.crate) = 196073 +SHA256 (rust/crates/cloudabi-0.0.3.crate) = ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f +SIZE (rust/crates/cloudabi-0.0.3.crate) = 22156 +SHA256 (rust/crates/ecoji-1.0.0.crate) = b445d0e84889cc97ea32e3c129d6f67022d2e4b13a46bd295b955db5d212d00b +SIZE (rust/crates/ecoji-1.0.0.crate) = 17274 +SHA256 (rust/crates/either-1.5.1.crate) = c67353c641dc847124ea1902d69bd753dee9bb3beff9aa3662ecf86c971d1fac +SIZE (rust/crates/either-1.5.1.crate) = 11532 +SHA256 (rust/crates/fuchsia-cprng-0.1.1.crate) = a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba +SIZE (rust/crates/fuchsia-cprng-0.1.1.crate) = 2950 +SHA256 (rust/crates/heck-0.3.1.crate) = 20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205 +SIZE (rust/crates/heck-0.3.1.crate) = 54666 +SHA256 (rust/crates/indoc-0.3.3.crate) = a1f59f228c76fda6ecd8dab79683039a7054c748587f682a911094f473647bd6 +SIZE (rust/crates/indoc-0.3.3.crate) = 7313 +SHA256 (rust/crates/indoc-impl-0.3.3.crate) = 63f070ef080db3601c1a0ecc75c7bb35104cc0ce2d7c4e049952a96a61d8933b +SIZE (rust/crates/indoc-impl-0.3.3.crate) = 7121 +SHA256 (rust/crates/itertools-0.8.0.crate) = 5b8467d9c1cebe26feb08c640139247fac215782d35371ade9a2136ed6085358 +SIZE (rust/crates/itertools-0.8.0.crate) = 78917 +SHA256 (rust/crates/libc-0.2.50.crate) = aab692d7759f5cd8c859e169db98ae5b52c924add2af5fbbca11d12fefb567c1 +SIZE (rust/crates/libc-0.2.50.crate) = 392277 +SHA256 (rust/crates/phf-0.7.24.crate) = b3da44b85f8e8dfaec21adae67f95d93244b2ecf6ad2a692320598dcc8e6dd18 +SIZE (rust/crates/phf-0.7.24.crate) = 4318 +SHA256 (rust/crates/phf_codegen-0.7.24.crate) = b03e85129e324ad4166b06b2c7491ae27fe3ec353af72e72cd1654c7225d517e +SIZE (rust/crates/phf_codegen-0.7.24.crate) = 2946 +SHA256 (rust/crates/phf_generator-0.7.24.crate) = 09364cc93c159b8b06b1f4dd8a4398984503483891b0c26b867cf431fb132662 +SIZE (rust/crates/phf_generator-0.7.24.crate) = 2261 +SHA256 (rust/crates/phf_shared-0.7.24.crate) = 234f71a15de2288bcb7e3b6515828d22af7ec8598ee6d24c3b526fa0a80b67a0 +SIZE (rust/crates/phf_shared-0.7.24.crate) = 2170 +SHA256 (rust/crates/proc-macro-hack-0.5.5.crate) = 6a9bed9ebc40cf53e3a76d7486c54d05002eae6485b2711ab9104476fb2eb8bc +SIZE (rust/crates/proc-macro-hack-0.5.5.crate) = 10254 +SHA256 (rust/crates/proc-macro2-0.4.27.crate) = 4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915 +SIZE (rust/crates/proc-macro2-0.4.27.crate) = 34098 +SHA256 (rust/crates/quote-0.6.11.crate) = cdd8e04bd9c52e0342b406469d494fcb033be4bdbe5c606016defbb1681411e1 +SIZE (rust/crates/quote-0.6.11.crate) = 17283 +SHA256 (rust/crates/rand-0.6.5.crate) = 6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca +SIZE (rust/crates/rand-0.6.5.crate) = 104814 +SHA256 (rust/crates/rand_chacha-0.1.1.crate) = 556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef +SIZE (rust/crates/rand_chacha-0.1.1.crate) = 11703 +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.0.crate) = d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0 +SIZE (rust/crates/rand_core-0.4.0.crate) = 20326 +SHA256 (rust/crates/rand_hc-0.1.0.crate) = 7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4 +SIZE (rust/crates/rand_hc-0.1.0.crate) = 11644 +SHA256 (rust/crates/rand_isaac-0.1.1.crate) = ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08 +SIZE (rust/crates/rand_isaac-0.1.1.crate) = 16020 +SHA256 (rust/crates/rand_jitter-0.1.3.crate) = 7b9ea758282efe12823e0d952ddb269d2e1897227e464919a554f2a03ef1b832 +SIZE (rust/crates/rand_jitter-0.1.3.crate) = 18341 +SHA256 (rust/crates/rand_os-0.1.3.crate) = 7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071 +SIZE (rust/crates/rand_os-0.1.3.crate) = 18965 +SHA256 (rust/crates/rand_pcg-0.1.2.crate) = abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44 +SIZE (rust/crates/rand_pcg-0.1.2.crate) = 10844 +SHA256 (rust/crates/rand_xorshift-0.1.1.crate) = cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c +SIZE (rust/crates/rand_xorshift-0.1.1.crate) = 8997 +SHA256 (rust/crates/rdrand-0.4.0.crate) = 678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2 +SIZE (rust/crates/rdrand-0.4.0.crate) = 6456 +SHA256 (rust/crates/redox_syscall-0.1.51.crate) = 423e376fffca3dfa06c9e9790a9ccd282fafb3cc6e6397d01dbf64f9bacc6b85 +SIZE (rust/crates/redox_syscall-0.1.51.crate) = 15646 +SHA256 (rust/crates/redox_termios-0.1.1.crate) = 7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76 +SIZE (rust/crates/redox_termios-0.1.1.crate) = 3227 +SHA256 (rust/crates/siphasher-0.2.3.crate) = 0b8de496cf83d4ed58b6be86c3a275b8602f6ffe98d3024a869e124147a9a3ac +SIZE (rust/crates/siphasher-0.2.3.crate) = 8717 +SHA256 (rust/crates/strsim-0.7.0.crate) = bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550 +SIZE (rust/crates/strsim-0.7.0.crate) = 8435 +SHA256 (rust/crates/structopt-0.2.15.crate) = 3d0760c312538987d363c36c42339b55f5ee176ea8808bbe4543d484a291c8d1 +SIZE (rust/crates/structopt-0.2.15.crate) = 25564 +SHA256 (rust/crates/structopt-derive-0.2.15.crate) = 528aeb7351d042e6ffbc2a6fb76a86f9b622fdf7c25932798e7a82cb03bc94c6 +SIZE (rust/crates/structopt-derive-0.2.15.crate) = 12486 +SHA256 (rust/crates/syn-0.15.29.crate) = 1825685f977249735d510a242a6727b46efe914bb67e38d30c071b1b72b1d5c2 +SIZE (rust/crates/syn-0.15.29.crate) = 146203 +SHA256 (rust/crates/termion-1.5.1.crate) = 689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096 +SIZE (rust/crates/termion-1.5.1.crate) = 20659 +SHA256 (rust/crates/textwrap-0.10.0.crate) = 307686869c93e71f94da64286f9a9524c0f308a9e1c87a583de8e9c9039ad3f6 +SIZE (rust/crates/textwrap-0.10.0.crate) = 15986 +SHA256 (rust/crates/unicode-segmentation-1.2.1.crate) = aa6024fc12ddfd1c6dbc14a80fa2324d4568849869b779f6bd37e5e4c03344d1 +SIZE (rust/crates/unicode-segmentation-1.2.1.crate) = 68223 +SHA256 (rust/crates/unicode-width-0.1.5.crate) = 882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526 +SIZE (rust/crates/unicode-width-0.1.5.crate) = 15761 +SHA256 (rust/crates/unicode-xid-0.1.0.crate) = fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc +SIZE (rust/crates/unicode-xid-0.1.0.crate) = 16000 +SHA256 (rust/crates/unindent-0.1.3.crate) = 834b4441326c660336850c5c0926cc20548e848967a5f57bc20c2b741c8d41f4 +SIZE (rust/crates/unindent-0.1.3.crate) = 7050 +SHA256 (rust/crates/vec_map-0.8.1.crate) = 05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a +SIZE (rust/crates/vec_map-0.8.1.crate) = 14959 +SHA256 (rust/crates/winapi-0.3.6.crate) = 92c1eb33641e276cfa214a0522acad57be5c56b10cb348b3c5117db75f3ac4b0 +SIZE (rust/crates/winapi-0.3.6.crate) = 1029391 +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 (ticky-coloursum-v0.2.0_GH0.tar.gz) = 12b0e68e3917b938f958d50103b9b6e9671705ea1327f7ad6c8e910b00c8bd43 +SIZE (ticky-coloursum-v0.2.0_GH0.tar.gz) = 9718 diff --git a/misc/coloursum/pkg-descr b/misc/coloursum/pkg-descr new file mode 100644 index 000000000000..48ca67cad8aa --- /dev/null +++ b/misc/coloursum/pkg-descr @@ -0,0 +1,6 @@ +This is a utility into which you can pipe the output from various checksum +generators, to get coloured output. + +It understands both the BSD "tag" form, as well as the GNU Coreutils/Perl +shasum(1) form of checksums, and has been tested with the output from +macOS' md5 and shasum, as well as GNU md5sum and sha256sum.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301010942.3019gRt8099118>