summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-05-02 20:04:19 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-05-02 20:06:26 +0100
commit04b5e805c64decb367049db5f2a9b6c9e9cae32b (patch)
tree5a1eed3fa95059f55e9a50118e5b273389a97669 /dev-libs/distorm64
parentnet-misc/ntp: fix building against GCC 10 (diff)
downloadgentoo-04b5e805c64decb367049db5f2a9b6c9e9cae32b.tar.gz
gentoo-04b5e805c64decb367049db5f2a9b6c9e9cae32b.tar.bz2
gentoo-04b5e805c64decb367049db5f2a9b6c9e9cae32b.zip
dev-libs/distorm64: Revert "drop old"
app-forensics/volatility still uses distorm with python-2.7 support. This reverts commit 2ba057016987faa19d8737d630532aec614c0cc9. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs/distorm64')
-rw-r--r--dev-libs/distorm64/Manifest2
-rw-r--r--dev-libs/distorm64/distorm64-3.4.1.ebuild25
-rw-r--r--dev-libs/distorm64/distorm64-3.4.2.ebuild32
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/distorm64/Manifest b/dev-libs/distorm64/Manifest
index 37abb0ebe7b7..5d3f8a79c335 100644
--- a/dev-libs/distorm64/Manifest
+++ b/dev-libs/distorm64/Manifest
@@ -1 +1,3 @@
+DIST distorm-3.4.1.tar.gz 220042 BLAKE2B a845fb3b5a3c98c1b25601896785273668b48c8477dd29c5db4c4ddcf3cdfe73095e3c4c883ca0909820430989a412d9b47c87471450eba2a4d969a9a03d32c1 SHA512 0e9f8b62bc190ef7d516f1902b6003adef9c7d5d4a5f985fb0bdfc5d4838b2805e2b8836b02d5eccdb3401e814417de615dec675aed9e606c93122ca8a0d2083
+DIST distorm3-3.4.2.tar.gz 182134 BLAKE2B 82bff5b12503acce156be2b2b16d2d60eb39329092dabfdd51815c468a7fa1e0cfe27351fb09e3f587054ec8262f5535d1b29f1269ccde94e01e1d326ba3df85 SHA512 a723bce70f0fddf065aa53fa7ea48c5e9f354c0fbe241c70ffd1404950fcf79b5ad6c6be64d20cb80567024bdc05e6bb41f788267a069c8e7b7b9dbb7c5c01af
DIST distorm3-3.4.4.tar.gz 134803 BLAKE2B 4c496db182c874b1f2d3e1433b53f59c51000d18c2e128d642e8088cb3150757a54d16d4f8303a2d46dfa0e83a941f9e75798d03643835938451c4b4903fd1f4 SHA512 ee39054a37436bb2137261d8fcf6da5e4849ef649bfa323c4523c195c1d9ee90708057fd1e1818f676300a410a184006d8db54ec3eef9aa8f5fcd455b25fc7a2
diff --git a/dev-libs/distorm64/distorm64-3.4.1.ebuild b/dev-libs/distorm64/distorm64-3.4.1.ebuild
new file mode 100644
index 000000000000..7dfb9b4d3560
--- /dev/null
+++ b/dev-libs/distorm64/distorm64-3.4.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_6 )
+
+inherit distutils-r1
+
+DESCRIPTION="The ultimate disassembler library (X86-32, X86-64)"
+HOMEPAGE="http://www.ragestorm.net/distorm/"
+
+MY_PN=distorm
+MY_P=${MY_PN}-${PV}
+
+SRC_URI="https://github.com/gdabah/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+DEPEND=""
+RDEPEND=""
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
diff --git a/dev-libs/distorm64/distorm64-3.4.2.ebuild b/dev-libs/distorm64/distorm64-3.4.2.ebuild
new file mode 100644
index 000000000000..a1522b970ad8
--- /dev/null
+++ b/dev-libs/distorm64/distorm64-3.4.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
+
+inherit distutils-r1
+
+DESCRIPTION="The ultimate disassembler library (X86-32, X86-64)"
+HOMEPAGE="http://www.ragestorm.net/distorm/"
+
+MY_PN=distorm3
+MY_P=${MY_PN}-${PV}
+
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+DEPEND=""
+RDEPEND=""
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+python_install() {
+ distutils-r1_python_install
+
+ # don't know why it does not happen by default
+ python_optimize
+}