Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2021-10-01 13:34:12 +00:00
archivers zip: Support MKPIE on i386. Move compiler bug hacks to hacks.mk. 2021-09-30 11:39:27 +00:00
audio revbump for boost-libs 2021-09-29 19:00:02 +00:00
benchmarks netperf: Support GCC >= 10. 2021-09-28 12:57:17 +00:00
biology revbump for boost-libs 2021-09-29 19:00:02 +00:00
bootstrap Spaces to tabs (NFCI). 2021-07-13 12:43:58 +00:00
cad revbump for boost-libs 2021-09-29 19:00:02 +00:00
chat py-axolotl: updated to 0.2.3 2021-09-30 18:57:26 +00:00
comms revbump for boost-libs 2021-09-29 19:00:02 +00:00
converters revbump for boost-libs 2021-09-29 19:00:02 +00:00
cross (cross/mingw-binutils) fix build, taking care ld/genscripts.sh bash issue 2021-09-26 02:33:14 +00:00
databases Updated databases/sql-workbench to 127 2021-09-30 15:50:33 +00:00
devel py-test-benchmark: updated to 3.4.1 2021-10-01 12:47:27 +00:00
distfiles
doc Updated devel/py-test-benchmark, sysutils/py-filetype 2021-10-01 12:49:34 +00:00
editors revbump for boost-libs 2021-09-29 19:00:02 +00:00
emulators revbump for boost-libs 2021-09-29 19:00:02 +00:00
filesystems revbump for boost-libs 2021-09-29 19:00:02 +00:00
finance gnucash-docs: update to 4.8. 2021-10-01 09:03:19 +00:00
fonts harfbuzz-icu: fix for 3.0 update 2021-09-29 20:26:01 +00:00
games revbump for boost-libs 2021-09-29 19:00:02 +00:00
geography revbump for boost-libs 2021-09-29 19:00:02 +00:00
graphics openimageio: Needs atomic64 to build on i386. 2021-10-01 12:35:36 +00:00
ham revbump for boost-libs 2021-09-29 19:00:02 +00:00
inputmethod revbump for boost-libs 2021-09-29 19:00:02 +00:00
lang Switch default Python to 3.9. 2021-10-01 12:27:47 +00:00
licenses Add SMath Studio as math/smath-studio. 2021-06-29 14:28:12 +00:00
mail notmuch: restore TEST_TARGET 2021-10-01 08:51:53 +00:00
math Update to 1.6009 2021-09-30 13:34:54 +00:00
mbone *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
meta-pkgs bulk-test-boost: restore poppler-glib 2021-10-01 11:27:39 +00:00
misc libreoffice: fix build with bison 3.8 2021-10-01 11:32:50 +00:00
mk Prune gcc34, gcc44. 2021-10-01 11:56:12 +00:00
multimedia revbump for boost-libs 2021-09-29 19:00:02 +00:00
net netatalk22: Fix RELRO build. 2021-10-01 13:34:12 +00:00
news revbump for boost-libs 2021-09-29 19:00:02 +00:00
packages
parallel revbump for boost-libs 2021-09-29 19:00:02 +00:00
pkgtools digest: correct hash size of blake2s 2021-09-29 13:10:40 +00:00
print ghostscript-agpl: Fix undefined reference error during link 2021-09-30 23:48:51 +00:00
regress regress: fix space-tab in the indentation 2021-09-09 18:23:44 +00:00
security botan-devel: Fix PLIST on non-x86. 2021-10-01 12:13:08 +00:00
shells shells/starship: update to 0.58.0 2021-09-30 09:57:43 +00:00
sysutils py-filetype: add ALTERNATIVES 2021-10-01 12:49:08 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc revbump for boost-libs 2021-09-29 19:00:02 +00:00
time revbump for boost-libs 2021-09-29 19:00:02 +00:00
wm wm/shod: update to 2.1.4 2021-09-30 09:59:47 +00:00
www firefox: 92 requires nss>=3.69 2021-10-01 13:31:52 +00:00
x11 xcolor: fix builds in some circumstances 2021-10-01 02:57:20 +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