summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/radare2')
-rw-r--r--dev-util/radare2/Manifest3
-rw-r--r--dev-util/radare2/metadata.xml33
-rw-r--r--dev-util/radare2/radare2-0.9.6.ebuild38
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest
new file mode 100644
index 0000000..8fe0196
--- /dev/null
+++ b/dev-util/radare2/Manifest
@@ -0,0 +1,3 @@
+DIST radare2-0.9.6.tar.xz 2072552 SHA256 91e8820ab7003de422cde777af681b0023d6b20253a81759df94578c514ae883 SHA512 bb65ae9ebfc30fcc41d9906f5951f394721a576cfc5bc0c758c12855e63f6fc09b19498ea1c96d1d41e65926cd7d0920cfd80013ceb8bedd09a84cc1858de7d8 WHIRLPOOL 081d8413149db503d4b76ac78f28d9905f28834167dbda0b0e605861426b30f4f25096492f6c883af7978ab9ed5e7325f8194ebec445399452a4aa4e4b266949
+EBUILD radare2-0.9.6.ebuild 993 SHA256 4a7c0a2a826ec42df7c2072a08082ae3fca41bad8aa8e06c859231be460d2f42 SHA512 d6963073537b1fcf20799af3aaf7a02a1969816d2dabe9f673faf6db42ec20fd1d3bc83b49d06fb41074b3c8962176b7b5409592b3582efb4c580328f17e011f WHIRLPOOL 9c1299834ee46aee44dd46efba11e4bfbc5029244d7d40bb9a5a6a56297a848239a52127ab4d09f01c795491efbd9b72bbb87f63a5ac0dfebe4af373ccfa5a93
+MISC metadata.xml 994 SHA256 53ec7c54c91f629495c5b59b6bec9e0aff03e93eef6c5a79a749863b0a540998 SHA512 a6fb77edee90f25b2c4e5ebd3ed4266b4698537894fc6429d706383100255464e3d3d2a5f2cc7959e21fc3eba909db3b7da6d37c541a39930d21f608bcfbf085 WHIRLPOOL b0bcc14dcb70ba083d720402512925a5f058a1878e6d392d795035b9658254bba9cdd94ba6cf86d73c63961805dedfff47c0760d89645cc8b51757815232cb1e
diff --git a/dev-util/radare2/metadata.xml b/dev-util/radare2/metadata.xml
new file mode 100644
index 0000000..adbb7ab
--- /dev/null
+++ b/dev-util/radare2/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>dev-tools</herd>
+ <maintainer>
+ <email>anthoine.bourgeois@gmail.com</email>
+ <name>Anthoine Bourgeois</name>
+ <description>aluco's overlay maintainer</description>
+ </maintainer>
+ <longdescription>
+ r2 is a rewrite from scratch of radare in order to provide a set of
+ libraries and tools to work with binary files. Radare project started
+ as a forensics tool, an scriptable commandline hexadecimal editor able
+ to open disk files, but later support for analyzing binaries,
+ disassembling code, debugging programs, attaching to remote gdb
+ servers, ...
+ </longdescription>
+ <use>
+ <flag name='ewf'>
+ Build the EWF (SMART and EnCase) image format dependency
+ </flag>
+ </use>
+ <use>
+ <flag name='debugger'>
+ Build native debugger features
+ </flag>
+ </use>
+ <use>
+ <flag name='cparse'>
+ Build with cparse support
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-util/radare2/radare2-0.9.6.ebuild b/dev-util/radare2/radare2-0.9.6.ebuild
new file mode 100644
index 0000000..9c8138a
--- /dev/null
+++ b/dev-util/radare2/radare2-0.9.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit base eutils
+
+DESCRIPTION="Advanced command line hexadecimal editor and more"
+HOMEPAGE="http://www.radare.org"
+SRC_URI="http://www.radare.org/get/radare2-${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+#IUSE="cparse debugger sysmagic ewf ssl"
+IUSE="cparse debugger ewf ssl"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+ ewf? ( app-forensics/libewf )
+ "
+#sysmagic? ( sys-libs/libmagic )
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ myconf=""
+ use cparse && myconf="${myconf} $(use_enable cparse)"
+ use debugger || myconf="${myconf} $(use_enable debugger)"
+ #use sysmagic && myconf="${myconf} $(use_with sysmagic)"
+ use ewf || myconf="${myconf} $(use_with ewf)"
+ use ssl && myconf="${myconf} $(use_with ssl openssl)"
+
+ econf ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" INSTALL_PROGRAM="install" install || die "install failed"
+}