Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
rillig 2a5426f9ce mk/subst.mk: avoid undefined behavior in regular expressions
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html
says in section 9.3.2 BRE Ordinary Characters that only very few
characters may be preceded with a backslash.

As a side effect, this change allows parentheses in the variable names
listed in SUBST_VARS (even if that will never happen in practice).

The reason that the regression test had not replaced VAR.[] before was
simply that this variable had not been listed in SUBST_VARS.
2020-04-18 12:21:10 +00:00
archivers unrar: drop maintainership 2020-04-14 12:33:21 +00:00
audio (audio/deforaos-mixer) +CFLAGS+= -fPIC 2020-04-18 04:13:51 +00:00
benchmarks fio: update to 3.19. 2020-04-17 17:54:34 +00:00
biology Recursive revision bump after textproc/icu update 2020-04-12 08:27:48 +00:00
bootstrap bootstrap: Add a NetBSD README 2020-04-09 15:04:03 +00:00
cad Recursive revision bump after textproc/icu update 2020-04-12 08:27:48 +00:00
chat ekg: updated to 20200416 2020-04-17 12:29:32 +00:00
comms Recursive revision bump after textproc/icu update 2020-04-12 08:27:48 +00:00
converters libfreehand: Fix build with textproc/icu-66.1 2020-04-13 10:12:46 +00:00
cross Ignore portability problem in testsuite 2020-04-17 00:18:51 +00:00
databases Commit mistake fix 2020-04-16 09:08:46 +00:00
devel (devel/p5-Type-Tiny) Updated 1.006000 to 1.010001 2020-04-18 12:17:18 +00:00
distfiles
doc Updated lang/llvm, lang/clang, lang/clang-static-analyzer, lang/clang-tools-extra, devel/lldb, devel/lld, devel/polly, lang/compiler-rt, lang/libcxx, lang/libcxxabi, lang/libunwind, parallel/openmp, lang/zig, devel/py-llvmlite, math/py-numba 2020-04-18 08:15:43 +00:00
editors OmegaT: Update to 5.2.0 2020-04-17 11:05:44 +00:00
emulators Remove c++03 enforcement. Drop semaphore.h on !OSX, it breaks the use in 2020-04-15 22:54:38 +00:00
filesystems Recursive revision bump after textproc/icu update 2020-04-12 08:27:48 +00:00
finance Add missing include 2020-04-17 00:19:09 +00:00
fonts py-fonttools: updated to 4.8.1 2020-04-18 07:29:59 +00:00
games Add missing header 2020-04-15 22:52:09 +00:00
geography Needs py-cython 2020-04-15 22:55:50 +00:00
graphics Use GNU Autoconf to configure this, there are some problems with 2020-04-17 13:31:31 +00:00
ham Add missing includes 2020-04-17 13:33:44 +00:00
inputmethod Needs pkg-config 2020-04-17 13:34:11 +00:00
lang clang: better PLIST 2020-04-18 10:49:57 +00:00
licenses Import cross/ppc-morphos-sdk from wip 2020-04-14 21:55:30 +00:00
mail neomutt: update to 20200417. 2020-04-17 18:01:34 +00:00
math py-numba: updated to 0.49.0 2020-04-18 08:14:09 +00:00
mbone all: migrate homepages from http to https 2020-01-26 17:30:40 +00:00
meta-pkgs Recursive revision bump after textproc/icu update 2020-04-12 08:27:48 +00:00
misc libreoffice: add "CXXFLAGS+= -march=i586" on i386 for 64bit atomic ops. 2020-04-18 11:16:31 +00:00
mk mk/subst.mk: avoid undefined behavior in regular expressions 2020-04-18 12:21:10 +00:00
multimedia (multimedia/deforaos-player) Add CFLAGS+= -fPIC 2020-04-18 03:56:05 +00:00
net net/bind911: update to 9.11.18 2020-04-18 06:12:28 +00:00
news slrn: Declutter. 2020-04-13 12:00:48 +00:00
packages
parallel openmp: updated to 10.0.0 2020-04-18 08:05:11 +00:00
pkgtools pkgtools/pkglint: update to 20.1.2 2020-04-13 19:46:44 +00:00
print Supports only Python 2.7 2020-04-12 19:39:55 +00:00
regress mk/subst.mk: avoid undefined behavior in regular expressions 2020-04-18 12:21:10 +00:00
security py-gssapi: apparently Python 2.7 is not supported 2020-04-18 06:45:24 +00:00
shells Get ast-ksh building again on NetBSD, at least on amd64. 2020-04-17 21:28:01 +00:00
sysutils mate-power-manager: fix sandboxed builds 2020-04-17 21:07:00 +00:00
templates
textproc py-ICU: requires C++11 2020-04-17 16:58:32 +00:00
time gnome-pomodoro: fix typo 2020-04-14 14:49:46 +00:00
wm xfce4-wm: update to 4.14.1 2020-04-17 23:52:55 +00:00
www www/cliqz: Updates to 1.35.0 2020-04-18 07:58:36 +00:00
x11 Avoid C++11 UDL 2020-04-17 13:31:46 +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