Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
gutteridge ce340420ab py-music21: remove print/lilypond from default options
Lilypond is seemingly universally broken in pkgsrc builds at present.
(music21 upstream had considered removing it as a dependency for
another reason, but seem to have reversed course.)
2021-08-09 04:46:26 +00:00
archivers archivers/start: Update to 1.6.1nb15 2021-08-06 10:04:43 +00:00
audio py-music21: remove print/lilypond from default options 2021-08-09 04:46:26 +00:00
benchmarks benchmarks/hyperfine: simplify Makefile 2021-08-05 08:50:35 +00:00
biology py-numpy: "Python version >= 3.7 required." 2021-06-29 08:41:59 +00:00
bootstrap Spaces to tabs (NFCI). 2021-07-13 12:43:58 +00:00
cad kicad-*: update to 5.1.10 2021-07-30 22:47:18 +00:00
chat Update chat/element-web to 1.7.34 2021-08-03 19:51:56 +00:00
comms asterisk13: Update to Asterisk 13.38.3. 2021-08-01 02:57:12 +00:00
converters py-charset-normalizer: added version 2.0.3 2021-07-30 04:14:49 +00:00
cross cross/ppc-morphos-gcc-10/Makefile: Fix comment 2021-07-25 17:31:10 +00:00
databases mariadb*: auth_pam also not built on SunOS 2021-08-08 21:22:12 +00:00
devel py-pybind11: updated to 2.7.1 2021-08-06 12:40:59 +00:00
distfiles
doc doc: Updated pkgtools/pkglint to 21.2.2 2021-08-08 22:04:26 +00:00
editors Update ne to 3.18 2021-08-07 12:20:17 +00:00
emulators *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
filesystems fuse-djmount: retire; does not build with external nor internal libupnp; last release 2006-08-07 2021-06-15 09:05:40 +00:00
finance finance/rates: simplify Makefile 2021-08-03 09:00:37 +00:00
fonts py-fonttools: updated to 4.25.2 2021-07-30 12:55:42 +00:00
games cataclysm-dda: add missing patch 2021-08-08 20:40:42 +00:00
geography gpsd: Cope with Apple thinking different about shlib extensions 2021-08-08 23:14:46 +00:00
graphics mate-backgrounds: update to 1.24.2 2021-08-06 01:12:53 +00:00
ham *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
inputmethod ibus-python: remove reference to Linux in DESCR 2021-06-23 20:25:13 +00:00
lang Update to 2.1.7. 2021-08-07 14:33:32 +00:00
licenses Add SMath Studio as math/smath-studio. 2021-06-29 14:28:12 +00:00
mail mutt: set an explicit path to the system mail directory in VARBASE 2021-08-08 20:53:41 +00:00
math math/sc-ic: Remaintain 2021-08-06 01:38:57 +00:00
mbone *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
meta-pkgs mate: bump to general release version 1.24.1 2021-08-06 02:12:09 +00:00
misc libmateweather: update to 1.24.1 2021-08-06 00:05:49 +00:00
mk mk: Add MariaDB 10.6 bits. 2021-08-04 16:08:43 +00:00
multimedia mkvtoolnix: updated to 60.0.0 2021-08-01 18:09:38 +00:00
net knot: Update to 3.1.0 2021-08-07 16:36:18 +00:00
news sfeed_curses: Update to 1.0 2021-08-08 10:52:19 +00:00
packages
parallel threadingbuildingblocks: fix build on Linux, we need to link against dl. 2021-07-29 20:03:28 +00:00
pkgtools pkgtools/pkglint: update to 21.2.2 2021-08-08 22:04:15 +00:00
print p5-LaTeX-Driver: fix build 2021-08-08 04:48:31 +00:00
regress *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
security security/gpg-tui: update to 0.7.4 2021-08-07 14:38:20 +00:00
shells shells/pbosh: Update to 20210729 2021-08-06 10:24:18 +00:00
sysutils sysutils/refi: update to 3.1.0 2021-08-07 20:45:32 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc lowdown: update to 0.8.6. 2021-08-08 09:22:52 +00:00
time wmitime: avoid non-portable iconv modifier 2021-08-08 09:40:43 +00:00
wm *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
www py-sanic: updated to 21.6.2 2021-08-05 18:37:30 +00:00
x11 rxvt: define _NETBSD_SOURCE 2021-08-08 20:33:33 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md use libera.chat's hosted kiwiirc 2021-05-29 13:14:10 +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