pkgsrc-WIP-changes archive

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

coverity-analysis-bin: add package for coverity's scan tool



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri Sep 16 15:55:28 2016 +0200
Changeset:	afd646816ce3ccecae1f13086aa687fa1bcb2d29

Modified Files:
	Makefile
Added Files:
	coverity-analysis-bin/DESCR
	coverity-analysis-bin/Makefile
	coverity-analysis-bin/PLIST
	coverity-analysis-bin/distinfo

Log Message:
coverity-analysis-bin: add package for coverity's scan tool

Coverity Scan - Static Analysis

Find and fix defects in your Java, C/C++, C#, JavaScript, Ruby, or
Python open source project for free

* Test every line of code and potential execution path.
* The root cause of each defect is clearly explained, making it
  easy to fix bugs

This package contains the scanning tool for creating data
to send to scan.coverity.com for analysis.

XXX: this package currently only supports NetBSD/x86_64, but
more binary packages exist and could be added.

Manual download.

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

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

diffstat:
 Makefile                       |   1 +
 coverity-analysis-bin/DESCR    |  11 +++
 coverity-analysis-bin/Makefile |  25 ++++++
 coverity-analysis-bin/PLIST    | 183 +++++++++++++++++++++++++++++++++++++++++
 coverity-analysis-bin/distinfo |   6 ++
 5 files changed, 226 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 97ba7e7..9ae4ea5 100644
--- a/Makefile
+++ b/Makefile
@@ -412,6 +412,7 @@ SUBDIR+=	coreclr-git
 SUBDIR+=	corefx-git
 SUBDIR+=	corert-git
 SUBDIR+=	courierpassd
+SUBDIR+=	coverity-analysis-bin
 SUBDIR+=	cowpatty
 SUBDIR+=	coxeter
 SUBDIR+=	cpdup
diff --git a/coverity-analysis-bin/DESCR b/coverity-analysis-bin/DESCR
new file mode 100644
index 0000000..6c41e07
--- /dev/null
+++ b/coverity-analysis-bin/DESCR
@@ -0,0 +1,11 @@
+Coverity Scan - Static Analysis
+
+Find and fix defects in your Java, C/C++, C#, JavaScript, Ruby, or
+Python open source project for free
+
+* Test every line of code and potential execution path.
+* The root cause of each defect is clearly explained, making it
+  easy to fix bugs
+
+This package contains the scanning tool for creating data
+to send to scan.coverity.com for analysis.
diff --git a/coverity-analysis-bin/Makefile b/coverity-analysis-bin/Makefile
new file mode 100644
index 0000000..f9d49da
--- /dev/null
+++ b/coverity-analysis-bin/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME=	cov-analysis-netbsd64-8.5.0.3
+PKGNAME=	coverity-analysis-bin-8.5.0.3
+CATEGORIES=	devel
+MASTER_SITES=	# http://scan.coverity.com/download/
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://scan.coverity.com/
+COMMENT=	Static Analysis for Java, C/C++, C#, JavaScript, Ruby, or Python
+#LICENSE=	# TODO: (see mk/license.mk)
+
+INSTALLATION_DIRS+=	${PREFIX}/coverity
+
+ONLY_FOR_PLATFORM=	NetBSD-*-x86_64
+NOT_FOR_PLATFORM=	NetBSD-[0-4]*.*-x86_64
+
+USE_TOOLS+=		pax
+
+do-build:
+
+do-install:
+	cd ${WRKSRC} && pax -pe -rw * ${DESTDIR}${PREFIX}/coverity/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/coverity-analysis-bin/PLIST b/coverity-analysis-bin/PLIST
new file mode 100644
index 0000000..2d0fedc
--- /dev/null
+++ b/coverity-analysis-bin/PLIST
@@ -0,0 +1,183 @@
+@comment $NetBSD$
+coverity/VERSION
+coverity/VERSION.xml
+coverity/bin/cov-blame
+coverity/bin/cov-build
+coverity/bin/cov-capture
+coverity/bin/cov-configure
+coverity/bin/cov-emit
+coverity/bin/cov-extract-scm
+coverity/bin/cov-help
+coverity/bin/cov-import-scm
+coverity/bin/cov-internal-pid-to-db
+coverity/bin/cov-internal-reduce
+coverity/bin/cov-internal-thunk.sh
+coverity/bin/cov-internal-trace.sh
+coverity/bin/cov-manage-emit
+coverity/bin/cov-preprocess
+coverity/bin/cov-query-build
+coverity/bin/cov-translate
+coverity/bin/libcapture-deps-netbsd64-i686.so
+coverity/bin/libcapture-deps-netbsd64-x86_64.so
+coverity/bin/libcapture-netbsd64-i686.so
+coverity/bin/libcapture-netbsd64-x86_64.so
+coverity/config/checker-properties-en.json
+coverity/config/coverity_config.xml
+coverity/config/default_models.concurrency.json
+coverity/config/default_models.dataflow.json
+coverity/config/default_models.dataflow_jsp_tags.json
+coverity/config/default_models.exceptions.json
+coverity/config/default_models.generic.json
+coverity/config/default_models.global_dataflow.json
+coverity/config/default_models.ptr_arith.json
+coverity/config/default_models.security.json
+coverity/config/default_models.stack_use.json
+coverity/config/default_models.stats.json
+coverity/config/default_models.symbian.json
+coverity/config/default_models.ta_flow_insensitive.json
+coverity/config/default_models.ta_generic.json
+coverity/config/default_models.ta_security.json
+coverity/config/default_models.uninit.json
+coverity/config/default_models.webapp_security.json
+coverity/config/dist-policy.conf
+coverity/config/icudt36l.dat
+coverity/config/locations.properties
+coverity/config/parse_warnings.conf.sample
+coverity/config/template-android-config-0/coverity_config.xml
+coverity/config/template-apt-config-0/coverity_config.xml
+coverity/config/template-apt-config-1/coverity_config.xml
+coverity/config/template-clangcc-config-0/coverity_config.xml
+coverity/config/template-clangcc-config-1/coverity_config.xml
+coverity/config/template-clangcxx-config-0/coverity_config.xml
+coverity/config/template-clangcxx-config-1/coverity_config.xml
+coverity/config/template-csc-config-0/coverity_config.xml
+coverity/config/template-csc-config-1/coverity_config.xml
+coverity/config/template-csc-config-2/coverity_config.xml
+coverity/config/template-csc-config-3/coverity_config.xml
+coverity/config/template-g++-config-0/coverity_config.xml
+coverity/config/template-gcc-config-0/coverity_config.xml
+coverity/config/template-gcc-config-1/coverity_config.xml
+coverity/config/template-gcc-config-2/coverity_config.xml
+coverity/config/template-gcc-config-3/coverity_config.xml
+coverity/config/template-gcc-config-4/coverity_config.xml
+coverity/config/template-html-config-0/coverity_config.xml
+coverity/config/template-html-config-1/coverity_config.xml
+coverity/config/template-html-config-2/coverity_config.xml
+coverity/config/template-html-config-3/coverity_config.xml
+coverity/config/template-java-config-0/coverity_config.xml
+coverity/config/template-java-config-1/coverity_config.xml
+coverity/config/template-javac-config-0/coverity_config.xml
+coverity/config/template-javac-config-1/coverity_config.xml
+coverity/config/template-javascript-config-0/coverity_config.xml
+coverity/config/template-javascript-config-1/coverity_config.xml
+coverity/config/template-javaw-config-0/coverity_config.xml
+coverity/config/template-javaw-config-1/coverity_config.xml
+coverity/config/template-jsp-config-0/coverity_config.xml
+coverity/config/template-ld-config-0/coverity_config.xml
+coverity/config/template-ld-config-1/coverity_config.xml
+coverity/config/template-msvc-config-0/coverity_config.xml
+coverity/config/template-msvc-config-1/coverity_config.xml
+coverity/config/template-msvc_devenv-config-0/coverity_config.xml
+coverity/config/template-msvc_devenv-config-1/coverity_config.xml
+coverity/config/template-msvc_link-config-0/coverity_config.xml
+coverity/config/template-msvc_link-config-1/coverity_config.xml
+coverity/config/template-msvc_msbuild-config-0/coverity_config.xml
+coverity/config/template-msvc_msbuild-config-1/coverity_config.xml
+coverity/config/template-php-config-0/coverity_config.xml
+coverity/config/template-php-config-1/coverity_config.xml
+coverity/config/template-python-config-0/coverity_config.xml
+coverity/config/template-python-config-1/coverity_config.xml
+coverity/config/template-ruby-config-0/coverity_config.xml
+coverity/config/templates/clang.cov_emit/clang.cov_emit_config.xml
+coverity/config/templates/clang.cov_emit/clang.cov_emit_switches.dat
+coverity/config/templates/clang.cov_emit/compiler-compat-clang-common.h
+coverity/config/templates/clang.cov_emit/compiler-compat-clangcc.h
+coverity/config/templates/clang.cov_emit/compiler-compat-clangcxx.h
+coverity/config/templates/clang/clang_compilers.cpp
+coverity/config/templates/clang/clang_config.xml
+coverity/config/templates/clang/clang_preprocessor_switches.dat
+coverity/config/templates/clang/clang_switches.dat
+coverity/config/templates/clang/compiler-compat-clang-common.h
+coverity/config/templates/clang/compiler-compat-clangcc.h
+coverity/config/templates/clang/compiler-compat-clangcxx.h
+coverity/config/templates/clang/test-configuration.clang++.json
+coverity/config/templates/clang/test-configuration.clang.json
+coverity/config/templates/csc/csc_compilers.cpp
+coverity/config/templates/csc/csc_config.xml
+coverity/config/templates/csc/csc_switches.dat
+coverity/config/templates/csc/test-configuration.csc.json
+coverity/config/templates/generic/compiler-compat-generic.h
+coverity/config/templates/generic/compiler-compat-generic_cxx.h
+coverity/config/templates/generic/generic_compilers.cpp
+coverity/config/templates/generic/generic_config.xml
+coverity/config/templates/generic/generic_switches.dat
+coverity/config/templates/generic_clang/generic_clang_preprocessor_switches.dat
+coverity/config/templates/generic_clang/generic_clang_switches.dat
+coverity/config/templates/generic_cs/generic_cs_switches.dat
+coverity/config/templates/generic_java/generic_java_switches.dat
+coverity/config/templates/gnu/compiler-compat-arm-intrin.h
+coverity/config/templates/gnu/compiler-compat-g++.h
+coverity/config/templates/gnu/compiler-compat-gcc-intrin.h
+coverity/config/templates/gnu/compiler-compat-gcc.h
+coverity/config/templates/gnu/test-configuration.g++.json
+coverity/config/templates/gnu/test-configuration.gcc.json
+coverity/config/templates/java/java_compilers.cpp
+coverity/config/templates/java/java_config.xml
+coverity/config/templates/java/java_switches.dat
+coverity/config/templates/javascript/javascript_config.xml
+coverity/config/templates/javascript/javascript_switches.dat
+coverity/config/templates/php/php_config.xml
+coverity/config/templates/php/php_switches.dat
+coverity/config/templates/python/python_config.xml
+coverity/config/templates/python/python_switches.dat
+coverity/config/templates/ruby/ruby_config.xml
+coverity/config/templates/ruby/ruby_switches.dat
+coverity/config/user_nodefs.h
+coverity/config/wrapper_escape.conf
+coverity/doc/en/ScanUserAgreementv2016.1.pdf
+coverity/doc/en/help/cov-build.txt
+coverity/doc/en/help/cov-configure.txt
+coverity/doc/en/help/cov-emit-java.txt
+coverity/doc/en/help/cov-emit.txt
+coverity/doc/en/help/cov-import-scm.txt
+coverity/doc/en/help/cov-manage-emit.txt
+coverity/doc/en/help/cov-preprocess.txt
+coverity/doc/en/help/cov-translate.txt
+coverity/doc/en/licenses/atk_license.txt
+coverity/doc/en/licenses/cairo_license.txt
+coverity/doc/en/licenses/fontconfig_license.txt
+coverity/doc/en/licenses/freetype_license.txt
+coverity/doc/en/licenses/gnome_license.txt
+coverity/doc/en/licenses/googleguice_license.txt
+coverity/doc/en/licenses/gtk_license.txt
+coverity/doc/en/licenses/joda_licenses.txt
+coverity/doc/en/licenses/jodo_licenses.txt
+coverity/doc/en/licenses/libexpat_license.txt
+coverity/doc/en/licenses/libpng_license.txt
+coverity/doc/en/licenses/libxft_license.txt
+coverity/doc/en/licenses/libxml2_license.txt
+coverity/doc/en/licenses/nebula_tablecombo_license.txt
+coverity/doc/en/licenses/pango_license.txt
+coverity/doc/en/licenses/pixman_license.txt
+coverity/doc/en/licenses/xproto_license.txt
+coverity/doc/en/licenses/xrender_license.txt
+coverity/dtd/analyze-build.dtd
+coverity/dtd/annotation.dtd
+coverity/dtd/catalog.xml
+coverity/dtd/compile.dtd
+coverity/dtd/config.dtd
+coverity/dtd/coverity_config.dtd
+coverity/dtd/escapes.dtd
+coverity/dtd/flexnet-trial-v1.dtd
+coverity/dtd/license-trial-v1.dtd
+coverity/dtd/license-trial.dtd
+coverity/dtd/license-v1.dtd
+coverity/dtd/license.dtd
+coverity/dtd/reports.dtd
+coverity/dtd/table.dtd
+coverity/locale/ja/LC_MESSAGES/coverity.mo
+coverity/locale/ja/LC_MESSAGES/findbugs.mo
+coverity/locale/zh-cn/LC_MESSAGES/coverity.mo
+coverity/locale/zh-cn/LC_MESSAGES/findbugs.mo
+coverity/relink.sh
+coverity/remod.sh
diff --git a/coverity-analysis-bin/distinfo b/coverity-analysis-bin/distinfo
new file mode 100644
index 0000000..776a9f6
--- /dev/null
+++ b/coverity-analysis-bin/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (cov-analysis-netbsd64-8.5.0.3.tar.gz) = de774750bf5db3aa8a3eca5d320949841b823318
+RMD160 (cov-analysis-netbsd64-8.5.0.3.tar.gz) = f0bac842cbd157bea3207163c68f7c4ed72dade0
+SHA512 (cov-analysis-netbsd64-8.5.0.3.tar.gz) = a5ec6498dd66d65e0ee975a45be0743ad9338e3046ee577df63419d042681fb5ce508dffbed1df84ba62d090b81b197b838b0904058445819a7189c299cac867
+Size (cov-analysis-netbsd64-8.5.0.3.tar.gz) = 66212349 bytes


Home | Main Index | Thread Index | Old Index