Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
nia 161d25a3e5 mk/defaults: Switch PKG_DEVELOPER on by default.
Bulk builds with PKG_DEVELOPER set have been the status quo for a while.

Every package in pkgsrc has to be expected to build with this.
2020-05-15 10:10:04 +00:00
archivers star: Fix typo in comment. 2020-05-14 13:27:53 +00:00
audio <semaphore.h> is a system header nowadays, so don't overlap locally 2020-05-14 19:03:12 +00:00
benchmarks fio: Couple of SunOS fixes. 2020-04-30 09:42:27 +00:00
biology biology/canu: don't try to chmod system binaries 2020-05-14 18:30:05 +00:00
bootstrap Highly silly typo. 2020-05-07 14:20:49 +00:00
cad Huge package, can take a long time to pkg_create 2020-05-14 19:16:48 +00:00
chat ekg: regen checksum 2020-05-07 13:02:43 +00:00
comms Fix compare of pointer and NUL constant. Allow newer libtiff. Bump 2020-05-14 19:17:45 +00:00
converters 2vcard: update to 0.6. 2020-05-13 19:58:32 +00:00
cross Don't break <exception> with GCC's abort hack by always including it 2020-05-14 19:02:30 +00:00
databases postgresqlNN: updated to 12.3, 11.8, 10.13, 9.6.18, and 9.5.22 2020-05-15 09:45:00 +00:00
devel py-setuptools: updated to 44.1.0 2020-05-15 08:27:54 +00:00
distfiles
doc doc: Removed inputmethod/imhangul_status_applet 2020-05-15 09:47:52 +00:00
editors Resolve various template matching issues when building with clang and 2020-05-14 19:06:55 +00:00
emulators Consistently build as C++11 source, but ignore narrow issues. 2020-05-14 19:35:59 +00:00
filesystems Replace internal .libs copy of the static archive after modification. 2020-05-14 20:08:30 +00:00
finance py-stripe: updated to 2.48.0 2020-05-12 06:51:27 +00:00
fonts tex-sourcesanspro{,-doc}: update to 2.8 2020-05-12 11:58:15 +00:00
games Fix boost::placeholders fallout 2020-05-14 19:27:01 +00:00
geography No longer supports Python 2.7 2020-05-14 19:32:31 +00:00
graphics graphics/graphviz: skip check for unknown configure options 2020-05-15 06:02:55 +00:00
ham Fix boost::placeholders fallout 2020-05-14 19:22:44 +00:00
inputmethod inputmethod: remove imhangul_status_applet 2020-05-15 09:46:24 +00:00
lang python38: updated to 3.8.3 2020-05-15 08:24:50 +00:00
licenses add afl-3.0 (Academic Free License) 2020-04-30 08:40:06 +00:00
mail mailman: HOMEPAGE is https 2020-05-15 09:42:43 +00:00
math Doesn't support Python 2.7 2020-05-14 19:31:40 +00:00
mbone Fix const issues 2020-05-14 19:26:01 +00:00
meta-pkgs texlive-collection-pictures: update to rev 54812 2020-05-10 13:04:41 +00:00
misc Fix const use. 2020-05-14 19:20:32 +00:00
mk mk/defaults: Switch PKG_DEVELOPER on by default. 2020-05-15 10:10:04 +00:00
multimedia Can't have two functions with the signature of a copy constructor. 2020-05-14 19:30:42 +00:00
net Dependencies of coilmq have non-overlapping set of Python versions. 2020-05-14 19:38:45 +00:00
news news/suck: suppress USE_TOOLS+=perl warning 2020-05-10 14:19:38 +00:00
packages
parallel parallel/ganglia-monitor-core: clean up SUBST_FILES 2020-05-10 14:18:54 +00:00
pkgtools pkgtools/pkglint: update to 20.1.5 2020-05-09 19:26:11 +00:00
print Fix bugs in the non-blocking connect handling so that the print dialog 2020-05-14 19:45:50 +00:00
regress regress/infra-unittests: clean up test code, add portability 2020-05-12 05:34:04 +00:00
security Remove empty files that should be been nuked earlier 2020-05-14 21:40:01 +00:00
shells pbosh: Update to 2020-05-11 2020-05-12 09:06:39 +00:00
sysutils u-boot-rockpro64-ayufan: update to latest snapshot 2020-05-15 09:37:25 +00:00
templates
textproc textproc/bat: Updates to 0.15.1 2020-05-15 07:16:08 +00:00
time Really replace CC 2020-05-14 18:59:15 +00:00
wm Explicitly narrow initializers. 2020-05-14 18:57:58 +00:00
www py-sanic: updated to 20.3.0 2020-05-15 08:32:34 +00:00
x11 x11/kwindowsystem: remove no-op SUBST block 2020-05-15 05:59:18 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md README.md: minor adjustments 2020-01-15 16:19:22 +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.

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