Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2022-04-10 13:55:42 +00:00
archivers xz: add upstream patch to fix CVE-2022-1271 2022-04-08 06:29:56 +00:00
audio py-music21: amend a comment about lilypond and py-game 2022-04-09 21:57:28 +00:00
benchmarks google-benchmark: fix build on SunOS 2022-03-27 12:04:05 +00:00
biology biology/Makefile: Add fastx-toolkit 2022-04-05 18:49:29 +00:00
bootstrap README.macOS: mention how to get an X11 server from pkgsrc. xref wiki 2022-04-09 17:23:12 +00:00
cad {c,d,e}*/*: revbump(1) for libsndfile 2022-03-28 10:52:56 +00:00
chat mumble: missing includes on netbsd 2022-04-10 07:47:22 +00:00
comms tio: add missing pkg-config tool dependency 2022-04-03 14:35:37 +00:00
converters p5-JSON: reset PKGREVISION after update 2022-04-03 09:00:30 +00:00
cross mk: Cross-eyed hacks to support cross-libtool. 2022-04-04 11:23:06 +00:00
databases mariadb105-client: no need to special case __APPLE__ for pkgsrc builds 2022-04-06 18:16:13 +00:00
devel xa65: update to 2.3.13. 2022-04-10 13:55:32 +00:00
distfiles
doc doc: Updated devel/xa65 to 2.3.13 2022-04-10 13:55:42 +00:00
editors Update to 8.2.4721 2022-04-09 15:22:20 +00:00
emulators Don't forget the PLIST... 2022-04-03 14:43:51 +00:00
filesystems ltfs: finish removing patch that was removed from distinfo 2022-03-31 07:29:09 +00:00
finance Fix build breakage from py-scipy now being Python >= 3.8 2022-04-10 00:57:13 +00:00
fonts tex-norasi-c90: update to 2021 2022-04-09 21:55:22 +00:00
games rocksndiamonds: updated to 4.3.1.1 2022-04-10 12:18:19 +00:00
geography tex-pst-geo{,-doc}: update to 2.07 2022-04-10 06:21:01 +00:00
graphics tex-pstricks{,-doc}: update to 3.13 2022-04-10 12:36:01 +00:00
ham grig: fix building with latest hamlib 2022-04-10 08:04:38 +00:00
inputmethod fcitx5-libthai: fix building on netbsd-9 2022-04-10 07:59:29 +00:00
lang nodejs12: updated to 12.22.12 2022-04-05 17:15:53 +00:00
licenses licenses: Add libtpms-license 2022-02-01 15:07:01 +00:00
mail neomutt: update to 20220408. 2022-04-08 11:44:39 +00:00
math py-numpy: fix build on NetBSD 2022-04-10 13:15:47 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs avoid-duplicate.mk: Rework to not include builtin.mk 2022-04-10 08:52:01 +00:00
misc xorg-docs: update to 1.7.2. 2022-04-04 09:50:37 +00:00
mk mk: add show-depends-all 2022-04-09 00:46:12 +00:00
multimedia ffmpeg5 ffplay5: updated to 5.0.1 2022-04-05 09:24:29 +00:00
net rabbitmq: add a note that the test target doesn't work as is 2022-04-09 00:33:45 +00:00
news pan: add some missing tool dependencies 2022-04-08 06:52:53 +00:00
packages
parallel py-ipyparallel: updated to 8.2.1 2022-04-06 15:17:17 +00:00
pkgtools cwrappers: Fix build 2022-04-04 11:54:35 +00:00
print tex-hypdoc{,-doc}: add version 1.15 2022-04-09 22:18:08 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security py-acme py-certbot*: updated to 1.26.0 2022-04-08 18:00:27 +00:00
shells fish: update to 3.4.1 2022-04-05 20:49:22 +00:00
sysutils libtree: requires gcc8 or newer 2022-04-10 08:09:31 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc ruby-kramdown: update to 2.3.2. 2022-04-10 13:21:24 +00:00
time tex-datenumber{,-doc}: update to 0.03 2022-04-08 21:04:07 +00:00
wm wm/herbstluftwm: update to 0.9.4 2022-04-05 07:13:05 +00:00
www firefox91: update to 91.8.0 2022-04-10 13:43:43 +00:00
x11 x11/motif: Make build work for both cross and native. 2022-04-10 12:52:26 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md README.md: Fix URIs and capitalize NetBSD 2022-01-31 22:39:11 +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