FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
cppcheck Static analysis of C/C++ code
1.81 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
Maintainer: amdmi3@FreeBSD.org search for ports maintained by this maintainer
Port Added: 06 Mar 2009 19:54:19
License: GPLv3+
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://cppcheck.sourceforge.net/
SVNWeb : Homepage : PortsMon : pkg-plist

To install the port: cd /usr/ports/devel/cppcheck/ && make install clean
To add the package: pkg install cppcheck

PKGNAME: cppcheck

distinfo:

TIMESTAMP = 1507657122
SHA256 (cppcheck-1.81.tar.bz2) = bb694f37ae0b5fed48c6cdc2fb5e528daf32cefc64e16b1a520c5411323cf27e
SIZE (cppcheck-1.81.tar.bz2) = 1514741


Slave ports
  1. devel/cppcheck-gui

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
  4. ninja : devel/ninja
  5. python2.7 : lang/python27
  6. python2 : lang/python2
Runtime dependencies:
  1. py27-pygments>0 : textproc/py-pygments
  2. python2.7 : lang/python27
  3. python2 : lang/python2
Library dependencies:
  1. libpcre.so : devel/pcre

This port is required by:

for Run * - 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-1.81:
     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

USES:
compiler:c++11-lib cmake tar:bzip2 shebangfix python:2,run,build python:2,run,build localbase:ldflags

Master Sites:
  1. http://cytranet.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  2. http://downloads.sourceforge.net/project/cppcheck/cppcheck/1.81/
  3. http://dronedata.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  4. http://excellmedia.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  5. http://freefr.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  6. http://jaist.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  7. http://kent.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  8. http://liquidtelecom.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  9. http://nchc.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  10. http://netassist.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  11. http://netcologne.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  12. http://netix.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  13. http://superb-dca2.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  14. http://superb-sea2.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  15. http://tenet.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  16. http://ufpr.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  17. http://vorboss.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  18. https://cytranet.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  19. https://downloads.sourceforge.net/project/cppcheck/cppcheck/1.81/
  20. https://dronedata.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  21. https://excellmedia.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  22. https://freefr.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  23. https://jaist.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  24. https://kent.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  25. https://liquidtelecom.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  26. https://nchc.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  27. https://netassist.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  28. https://netcologne.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  29. https://netix.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  30. https://superb-dca2.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  31. https://superb-sea2.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  32. https://tenet.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  33. https://ufpr.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/
  34. https://vorboss.dl.sourceforge.net/project/cppcheck/cppcheck/1.81/

Number of commits found: 72

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
11 Oct 2017 13:42:39
Original commit files touched by this commit  1.81
Revision:451750
amdmi3 search for other commits by this committer
- Update to 1.81
10 Sep 2017 20:55:39
Original commit files touched by this commit  1.80_1
Revision:449591
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
20 Aug 2017 11:57:53
Original commit files touched by this commit  1.80
Revision:448375
amdmi3 search for other commits by this committer
- Update to 1.80
05 Jul 2017 10:45:42
Original commit files touched by this commit  1.79
Revision:445071
amdmi3 search for other commits by this committer
- Move cppcheck gui into separate port, devel/cppcheck-gui
31 May 2017 20:07:15
Original commit files touched by this commit  1.79
Revision:442261
amdmi3 search for other commits by this committer
- Update to 1.79
- Fix segfault due to conflict between bundled and system tinyxml [1]
- Switch to cmake build, simplifying the port
- Enable GUI

PR:		217881 [1], 218876 [1]
21 May 2017 21:55:08
Original commit files touched by this commit  1.78_2
Revision:441429
linimon search for other commits by this committer
Mark some ports failing on power64.  In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
Reported by:	swills
12 Apr 2017 17:24:33
Original commit files touched by this commit  1.78_2
Revision:438396
amdmi3 search for other commits by this committer
- Add missing python dependency (both build- and runtime)
- Fix shebang in python script

Reported by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
10 Apr 2017 13:24:23
Original commit files touched by this commit  1.78_1
Revision:438164
amdmi3 search for other commits by this committer
- Update to 1.78
01 Apr 2017 15:23:32
Original commit files touched by this commit  1.77_1
Revision:437439
gerald search for other commits by this committer
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
10 Jan 2017 18:29:03
Original commit files touched by this commit  1.77
Revision:431113
amdmi3 search for other commits by this committer
- Update to 1.77
17 Oct 2016 15:50:32
Original commit files touched by this commit  1.76.1
Revision:424127
amdmi3 search for other commits by this committer
- Update to 1.76.1
11 Oct 2016 02:24:48
Original commit files touched by this commit  1.76
Revision:423742
amdmi3 search for other commits by this committer
- Update to 1.76
15 Aug 2016 00:08:07
Original commit files touched by this commit  1.75
Revision:420207
amdmi3 search for other commits by this committer
- Update to 1.75
20 Jun 2016 20:57:31
Original commit files touched by this commit  1.74
Revision:417179
amdmi3 search for other commits by this committer
- Update to 1.74
19 Apr 2016 19:34:14
Original commit files touched by this commit  1.73
Revision:413657
amdmi3 search for other commits by this committer
- Update to 1.73
01 Apr 2016 14:00:57
Original commit files touched by this commit  1.72
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
14 Jan 2016 13:07:29
Original commit files touched by this commit  1.72
Revision:406114
amdmi3 search for other commits by this committer
- Update to 1.72
12 Jan 2016 16:20:32
Original commit files touched by this commit  1.71
Revision:405891
amdmi3 search for other commits by this committer
Convert LICENSE= "GPLxx # or later" to "GPLxx+"

Approved by:	portmgr blanket
14 Dec 2015 20:19:49
Original commit files touched by this commit  1.71
Revision:403734
amdmi3 search for other commits by this committer
- Update to 1.71
- Take maintainership in compliance with porter's handbook SS5.5 (3 consecutive
maintainer timeouts)

PR:		204917
Submitted by:	amdmi3
Approved by:	maintainer timeout (bf, 2 weeks)
23 Nov 2015 20:24:27
Original commit files touched by this commit  1.70
Revision:402326
amdmi3 search for other commits by this committer
- Update to 1.70
- Use options helpers
- Use test framework

PR:		204325
Submitted by:	amdmi3
Approved by:	maintainer timeout (bf, 2 weeks)
07 Sep 2015 00:15:16
Original commit files touched by this commit  1.69
Revision:396238
amdmi3 search for other commits by this committer
- Update to 1.69
- Add LICENSE_FILE

PR:		202392
Submitted by:	amdmi3
Approved by:	maintainer timeout (bf, 3 weeks)
19 Feb 2015 20:07:33
Original commit files touched by this commit  1.63_1
Revision:379385
sunpoet search for other commits by this committer
- Update to 2.2.0
- Simplify Makefile
- Bump PORTREVISION for textproc/tinyxml2 shlib change

Changes:	https://github.com/leethomason/tinyxml2/commits/master
PR:		196884
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 1 month)
20 Oct 2014 16:04:14
Original commit files touched by this commit  1.63
Revision:371280
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
18 Aug 2014 22:10:40
Original commit files touched by this commit  1.63
Revision:365357
antoine search for other commits by this committer
Remove a few remaining NOPORTDATA

With hat:	portmgr
03 Jun 2014 13:00:24
Original commit files touched by this commit  1.63
Revision:356356
amdmi3 search for other commits by this committer
- Convert USE_BZIP2 to USES

Approved by:	portmgr blanket
03 Mar 2014 16:36:37
Original commit files touched by this commit  1.63
Revision:346928
bf search for other commits by this committer
Correct the plist for the case when the manpage isn't built, and
use a more specific option name

PR:		186588, 186795
Submitted by:	amdmi3, K. Zheng
06 Feb 2014 18:40:41
Original commit files touched by this commit  1.63
Revision:343135
bf search for other commits by this committer
Update textproc/tinyxml2 to 20140124 and devel/cppcheck to 1.63; use staging for
both
13 Jan 2014 21:00:04
Original commit files touched by this commit  1.62
Revision:339634
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)
18 Nov 2013 20:38:42
Original commit files touched by this commit  1.62
Revision:334262
bf search for other commits by this committer
Update textproc/tinyxml2 to 20131105, and devel/cppcheck to 1.62
20 Sep 2013 17:03:27
Refresh Original commit files touched by this commit
Revision:327722  Sanity Test Failure
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)
08 Aug 2013 18:10:37
Original commit files touched by this commit  1.61_1
Revision:324407
bf search for other commits by this committer
Update textproc/tinyxml2 to 20130805, and adjust a dependent port
05 Aug 2013 21:06:11
Original commit files touched by this commit  1.61
Revision:324290
bf search for other commits by this committer
Update to 1.61
19 Jul 2013 14:03:53
Original commit files touched by this commit  1.60.1_1
Revision:323292
rm search for other commits by this committer
Cleanup empty files and directories.
11 Jun 2013 15:25:54
Original commit files touched by this commit  1.60.1_1
Revision:320605
bf search for other commits by this committer
Switch from the bundled tinyxml2 to the new textproc/tinyxml2 port
04 Jun 2013 02:35:38
Original commit files touched by this commit  1.60.1
Revision:319819
bf search for other commits by this committer
update to 1.60.1
13 May 2013 10:19:34
Original commit files touched by this commit  1.59
Revision:318064
bf search for other commits by this committer
use python 2.* only

Reported by:	eadler
18 Apr 2013 08:24:48
Original commit files touched by this commit  1.59
Revision:316027
bf search for other commits by this committer
update to 1.59, temporarily switching to the bundled tinyxml2

Feature safe:	yes
14 Feb 2013 09:42:13
Original commit files touched by this commit  1.58
Revision:312209
gahr search for other commits by this committer
- Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: devel)

Approved by:	portmgr
16 Jan 2013 18:05:43
Original commit files touched by this commit  1.58
Revision:310506
bf search for other commits by this committer
update to 1.58; sort some assignments; shorten a long line;
trim Makefile header; fix header search order; make it possible
to build a slim version with minimal dependencies
10 Dec 2012 19:11:12
Original commit files touched by this commit  1.57_1
Revision:308630  Sanity Test Failure
mm search for other commits by this committer
Update PCRE to 8.32
Introduces the UTF-32 library pcre32
Bump PORTREVISION in dependent ports
08 Nov 2012 18:31:42
Original commit files touched by this commit  1.57
Revision:307195
bf search for other commits by this committer
update to 1.57

Feature safe:	yes
13 Sep 2012 04:16:05
Original commit files touched by this commit  1.56
Revision:304173
bf search for other commits by this committer
update to 1.56
07 Jul 2012 18:04:52
Original commit files touched by this commit  1.55
bf search for other commits by this committer
update to 1.55
19 Apr 2012 03:35:35
Original commit files touched by this commit  1.54
bf search for other commits by this committer
update to 1.54
14 Feb 2012 12:45:35
Original commit files touched by this commit  1.53_1
mm search for other commits by this committer
Bump pcre library dependency due to 8.30 update
12 Feb 2012 21:23:35
Original commit files touched by this commit  1.53
bf search for other commits by this committer
update to 1.53
11 Dec 2011 05:44:54
Original commit files touched by this commit  1.52
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
11 Oct 2011 13:40:29
Original commit files touched by this commit  1.51
bf search for other commits by this committer
update to 1.51
23 Sep 2011 22:26:39
Original commit files touched by this commit  1.50_1
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
17 Sep 2011 16:19:05
Original commit files touched by this commit  1.50_1
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)
19 Aug 2011 17:02:22
Original commit files touched by this commit  1.50
bf search for other commits by this committer
update to 1.50
22 Jun 2011 15:00:49
Original commit files touched by this commit  1.49
bf search for other commits by this committer
update to 1.49

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

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

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

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

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

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

PR:             ports/141456
Submitted by:           bf <bf1783(at)gmail.com>
01 Nov 2009 21:23:30
Original commit files touched by this commit  1.38
pgj search for other commits by this committer
- Update to 1.38
25 Sep 2009 12:41:48
Original commit files touched by this commit  1.37
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
24 Aug 2009 17:54:06
Original commit files touched by this commit  1.35
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)
17 Jul 2009 11:12:40
Original commit files touched by this commit  1.34
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)
14 Jun 2009 01:34:08
Original commit files touched by this commit  1.33
pgj search for other commits by this committer
- Update to 1.33

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

Approved by:    tabthorpe (mentor)
22 Apr 2009 12:40:15
Original commit files touched by this commit  1.31
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)
11 Mar 2009 09:16:14
Original commit files touched by this commit  1.30
pgj search for other commits by this committer
- Update to 1.30
- Respect CXXFLAGS

Approved by:    tabthorpe
06 Mar 2009 19:53:54
Original commit files touched by this commit  1.29
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: 72

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
linux-flashplayerOct 17
apache-solr*Oct 16
hostapdOct 16
mercurialOct 16
wpa_supplicantOct 16
freexlOct 13
jenkinsOct 13
jenkins-ltsOct 13
xephyrOct 13
xorg-dmxOct 13
xorg-nestserverOct 13
xorg-serverOct 13
xorg-vfbserverOct 13
ffmpegOct 12
linux-c6-nssOct 12

19 vulnerabilities affecting 107 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31585
Broken 154
Deprecated 64
Ignore 423
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 55
Expired 19
Set to expire 57
Interactive 0
new 24 hours 2
new 48 hours2
new 7 days29
new fortnight44
new month222

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.