Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
jperkin ace9774189 mk: Enforce arm64 host CPU for Darwin/aarch64.
Fixes builds inside an x86_64 chroot where packages add x86-specific flags
based on the output of uname even though we're building for aarch64.  CMake
provides the CMAKE_APPLE_SILICON_PROCESSOR variable for this situation.
2021-07-17 06:34:20 +00:00
archivers archivers/arqiver: update to 0.8.0 2021-07-11 05:21:18 +00:00
audio audio/termusic: update to 0.2.7 2021-07-14 20:46:13 +00:00
benchmarks bonnie++: update to 1.98 2021-07-10 01:43:57 +00:00
biology py-numpy: "Python version >= 3.7 required." 2021-06-29 08:41:59 +00:00
bootstrap Spaces to tabs (NFCI). 2021-07-13 12:43:58 +00:00
cad Ensure PYTHON_VERSIONS_INCOMPATIBLE is set before pyversion.mk is included 2021-07-01 14:48:31 +00:00
chat unrealircd: update to 5.2.1.1 2021-07-15 09:57:47 +00:00
comms py-rich: updated to 10.6.0 2021-07-13 04:25:32 +00:00
converters bdf2psf: update to 1.204. 2021-07-12 10:18:40 +00:00
cross *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
databases Revbump all Go packages after go116 update 2021-07-13 11:36:30 +00:00
devel go-review: Update to 1.0.2. Convert to go-module. 2021-07-16 06:37:49 +00:00
distfiles
doc doc: Added net/lagrange version 1.5.2 2021-07-16 16:00:47 +00:00
editors abiword: update to 3.0.5 2021-07-13 13:24:43 +00:00
emulators Apply upstream commit 75eebe0 to fix macOS Big Sur build (working around 2021-07-09 21:08:33 +00:00
filesystems fuse-djmount: retire; does not build with external nor internal libupnp; last release 2006-08-07 2021-06-15 09:05:40 +00:00
finance py-braintree: updated to 4.11.0 2021-07-16 06:41:31 +00:00
fonts add fonts/tamzen-font 2021-07-16 15:40:33 +00:00
games gnuchess: update to 6.2.9. 2021-07-14 16:51:58 +00:00
geography geography/qgis: Update to 3.16.8 2021-07-07 00:26:51 +00:00
graphics tesseract: Avoid C++ <version> issue on macOS. 2021-07-16 09:16:27 +00:00
ham ham/rtl-sdr: apply patch from mef@ to fix PR pkg/55348. 2021-07-10 16:48:00 +00:00
inputmethod ibus-python: remove reference to Linux in DESCR 2021-06-23 20:25:13 +00:00
lang tcl: Skip --enable-64bit on Darwin/aarch64. 2021-07-16 09:56:25 +00:00
licenses Add SMath Studio as math/smath-studio. 2021-06-29 14:28:12 +00:00
mail thunderbird-l10n: Update to 78.12.0 2021-07-15 16:27:27 +00:00
math math: add imath 2021-07-08 21:10:03 +00:00
mbone *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
meta-pkgs bulk-test-llvm: add creduce 2021-07-15 16:55:00 +00:00
misc rhash: updated to 1.4.2 2021-07-15 09:39:17 +00:00
mk mk: Enforce arm64 host CPU for Darwin/aarch64. 2021-07-17 06:34:20 +00:00
multimedia vlc: update to 3.0.16 2021-07-15 10:15:47 +00:00
net add net/lagrange 2021-07-16 16:00:32 +00:00
news *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
packages
parallel threadingbuildingblocks: ... and patches 2021-07-14 17:56:52 +00:00
pkgtools Revbump all Go packages after go116 update 2021-07-13 11:36:30 +00:00
print poppler: update to 21.07.0. 2021-07-15 11:31:25 +00:00
regress *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
security tor-browser: update to 10.5.2. 2021-07-15 13:50:16 +00:00
shells fish: Update to 3.3.1. 2021-07-16 08:50:50 +00:00
sysutils goreman: update to 0.3.7. Converted to go-module. 2021-07-16 06:46:18 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc go-glob: remove 2021-07-16 06:18:27 +00:00
time py-dateutil: updated to 2.8.2 2021-07-14 20:27:21 +00:00
wm amiwm: update to 0.21pl2 2021-07-13 08:16:17 +00:00
www go-spritewell: remove 2021-07-16 06:20:21 +00:00
x11 qt5-qtmultimedia: pulseaudio no longer indirectly requires rust 2021-07-16 13:33:02 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md use libera.chat's hosted kiwiirc 2021-05-29 13:14:10 +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