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 on branch 2024Q1
cppcheck Tool for static C/C++ code analysis
2.12.1 devel on this many watch lists=0 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.12.1Version of this port present on the latest quarterly branch.
Maintainer: amdmi3@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-01-24 16:57:11
Last Update: 2024-01-24 16:56:29
Commit Hash: 2216057
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 - no subversion history for this port

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.12.1/catalog.mk
  3. /usr/local/share/licenses/cppcheck-2.12.1/LICENSE
  4. /usr/local/share/licenses/cppcheck-2.12.1/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 = 1695753260 SHA256 (danmar-cppcheck-2.12.1_GH0.tar.gz) = 2a3d4ba1179419612183ab3d6aed6d3b18be75e98cd6f138ea8e2020905dced2 SIZE (danmar-cppcheck-2.12.1_GH0.tar.gz) = 3579702

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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. cmake : devel/cmake-core
  4. ninja : devel/ninja
  5. python3.9 : lang/python39
  6. qt5-buildtools>=5.15 : devel/qt5-buildtools
  7. lrelease : devel/qt5-linguisttools
  8. qt5-qmake>=5.15 : devel/qt5-qmake
Runtime dependencies:
  1. py39-pygments>0 : textproc/py-pygments@py39
  2. python3.9 : lang/python39
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
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for cppcheck-2.12.1: 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 cmake shebangfix tar:bzip2 qt:5 python:run,build python:run,build localbase:ldflags
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.12.1?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.12.1
24 Jan 2024 16:56:29
commit hash: 221605709727bb12362503b00f5be418a9061fe8commit hash: 221605709727bb12362503b00f5be418a9061fe8commit hash: 221605709727bb12362503b00f5be418a9061fe8commit hash: 221605709727bb12362503b00f5be418a9061fe8 files touched by this commit
Bryan Drewery (bdrewery) search for other commits by this committer
devel/cppcheck: Builds on 14 after 2.12.1

(cherry picked from commit 0bed1393cadb4f6c5fed8d5993287b15e69b85dc)

Number of commits found: 1