sysutils/bkt 0.8.2 NetBSD
Subprocess caching utility
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- sysutils
- Package size
- 463.5 KiB, 1489.6 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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | sysutils/bkt | 0.8.2 |
| FreeBSD | sysutils/bkt | 0.8.2_19 |
| DragonFly | sysutils/bkt | 0.8.2_4 |
| HardenedBSD | sysutils/bkt | 0.8.2_17 |
| GhostBSD | sysutils/bkt | 0.8.2_17 |
Install
Binary package:
pkgin install bkt
From pkgsrc:
cd /usr/pkgsrc/sysutils/bkt && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.8.2 |
| NetBSD 10.1 aarch64 | 0.8.2 |
| SmartOS / illumos x86_64 | 0.8.2 |
| macOS 15 arm64 | 0.8.2 |
Dependencies
No port depends on this one.