Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
pho 82205ad0bc Update to regex-base-0.94.0.1
* Workaround for {-# LANGUAGE Haskell2010 #-} parser regression
  introduced in GHC 9.0
* Optimization flag -O2 has been removed
2021-04-24 06:49:43 +00:00
archivers Update PLIST 2021-04-23 03:59:26 +00:00
audio minimp3: fix version 2021-04-23 16:40:29 +00:00
benchmarks revbump for textproc/icu 2021-04-21 11:40:12 +00:00
biology py-dnaio: mark incompatible with python 2 2021-04-22 08:38:59 +00:00
bootstrap bootstrap: Add MidnightBSD support to bootstrap shell script 2021-03-15 16:22:06 +00:00
cad revbump for boost-libs 2021-04-21 13:24:06 +00:00
chat revbump for boost-libs 2021-04-21 13:24:06 +00:00
comms revbump for boost-libs 2021-04-21 13:24:06 +00:00
converters Update to text-conversions-0.3.1 2021-04-23 09:12:12 +00:00
cross atasm: update to 1.09. 2021-03-21 10:21:07 +00:00
databases redis: updated to 6.2.2 2021-04-22 15:46:53 +00:00
devel devel: +hs-pretty-simple 2021-04-24 06:46:32 +00:00
distfiles
doc doc: Updated lang/nodejs to 14.16.1nb3 2021-04-24 06:33:17 +00:00
editors nano: actually depend on pkg-config 2021-04-23 18:18:02 +00:00
emulators revbump for boost-libs 2021-04-21 13:24:06 +00:00
filesystems revbump for boost-libs 2021-04-21 13:24:06 +00:00
finance Update to Decimal-0.5.2 2021-04-24 05:45:29 +00:00
fonts *: remove dead download sites 2021-04-21 15:48:03 +00:00
games nbsdgames: fix typo 2021-04-23 08:13:16 +00:00
geography geography/gdal-lib: explicit dep on libgeotiff and qhull 2021-04-23 20:15:14 +00:00
graphics breeze-icons: make python dependencies explicit 2021-04-23 19:21:15 +00:00
ham tfkiss: remove dead download site 2021-04-21 15:26:50 +00:00
inputmethod libtabe: remove dead download link 2021-04-23 22:25:36 +00:00
lang nodejs: fix previous; bump revision to nb3. 2021-04-24 06:32:00 +00:00
licenses add eternal-lands-license 2021-04-04 09:36:29 +00:00
mail imap-uw*: remove dead download link 2021-04-24 00:30:27 +00:00
math *: remove dead download link 2021-04-24 00:16:04 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs xfce4-extras: improve description 2021-04-24 03:17:17 +00:00
misc Update to extra-1.7.9 2021-04-24 05:50:38 +00:00
mk Rework the PLIST handling to support executable-only packages 2021-04-23 03:57:16 +00:00
multimedia revbump for boost-libs 2021-04-21 13:24:06 +00:00
net citrix_ica: remove dead download link 2021-04-24 00:04:27 +00:00
news revbump for boost-libs 2021-04-21 13:24:06 +00:00
packages
parallel revbump for boost-libs 2021-04-21 13:24:06 +00:00
pkgtools Correct the order of redirection 2021-04-22 08:54:18 +00:00
print LPRng-doc: remove dead download link 2021-04-24 00:26:13 +00:00
regress regress/infra-unittests: use single quotes for string literals 2021-01-04 21:11:43 +00:00
security pgp5: remove dead download link 2021-04-24 00:27:13 +00:00
shells bash: add sbin to default PATH 2021-04-23 09:43:30 +00:00
sysutils ccze: remove dead download links 2021-04-23 22:25:03 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc Update to regex-base-0.94.0.1 2021-04-24 06:49:43 +00:00
time Update PLIST 2021-04-24 06:23:41 +00:00
wm revbump for boost-libs 2021-04-21 13:24:06 +00:00
www lhs: remove dead download link 2021-04-23 23:57:29 +00:00
x11 konsole: fix builds: needs kinit dependency 2021-04-24 04:39:18 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
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