sysutils/bkt - The NetBSD Packages Collection

Subprocess caching utility

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.

Build dependencies

lang/rust pkgtools/mktools pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 10.0aarch64bkt-0.8.0.tgz
NetBSD 10.0aarch64bkt-0.7.1.tgz
NetBSD 10.0earmv7hfbkt-0.8.0.tgz
NetBSD 10.0earmv7hfbkt-0.7.1.tgz
NetBSD 10.0i386bkt-0.8.0.tgz
NetBSD 10.0i386bkt-0.7.1.tgz
NetBSD 10.0powerpcbkt-0.7.1.tgz
NetBSD 10.0powerpcbkt-0.7.1.tgz
NetBSD 10.0x86_64bkt-0.8.0.tgz
NetBSD 10.0x86_64bkt-0.7.1.tgz
NetBSD 9.0aarch64bkt-0.7.1.tgz
NetBSD 9.0earmv7hfbkt-0.8.0.tgz
NetBSD 9.0earmv7hfbkt-0.7.1.tgz
NetBSD 9.0i386bkt-0.8.0.tgz
NetBSD 9.0i386bkt-0.7.1.tgz
NetBSD 9.0powerpcbkt-0.7.1.tgz
NetBSD 9.0powerpcbkt-0.7.1.tgz
NetBSD 9.0powerpcbkt-0.8.0.tgz
NetBSD 9.0sparc64bkt-0.5.4.tgz
NetBSD 9.0x86_64bkt-0.8.0.tgz
NetBSD 9.0x86_64bkt-0.7.1.tgz
NetBSD 9.3x86_64bkt-0.8.0.tgz
NetBSD 9.3x86_64bkt-0.8.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.