diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/dissembler |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/dissembler')
-rw-r--r-- | dev-util/dissembler/Manifest | 6 | ||||
-rw-r--r-- | dev-util/dissembler/dissembler-0.9-r1.ebuild | 28 | ||||
-rw-r--r-- | dev-util/dissembler/files/dissembler-0.9-build.patch | 21 | ||||
-rw-r--r-- | dev-util/dissembler/metadata.xml | 8 |
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-util/dissembler/Manifest b/dev-util/dissembler/Manifest new file mode 100644 index 000000000000..aaf77799dabd --- /dev/null +++ b/dev-util/dissembler/Manifest @@ -0,0 +1,6 @@ +AUX dissembler-0.9-build.patch 392 SHA256 e91ae591dccf7c9e2e3c14221978c3f537e2da94913c182194600fdf12f6a99a SHA512 a0d66735d918d6e24b5c69b58d80bc16bf27ecbb5b05b3624903438f74761e43366c0f0b3a963354ef6284c6f77ec8442d07c3e792614b7e47b0e6000c0c2523 WHIRLPOOL af400575cb0d2095edee55534a689029a41d1ed25b60a80da69ca72b8c74cacf2e1c4df308317181fb1baad4a474f9a58e370f964f355a852660b5253a66560d +DIST dissembler_0.9.tgz 4479 SHA256 fb2a38fe28ea6586bcead0acf918963f051c940af3ab35995ab9e27c6c2e198a SHA512 b6c7e4f42bb41be4320afd5d83abf6a0f1bbb58927931348e8a4ed9ee40ab756baa383ba4a405be5475ab669e5a38947422a4f6a0db16851eb8e6eb9f71f1332 WHIRLPOOL ba8c888450feb1894f3ebc23b08433be8b40d18fc71d7d82301b6d0d9d77c7ef3ba60727c6f3ad7e71152f65d062b6f17c3fb65e489587654168a7abffc72510 +EBUILD dissembler-0.9-r1.ebuild 600 SHA256 76731fb8a9b96e5efffc72a659dedf289888d59de8c8a6d060d42551ac7fe5e8 SHA512 528ff09f77da4647d744ab7ce906abdc3758c6e887acea44b322937391ab9d66e0af6678585fcf6e23ae28d61e39a374ad758038c19dc868ff02e4092db64b91 WHIRLPOOL 7aa61a45f9a7e2f189196efc4d7443572ee8638ccb1bcf81df5ec1acfcc69641baf0125d307a46e783513c4adeca99cbe4c45e1d599f68875f49820c31a4fd42 +MISC ChangeLog 3228 SHA256 0e0982890f0ba6236ad66e0d9ffaf810e7ba32d04d3352a9ce36e7f7e6a98c55 SHA512 5eccec493d749f65a25915eec86b7be454bb7179781ffee7f2453712297e84ffe68feb7ce0ba8dc21a2367430f194eb578a369c3cb540ff04c643e9015d6c4f4 WHIRLPOOL 8e5547db5949c7e93011d30f78208e625c24aa9ab1f53d9230637ee6dedd1c42bf3979e7ce199bab7cdb0fca97d193bb17f7eed12c01e9267ba045d9297ee616 +MISC ChangeLog-2015 815 SHA256 5f4df2b60ae444046a383b3fd822a23279eb39f822fc69a0794778b49398132c SHA512 e13a36fce856bd0d21cf10ba2d9f1fe9876cd6bba76b950d961a86f9418ef434472755d79a544a3f3800ddee5ad993ebb31c02186dc514e0395b6ca58002b8df WHIRLPOOL fcc3ba19a60f91e757f15d318d1e26afa2df94c9995ae38df922e41a451785e38a8c2d76a05e5fbfe40e7fe19e9101a3feb10df1cc00491d073d1f1f89e4eb54 +MISC metadata.xml 256 SHA256 d30e6c3b8417bdf0cf4cef8310cd1a81e600e643707e9c215a3e27db61c1d954 SHA512 eb8e446afc52f5f079733bdaf0db316e97194ba08e3b1370a287db29ea0bd7974bb237dfc67ff22a115538ec830b632b98390a8e59ace9634a89dfa9c02037b5 WHIRLPOOL 54aca0ae35c2e8ac1797106908b50f31eb7ab9783df8dc1749304b2f0ca553f8fcd109b5c689715e44b0c6b7a81fbb256686e80cf432688259ae38e8ed018c79 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 000000000000..0635a8c2aace --- /dev/null +++ b/dev-util/dissembler/dissembler-0.9-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 new file mode 100644 index 000000000000..0271d6243452 --- /dev/null +++ b/dev-util/dissembler/files/dissembler-0.9-build.patch @@ -0,0 +1,21 @@ +--- a/dissembler.c ++++ b/dissembler.c +@@ -16,6 +16,9 @@ + + /* FOR EDUCATIONAL PURPOSES ONLY */ + ++#define _GNU_SOURCE ++#include <string.h> ++#include <unistd.h> + #include <stdio.h> + #include <sys/stat.h> + #include <ctype.h> +@@ -217,7 +217,7 @@ freedom: + fprintf(fh, "P"); + } + fprintf(fh,"\n"); +- if(fh != stdout) close(fh); ++ if(fh != stdout) fclose(fh); + free(mem-21); + } + diff --git a/dev-util/dissembler/metadata.xml b/dev-util/dissembler/metadata.xml new file mode 100644 index 000000000000..b4a27e94fc24 --- /dev/null +++ b/dev-util/dissembler/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> +</pkgmetadata> |