Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2022-02-12 08:02:38 +00:00
archivers
audio
benchmarks
biology
bootstrap
cad
chat
comms
converters Update to aeson-pretty-0.8.9 2022-02-12 07:41:15 +00:00
cross
databases databases/ruby-sequel: update to 5.53.0 2022-02-12 07:22:03 +00:00
devel devel/hs-th-lift-instances: import hs-th-lift-instances-0.1.19 2022-02-12 08:02:30 +00:00
distfiles
doc doc: Added devel/hs-th-lift-instances version 0.1.19 2022-02-12 08:02:38 +00:00
editors
emulators
filesystems
finance Update to hledger-1.24.1 2022-02-12 07:59:09 +00:00
fonts
games
geography
graphics
ham
inputmethod
lang Update to idris-1.3.4 2022-02-12 07:13:35 +00:00
licenses
mail
math
mbone
meta-pkgs
misc
mk
multimedia
net
news
packages
parallel
pkgtools
print
regress
security Update to tls-1.5.7 2022-02-12 07:00:46 +00:00
shells
sysutils load pinebook pro SPI environment from the same location that 2022-02-12 07:44:55 +00:00
templates
textproc Update to texmath-0.12.4 2022-02-12 08:01:36 +00:00
time
wm
www Update to http-client-tls-0.3.6.1 2022-02-12 08:00:17 +00:00
x11
_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