Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2022-09-02 11:44:57 +00:00
archivers
audio
benchmarks
biology
bootstrap
cad
chat
comms
converters
cross
databases
devel Update to new version of diffbreaker. 2022-09-01 20:46:51 +00:00
distfiles
doc Note update of lang/rust-src to 1.62.1. 2022-09-02 10:47:01 +00:00
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang rust-src: update to 1.62.1, to match main rust package. 2022-09-02 10:46:21 +00:00
licenses
mail
math
mbone
meta-pkgs
misc
mk Add mipsn64{eb,el} - the full 64bit userland variants of NetBSD 64 bit 2022-09-02 09:06:44 +00:00
multimedia
net py-grpcio py-grpcio-testing py-grpcio-tools: updated to 1.48.1 2022-09-02 07:35:10 +00:00
news
packages
parallel
pkgtools
print tex-xecjk: remove cyclic dependency I added in the last update. 2022-09-02 11:44:57 +00:00
regress
security
shells
sysutils
templates
textproc py-natsort: updated to 8.2.0 2022-09-02 07:37:14 +00:00
time
wm
www
x11 x11/x3270: update to 4.2ga4. 2022-09-01 18:44:08 +00:00
_NetBSD-pkgdb
Makefile
pkglocate
README.md

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