summaryrefslogtreecommitdiff
path: root/dev-util/coverity
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2015-01-25 02:01:28 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2015-03-28 17:09:03 +0000
commit7f4e757f578ef47ee1437d72b9daca498932b023 (patch)
treee230a1895d7234da532ddb6bbf54602172e8e143 /dev-util/coverity
parentmetadata: refresh cache (diff)
downloadportage-7f4e757f578ef47ee1437d72b9daca498932b023.tar.xz
dev-util/coverity: Version bump
Package-Manager: portage-2.2.14
Diffstat (limited to 'dev-util/coverity')
-rw-r--r--dev-util/coverity/ChangeLog5
-rw-r--r--dev-util/coverity/Manifest5
-rw-r--r--dev-util/coverity/coverity-7.6.0.ebuild80
3 files changed, 89 insertions, 1 deletions
diff --git a/dev-util/coverity/ChangeLog b/dev-util/coverity/ChangeLog
index 3dc0ae66..64b726ed 100644
--- a/dev-util/coverity/ChangeLog
+++ b/dev-util/coverity/ChangeLog
@@ -1,3 +1,8 @@
+*coverity-7.6.0 (25 Jan 2015)
+
+ 25 Jan 2015; <bertrand@jacquin.bzh> +coverity-7.6.0.ebuild:
+ dev-util/coverity: Version bump
+
*coverity-7.5.0 (10 Jul 2014)
10 Jul 2014; Bertrand Jacquin <beber@meleeweb.net> +coverity-7.5.0.ebuild,
diff --git a/dev-util/coverity/Manifest b/dev-util/coverity/Manifest
index 9a7269fc..89d3370b 100644
--- a/dev-util/coverity/Manifest
+++ b/dev-util/coverity/Manifest
@@ -1,5 +1,8 @@
DIST cov-analysis-linux32-7.5.0.tar.gz 329445724 SHA256 fadceb38d6154a9e8aad5bf602274c528d435d535acaf992e338e6a6f49d846a WHIRLPOOL 98c6b2f314667046128d3434c38408823619ab23ca10a49ea81051a2b2cd62dc10018e7e4618fc0f55da7e19bf01958eb053aade920a173bc9055459664b355b
+DIST cov-analysis-linux32-7.6.0.tar.gz 310054593 SHA256 58e73c2c5836046846d0d8e18095293bf17840c90db1620538ddb644c19c9783 WHIRLPOOL 8f7228650240d9d9c8cdfd1c262adccb8cedf352485acf54d44730c2361b90ae79dd64cbf1fa992a5a5a73f8aade1bdca8e26768d2f102dca2a46562cf4394cc
DIST cov-analysis-linux64-7.5.0.tar.gz 327337248 SHA256 da4e378664081b839efbf4d2c95100063c603ebb196707e528cf8fc72ebed7a7 WHIRLPOOL c410d1c26abcd295763e25dfc1ffcf7858334adb5f4f746fe28092dee0c9b0d9d8463ae0b41b7e8d3ec915dbe4045a1460cee5c7bd2ad4ec15430c0dd9ac4d75
+DIST cov-analysis-linux64-7.6.0.tar.gz 164973660 SHA256 f8982bd437f6890a69fe49e6329afa8e320acb1771f06a2a57ded777ba322fe2 WHIRLPOOL 848f32c63aa6907b50a0f72ed89e61fcedef287ab84bf52de5f1cb435cf0411ff59ede36cc8db73fa7338d7b0bae6908500132eef1e66237dac89dbd144137fc
EBUILD coverity-7.5.0.ebuild 1923 SHA256 beff58c2ae3b1d0effffa02c6d436bd0eb53c3840d3f2a03a31022efd27b81bb WHIRLPOOL e605a482e95f43592aeeef5711fa928df9df035e345310fe3b90897d7603760ddff7bc3c95ec983a408e3db7fe71edb0f4c3e40d1fece9ad44113bea66645033
-MISC ChangeLog 688 SHA256 9db4e4e27a2d8d92d6c3dde65ca6facad1f7f027a74ad96258017e0fcc1a64b9 WHIRLPOOL 1bfcf8f65341dd6fe730dc3fb578a21c4e27e7b7bd48e5b25922f250a2839bfd242c7dd1cdf1992ad1b9f311c14d04e294be0c6ce883d9b0bbc0cf81b557ab3b
+EBUILD coverity-7.6.0.ebuild 2095 SHA256 7a76e0b8e7056429d85ef6d336d83697f8768c69cead248928fb78099ec1d863 WHIRLPOOL 6e7dff8c494ff677bd0ee9ffaaab52a1388a8648a4537bc5c187005fcf64eb992a9dad02a65df6984885465af677b6eb1f28fcd7c3cd4a7fd68f866925dd59ec
+MISC ChangeLog 817 SHA256 77ee38c99a1cba82d53c16574a7220a28f541b6ca10e9b909f1a4551838ef456 WHIRLPOOL f36db8b70cc8865ea7c6d79cef03a9b78f95cb19c97422d0a48859940b74cf3a881d3b74bd9cb690d795f45a8ae27faacc263bb2b81446676afd935e96dd65e3
MISC metadata.xml 254 SHA256 c56bc3d6780712c960298c70bb86867aeb6661e97a317cc624516b0e16b72fcc WHIRLPOOL 2ebbfaa14ef0c1847284fe64a79f052cd7e73b25a724fba728c084aaaf2dd0692e068eedcf42ccef7e205077f00c35780ded7ec69118dc01ddb988b4802e46ae
diff --git a/dev-util/coverity/coverity-7.6.0.ebuild b/dev-util/coverity/coverity-7.6.0.ebuild
new file mode 100644
index 00000000..200dd0d5
--- /dev/null
+++ b/dev-util/coverity/coverity-7.6.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="Coverity provides the results of analysis on open source coding projects"
+HOMEPAGE="http://www.coverity.com"
+SRC_URI="amd64? ( https://scan.coverity.com/download/cxx/linux-64 -> cov-analysis-linux64-${PV}.tar.gz )
+ x86? ( https://scan.coverity.com/download/cxx/linux-32 -> cov-analysis-linux32-${PV}.tar.gz )"
+
+LICENSE="coverity-PLA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+LINGUAS="ja"
+for _l in ${LINGUAS} ; do
+ IUSE="${IUSE} linguas_${_l}"
+done
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+RESTRICT="fetch"
+
+QA_PREBUILT="opt/coverity/bin/*"
+
+use amd64 && S="${WORKDIR}/cov-analysis-linux64-${PV}"
+use x86 && S="${WORKDIR}/cov-analysis-linux-${PV}"
+
+pkg_nofetch() {
+ eerror "Please go to https://scan.coverity.com/download"
+ use amd64 && eerror "and download Linux-64"
+ use x86 && eerror "and download Linux-32"
+ eerror "then put the file in ${DISTDIR}"
+ use amd64 && eerror "named as cov-analysis-linux64-${PV}.tar.gz"
+ use x86 && eerror "named as cov-analysis-linux32-${PV}.tar.gz"
+}
+
+src_prepare () {
+ echo "PATH='/opt/${PN}/bin'" > "${T}/99${PN}"
+ echo "ROOTPATH='/opt/${PN}/bin'" >> "${T}/99${PN}"
+
+ # Cleanup
+ find -type f -name '*.DS_Store' -exec rm {} +
+
+ # Already available in /usr/portage/licenses
+ rm -r doc/*/licenses
+ rm doc/*/CoverityLicense.pdf
+}
+
+src_install () {
+ doenvd "${T}/99${PN}"
+
+ insinto "/opt/${PN}"
+ doins -r config doc dtd jars
+
+ into /opt/coverity
+ dobin bin/cov-*
+ dobin bin/lib*.so
+
+ insinto /usr/share/locale
+ for _l in ${LINGUAS} ; do
+ if use "linguas_${_l}" ; then
+ doins -r "locale/${_l}"
+ fi
+ done
+}
+
+pkg_postinst() {
+ elog "Coverity build tool comes pre-configured for gcc, msvc and java."
+ elog "For other compiler, run cov-configure as described in"
+ elog "https://communities.coverity.com/thread/2726#5328"
+ elog
+ elog "See also: https://communities.coverity.com/message/4838#4838"
+ elog
+ elog "You need to run env-update and source /etc/profile in any open shells"
+ elog "to get coverity in PATH"
+}