Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2022-03-07 22:59:49 +00:00
archivers Bump all Haskell packages after enabling "split sections" in mk/haskell.mk 2022-02-26 03:57:43 +00:00
audio strawberry: update to 1.0.2 2022-03-06 08:31:31 +00:00
benchmarks benchmarks/hyperfine: update to 1.13.0 2022-03-05 21:22:16 +00:00
biology biology/kallisto: Update to 0.48.0 2022-02-27 01:57:27 +00:00
bootstrap README.NetBSD: slightly rephrase note about make(1) 2022-02-25 23:03:10 +00:00
cad *: bump for guile20 PREFIX change 2022-03-07 22:59:49 +00:00
chat Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
comms asterisk16: Update to 16.24.0 2022-03-04 12:22:31 +00:00
converters converters/pandoc: Link pandoc with static Haskell libraries 2022-02-26 07:06:17 +00:00
cross freemint-gcc: Enable ObjC and ObjC++ 2022-01-29 18:33:17 +00:00
databases ldb: version 2.4.2 for incoming samba4 update 2022-03-07 21:36:19 +00:00
devel *: bump for guile20 PREFIX change 2022-03-07 22:59:49 +00:00
distfiles
doc doc: Updated lang/guile20 to 2.0.14nb5 2022-03-07 22:59:29 +00:00
editors *: switch to lang/guile18 2022-03-07 20:36:50 +00:00
emulators suse: disable RELRO checks 2022-03-07 16:40:36 +00:00
filesystems py-fs: updated to 2.4.15 2022-02-07 20:57:20 +00:00
finance finance/ruby-braintree: update to 4.6.0 2022-03-06 09:00:43 +00:00
fonts harfbuzz-icu: Use INSTALL_LIB instead of LN to create symlinks 2022-03-04 13:41:16 +00:00
games nbsdgames: update to version 5 2022-03-04 07:12:50 +00:00
geography geography/qgis: Update to 3.22.3 2022-02-15 12:59:21 +00:00
graphics *: bump for guile20 PREFIX change 2022-03-07 22:59:49 +00:00
ham (ham/gnuradio-core) use '+=' instead of '=' for GCC_REQD 2022-02-20 11:03:43 +00:00
inputmethod *: switch to python 2.7 version of py-gobject3 2022-01-28 14:02:33 +00:00
lang guile20: move to guile/2.0 prefix 2022-03-07 22:59:18 +00:00
licenses licenses: Add libtpms-license 2022-02-01 15:07:01 +00:00
mail Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
math *: switch to lang/guile18 2022-03-07 20:36:50 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs modular-xorg/avoid-duplicate.mk: Use PKG_SKIP_REASON instead of RESTRICTED, 2022-02-13 10:44:38 +00:00
misc Updated misc/ocaml-opam-file-format to version 2.1.3. 2022-03-07 10:27:08 +00:00
mk mk/check: Do not waste time checking binaries that set EMUL_PLATFORM. 2022-03-07 16:53:08 +00:00
multimedia gstreamer1: make check a build-time dependency 2022-02-28 09:59:07 +00:00
net net/samba4: security update to 4.15.5 2022-03-07 22:45:49 +00:00
news sfeed: Update to 1.3 2022-03-07 22:47:33 +00:00
packages
parallel lua-lanes: update to 3.16.0 2022-03-06 07:51:10 +00:00
pkgtools Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
print *: switch to lang/guile18 2022-03-07 20:36:50 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
shells Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
sysutils Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc py-prettytable: update to 3.2.0. 2022-03-07 12:21:09 +00:00
time add time/lua-chronos 2022-03-06 08:58:20 +00:00
wm wm/leftwm: fix build 2022-02-27 20:36:26 +00:00
www Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
x11 *: bump for guile20 PREFIX change 2022-03-07 22:59:49 +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