BSD Ports

devel/coccinelle 1.3.3 NetBSD

Tool for writing and applying semantic patches

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
74a9cc220b
License
gnu-gpl-v2
Categories
devel
Package size
10491.4 KiB, 59234.6 KiB installed

Description

Coccinelle is a program matching and transformation engine which provides the language SmPL (Semantic Patch Language) for specifying desired matches and transformations in C code. Coccinelle was initially targeted towards performing collateral evolutions in Linux. Such evolutions comprise the changes that are needed in client code in response to evolutions in library APIs, and may include modifications such as renaming a function, adding a function argument whose value is somehow context-dependent, and reorganizing a data structure. Beyond collateral evolutions, Coccinelle is successfully used (by us and others) for finding and fixing bugs in systems code.

In the other systems

The newest version among them is 1.3.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/coccinelle1.3.3 newestnone known-[email protected]2026-09-12
FreeBSDdevel/coccinelle1.3.1_1 behind since 2026-08-21none known-[email protected]2026-08-04
OpenBSDdevel/coccinelle1.3.3 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-09-08
DragonFlydevel/coccinelle1.3 behind since 2026-08-21none known-[email protected]-
GhostBSDdevel/coccinelle1.3.1_1 behind since 2026-08-21no data-[email protected]-

Compare across BSDs

Version history 2

  1. 1.3.3 74a9cc220b
  2. 1.3.2 e8a5cca59d

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install coccinelle

From pkgsrc:

cd /usr/pkgsrc/devel/coccinelle && 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.3
NetBSD 10.1 aarch641.3.3
SmartOS / illumos x86_64-
macOS 15 arm64-

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1
Required by 1

Commit history 2

DateCommitCreditsLog message
74a9cc220b wiz coccinelle: update to 1.3.3.
* 1.3.3 ** Bugfixes: - Improve performance with satLabel cache (thanks to Denis Efremov)
e8a5cca59d wiz coccinelle: update to 1.3.2.
* 1.3.2 ** Language: - Minor tweaks to improve accuracy ** Features: - Add --c-internals and --cocci-internals flags for debugging - Use pcre2 instead of pcre ** Bugfixes: - Fix performance regression introduced in 1.2 resulting in >2x improvement