Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2022-04-18 19:09:40 +00:00
archivers revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
audio revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
benchmarks revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
biology revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
bootstrap updated notes on bootstrapping with GNU ld on illumos 2022-04-13 07:41:00 +00:00
cad revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
chat revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
comms revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
converters revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
cross cross/*gcc: remove useless patches already CHECK_PORTABILITY_SKIP'ed 2022-04-15 17:16:07 +00:00
databases revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
devel revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
distfiles
doc doc: Updated net/gvproxy to 0.3.0 2022-04-18 18:24:44 +00:00
editors revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
emulators revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
filesystems revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
finance revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
fonts revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
games revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
geography revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
graphics revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
ham revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
inputmethod revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
lang revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
licenses licenses: Add libtpms-license 2022-02-01 15:07:01 +00:00
mail revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
math revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
misc revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
mk tools: Expose NATIVE_AR and NATIVE_RANLIB for cross-builds. 2022-04-16 08:58:19 +00:00
multimedia revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
net revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
news revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
packages
parallel revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
pkgtools revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
print revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
shells shells/starship: update to 1.5.4 2022-04-15 16:19:52 +00:00
sysutils revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
time revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
wm revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
www revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
x11 revbump for textproc/icu update 2022-04-18 19:09:40 +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