Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
taca 2ecd470ad5 devel/ruby-test-unit: not compatible with ruby31
Avoid building this package with Ruby 3.1 now since Ruby 3.1.1 contains
the same version of test-unit and cause conclicts.

Noted by wiz@.
2022-03-27 14:34:35 +00:00
archivers par2: include <unistd.h> for sysconf(3) 2022-03-27 14:08:33 +00:00
audio jack: fix build on SunOS 2022-03-26 22:36:19 +00:00
benchmarks google-benchmark: fix build on SunOS 2022-03-27 12:04:05 +00:00
biology biology/stacks: Update to 2.60 2022-03-17 23:49:08 +00:00
bootstrap README.NetBSD: slightly rephrase note about make(1) 2022-02-25 23:03:10 +00:00
cad kicad: use atomic64.mk for std::atomic<size_t> 2022-03-23 23:07:23 +00:00
chat weechat: update to 3.4.1 2022-03-25 08:22:24 +00:00
comms asterisk16: Update to 16.24.0 2022-03-04 12:22:31 +00:00
converters (converters/opencc) Updated 1.1.2 to 1.1.3 2022-03-13 06:59:19 +00:00
cross Update cross/ppc-morphos-sdk to 20220309 2022-03-20 20:27:22 +00:00
databases postgresql-promscale_extension: fix build on SunOS 2022-03-27 14:05:36 +00:00
devel devel/ruby-test-unit: not compatible with ruby31 2022-03-27 14:34:35 +00:00
distfiles
doc doc/TODO: add some 2022-03-27 06:59:08 +00:00
editors gtranslator: fix build with latest meson 2022-03-24 20:15:57 +00:00
emulators qemu: fix PLIST on SunOS 2022-03-27 01:44:17 +00:00
filesystems openafs-devel: remove 2022-03-24 19:10:39 +00:00
finance gnucash: switch to guile30 2022-03-15 15:43:54 +00:00
fonts fontforge: update to 20220308. 2022-03-14 14:12:41 +00:00
games games/xchomp: fix package version to start with a digit 2022-03-21 22:07:57 +00:00
geography geos: fix build on SunOS 2022-03-27 13:33:21 +00:00
graphics librsvg: fix build on NetBSD/i386 2022-03-26 15:24:29 +00:00
ham gnuradio*: update to 3.10.1.1 2022-03-12 23:04:44 +00:00
inputmethod fcitx5: handle xdg autostart .desktop file correctly. Bump. 2022-03-27 13:17:34 +00:00
lang clisp: temporarily avoid failing RELRO/PIE checks for branch 2022-03-27 10:57:59 +00:00
licenses licenses: Add libtpms-license 2022-02-01 15:07:01 +00:00
mail rails 7.0 wants ruby 2.7+, mark it as such 2022-03-27 06:43:11 +00:00
math R: remove superfluous "-Wl," in configure patch 2022-03-23 21:16:44 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs avoid-duplicate.mk: defang per tech-pkg thread 2022-03-26 19:48:21 +00:00
misc Explicitly included ocaml.mk in misc/dose3 Makefile 2022-03-21 07:50:50 +00:00
mk mk/java-vm.mk: clean up documentation 2022-03-19 14:10:51 +00:00
multimedia mkvtoolnix: Try to fix build on various OS. 2022-03-21 21:30:16 +00:00
net ruby-diva: does not support ruby 2.6, mark it as such 2022-03-27 06:45:51 +00:00
news nget: remove 2022-03-25 10:41:34 +00:00
packages
parallel gridscheduler: remove 2022-03-25 10:46:04 +00:00
pkgtools rdigest: fix patch context so this builds again 2022-03-25 10:30:25 +00:00
print Update to 6.1 (note new upstream, also followed by FreeBSD). From the 2022-03-20 01:23:24 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security Update to 0.15 2022-03-20 01:48:58 +00:00
shells lshell: convert to egg.mk 2022-03-25 11:36:41 +00:00
sysutils ioping: claim NetBSD is like FreeBSD 2022-03-26 13:06:58 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc rails 7.0 wants ruby 2.7+, mark it as such 2022-03-27 06:43:11 +00:00
time Update to 1.57 2022-03-20 02:29:09 +00:00
wm bmpanel2: add missing file to PLIST 2022-03-25 11:33:44 +00:00
www paros: disable RELRO/MKPIE checks for prebuilt binaries 2022-03-27 10:29:40 +00:00
x11 filerunner: Fix RELRO builds. Do not mandate -O3. 2022-03-27 10:26:53 +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