diff --git a/app-forensics/pcileech/pcileech-3.0.ebuild b/app-forensics/pcileech/pcileech-3.0.ebuild deleted file mode 100644 index 512dcd00a..000000000 --- a/app-forensics/pcileech/pcileech-3.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Direct Memory Access (DMA) Attack Software" -HOMEPAGE="https://github.com/ufrisk/pcileech" -SRC_URI="https://github.com/ufrisk/pcileech/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="python" - -DEPEND="" -RDEPEND="${DEPEND}" - -src_compile() { - emake -C pcileech -} - -src_install(){ - dobin pcileech/pcileech -} diff --git a/profiles/pentoo/base/package.accept_keywords/sci-libs b/profiles/pentoo/base/package.accept_keywords/sci-libs index 6006972b8..a797a9ae2 100644 --- a/profiles/pentoo/base/package.accept_keywords/sci-libs +++ b/profiles/pentoo/base/package.accept_keywords/sci-libs @@ -5,3 +5,11 @@ sci-libs/lapack-reference sci-libs/blas-reference =sci-libs/scipy-0.18* + +sci-electronics/migen +sci-electronics/litex +sci-electronics/litedram +sci-electronics/litepcie +sci-electronics/liteusb +sci-electronics/liteeth +sci-electronics/litescope diff --git a/sci-electronics/litedram/Manifest b/sci-electronics/litedram/Manifest new file mode 100644 index 000000000..617b56d7d --- /dev/null +++ b/sci-electronics/litedram/Manifest @@ -0,0 +1 @@ +DIST litedram-20180514.zip 216187 BLAKE2B 29fd4c6843b2bd47b05d6be687cd54a14f0b8e25cc4123ab1b3d5f4c79ccd0316ee39beb090958b3ce2e6a940e6feeda1cc8fcb37f6f80a522ff9f439da3a664 SHA512 4786e27947c717f2a41c13441084b639f57d8a668fbd9b1bf7c5c3f13b5537bdf8ac6d8c44153b4a695c238ef3e7c591473a2bb701af4b155bc0a3aff2bb0c12 diff --git a/sci-electronics/litedram/litedram-20180514.ebuild b/sci-electronics/litedram/litedram-20180514.ebuild new file mode 100644 index 000000000..d983fb66f --- /dev/null +++ b/sci-electronics/litedram/litedram-20180514.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +inherit distutils-r1 + +MY_COMMIT="c23814961d71ab6508c855db3c643b71d8990e8c" + +DESCRIPTION="Small footprint and configurable DRAM core" +HOMEPAGE="https://github.com/enjoy-digital/litedram" +SRC_URI="https://github.com/enjoy-digital/litedram/archive/${MY_COMMIT}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND="sci-electronics/litex[${PYTHON_USEDEP}] + sci-electronics/migen[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN}-${MY_COMMIT} + +src_prepare(){ +# sed -i -e '/test_suite/d' setup.py + rm -r test + eapply_user +} diff --git a/sci-electronics/liteeth/Manifest b/sci-electronics/liteeth/Manifest new file mode 100644 index 000000000..2750803f1 --- /dev/null +++ b/sci-electronics/liteeth/Manifest @@ -0,0 +1 @@ +DIST liteeth-20180301.zip 246584 BLAKE2B 3179195b067782438ac2e7fcd8c19d725e311d1e4f2d734d3e5ff671aecc29eaf135e438d490ebb1f8dbda5352a12d206e21228c469d658901713d060185c3b4 SHA512 12e59f4f2603e07533d90bdfa96bf25b6ba3ff7719da24b0524e3729abb47f977c576f7584e23f417f19b3e91e7b6c844563b7ec1208abfa4dd2c8834819c85c diff --git a/sci-electronics/liteeth/liteeth-20180301.ebuild b/sci-electronics/liteeth/liteeth-20180301.ebuild new file mode 100644 index 000000000..c707be867 --- /dev/null +++ b/sci-electronics/liteeth/liteeth-20180301.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +inherit distutils-r1 + +MY_COMMIT="95849a0fed26c2f7e88e731e8ba7cb6b95d873e8" + +DESCRIPTION="Small footprint and configurable Ethernet core" +HOMEPAGE="https://github.com/enjoy-digital/liteeth" +SRC_URI="https://github.com/enjoy-digital/liteeth/archive/${MY_COMMIT}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND="sci-electronics/litex[${PYTHON_USEDEP}] + sci-electronics/migen[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN}-${MY_COMMIT} + +src_prepare(){ +# sed -i -e '/test_suite/d' setup.py + rm -r test example_designs + eapply_user +} diff --git a/sci-electronics/litepcie/Manifest b/sci-electronics/litepcie/Manifest new file mode 100644 index 000000000..5bc0457b5 --- /dev/null +++ b/sci-electronics/litepcie/Manifest @@ -0,0 +1 @@ +DIST litepcie-20180530.zip 503929 BLAKE2B 731dbe903e111f1b00224c4f8caa53d88676467ed4c2d9e552b60eeb10782064013e2db3f3597990a2d197e04375e155d2dfb91aa6b66ddd71480a25a6b9f67f SHA512 4a6726ad6e7a9cc792560a7b4766725a6c4a1b09b36d07a03058ba9f0c8964854e2608f89984d3509a0a7f1631602320aba28007e036f2f0a7627edbe2d79288 diff --git a/sci-electronics/litepcie/litepcie-20180530.ebuild b/sci-electronics/litepcie/litepcie-20180530.ebuild new file mode 100644 index 000000000..a2caf4c34 --- /dev/null +++ b/sci-electronics/litepcie/litepcie-20180530.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +inherit distutils-r1 + +MY_COMMIT="93233fe196e8b7063c2293de440976497e4f6dd9" + +DESCRIPTION="Small footprint and configurable PCIe core" +HOMEPAGE="https://github.com/enjoy-digital/litepcie" +SRC_URI="https://github.com/enjoy-digital/litepcie/archive/${MY_COMMIT}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND="sci-electronics/litex[${PYTHON_USEDEP}] + sci-electronics/migen[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN}-${MY_COMMIT} + +src_prepare(){ +# sed -i -e '/test_suite/d' setup.py + rm -r test example_designs + eapply_user +} diff --git a/sci-electronics/litescope/Manifest b/sci-electronics/litescope/Manifest new file mode 100644 index 000000000..64bc25622 --- /dev/null +++ b/sci-electronics/litescope/Manifest @@ -0,0 +1 @@ +DIST litescope-20180531.zip 181085 BLAKE2B d95a91fa5d1459aeda745c11de5d925cd72ab31f28d304c1b5ac73df68ba6a621b72969b5bb0289aff79e5e3c381cc59437ccfb4759380eb03c2ec583af8a648 SHA512 5b0e3b119269bea2259480507b101c17ea55e8446590a878427e0d342edc144784e34c3eb3955b2463b043d1ce8dadda07ef9705413cd96b836729e01552aad3 diff --git a/sci-electronics/litescope/litescope-20180531.ebuild b/sci-electronics/litescope/litescope-20180531.ebuild new file mode 100644 index 000000000..ac2b6b9ba --- /dev/null +++ b/sci-electronics/litescope/litescope-20180531.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +inherit distutils-r1 + +MY_COMMIT="d919f90cf6eb615b524fa0e74c5a9b15096603aa" + +DESCRIPTION="Small footprint and configurable embedded FPGA logic analyzer" +HOMEPAGE="https://github.com/enjoy-digital/litescope" +SRC_URI="https://github.com/enjoy-digital/litescope/archive/${MY_COMMIT}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND="sci-electronics/litex[${PYTHON_USEDEP}] + sci-electronics/migen[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN}-${MY_COMMIT} + +src_prepare(){ +# sed -i -e '/test_suite/d' setup.py + rm -r test example_designs + eapply_user +} diff --git a/sci-electronics/liteusb/Manifest b/sci-electronics/liteusb/Manifest new file mode 100644 index 000000000..0bf67487c --- /dev/null +++ b/sci-electronics/liteusb/Manifest @@ -0,0 +1 @@ +DIST liteusb-20180301.zip 155946 BLAKE2B 6a081b17c3c1ea2ac6e185291123bce70cf929b1b8eae26e8a1fca1854faf23f7d7dff67b0fea44fb60561de0fc5123b924345110243aa60e993cd8e0ff7614f SHA512 59474e60d0cb47c7bd442028ccf73278f13f39e8b67b5fdbef1ff18e067b8ace74f3f9231b5a7c71eb3415a4cc5041bd9a80285579ba948838d8368a8609ad87 diff --git a/sci-electronics/liteusb/liteusb-20180301.ebuild b/sci-electronics/liteusb/liteusb-20180301.ebuild new file mode 100644 index 000000000..b2f38f2f8 --- /dev/null +++ b/sci-electronics/liteusb/liteusb-20180301.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +inherit distutils-r1 + +MY_COMMIT="23d6a6840d4276f8d1a7f31bafb8d0aaaecff6d1" + +DESCRIPTION="Small footprint and configurable USB core" +HOMEPAGE="https://github.com/enjoy-digital/liteusb" +SRC_URI="https://github.com/enjoy-digital/liteusb/archive/${MY_COMMIT}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND="sci-electronics/litex[${PYTHON_USEDEP}] + sci-electronics/migen[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN}-${MY_COMMIT} + +src_prepare(){ +# sed -i -e '/test_suite/d' setup.py + rm -r test + eapply_user +} diff --git a/sci-electronics/litex/Manifest b/sci-electronics/litex/Manifest new file mode 100644 index 000000000..42e17a42e --- /dev/null +++ b/sci-electronics/litex/Manifest @@ -0,0 +1 @@ +DIST litex-20180531.zip 401778 BLAKE2B d971f44ae543cd656c554228adf2941bd439fd8ecfeaf7baad563ad542aac526908778190bde0cc9816822fe76cde0a3cd4b07bfcf07cb648fd1c4398eb00b6b SHA512 33186c6e3a7275bfac15b4fe1e1394107795a1c6fcc2bdb61d7bbadd50d04588d10330c9159391f5879b4ef6af26691760f5271cbf15fa82f3fe894ad3b39368 diff --git a/sci-electronics/litex/litex-20180531.ebuild b/sci-electronics/litex/litex-20180531.ebuild new file mode 100644 index 000000000..2e786a2e2 --- /dev/null +++ b/sci-electronics/litex/litex-20180531.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +inherit distutils-r1 + +MY_COMMIT="c534250c43791612da2a03c1c93f992115d11f8c" + +DESCRIPTION="Information gathering tool designed for extracting metadata of public documents" +HOMEPAGE="https://github.com/enjoy-digital/litex" +SRC_URI="https://github.com/enjoy-digital/litex/archive/${MY_COMMIT}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND="dev-python/pyserial" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${PN}-${MY_COMMIT} + +src_prepare(){ +# sed -i -e '/test_suite/d' setup.py + rm -r test + eapply_user +} diff --git a/sci-electronics/migen/Manifest b/sci-electronics/migen/Manifest new file mode 100644 index 000000000..0024aa9b9 --- /dev/null +++ b/sci-electronics/migen/Manifest @@ -0,0 +1 @@ +DIST 0.4.tar.gz 177322 BLAKE2B 1b955902c64806fd3edfe8dea7dcd7608448cd4d83e543dd95a696c3fa8d5c460236831171026caf1e27d4506ce42a4cd70fb6ba0607931906831ffeac98dd9e SHA512 e449216d5a17620b713fd72d07d9d129c2b7dfcb566b3a5df8ea8dbe4b37206a36d5fa4faa66bf5ee62386380cc1d8e55656894f3ee8bb8aa6959f5d45637497 diff --git a/sci-electronics/migen/migen-0.4.ebuild b/sci-electronics/migen/migen-0.4.ebuild new file mode 100644 index 000000000..3bdc80572 --- /dev/null +++ b/sci-electronics/migen/migen-0.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +#https://github.com/mlen/gentoo-overlay/tree/master/sci-electronics/migen + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) +inherit distutils-r1 + +DESCRIPTION="A Python toolbox for building complex digital hardware" +HOMEPAGE="https://m-labs.hk/gateware.html" +SRC_URI="https://github.com/m-labs/migen/archive/${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]" diff --git a/sci-electronics/pcie_injector/Manifest b/sci-electronics/pcie_injector/Manifest new file mode 100644 index 000000000..ebc90dc4a --- /dev/null +++ b/sci-electronics/pcie_injector/Manifest @@ -0,0 +1 @@ +DIST pcie_injector-20180527.zip 2441847 BLAKE2B 65451d4bb922377ad0c47ae29e6e3df2837381398eff766091dd01669572eb5906c4b400e5ce12d1e75ad1813040bea5232dcfc56c016918a7343e642c0b8af2 SHA512 7b790fdfbb6c93697cc9a5bd4ff591de8e7b7d2c5e3cd2f56463f3fe586345857b358ed4f1f4e24810bd7ff13be7679883812aea4eedda2c481b68ed2b16cd9e diff --git a/sci-electronics/pcie_injector/pcie_injector-20180527.ebuild b/sci-electronics/pcie_injector/pcie_injector-20180527.ebuild new file mode 100644 index 000000000..983af9d47 --- /dev/null +++ b/sci-electronics/pcie_injector/pcie_injector-20180527.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) +inherit python-single-r1 + +MY_COMMIT="950e56b091504d45ad17ee46ccb4d3950c182d42" + +DESCRIPTION="Information gathering tool designed for extracting metadata of public documents" +HOMEPAGE="https://github.com/enjoy-digital/pcie_injector/" +SRC_URI="https://github.com/enjoy-digital/pcie_injector/archive/${MY_COMMIT}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +#KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="sci-electronics/litex[${PYTHON_USEDEP}] + sci-electronics/migen[${PYTHON_USEDEP}] + sci-electronics/litedram[${PYTHON_USEDEP}] + sci-electronics/litepcie[${PYTHON_USEDEP}] + sci-electronics/liteusb[${PYTHON_USEDEP}] + " +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN}-${MY_COMMIT} + +#the following fails, need to be tested with supported hardware +src_compile(){ + ${PYTHON} pcie_injector.py +}