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
Port details
cppcheck Tool for static C/C++ code analysis
2.16.2 devel on this many watch lists=8 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 2.16.2Version of this port present on the latest quarterly branch.
Maintainer: amdmi3@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2009-03-06 19:54:19
Last Update: 2024-12-23 20:46:04
Commit Hash: 2bccb8c
People watching this port, also watch:: libmatroska, sleuthkit, vlc, openvpn, subversion
License: GPLv3+
WWW:
https://cppcheck.sourceforge.io/
https://github.com/danmar/cppcheck
Description:
Cppcheck is a tool for static C/C++ code analysis. It tries to detect bugs that your compiler does not see. It checks for: memory leaks, mismatching allocations-deallocations, buffer overruns, and many more. Cppcheck is versatile. You can check non-standard code that includes various compiler extensions, inline assembly code, etc. The goal is to have no false positives.
HomepageHomepage    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 (13 items)
Collapse this list.
  1. bin/cppcheck-htmlreport
  2. /usr/local/share/licenses/cppcheck-2.16.2/catalog.mk
  3. /usr/local/share/licenses/cppcheck-2.16.2/LICENSE
  4. /usr/local/share/licenses/cppcheck-2.16.2/GPLv3+
  5. bin/cppcheck
  6. bin/cppcheck-gui
  7. share/applications/cppcheck-gui.desktop
  8. share/icons/hicolor/64x64/apps/cppcheck-gui.png
  9. share/icons/hicolor/scalable/apps/cppcheck-gui.svg
  10. share/man/man1/cppcheck.1.gz
  11. @owner
  12. @group
  13. @mode
Collapse this list.
Dependency lines:
  • cppcheck>0:devel/cppcheck
To install the port:
cd /usr/ports/devel/cppcheck/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/cppcheck
  • pkg install cppcheck
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: cppcheck
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1734970676 SHA256 (danmar-cppcheck-2.16.2_GH0.tar.gz) = 521b996cb56b0c30f89e022abcb50aef85d7219cb7a7162fa81fe40fe6394206 SIZE (danmar-cppcheck-2.16.2_GH0.tar.gz) = 3846122

Packages (timestamps in pop-ups are UTC):
cppcheck
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.16.22.16.22.22.16.22.16.2-2.2-
FreeBSD:13:quarterly2.16.22.16.2-2.16.22.16.22.12.12.12.12.12.1
FreeBSD:14:latest2.16.22.16.2-2.16.22.16.22.10.3-2.10.3
FreeBSD:14:quarterly2.16.22.16.2-2.16.22.16.22.12.12.12.12.12.1
FreeBSD:15:latest2.16.22.16.2n/a2.16.2n/a2.12.12.12.12.12.1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. xsltproc : textproc/libxslt
  2. docbook.xsl : textproc/docbook-xsl
  3. python3.11 : lang/python311
  4. cmake : devel/cmake-core
  5. ninja : devel/ninja
  6. qt5-buildtools>=5.15 : devel/qt5-buildtools
  7. lrelease : devel/qt5-linguisttools
  8. qt5-qmake>=5.15 : devel/qt5-qmake
Runtime dependencies:
  1. py311-pygments>0 : textproc/py-pygments@py311
  2. python3.11 : lang/python311
Library dependencies:
  1. libtinyxml2.so : textproc/tinyxml2
  2. libpcre.so : devel/pcre
  3. libQt5Core.so : devel/qt5-core
  4. libQt5Gui.so : x11-toolkits/qt5-gui
  5. libQt5Help.so : devel/qt5-help
  6. libQt5Network.so : net/qt5-network
  7. libQt5PrintSupport.so : print/qt5-printsupport
  8. libQt5Widgets.so : x11-toolkits/qt5-widgets
This port is required by:
for Run

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/cppcheck-gui*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for cppcheck-2.16.2: CHARTS=off: Enable QtCharts usage in the GUI GUI=on: Build the Qt GUI application HTMLREPORT=on: Install cppcheck-htmlreport MANPAGES=on: Build and/or install manual pages MATCHCOMPILER=on: Build-time optimizations via Python RULES=on: User-defined rule support (requires PCRE) TEST=off: Build and/or run tests ===> Use 'make config' to modify these settings
Options name:
devel_cppcheck
USES:
compiler:c++11-lib shebangfix tar:bzip2 qt:5 python:run,build python:run,build localbase:ldflags cmake
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/danmar/cppcheck/tar.gz/2.16.2?dummy=/
Collapse this list.
Port Moves
  • port moved here from devel/cppcheck-gui on 2022-11-07
    REASON: GUI is now included in devel/cppcheck port

Number of commits found: 131 (showing only 31 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.56
13 Sep 2012 04:16:05
Revision:304173Original commit files touched by this commit
bf search for other commits by this committer
update to 1.56
1.55
07 Jul 2012 18:04:52
Original commit files touched by this commit
bf search for other commits by this committer
update to 1.55
1.54
19 Apr 2012 03:35:35
Original commit files touched by this commit
bf search for other commits by this committer
update to 1.54
1.53_1
14 Feb 2012 12:45:35
Original commit files touched by this commit
mm search for other commits by this committer
Bump pcre library dependency due to 8.30 update
1.53
12 Feb 2012 21:23:35
Original commit files touched by this commit
bf search for other commits by this committer
update to 1.53
1.52
11 Dec 2011 05:44:54
Original commit files touched by this commit
bf search for other commits by this committer
update to 1.52; don't build or install the manpage if
NOPORTDOCS is defined

Feature safe:   yes
1.51
11 Oct 2011 13:40:29
Original commit files touched by this commit
bf search for other commits by this committer
update to 1.51
1.50_1
23 Sep 2011 22:26:39
Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:             157936
Submitted by:   myself
Exp-runs by:    pav
Approved by:    pav
1.50_1
17 Sep 2011 16:19:05
Original commit files touched by this commit
bf search for other commits by this committer
fix a build problem by switching from the bundled tinyxml to textproc/tinyxml

Submitted by:   kevlo (slightly different patch)
1.50
19 Aug 2011 17:02:22
Original commit files touched by this commit
bf search for other commits by this committer
update to 1.50
1.49
22 Jun 2011 15:00:49
Original commit files touched by this commit
bf search for other commits by this committer
update to 1.49

PR:             157813
Submitted by:   Jin-Sih Lin <linpct@gmail.com>
1.48
13 Apr 2011 00:52:15
Original commit files touched by this commit
bf search for other commits by this committer
Update to 1.48, add LICENSE
1.47
26 Mar 2011 01:39:07
Original commit files touched by this commit
bf search for other commits by this committer
Remove addition of CPPFLAGS to CONFIGURE_ENV
in port Makefiles, and MD5 entries in distinfo
1.47
08 Feb 2011 01:03:19
Original commit files touched by this commit
bf search for other commits by this committer
Update to 1.47

Approved by:    makc, miwi (mentors, implicit)
Feature safe:   yes
1.46.1
30 Dec 2010 10:52:22
Original commit files touched by this commit
bf search for other commits by this committer
update to 1.46.1

Approved by:    makc, miwi (mentors, implicit)
1.45
05 Oct 2010 00:03:42
Original commit files touched by this commit
bf search for other commits by this committer
Update to 1.45

Approved by:    makc, miwi (co-mentors, implicit)
1.44
06 Aug 2010 18:03:54
Original commit files touched by this commit
bf search for other commits by this committer
update to 1.44

Approved by:    makc
1.43
11 Jun 2010 14:19:59
Original commit files touched by this commit
pgj search for other commits by this committer
- Pass maintainership to bf@
1.43
20 May 2010 23:47:57
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.43
1.42
14 Mar 2010 09:09:40
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.42
1.40
19 Jan 2010 11:49:14
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.40

PR:             ports/142953
Submitted by:   bf <bf1783#gmail.com>
1.39
15 Dec 2009 19:53:02
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.39

PR:             ports/141456
Submitted by:           bf <bf1783(at)gmail.com>
1.38
01 Nov 2009 21:23:30
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.38
1.37
25 Sep 2009 12:41:48
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.37

PR:             ports/139082
Submitted by:   bf <bf1783 (at) gmail (dot) com>
Feature safe:   yes
1.35
24 Aug 2009 17:54:06
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.35
- Add thread flags
- Fix sourceforge

PR:             ports/137860
Submitted by:   bf <bf1783 (at) gmail (dot) com>
Approved by:    tabthorpe (mentor, implicit)
1.34
17 Jul 2009 11:12:40
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.34

PR:             ports/136830
Submitted by:   bf <bf1783 (at) gmail (dot) com>
Approved by:    tabthorpe (mentor, implicit)
1.33
14 Jun 2009 01:34:08
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.33

Approved by:    tabthorpe (mentor, implicit)
1.32
18 May 2009 15:24:50
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.32

Approved by:    tabthorpe (mentor)
1.31
22 Apr 2009 12:40:15
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.31
- Respect NO_INSTALL_MAN_PAGES, CXX
- Add "regression-test" target for regression testing
- Switch to bzip2

PR:             ports/133749
Submitted by:   bf <bf2006a (at) yahoo (dot) com>
Approved by:    tabthorpe (mentor)
1.30
11 Mar 2009 09:16:14
Original commit files touched by this commit
pgj search for other commits by this committer
- Update to 1.30
- Respect CXXFLAGS

Approved by:    tabthorpe
1.29
06 Mar 2009 19:53:54
Original commit files touched by this commit
pgj search for other commits by this committer
Cppcheck is a tool for static C/C++ code analysis, and it tries to
detect bugs that your compiler do not see.  Checks for: memory leaks,
mismatching allocation-deallocation, buffer overrun, and many more.

Cppcheck is versatile.  You can check non-standard code that includes
various compiler extensions, inline assembly code, etc.

The goal is no false positives.

WWW: http://sourceforge.net/projects/cppcheck

Approved by:    tabthorpe

Number of commits found: 131 (showing only 31 on this page)

«  1 | 2