notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
coccinelle Program matching and transformation engine
1.1.1_1 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.1.1Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2010-09-14 11:16:38
Last Update: 2024-02-26 05:15:56
Commit Hash: fca8fe7
People watching this port, also watch:: python, unoconv, py39-pycparser, sysinfo
License: GPLv2
WWW:
http://coccinelle.lip6.fr/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (76 items)
Collapse this list.
  1. /usr/local/share/licenses/coccinelle-1.1.1_1/catalog.mk
  2. /usr/local/share/licenses/coccinelle-1.1.1_1/LICENSE
  3. /usr/local/share/licenses/coccinelle-1.1.1_1/GPLv2
  4. bin/spatch
  5. bin/spgen
  6. lib/coccinelle/dllpyml_stubs.so
  7. lib/coccinelle/ocaml/ast0_cocci.cmi
  8. lib/coccinelle/ocaml/ast0_cocci.cmx
  9. lib/coccinelle/ocaml/ast_c.cmi
  10. lib/coccinelle/ocaml/ast_c.cmx
  11. lib/coccinelle/ocaml/ast_cocci.cmi
  12. lib/coccinelle/ocaml/ast_cocci.cmx
  13. lib/coccinelle/ocaml/coccilib.cmi
  14. lib/coccinelle/ocaml/coccilib.cmx
  15. lib/coccinelle/ocaml/commands.cmi
  16. lib/coccinelle/ocaml/commands.cmx
  17. lib/coccinelle/ocaml/common.cmi
  18. lib/coccinelle/ocaml/common.cmx
  19. lib/coccinelle/ocaml/config.cmi
  20. lib/coccinelle/ocaml/config.cmx
  21. lib/coccinelle/ocaml/dumper.cmi
  22. lib/coccinelle/ocaml/dumper.cmx
  23. lib/coccinelle/ocaml/exposed_modules.cmi
  24. lib/coccinelle/ocaml/exposed_modules.cmx
  25. lib/coccinelle/ocaml/externalanalysis.cmi
  26. lib/coccinelle/ocaml/externalanalysis.cmx
  27. lib/coccinelle/ocaml/flag.cmi
  28. lib/coccinelle/ocaml/flag.cmx
  29. lib/coccinelle/ocaml/flag_parsing_c.cmi
  30. lib/coccinelle/ocaml/flag_parsing_c.cmx
  31. lib/coccinelle/ocaml/iteration.cmi
  32. lib/coccinelle/ocaml/iteration.cmx
  33. lib/coccinelle/ocaml/lexer_c.cmi
  34. lib/coccinelle/ocaml/lexer_c.cmx
  35. lib/coccinelle/ocaml/lib_parsing_c.cmi
  36. lib/coccinelle/ocaml/lib_parsing_c.cmx
  37. lib/coccinelle/ocaml/ocamlcocci_aux.cmi
  38. lib/coccinelle/ocaml/ocamlcocci_aux.cmx
  39. lib/coccinelle/ocaml/parmap.cmi
  40. lib/coccinelle/ocaml/parmap.cmx
  41. lib/coccinelle/ocaml/parse_c.cmi
  42. lib/coccinelle/ocaml/parse_c.cmx
  43. lib/coccinelle/ocaml/parser_c.cmi
  44. lib/coccinelle/ocaml/parser_c.cmx
  45. lib/coccinelle/ocaml/prepare_ocamlcocci.cmi
  46. lib/coccinelle/ocaml/prepare_ocamlcocci.cmx
  47. lib/coccinelle/ocaml/pretty_print_c.cmi
  48. lib/coccinelle/ocaml/pretty_print_c.cmx
  49. lib/coccinelle/ocaml/regexp.cmi
  50. lib/coccinelle/ocaml/regexp.cmx
  51. lib/coccinelle/ocaml/run_ocamlcocci.cmi
  52. lib/coccinelle/ocaml/run_ocamlcocci.cmx
  53. lib/coccinelle/ocaml/token_c.cmi
  54. lib/coccinelle/ocaml/token_c.cmx
  55. lib/coccinelle/ocaml/visitor_c.cmi
  56. lib/coccinelle/ocaml/visitor_c.cmx
  57. lib/coccinelle/ocaml/yes_prepare_ocamlcocci.cmi
  58. lib/coccinelle/ocaml/yes_prepare_ocamlcocci.cmx
  59. lib/coccinelle/python/coccilib/__init__.py
  60. lib/coccinelle/python/coccilib/elems.py
  61. lib/coccinelle/python/coccilib/iteration.py
  62. lib/coccinelle/python/coccilib/org.py
  63. lib/coccinelle/python/coccilib/output.py
  64. lib/coccinelle/python/coccilib/report.py
  65. lib/coccinelle/python/coccilib/trac.py
  66. lib/coccinelle/python/coccilib/xml_firehose.py
  67. lib/coccinelle/standard.h
  68. lib/coccinelle/standard.iso
  69. share/man/man1/pycocci.1.gz
  70. share/man/man1/spatch.1.gz
  71. share/man/man1/spgen.1.gz
  72. share/man/man3/Coccilib.3cocci.gz
  73. share/bash-completion/completions/spatch
  74. @owner
  75. @group
  76. @mode
Collapse this list.
Dependency lines:
  • coccinelle>0:devel/coccinelle
To install the port:
cd /usr/ports/devel/coccinelle/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/coccinelle
  • pkg install coccinelle
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: coccinelle
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1683065204 SHA256 (coccinelle-coccinelle-1.1.1_GH0.tar.gz) = 095919e129ac563586d880ebbc5aac829fec224177090aebe34dc34ed5f142bf SIZE (coccinelle-coccinelle-1.1.1_GH0.tar.gz) = 2743457

Packages (timestamps in pop-ups are UTC):
coccinelle
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.1.1_11.1.1_1--1.1.1_1-1.0.7_1-
FreeBSD:13:quarterly1.1.11.1.1--1.1.11.1.11.1.11.1.1
FreeBSD:14:latest1.1.1_11.1.1_1--1.1.1_11.0.7_1-1.0.7_1
FreeBSD:14:quarterly1.1.11.1.1--1.1.11.1.11.1.11.1.1
FreeBSD:15:latest1.1.11.1.1_1n/a-n/a1.1.11.1.11.1.1
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. menhir : devel/menhir
  2. ocaml-parmap>=0 : devel/ocaml-parmap
  3. ocaml-pcre>=0 : devel/ocaml-pcre
  4. ocamlc : lang/ocaml
  5. camlp4 : devel/ocaml-camlp4
  6. gmake>=4.3 : devel/gmake
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. python3.9 : lang/python39
  9. autoconf>=2.71 : devel/autoconf
  10. automake>=1.16.5 : devel/automake
  11. perl5>=5.36<5.37 : lang/perl5.36
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. ocamlc : lang/ocaml
  2. python3.9 : lang/python39
Library dependencies:
  1. libpcre.so : devel/pcre
Patch dependencies:
  1. ocamlc : lang/ocaml
Extract dependencies:
  1. ocamlc : lang/ocaml
This port is required by:
for Run
  1. textproc/coccigrep

Configuration Options:
No options to configure
Options name:
devel_coccinelle
USES:
autoreconf gmake perl5 pkgconfig:build python shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/coccinelle/coccinelle/tar.gz/1.1.1?dummy=/
Collapse this list.

Number of commits found: 33

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.1.1_1
26 Feb 2024 05:15:56
commit hash: fca8fe7dde71dc49b13c6e46d518e7ec2b1bf0b9commit hash: fca8fe7dde71dc49b13c6e46d518e7ec2b1bf0b9commit hash: fca8fe7dde71dc49b13c6e46d518e7ec2b1bf0b9commit hash: fca8fe7dde71dc49b13c6e46d518e7ec2b1bf0b9 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/coccinelle: Moved man to share/man

Approved by:    portmgr (blanket)
1.1.1
05 Jul 2023 09:55:16
commit hash: 2b40e4609399858e2bfbddcf961bd7c947f6ed2ccommit hash: 2b40e4609399858e2bfbddcf961bd7c947f6ed2ccommit hash: 2b40e4609399858e2bfbddcf961bd7c947f6ed2ccommit hash: 2b40e4609399858e2bfbddcf961bd7c947f6ed2c files touched by this commit
Guido Falsi (madpilot) search for other commits by this committer
lang/ocaml: Update to 4.08.1

This update allows (and for some requires) to also update dependencies
to newer versions. Where possible I updated to the latest version.

The ocaml port now is MAKE_JOBS safe.

Changes to dependent ports included in this commit:

- devel/ocaml-sexplib: Rename to devel/ocaml-sexplib0 adapting to
  upstream. Update to 0.16.0
- devel/coccinelle: Update to 1.1.1, moved to github
- devel/ocaml-camlp4: Update to 4.08+1
- devel/ocaml-camomile: Use dune for build, adapt port
- devel/ocaml-cppo: Fix lib files installation [1]
(Only the first 15 lines of the commit message are shown above View all of this commit message)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.0.7_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.0.7_1
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.0.7_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.0.7_1
03 Nov 2020 20:51:35
Revision:554036Original commit files touched by this commit
rene search for other commits by this committer
Return araujo@'s ports to the pool after his commit bit was safekept.
1.0.7_1
03 Jan 2020 04:06:21
Revision:521897Original commit files touched by this commit
araujo search for other commits by this committer
- Forgotten to add the patches on files directory at r521896.
- Bump PORTREVISION.

Reported by:	kevans
1.0.7
03 Jan 2020 03:58:57
Revision:521896Original commit files touched by this commit
araujo search for other commits by this committer
- Update to 1.0.7.

PR:		243047
Submitted by:	kevans
1.0.4_1
06 Feb 2018 14:02:09
Revision:461049Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix shebangs

Approved by:	portmgr blanket
1.0.4
16 May 2016 00:29:26
Revision:415291Original commit files touched by this commit
araujo search for other commits by this committer
Adopt it.
1.0.4
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
1.0.4
17 Jan 2016 08:25:30
Revision:406287Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 1.0.4

PR:		206244
Submitted by:	ports fury
1.0.1
27 Jun 2015 13:52:17
Revision:390704Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/coccinelle: Update to 1.0.1

spatch(1) is not stripped anymore as it breaks the executable. For
instance, when not stripped, "spatch --version" returns:
  spatch version 1.0.1 with Python support and with PCRE support

But once stripped, it does not work anymore:
  Unknown option --version

This was already broken in the previous version of the port
(1.0.0-rc22).

Differential Revision:	https://reviews.freebsd.org/D2926
Reviewed by:	kwm
Approved by:	kwm
1.0.0.r22_1
15 Jun 2015 12:14:50
Revision:389699Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add LICENSE_FILE
- Strip libraries
1.0.0.r22
02 Jun 2015 17:53:33
Revision:388368Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Drop maintainership by maintainer's request

PR:		200593, 200594
Submitted by:	avg
1.0.0.r22
04 May 2015 15:46:52
Revision:385413Original commit files touched by this commit
madpilot search for other commits by this committer
- Add USE_OCAML_CAMLP4 and USE_OCAML_TK to bsd.ocaml.mk which add
  depends on the camlp4 language and labltk ocaml modules, which are
  now in separate ports.
- Update x11-toolkits/ocaml-lablgtk2 to 2.18.3
- Update graphics/ocaml-lablgl to 1.05
- Make unison ports use USE_OCAML
- Convert ports to the new flags where needed
- Bump PORTREVISION on ports depending on ocaml-lablgtk2, those need to be
rebuilt

PR:			199845
Submitted by:		jbeich@
Differential Revision:	https://reviews.freebsd.org/D2434
Approved by:		portmgr (mat)
1.0.0.r22
13 Dec 2014 17:49:12
Revision:374664Original commit files touched by this commit
pawel search for other commits by this committer
Update to version 1.0.0-rc22

PR:		195419
Submitted by:	alex@kaworu.ch
Approved by:	maintainer timeout
1.0.0.r19
27 Oct 2014 10:10:59
Revision:371544Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
1.0.0.r19
20 Oct 2014 16:04:14
Revision:371280Original commit files touched by this commit
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
1.0.0.r19
29 Jul 2014 19:11:53
Revision:363374Original commit files touched by this commit
adamw search for other commits by this committer
Convert a bunch of EXTRACT_SUFX=... into USES=tar:...

Approved by:	portmgr (not really, but touches unstaged ports)
1.0.0.r19
20 Mar 2014 21:05:19
Revision:348719Original commit files touched by this commit
pawel search for other commits by this committer
- Update to version 1.0.0-rc19 [1]
- Add LICENSE [1]
- Don't strip binaries, this fixes [2]
- Fix COMMENT

PR:		ports/187250 [1]
		ports/186613 [2]
Submitted by:	Alexandre Perrin <alex@kaworu.ch> [1]
Approved by:	maintainer timeout
1.0.0.r18
13 Jan 2014 21:00:04
Revision:339634Original commit files touched by this commit
rene search for other commits by this committer
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
1.0.0.r18
17 Dec 2013 17:55:44
Revision:336748Original commit files touched by this commit
mva search for other commits by this committer
- Fix the usage of 'python' to get rid of the implicit lang/python
  dependency
- Fix the PCRE detection, while here

Reported by:	exp-run (PR 184591)
Approved by:	portmgr (blanket)
1.0.0.r18
28 Nov 2013 14:45:10
Revision:335094Original commit files touched by this commit
bapt search for other commits by this committer
Add missing dependency on pcre
1.0.0.r18
28 Nov 2013 14:24:43
Revision:335092Original commit files touched by this commit
bapt search for other commits by this committer
Update to 1.0.0-rc18
Support stage
Strip binaries

Approved by:	maintainer (avg by IRC)
Based on patch by:	Alexandre Perrin (kAworu irc)
0.2.4.r5
26 Nov 2013 17:43:01
Revision:334959Original commit files touched by this commit
mva search for other commits by this committer
- Fix the usage of 'python' to get rid of the implicit lang/python
  dependency

Approved by:	Andriy Gapon <avg@icyb.net.ua> (maintainer)
20 Sep 2013 17:03:27
Revision:327722Original commit files touched by this commit Sanity Test Failure Refresh
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 1)
0.2.4.r5
12 Sep 2013 16:11:44
Revision:327086Original commit files touched by this commit
az search for other commits by this committer
- convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
0.2.4.r5
07 May 2013 13:12:32
Revision:317605Original commit files touched by this commit
bapt search for other commits by this committer
Add some shebangfix to allow building most of the ports tree without
/usr/bin/perl

Submitted by:	John Marino
Obtained from:	DPorts
0.2.4.r5
16 Jan 2013 19:38:55
Revision:310519Original commit files touched by this commit
pawel search for other commits by this committer
Fix build with clang

PR:		ports/174744
Submitted by:	myself
Approved by:	maintainer timeout (2 weeks+)
0.2.4.r5
15 Nov 2010 07:50:41
Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 0.2.4rc5

PR:             152168
Submitted by:   Andriy Gapon <avg@icyb.net.ua> (maintainer)
0.2.4.r2
14 Sep 2010 11:16:24
Original commit files touched by this commit
pav search for other commits by this committer
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.

WWW: http://coccinelle.lip6.fr/

PR:             ports/150472
Submitted by:   Andriy Gapon <avg@icyb.net.ua>

Number of commits found: 33