Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
sjmulder 069e0b55cc devel/mustach: Update to 1.1
Packaging changes:
 - Added a bl3 file.

Upstream does not provide a changelog, but here's an incomplete and
possibly inaccurate reconstruction from source history:

1.1
---
New:
 - API refactored to take lengths to ease working with partial or
   non-NULL-terminated strings. (ABI break)

Fixes:
 - Use correct int type for jansson (json_int_t instead of int64_t).
 - JSON output of different backends is now the same.

1.0 (retacted)
--------------
Legal:
 - License changed to ISC.

Fixes:
 - Possible data leak in memfile_open() by clearing buffers.
 - Fix build on Solaris-likes by including alloca.h.
 - Fix Windows build by including malloc.h, using size_t instead of
   ssize_t, and using the standard tenary operator syntax.
 - Fix JSON in test3 by using double quote characters.
 - Fix installation in alternative directories such as
   /opt/pkg/lib on macOS by setting install_name.
 - Normalise return values in compare() implementations.

New:
 - Support for cJSON and jansson libraries.
 - Version info now embedded at build time and shown with mustach(1)
   usage.
 - Versioned so-names (e.g. libxlsx.so.1.0).
 - BINDIR, LIBDIR and INCLUDEDIR variables in Makefile.
 - New mustach-wrap.{c,h} to ease implementation new libraries,
   extracted and refactored from the existing implementations.
 - Makefile now supports 3 modes: single libmustach (default), split
   libmustache-core etc, and both.
 - Any or all backends (json-c, jansson, etc) can be enabled at compile
   time. By default, all available libraries are used.
 - mustach(1) can use any JSON backend instead of only json-c.
 - MUSTACH_COMPATIBLE_0_99 can be defined for backwards source
   compatibility.
 - 'No extensions' can now be set Mustach_With_NoExtensions instead of
   passing 0.
 - pkgconfig (.pc) file for library.
 - Manual page for mustach(1).

Changed:
 - Many renames.
 - Maximum tag length increased from 1024 to 4096.
 - Other headers include json-c.h instead of using forward declarations.
 - mustach(1) reads from /dev/stdin instead of fd 0.
 - Several structures are now taken as const.
 - New/changed Makefile targets.
2021-08-06 00:49:20 +00:00
archivers *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
audio lilv: set default lv2 plugin path, bump PKGREVISION 2021-08-05 15:48:22 +00:00
benchmarks benchmarks/hyperfine: simplify Makefile 2021-08-05 08:50:35 +00:00
biology py-numpy: "Python version >= 3.7 required." 2021-06-29 08:41:59 +00:00
bootstrap Spaces to tabs (NFCI). 2021-07-13 12:43:58 +00:00
cad kicad-*: update to 5.1.10 2021-07-30 22:47:18 +00:00
chat Update chat/element-web to 1.7.34 2021-08-03 19:51:56 +00:00
comms asterisk13: Update to Asterisk 13.38.3. 2021-08-01 02:57:12 +00:00
converters py-charset-normalizer: added version 2.0.3 2021-07-30 04:14:49 +00:00
cross cross/ppc-morphos-gcc-10/Makefile: Fix comment 2021-07-25 17:31:10 +00:00
databases mariadb*: Include buildlink3 file for PAM 2021-08-05 11:21:23 +00:00
devel devel/mustach: Update to 1.1 2021-08-06 00:49:20 +00:00
distfiles
doc doc: Updated misc/libmateweather to 1.24.1 2021-08-06 00:06:16 +00:00
editors editors/kibi: simplify Makefile 2021-08-05 08:49:16 +00:00
emulators *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
filesystems fuse-djmount: retire; does not build with external nor internal libupnp; last release 2006-08-07 2021-06-15 09:05:40 +00:00
finance finance/rates: simplify Makefile 2021-08-03 09:00:37 +00:00
fonts py-fonttools: updated to 4.25.2 2021-07-30 12:55:42 +00:00
games warzone2100: Update to 4.1.2 2021-08-03 18:09:27 +00:00
geography *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
graphics graphics/viu: simplify Makefile 2021-08-05 08:54:37 +00:00
ham *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
inputmethod ibus-python: remove reference to Linux in DESCR 2021-06-23 20:25:13 +00:00
lang coreclr: removed; approved by @kamil 2021-08-05 08:01:18 +00:00
licenses Add SMath Studio as math/smath-studio. 2021-06-29 14:28:12 +00:00
mail *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
math py-uncertainties: updated to 3.1.6 2021-08-05 10:14:30 +00:00
mbone *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
meta-pkgs bulk-test-llvm: add creduce 2021-07-15 16:55:00 +00:00
misc libmateweather: update to 1.24.1 2021-08-06 00:05:49 +00:00
mk mk: Add MariaDB 10.6 bits. 2021-08-04 16:08:43 +00:00
multimedia mkvtoolnix: updated to 60.0.0 2021-08-01 18:09:38 +00:00
net net/yaydl: simplify Makefile 2021-08-05 08:47:25 +00:00
news lottanzb: comment out dead HOMEPAGE and MASTER_SITES. 2021-07-20 21:38:59 +00:00
packages
parallel threadingbuildingblocks: fix build on Linux, we need to link against dl. 2021-07-29 20:03:28 +00:00
pkgtools pkgin: Update to 21.7.0. 2021-07-22 14:47:46 +00:00
print py-octoprint: prefer PYTHON_VERSIONS_INCOMPATIBLE 2021-08-05 13:08:08 +00:00
regress *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
security py-acme py-certbot*: updated to 1.18.0 2021-08-05 10:52:00 +00:00
shells shells/nushell: update to 0.35.0 2021-08-03 17:57:35 +00:00
sysutils caja-extensions: update to 1.24.1 2021-08-06 00:03:07 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc py-sphinxcontrib-serializinghtml: updated to 1.1.5 2021-08-05 18:39:39 +00:00
time time/quest-tui: simplify Makefile 2021-08-05 08:55:18 +00:00
wm *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
www py-sanic: updated to 21.6.2 2021-08-05 18:37:30 +00:00
x11 qt5-qtwebengine: TOOL_DEPENDS is correct for ninja. 2021-08-04 08:22:30 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md use libera.chat's hosted kiwiirc 2021-05-29 13:14:10 +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