Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2021-10-03 17:56:08 +00:00
archivers zip: Support MKPIE on i386. Move compiler bug hacks to hacks.mk. 2021-09-30 11:39:27 +00:00
audio audio/termusic: update to 0.3.16 2021-10-02 21:45:03 +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 Update chat/matrix-synapse to 1.43.0 2021-10-02 12:23:13 +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-guppy3: update to 3.1.1 2021-10-03 12:45:52 +00:00
distfiles
doc doc: Updated net/dbip-city-lite to 2021.10 2021-10-03 17:56:08 +00:00
editors For the sake of MKPIE, we need to .include Makefile.common before 2021-10-03 17:53:11 +00:00
emulators tme: workaround failures of SS2 emulation. 2021-10-01 16:14:48 +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 Use python27, bump version. 2021-10-02 05:58:57 +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 babl: better MASTER_SITES 2021-10-01 16:32:04 +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 gprolog: Disable MKPIE 2021-10-03 07:13:15 +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 py-pythran: mark as incompatible with Python 3.6 2021-10-02 06:52:11 +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 Fix dynamic linking with rhash 2021-10-03 17:34:11 +00:00
mk mk/ocaml.mk: Disable MKPIE pending investigation by an ocaml-knower 2021-10-03 07:06:42 +00:00
multimedia revbump for boost-libs 2021-09-29 19:00:02 +00:00
net dbip-city-lite: update to 2021-10. 2021-10-03 17:55:54 +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 coreutils: Update to 9.0 2021-10-03 13:11:56 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc log4cpp: don't autodetect doxygen 2021-10-03 17:31:23 +00:00
time revbump for boost-libs 2021-09-29 19:00:02 +00:00
wm blackbox: take maintainership 2021-10-03 12:49:58 +00:00
www firefox: sync CHECK_PORTABILITY_SKIPs w/ devel/nss 2021-10-02 13:10:52 +00:00
x11 x11/qt5ct: update to 1.5 2021-10-02 21:43:20 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
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