Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
ryoon 6ff51c4fd9 libmspub: Fix build with GCC 10 in NetBSD base
Fix errors like uint32_t not found.
2021-04-15 14:56:35 +00:00
archivers *: bump for vala 0.52 2021-04-14 07:28:16 +00:00
audio bmp-mac: Fix fallout from new glib2 2021-04-15 05:59:48 +00:00
benchmarks dnsperf: Update to version 2.5.1 2021-03-23 18:17:26 +00:00
biology biology/molsketch: update to 0.7.2 2021-04-04 19:10:20 +00:00
bootstrap bootstrap: Add MidnightBSD support to bootstrap shell script 2021-03-15 16:22:06 +00:00
cad py-PyRTL: Update to 0.9.0 2021-04-14 13:43:57 +00:00
chat *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
comms comms: better COMMENT 2021-04-12 15:14:00 +00:00
converters libmspub: Fix build with GCC 10 in NetBSD base 2021-04-15 14:56:35 +00:00
cross atasm: update to 1.09. 2021-03-21 10:21:07 +00:00
databases py-pypika: updated to 0.48.1 2021-04-15 06:46:50 +00:00
devel *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
distfiles
doc doc: Added editors/cesium version 0.1.2 2021-04-15 12:49:55 +00:00
editors Add cesium 2021-04-15 12:49:07 +00:00
emulators xnp2: workaround fallout from glib2-2.68.0 2021-04-15 06:19:01 +00:00
filesystems ori: Update to 0.8.2 - help it build again. 2021-04-05 07:51:36 +00:00
finance propagate python incompatibilities 2021-04-09 15:42:35 +00:00
fonts liberation-ttf: Mark python as build-time dependency 2021-04-13 08:20:51 +00:00
games *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
geography *: bump for vala 0.52 2021-04-14 07:28:16 +00:00
graphics *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
ham ham/chirp: Update to 20210406 2021-04-10 00:40:16 +00:00
inputmethod *: bump for vala 0.52 2021-04-14 07:28:16 +00:00
lang rust: restore NetBSD i386 bootstrap workaround 2021-04-15 00:55:45 +00:00
licenses add eternal-lands-license 2021-04-04 09:36:29 +00:00
mail *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
math *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs meta-pkgs/gnuradio: update for 3.9 2021-04-07 16:15:08 +00:00
misc *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
mk correct documentation 2021-04-10 09:03:13 +00:00
multimedia mlt: Update to 6.26.1 2021-04-14 11:19:16 +00:00
net *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
news pan: Fix build with glib-2.68.0 2021-04-02 14:58:22 +00:00
packages
parallel match arm64 systems. fixes build on netbsd/arm64. 2021-04-02 07:59:35 +00:00
pkgtools pkg_rolling-replace: catch permission errors from pkg_admin 2021-04-13 17:51:21 +00:00
print *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
regress regress/infra-unittests: use single quotes for string literals 2021-01-04 21:11:43 +00:00
security *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
shells fish: update to 3.2.2 2021-04-08 10:46:52 +00:00
sysutils *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
templates templates: match pkgsrc website 2021-04-13 15:04:03 +00:00
textproc *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
time *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
wm mutter: set PYTHON_FOR_BUILD_ONLY 2021-04-12 13:05:09 +00:00
www *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
x11 *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md *: fix a bunch of typos in README and various documentation files. 2020-12-12 10:42:47 +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.

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