diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-devel/smatch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-devel/smatch')
-rw-r--r-- | sys-devel/smatch/Manifest | 10 | ||||
-rw-r--r-- | sys-devel/smatch/files/smatch-1.57-restrict.patch | 14 | ||||
-rw-r--r-- | sys-devel/smatch/metadata.xml | 11 | ||||
-rw-r--r-- | sys-devel/smatch/smatch-1.57-r1.ebuild | 54 | ||||
-rw-r--r-- | sys-devel/smatch/smatch-1.57.ebuild | 53 | ||||
-rw-r--r-- | sys-devel/smatch/smatch-1.59.ebuild | 63 | ||||
-rw-r--r-- | sys-devel/smatch/smatch-9999.ebuild | 63 |
7 files changed, 268 insertions, 0 deletions
diff --git a/sys-devel/smatch/Manifest b/sys-devel/smatch/Manifest new file mode 100644 index 000000000000..bf5b42efe09f --- /dev/null +++ b/sys-devel/smatch/Manifest @@ -0,0 +1,10 @@ +AUX smatch-1.57-restrict.patch 406 SHA256 f06b2bafdd32eac4896e0b265af31b00fb09673fde17c053d8a5a8e46666a01d SHA512 fa4816a24a2f0ff4aaf057ac83fc0ba4d9787f0e2daa7e6999700448068460adddce6fcac3efdb7aa69e4d60b9eb34f4ff17056e8037419ac4f5d21b5be5514d WHIRLPOOL 0942edefc918682bd126049340e6dd3d2995e0e6a87b4e081aecef9f2824862dd44a030bf6630a4f5f57ed1b40a475a4ff2f1e30c0479a85ba21fefd9cc0104e +DIST smatch-1.57.tar.gz 491677 SHA256 3ca08158f066887aa821da45962e4999ca60b459f3f13eb5ffc4d68c4b94cadb SHA512 031f417c97d58b617b2e375a28f509f71eb2735212a98aee0e21880a28842078ad3c24b5375a03f73d75fec582a9d187ed6a00a0512c4792e5ffce82dfd79b99 WHIRLPOOL 6eb43af471ba08c106fe05dc786422b16b20cb94bf9af2afdde3e9ccea6985bc5c3b39922e135d55b7a1b341187a77a9565b2ef27ff47f7214b6472b10b6d7c0 +DIST smatch-1.59.tar.gz 495530 SHA256 9c300600aace39fe67fde59421a159d6dffdc5d8ef074762a6a6a7c78e87d472 SHA512 5e18f48dbbe11255a06b427205aefd1f8f5a11bb0b238f9134b89e6f5cb838fcae649a4e87a4a04473a33077c94e88aab46b06e33cc87cfe451fa83b5846ccc7 WHIRLPOOL 5f8c115370acd876cb41c360dcb8916ca1a725aa3714b89261ab69122976440f01b20f8874ffd7dc93ac79479db69ce246a3d5cd8bbedf5c52f430eff0195522 +EBUILD smatch-1.57-r1.ebuild 1258 SHA256 b3f25d28377eacba466e4424346a683cae580bb4ee0fcb97fff46021c0930df7 SHA512 27b2c45fb70953190af70913aa3bf80030b95edd45d1204063db364209df8d453a4c94a57c837fbadf3cf39f1598a5b77b5e5de28654d4ad2762388ac035fb8c WHIRLPOOL 7d4c867f7a6e189e43c8626ed4e51767f59e2958ff7789c3a719a70602d06c24ae952943bc3587ce93a1cbcecb3fab3cb91df6f2a7aaae0749568c91de8a0f9c +EBUILD smatch-1.57.ebuild 1209 SHA256 c8ea7b46c1ef749172166414986401c76a8f381f38b528ee8e92c12f62ca2622 SHA512 85aa6e85b35628e53b54e617ab639267f50b12927d5c415d3cee82f19a384462c17d53a65869a9ea4a7b675b4a8b70d757705727af87ac684eb5a1a9167f6a12 WHIRLPOOL 38e6bba1676d2e718e088dedb8dbc992ff2f34c66e70b50faba802865c508d2db1249160e1b31a757f4ce88d3e471fc7e6562398ec6f1287406ae4429e847a2e +EBUILD smatch-1.59.ebuild 1217 SHA256 7ca52587b1510f4e8fed0291419a640591ea3d431510010deeaf5fbe46465c7a SHA512 c22981a1e5917b32c7ad113df8b7dec529a38bbbaa06ce3abe79c8d23b7b7c86eca90637db0486dcc07d05dbaa48746410f18ce5e5218957f3b831babe810ce4 WHIRLPOOL 98cc0e71099d57a75d3b7984ddae77d96c752cd3e0871f5924023d0a04ef3c7c2b7e945db9dbf67e45d314680411c6b68ac0add2057c187ea21a44010366ce5d +EBUILD smatch-9999.ebuild 1217 SHA256 7ca52587b1510f4e8fed0291419a640591ea3d431510010deeaf5fbe46465c7a SHA512 c22981a1e5917b32c7ad113df8b7dec529a38bbbaa06ce3abe79c8d23b7b7c86eca90637db0486dcc07d05dbaa48746410f18ce5e5218957f3b831babe810ce4 WHIRLPOOL 98cc0e71099d57a75d3b7984ddae77d96c752cd3e0871f5924023d0a04ef3c7c2b7e945db9dbf67e45d314680411c6b68ac0add2057c187ea21a44010366ce5d +MISC ChangeLog 3156 SHA256 28824798cf486a6e39be87abd527afca25fbaaa47a6b9df08e541c3df94b47da SHA512 95134f0dc736dcd9dc22248da18c1212f3fb1680d6283dbaac46d3601f9a581e506a506ba19d1ec68020496d30cdb6c628257c69bdf5f5e7582627f64822b244 WHIRLPOOL 38991c6ada0777524523236f49109a2fec6278fc522d153049eab35b41cefafafd86ad3da482a8dc6004dfa57a2e66f35b14a89fcad0771e9c28dcdc66cf6756 +MISC ChangeLog-2015 921 SHA256 dc4e50eb76995a83ae54b8b3096f87abae278483569baf9ad9925cb75f091c3e SHA512 7021f3e169ed7dbcd961858b7ae9a607c3dd2586eafe2ba6e005841df92c990590f84c52fd357e5b301c35fc4029f456d88e63430c340d4bedad478b272cba84 WHIRLPOOL 1dc0633fb147143bf14ce35c144c8662f91155a6f7b6e06fd953d6192f4640955510fadadc5f80014f9e0acb59500ce326833b61ce4a79731d31c62d11de2a18 +MISC metadata.xml 337 SHA256 b33b8b7e322f87875478803f556538720b7256ccfe8a0c857dbca2665e969fe4 SHA512 8d4007163912848eb4e4b525c808e7c69fe5aa93913398db793b6ed73936cc936a25e1fe7dce4a915b4caf6b2796d6dd4d1a52ed6dfbd2e0fb0faf6c0ba1c7e0 WHIRLPOOL 08d226731e1f85f24ddfb3f18eb69af73064c21e06b5ae2c5f2c7d97e5639cf145e6242f6ddcb1e0cc3ab95152d4507974b912ab11e3e00c593511c677651d75 diff --git a/sys-devel/smatch/files/smatch-1.57-restrict.patch b/sys-devel/smatch/files/smatch-1.57-restrict.patch new file mode 100644 index 000000000000..2f0dc98d496a --- /dev/null +++ b/sys-devel/smatch/files/smatch-1.57-restrict.patch @@ -0,0 +1,14 @@ +send upstream already + +diff --git a/parse.c b/parse.c +index 5dd9a06..bf5894d 100644 +--- a/parse.c ++++ b/parse.c +@@ -419,6 +419,7 @@ static struct init_keyword { + /* Ignored for now.. */ + { "restrict", NS_TYPEDEF, .op = &restrict_op}, + { "__restrict", NS_TYPEDEF, .op = &restrict_op}, ++ { "__restrict__", NS_TYPEDEF, .op = &restrict_op}, + + /* Storage class */ + { "auto", NS_TYPEDEF, .op = &auto_op }, diff --git a/sys-devel/smatch/metadata.xml b/sys-devel/smatch/metadata.xml new file mode 100644 index 000000000000..b88d066159b6 --- /dev/null +++ b/sys-devel/smatch/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>toolchain@gentoo.org</email> + <name>Gentoo Toolchain Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">smatch</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-devel/smatch/smatch-1.57-r1.ebuild b/sys-devel/smatch/smatch-1.57-r1.ebuild new file mode 100644 index 000000000000..fd7fc3e72b97 --- /dev/null +++ b/sys-devel/smatch/smatch-1.57-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit multilib toolchain-funcs eutils +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() { + epatch "${FILESDIR}"/${P}-restrict.patch + 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-1.57.ebuild b/sys-devel/smatch/smatch-1.57.ebuild new file mode 100644 index 000000000000..e807d2044380 --- /dev/null +++ b/sys-devel/smatch/smatch-1.57.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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-1.59.ebuild b/sys-devel/smatch/smatch-1.59.ebuild new file mode 100644 index 000000000000..b2a8198a82ca --- /dev/null +++ b/sys-devel/smatch/smatch-1.59.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +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-2 +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" +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}/${PN} + +src_prepare() { + 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 +} diff --git a/sys-devel/smatch/smatch-9999.ebuild b/sys-devel/smatch/smatch-9999.ebuild new file mode 100644 index 000000000000..b2a8198a82ca --- /dev/null +++ b/sys-devel/smatch/smatch-9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +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-2 +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" +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}/${PN} + +src_prepare() { + 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 +} |