pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors/bred



Module Name:    pkgsrc
Committed By:   pin
Date:           Sun Oct  9 16:12:17 UTC 2022

Added Files:
        pkgsrc/editors/bred: DESCR Makefile PLIST cargo-depends.mk distinfo

Log Message:
editors/bred: import package

A simple binary file reader that dumps the output to stdout.

To use, simply input a file (stdin support coming soon), and add any desired
options.
 --length option changes how many characters to print (not including any
   formatting like offsets and borders).
 --chunk option changes how large the buffer array should be; the bigger it is,
   the faster but uses more memory.
 --hex option simply prints the file in hexadecimal.
 --color option uses colors to differentiate between letters (\0 are gray,
   others indicate how large the character code is, and orange is non-ascii
   characters). Note, make sure you use a terminal emulator that supports ANSI
   256-color mode.
 --space option replaces all the spaces (0x20) with a green-colored _.
   This also affects the hex output.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/bred/DESCR pkgsrc/editors/bred/Makefile \
    pkgsrc/editors/bred/PLIST pkgsrc/editors/bred/cargo-depends.mk \
    pkgsrc/editors/bred/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/editors/bred/DESCR
diff -u /dev/null pkgsrc/editors/bred/DESCR:1.1
--- /dev/null   Sun Oct  9 16:12:17 2022
+++ pkgsrc/editors/bred/DESCR   Sun Oct  9 16:12:17 2022
@@ -0,0 +1,15 @@
+A simple binary file reader that dumps the output to stdout.
+
+To use, simply input a file (stdin support coming soon), and add any desired
+options.
+ --length option changes how many characters to print (not including any
+   formatting like offsets and borders).
+ --chunk option changes how large the buffer array should be; the bigger it is,
+   the faster but uses more memory.
+ --hex option simply prints the file in hexadecimal.
+ --color option uses colors to differentiate between letters (\0 are gray,
+   others indicate how large the character code is, and orange is non-ascii
+   characters). Note, make sure you use a terminal emulator that supports ANSI
+   256-color mode.
+ --space option replaces all the spaces (0x20) with a green-colored _.
+   This also affects the hex output.
Index: pkgsrc/editors/bred/Makefile
diff -u /dev/null pkgsrc/editors/bred/Makefile:1.1
--- /dev/null   Sun Oct  9 16:12:17 2022
+++ pkgsrc/editors/bred/Makefile        Sun Oct  9 16:12:17 2022
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2022/10/09 16:12:17 pin Exp $
+
+DISTNAME=      bred-0.2.2
+CATEGORIES=    editors
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=manorajesh/}
+GITHUB_TAG=    86810429b9e2d590b45d3d58b8863e2850d0e80f
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/manorajesh/bred/
+COMMENT=       Simple binary file reader
+LICENSE=       mit
+
+.include "cargo-depends.mk"
+
+INSTALLATION_DIRS=     bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/bred \
+               ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/editors/bred/PLIST
diff -u /dev/null pkgsrc/editors/bred/PLIST:1.1
--- /dev/null   Sun Oct  9 16:12:17 2022
+++ pkgsrc/editors/bred/PLIST   Sun Oct  9 16:12:17 2022
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/10/09 16:12:17 pin Exp $
+bin/bred
Index: pkgsrc/editors/bred/cargo-depends.mk
diff -u /dev/null pkgsrc/editors/bred/cargo-depends.mk:1.1
--- /dev/null   Sun Oct  9 16:12:17 2022
+++ pkgsrc/editors/bred/cargo-depends.mk        Sun Oct  9 16:12:17 2022
@@ -0,0 +1,25 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/10/09 16:12:17 pin Exp $
+
+CARGO_CRATE_DEPENDS+=  atty-0.2.14
+CARGO_CRATE_DEPENDS+=  bitflags-1.3.2
+CARGO_CRATE_DEPENDS+=  clap-4.0.10
+CARGO_CRATE_DEPENDS+=  clap_derive-4.0.10
+CARGO_CRATE_DEPENDS+=  clap_lex-0.3.0
+CARGO_CRATE_DEPENDS+=  heck-0.4.0
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.19
+CARGO_CRATE_DEPENDS+=  libc-0.2.134
+CARGO_CRATE_DEPENDS+=  once_cell-1.15.0
+CARGO_CRATE_DEPENDS+=  os_str_bytes-6.3.0
+CARGO_CRATE_DEPENDS+=  proc-macro-error-1.0.4
+CARGO_CRATE_DEPENDS+=  proc-macro-error-attr-1.0.4
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.46
+CARGO_CRATE_DEPENDS+=  quote-1.0.21
+CARGO_CRATE_DEPENDS+=  strsim-0.10.0
+CARGO_CRATE_DEPENDS+=  syn-1.0.102
+CARGO_CRATE_DEPENDS+=  termcolor-1.1.3
+CARGO_CRATE_DEPENDS+=  unicode-ident-1.0.4
+CARGO_CRATE_DEPENDS+=  version_check-0.9.4
+CARGO_CRATE_DEPENDS+=  winapi-0.3.9
+CARGO_CRATE_DEPENDS+=  winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+=  winapi-util-0.1.5
+CARGO_CRATE_DEPENDS+=  winapi-x86_64-pc-windows-gnu-0.4.0
Index: pkgsrc/editors/bred/distinfo
diff -u /dev/null pkgsrc/editors/bred/distinfo:1.1
--- /dev/null   Sun Oct  9 16:12:17 2022
+++ pkgsrc/editors/bred/distinfo        Sun Oct  9 16:12:17 2022
@@ -0,0 +1,74 @@
+$NetBSD: distinfo,v 1.1 2022/10/09 16:12:17 pin Exp $
+
+BLAKE2s (atty-0.2.14.crate) = 8a58145c7b668aa6caf8d749e37857ff202211e1bfa9e441f130ff02feb68405
+SHA512 (atty-0.2.14.crate) = d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
+Size (atty-0.2.14.crate) = 5470 bytes
+BLAKE2s (bitflags-1.3.2.crate) = e3a3b45a4403823875a03dbda329ca16068fa8f847cef81987c6b780101f2415
+SHA512 (bitflags-1.3.2.crate) = 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
+Size (bitflags-1.3.2.crate) = 23021 bytes
+BLAKE2s (bred-0.2.2-86810429b9e2d590b45d3d58b8863e2850d0e80f.tar.gz) = c2132c59fda93586863dddc8bd9a00ad34618d83fdc9103cf72c90efea2e711f
+SHA512 (bred-0.2.2-86810429b9e2d590b45d3d58b8863e2850d0e80f.tar.gz) = 96d63d1c9858f169a81d068ae7bc53629518bae6d668b7b93d378869e5a80683acab1bad880625625dd8137400cbd80905c1cd8accf5a05cde9993448c794e30
+Size (bred-0.2.2-86810429b9e2d590b45d3d58b8863e2850d0e80f.tar.gz) = 22124 bytes
+BLAKE2s (clap-4.0.10.crate) = dbd12e592115b476844aa7d35ac3a90e9b647870d2381158a9516b4a5b5759a9
+SHA512 (clap-4.0.10.crate) = 2a83f9eb0bd0d8b9d0f1221c5257846fd2c5bf780651d607d7b721678246b6af60ea8cd7063dd219dcf3c801ce19051a58fd63bd7ba20ff0195a08928be69870
+Size (clap-4.0.10.crate) = 202726 bytes
+BLAKE2s (clap_derive-4.0.10.crate) = 76403a5632c884ed969684ac65a5b12ae1766a09326ac27e9056c6f0b5e63f56
+SHA512 (clap_derive-4.0.10.crate) = 005def4e31573a13501f14a20ddbb6c89d36e81b8aac8990a388bc3d66dd7696ad5482802ed855fad2ac9f802afe91c25201828620bf2a898baa0de5dae6eb5c
+Size (clap_derive-4.0.10.crate) = 27243 bytes
+BLAKE2s (clap_lex-0.3.0.crate) = ac411bb59e5fd533a6005707abcdc90ec0c6f33f60a05c82b8880fde255c2554
+SHA512 (clap_lex-0.3.0.crate) = 5e601d540e46e527f6a2ea1959fa5aa035ad823008806f3a5adb4785f1928de4c9fe04e61680c64bcb87ed32b2e991951ec27c5cc5acdcfae51cdc61767ff100
+Size (clap_lex-0.3.0.crate) = 9671 bytes
+BLAKE2s (heck-0.4.0.crate) = 0bbfc0807fe42d68570dab10b6cdfeabd24e6c732caebcec1880c2b9efeb36b5
+SHA512 (heck-0.4.0.crate) = 33bdbf4ff9ecc4f4d74cf06590e056f4d96bf0d990d5381b9da5b65682b2495ed74e27b45419c2afa986c1f6200909d5175b137ae73ced5cc8ac869e4e1bce8f
+Size (heck-0.4.0.crate) = 11161 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 (libc-0.2.134.crate) = dc05d9449be0c1f94b656f2ec3ad4cae57ee00ad3dad9936d2b7a03272af65d2
+SHA512 (libc-0.2.134.crate) = fcc142061df7b363b2dacec5fb3c9a19e63addd8210678117f681b8e1b62e5784cb78067639df464f32e22c9ab4d0932bbe1c01cc992348cc0fad4a46cc7b1c3
+Size (libc-0.2.134.crate) = 603330 bytes
+BLAKE2s (once_cell-1.15.0.crate) = bb7a35ae1252f0ceeb7f7c8ff715940c986430728d4891dcf369ef493c93bed6
+SHA512 (once_cell-1.15.0.crate) = 934a7c3631e9ca4fa78d9577b6672ca0b2f926a8d6c3be9542b906c5968033446f98f76ae6f368a1a5b92ab9064c31a57d74ab6d2097108029a7ea951541ff7e
+Size (once_cell-1.15.0.crate) = 31460 bytes
+BLAKE2s (os_str_bytes-6.3.0.crate) = 2b32aa3fcf6070d01ce76f8420116f64158cf5a41ac0060c0527ce9b70b32f92
+SHA512 (os_str_bytes-6.3.0.crate) = 34f861a15543933c9fcb560a835bd943231ffcef2c68126d8633f8e792d2d59a20765947feddb0c795a15329d74260d6c2bf74a1f10ee88f355f47240acbb42e
+Size (os_str_bytes-6.3.0.crate) = 22928 bytes
+BLAKE2s (proc-macro-error-1.0.4.crate) = 2877169f24a0bf3a09d9bfd388ac5d39082672d9258c1c96a851c1bc166b234a
+SHA512 (proc-macro-error-1.0.4.crate) = 8a47bc9d3e24e9561d1e384d8f5a633284c2cf9b5e6733c5f9d1dbfe1870ccc8e2152482852e50b551cecb68e009148585b910ffb0508a7b4875598eaf8657db
+Size (proc-macro-error-1.0.4.crate) = 25293 bytes
+BLAKE2s (proc-macro-error-attr-1.0.4.crate) = 3204ef6b947e06798ac6e978bd1a40f2f7e81de7d3079fd7b639242f8ed032a8
+SHA512 (proc-macro-error-attr-1.0.4.crate) = 2606afa9ec78d7dad4500c98d3a5ecbd02c6b53ab829c742bed7f57b322a95238ab4e01cf268746815f1424fd9b02eddfa30e72f98c66106f57765f3d3116495
+Size (proc-macro-error-attr-1.0.4.crate) = 7971 bytes
+BLAKE2s (proc-macro2-1.0.46.crate) = 91793124793018a55f26fa74beb286ff7b1a69725d698ec3761693556b549af1
+SHA512 (proc-macro2-1.0.46.crate) = 1c2ae8dc4bebeeaa4af02f8edce18b3d159109a1639d8e9f26be2b7023ade9d09824ee0f2a60ae034967d982158196826fdb989d23a4b3bc81188a9a63e18cb9
+Size (proc-macro2-1.0.46.crate) = 41954 bytes
+BLAKE2s (quote-1.0.21.crate) = 35d526b76a740996fdcd393d2d077d4929f971b5f341498682b878c7cac7ebc0
+SHA512 (quote-1.0.21.crate) = 0728eb4df7e1f7c4d32ab08c901c2c969db8eb46b03bcec3e4956a4f6b360939d32abc6b6ebd7a31058e8e9b69c3d995a24cb484f93656f05b4ee963be1c74fc
+Size (quote-1.0.21.crate) = 28030 bytes
+BLAKE2s (strsim-0.10.0.crate) = 4893490aaecbb97be0d8268c4ad5653b22237927bc9f08196717dc9a5160de50
+SHA512 (strsim-0.10.0.crate) = 78b318532addfcf5c1ccc1e14539e258aab9d3cd893cc45d82342549bde838c177d90f13c560671f8f32929af47d0b467db35e6876bd7697d8b3f9e055aeeac1
+Size (strsim-0.10.0.crate) = 11355 bytes
+BLAKE2s (syn-1.0.102.crate) = 7cb38c23b1ac82e85ba155d9ac853d41b62d8237a16efd3f1c909062d33b5e1d
+SHA512 (syn-1.0.102.crate) = c9a2b2cf216c3d821decd488ebb49743f2f43940a879856e3a15d2352843c405e6f164c11225e904d18b32a5cd2bd7fcdfa74df40ec5567faeedffe5f523989c
+Size (syn-1.0.102.crate) = 235699 bytes
+BLAKE2s (termcolor-1.1.3.crate) = 883230b86f7f9bd79101af7c2fe83f0b3b76831712b963ae422d7609ee7c5f12
+SHA512 (termcolor-1.1.3.crate) = 5838fcbfd70f300cb4b62aab50565db52074c56b152ccc8ac1173e4676c0d5a636271bf5a645a77da6e1d4edbf0091af2cd4dd6d73b85c3d198c760898c06f3a
+Size (termcolor-1.1.3.crate) = 17242 bytes
+BLAKE2s (unicode-ident-1.0.4.crate) = a5dda5bf6f945d717b956d1e9fa2a55a4ee41eef6c53b27fd5128ecb44c1494d
+SHA512 (unicode-ident-1.0.4.crate) = db41d5c3f72cfaf654b4c250e18ac0ac077a816fd582f1548ed384653f467c15f85fcfbbb4ed2f9e8182587181abf1db14059d50f3e43b60434ddf38c8f65d89
+Size (unicode-ident-1.0.4.crate) = 35491 bytes
+BLAKE2s (version_check-0.9.4.crate) = a26f24d5e2c5e631462ebe434aa239957f5102009d3824d5dff2bc90d3c79fb0
+SHA512 (version_check-0.9.4.crate) = b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8
+Size (version_check-0.9.4.crate) = 14895 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-util-0.1.5.crate) = 0bbadc89bd260c16095f1d19c2dc0f5acbd24d64dc1dcada628bf4acb003c6cc
+SHA512 (winapi-util-0.1.5.crate) = 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd
+Size (winapi-util-0.1.5.crate) = 10164 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