Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2022-01-10 08:50:02 +00:00
archivers *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
audio py-ao: convert to egg.mk 2022-01-10 08:49:05 +00:00
benchmarks revbump for icu and libffi 2021-12-08 16:01:42 +00:00
biology *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
bootstrap bootstrap: On SCO System V variants, we need either mksh or bash. 2021-12-28 10:13:01 +00:00
cad *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
chat *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
comms python: egg.mk: add USE_PKG_RESOURCES flag 2022-01-05 15:40:56 +00:00
converters *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
cross (cross/avr-libc) Add missing BUILD_DEPENDS (alhpaalpha.sty) 2021-12-31 06:18:03 +00:00
databases py-mssql: convert to egg.mk 2022-01-10 07:57:59 +00:00
devel py-Pympler: convert to egg.mk 2022-01-10 08:45:56 +00:00
distfiles
doc py-4Suite: remove 2022-01-10 08:38:44 +00:00
editors fileobj: convert to egg.mk 2022-01-10 08:15:33 +00:00
emulators *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
filesystems fuse-wikipediafs: convert to egg.mk 2022-01-10 07:45:22 +00:00
finance py-bitcoinrpc: convert to egg.mk 2022-01-10 08:50:02 +00:00
fonts python: egg.mk: add USE_PKG_RESOURCES flag 2022-01-05 15:40:56 +00:00
games jools: convert to egg.mk 2022-01-10 07:48:08 +00:00
geography *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
graphics veusz: convert to egg.mk 2022-01-10 07:37:36 +00:00
ham chirp: convert to egg.mk 2022-01-10 08:11:43 +00:00
inputmethod *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
lang wasi-libcxx: carry over wasi-compiler-rt fix for Firefox builds 2022-01-10 02:10:04 +00:00
licenses licenses: Do not use UTF-8 encoding. ASCII is sufficient 2021-11-16 17:13:58 +00:00
mail offlineimap: convert to egg.mk 2022-01-10 08:30:00 +00:00
math py-Numeric: convert to egg.mk 2022-01-10 08:43:23 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs boost: Update to 1.78.0 2022-01-10 01:23:30 +00:00
misc gaupol: convert to egg.mk 2022-01-10 08:17:28 +00:00
mk SunOS: add native tool paths for xz & xzcat 2022-01-09 17:36:52 +00:00
multimedia py-ming: convert to egg.mk 2022-01-10 07:56:49 +00:00
net py-socksipy-branch: convert to egg.mk 2022-01-10 08:47:45 +00:00
news news/pan: update to 0.149. 2021-12-29 13:34:39 +00:00
packages
parallel *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
pkgtools Revbump all Go packages after go117 update 2022-01-09 20:10:29 +00:00
print py-PDF2: convert to egg.mk 2022-01-10 08:44:17 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security py-aes: convert to egg.mk 2022-01-10 08:48:30 +00:00
shells Revbump all Go packages after go117 update 2022-01-09 20:10:29 +00:00
sysutils monitoring: convert to egg.mk 2022-01-10 08:27:12 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc py-Happydoc: convert to egg.mk 2022-01-10 08:39:32 +00:00
time python: egg.mk: add USE_PKG_RESOURCES flag 2022-01-05 15:40:56 +00:00
wm *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
www py-nbconvert: convert to egg.mk 2022-01-10 08:05:24 +00:00
x11 py-Pmw: convert to egg.mk 2022-01-10 08:45:03 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md README.md: Add trailing slash to the URI 2021-10-21 12:18:01 +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