Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2021-02-20 21:51:16 +00:00
archivers archivers/lzmalib: Note existence of xz in DESCR 2021-02-20 13:35:37 +00:00
audio strawberry: fix build with protobuf 3.15.0 2021-02-20 11:02:41 +00:00
benchmarks Add hyperfine 2021-01-29 09:16:20 +00:00
biology biology/Makefile: sort entries 2021-02-12 00:24:35 +00:00
bootstrap In the process of looking at PR#55952, we discovered something that 2021-02-15 12:56:53 +00:00
cad *: Recursive revbump from audio/pulseaudio-14.2.nb1 2021-02-07 06:30:06 +00:00
chat bitlbee-facebook: Update to 1.2.2 2021-02-16 09:53:37 +00:00
comms Add tio. 2021-02-17 14:09:42 +00:00
converters opencc: Update to 1.1.1 2021-02-20 13:56:07 +00:00
cross mingw-w64-i686-binutils: Update to 2.36 2021-01-28 12:43:28 +00:00
databases leveldb: Enable -fPIC to avoid link errors by consumer, upcoming librime-1.7.2 2021-02-20 13:45:35 +00:00
devel google-glog: Update to 0.4.0 2021-02-20 20:46:13 +00:00
distfiles
doc doc: Added inputmethod/fcitx5-unikey version 5.0.3 2021-02-20 21:50:25 +00:00
editors editors/kibi: update to 0.2.2 2021-02-14 14:23:36 +00:00
emulators Update to 0.6.3 2021-02-20 14:24:58 +00:00
filesystems py-fs: updated to 2.4.12 2021-01-24 20:27:06 +00:00
finance (finance/py-eth-utils) Fix build by py36, UnicodeDecodeError: 2021-02-18 12:35:02 +00:00
fonts tex-xits{,-doc}: update to 1.302 2021-02-20 00:49:06 +00:00
games pinball: Add missing patch 2021-02-19 14:54:56 +00:00
geography libmaxminddb: update to 1.5.2. 2021-02-19 08:16:37 +00:00
graphics tex-animate{,-doc}: update to 20201007 2021-02-20 09:42:52 +00:00
ham ham/xlog: Improve workarounds for upstream portability issues 2021-02-16 20:22:52 +00:00
inputmethod inputmethod: Enable fcitx5-unikey 2021-02-20 21:51:16 +00:00
lang python39 py39-html-docs: updated to 3.9.2 2021-02-20 19:30:37 +00:00
licenses licenses: add timescale-license 2021-02-13 11:31:10 +00:00
mail notmuch: Update to 0.31.4 2021-02-19 15:37:43 +00:00
math (*/hs-*) BUILDLINK_API_DEPENDS.ghc <8.10, again 2021-02-18 15:07:26 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs meta-pkgs: Enable rime-data 2021-02-20 21:00:10 +00:00
misc libreoffice: switch to using bsdtar instead of gtar 2021-02-18 12:52:20 +00:00
mk mkreadme: Do not generate an index of packages with IPv6 support 2021-02-19 17:49:06 +00:00
multimedia Add dav1d version 0.8.1 to pkgsrc-current 2021-02-19 18:01:39 +00:00
net tor: switch to xz for liblzma 2021-02-20 09:08:58 +00:00
news neix: add an upstream patch URL 2021-02-08 02:56:19 +00:00
packages
parallel Revbump packages with a runtime Python dep but no version prefix. 2020-12-04 20:44:57 +00:00
pkgtools texlive2pkg: update to 1.9 2021-02-20 05:08:37 +00:00
print tex-zref{,-doc}: update to 2.32 2021-02-20 11:07:27 +00:00
regress regress/infra-unittests: use single quotes for string literals 2021-01-04 21:11:43 +00:00
security openssl: update to 1.1.1j. 2021-02-20 08:53:23 +00:00
shells bash: update to 5.1.4. 2021-01-04 10:39:23 +00:00
sysutils sysutils/sfm: update to 0.4.0 2021-02-19 07:36:19 +00:00
templates mkreadme: Do not generate an index of packages with IPv6 support 2021-02-19 17:49:06 +00:00
textproc libpinyin: Update to 2.6.0 2021-02-20 13:39:46 +00:00
time tex-datetime2-romanian: update to 1.02 2021-02-20 09:59:07 +00:00
wm enlightenment16: use PREFIX instead of LOCALBASE 2021-02-20 18:59:53 +00:00
www webalizer: fix crashes 2021-02-20 14:37:23 +00:00
x11 x11: Enable xcb-imdkit 2021-02-15 15:07:08 +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 *: fix a bunch of typos in README and various documentation files. 2020-12-12 10:42:47 +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.

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