pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/cppcheck
Module Name: pkgsrc
Committed By: wiz
Date: Thu Apr 16 21:50:36 UTC 2020
Modified Files:
pkgsrc/devel/cppcheck: Makefile PLIST distinfo
Log Message:
cppcheck: update to 1.90.
Based on wip/cppcheck by Apurva Nandan.
Cppcheck-1.90 has been released.
New check:
* alias to vector element invalid after vector is changed
Improved checking:
* improved value flow analysis for struct members
* improved value flow analysis for pointer alias
CERT:
* Added ENV33-C: Do not call system()
MISRA:
* Added rule 2.7
* Added rule 3.2
* Added rule 4.2
* Added rule 14.2
* Added rule 21.1
* Added rule 21.12
Addons:
* Add --recursive option. You can check dump files recursively.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 pkgsrc/devel/cppcheck/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/cppcheck/PLIST
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/cppcheck/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/cppcheck/Makefile
diff -u pkgsrc/devel/cppcheck/Makefile:1.66 pkgsrc/devel/cppcheck/Makefile:1.67
--- pkgsrc/devel/cppcheck/Makefile:1.66 Sun Apr 12 08:28:29 2020
+++ pkgsrc/devel/cppcheck/Makefile Thu Apr 16 21:50:35 2020
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.66 2020/04/12 08:28:29 adam Exp $
+# $NetBSD: Makefile,v 1.67 2020/04/16 21:50:35 wiz Exp $
-DISTNAME= cppcheck-1.76.1
-PKGREVISION= 24
+DISTNAME= cppcheck-1.90
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
EXTRACT_SUFX= .tar.bz2
@@ -19,17 +18,17 @@ USE_LANGUAGES= c c++0x
USE_TOOLS+= gmake
BUILD_TARGET= all man
-BUILD_MAKE_FLAGS+= DB2MAN=${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl
-# tell cppcheck where its config is
-MAKE_FLAGS+= CFGDIR=${PREFIX}/share/cppcheck/cfg
+BUILD_MAKE_FLAGS+= DB2MAN=${PREFIX}/share/xsl/docbook/manpages/docbook.xsl
+# tell cppcheck where its CPP files are
+MAKE_FLAGS+= FILESDIR=${PREFIX}/share/cppcheck
# rules support (needs pcre)
MAKE_FLAGS+= HAVE_RULES=yes
# use pkgsrc tinyxml2 instead of included copy
MAKE_FLAGS+= TINYXML=
-MAKE_FLAGS+= INCLUDE_FOR_LIB="-Ilib -Iexternals/simplecpp"
-MAKE_FLAGS+= INCLUDE_FOR_CLI="-Ilib -Iexternals/simplecpp"
-MAKE_FLAGS+= INCLUDE_FOR_TEST="-Ilib -Icli -Iexternals/simplecpp"
+MAKE_FLAGS+= INCLUDE_FOR_LIB="-Ilib -isystem externals -isystem externals/simplecpp"
+MAKE_FLAGS+= INCLUDE_FOR_CLI="-Ilib -isystem externals/simplecpp"
+MAKE_FLAGS+= INCLUDE_FOR_TEST="-Ilib -Icli -isystem externals/simplecpp"
CPPFLAGS+= -I${BUILDLINK_PREFIX.tinyxml2}/include
LDFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.tinyxml2}/lib -L${BUILDLINK_PREFIX.tinyxml2}/lib -ltinyxml2
@@ -41,7 +40,6 @@ CXXFLAGS+= -include lib/cxx11emu.h
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
REPLACE_PYTHON+= htmlreport/cppcheck-htmlreport
-REPLACE_PYTHON+= addons/y2038/y2038.py
.include "options.mk"
Index: pkgsrc/devel/cppcheck/PLIST
diff -u pkgsrc/devel/cppcheck/PLIST:1.7 pkgsrc/devel/cppcheck/PLIST:1.8
--- pkgsrc/devel/cppcheck/PLIST:1.7 Tue Oct 25 01:24:02 2016
+++ pkgsrc/devel/cppcheck/PLIST Thu Apr 16 21:50:35 2020
@@ -1,22 +1,62 @@
-@comment $NetBSD: PLIST,v 1.7 2016/10/25 01:24:02 kamil Exp $
-bin/cert.py
+@comment $NetBSD: PLIST,v 1.8 2020/04/16 21:50:35 wiz Exp $
bin/cppcheck
${PLIST.qt5}bin/cppcheck-gui
bin/cppcheck-htmlreport
-bin/cppcheckdata.py
-bin/findcasts.py
-bin/naming.py
-bin/threadsafety.py
-bin/y2038.py
man/man1/cppcheck.1
+share/cppcheck/addons/__init__.py
+share/cppcheck/addons/cert.py
+share/cppcheck/addons/cppcheckdata.py
+share/cppcheck/addons/findcasts.py
+share/cppcheck/addons/misc.py
+share/cppcheck/addons/misra.py
+share/cppcheck/addons/naming.py
+share/cppcheck/addons/namingng.py
+share/cppcheck/addons/threadsafety.py
+share/cppcheck/addons/y2038.py
share/cppcheck/cfg/avr.cfg
-share/cppcheck/cfg/cppcheck-cfg.rng
+share/cppcheck/cfg/boost.cfg
+share/cppcheck/cfg/bsd.cfg
+share/cppcheck/cfg/cairo.cfg
+share/cppcheck/cfg/cppcheck-lib.cfg
+share/cppcheck/cfg/cppunit.cfg
+share/cppcheck/cfg/daca.cfg
+share/cppcheck/cfg/embedded_sql.cfg
share/cppcheck/cfg/gnu.cfg
+share/cppcheck/cfg/googletest.cfg
share/cppcheck/cfg/gtk.cfg
+share/cppcheck/cfg/kde.cfg
+share/cppcheck/cfg/libcerror.cfg
+share/cppcheck/cfg/libcurl.cfg
+share/cppcheck/cfg/libsigc++.cfg
+share/cppcheck/cfg/lua.cfg
+share/cppcheck/cfg/mfc.cfg
+share/cppcheck/cfg/microsoft_atl.cfg
share/cppcheck/cfg/microsoft_sal.cfg
+share/cppcheck/cfg/motif.cfg
+share/cppcheck/cfg/nspr.cfg
+share/cppcheck/cfg/opencv2.cfg
+share/cppcheck/cfg/opengl.cfg
+share/cppcheck/cfg/openmp.cfg
+share/cppcheck/cfg/openssl.cfg
share/cppcheck/cfg/posix.cfg
+share/cppcheck/cfg/python.cfg
share/cppcheck/cfg/qt.cfg
+share/cppcheck/cfg/ruby.cfg
share/cppcheck/cfg/sdl.cfg
+share/cppcheck/cfg/sfml.cfg
+share/cppcheck/cfg/sqlite3.cfg
share/cppcheck/cfg/std.cfg
+share/cppcheck/cfg/tinyxml2.cfg
share/cppcheck/cfg/windows.cfg
share/cppcheck/cfg/wxwidgets.cfg
+share/cppcheck/cfg/zlib.cfg
+share/cppcheck/platforms/aix_ppc64.xml
+share/cppcheck/platforms/arm32-wchar_t2.xml
+share/cppcheck/platforms/arm32-wchar_t4.xml
+share/cppcheck/platforms/arm64-wchar_t2.xml
+share/cppcheck/platforms/arm64-wchar_t4.xml
+share/cppcheck/platforms/avr8.xml
+share/cppcheck/platforms/cray_sv1.xml
+share/cppcheck/platforms/msp430_eabi_large_datamodel.xml
+share/cppcheck/platforms/unix32-unsigned.xml
+share/cppcheck/platforms/unix64-unsigned.xml
Index: pkgsrc/devel/cppcheck/distinfo
diff -u pkgsrc/devel/cppcheck/distinfo:1.14 pkgsrc/devel/cppcheck/distinfo:1.15
--- pkgsrc/devel/cppcheck/distinfo:1.14 Tue Oct 25 01:24:02 2016
+++ pkgsrc/devel/cppcheck/distinfo Thu Apr 16 21:50:35 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2016/10/25 01:24:02 kamil Exp $
+$NetBSD: distinfo,v 1.15 2020/04/16 21:50:35 wiz Exp $
-SHA1 (cppcheck-1.76.1.tar.bz2) = 7202ddea9fd4943975afb0a81a95a909e1e8ceda
-RMD160 (cppcheck-1.76.1.tar.bz2) = 608c281bfd039522de920cb08fa8e1b64054471f
-SHA512 (cppcheck-1.76.1.tar.bz2) = 2cc7c3faeb6ba7e05efeb4f848c4b026b09e86adfa2301dfc15a7b20e9b96f95037ceef2373ed74676e60e51f6060957ff187c7ac598ef67e0975bfedd8e56ff
-Size (cppcheck-1.76.1.tar.bz2) = 1166292 bytes
+SHA1 (cppcheck-1.90.tar.bz2) = eaaf02abf5a1e1bfd2b3c0c039d2f65b4cba8ac5
+RMD160 (cppcheck-1.90.tar.bz2) = c7ee1685e2d6519bad46e091ecac691970f2e296
+SHA512 (cppcheck-1.90.tar.bz2) = 78072729590946bd03f98741872932a14266391d85ee448af730024e30668001b90d266d4dbd92f8d70db0aed341464413910f7a9fddf498a8a8d72d22ac061a
+Size (cppcheck-1.90.tar.bz2) = 2025457 bytes
Home |
Main Index |
Thread Index |
Old Index