commit: 323d2476f1a9acc0799755cd2170cd304fb3f3b0 Author: François-Xavier Carton <fx.carton91 <AT> gmail <DOT> com> AuthorDate: Fri Aug 19 17:27:49 2022 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Fri Aug 19 17:30:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=323d2476
sci-mathematics/frama-c: bump to 25.0 Signed-off-by: François-Xavier Carton <fx.carton91 <AT> gmail.com> sci-mathematics/frama-c-aorai/Manifest | 1 + .../frama-c-aorai/frama-c-aorai-25.0.ebuild | 44 +++++++++++++++ sci-mathematics/frama-c-callgraph/Manifest | 1 + .../frama-c-callgraph-25.0.ebuild | 56 +++++++++++++++++++ sci-mathematics/frama-c-constant-folding/Manifest | 1 + .../frama-c-constant-folding-25.0.ebuild | 56 +++++++++++++++++++ sci-mathematics/frama-c-dive/Manifest | 1 + .../frama-c-dive/frama-c-dive-25.0.ebuild | 47 ++++++++++++++++ sci-mathematics/frama-c-e-acsl/Manifest | 1 + .../frama-c-e-acsl/frama-c-e-acsl-25.0.ebuild | 47 ++++++++++++++++ sci-mathematics/frama-c-eva/Manifest | 1 + .../frama-c-eva/frama-c-eva-25.0.ebuild | 53 ++++++++++++++++++ sci-mathematics/frama-c-from/Manifest | 1 + .../frama-c-from/frama-c-from-25.0.ebuild | 58 +++++++++++++++++++ sci-mathematics/frama-c-impact/Manifest | 1 + .../frama-c-impact/frama-c-impact-25.0.ebuild | 65 ++++++++++++++++++++++ sci-mathematics/frama-c-inout/Manifest | 1 + .../frama-c-inout/frama-c-inout-25.0.ebuild | 59 ++++++++++++++++++++ sci-mathematics/frama-c-instantiate/Manifest | 1 + .../frama-c-instantiate-25.0.ebuild | 41 ++++++++++++++ sci-mathematics/frama-c-loopanalysis/Manifest | 1 + .../frama-c-loopanalysis-25.0.ebuild | 42 ++++++++++++++ sci-mathematics/frama-c-metrics/Manifest | 1 + .../frama-c-metrics/frama-c-metrics-25.0.ebuild | 55 ++++++++++++++++++ sci-mathematics/frama-c-nonterm/Manifest | 1 + .../frama-c-nonterm/frama-c-nonterm-25.0.ebuild | 43 ++++++++++++++ sci-mathematics/frama-c-obfuscator/Manifest | 1 + .../frama-c-obfuscator-25.0.ebuild | 41 ++++++++++++++ sci-mathematics/frama-c-occurrence/Manifest | 1 + .../frama-c-occurrence-25.0.ebuild | 54 ++++++++++++++++++ sci-mathematics/frama-c-pdg/Manifest | 1 + .../frama-c-pdg/frama-c-pdg-25.0.ebuild | 59 ++++++++++++++++++++ sci-mathematics/frama-c-postdominators/Manifest | 1 + .../frama-c-postdominators-25.0.ebuild | 54 ++++++++++++++++++ sci-mathematics/frama-c-printapi/Manifest | 1 + .../frama-c-printapi/frama-c-printapi-25.0.ebuild | 32 +++++++++++ sci-mathematics/frama-c-qed/Manifest | 1 + .../frama-c-qed/frama-c-qed-25.0.ebuild | 33 +++++++++++ .../frama-c-reduc/frama-c-reduc-25.0.ebuild | 59 ++++++++++++++++++++ sci-mathematics/frama-c-report/Manifest | 1 + .../frama-c-report/frama-c-report-25.0.ebuild | 41 ++++++++++++++ sci-mathematics/frama-c-rtegen/Manifest | 1 + .../frama-c-rtegen/frama-c-rtegen-25.0.ebuild | 50 +++++++++++++++++ sci-mathematics/frama-c-scope/Manifest | 1 + .../frama-c-scope/frama-c-scope-25.0.ebuild | 60 ++++++++++++++++++++ sci-mathematics/frama-c-security-slicing/Manifest | 1 + .../frama-c-security-slicing-25.0.ebuild | 44 +++++++++++++++ sci-mathematics/frama-c-server/Manifest | 1 + .../frama-c-server/frama-c-server-25.0.ebuild | 42 ++++++++++++++ sci-mathematics/frama-c-slicing/Manifest | 1 + .../frama-c-slicing/frama-c-slicing-25.0.ebuild | 63 +++++++++++++++++++++ sci-mathematics/frama-c-sparecode/Manifest | 1 + .../frama-c-sparecode-25.0.ebuild | 62 +++++++++++++++++++++ sci-mathematics/frama-c-studia/Manifest | 1 + .../frama-c-studia/frama-c-studia-25.0.ebuild | 44 +++++++++++++++ sci-mathematics/frama-c-users/Manifest | 1 + .../frama-c-users/frama-c-users-25.0.ebuild | 56 +++++++++++++++++++ sci-mathematics/frama-c-variadic/Manifest | 1 + .../frama-c-variadic/frama-c-variadic-25.0.ebuild | 41 ++++++++++++++ sci-mathematics/frama-c-wp/Manifest | 1 + sci-mathematics/frama-c-wp/frama-c-wp-25.0.ebuild | 48 ++++++++++++++++ sci-mathematics/frama-c/Manifest | 1 + sci-mathematics/frama-c/frama-c-25.0.ebuild | 61 ++++++++++++++++++++ 63 files changed, 1641 insertions(+) diff --git a/sci-mathematics/frama-c-aorai/Manifest b/sci-mathematics/frama-c-aorai/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-aorai/Manifest +++ b/sci-mathematics/frama-c-aorai/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-aorai/frama-c-aorai-25.0.ebuild b/sci-mathematics/frama-c-aorai/frama-c-aorai-25.0.ebuild new file mode 100644 index 000000000..03df09aba --- /dev/null +++ b/sci-mathematics/frama-c-aorai/frama-c-aorai-25.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Aorai (automaton annotations) plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="eva +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + eva? ( ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?] )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/aorai" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + export ENABLE_EVA="$(usex eva yes no)" + sed -i '/aorai_eva_analysis.ml:/s, share/Makefile.config,,' Makefile.in || die + eautoconf + eapply_user +} + +src_configure() { + econf --enable-aorai +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" ENABLE_EVA="${ENABLE_EVA}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" ENABLE_EVA="${ENABLE_EVA}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-callgraph/Manifest b/sci-mathematics/frama-c-callgraph/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-callgraph/Manifest +++ b/sci-mathematics/frama-c-callgraph/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-callgraph/frama-c-callgraph-25.0.ebuild b/sci-mathematics/frama-c-callgraph/frama-c-callgraph-25.0.ebuild new file mode 100644 index 000000000..f80aba1ff --- /dev/null +++ b/sci-mathematics/frama-c-callgraph/frama-c-callgraph-25.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Callgraph plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + $(use_enable gtk gui) \ + --enable-callgraph \ + --enable-eva \ + --enable-server + printf 'include share/Makefile.config\n' > src/plugins/callgraph/Makefile || die + sed -e '/^# *Callgraph/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/callgraph/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/callgraph/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + export HAS_DGRAPH=$(usex gtk yes no) +} + +src_compile() { + use gtk && emake src/plugins/callgraph/cg_viewer.ml + emake -f src/plugins/callgraph/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" HAS_DGRAPH="${HAS_DGRAPH}" +} + +src_install() { + emake -f src/plugins/callgraph/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" HAS_DGRAPH="${HAS_DGRAPH}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-constant-folding/Manifest b/sci-mathematics/frama-c-constant-folding/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-constant-folding/Manifest +++ b/sci-mathematics/frama-c-constant-folding/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-constant-folding/frama-c-constant-folding-25.0.ebuild b/sci-mathematics/frama-c-constant-folding/frama-c-constant-folding-25.0.ebuild new file mode 100644 index 000000000..f309af6e1 --- /dev/null +++ b/sci-mathematics/frama-c-constant-folding/frama-c-constant-folding-25.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Constant folding plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + --disable-gui \ + --enable-semantic-constant-folding \ + --enable-eva \ + --enable-server + printf 'include share/Makefile.config\n' > src/plugins/constant_propagation/Makefile || die + sed -e '/^# *Constant propagation/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/constant_propagation/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/constant_propagation/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + export ENABLE_EVA=yes + export ENABLE_SERVER=yes +} + +src_compile() { + emake -f src/plugins/constant_propagation/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/constant_propagation/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-dive/Manifest b/sci-mathematics/frama-c-dive/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-dive/Manifest +++ b/sci-mathematics/frama-c-dive/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-dive/frama-c-dive-25.0.ebuild b/sci-mathematics/frama-c-dive/frama-c-dive-25.0.ebuild new file mode 100644 index 000000000..89511a8de --- /dev/null +++ b/sci-mathematics/frama-c-dive/frama-c-dive-25.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Dive plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-studia-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-server-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/dive" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + eautoconf + eapply_user +} + +src_configure() { + export ENABLE_EVA=yes + export ENABLE_STUDIA=yes + export ENABLE_SERVER=yes + econf --enable-dive +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-e-acsl/Manifest b/sci-mathematics/frama-c-e-acsl/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-e-acsl/Manifest +++ b/sci-mathematics/frama-c-e-acsl/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-e-acsl/frama-c-e-acsl-25.0.ebuild b/sci-mathematics/frama-c-e-acsl/frama-c-e-acsl-25.0.ebuild new file mode 100644 index 000000000..0cfc8e079 --- /dev/null +++ b/sci-mathematics/frama-c-e-acsl/frama-c-e-acsl-25.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Runtime verification of ACSL (E-ACSL) plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="BSD LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-rtegen-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/e-acsl" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + sed -i '/\$(CC)/s/-O2 -g3/$(CFLAGS)/' Makefile.in || die + sed -i "s/ranlib/$(tc-getRANLIB)/" Makefile.in || die + eautoconf + eapply_user +} + +src_configure() { + econf --enable-e-acsl +} + +src_compile() { + tc-export AR + export FRAMAC_ROOT_SRCDIR="${S}/../../.." + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + export EACSL_INSTALL_LIB_DIR="${ED}/usr/$(get_libdir)/frama-c/e-acsl" + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" EACSL_INSTALL_LIB_DIR="${EACSL_INSTALL_LIB_DIR}" install +} diff --git a/sci-mathematics/frama-c-eva/Manifest b/sci-mathematics/frama-c-eva/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-eva/Manifest +++ b/sci-mathematics/frama-c-eva/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-eva/frama-c-eva-25.0.ebuild b/sci-mathematics/frama-c-eva/frama-c-eva-25.0.ebuild new file mode 100644 index 000000000..fd0bb906d --- /dev/null +++ b/sci-mathematics/frama-c-eva/frama-c-eva-25.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Value analysis (EVA) plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-server-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + $(use_enable gtk gui) \ + --enable-server \ + --enable-eva + printf 'include share/Makefile.config\n' > src/plugins/value/Makefile || die + sed -e '/^# *Evolved Value Analysis/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/value/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/value/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/value/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/value/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-from/Manifest b/sci-mathematics/frama-c-from/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-from/Manifest +++ b/sci-mathematics/frama-c-from/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-from/frama-c-from-25.0.ebuild b/sci-mathematics/frama-c-from/frama-c-from-25.0.ebuild new file mode 100644 index 000000000..675f6f1bd --- /dev/null +++ b/sci-mathematics/frama-c-from/frama-c-from-25.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="From analysis plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-callgraph-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-postdominators-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + $(use_enable gtk gui) \ + --enable-from-analysis \ + --enable-callgraph \ + --enable-eva \ + --enable-server \ + --enable-postdominators + printf 'include share/Makefile.config\n' > src/plugins/from/Makefile || die + sed -e '/^# *From analysis/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/from/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/from/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/from/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/from/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-impact/Manifest b/sci-mathematics/frama-c-impact/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-impact/Manifest +++ b/sci-mathematics/frama-c-impact/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-impact/frama-c-impact-25.0.ebuild b/sci-mathematics/frama-c-impact/frama-c-impact-25.0.ebuild new file mode 100644 index 000000000..668f7939c --- /dev/null +++ b/sci-mathematics/frama-c-impact/frama-c-impact-25.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Impact plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-pdg-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-slicing-${PV}:=[gtk=,ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + $(use_enable gtk gui) \ + --enable-impact \ + --enable-inout \ + --enable-slicing \ + --enable-from-analysis \ + --enable-callgraph \ + --enable-eva \ + --enable-server \ + --enable-postdominators \ + --enable-pdg \ + --enable-sparecode \ + --enable-users + printf 'include share/Makefile.config\n' > src/plugins/impact/Makefile || die + sed -e '/^# *Impact analysis/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/impact/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/impact/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/impact/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/impact/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-inout/Manifest b/sci-mathematics/frama-c-inout/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-inout/Manifest +++ b/sci-mathematics/frama-c-inout/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-inout/frama-c-inout-25.0.ebuild b/sci-mathematics/frama-c-inout/frama-c-inout-25.0.ebuild new file mode 100644 index 000000000..c92d13d38 --- /dev/null +++ b/sci-mathematics/frama-c-inout/frama-c-inout-25.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="In/out analysis plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-callgraph-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-from-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + --disable-gui \ + --enable-inout \ + --enable-postdominators \ + --enable-from-analysis \ + --enable-callgraph \ + --enable-eva \ + --enable-server + printf 'include share/Makefile.config\n' > src/plugins/inout/Makefile || die + sed -e '/^# *inout/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/inout/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/inout/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/inout/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/inout/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-instantiate/Manifest b/sci-mathematics/frama-c-instantiate/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-instantiate/Manifest +++ b/sci-mathematics/frama-c-instantiate/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-instantiate/frama-c-instantiate-25.0.ebuild b/sci-mathematics/frama-c-instantiate/frama-c-instantiate-25.0.ebuild new file mode 100644 index 000000000..051fd7d32 --- /dev/null +++ b/sci-mathematics/frama-c-instantiate/frama-c-instantiate-25.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Instantiate analysis plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/instantiate" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + eautoconf + eapply_user +} + +src_configure() { + econf --enable-instantiate +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-loopanalysis/Manifest b/sci-mathematics/frama-c-loopanalysis/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-loopanalysis/Manifest +++ b/sci-mathematics/frama-c-loopanalysis/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-loopanalysis/frama-c-loopanalysis-25.0.ebuild b/sci-mathematics/frama-c-loopanalysis/frama-c-loopanalysis-25.0.ebuild new file mode 100644 index 000000000..fb419cf14 --- /dev/null +++ b/sci-mathematics/frama-c-loopanalysis/frama-c-loopanalysis-25.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Loop analysis plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/loop_analysis" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + eautoconf + eapply_user +} + +src_configure() { + econf --enable-loop-analysis +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-metrics/Manifest b/sci-mathematics/frama-c-metrics/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-metrics/Manifest +++ b/sci-mathematics/frama-c-metrics/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-metrics/frama-c-metrics-25.0.ebuild b/sci-mathematics/frama-c-metrics/frama-c-metrics-25.0.ebuild new file mode 100644 index 000000000..02109b929 --- /dev/null +++ b/sci-mathematics/frama-c-metrics/frama-c-metrics-25.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Metrics plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-server-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + $(use_enable gtk gui) \ + --enable-metrics \ + --enable-eva \ + --enable-server + printf 'include share/Makefile.config\n' > src/plugins/metrics/Makefile || die + sed -e '/^# *Metrics/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/metrics/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/metrics/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/metrics/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/metrics/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-nonterm/Manifest b/sci-mathematics/frama-c-nonterm/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-nonterm/Manifest +++ b/sci-mathematics/frama-c-nonterm/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-nonterm/frama-c-nonterm-25.0.ebuild b/sci-mathematics/frama-c-nonterm/frama-c-nonterm-25.0.ebuild new file mode 100644 index 000000000..aebdb1555 --- /dev/null +++ b/sci-mathematics/frama-c-nonterm/frama-c-nonterm-25.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Nonterm plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/nonterm" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + eautoconf + eapply_user +} + +src_configure() { + export ENABLE_EVA=yes + econf --enable-nonterm +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-obfuscator/Manifest b/sci-mathematics/frama-c-obfuscator/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-obfuscator/Manifest +++ b/sci-mathematics/frama-c-obfuscator/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-obfuscator/frama-c-obfuscator-25.0.ebuild b/sci-mathematics/frama-c-obfuscator/frama-c-obfuscator-25.0.ebuild new file mode 100644 index 000000000..88d0ead09 --- /dev/null +++ b/sci-mathematics/frama-c-obfuscator/frama-c-obfuscator-25.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Obfuscator plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/obfuscator" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + eautoconf + eapply_user +} + +src_configure() { + econf --enable-obfuscator +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-occurrence/Manifest b/sci-mathematics/frama-c-occurrence/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-occurrence/Manifest +++ b/sci-mathematics/frama-c-occurrence/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-occurrence/frama-c-occurrence-25.0.ebuild b/sci-mathematics/frama-c-occurrence/frama-c-occurrence-25.0.ebuild new file mode 100644 index 000000000..760f07127 --- /dev/null +++ b/sci-mathematics/frama-c-occurrence/frama-c-occurrence-25.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Occurrence analysis plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + $(use_enable gtk gui) \ + --enable-occurrence \ + --enable-eva \ + --enable-server + printf 'include share/Makefile.config\n' > src/plugins/occurrence/Makefile || die + sed -e '/^# *Occurrence/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/occurrence/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/occurrence/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/occurrence/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/occurrence/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-pdg/Manifest b/sci-mathematics/frama-c-pdg/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-pdg/Manifest +++ b/sci-mathematics/frama-c-pdg/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-pdg/frama-c-pdg-25.0.ebuild b/sci-mathematics/frama-c-pdg/frama-c-pdg-25.0.ebuild new file mode 100644 index 000000000..78677ebdf --- /dev/null +++ b/sci-mathematics/frama-c-pdg/frama-c-pdg-25.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Program dependence graph plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-callgraph-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-from-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + --disable-gui \ + --enable-pdg \ + --enable-callgraph \ + --enable-eva \ + --enable-server \ + --enable-from-analysis \ + --enable-postdominators + printf 'include share/Makefile.config\n' > src/plugins/pdg/Makefile || die + sed -e '/^# *PDG : program dependence graph/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/pdg/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/pdg/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/pdg/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/pdg/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-postdominators/Manifest b/sci-mathematics/frama-c-postdominators/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-postdominators/Manifest +++ b/sci-mathematics/frama-c-postdominators/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-postdominators/frama-c-postdominators-25.0.ebuild b/sci-mathematics/frama-c-postdominators/frama-c-postdominators-25.0.ebuild new file mode 100644 index 000000000..7186793d4 --- /dev/null +++ b/sci-mathematics/frama-c-postdominators/frama-c-postdominators-25.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Postdominators plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + --disable-gui \ + --enable-postdominators \ + --enable-eva \ + --enable-server + printf 'include share/Makefile.config\n' > src/plugins/postdominators/Makefile || die + sed -e '/^# *Post-dominators/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/postdominators/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/postdominators/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/postdominators/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/postdominators/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-printapi/Manifest b/sci-mathematics/frama-c-printapi/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-printapi/Manifest +++ b/sci-mathematics/frama-c-printapi/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-printapi/frama-c-printapi-25.0.ebuild b/sci-mathematics/frama-c-printapi/frama-c-printapi-25.0.ebuild new file mode 100644 index 000000000..16fd9911b --- /dev/null +++ b/sci-mathematics/frama-c-printapi/frama-c-printapi-25.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib toolchain-funcs + +DESCRIPTION="Plugin generating .mli interface files for plugin APIs for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/print_api" + +src_compile() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-qed/Manifest b/sci-mathematics/frama-c-qed/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-qed/Manifest +++ b/sci-mathematics/frama-c-qed/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-qed/frama-c-qed-25.0.ebuild b/sci-mathematics/frama-c-qed/frama-c-qed-25.0.ebuild new file mode 100644 index 000000000..2f65a4ebb --- /dev/null +++ b/sci-mathematics/frama-c-qed/frama-c-qed-25.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib toolchain-funcs + +DESCRIPTION="Qed plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/qed" + +src_compile() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + export ENABLE_GUI="$(usex gtk yes no)" + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" ENABLE_GUI="${ENABLE_GUI}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" ENABLE_GUI="${ENABLE_GUI}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-reduc/frama-c-reduc-25.0.ebuild b/sci-mathematics/frama-c-reduc/frama-c-reduc-25.0.ebuild new file mode 100644 index 000000000..ac1bbcfda --- /dev/null +++ b/sci-mathematics/frama-c-reduc/frama-c-reduc-25.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="frama-c plugin to generate ACSL annotations from Eva information" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + --disable-gui \ + --enable-reduc \ + --enable-eva \ + --enable-server \ + --enable-inout \ + --enable-from-analysis \ + --enable-postdominators \ + --enable-callgraph + printf 'include share/Makefile.config\n' > src/plugins/reduc/Makefile || die + sed -e '/^# *Reduc/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/reduc/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/reduc/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/reduc/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/reduc/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-report/Manifest b/sci-mathematics/frama-c-report/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-report/Manifest +++ b/sci-mathematics/frama-c-report/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-report/frama-c-report-25.0.ebuild b/sci-mathematics/frama-c-report/frama-c-report-25.0.ebuild new file mode 100644 index 000000000..053c9f833 --- /dev/null +++ b/sci-mathematics/frama-c-report/frama-c-report-25.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Report plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/report" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + eautoconf + eapply_user +} + +src_configure() { + econf --enable-report +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-rtegen/Manifest b/sci-mathematics/frama-c-rtegen/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-rtegen/Manifest +++ b/sci-mathematics/frama-c-rtegen/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-rtegen/frama-c-rtegen-25.0.ebuild b/sci-mathematics/frama-c-rtegen/frama-c-rtegen-25.0.ebuild new file mode 100644 index 000000000..ef18fc0cd --- /dev/null +++ b/sci-mathematics/frama-c-rtegen/frama-c-rtegen-25.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Runtime error annotation (RTE) generation plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + --enable-rtegen + printf 'include share/Makefile.config\n' > src/plugins/rte/Makefile || die + sed -e '/^# *Runtime Error Annotation Generation analysis/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/rte/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/rte/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/rte/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/rte/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-scope/Manifest b/sci-mathematics/frama-c-scope/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-scope/Manifest +++ b/sci-mathematics/frama-c-scope/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-scope/frama-c-scope-25.0.ebuild b/sci-mathematics/frama-c-scope/frama-c-scope-25.0.ebuild new file mode 100644 index 000000000..aeebbb614 --- /dev/null +++ b/sci-mathematics/frama-c-scope/frama-c-scope-25.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Scope plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + $(use_enable gtk gui) \ + --enable-scope \ + --enable-from-analysis \ + --enable-callgraph \ + --enable-eva \ + --enable-server \ + --enable-postdominators \ + --enable-inout \ + --enable-pdg + printf 'include share/Makefile.config\n' > src/plugins/scope/Makefile || die + sed -e '/^# *Scope :/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/scope/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/scope/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/scope/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/scope/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-security-slicing/Manifest b/sci-mathematics/frama-c-security-slicing/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-security-slicing/Manifest +++ b/sci-mathematics/frama-c-security-slicing/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-security-slicing/frama-c-security-slicing-25.0.ebuild b/sci-mathematics/frama-c-security-slicing/frama-c-security-slicing-25.0.ebuild new file mode 100644 index 000000000..3f9993bd7 --- /dev/null +++ b/sci-mathematics/frama-c-security-slicing/frama-c-security-slicing-25.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Security slicing plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk,ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[gtk,ocamlopt?] + ~sci-mathematics/frama-c-pdg-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-slicing-${PV}:=[gtk,ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/security_slicing" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + eautoconf + eapply_user +} + +src_configure() { + econf --enable-security-slicing +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-server/Manifest b/sci-mathematics/frama-c-server/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-server/Manifest +++ b/sci-mathematics/frama-c-server/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-server/frama-c-server-25.0.ebuild b/sci-mathematics/frama-c-server/frama-c-server-25.0.ebuild new file mode 100644 index 000000000..f823304f5 --- /dev/null +++ b/sci-mathematics/frama-c-server/frama-c-server-25.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Server plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/server" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + eautoconf + eapply_user +} + +src_configure() { + econf --enable-server \ + --disable-server-zmq # missing dev-ml/zmq +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-slicing/Manifest b/sci-mathematics/frama-c-slicing/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-slicing/Manifest +++ b/sci-mathematics/frama-c-slicing/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-slicing/frama-c-slicing-25.0.ebuild b/sci-mathematics/frama-c-slicing/frama-c-slicing-25.0.ebuild new file mode 100644 index 000000000..330825f9e --- /dev/null +++ b/sci-mathematics/frama-c-slicing/frama-c-slicing-25.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Slicing plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-callgraph-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-pdg-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-sparecode-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + $(use_enable gtk gui) \ + --enable-slicing \ + --enable-from-analysis \ + --enable-callgraph \ + --enable-eva \ + --enable-server \ + --enable-postdominators \ + --enable-pdg \ + --enable-sparecode \ + --enable-users + printf 'include share/Makefile.config\n' > src/plugins/slicing/Makefile || die + sed -e '/^# *Slicing/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/slicing/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/slicing/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/slicing/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/slicing/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-sparecode/Manifest b/sci-mathematics/frama-c-sparecode/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-sparecode/Manifest +++ b/sci-mathematics/frama-c-sparecode/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-sparecode/frama-c-sparecode-25.0.ebuild b/sci-mathematics/frama-c-sparecode/frama-c-sparecode-25.0.ebuild new file mode 100644 index 000000000..cebb908fe --- /dev/null +++ b/sci-mathematics/frama-c-sparecode/frama-c-sparecode-25.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Spare code plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-pdg-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-users-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + --disable-gui \ + --enable-sparecode \ + --enable-users \ + --enable-callgraph \ + --enable-eva \ + --enable-server \ + --enable-pdg \ + --enable-postdominators \ + --enable-from-analysis + printf 'include share/Makefile.config\n' > src/plugins/sparecode/Makefile || die + sed -e '/^# *Sparecode :/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/sparecode/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/sparecode/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/sparecode/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/sparecode/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-studia/Manifest b/sci-mathematics/frama-c-studia/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-studia/Manifest +++ b/sci-mathematics/frama-c-studia/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-studia/frama-c-studia-25.0.ebuild b/sci-mathematics/frama-c-studia/frama-c-studia-25.0.ebuild new file mode 100644 index 000000000..f1c9ef0d3 --- /dev/null +++ b/sci-mathematics/frama-c-studia/frama-c-studia-25.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Studia plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/studia" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + export ENABLE_GUI="$(usex gtk yes no)" + eautoconf + eapply_user +} + +src_configure() { + export ENABLE_EVA=yes + econf --enable-studia +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" ENABLE_GUI="${ENABLE_GUI}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" ENABLE_GUI="${ENABLE_GUI}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-users/Manifest b/sci-mathematics/frama-c-users/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-users/Manifest +++ b/sci-mathematics/frama-c-users/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-users/frama-c-users-25.0.ebuild b/sci-mathematics/frama-c-users/frama-c-users-25.0.ebuild new file mode 100644 index 000000000..a1cc117a6 --- /dev/null +++ b/sci-mathematics/frama-c-users/frama-c-users-25.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Users plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-callgraph-${PV}:=[ocamlopt?] + ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + --disable-gui \ + --enable-users \ + --enable-callgraph \ + --enable-eva \ + --enable-server + printf 'include share/Makefile.config\n' > src/plugins/users/Makefile || die + sed -e '/^# *Users analysis/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/users/Makefile || die + printf 'include share/Makefile.dynamic\n' >> src/plugins/users/Makefile || die + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" +} + +src_compile() { + emake -f src/plugins/users/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake -f src/plugins/users/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-variadic/Manifest b/sci-mathematics/frama-c-variadic/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-variadic/Manifest +++ b/sci-mathematics/frama-c-variadic/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-variadic/frama-c-variadic-25.0.ebuild b/sci-mathematics/frama-c-variadic/frama-c-variadic-25.0.ebuild new file mode 100644 index 000000000..8bd2074aa --- /dev/null +++ b/sci-mathematics/frama-c-variadic/frama-c-variadic-25.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Variadic function transformation plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/variadic" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + eautoconf + eapply_user +} + +src_configure() { + econf --enable-variadic +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c-wp/Manifest b/sci-mathematics/frama-c-wp/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c-wp/Manifest +++ b/sci-mathematics/frama-c-wp/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c-wp/frama-c-wp-25.0.ebuild b/sci-mathematics/frama-c-wp/frama-c-wp-25.0.ebuild new file mode 100644 index 000000000..3bed9b030 --- /dev/null +++ b/sci-mathematics/frama-c-wp/frama-c-wp-25.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Deductive proof of ACSL contracts (WP) plugin for frama-c" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-qed-${PV}:=[gtk=,ocamlopt?] + ~sci-mathematics/frama-c-rtegen-${PV}:=[ocamlopt?] + >=sci-mathematics/why3-1.5.0 + <sci-mathematics/why3-1.6.0" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/wp" + +src_prepare() { + export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c" + export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c" + export ENABLE_GUI="$(usex gtk yes no)" + eautoconf + eapply_user +} + +src_configure() { + export ENABLE_QED=yes + export ENABLE_RTEGEN=yes + econf --enable-wp +} + +src_compile() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" ENABLE_GUI="${ENABLE_GUI}" +} + +src_install() { + emake FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" ENABLE_GUI="${ENABLE_GUI}" DESTDIR="${ED}" install +} diff --git a/sci-mathematics/frama-c/Manifest b/sci-mathematics/frama-c/Manifest index 27f9b08b7..5f2f4bc6e 100644 --- a/sci-mathematics/frama-c/Manifest +++ b/sci-mathematics/frama-c/Manifest @@ -1,2 +1,3 @@ DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235 +DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f diff --git a/sci-mathematics/frama-c/frama-c-25.0.ebuild b/sci-mathematics/frama-c/frama-c-25.0.ebuild new file mode 100644 index 000000000..11a1e751f --- /dev/null +++ b/sci-mathematics/frama-c/frama-c-25.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs + +DESCRIPTION="Framework for analysis of source codes written in C" +HOMEPAGE="https://frama-c.com" +NAME="Manganese" +SRC_URI="https://frama-c.com/download/${P}-${NAME}.tar.gz" + +LICENSE="BSD LGPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gtk +ocamlopt" +RESTRICT="strip" + +RDEPEND=" + >=dev-lang/ocaml-4.08.1[ocamlopt?] + >=dev-ml/ocamlgraph-1.8.8[gtk(-)?,ocamlopt?] + dev-ml/ppx_import[ocamlopt?] + dev-ml/ppx_deriving[ocamlopt?] + >=dev-ml/zarith-1.5[ocamlopt?] + >=dev-ml/yojson-1.4.1[ocamlopt?] + gtk? ( >=dev-ml/lablgtk-2.14:2=[sourceview,gnomecanvas,ocamlopt?] )" +DEPEND="${RDEPEND} + media-gfx/graphviz" + +S="${WORKDIR}/${P}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + touch config_file || die + sed -i '/^\t\$(CC)/s/ -O3 / $(CFLAGS) /' Makefile || die + eautoreconf + default +} + +src_configure() { + econf \ + --disable-landmarks \ + --with-no-plugin \ + $(use_enable gtk gui) +} + +src_compile() { + tc-export AR + emake VERBOSEMAKE=yes +} + +pkg_postinst() { + elog "Starting with version 23.1, ${CATEGORY}/${PN} only installs" + elog "the kernel, but no plugins. These are provided are separate" + elog "packages that must be explicitely installed." + elog "In particular, one may want to install:" + elog "- ${CATEGORY}/${PN}-eva for value analysis" + elog "- ${CATEGORY}/${PN}-wp for proving ACSL contracts" + elog "- ${CATEGORY}/${PN}-e-acsl for runtime verification of ACSL contracts" +}