Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2021-12-26 16:57:03 +00:00
archivers
audio fluidsynth: add missing optional dependencies to bl3.mk 2021-12-23 20:33:18 +00:00
benchmarks
biology
bootstrap
cad
chat weechat: update to 3.4 2021-12-19 13:22:21 +00:00
comms
converters
cross
databases apache-solr: use BLAKE2s 2021-12-23 07:56:28 +00:00
devel Define _NETBSD_SOURCE on NetBSD to make sure the function declaration of fdopendir is visible. 2021-12-26 16:42:42 +00:00
distfiles
doc doc: Updated pkgtools/pkglint to 21.4.0 2021-12-26 16:57:03 +00:00
editors Add experimental aarch64 config for emacs20. 2021-12-25 22:11:50 +00:00
emulators add and enable compat90 2021-12-23 04:33:06 +00:00
filesystems rst2man: Fix sandbox builds: ensure the versioned rst2man executable 2021-12-20 07:09:07 +00:00
finance (finance/bitcoin) Fix build by +patch-configre.ac, == issue 2021-12-26 05:27:37 +00:00
fonts py-fonttools: updated to 4.28.5 2021-12-19 16:47:16 +00:00
games Remove references to X11R6 where it isn't relevant. 2021-12-26 10:19:13 +00:00
geography (*/py-trytond-*) regen distinfo and PLIST, I'll adjust other fallout later 2021-12-22 22:54:44 +00:00
graphics graphics/camlimages: make it build again 2021-12-26 05:28:23 +00:00
ham
inputmethod
lang perl5: Add bits from UnixWare, from Boyd Lynn Gerber 2021-12-26 15:50:16 +00:00
licenses
mail mail//milter-greylist and spamass-milter: undo previous change. 2021-12-26 16:13:45 +00:00
math py-numpy: updated to 1.21.5 2021-12-20 11:27:57 +00:00
mbone
meta-pkgs py-trytond-webdav: remove 2021-12-24 16:10:39 +00:00
misc py-trytond-party-vcarddav: remove 2021-12-24 15:50:45 +00:00
mk mk: Set the default page size when compiling with RELRO with GCC on 2021-12-22 10:14:27 +00:00
multimedia gst-plugins1-bad: Ensure transcode plugin is fully (instead of partially...) 2021-12-23 20:50:31 +00:00
net libfetch: Only enable IPv6 on supported systems. Needed on UnixWare. 2021-12-26 10:24:22 +00:00
news newsbeuter: Fix building on NetBSD HEAD. 2021-12-20 07:19:42 +00:00
packages
parallel
pkgtools pkglint: update version number to match the upcoming branch 2021-12-26 16:56:47 +00:00
print
regress
security fail2ban: fix build with latest setuptools. 2021-12-23 22:27:35 +00:00
shells shells/starship: update to 1.1.1 2021-12-22 08:29:46 +00:00
sysutils Update to 2.11.0.1. From the changelog: 2021-12-22 16:03:27 +00:00
templates
textproc json2tsv: Update to 0.8 2021-12-21 14:49:05 +00:00
time py-trytond-calendar: remove 2021-12-24 16:08:52 +00:00
wm Remove references to X11R6 where it isn't relevant. 2021-12-26 10:19:13 +00:00
www py-pywebdav: remove 2021-12-24 16:12:34 +00:00
x11 X11R6 -> X11R7 2021-12-26 08:55:07 +00:00
_NetBSD-pkgdb
Makefile
pkglocate
README.md

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