Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2022-01-10 22:10:10 +00:00
archivers py-bz2file: convert to egg.mk 2022-01-10 08:51:00 +00:00
audio py-mpd: convert to egg.mk 2022-01-10 20:58:31 +00:00
benchmarks revbump for icu and libffi 2021-12-08 16:01:42 +00:00
biology py-mol: convert to egg.mk 2022-01-10 18:46:54 +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 py-jpCodecs: convert to egg.mk 2022-01-10 18:34:08 +00:00
cross (cross/avr-libc) Add missing BUILD_DEPENDS (alhpaalpha.sty) 2021-12-31 06:18:03 +00:00
databases py-aiosqlite: convert to egg.mk 2022-01-10 22:03:45 +00:00
devel gnatpython: convert to egg.mk 2022-01-10 22:10:10 +00:00
distfiles
doc Updated vim 2022-01-10 20:56:13 +00:00
editors Remove PKGREVISION 2022-01-10 20:55:32 +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: fix for python 2.7 2022-01-10 20:27:45 +00:00
fonts python: egg.mk: add USE_PKG_RESOURCES flag 2022-01-05 15:40:56 +00:00
games py-renpy: convert to egg.mk 2022-01-10 21:34:30 +00:00
geography *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
graphics py-uniconvertor: convert to egg.mk 2022-01-10 21:59:16 +00:00
ham chirp: convert to egg.mk 2022-01-10 08:11:43 +00:00
inputmethod tegaki-python: convert to egg.mk 2022-01-10 22:08:03 +00:00
lang py-pyrex: convert to egg.mk 2022-01-10 20:43:38 +00:00
licenses licenses: Do not use UTF-8 encoding. ASCII is sufficient 2021-11-16 17:13:58 +00:00
mail py-sendmail-admin: convert to egg.mk 2022-01-10 20:46:42 +00:00
math py-ephem: fix for python 2.7 2022-01-10 20:33:54 +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 py-ansi: convert to egg.mk 2022-01-10 20:26:31 +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-txamqp: convert to egg.mk 2022-01-10 20:52:10 +00:00
news hellanzb: convert to egg.mk 2022-01-10 18:18:22 +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-pydyf: convert to egg.mk 2022-01-10 22:00:08 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security py-simplesha3: convert to egg.mk 2022-01-10 22:02:43 +00:00
shells Revbump all Go packages after go117 update 2022-01-09 20:10:29 +00:00
sysutils polysh: convert to egg.mk 2022-01-10 20:23:36 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc py-X: convert to egg.mk 2022-01-10 21:51:09 +00:00
time py-snaptime: convert to egg.mk 2022-01-10 20:49:21 +00:00
wm *: Recursive revbump from boost 1.78.0 2022-01-10 01:46:21 +00:00
www py-web.py: convert to egg.mk 2022-01-10 20:54:11 +00:00
x11 py-wxWidgets: convert to egg.mk 2022-01-10 21:43:30 +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