BSD Ports

devel/coccinelle 1.3 DragonFly

Program matching and transformation engine

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
devel
Package size
8454.9 KiB, 41748.2 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
DragonFlydevel/coccinelle1.3 behind since 2026-08-21none known-[email protected]-
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
NetBSDdevel/coccinelle1.3.3 newestnone known-[email protected]2026-09-12
GhostBSDdevel/coccinelle1.3.1_1 behind since 2026-08-21no data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install coccinelle

From DPorts:

cd /usr/dports/devel/coccinelle && make install clean

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 3
Required by 1