aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim <kolmax94@gmail.com>2011-04-24 21:23:59 +0400
committerMaxim <kolmax94@gmail.com>2011-04-24 21:23:59 +0400
commite2104b77e5e84567e733cbd9e6eb8cec2c4a8550 (patch)
tree76f5836cc847da996ff32fdc2b53815141c08a34
parentAdd scripts (diff)
downloadgentoo-openbsd-e2104b77e5e84567e733cbd9e6eb8cec2c4a8550.tar.gz
gentoo-openbsd-e2104b77e5e84567e733cbd9e6eb8cec2c4a8550.tar.bz2
gentoo-openbsd-e2104b77e5e84567e733cbd9e6eb8cec2c4a8550.zip
ecopy dev-util/elfsh
-rw-r--r--dev-util/elfsh/ChangeLog76
-rw-r--r--dev-util/elfsh/Manifest4
-rw-r--r--dev-util/elfsh/elfsh-0.65_rc1.ebuild59
-rw-r--r--dev-util/elfsh/metadata.xml11
4 files changed, 150 insertions, 0 deletions
diff --git a/dev-util/elfsh/ChangeLog b/dev-util/elfsh/ChangeLog
new file mode 100644
index 0000000..a136676
--- /dev/null
+++ b/dev-util/elfsh/ChangeLog
@@ -0,0 +1,76 @@
+# ChangeLog for dev-util/elfsh
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/ChangeLog,v 1.14 2011/04/16 15:19:33 blueness Exp $
+
+ 16 Apr 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
+ Adding myself as maintainer and will give it love :)
+
+ 10 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
+ elfsh-0.51_beta3.ebuild:
+ Respect CC,LDFLAGS. Bug #331863. Thanks to Diego E. 'Flameeyes' Pettenò
+ <flameeyes@gentoo.org> for reporting
+
+ 23 Jul 2009; Víctor Ostorga <vostorga@gentoo.org>
+ files/elfsh-0.51_beta3-glibc210.patch:
+ Including full glibc210 patch, the first was cut
+
+ 22 Jul 2009; Víctor Ostorga <vostorga@gentoo.org>
+ elfsh-0.51_beta3.ebuild, +files/elfsh-0.51_beta3-glibc210.patch:
+ Fix compilation with glibc-2.10, wrt bug #276065
+
+ 02 May 2009; Mark Loeser <halcy0n@gentoo.org> elfsh-0.51_beta3.ebuild,
+ elfsh-0.65_rc1.ebuild:
+ Update homepage, thanks to Olivier Huber <oli DOT huber AT gmail DOT com>
+ for reporting; bug #268330
+
+ 14 Oct 2008; Jeremy Olexa <darkside@gentoo.org> elfsh-0.65_rc1.ebuild:
+ (non maintainer commit) manually place distfile on mirrors and fix up ebuild
+ to reflect that. based on user input on bug #232141
+
+ 25 Sep 2007; <solar@gentoo.org> metadata.xml:
+ - update metadata.xml
+
+ 24 Jun 2007; Piotr Jaroszyński <peper@gentoo.org> elfsh-0.65_rc1.ebuild:
+ (QA) Don't use KEYWORDS="-*". bug #160519.
+
+ 06 Jan 2007; <malc@gentoo.org> elfsh-0.51_beta3.ebuild:
+ Multilib strict fix - bug #159914
+
+*elfsh-0.65_rc1 (04 Mar 2006)
+
+ 04 Mar 2006; Mike Frysinger <vapier@gentoo.org> +elfsh-0.65_rc1.ebuild:
+ Version bump.
+
+ 26 Jan 2006; <solar@gentoo.org> elfsh-0.51_beta3.ebuild:
+ - removed unneeded gettext depend
+
+ 17 Oct 2004; David Holm <dholm@gentoo.org> elfsh-0.51_beta3.ebuild:
+ Added to ~ppc.
+
+ 24 Sep 2004; Sven Wegener <swegener@gentoo.org> :
+ Fixed ChangeLog header.
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ elfsh-0.51_beta3.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 07 May 2004; Brandon Hale <tseng@gentoo.org> elfsh-0.51_beta3.ebuild:
+ Added IUSE=
+
+*elfsh-0.51_beta3 (21 Aug 2003)
+
+ 21 Aug 2003; <solar@gentoo.org> elfsh-0.51_beta3.ebuild:
+ version bump, still requires special patch to avoid sandbox permission denied
+ errors
+
+*elfsh-0.51_beta2 (15 Aug 2003)
+
+ 15 Aug 2003; <solar@gentoo.org> elfsh-0.51_beta2.ebuild,
+ files/elfsh-0.51b2.diff:
+ version bump to latest version listed in phrack #61
+
+*elfsh-0.5_beta8 (08 Jul 2003)
+
+ 08 Jul 2003; <solar@gentoo.org> elfsh-0.5_beta8.ebuild, metadata.xml:
+ initial import of elfsh to portage
+
diff --git a/dev-util/elfsh/Manifest b/dev-util/elfsh/Manifest
new file mode 100644
index 0000000..79fb290
--- /dev/null
+++ b/dev-util/elfsh/Manifest
@@ -0,0 +1,4 @@
+DIST elfsh-0.65_rc1.zip 444993 RMD160 dd7bd496d1f47230d1f734140df47ae439a92b49 SHA1 ef68515f1a89b137ba44314bee3623a742e8b841 SHA256 740e0bda6c368cbf7ceb6082e038d84c155220666c4edbb8dc8724b83d4feb93
+EBUILD elfsh-0.65_rc1.ebuild 1432 RMD160 34a5807e907704c248b1ad2fbe79b12d6c9cb7ef SHA1 39e42ef1d21b9aa2c6f0f1b8f1d7d74b0ba2e020 SHA256 def54e688f03c06b029575e26a12376c77b72893f17bc148e6bbd15409c7dcdc
+MISC ChangeLog 2630 RMD160 adc830efb4c76b81e15efe283927c958ac72808f SHA1 374b3915f651e628ca1eaaebaaaee3deefd12bfc SHA256 730ed1e37d9ad16a10af40ab9c1430b2db9433a7b566918b29eb45027069d3a9
+MISC metadata.xml 599 RMD160 fd154df6138e5e4f5eb6c3ec1d08c31796cf0846 SHA1 04c97591a90e2fabe1aad9c01301a643758a1565 SHA256 83055939faf8fec5a3a709176ed5865ba8870aa4e68df119ae1f6b17f9ed544b
diff --git a/dev-util/elfsh/elfsh-0.65_rc1.ebuild b/dev-util/elfsh/elfsh-0.65_rc1.ebuild
new file mode 100644
index 0000000..98b4276
--- /dev/null
+++ b/dev-util/elfsh/elfsh-0.65_rc1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/elfsh-0.65_rc1.ebuild,v 1.4 2009/05/02 20:29:16 halcy0n Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="scripting language to modify ELF binaries"
+HOMEPAGE="http://www.eresi-project.org/"
+SRC_URI="mirror://gentoo/${P}.zip"
+#http://www.eresi-project.org/browser/tags/elfsh_0_65rc1
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="readline"
+
+DEPEND=">=dev-libs/expat-1.95
+ readline? ( sys-libs/readline )
+ app-arch/unzip
+ dev-libs/libhash"
+RDEPEND=""
+
+S="${WORKDIR}/tags/elfsh_0_65rc1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's: -O2 : :g' \
+ -e "s: -g3 : ${CFLAGS} :" \
+ -e "/^LDFLAGS/s:=:=${LDFLAGS} :" \
+ $(find -name Makefile) \
+ || die
+ chmod +x configure
+}
+
+src_compile() {
+ local bits
+ touch foo.c && $(tc-getCC) -c foo.c -o foo.o || die
+ case $(file foo.o) in
+ *64-bit*) bits=64;;
+ *32-bit*) bits=32;;
+ *) die "unknown bits: $(file foo.o)";;
+ esac
+ # not an autoconf script
+ ./configure \
+ $([[ ${bits} == "64" ]] && echo "--enable-m64") \
+ --enable-${bits} \
+ $(use_enable readline) \
+ || die
+ # emacs does not have to be a requirement.
+ emake ETAGS=echo || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "install failed"
+ dodoc README.FIRST doc/AUTHOR doc/CREDITS doc/Changelog doc/*.txt
+ doman doc/*.1
+}
diff --git a/dev-util/elfsh/metadata.xml b/dev-util/elfsh/metadata.xml
new file mode 100644
index 0000000..a9e1ccd
--- /dev/null
+++ b/dev-util/elfsh/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>blueness@gentoo.org</email>
+</maintainer>
+<longdescription>
+ELFsh is an interactive and scriptable ELF machine to play with executable files, shared libraries and relocatable ELF32 objects. It is useful for daily binary manipulations such as on-the-fly patching, embedded code injection, and binary analysis in research fields such as reverse engineering, security auditing and intrusion detection.
+</longdescription>
+</pkgmetadata>