diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-01-16 08:56:16 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-01-16 08:57:12 +0000 |
commit | 69c2ae786d9151a8358198a73a8bcd0583ac9a1f (patch) | |
tree | 3e7e18dab876177153deabaea37b645e21264b4c /sci-mathematics/spin/spin-6.5.2-r1.ebuild | |
parent | dev-python/installer: Keyword 0.4.0 hppa, #831270 (diff) | |
download | gentoo-69c2ae786d9151a8358198a73a8bcd0583ac9a1f.tar.gz gentoo-69c2ae786d9151a8358198a73a8bcd0583ac9a1f.tar.bz2 gentoo-69c2ae786d9151a8358198a73a8bcd0583ac9a1f.zip |
sci-mathematics/spin: backport upstream fix for CVE-2021-46168
Closes: https://bugs.gentoo.org/831220
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sci-mathematics/spin/spin-6.5.2-r1.ebuild')
-rw-r--r-- | sci-mathematics/spin/spin-6.5.2-r1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sci-mathematics/spin/spin-6.5.2-r1.ebuild b/sci-mathematics/spin/spin-6.5.2-r1.ebuild new file mode 100644 index 000000000000..0e1f17681a7c --- /dev/null +++ b/sci-mathematics/spin/spin-6.5.2-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs + +MY_PN="${PN^}" +MY_PV="version-${PV}" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="An efficient logic-model checker for the verification of multi-threaded code" +HOMEPAGE="https://spinroot.com/ https://github.com/nimble-code/Spin" +SRC_URI="https://github.com/nimble-code/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="doc examples graphviz tk" + +RDEPEND="sys-devel/gcc + tk? ( + dev-lang/tk + graphviz? ( media-gfx/graphviz ) + )" +BDEPEND="virtual/yacc" + +PATCHES=( + "${FILESDIR}"/${PN}-6.5.2-makefile.patch + "${FILESDIR}"/${PN}-6.5.2-nesting_limit.patch +) + +S="${WORKDIR}"/${MY_P}/Src + +src_compile() { + tc-export CC + default +} + +src_install() { + dobin ${PN} + dodoc ../Man/README.md + doman ../Man/${PN}.1 + + use doc && dodoc ../Doc/* + if use examples; then + docinto examples + dodoc -r ../Examples/* + fi + + if use tk; then + newbin ../optional_gui/i${PN}.tcl i${PN} + make_desktop_entry ispin + fi +} |