Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2022-04-03 19:16:04 +00:00
archivers archivers/ruby-xz: update to 1.0.3 2022-04-03 05:45:55 +00:00
audio revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
benchmarks google-benchmark: fix build on SunOS 2022-03-27 12:04:05 +00:00
biology revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
bootstrap bootstrap: Update platforms section 2022-04-03 13:10:18 +00:00
cad {c,d,e}*/*: revbump(1) for libsndfile 2022-03-28 10:52:56 +00:00
chat revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
comms tio: add missing pkg-config tool dependency 2022-04-03 14:35:37 +00:00
converters p5-JSON: reset PKGREVISION after update 2022-04-03 09:00:30 +00:00
cross Update cross/ppc-morphos-sdk to 20220309 2022-03-20 20:27:22 +00:00
databases revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
devel revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
distfiles
doc doc: Updated x11/listres to 1.0.5 2022-04-03 19:16:04 +00:00
editors editors: add helix. 2022-04-02 09:36:15 +00:00
emulators Don't forget the PLIST... 2022-04-03 14:43:51 +00:00
filesystems ltfs: finish removing patch that was removed from distinfo 2022-03-31 07:29:09 +00:00
finance revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
fonts fonts/Makefile: + selawik-ttf 2022-03-30 13:56:14 +00:00
games *: recursive bump for vala 0.56 2022-03-30 10:02:21 +00:00
geography revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
graphics revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
ham {f,h,l,n,p}*/*: revbump(1) for libsndfile 2022-03-28 10:56:15 +00:00
inputmethod revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
lang egg.mk: add some comments about setuptools {TOOL_,}DEPENDS 2022-04-03 13:59:33 +00:00
licenses licenses: Add libtpms-license 2022-02-01 15:07:01 +00:00
mail libspf2-1.2.11 from 2022-04-02 21:41:38 +00:00
math cloog: remove 2022-04-03 07:54:53 +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 revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
mk mk/tools: Fix readelf for cross-compilation on NetBSD. 2022-04-03 10:33:44 +00:00
multimedia revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
net revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
news nget: remove 2022-03-25 10:41:34 +00:00
packages
parallel sge: get slightly further building, still BROKEN 2022-04-02 11:48:19 +00:00
pkgtools rdigest: fix patch context so this builds again 2022-03-25 10:30:25 +00:00
print pdf2djvu: update to 0.9.18.2. 2022-04-03 10:09:58 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security security/p5-Crypt-OpenPGP: installs an executable requiring devel/p5-Term-ReadKey 2022-04-03 07:53:14 +00:00
shells lshell: convert to egg.mk 2022-03-25 11:36:41 +00:00
sysutils revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc textproc/ruby-asciidoctor: update to 2.0.17 2022-04-03 16:01:34 +00:00
time xfce4-orage: update to 4.16.0 2022-04-02 01:24:17 +00:00
wm revbump for devel/protobuf 2022-04-03 18:50:16 +00:00
www ruby-gtk2, ruby-webkit-gtk2, ruby-gtksourceview2, ruby-vte: remove. 2022-04-03 09:01:08 +00:00
x11 listres: update to 1.0.5. 2022-04-03 19:15:55 +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