summaryrefslogtreecommitdiff
path: root/sys-devel/smatch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-01-22 10:09:44 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-01-22 10:09:44 +0000
commit09351e78166b5e864197c4456ebae3f89dd0bed9 (patch)
tree41a96399f56ed3aa399006871bfce4430db84aa2 /sys-devel/smatch
parentc8a77dfe4d3d307c1d5dd2650b7297447d8b609d (diff)
gentoo resync : 22.01.2019
Diffstat (limited to 'sys-devel/smatch')
-rw-r--r--sys-devel/smatch/Manifest2
-rw-r--r--sys-devel/smatch/smatch-1.60.ebuild66
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-devel/smatch/Manifest b/sys-devel/smatch/Manifest
index 80ed43d582da..736fb6f208ce 100644
--- a/sys-devel/smatch/Manifest
+++ b/sys-devel/smatch/Manifest
@@ -1,8 +1,10 @@
AUX smatch-1.57-restrict.patch 406 BLAKE2B c22cd24b1666c73daef2b90bd9e8235c418630f153430206f5d32b224782e7d500a6524eadec6ad6c0ff4d379725b84ecc7d8dcd185e7451593e50cfd7929e04 SHA512 fa4816a24a2f0ff4aaf057ac83fc0ba4d9787f0e2daa7e6999700448068460adddce6fcac3efdb7aa69e4d60b9eb34f4ff17056e8037419ac4f5d21b5be5514d
DIST smatch-1.57.tar.gz 491677 BLAKE2B 150ba84dc797497b2522d28b443a89fbec221a00fcade85014d434f675ec60908a473770c695dbf65a5ed273c3e665aa9dc4ec9a91bc071651388a9ec90f1bfa SHA512 031f417c97d58b617b2e375a28f509f71eb2735212a98aee0e21880a28842078ad3c24b5375a03f73d75fec582a9d187ed6a00a0512c4792e5ffce82dfd79b99
DIST smatch-1.59.tar.gz 495530 BLAKE2B 668a050e229cd9b4e5881fe059f5a8654164f5a155c471559ce7a82e66bcb2170f89a25680be7ff867f2765b574f363ef95a15a65ca98d47dbd8aed20f588f9a SHA512 5e18f48dbbe11255a06b427205aefd1f8f5a11bb0b238f9134b89e6f5cb838fcae649a4e87a4a04473a33077c94e88aab46b06e33cc87cfe451fa83b5846ccc7
+DIST smatch-1.60.tar.gz 558479 BLAKE2B d5e564c32e33dc38847f9a258b4b47285f190652181db9b8850c832c0cf4d8a3302d989a7b42592e73a713927a29565565e83a9be1b0a5c9d10869fce278a0be SHA512 2920c9d4c500db36cfa60db5be70d157ed16abd729279462faef6f79e0756bd017ec91b8f857d19fdebd8a9d709b0555635700a2864cf0a84daa61cf2ca3eecd
EBUILD smatch-1.57-r1.ebuild 1259 BLAKE2B f7087313102dcddbf48144d7e4466d5b84d736ba6332dcc3c613dca105933cac4b88ee128d62b61e002a2fa9558d190535d83909de3b7da79a63cbf5abb32386 SHA512 d79a795083b48938abd2dcf68cd119b0db642c563e57ba8e38a3ec1031e3bb3ee29c40abc3db6f98b1c0300836871586ace56447376b203dc0ef5395342bd268
EBUILD smatch-1.57.ebuild 1210 BLAKE2B d9a0ad71528dd7676e0dc3891413cc6bbe17ce875905b7c184a47148331d5222dfcd4e4614c3f9b510f8b49fe2e1f0372e6ae3a740a66bda4e1fe2a5b86eabb1 SHA512 310410b07f94e7ce5fb353696139e28b88af5b0bf112fd078a2c79dcbb6816d6db9dac9c5c2049a3a7215a4b311915b5b33dbecc0d34aecbd2e5cd3bd05b8c5c
EBUILD smatch-1.59.ebuild 1218 BLAKE2B 3afa9b44109f0be9329a8a756cd30e574d26d39356f3c578f008f333c1a1ead766ba14e7e6f899d24433942e651e8061d70dec9a6336198f17994ff582978dab SHA512 9b88a6e66559e5c68109ef663000cf6b7ce496783b2643a6bb9f7d6fd5e13bd10e7b3bec53867bf93c77d3d2dddd9dec3b92836b2245eb6dc412b3eca6073855
+EBUILD smatch-1.60.ebuild 1250 BLAKE2B 1960cd8b368c13439e4b180c5440e4f38775e4580360b01c498a4f793facc8a695871f22833d25a578dd33761f577723d75e9d4c0129c87945f176a8001dd69c SHA512 829f80b6695883eece120429735f3021f8f0e8a808ee8ae4e3018faa72b0147ae999f3892dce7252dc228d4d6eddefa7d7783d6418b5abdfa18be9e264500873
EBUILD smatch-9999.ebuild 1218 BLAKE2B 3afa9b44109f0be9329a8a756cd30e574d26d39356f3c578f008f333c1a1ead766ba14e7e6f899d24433942e651e8061d70dec9a6336198f17994ff582978dab SHA512 9b88a6e66559e5c68109ef663000cf6b7ce496783b2643a6bb9f7d6fd5e13bd10e7b3bec53867bf93c77d3d2dddd9dec3b92836b2245eb6dc412b3eca6073855
MISC metadata.xml 337 BLAKE2B 3215b338ec89ebd2d1d39e33c5903a6ad571ee6ad4236968a2c250f2d7882c90c2791746df43455a7fd63ebff544177f49c9e0074a31ccd81f7ef68f1eabfa82 SHA512 8d4007163912848eb4e4b525c808e7c69fe5aa93913398db793b6ed73936cc936a25e1fe7dce4a915b4caf6b2796d6dd4d1a52ed6dfbd2e0fb0faf6c0ba1c7e0
diff --git a/sys-devel/smatch/smatch-1.60.ebuild b/sys-devel/smatch/smatch-1.60.ebuild
new file mode 100644
index 000000000000..ad8cb5990563
--- /dev/null
+++ b/sys-devel/smatch/smatch-1.60.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://repo.or.cz/${PN}.git
+ http://repo.or.cz/r/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
+ mirror://gentoo/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+ S=${WORKDIR}/${PN}
+fi
+
+DESCRIPTION="static analysis tool for C"
+HOMEPAGE="http://smatch.sourceforge.net/"
+
+LICENSE="OSL-1.1"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-db/sqlite"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}-7a4fdad
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
+ Makefile || die
+}
+
+_emake() {
+ # gtk/llvm/xml is used by sparse which we don't install
+ emake \
+ PREFIX="${EPREFIX}/usr" \
+ V=1 \
+ AR="$(tc-getAR)" \
+ CC="$(tc-getCC)" \
+ LD='$(CC)' \
+ HAVE_GTK2=no \
+ HAVE_LLVM=no \
+ HAVE_LIBXML=no \
+ "$@"
+}
+
+src_compile() {
+ _emake smatch
+}
+
+src_test() {
+ _emake check
+}
+
+src_install() {
+ # default install target installs a lot of sparse cruft
+ dobin smatch
+ insinto /usr/share/smatch/smatch_data
+ doins smatch_data/*
+ dodoc FAQ README
+}