summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2016-07-04 22:24:36 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2016-07-04 22:28:37 +0300
commit531500e4f8ed5191ba8206ef8d7cc062002f895b (patch)
tree5455ba6b3a1d1ea6ed31b7c163aa059d43d49c90 /dev-util/dissembler
parentpackage.mask: Remove dev-utils/dissembler (diff)
downloadgentoo-531500e4f8ed5191ba8206ef8d7cc062002f895b.tar.gz
gentoo-531500e4f8ed5191ba8206ef8d7cc062002f895b.tar.bz2
gentoo-531500e4f8ed5191ba8206ef8d7cc062002f895b.zip
dev-util/dissembler: bump to EAPI=6
EAPI 6 bump, update homepage and src_uri. Package-Manager: portage-2.3.0 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'dev-util/dissembler')
-rw-r--r--dev-util/dissembler/dissembler-0.9-r1.ebuild29
-rw-r--r--dev-util/dissembler/files/dissembler-0.9-build.patch4
2 files changed, 31 insertions, 2 deletions
diff --git a/dev-util/dissembler/dissembler-0.9-r1.ebuild b/dev-util/dissembler/dissembler-0.9-r1.ebuild
new file mode 100644
index 00000000000..6f8ac3e5e0c
--- /dev/null
+++ b/dev-util/dissembler/dissembler-0.9-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+MY_P=${PN}_${PV}
+DESCRIPTION="polymorphs bytecode to a printable ASCII string"
+HOMEPAGE="http://www.securiteam.com/tools/5MP0L2KFPA.html"
+SRC_URI="https://repo.palkeo.com/repositories/mirror7.meh.or.id/Tools/OTHER_TOOLS/ShellCode/${MY_P}.tgz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}/${P}-build.patch" )
+
+src_compile() {
+ emake CC="$(tc-getCC)" ${PN}
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc ${PN}.txt
+}
diff --git a/dev-util/dissembler/files/dissembler-0.9-build.patch b/dev-util/dissembler/files/dissembler-0.9-build.patch
index 019dfec20ad..0271d624345 100644
--- a/dev-util/dissembler/files/dissembler-0.9-build.patch
+++ b/dev-util/dissembler/files/dissembler-0.9-build.patch
@@ -1,5 +1,5 @@
---- dissembler.c
-+++ dissembler.c
+--- a/dissembler.c
++++ b/dissembler.c
@@ -16,6 +16,9 @@
/* FOR EDUCATIONAL PURPOSES ONLY */