summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-05-23 10:39:19 -0400
committerAnthony G. Basile <blueness@gentoo.org>2011-05-23 10:39:19 -0400
commit3f96d48be6eaf5d19011431d362f5d1899add92a (patch)
tree0aaf28ab9be4b363ec5a68ba0f274d107b4c4784 /dev-util/eresi
parentsys-kernel/hardened-sources: moved to tree (diff)
downloadblueness-3f96d48be6eaf5d19011431d362f5d1899add92a.tar.gz
blueness-3f96d48be6eaf5d19011431d362f5d1899add92a.tar.bz2
blueness-3f96d48be6eaf5d19011431d362f5d1899add92a.zip
dev-util/eresi: moved from sunrise overlay for testing before being introduced to the tree
Diffstat (limited to 'dev-util/eresi')
-rw-r--r--dev-util/eresi/ChangeLog26
-rw-r--r--dev-util/eresi/Manifest7
-rw-r--r--dev-util/eresi/eresi-0.82_beta2.ebuild64
-rw-r--r--dev-util/eresi/files/.svn/entries130
-rw-r--r--dev-util/eresi/files/.svn/text-base/0.82_beta2-as-needed.patch.svn-base28
-rw-r--r--dev-util/eresi/files/.svn/text-base/0.82_beta2-drop-dprintf.patch.svn-base25
-rw-r--r--dev-util/eresi/files/.svn/text-base/0.82_beta2-parallel-make.patch.svn-base66
-rw-r--r--dev-util/eresi/files/0.82_beta2-as-needed.patch28
-rw-r--r--dev-util/eresi/files/0.82_beta2-drop-dprintf.patch25
-rw-r--r--dev-util/eresi/files/0.82_beta2-parallel-make.patch66
-rw-r--r--dev-util/eresi/metadata.xml17
11 files changed, 482 insertions, 0 deletions
diff --git a/dev-util/eresi/ChangeLog b/dev-util/eresi/ChangeLog
new file mode 100644
index 0000000..0b465da
--- /dev/null
+++ b/dev-util/eresi/ChangeLog
@@ -0,0 +1,26 @@
+# ChangeLog for dev-util/eresi
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 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
new file mode 100644
index 0000000..f0704a5
--- /dev/null
+++ b/dev-util/eresi/Manifest
@@ -0,0 +1,7 @@
+AUX 0.82_beta2-as-needed.patch 1508 RMD160 7f452532bd231fb6bd1a2aed574c50fd3969442c SHA1 053f33cc40e600185fd779e751f1f447359a9a3e SHA256 0c0fc1ba336d9d2bfd22d53a7856fe1ec79e94bb7f86785e4b8b8cca66bd665d
+AUX 0.82_beta2-drop-dprintf.patch 1113 RMD160 f4f42ef7559704dd82c2700d105bc675fc805d9e SHA1 a43671d5dd40df6997c70761775f58318362340f SHA256 2d1c9b56ac33217242c50000388114e178ea359a328e33f6557cbac4332b81ea
+AUX 0.82_beta2-parallel-make.patch 1970 RMD160 6b7bd0515188264a8ad8c799c6873d15b43f4332 SHA1 6e67edb49670c3c67e9df46abf5d89229ef41459 SHA256 564b6e46e10797b096d75f50691f9bf2244271fe04e4234a908dcd4f7dfade13
+DIST eresi-0.82_beta2.tar.bz2 1132566 RMD160 a52cb8ae6da30dc9f2dd024e064a8da3c3666d02 SHA1 41d28e4bfc486c8f48cf15fb57e4b3f35f21a3aa SHA256 93daa8e392d33897d2fe3a9b27b198671941a53803fdb9bc08dea8a3f9b13a44
+EBUILD eresi-0.82_beta2.ebuild 2149 RMD160 4f2ba002075a6df7dbdbf47817cf78359962f13b SHA1 63f07a5bd345072a315a600e99b3815631b83411 SHA256 d7395341346caa385b55a9d44d1cbe08f2a75060934bf15658693ba7171f1edb
+MISC ChangeLog 1030 RMD160 b788dfb906ad09d43dfbfadfee9661826dc4d50c SHA1 752dc9be9e2cb84bf9979b52180ce05124957f93 SHA256 ec49edae45b512557a24edd72f252db488fd74176d2a328681648ac83819c526
+MISC metadata.xml 570 RMD160 6312363ecd3a4bdac7184da62c67ec94fcb35413 SHA1 872d25ec6be82f2c9fb7230cde7bc8eb2ce3146f SHA256 dd3ca3559f7ae8d6cc251f91d934116e31e94fec715abbf98689a9cbe1da3d2b
diff --git a/dev-util/eresi/eresi-0.82_beta2.ebuild b/dev-util/eresi/eresi-0.82_beta2.ebuild
new file mode 100644
index 0000000..212f5d1
--- /dev/null
+++ b/dev-util/eresi/eresi-0.82_beta2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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"
+
+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_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/0.82_beta2-parallel-make.patch
+ epatch "${FILESDIR}"/0.82_beta2-drop-dprintf.patch
+ epatch "${FILESDIR}"/0.82_beta2-as-needed.patch
+ sed -i \
+ -e 's: -O2 : :g' \
+ -e "s: -g3 : ${CFLAGS} -D_GNU_SOURCE :" \
+ -e "/^LDFLAGS/s:=:=${LDFLAGS} :" \
+ $(find -name Makefile) || die
+}
+
+src_compile() {
+ # 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"
+ emake || die "make 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/.svn/entries b/dev-util/eresi/files/.svn/entries
new file mode 100644
index 0000000..4c5746e
--- /dev/null
+++ b/dev-util/eresi/files/.svn/entries
@@ -0,0 +1,130 @@
+10
+
+dir
+12077
+svn://overlays.gentoo.org/proj/sunrise/reviewed/dev-util/eresi/files
+svn://overlays.gentoo.org/proj/sunrise
+
+
+
+2010-07-06T23:04:34.054576Z
+10938
+chithead
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+12608f7e-a915-0410-b2f3-ce240db1b126
+
+0.82_beta2-as-needed.patch
+file
+
+
+
+
+2011-05-22T21:02:59.000000Z
+41ce8f8ed56a4bbad717c90480b191ae
+2010-07-06T23:04:34.054576Z
+10938
+chithead
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1508
+
+0.82_beta2-parallel-make.patch
+file
+
+
+
+
+2011-05-22T21:02:59.000000Z
+f3a46f7ff0d3b90df934359b65257b48
+2009-04-07T17:12:53.320963Z
+8211
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1970
+
+0.82_beta2-drop-dprintf.patch
+file
+
+
+
+
+2011-05-22T21:02:59.000000Z
+f5a3ccc0b46395f8b9b4ff69a651cf53
+2010-07-06T23:04:34.054576Z
+10938
+chithead
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1113
+
diff --git a/dev-util/eresi/files/.svn/text-base/0.82_beta2-as-needed.patch.svn-base b/dev-util/eresi/files/.svn/text-base/0.82_beta2-as-needed.patch.svn-base
new file mode 100644
index 0000000..978bf95
--- /dev/null
+++ b/dev-util/eresi/files/.svn/text-base/0.82_beta2-as-needed.patch.svn-base
@@ -0,0 +1,28 @@
+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/.svn/text-base/0.82_beta2-drop-dprintf.patch.svn-base b/dev-util/eresi/files/.svn/text-base/0.82_beta2-drop-dprintf.patch.svn-base
new file mode 100644
index 0000000..bde1a95
--- /dev/null
+++ b/dev-util/eresi/files/.svn/text-base/0.82_beta2-drop-dprintf.patch.svn-base
@@ -0,0 +1,25 @@
+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/.svn/text-base/0.82_beta2-parallel-make.patch.svn-base b/dev-util/eresi/files/.svn/text-base/0.82_beta2-parallel-make.patch.svn-base
new file mode 100644
index 0000000..c14d21a
--- /dev/null
+++ b/dev-util/eresi/files/.svn/text-base/0.82_beta2-parallel-make.patch.svn-base
@@ -0,0 +1,66 @@
+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-as-needed.patch b/dev-util/eresi/files/0.82_beta2-as-needed.patch
new file mode 100644
index 0000000..978bf95
--- /dev/null
+++ b/dev-util/eresi/files/0.82_beta2-as-needed.patch
@@ -0,0 +1,28 @@
+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-drop-dprintf.patch b/dev-util/eresi/files/0.82_beta2-drop-dprintf.patch
new file mode 100644
index 0000000..bde1a95
--- /dev/null
+++ b/dev-util/eresi/files/0.82_beta2-drop-dprintf.patch
@@ -0,0 +1,25 @@
+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-parallel-make.patch b/dev-util/eresi/files/0.82_beta2-parallel-make.patch
new file mode 100644
index 0000000..c14d21a
--- /dev/null
+++ b/dev-util/eresi/files/0.82_beta2-parallel-make.patch
@@ -0,0 +1,66 @@
+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/metadata.xml b/dev-util/eresi/metadata.xml
new file mode 100644
index 0000000..b41b23c
--- /dev/null
+++ b/dev-util/eresi/metadata.xml
@@ -0,0 +1,17 @@
+<?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>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <longdescription>
+ The ERESI Reverse Engineering Software Interface is a multi-architecture
+ binary analysis framework with a tailored domain specific language for
+ reverse engineering and program manipulation.
+ </longdescription>
+ <use>
+ <flag name="server">Build eresi server capability</flag>
+ </use>
+</pkgmetadata>