Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
nia cb5aeb6845 Switch the default Python version to 3.8
3.7 is currently in security fixes only mode, but 3.8 will
continue to recieve a few more months of normal bug fixes.
This should give us time to prep the tree for 3.9 (a few packages
are not happy with 3.9 yet).

3.8 might be more problematic than 3.7 for Linuxes using older compilers
where shm_open isn't detected probably (however this problem doesn't
seem to be entirely absent in 3.7, as shown by certain packages like
mozjs*?). According to the CentOS 7 folks on tech-pkg this should be
possible to work around by using a newer compiler.
2020-12-04 20:43:43 +00:00
archivers Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
audio Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
benchmarks *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:07:25 +00:00
biology *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:07:25 +00:00
bootstrap Bootstrap: Fix bootstrap on FreeBSD 12.1, likely broken by an issue in lld. 2020-10-28 16:52:43 +00:00
cad *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:07:25 +00:00
chat Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
comms py-serial: updated to 3.5 2020-11-26 11:05:22 +00:00
converters bdf2psf: update to 1.199. 2020-12-02 15:34:49 +00:00
cross dasm: update to 2.20.14.1. 2020-12-01 14:55:54 +00:00
databases Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
devel meson: Honour per-pkg make jobs 2020-12-04 18:23:05 +00:00
distfiles
doc Added net/py-aioresponses; Updated lang/py-pygls 2020-12-04 16:47:22 +00:00
editors Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
emulators libretro-mgba: Update to 0.8.4 2020-12-03 14:53:19 +00:00
filesystems fuse-exfat: Update HOMEPAGE 2020-11-24 15:03:22 +00:00
finance py-stripe: updated to 2.55.1 2020-12-02 19:58:14 +00:00
fonts Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
games Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
geography gama: Update to 2.12 2020-11-28 19:35:45 +00:00
graphics Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
ham chirp: Add gdt@ as secondary MAINTAINER 2020-12-04 13:51:37 +00:00
inputmethod *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:07:25 +00:00
lang Switch the default Python version to 3.8 2020-12-04 20:43:43 +00:00
licenses licenses: Add a license file for upcoming emulators/nono 2020-11-27 13:04:32 +00:00
mail Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
math Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs texlive-collection-fontsextra: add tex-plex 2020-12-03 19:33:42 +00:00
misc Updated bibletime to version 3.0 2020-12-04 12:17:58 +00:00
mk mk: use LOCALBASE instead of PREFIX 2020-12-03 10:04:48 +00:00
multimedia Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
net py-aioresponses: added version 0.7.1 2020-12-04 16:31:18 +00:00
news pan: Fix build on NetBSD-current (POSIX iconv) 2020-11-30 13:06:40 +00:00
packages
parallel parallel: Update to 20201122 2020-11-24 18:14:20 +00:00
pkgtools pkgin: comment out pkg_install dependency 2020-12-04 13:39:45 +00:00
print Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
regress *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
security duo-unix: Update to 1.11.4. 2020-12-04 12:15:41 +00:00
shells zsh: Follow pkgdb migration to fix pkg_info(1) suggestion on NetBSD 2020-12-04 15:23:02 +00:00
sysutils Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
templates
textproc Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
time Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
wm Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
www Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
x11 Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md stray comma 2020-11-04 14:39:49 +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 trasformation 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