summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2003-08-15 22:29:39 +0000
committerNed Ludd <solar@gentoo.org>2003-08-15 22:29:39 +0000
commit4f44dbd5cc25bf7e12eb73139d87490cfa6df443 (patch)
treedd52712fd85e02c7aaec496183a7e9293410b9c7 /dev-libs/elfsh
parentversion bump to latest version listed in phrack #61 (diff)
downloadhistorical-4f44dbd5cc25bf7e12eb73139d87490cfa6df443.tar.gz
historical-4f44dbd5cc25bf7e12eb73139d87490cfa6df443.tar.bz2
historical-4f44dbd5cc25bf7e12eb73139d87490cfa6df443.zip
version bump to latest version listed in phrack #61
Diffstat (limited to 'dev-libs/elfsh')
-rw-r--r--dev-libs/elfsh/Manifest5
-rw-r--r--dev-libs/elfsh/elfsh-0.51_beta2.ebuild42
-rw-r--r--dev-libs/elfsh/files/digest-elfsh-0.51_beta21
-rw-r--r--dev-libs/elfsh/files/elfsh-0.51b2.diff47
4 files changed, 92 insertions, 3 deletions
diff --git a/dev-libs/elfsh/Manifest b/dev-libs/elfsh/Manifest
index 6b60fe8c3cc2..a4389b43375a 100644
--- a/dev-libs/elfsh/Manifest
+++ b/dev-libs/elfsh/Manifest
@@ -1,8 +1,7 @@
-MD5 5fa4f19fb51d69f7ea2e2525fcefe8f4 ChangeLog 351
+MD5 aa61ecbac1141892b0be7e448b21e889 ChangeLog 525
MD5 c94eb2db38de725fc05dbe8666113127 elfsh-0.5_beta8.ebuild 956
MD5 fc9aa1192d130594886c29a3b77591cf metadata.xml 648
-MD5 d27d7ef284bb8733f7cb2f28d36b2f83 elfsh-0.51_beta2.ebuild 1052
-MD5 b21bb42af51d86083e0fa2a609a2842e elfsh.out 231
+MD5 9ea2ea47f895242414e3591f19f39097 elfsh-0.51_beta2.ebuild 1086
MD5 355f999030ba438a9c79d931ac9a4ea9 files/digest-elfsh-0.5_beta8 66
MD5 6729421a54b3419a4bf2fc414ea2bd0f files/elfsh-0.5b8-linux.diff 1397
MD5 f71699c51755f84cb89ab43d2e5d538f files/digest-elfsh-0.51_beta2 70
diff --git a/dev-libs/elfsh/elfsh-0.51_beta2.ebuild b/dev-libs/elfsh/elfsh-0.51_beta2.ebuild
new file mode 100644
index 000000000000..ce08883c0a1d
--- /dev/null
+++ b/dev-libs/elfsh/elfsh-0.51_beta2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfsh/elfsh-0.51_beta2.ebuild,v 1.1 2003/08/15 22:29:22 solar Exp $
+
+IUSE=""
+
+MY_PV=${PV/_beta/b}
+S=${WORKDIR}/${PN}-${MY_PV}
+
+DESCRIPTION="ELFsh is an interactive and scriptable ELF machine to play with executable files, shared libraries and relocatable ELF32 objects"
+HOMEPAGE="http://devhell.org/projects/elfsh"
+SRC_URI="http://elfsh.segfault.net/files/elfsh-${MY_PV}-portable.tgz
+ http://devhell.org/projects/elfsh/files/elfsh-${MY_PV}-portable.tgz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="virtual/glibc
+ >=dev-libs/expat-1.95
+ >=sys-devel/gettext-0.11
+"
+
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ [ -f ${FILESDIR}/${PN}-${MY_PV}.diff ] &&
+ epatch ${FILESDIR}/${PN}-${MY_PV}.diff
+}
+
+src_compile() {
+ cd ${S}
+ # emacs does not have to be a requirement.
+ emake ETAGS=echo || die "emake failed"
+}
+
+src_install() {
+ cd ${S}
+ dodir /usr/share/elfsh
+ einstall DESTDIR=${D} || die "einstall failed"
+}
diff --git a/dev-libs/elfsh/files/digest-elfsh-0.51_beta2 b/dev-libs/elfsh/files/digest-elfsh-0.51_beta2
new file mode 100644
index 000000000000..128432445195
--- /dev/null
+++ b/dev-libs/elfsh/files/digest-elfsh-0.51_beta2
@@ -0,0 +1 @@
+MD5 091a9a89f69f861024a75d314b6d616f elfsh-0.51b2-portable.tgz 138012
diff --git a/dev-libs/elfsh/files/elfsh-0.51b2.diff b/dev-libs/elfsh/files/elfsh-0.51b2.diff
new file mode 100644
index 000000000000..301cb27d366d
--- /dev/null
+++ b/dev-libs/elfsh/files/elfsh-0.51b2.diff
@@ -0,0 +1,47 @@
+--- Makefile.orig 2003-08-13 09:31:55.000000000 -0400
++++ Makefile 2003-08-15 18:12:36.000000000 -0400
+@@ -5,12 +5,14 @@
+ ## Last update Sun May 25 18:12:43 2003 mayhem
+ ##
+
++DESTDIR = /
++PREFIX = $(DESTDIR)/usr
+ RM = rm -f
+ ETAGS = etags
+-MODPATH = /usr/share/elfsh/
+-BINPATH = /usr/bin
+-LIBPATH = /usr/lib/
+-INCPATH = /usr/include/
++MODPATH = $(PREFIX)/share/elfsh
++BINPATH = $(PREFIX)/bin
++LIBPATH = $(PREFIX)/lib
++INCPATH = $(PREFIX)/include
+
+ all :
+ @echo 'Builting libelfsh...'
+@@ -32,10 +34,11 @@
+ #$(MAKE) -s tags
+
+ install : mod_install
++ mkdir -p $(MODPATH) $(BINPATH) $(LIBPATH) $(INCPATH) || true
+ @cp vm/elfsh $(BINPATH)/
+ @cp libelfsh/libelfsh.a libelfsh/libelfsh.so $(LIBPATH)
+ @cp libelfsh/include/libelfsh*.h $(INCPATH)
+- @chmod 755 $(BINPATH)/elfsh $(LIBPATH)libelfsh.so $(LIBPATH)libelfsh.a $(INCPATH)libelfsh*.h
++ @chmod 755 $(BINPATH)/elfsh $(LIBPATH)/libelfsh.so $(LIBPATH)/libelfsh.a $(INCPATH)/libelfsh*.h
+ @echo 'ELFsh and Libelfsh installed successfully .'
+
+ mod_install:
+@@ -44,9 +47,9 @@
+ @chmod -R 755 $(MODPATH)
+
+ uninstall:
+- rm -f /usr/bin/elfsh
+- rm -f /usr/lib/libelfsh*
+- rm -f /usr/include/libelfsh*.h
++ rm -f $(BINPATH)/elfsh
++ rm -f $(LIBPATH)/libelfsh*
++ rm -f $(INCPATH)/libelfsh*.h
+ rm -fr $(MODPATH)
+ @echo 'ELFsh and Libelfsh uninstalled successfully'
+