summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-12-20 02:46:33 +0000
committerMike Frysinger <vapier@gentoo.org>2012-12-20 02:46:33 +0000
commitc69c8d7b95e31d3a935289734a4ec5f7e2549079 (patch)
treeca4ade8476f88adf10b7f2b57ba7d9ef4932dc26 /sys-devel/smatch
parentBeta channel bump. (diff)
downloadhistorical-c69c8d7b95e31d3a935289734a4ec5f7e2549079.tar.gz
historical-c69c8d7b95e31d3a935289734a4ec5f7e2549079.tar.bz2
historical-c69c8d7b95e31d3a935289734a4ec5f7e2549079.zip
Version bump.
Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64 Manifest-Sign-Key: 0xFB7C4156
Diffstat (limited to 'sys-devel/smatch')
-rw-r--r--sys-devel/smatch/ChangeLog11
-rw-r--r--sys-devel/smatch/Manifest28
-rw-r--r--sys-devel/smatch/smatch-1.57.ebuild54
-rw-r--r--sys-devel/smatch/smatch-9999.ebuild19
4 files changed, 93 insertions, 19 deletions
diff --git a/sys-devel/smatch/ChangeLog b/sys-devel/smatch/ChangeLog
index 7abeb1947fd5..32a3ff188a41 100644
--- a/sys-devel/smatch/ChangeLog
+++ b/sys-devel/smatch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/smatch
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/ChangeLog,v 1.2 2011/09/21 08:38:29 mgorny Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/ChangeLog,v 1.3 2012/12/20 02:46:28 vapier Exp $
+
+*smatch-1.57 (20 Dec 2012)
+
+ 20 Dec 2012; Mike Frysinger <vapier@gentoo.org> +smatch-1.57.ebuild,
+ smatch-9999.ebuild:
+ Version bump.
21 Sep 2011; Michał Górny <mgorny@gentoo.org> smatch-9999.ebuild:
Migrate to git-2.
@@ -10,4 +16,3 @@
08 Sep 2011; Mike Frysinger <vapier@gentoo.org> +smatch-9999.ebuild,
+metadata.xml:
Initial ebuild.
-
diff --git a/sys-devel/smatch/Manifest b/sys-devel/smatch/Manifest
index e6e21ee3d419..189d5a92845b 100644
--- a/sys-devel/smatch/Manifest
+++ b/sys-devel/smatch/Manifest
@@ -1,15 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-EBUILD smatch-9999.ebuild 1103 RMD160 5b0f0ee9f787ada80eea65bc87c0979070cbdb4d SHA1 90a9dc8f239c3f550b5d67a97abac0d750e7110a SHA256 59ea503fafc8cec4ff873d575417140ac100d264f5c6768400597c216106ab49
-MISC ChangeLog 431 RMD160 abd0d66d732d55263928a7b6c3ff699eb68c52af SHA1 481371f3a2b593c1953e7c5ec47a869b8d0c86bb SHA256 3864f0825c1a5ce24ef4fc333c2f5ae025d179cc9fb2b0d3bd214e04152396c2
-MISC metadata.xml 189 RMD160 aab1ee25c01468eb7628b38009b16ecb269acef7 SHA1 3b00989b12c9267dde5f4d8d0092a232c13f9b20 SHA256 f6c4bd31d739964490c3345b792de749704bfa69602dad420a448393f140e820
+DIST smatch-1.57.tar.gz 491677 SHA256 3ca08158f066887aa821da45962e4999ca60b459f3f13eb5ffc4d68c4b94cadb SHA512 031f417c97d58b617b2e375a28f509f71eb2735212a98aee0e21880a28842078ad3c24b5375a03f73d75fec582a9d187ed6a00a0512c4792e5ffce82dfd79b99 WHIRLPOOL 6eb43af471ba08c106fe05dc786422b16b20cb94bf9af2afdde3e9ccea6985bc5c3b39922e135d55b7a1b341187a77a9565b2ef27ff47f7214b6472b10b6d7c0
+EBUILD smatch-1.57.ebuild 1319 SHA256 1231d6c804eab633880443697501b05808347678c31d8c3d4d6d7373f25ffcbb SHA512 e9cbc5c85d92fc19720fdb2dd3654d3611c1e6ff6438380a61f82c827ba9bec0623c11bc520e119d28a4d8a9d58bebfdff1e7b0f9cf5cc8aa2bcf655182316a5 WHIRLPOOL 33f2fd66b7e20c0366c6c63e240882e5812854a404de83f9ef440b365dc4c6916a423c72ebce2db03c696322b4ec98c69ccc61de3cde619fcff5fa671f913226
+EBUILD smatch-9999.ebuild 1319 SHA256 48a37cdfa2580d2f1ecaa892dec36dcad64c20addb8dfa0cfadb8dbb2b79a213 SHA512 daa414b2e4655ce0eb8580ecf344ff87f04140b3c45edf194372d3d3e6fb2de1d008e94a2339aed4cde9d6aabe04faa6077023305f07c6cd5f9ff490e07b7009 WHIRLPOOL 078e19fc2212097b6718bf2d4bb995f0818fa2acc585d1b13cb8382de482ef6df73af1be9d7ba8869f42d08b11475b7f3ba6f6dd898ef8fc4d9b0ff39964af75
+MISC ChangeLog 568 SHA256 6de5f340d1d8bc3cde140515a69c89a1939a1f4001d13438a63e7668d26797fd SHA512 ba0832cd88d078617397d8689ea4461f121cf406a922c11de8e190b00563ad5c48ef474dbe34bae2d81119005577753fc13ac8d73ae1e5b835e99b2deb4fe177 WHIRLPOOL 0e851d570e700327ffcb1168dea727ccd05d649ac7097a3828a643281b01da3bee14de2c0e44e115397516db0b2ccd748acc466e07277701a85326a0fc3e6b59
+MISC metadata.xml 189 SHA256 f6c4bd31d739964490c3345b792de749704bfa69602dad420a448393f140e820 SHA512 df124082a0630c0c97a145a171bcaba5b0b2232bab65b31cfc53768f8b3c685117b59718f8ca9300ff634d042e52acdc17b62b66646751602976ed0262319c22 WHIRLPOOL 85eb7bae9953aaffcf2dc7d114474bc4bce8c0d1375f6c92266ddecfeaa86dda9f51b21046f6e7d9d89e356bed15f0c053e9366fb071d7788fd8325671de5c10
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iJwEAQEIAAYFAk55ow4ACgkQfXuS5UK5QB2HUAP7BCR3gIIDddz8D9uDHimqtV/A
-+mYYTUHn+Ygo/0or9+RFBIvzWgvilOlkOyreZ/TKQy6wYkFmG64WJMpEjqlWXtma
-sqGK/C+QyUe0ixWczyG9b50t1eHx0c8iJTy2fbLg6cxsfkRYZPp/5OFOq38jdtxS
-GYKtDo6cfyBxkK+WLgg=
-=BbXk
+iQIcBAEBCAAGBQJQ0nwGAAoJELEHsLL7fEFWFxcP/1kZch0SNzd/mkCLPpoa+GZ+
+UUNdjV/7i1LaenQkp6kMvXnb6YRgMfDV5gtI16TGOMl3ZcmPeYFIKT6T5KC5rYNZ
+e0ABukZLCASqiSE5u/+5KuoxMNNyNYAmXKzb2GivnK5f/67KOebrJm9zgxoSQIkO
+P13/9cMyMMGYs3ET4Wr0SIjO6QoI9btwFvvp1iKtib7sZWSCAPNFOyIFUeKAEmR5
+upo8saAe7+A9ZzmpHv+1t7vkUbDP48svotRSghN75wy70kTwn1E4D7hszWfMsjdg
+/PIkVBcuLBz75VGYj06i9Fwcg8S3v7S3sUhuKDSWLwawuOxE61qRlnmKvdkelx0j
+3Wom1+n89MgaghmWOzQ2XCKx6xwaTuXpfhwLjwBCsh+EygIMulXL+YWMHriIn6xS
+yoRq2jaBPKnnyRYj9hD2JtqqCRCudevfjnI9OysUTJsANf6RTF/dJrClnxIagNY8
+3psyGfXTBsLktn/a2We8+Vf4SAS1KvAzkqMSRJhGNbgvy8ymuRTnew+qgIK5luyW
+mUYmoahvn92jvg65MMS1f+zdQwLzrE4OlXlG2hSG2xhbbGF1u7gKWXUEfqGfhAnw
+cd/k7E7HEqC3D/QK+aYhARetpqZGjls1oJ0NOhYEeFplwGZ2/NX1Yll6p4lG9+XN
+KzYVSnFIs6MyalZDolIt
+=gyxA
-----END PGP SIGNATURE-----
diff --git a/sys-devel/smatch/smatch-1.57.ebuild b/sys-devel/smatch/smatch-1.57.ebuild
new file mode 100644
index 000000000000..b73a6576262f
--- /dev/null
+++ b/sys-devel/smatch/smatch-1.57.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/smatch-1.57.ebuild,v 1.1 2012/12/20 02:46:28 vapier Exp $
+
+EAPI="4"
+
+inherit multilib toolchain-funcs
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://repo.or.cz/${PN}.git
+ http://repo.or.cz/r/${PN}.git"
+ inherit git-2
+fi
+
+DESCRIPTION="static analysis tool for C"
+HOMEPAGE="http://smatch.sourceforge.net/"
+
+if [[ ${PV} == "9999" ]] ; then
+ SRC_URI=""
+ #KEYWORDS=""
+else
+ # The repo.or.cz site does not produce stable tarballs,
+ # so we have to cache our own copy of the snapshot.
+ #SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="mirror://gentoo/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+LICENSE="OSL-1.1"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-db/sqlite"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i \
+ -e '/^PREFIX=/s:=.*:=/usr:' \
+ -e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
+ Makefile || die
+}
+
+src_compile() {
+ emake PREFIX=/usr V=1 CC="$(tc-getCC)" smatch
+}
+
+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
+}
diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild
index bde661fa5621..aec2144d3154 100644
--- a/sys-devel/smatch/smatch-9999.ebuild
+++ b/sys-devel/smatch/smatch-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/smatch-9999.ebuild,v 1.2 2011/09/21 08:38:29 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/smatch-9999.ebuild,v 1.3 2012/12/20 02:46:28 vapier Exp $
-EAPI="2"
+EAPI="4"
inherit multilib toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
@@ -18,7 +18,10 @@ if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
#KEYWORDS=""
else
- SRC_URI=""
+ # The repo.or.cz site does not produce stable tarballs,
+ # so we have to cache our own copy of the snapshot.
+ #SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="mirror://gentoo/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
fi
@@ -29,6 +32,8 @@ IUSE=""
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
+S=${WORKDIR}/${PN}
+
src_prepare() {
sed -i \
-e '/^PREFIX=/s:=.*:=/usr:' \
@@ -37,13 +42,13 @@ src_prepare() {
}
src_compile() {
- emake PREFIX=/usr V=1 CC="$(tc-getCC)" smatch || die
+ emake PREFIX=/usr V=1 CC="$(tc-getCC)" smatch
}
src_install() {
# default install target installs a lot of sparse cruft
- dobin smatch || die
+ dobin smatch
insinto /usr/share/smatch/smatch_data
- doins smatch_data/* || die
+ doins smatch_data/*
dodoc FAQ README
}