summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/eresi/ChangeLog39
-rw-r--r--dev-util/eresi/Manifest10
-rw-r--r--dev-util/eresi/eresi-0.82_beta2.ebuild72
-rw-r--r--dev-util/eresi/files/0.82_beta2-as-needed.patch28
-rw-r--r--dev-util/eresi/files/0.82_beta2-direct-ld.patch32
-rw-r--r--dev-util/eresi/files/0.82_beta2-drop-dprintf.patch25
-rw-r--r--dev-util/eresi/files/0.82_beta2-gentoo-autodetect.patch17
-rw-r--r--dev-util/eresi/files/0.82_beta2-parallel-make.patch66
-rw-r--r--dev-util/eresi/files/0.82_beta2-sed-in-Makefile.patch22
-rw-r--r--dev-util/eresi/metadata.xml8
10 files changed, 0 insertions, 319 deletions
diff --git a/dev-util/eresi/ChangeLog b/dev-util/eresi/ChangeLog
deleted file mode 100644
index 337cda563..000000000
--- a/dev-util/eresi/ChangeLog
+++ /dev/null
@@ -1,39 +0,0 @@
-# ChangeLog for dev-util/eresi
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 27 May 2011; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- eresi-0.82_beta2.ebuild:
- Remove unneeded base eclass
-
- 23 May 2011; Martin von Gagern (MvG) <Martin.vGagern@gmx.net>
- +files/0.82_beta2-direct-ld.patch, +files/0.82_beta2-gentoo-autodetect.patch,
- +files/0.82_beta2-sed-in-Makefile.patch, eresi-0.82_beta2.ebuild:
- * Change to EAPI=4. Prevent readline and server USE flags
- from being enabled at the same time.
- * Remove sed call at the top level of the Makefile.
- * Prevent direct call to ld, call gcc instead.
- * Avoid automatic autodetection of gentoo via uname.
-
- 05 Oct 2010; Martin von Gagern (MvG) <Martin.vGagern@gmx.net>
- eresi-0.82_beta2.ebuild:
- Fix build issues with glibc 2.12 where __USE_GNU gets unset unless
- _GNU_SOURCE is defined, preventing the definition of REG_* macros from
- sys/ucontext.h.
-
- 04 Jul 2010; Martin von Gagern (MvG) <Martin.vGagern@gmx.net>
- +files/0.82_beta2-as-needed.patch,
- +files/0.82_beta2-drop-dprintf.patch, eresi-0.82_beta2.ebuild:
- * Updated SRC_URI to new host
- * Fix build-time issue due to conflicting dprintf declarations
- * Fix problem with --as-needed
- * Fix path of one doc file
-
- 09 Jan 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- eresi-0.82_beta2.ebuild:
- Adding some bash magic for less dodoc lines
-
- 02 Jan 2009; Martin von Gagern (MvG) <Martin.vGagern@gmx.net>
- +files/0.82-parallel-make.patch, +eresi-0.82_beta2.ebuild, +metadata.xml:
- New ebuild for ERESI, to replace dev-util/elfsh. Bug #253436
-
diff --git a/dev-util/eresi/Manifest b/dev-util/eresi/Manifest
deleted file mode 100644
index 0095497e8..000000000
--- a/dev-util/eresi/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-AUX 0.82_beta2-as-needed.patch 1508 RMD160 7f452532bd231fb6bd1a2aed574c50fd3969442c SHA1 053f33cc40e600185fd779e751f1f447359a9a3e SHA256 0c0fc1ba336d9d2bfd22d53a7856fe1ec79e94bb7f86785e4b8b8cca66bd665d
-AUX 0.82_beta2-direct-ld.patch 1158 RMD160 00dce5560d4727acdba4a65260dffa40b6d4f18e SHA1 333dd65f712c27016bf18c07c0a8707278d3fe9d SHA256 5d749601907ed594418688bd42ab40e21cb8f841b61e26c84dc2d58377c92df8
-AUX 0.82_beta2-drop-dprintf.patch 1113 RMD160 f4f42ef7559704dd82c2700d105bc675fc805d9e SHA1 a43671d5dd40df6997c70761775f58318362340f SHA256 2d1c9b56ac33217242c50000388114e178ea359a328e33f6557cbac4332b81ea
-AUX 0.82_beta2-gentoo-autodetect.patch 465 RMD160 9de927f0b6d7ebb6ff21cef8cd2ee8a521417ee1 SHA1 1d9353b8bbccfd8592b02b341a33862879bd747c SHA256 0cc9f3e71db33ff8aa7b35a806059cc894cc3914fe68fef3ccdf59676f8180c1
-AUX 0.82_beta2-parallel-make.patch 1970 RMD160 6b7bd0515188264a8ad8c799c6873d15b43f4332 SHA1 6e67edb49670c3c67e9df46abf5d89229ef41459 SHA256 564b6e46e10797b096d75f50691f9bf2244271fe04e4234a908dcd4f7dfade13
-AUX 0.82_beta2-sed-in-Makefile.patch 653 RMD160 ecfb98ce7ac3a2e42b0948d88e71794c3ff5fef0 SHA1 a267524a5908b767e86ceb87f58821df2cdbf760 SHA256 5b6e9b72a887afaf213b5dcf8984a3355f95eb974457f6305bc2ba0b42a5ce16
-DIST eresi-0.82_beta2.tar.bz2 1132566 RMD160 a52cb8ae6da30dc9f2dd024e064a8da3c3666d02 SHA1 41d28e4bfc486c8f48cf15fb57e4b3f35f21a3aa SHA256 93daa8e392d33897d2fe3a9b27b198671941a53803fdb9bc08dea8a3f9b13a44
-EBUILD eresi-0.82_beta2.ebuild 2418 RMD160 17608d39ba64370f0a95bda0e0758db311a58690 SHA1 20ef0c61884249d0817746ce4f3e02605240834e SHA256 9cf2a82bfb35560f5d647213f59d041520b5ecba7c710128e40216ae858f32ec
-MISC ChangeLog 1619 RMD160 828065436cac90be6d5db9dc9b83ac50fc396b3d SHA1 ebeb7a81dad1b6022a53ca9b85983c2e6736ea92 SHA256 a0cd38a87685be9425bbe08721335c4c30ed132386746e49a33cbf0223d6cc48
-MISC metadata.xml 278 RMD160 26635a18dbc2f37c40a872b3d4729ec7980cd679 SHA1 d5437ef1086971576f1c05024b95253f181d97d7 SHA256 bb29e498c85880b80a7ebb4dfb398bf2f796ddbd4749f9a2ebf206b397adda15
diff --git a/dev-util/eresi/eresi-0.82_beta2.ebuild b/dev-util/eresi/eresi-0.82_beta2.ebuild
deleted file mode 100644
index d55ec2c95..000000000
--- a/dev-util/eresi/eresi-0.82_beta2.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="The ERESI Reverse Engineering Software Interface: elfsh and friends"
-HOMEPAGE="http://www.eresi-project.org/"
-# Steps to regenerate archive:
-# svn export http://svn.eresi-project.org/svn/trunk@1283 eresi-0.82_beta2
-# tar cvjf eresi-0.82_beta2{.tar.bz2,}
-# To find the latest release and the corresponding svn revision:
-# svn annotate \
-# http://svn.eresi-project.org/svn/trunk/librevm/include/revm-io.h \
-# | egrep 'REVM_(RELEASE|VERSION)'
-SRC_URI="http://martin.von-gagern.net/gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="readline server doc"
-REQUIRED_USE="server? ( !readline )"
-
-DEPEND="readline? ( sys-libs/readline )"
-RDEPEND="${DEPEND}
- !<dev-util/elfsh-0.75"
-# dev-util/elfsh-0.75 should be used as a transition package,
-# depending on eresi but not installing any files of its own.
-
-src_prepare() {
- epatch "${FILESDIR}"/0.82_beta2-parallel-make.patch \
- "${FILESDIR}"/0.82_beta2-drop-dprintf.patch \
- "${FILESDIR}"/0.82_beta2-as-needed.patch \
- "${FILESDIR}"/0.82_beta2-sed-in-Makefile.patch \
- "${FILESDIR}"/0.82_beta2-direct-ld.patch \
- "${FILESDIR}"/0.82_beta2-gentoo-autodetect.patch
-
- sed -i \
- -e 's: -O2 : :g' \
- -e "s: -g3 : ${CFLAGS} -D_GNU_SOURCE :" \
- -e "/^LDFLAGS/s:=:=${LDFLAGS} :" \
- $(find -name Makefile) || die
- sed -i \
- -e "s:/usr/local:${EPREFIX%/}/usr:" \
- configure eresi-config libasm/tools/libasm-config.template \
- $(find -name \*.esh)
-}
-
-src_configure() {
- # non-standard configure script
- # doesn't understand --disable-*, so don't use use_enable
- local conf="--prefix /usr"
- conf="${conf} --enable-32-64"
- conf="${conf} --set-compiler $(tc-getCC)"
- use readline && conf="${conf} --enable-readline"
- use server && conf="${conf} --enable-network"
- echo "./configure ${conf}"
- ./configure ${conf} || die "configure failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc doc/{AUTHOR,CREDITS} README.FIRST || die "dodoc failed"
- if use doc; then
- dodoc doc/{cerberus2,elfsh-network-0.3,elfsh-ref}.txt \
- doc/{graphers,libelfsh-ref,rtld-multiarch}.txt || die "dodoc failed"
- dodoc doc/{Changelog,ERESI.NEWHOOKS,eresirc.example} || die "dodoc failed"
- dodoc doc/{KERNSH.bugs,libelfsh.i} || die "dodoc failed"
- fi
-}
diff --git a/dev-util/eresi/files/0.82_beta2-as-needed.patch b/dev-util/eresi/files/0.82_beta2-as-needed.patch
deleted file mode 100644
index 978bf9512..000000000
--- a/dev-util/eresi/files/0.82_beta2-as-needed.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: eresi-0.82_beta2/e2dbg/Makefile
-===================================================================
---- eresi-0.82_beta2.orig/e2dbg/Makefile
-+++ eresi-0.82_beta2/e2dbg/Makefile
-@@ -38,9 +38,10 @@ CFLAGS64 += -fPIC -g3 -Wall -Iinclude $
- -DERESI64
-
- LDFLAGS32 += -L../liballocproxy -lallocproxy -L../libelfsh/ -lelfsh32 \
-- -L../libetrace/ -letrace32 -L../libstderesi -lstderesi32 \
-+ -L../libetrace/ -letrace32 \
- -L../libdump/ -L/usr/pkg/lib/ -L../libasm/ -lasm32 \
- -L../libaspect/ -laspect32 -L../librevm/ -lrevm32 \
-+ -L../libstderesi -lstderesi32 \
- -L../libmjollnir -lmjollnir32 -g3 \
- -L../libui/ -lui32 -L../libedfmt -ledfmt32 \
- $(LDREADLNOPT) $(DLOPT) -L/usr/freeware/lib32/ $(DYNOPT) \
-@@ -48,9 +49,10 @@ LDFLAGS32 += -L../liballocproxy -lalloc
- $(LDMJOLLNIR) $(KERNSHLIB32) $(NCURSESLNOPT) $(READLNOPT)
-
- LDFLAGS64 += -L../liballocproxy -lallocproxy -L../libelfsh/ -lelfsh64 \
-- -L../libetrace/ -letrace64 -L../libstderesi -lstderesi64 \
-+ -L../libetrace/ -letrace64 \
- -L../libdump/ -L/usr/pkg/lib/ -L../libasm/ -lasm64 \
- -L../libaspect/ -laspect64 -L../librevm/ -lrevm64 \
-+ -L../libstderesi -lstderesi64 \
- -L../libmjollnir -lmjollnir64 -g3 \
- -L../libui/ -lui64 -L../libedfmt -ledfmt64 \
- $(LDREADLNOPT) $(DLOPT) -L/usr/freeware/lib32/ $(DYNOPT) \
diff --git a/dev-util/eresi/files/0.82_beta2-direct-ld.patch b/dev-util/eresi/files/0.82_beta2-direct-ld.patch
deleted file mode 100644
index f3bb19c74..000000000
--- a/dev-util/eresi/files/0.82_beta2-direct-ld.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From: Nathan Phillip Brink <binki@gentoo.org>
-Subject: Don't call LD when linking, use CC instead.
-
---- a/libdump/Makefile
-+++ b/libdump/Makefile
-@@ -26,12 +26,12 @@
- all32: $(OBJ32)
- $(AR) $(NAME32).a $(OBJ32)
- $(RANLIB) $(NAME32).a
-- $(LD) -r $(OBJ32) -o $(NAME32).o $(LDFLAGS32)
-+ $(CC) -Wl,-r -nostdlib $(OBJ32) -o $(NAME32).o $(LDFLAGS32)
-
- all64: $(OBJ64)
- $(AR) $(NAME64).a $(OBJ64)
- $(RANLIB) $(NAME64).a
-- $(LD) -r $(OBJ64) -o $(NAME64).o $(LDFLAGS64)
-+ $(CC) -Wl,-r -nostdlib $(OBJ64) -o $(NAME64).o $(LDFLAGS64)
-
- clean :
- @rm -f $(OBJ32) $(OBJ64) *~ *\# \#* .\#* dump_main.o
-
---- a/elfsh/Makefile
-+++ b/elfsh/Makefile
-@@ -36,7 +36,7 @@
- -I../libedfmt/include/ $(STATOPT2) \
- $(ASMOPT) -DERESI64 $(NCURSESLNOPT) $(READLNOPT)
-
--LDFLAGS32 += -L../libedfmt/ -ledfmt32 -L../libelfsh/ -lelfsh32 \
-+LDFLAGS32 += -L../libedfmt/ -ledfmt32 -L../libdump/ -L../libelfsh/ -lelfsh32 \
- -L../libetrace/ -letrace32 -L../libstderesi/ -lstderesi32 \
- -L/usr/pkg/lib/ -L../libmjollnir/ -lmjollnir32 \
- -L../libetrace -letrace32 $(LPTHREAD) -L../libasm/ -lasm32 \
diff --git a/dev-util/eresi/files/0.82_beta2-drop-dprintf.patch b/dev-util/eresi/files/0.82_beta2-drop-dprintf.patch
deleted file mode 100644
index bde1a9500..000000000
--- a/dev-util/eresi/files/0.82_beta2-drop-dprintf.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Drop conflicting dprintf declaration.
-
-ERESI does declare a prototype for dprintf, which conflicts with the
-declaration in stdio.h, leading to the following compiler error:
-
-../librevm/include/revm.h:604: error: conflicting types for ‘dprintf’
-/usr/include/stdio.h:397: note: previous declaration of ‘dprintf’ was here
-
-As the whole ERESI source code doesn't even mention dprintf in any
-other place, dropping the declaration shouldn't cause any harm at all.
-
-2010-04-07 Martin von Gagern
-
-Index: eresi-0.82_beta2/librevm/include/revm.h
-===================================================================
---- eresi-0.82_beta2.orig/librevm/include/revm.h
-+++ eresi-0.82_beta2/librevm/include/revm.h
-@@ -601,7 +601,6 @@ int revm_isnbr(char *string);
- void revm_workfiles_load();
- int revm_implicit(revmcmd_t *actual);
- int revm_workfiles_unload();
--int dprintf(int fd, char *format, ...);
- void revm_pht_print(elfsh_Phdr *phdr, uint16_t num, eresi_Addr base);
- char *revm_fetch_sht_typedesc(elfsh_Word typenum);
- int revm_sht_print(elfsh_Shdr *shdr, u_int num, char rtflag);
diff --git a/dev-util/eresi/files/0.82_beta2-gentoo-autodetect.patch b/dev-util/eresi/files/0.82_beta2-gentoo-autodetect.patch
deleted file mode 100644
index d90fccdad..000000000
--- a/dev-util/eresi/files/0.82_beta2-gentoo-autodetect.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Avoid autodetecting Gentoo using any kind of black magic.
-
-2011-05-23 Martin von Gagern
-
-Index: eresi-0.82_beta2/configure
-===================================================================
---- eresi-0.82_beta2.orig/configure
-+++ eresi-0.82_beta2/configure
-@@ -20,7 +20,7 @@ VARSFILE="librevm/include/revm-vars.h"
- LIBVARSFILE="libelfsh/include/libvars.h"
- LPTHREAD="-lpthread"
- SHELL=`which bash`
--GENTOO=` uname -a | grep gentoo`
-+GENTOO=yes
-
- printHelp()
- {
diff --git a/dev-util/eresi/files/0.82_beta2-parallel-make.patch b/dev-util/eresi/files/0.82_beta2-parallel-make.patch
deleted file mode 100644
index c14d21a25..000000000
--- a/dev-util/eresi/files/0.82_beta2-parallel-make.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-Index: librevm/Makefile
-===================================================================
---- librevm/Makefile (revision 1284)
-+++ librevm/Makefile (working copy)
-@@ -42,7 +42,7 @@
- $(MAKE) -C io all32
- $(MAKE) -C api all32
-
--$(NAME32).so :
-+$(NAME32).so : mod32
- $(CC) -shared $(OBJ32) -o $(NAME32).so $(LDFLAGS32) \
- $(STATOPT) $(NCURSESLNOPT) $(READLNOPT)
- ar rc ${NAME32}.a ${OBJ32}
-@@ -57,7 +57,7 @@
- $(MAKE) -C io all64
- $(MAKE) -C api all64
-
--lib64 :
-+lib64 : mod64
- $(CC) -shared $(OBJ64) -o $(NAME64).so $(LDFLAGS64) \
- $(STATOPT) $(NCURSESLNOPT) $(READLNOPT)
- ar rc ${NAME64}.a ${OBJ64}
-Index: libstderesi/Makefile
-===================================================================
---- libstderesi/Makefile (revision 1284)
-+++ libstderesi/Makefile (working copy)
-@@ -47,7 +47,7 @@
- $(MAKE) -C analysis all32
- $(MAKE) -C files all32
-
--$(NAME32).so :
-+$(NAME32).so : mod32
- $(CC) -shared $(OBJ32) -o $(NAME32).so $(LDFLAGS32) \
- $(NCURSESLNOPT) $(READLNOPT)
- ar rc ${NAME32}.a ${OBJ32}
-@@ -66,7 +66,7 @@
- $(MAKE) -C analysis all64
- $(MAKE) -C files all64
-
--$(NAME64).so :
-+$(NAME64).so : mod64
- $(CC) -shared $(OBJ64) -o $(NAME64).so $(LDFLAGS64) \
- $(STATOPT) $(NCURSESLNOPT) $(READLNOPT)
- ar rc ${NAME64}.a ${OBJ64}
-Index: libe2dbg/Makefile
-===================================================================
---- libe2dbg/Makefile (revision 1284)
-+++ libe2dbg/Makefile (working copy)
-@@ -52,7 +52,7 @@
- $(MAKE) -C kernel
- endif
-
--$(DBGNAME32O):
-+$(DBGNAME32O): mod32
- @$(CC) -shared $(COBJ32) $(EXTRAOBJ32) $(UOBJ32) $(LDFLAGS32) \
- -o $(DBGNAME32).so
- @$(AR) $(DBGNAME32).a $(COBJ32) $(UOBJ32) $(EXTRAOBJ32)
-@@ -70,7 +70,7 @@
- $(MAKE) -C common all64
- $(MAKE) -C user all64
-
--$(DBGNAME64O) :
-+$(DBGNAME64O) : mod64
- @$(CC) -shared $(COBJ64) $(EXTRAOBJ64) $(UOBJ64) $(LDFLAGS64) \
- -o $(DBGNAME64).so
- @$(AR) $(DBGNAME64).a $(OBJ64)
diff --git a/dev-util/eresi/files/0.82_beta2-sed-in-Makefile.patch b/dev-util/eresi/files/0.82_beta2-sed-in-Makefile.patch
deleted file mode 100644
index 321e710cb..000000000
--- a/dev-util/eresi/files/0.82_beta2-sed-in-Makefile.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Having a sed command at the top of the Makefile will break with
-current (3.82) GNU make.
-
-2011-05-23 Martin von Gagern
-
-Index: eresi-0.82_beta2/configure
-===================================================================
---- eresi-0.82_beta2.orig/configure
-+++ eresi-0.82_beta2/configure
-@@ -618,10 +618,10 @@ echo "RM = rm -f "
- echo "" >> Makefile
- echo "all : world modules testsuite tags" >> Makefile
-
-+sed -ie "s%TESTING_ROOT=.*%TESTING_ROOT=`pwd`/%" eresi-config
-+
- cat >> Makefile <<EOF
-
--sed -ie "s%TESTING_ROOT=.*%TESTING_ROOT=`pwd`/%" eresi-config
--
- ifdef NAME
- include build/defs/dep-rules.def
- component: dep-\$(NAME)
diff --git a/dev-util/eresi/metadata.xml b/dev-util/eresi/metadata.xml
deleted file mode 100644
index b31a3ddfb..000000000
--- a/dev-util/eresi/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
-<use>
-<flag name="server">Build eresi server capability</flag>
-</use>
-</pkgmetadata>