FreeBSD Ports

sysutils/bkt 0.8.2_19

Subprocess caching utility

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
MIT
Categories
sysutils
Package size
325.4 KiB, 718.5 KiB installed

Description

bkt (pronounced bucket) is a subprocess caching utility written in Rust, inspired by bash-cache. Wrapping expensive process invocations with bkt allows callers to reuse recent invocations without complicating their application logic. This can be useful in shell prompts, interactive applications such as fzf, and long-running programs that poll other processes.

When bkt is passed a command it hasn't seen before (or recently) it executes the command synchronously and caches its stdout, stderr, and exit code. Calling bkt again with the same command reads the data from the cache and outputs it as if the command had been run again.

Install

As a binary package — by origin, or by package name:

pkg install sysutils/bkt
pkg install bkt

From the ports tree:

cd /usr/ports/sysutils/bkt/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	bkt>0:sysutils/bkt

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.8.2_180.8.2_19-0.8.2_70.8.2_19
FreeBSD:14:quarterly0.8.2_170.8.2_17n/a0.8.2_60.8.2_17
FreeBSD:15:latest0.8.2_190.8.2_19n/a0.8.2_70.8.2_7
FreeBSD:15:quarterly0.8.2_170.8.2_17n/an/an/a
FreeBSD:16:latest0.8.2_170.8.2_19n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 15

No port depends on this one.

Configuration

Options name: sysutils_bkt

OptionDefaultDescription
MANPAGESonBuild and install auto-generated manpages
USES
cargo
Service scripts
none

Files

Manual pages 1
  • bkt(1)
pkg-plist 2
  • bin/bkt
  • share/man/man1/bkt.1.gz
distinfo 60
FileSizeSHA256
rust/crates/aho-corasick-1.1.2.crate183136b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0
rust/crates/anstyle-1.0.4.crate139987079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87
rust/crates/anyhow-1.0.79.crate44931080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca
rust/crates/base64-0.21.7.crate825769d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567
rust/crates/bincode-1.3.3.crate28958b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad
rust/crates/bitflags-1.3.2.crate23021bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
rust/crates/bitflags-2.4.2.crate42602ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf
rust/crates/cfg-if-1.0.0.crate7934baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
rust/crates/clap-4.4.18.crate552691e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c
rust/crates/clap_builder-4.4.18.crate1635384df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7
rust/crates/clap_derive-4.4.7.crate29046cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442
rust/crates/clap_lex-0.6.0.crate12272702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1
rust/crates/errno-0.3.8.crate10645a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245
rust/crates/filetime-0.2.23.crate149421ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd
rust/crates/getrandom-0.2.12.crate36163190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5
rust/crates/heck-0.4.1.crate1156795505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8
rust/crates/humantime-2.1.0.crate167499a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4
rust/crates/itoa-1.0.10.crate10534b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c
rust/crates/libc-0.2.186.crate82188368ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66
rust/crates/linux-raw-sys-0.4.13.crate1.493855e+0601cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c

Commit history 4

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
396c159306 Alan Somers */*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the compat-11 symbols until version 0.2.176. Patch a great many Rust ports to use a newer version of libc, to eliminate the dependency on COMPAT11. Explicitly patching Cargo.lock isn't usually necessarily, since within the build jail cargo is forced to use whichever crates Makefile.crates installs there. Notes on specific ports: * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, too. * devel/cargo-generate finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkcheck www/lychee …
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645