diff options
-rw-r--r-- | dev-util/elfsh/Manifest | 7 | ||||
-rw-r--r-- | dev-util/elfsh/elfsh-0.51_beta3.ebuild | 43 | ||||
-rw-r--r-- | dev-util/elfsh/elfsh-0.65_rc1.ebuild | 59 | ||||
-rw-r--r-- | dev-util/elfsh/files/0.51_beta3-gentoo.patch | 63 | ||||
-rw-r--r-- | dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch | 70 | ||||
-rw-r--r-- | dev-util/elfsh/metadata.xml | 10 | ||||
-rw-r--r-- | dev-util/eresi/ChangeLog | 39 | ||||
-rw-r--r-- | dev-util/eresi/Manifest | 10 | ||||
-rw-r--r-- | dev-util/eresi/eresi-0.82_beta2.ebuild | 72 | ||||
-rw-r--r-- | dev-util/eresi/files/0.82_beta2-as-needed.patch | 28 | ||||
-rw-r--r-- | dev-util/eresi/files/0.82_beta2-direct-ld.patch | 32 | ||||
-rw-r--r-- | dev-util/eresi/files/0.82_beta2-drop-dprintf.patch | 25 | ||||
-rw-r--r-- | dev-util/eresi/files/0.82_beta2-gentoo-autodetect.patch | 17 | ||||
-rw-r--r-- | dev-util/eresi/files/0.82_beta2-parallel-make.patch | 66 | ||||
-rw-r--r-- | dev-util/eresi/files/0.82_beta2-sed-in-Makefile.patch | 22 | ||||
-rw-r--r-- | dev-util/eresi/metadata.xml | 8 |
16 files changed, 0 insertions, 571 deletions
diff --git a/dev-util/elfsh/Manifest b/dev-util/elfsh/Manifest deleted file mode 100644 index a160b2e..0000000 --- a/dev-util/elfsh/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 0.51_beta3-gentoo.patch 2027 SHA256 7e2ca434936f97c2726ebf5c1bae92f67b4d0f4de7bbfba9719447eb566da32d SHA512 52e9f9b3d126fc7b0090588d2e9d5265e941ee23a9ba18b7ac20fb5bbb4621d64ebe71339278c0451ab4e2d0ab1c87ed71fc487880fa0f24844ed5a5942fa806 WHIRLPOOL 5957a690106ac0cedd3bbdf5780f83f15d6e72adf2d6b16f2d4004f40e9d7c18d3449faff2de973094b597a8d3ef2acce2243cfbaefcb3e272c248237f0677d4 -AUX elfsh-0.51_beta3-glibc210.patch 2426 SHA256 9b6cff64b5448268f761967217cde3fab051b1885c18240888b37a95966fa0d0 SHA512 b3062af7eea9229f1216479c6915057dae6eca72e4d460c7b3f0ba7026491d0c8abdd60a16e2ed363aa533ae1c06eeb0433c75466e8714194c48fd88d1f55c72 WHIRLPOOL a06c291923799baa39638fcb28daf60dcd6247df4b30a171126a035f43697e8e9a3c1635bf47215b6a2ea07780b9853663c6c3df6f5c5ed540daad98cbcc7fc1 -DIST elfsh-0.51b3-portable.tgz 136679 SHA256 ecffe100d0da12235cfe464726313491409739493030f3fbdb3a28696b23447f SHA512 3af4a7f031e830c24ecd05701c4ade052845cdd3808f6d5b60f19f8fff3ffa66f2edd1490fc62b9bbd8ac51d7c8aadb045fc2d369c885eb47a33210690f1c9df WHIRLPOOL 3d19b1bca64ebf98de3637978531bd1823c1f4b5fa9d2144873be9cf91c3c7771abb33b42107a156cfe7ca52ee0af33a5837581250ead29fa3a937883f946592 -DIST elfsh-0.65_rc1.zip 444993 SHA256 740e0bda6c368cbf7ceb6082e038d84c155220666c4edbb8dc8724b83d4feb93 SHA512 4268b29467cecfa661b4162214f1dc9dd9e465558aa62aa5ee412c6533a0405e3783c536d8e5bee420f87b636aafa4d1902d9f5b1b6fe0a3ad771894cd05ac76 WHIRLPOOL 89cef773854537865ef0f7a88dbcc44046ddfa8096c01a71f90719bdcc231d659b5d56767649c7d955e3e1d10dfe5673817d642b6ad8a2414b2295dfe3aedea4 -EBUILD elfsh-0.51_beta3.ebuild 1072 SHA256 0bd6b022c0239bb2bce3496136d3254935c92c44b26bec2c215703c9eca417cb SHA512 2631ff72218aa2a82e1230fd28f32645bf94ce19e2f2b21427de3af97385ea1fb9e000247a070b904f3cdfb3805c47e066746066be03a06e628df7c5421981e9 WHIRLPOOL 9e7a05bcff90d2737bf2bc1cab8d3ece08c4f41e56de42253400ba8d49afca7997fe632dc7cae3beac0f46b32c78c770690d7c75b113a4dc7d5e3fa6827926b2 -EBUILD elfsh-0.65_rc1.ebuild 1327 SHA256 d830cb56a4445761df2bd905b2f2b01c87d8b7f9422b1a830309c20af4a7aa35 SHA512 97055ca88ad9870ce17caa79ec01c579842bfff1d9a614e99f50afe4353fa94c20dc26fee943e8af8c54a5ae2163fff1e1cd5df364cbc2bf4f66c4740d89aa31 WHIRLPOOL 08318d73f3832ecb8f1b23db01089360852b49607938ed3530ff9b054851d508caa7ed3652d65990253924c5eddac127f789e4ac903bc0870324695eccc2b1dd -MISC metadata.xml 578 SHA256 852586b5dae5c1647fb4772dc6f1a8f29d6f6cf78e4ce15d43f3cbb4fdabda35 SHA512 824b118337396eb7041dad98e8e255b0559e02d022dc0e5b15c061373ad512cbb343d22608c70948e1bf86036d7c8caac9232b8c5cd510e6e2ae11c4ef4b8b12 WHIRLPOOL 92e17d208cdd2616ab4dd013db5e1e8d1d1fda2cb901167f001aff888d44a8be4e12a2566682c418b78c55d7982d164255e0c40a30b81b777007da33c45d82d2 diff --git a/dev-util/elfsh/elfsh-0.51_beta3.ebuild b/dev-util/elfsh/elfsh-0.51_beta3.ebuild deleted file mode 100644 index b7ebaac..0000000 --- a/dev-util/elfsh/elfsh-0.51_beta3.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils multilib toolchain-funcs - -MY_PV=${PV/_beta/b} -S=${WORKDIR}/${PN}-${MY_PV} -DESCRIPTION="scripting language to modify ELF binaries" -HOMEPAGE="http://www.eresi-project.org/" -SRC_URI="mirror://gentoo/elfsh-${MY_PV}-portable.tgz" -#http://elfsh.segfault.net/files/elfsh-${MY_PV}-portable.tgz - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND=">=dev-libs/expat-1.95" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PV}-gentoo.patch - epatch "${FILESDIR}"/${P}-glibc210.patch - sed -i \ - -e "s:-g3 -O2:${CFLAGS}:" \ - -e "s:\$(CC):& \$(CFLAGS) \$(ELDFLGS): "\ - `find -name Makefile` \ - || die - sed -i -e "s:LIBPATH = \$(PREFIX)/lib:LIBPATH = \$(PREFIX)/$(get_libdir):" Makefile - -} - -src_compile() { - # emacs does not have to be a requirement. - emake CC=$(tc-getCC) ETAGS=echo ELDFLGS="${LDFLAGS}" || die "emake failed" -} - -src_install() { - make install DESTDIR="${D}" || die "einstall failed" -} diff --git a/dev-util/elfsh/elfsh-0.65_rc1.ebuild b/dev-util/elfsh/elfsh-0.65_rc1.ebuild deleted file mode 100644 index 4b481d8..0000000 --- a/dev-util/elfsh/elfsh-0.65_rc1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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/files/0.51_beta3-gentoo.patch b/dev-util/elfsh/files/0.51_beta3-gentoo.patch deleted file mode 100644 index 26c4f7b..0000000 --- a/dev-util/elfsh/files/0.51_beta3-gentoo.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff -ur elfsh-0.51b3.orig/Makefile elfsh-0.51b3/Makefile ---- elfsh-0.51b3.orig/Makefile 2004-09-20 22:20:22.152723392 -0400 -+++ elfsh-0.51b3/Makefile 2004-09-20 22:21:37.270303784 -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/ -+BINPATH = $(PREFIX)/bin -+LIBPATH = $(PREFIX)/lib -+INCPATH = $(PREFIX)/include -+MODPATH = $(LIBPATH)/elfsh - - all : - @echo 'Builting libelfsh...' -@@ -32,14 +34,15 @@ - #$(MAKE) -s tags - - install : mod_install -+ @mkdir -p $(BINPATH) $(LIBPATH) $(INCPATH) - @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 - @echo 'ELFsh and Libelfsh installed successfully .' - - mod_install: -- @mkdir $(MODPATH) 2>/dev/null || true -+ @mkdir -p $(MODPATH) - @cp modules/*.so $(MODPATH) - @chmod -R 755 $(MODPATH) - -diff -ur elfsh-0.51b3.orig/vm/Makefile elfsh-0.51b3/vm/Makefile ---- elfsh-0.51b3.orig/vm/Makefile 2004-09-20 22:20:22.117728712 -0400 -+++ elfsh-0.51b3/vm/Makefile 2004-09-20 22:22:17.807141248 -0400 -@@ -13,6 +13,7 @@ - #DLOPT_linux-gnu = -ldl - #DLOPT_solaris = -ldl - #EXTRAOPT = -lefence -+EXTRAOPT = -ldl - - # Uncomment that to use libasm - #ASMOPT = -DUSE_LIBASM -diff -ur elfsh-0.51b3.orig/vm/include/elfsh.h elfsh-0.51b3/vm/include/elfsh.h ---- elfsh-0.51b3.orig/vm/include/elfsh.h 2004-09-20 22:20:22.116728864 -0400 -+++ elfsh-0.51b3/vm/include/elfsh.h 2004-09-20 22:20:22.358692080 -0400 -@@ -94,7 +94,7 @@ - #define ELFSH_SHELL "/bin/bash" - #define ELFSH_INIT "elfsh_init" - #define ELFSH_FINI "elfsh_fini" --#define ELFSH_MODPATH "/usr/share/elfsh/" -+#define ELFSH_MODPATH "/usr/lib/elfsh/" - - /* For elfsh/elfsh/disasm.c:display_object() */ - #define ELFSH_HEXA_VIEW 0 diff --git a/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch b/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch deleted file mode 100644 index 2e83c93..0000000 --- a/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff -NrU5 elfsh-0.51b3.original/modules/modgraph.c elfsh-0.51b3/modules/modgraph.c ---- elfsh-0.51b3.original/modules/modgraph.c 2009-07-22 23:17:51.000000000 -0600 -+++ elfsh-0.51b3/modules/modgraph.c 2009-07-22 23:33:28.000000000 -0600 -@@ -181,11 +181,11 @@ - } - } - else - { - name = elfsh_reverse_metasym(world.current, blk->vaddr, &off); -- dprintf(fd, "%s_%08x", name, off); -+ d_printf(fd, "%s_%08x", name, off); - - } - free(buffer); - world.state.vm_quiet = vm_quiet; - } -diff -NrU5 elfsh-0.51b3.original/vm/disasm.c elfsh-0.51b3/vm/disasm.c ---- elfsh-0.51b3.original/vm/disasm.c 2009-07-22 23:17:51.000000000 -0600 -+++ elfsh-0.51b3/vm/disasm.c 2009-07-22 23:33:53.000000000 -0600 -@@ -80,30 +80,30 @@ - - /* Are we in quiet mode ? */ - if (world.state.vm_quiet) - { - snprintf(buf, sizeof(buf), " %08X %s + %u", vaddr + index, name, nindex); -- dprintf(fd, "%-40s %-30s ", buf, s); -+ d_printf(fd, "%-40s %-30s ", buf, s); - } - else - { - snprintf(buf, sizeof(buf), " %08X [foff: %u] %s + %u", - vaddr + index, foffset + index, name, nindex); -- dprintf(fd, "%-60s %-50s ", buf, s); -+ d_printf(fd, "%-60s %-50s ", buf, s); - } - - /* Print bytes in hexa for this instruction */ - ret = asm_instr_len(&ptr); - if (!ret) - ret++; - - if (!world.state.vm_quiet) - for (idx_bytes = 0; idx_bytes < ret; idx_bytes++) -- dprintf(fd, "%c%c ", -+ d_printf(fd, "%c%c ", - base[(buff[index + idx_bytes] >> 4) & 0x0F], - base[buff[index + idx_bytes] & 0x0F]); -- dprintf(fd, "\n"); -+ d_printf(fd, "\n"); - return (ret); - } - #endif /* USE_LIBASM */ - - -diff -NrU5 elfsh-0.51b3.original/vm/include/elfsh.h elfsh-0.51b3/vm/include/elfsh.h ---- elfsh-0.51b3.original/vm/include/elfsh.h 2009-07-22 23:17:51.000000000 -0600 -+++ elfsh-0.51b3/vm/include/elfsh.h 2009-07-22 23:22:30.000000000 -0600 -@@ -469,11 +469,11 @@ - int vm_getsort(u_int index, u_int argc, char **argv); - int vm_getdisasm(u_int index, u_int argc, char **argv); - int vm_gethexa(u_int index, u_int argc, char **argv); - int vm_getvarparams(u_int index, u_int argc, char **argv); - --int dprintf(int fd, char *format, ...); -+int d_printf(int fd, char *format, ...); - - /* Libasm resolve handler */ - void do_resolve(void *data, u_int vaddr, char *, u_int); - u_int display_instr(int, u_int, u_int, u_int, u_int, - char *, u_int, char *); diff --git a/dev-util/elfsh/metadata.xml b/dev-util/elfsh/metadata.xml deleted file mode 100644 index d48e561..0000000 --- a/dev-util/elfsh/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<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> diff --git a/dev-util/eresi/ChangeLog b/dev-util/eresi/ChangeLog deleted file mode 100644 index 337cda5..0000000 --- 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 bf37441..0000000 --- a/dev-util/eresi/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -AUX 0.82_beta2-as-needed.patch 1508 SHA256 0c0fc1ba336d9d2bfd22d53a7856fe1ec79e94bb7f86785e4b8b8cca66bd665d SHA512 f1fa0468a25f70297e6c6fe087fcbd14394c826e211bf66cd5c2b190031087ebb073a0b40e6a99558a3a807107a7faa90248d47b1777ef03a1a14d4a81119d9e WHIRLPOOL e13e4991b13fc640a990dc956c844ef36ea942b60e81d31377de0e892a3b3183a7de326feaa5ec77c4389f2fbde3ea4d0390bd421f58026836808580cc64ce11 -AUX 0.82_beta2-direct-ld.patch 1158 SHA256 5d749601907ed594418688bd42ab40e21cb8f841b61e26c84dc2d58377c92df8 SHA512 5ef0f56dd74c0e4da6834f8b5e71c2a4dff9add002f9e92201fda2f89c48930f83919b97046ec0bfe1b4f20cbd2aec06363770e6a56e97e93758f177b1153b87 WHIRLPOOL b544602fb926c95834ec225dd6e3359ca9708a1a51cd918dc8f6bc33b2682392a387cdb63dbd9bfebaeefabb5daf3b6acc09a331effa94a5bd08de124f5f0f6b -AUX 0.82_beta2-drop-dprintf.patch 1113 SHA256 2d1c9b56ac33217242c50000388114e178ea359a328e33f6557cbac4332b81ea SHA512 462177cd175c9eaaa2fd4593dd506dcbe77eac881d4514f4986693da55b565926e2410797fcd4f8807bb316ebb533bc72e8dbdca2d14dad04dc7f4e9e24ebd95 WHIRLPOOL 5828d527afb49946b2a458d3e2f8332403def1fa6a3480948021bfb1d7c0abad56631d23319ac51353dcf7d5514ce12c4a61743c0196cd5570c62ea326735ece -AUX 0.82_beta2-gentoo-autodetect.patch 465 SHA256 0cc9f3e71db33ff8aa7b35a806059cc894cc3914fe68fef3ccdf59676f8180c1 SHA512 71ec88295f05d29b751b43624849621d919754ee6474fbc1ad735af03a83cd5c34e66421e585ec31739437ba65e96bf15371a97cdda27be33cd63d1e7c2733cf WHIRLPOOL 6a3f97d6a86cc35ec7014bcfb35615a342d0ee96bae2f183952884f8f8b58f44c19f94ab7f671e82b8c4ee5d2067bf7fe30db53200fb81b3f57bf4bcc53e0104 -AUX 0.82_beta2-parallel-make.patch 1970 SHA256 564b6e46e10797b096d75f50691f9bf2244271fe04e4234a908dcd4f7dfade13 SHA512 c8c5dad5bd6f960793aa7e9b7f87a420a133e2d7782ea7ad77a835b536375fcd9e611dcc1c0fe761be78a73ffe2425487cfed70d69a17967be70d6fd2d618d18 WHIRLPOOL c657c0b7eb80e0b94135dda8c1d57012ed1f5c7c737726c4fd1fccad2d2be678c31840c3119897047c504cf76e1bc3da2743491a89d6d940d8133f575ddd46f4 -AUX 0.82_beta2-sed-in-Makefile.patch 653 SHA256 5b6e9b72a887afaf213b5dcf8984a3355f95eb974457f6305bc2ba0b42a5ce16 SHA512 3c344e19a7c549bdf9b6bcc7bdfe91cab14058af908cc75a63676f47c48a35a7c8abaf7aa5b1e9a59ad59fd0ab30ee8b51c9b184ca2283dbf611fb31c0aff5c7 WHIRLPOOL cc0ec29e19dad681d836f897c4337b4512d76569e2791486ca69963809ed7afc02aa476c3a906ac40ed858c8d56d4229c6b96e7e614fd0bed22b42756ec870b9 -DIST eresi-0.82_beta2.tar.bz2 1132566 SHA256 93daa8e392d33897d2fe3a9b27b198671941a53803fdb9bc08dea8a3f9b13a44 -EBUILD eresi-0.82_beta2.ebuild 2414 SHA256 1bd90e0d15af506dc5bf7e6769c0cd9abc1b1ffdb1ca895aeda437a2a2c03488 SHA512 8adaf191fdc37aaea9a8d717367888673cac3ad8a64d540309f5de622c553ede386a9ae48c3dec530fabb1fd5990e3727c9884f97b8b836cdd1385703d550056 WHIRLPOOL eaf5c3577b250d58984eb25d5ccf9b1226f916166458b06e49f74692d70afe7a429391ca5e17e2908900ce21f60d7b21d66f0646ea55a490f67e29e741bcd2b5 -MISC ChangeLog 1619 SHA256 a0cd38a87685be9425bbe08721335c4c30ed132386746e49a33cbf0223d6cc48 SHA512 ef3bd6b2aa1196343ac55dcbb6adf0ee23fee92fbfd66d48cc9c8ec22a66f5a02a981d358773e1dd901e1e1f30641a4cb8de9e43c8bb7227b15ff8ff3288b1fb WHIRLPOOL 81d5225199a58cf3ea8087a8dcecae4c977df54d6bcf195c35462f6c040746c8116ca25a80da9e2c0eb80ea175749e333258a57b86a2249481b770132f927558 -MISC metadata.xml 278 SHA256 bb29e498c85880b80a7ebb4dfb398bf2f796ddbd4749f9a2ebf206b397adda15 SHA512 1be178d279673c856eb027b5d4a179d1ec584d15f31cfc8376426e56216808e5bd0d057f7b4d7d2c5fe5d5504abb78ea1fcab64a852b8933d89e24b7208da4bb WHIRLPOOL c1310a34aa0b97422cdfafff9d6eea751f56fe43092ba0ae489effbd947b67d3543a1444709af179f99436a1e955d4a05b24cbe45fe3ce42df4f588df709268d 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 516e721..0000000 --- a/dev-util/eresi/eresi-0.82_beta2.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -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 978bf95..0000000 --- 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 f3bb19c..0000000 --- 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 bde1a95..0000000 --- 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 d90fccd..0000000 --- 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 c14d21a..0000000 --- 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 321e710..0000000 --- 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 b31a3dd..0000000 --- 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> |