BSD Ports

Vulnerable: version 1.3 is affected by 2 known vulnerabilities. See below.

devel/samurai 1.3 NetBSD

Ninja-compatible build tool written in C

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
2ae9d31f33
License
isc AND apache-2.0
Categories
devel
Package size
33.5 KiB, 82.2 KiB installed

Description

samurai is a ninja-compatible build tool written in C99 with a focus on simplicity, speed, and portability.

samurai implements the ninja build language through version 1.9.0 except for MSVC dependency handling (`deps = msvc`). It uses the same format for `.ninja_log` and `.ninja_deps` as ninja, currently version 5 and 4 respectively.

It is feature-complete and supports most of the same options as ninja.

samurai requires various POSIX.1-2008 interfaces.

In the other systems

SystemPortVersion
NetBSDdevel/samurai1.3
FreeBSDdevel/samurai1.3
OpenBSDdevel/samurai1.3
DragonFlydevel/samurai1.2.2024.09.04
MidnightBSDdevel/samurai1.2.16
HardenedBSDdevel/samurai1.3
GhostBSDdevel/samurai1.3

Install

Binary package:

pkgin install samurai

From pkgsrc:

cd /usr/pkgsrc/devel/samurai && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3
NetBSD 10.1 aarch641.2
SmartOS / illumos x86_64-
macOS 15 arm641.3

Dependencies

Required by 2

Known vulnerabilities 2

Commit history 2

DateCommitCreditsLog message
2ae9d31f33 wiz samurai: try fixing build on Darwin, following upstream CI
ab7d36f4e5 wiz samurai: update to 1.3.
New features Add graph subtool. Add -l, build scheduling based on load-average (disabled by default). Print exit status of failed commands. Forward interrupting signals SIGTERM, SIGINT, SIGHUP, and SIGQUIT to child processess. Minor compatibility fixes Allow stray indented, but otherwise empty lines. Add micro version number to --version output. Handle escaped newlines in depfiles. Bug fixes Fix NULL dereference during dry run with phony edges (#66). Fix NULL dereference when rule has empty rspfile, rspfile_content, or command (#67, #68). Fix division by 0 when manifest contains only a single phony edge (#69). Fix mtime propogation of phony edges with non-phony inputs, whose output doesn't exist. Internal cleanups …