Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
pin e2f94b11dd sysutils/bkt: import package
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.
2022-02-01 19:17:29 +00:00
archivers unrar: updated to 6.1.4 2022-01-28 09:10:09 +00:00
audio libopenmpt: update to 0.6.1. 2022-02-01 15:29:29 +00:00
benchmarks google-benchmark: update to 1.6.1. 2022-01-16 23:09:35 +00:00
biology py-cutadapt: updated to 3.5 2022-01-17 09:03:10 +00:00
bootstrap bootstrap: On SCO System V variants, we need either mksh or bash. 2021-12-28 10:13:01 +00:00
cad (cad/klayout) Updated 0.27.5 to 0.27.7 2022-01-24 22:34:07 +00:00
chat maubot: remove upper bounds to fix pbulk 2022-01-31 23:41:41 +00:00
comms py-rich: updated to 11.1.0 2022-01-31 14:23:21 +00:00
converters py-charset-normalizer: updated to 2.0.11 2022-01-31 11:04:38 +00:00
cross freemint-gcc: Enable ObjC and ObjC++ 2022-01-29 18:33:17 +00:00
databases tdb: updated to 1.4.6 2022-01-31 14:21:00 +00:00
devel mold: update to 1.0.3. 2022-02-01 14:21:51 +00:00
distfiles
doc doc: Updated sysutils/felix to 0.4.0 2022-02-01 19:15:14 +00:00
editors editors/xnedit: Build fixes 2022-01-31 10:39:24 +00:00
emulators mame: update to 0.240. 2022-01-31 11:27:50 +00:00
filesystems Mark the package as requiring libtool 2022-01-27 04:24:05 +00:00
finance py-stripe: updated to 2.65.0 2022-01-23 19:14:56 +00:00
fonts *meister-otf: remove interactive fetch, we're allowed to mirror them 2022-01-31 14:44:35 +00:00
games fnaify: Fix GitHub usage 2022-02-01 15:10:57 +00:00
geography geography/gama: Update to 2.17 2022-01-30 15:44:15 +00:00
graphics raleigh-reloade: update to 1.4. 2022-02-01 19:03:23 +00:00
ham *: depend on py-click via versioned_dependencies 2022-01-31 09:48:35 +00:00
inputmethod *: switch to python 2.7 version of py-gobject3 2022-01-28 14:02:33 +00:00
lang py-py3c: updated to 1.4 2022-01-31 13:44:39 +00:00
licenses licenses: Add libtpms-license 2022-02-01 15:07:01 +00:00
mail Remove a patch, missed in previous. 2022-02-01 18:44:05 +00:00
math math/bcal: Update to 2.4 2022-01-29 14:55:08 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs aspell-languages: fix typo in COMMENT 2022-01-22 21:34:27 +00:00
misc libcarddav: add another build dependency to fix docs option build 2022-02-01 11:58:35 +00:00
mk compiler/clang.mk: do not disable PIE support 2022-01-30 13:07:34 +00:00
multimedia multimedia: Enable ffplay5 2022-01-31 23:20:55 +00:00
net dbip-country-lite: update to 2022.02. 2022-02-01 13:41:47 +00:00
news *: python2 egg files are back, add them to the PLISTs 2022-01-14 17:51:50 +00:00
packages
parallel *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
pkgtools Go has dropped support for Darwin-*-i386. 2022-01-28 20:38:18 +00:00
print print/poppler: avoid build break with g++ 8. 2022-01-30 12:07:02 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security libpreludedb-python: fix PLIST 2022-02-01 11:41:47 +00:00
shells Omit the special -arch_only treatment for old Darwin; it's not supported 2022-01-28 20:39:20 +00:00
sysutils sysutils/bkt: import package 2022-02-01 19:17:29 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc expat: update to 2.4.4. 2022-02-01 12:10:17 +00:00
time ntpsec: restrict to python 3 2022-01-28 12:10:18 +00:00
wm pekwm: update 0.2.1 2022-01-30 20:26:57 +00:00
www ap24-perl: update to 2.0.12. 2022-02-01 11:46:28 +00:00
x11 xterm: add patch for CVE-2022-24130 2022-01-31 10:00:24 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md README.md: Fix URIs and capitalize NetBSD 2022-01-31 22:39:11 +00:00

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler transformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Community / Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git