pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cppcheck: remove, used for updating devel/cppcheck



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Mon Jun 29 15:07:08 2020 +0200
Changeset:	90bfd766a815484a477824b7b35668d34bfdce33

Modified Files:
	Makefile
Removed Files:
	cppcheck/DESCR
	cppcheck/Makefile
	cppcheck/PLIST
	cppcheck/distinfo
	cppcheck/log
	cppcheck/options.mk

Log Message:
cppcheck: remove, used for updating devel/cppcheck

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=90bfd766a815484a477824b7b35668d34bfdce33

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile            |  1 -
 cppcheck/DESCR      |  4 ----
 cppcheck/Makefile   | 54 ----------------------------------------------
 cppcheck/PLIST      | 62 -----------------------------------------------------
 cppcheck/distinfo   |  6 ------
 cppcheck/log        | 49 ------------------------------------------
 cppcheck/options.mk | 25 ---------------------
 7 files changed, 201 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index fe7fae8748..2857f77970 100644
--- a/Makefile
+++ b/Makefile
@@ -500,7 +500,6 @@ SUBDIR+=	coxeter
 SUBDIR+=	cpdup
 SUBDIR+=	cpluff
 SUBDIR+=	cpm
-SUBDIR+=	cppcheck
 SUBDIR+=	cppzmq
 SUBDIR+=	cpqarrayd
 SUBDIR+=	cpuminer-multi
diff --git a/cppcheck/DESCR b/cppcheck/DESCR
deleted file mode 100644
index 10918f56f9..0000000000
--- a/cppcheck/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-cppcheck is a tool for static C/C++ code analysis intended to
-complement the checking of the compiler.  It checks for memory
-leaks, mismatching allocation-deallocation, buffer overrun, unused
-functions, coding style, and much more.
diff --git a/cppcheck/Makefile b/cppcheck/Makefile
deleted file mode 100644
index e4e4a85e55..0000000000
--- a/cppcheck/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-# $NetBSD: Makefile,v 1.68 2020/06/02 08:23:34 adam Exp $
-
-DISTNAME=	cppcheck-2.1
-CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=cppcheck/}
-EXTRACT_SUFX=	.tar.bz2
-
-MAINTAINER=	reed%reedmedia.net@localhost
-HOMEPAGE=	http://cppcheck.sourceforge.net/
-COMMENT=	Tool for static C/C++ code analysis
-LICENSE=	gnu-gpl-v3
-
-BUILD_DEPENDS+=	libxslt-[0-9]*:../../textproc/libxslt
-BUILD_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl
-DEPENDS+=	${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
-
-USE_LANGUAGES=		c c++0x
-USE_TOOLS+=		gmake
-#USE_CMAKE=		yes
-
-BUILD_TARGET=		all man
-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
-MAKE_FLAGS+=		USE_Z3=yes
-#CMAKE_ARGS+=		-DBUILD_TESTS=ON
-#CMAKE_ARGS+=		-DHAVE_RULES=ON
-#CMAKE_ARGS+=		-DUSE_Z3=ON
-
-.include "../../mk/compiler.mk"
-
-.if !empty(CC_VERSION:Mgcc-4.[0-5]*) || !empty(CC_VERSION:Mgcc-3.*)
-CXXFLAGS+= -include lib/cxx11emu.h
-.endif
-
-INSTALLATION_DIRS+=	${PKGMANDIR}/man1
-
-REPLACE_PYTHON+=	htmlreport/cppcheck-htmlreport
-
-TEST_TARGET=		test
-
-.include "options.mk"
-
-.PHONY: man-install
-post-install: man-install
-man-install:
-	${INSTALL_DATA} ${WRKSRC}/cppcheck.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-
-.include "../../lang/python/application.mk"
-.include "../../devel/pcre/buildlink3.mk"
-.include "../../math/z3/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/cppcheck/PLIST b/cppcheck/PLIST
deleted file mode 100644
index 7c67400f73..0000000000
--- a/cppcheck/PLIST
+++ /dev/null
@@ -1,62 +0,0 @@
-@comment $NetBSD: PLIST,v 1.8 2020/04/16 21:50:35 wiz Exp $
-bin/cppcheck
-${PLIST.qt5}bin/cppcheck-gui
-bin/cppcheck-htmlreport
-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/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
diff --git a/cppcheck/distinfo b/cppcheck/distinfo
deleted file mode 100644
index 3321dae933..0000000000
--- a/cppcheck/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.15 2020/04/16 21:50:35 wiz Exp $
-
-SHA1 (cppcheck-2.1.tar.bz2) = 3cf4c1bc20d25f8876fdc78cdb19586561dda470
-RMD160 (cppcheck-2.1.tar.bz2) = b35d3e49ab0b833f7a7a5e6dba796702975c8866
-SHA512 (cppcheck-2.1.tar.bz2) = ddf10ea394fc7e862fefb4380e5aa4cdece4d9b135dc959c6e37c6dbdd85c77c4e3f4eac3af1b51415543eb16d3e225694963658530241250835586983dba4ae
-Size (cppcheck-2.1.tar.bz2) = 2480943 bytes
diff --git a/cppcheck/log b/cppcheck/log
deleted file mode 100644
index c8165c9f69..0000000000
--- a/cppcheck/log
+++ /dev/null
@@ -1,49 +0,0 @@
-2.1
-
-This is a minor release.
-
-We have tweaked build scripts.
-* When you use USE_Z3=yes, we will handle new versions of z3 better. If you have an old z3 library and get compilation problems you will need to add a z3_version.h in externals.
-* The cmake scripts was updated.
-
-There was a couple of bug fixes.
-
-New check:
-* for "expression % 1" the result is always 0.
-
-2.0
-
-Overview
-
-The command line is not changed drastically. Your old cppcheck scripts should work as before.
-
-Compiling: There is a new dependency Z3. When compiling with the Makefile it is highly recommended to use "USE_Z3=yes".
-
-Improved clang-tidy integration
-
-Several fixes to;
-
-    improve parsing
-    detect more bugs with existing checks
-    fix false alarms
-
-Clang import
-
-Clang is a C/C++ compiler that has a very robust and well made parser.
-
-Cppcheck will always use its internal parser by default. However there is now an option to use the Clang parser instead.
-
-It is recommended that you use the default internal Cppcheck parser unless you notice that it fails to parse your code properly (syntax errors, strange false alarms).
-Bug hunting
-
-There is a new "soundy" analysis in Cppcheck that should detect most bugs. You should expect false alarms, however the false alarms will not be overwhelming.
-
-This new "soundy" analysis is not intended to replace normal Cppcheck analysis. There are use cases where false alarms can not be tolerated.
-
-We have added 1 checker and that checks for division by zero:
-
-    It detects all "integer division by zero" bugs in the Juliet test suite.
-    It detects all "division by zero" bugs in the ITC test suite.
-    There was 28 division by zero CVEs published in 2019 for C/C++ open source projects, and we could quickly see that 21 of the bugs are found by Cppcheck. There is no CVE bug that we know Cppcheck fails to diagnose. But there are 7 CVEs that would require additional investigation to establish if it is really detected or not.
-
-You can read more about this analysis in the "Bug hunting" chapter in the manual.
diff --git a/cppcheck/options.mk b/cppcheck/options.mk
deleted file mode 100644
index ef2de2d8f1..0000000000
--- a/cppcheck/options.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: options.mk,v 1.6 2016/09/19 11:05:53 wiz Exp $
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.cppcheck
-PKG_SUPPORTED_OPTIONS=	qt5
-
-.include "../../mk/bsd.options.mk"
-
-PLIST_VARS+=	qt5
-
-.if !empty(PKG_OPTIONS:Mqt5)
-PLIST.qt5=	yes
-USE_LIBTOOL=	yes
-
-.include "../../x11/qt5-qtbase/buildlink3.mk"
-.include "../../x11/qt5-qttools/buildlink3.mk"
-
-post-build:
-	cd ${WRKSRC}/gui && \
-		${CONFIGURE_ENV} QTDIR=${QTDIR} HAVE_RULES=yes ${QTDIR}/bin/qmake gui.pro && \
-		${MAKE_ENV} QTDIR=${QTDIR} make
-
-post-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/gui/cppcheck-gui ${DESTDIR}${PREFIX}/bin
-
-.endif


Home | Main Index | Thread Index | Old Index