summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/strace')
-rw-r--r--dev-util/strace/Manifest11
-rw-r--r--dev-util/strace/files/digest-strace-4.41
-rw-r--r--dev-util/strace/files/digest-strace-4.4-r12
-rw-r--r--dev-util/strace/files/digest-strace-4.4.935
-rw-r--r--dev-util/strace/files/strace-4.4-arm-configure.patch11
-rw-r--r--dev-util/strace/files/strace-4.4-arm.patch297
-rw-r--r--dev-util/strace/files/strace-4.4.93-configure.ac.patch9
-rw-r--r--dev-util/strace/strace-4.4-r1.ebuild69
-rw-r--r--dev-util/strace/strace-4.4.93.ebuild50
-rw-r--r--dev-util/strace/strace-4.4.94.ebuild4
-rw-r--r--dev-util/strace/strace-4.4.ebuild51
11 files changed, 3 insertions, 507 deletions
diff --git a/dev-util/strace/Manifest b/dev-util/strace/Manifest
index 8640b5985233..c80770e0207d 100644
--- a/dev-util/strace/Manifest
+++ b/dev-util/strace/Manifest
@@ -1,16 +1,7 @@
MD5 3963ce51c1f4bb3e4ec3509b58efc106 ChangeLog 2974
-MD5 ea6f9317cffd95ca62daa94c487e32e4 strace-4.4-r1.ebuild 1985
-MD5 7cf6adff54fbc24b2049f9c75ec63442 strace-4.4.93.ebuild 1419
-MD5 9e6c6ca215a78f46eb75c8b6a555e2ff strace-4.4.94.ebuild 1220
+MD5 bd208b817319d41c096653079bfaa66c strace-4.4.94.ebuild 1222
MD5 f1e34dae30655c6f364be8a7008e9dc3 strace-4.4.98.ebuild 1212
-MD5 4a758da43eddf21f504b6eb6a9e9267b strace-4.4.ebuild 1698
MD5 b0159189f01975ab01b9101117f95736 strace-4.5.ebuild 1247
-MD5 e197b6ae90aa7f214703b32c50ebd501 files/digest-strace-4.4 64
-MD5 9f614b2c979312e7513f9139c972cf40 files/digest-strace-4.4-r1 135
-MD5 28697c3678cfa43ed4fe0e5f02e45623 files/digest-strace-4.4.93 360
MD5 1c269bae9f741bbe53fe641a0da876bc files/digest-strace-4.4.94 360
MD5 45f2fb0d3dc9d9f796448a40d38edc0b files/digest-strace-4.4.98 66
-MD5 8b3c145c5cbe648c4eceeaedd4ec9d05 files/strace-4.4-arm-configure.patch 224
-MD5 ae0107bf0d9c841b0f0929a88f47844a files/strace-4.4-arm.patch 7667
-MD5 db010dd4d78a0a198a7436df23c654e4 files/strace-4.4.93-configure.ac.patch 337
MD5 5c3b3bb609d3956a94ec20b4a39da546 files/digest-strace-4.5 63
diff --git a/dev-util/strace/files/digest-strace-4.4 b/dev-util/strace/files/digest-strace-4.4
deleted file mode 100644
index 7d07987d9a58..000000000000
--- a/dev-util/strace/files/digest-strace-4.4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7246ce73640760fa7e8357fd9ecf7af3 strace_4.4-1.tar.gz 398273
diff --git a/dev-util/strace/files/digest-strace-4.4-r1 b/dev-util/strace/files/digest-strace-4.4-r1
deleted file mode 100644
index c3c7a5db82eb..000000000000
--- a/dev-util/strace/files/digest-strace-4.4-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 7246ce73640760fa7e8357fd9ecf7af3 strace_4.4-1.tar.gz 398273
-MD5 7b99ffc22a7604140f1ff37ee435cc3e strace-4.4-selinux.patch.bz2 4137
diff --git a/dev-util/strace/files/digest-strace-4.4.93 b/dev-util/strace/files/digest-strace-4.4.93
deleted file mode 100644
index 74aca2fb2b53..000000000000
--- a/dev-util/strace/files/digest-strace-4.4.93
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 db010dd4d78a0a198a7436df23c654e4 /files/strace-4.4.93-configure.ac.patch 337
-MD5 8b3c145c5cbe648c4eceeaedd4ec9d05 /files/strace-4.4-arm-configure.patch 224
-MD5 ae0107bf0d9c841b0f0929a88f47844a /files/strace-4.4-arm.patch 7667
-MD5 dd4fc4f8778b7b6576497bbc45079f7d /strace-4.4.93.ebuild 1425
-MD5 7d2df2a1522533cd51feb52eb1de4b76 strace-4.4.93.tar.bz2 361355
diff --git a/dev-util/strace/files/strace-4.4-arm-configure.patch b/dev-util/strace/files/strace-4.4-arm-configure.patch
deleted file mode 100644
index 2a1c707266e0..000000000000
--- a/dev-util/strace/files/strace-4.4-arm-configure.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- strace-4.4.orig/configure.in 2003-03-12 14:47:10.000000000 -0800
-+++ strace-4.4/configure.in 2003-03-22 13:07:58.000000000 -0800
-@@ -689,7 +689,7 @@
- ppc|powerpc)
- arch=powerpc
- ;;
--arm)
-+arm*)
- arch=arm
- ;;
- s390)
diff --git a/dev-util/strace/files/strace-4.4-arm.patch b/dev-util/strace/files/strace-4.4-arm.patch
deleted file mode 100644
index 11169a0a8aa5..000000000000
--- a/dev-util/strace/files/strace-4.4-arm.patch
+++ /dev/null
@@ -1,297 +0,0 @@
-List-Archive: <http://lists.arm.linux.org.uk/pipermail/linux-arm/>
-
-Date: Sat, 15 Jun 2002 19:40:57 +0100
-From: Russell King - ARM Linux <linux@arm.linux.org.uk>
-To: linux-arm@lists.arm.linux.org.uk, Wichert Akkerman <wichert@wiggy.net>
-Subject: strace 4.4 ARM patches
-
-The following patch correctly implements strace support for ARM. After
-trying to get several people to look at my old strace 3.0 patch over the
-years, I've finally updated the patch and fixed the "mess" which is
-current ARM support.
-
-This patch is against strace 4.4.
-
-Features:
-
-- follow fork()s on ARM reliably.
-- knows the ARM registers for PTRACE_PEEKUSR/POKEUSR
-- knows precisely when we're entering or exiting a syscall on ARM
-- reads all CPU registers using PTRACE_GETREGS for efficiency
-- tracing Thumb-mode syscalls.
-
-Things that we don't do:
-
-- follow vforks
-- follow fork()s on Thumb
-- support 26-bit ARM CPUs
-
-diff -ur strace-4.4-orig/process.c strace-4.4/process.c
---- strace-4.4-orig/process.c Fri Aug 3 12:51:28 2001
-+++ strace-4.4/process.c Sat Jun 15 17:46:17 2002
-@@ -1732,6 +1732,12 @@
- { PTRACE_SINGLESTEP, "PTRACE_SINGLESTEP" },
- { PTRACE_ATTACH, "PTRACE_ATTACH" },
- { PTRACE_DETACH, "PTRACE_DETACH" },
-+#ifdef ARM
-+ { PTRACE_GETREGS, "PTRACE_GETREGS" },
-+ { PTRACE_SETREGS, "PTRACE_SETREGS" },
-+ { PTRACE_GETFPREGS, "PTRACE_GETFPREGS", },
-+ { PTRACE_SETFPREGS, "PTRACE_SETFPREGS", },
-+#endif
- #ifdef SUNOS4
- { PTRACE_GETREGS, "PTRACE_GETREGS" },
- { PTRACE_SETREGS, "PTRACE_SETREGS" },
-@@ -2067,6 +2073,24 @@
- { 4*EFL, "4*EFL" },
- { 4*UESP, "4*UESP" },
- { 4*SS, "4*SS" },
-+#elif defined(ARM)
-+ { uoff(regs.ARM_r0), "r0" },
-+ { uoff(regs.ARM_r1), "r1" },
-+ { uoff(regs.ARM_r2), "r2" },
-+ { uoff(regs.ARM_r3), "r3" },
-+ { uoff(regs.ARM_r4), "r4" },
-+ { uoff(regs.ARM_r5), "r5" },
-+ { uoff(regs.ARM_r6), "r6" },
-+ { uoff(regs.ARM_r7), "r7" },
-+ { uoff(regs.ARM_r8), "r8" },
-+ { uoff(regs.ARM_r9), "r9" },
-+ { uoff(regs.ARM_r10), "r10" },
-+ { uoff(regs.ARM_fp), "fp" },
-+ { uoff(regs.ARM_ip), "ip" },
-+ { uoff(regs.ARM_sp), "sp" },
-+ { uoff(regs.ARM_lr), "lr" },
-+ { uoff(regs.ARM_pc), "pc" },
-+ { uoff(regs.ARM_cpsr), "cpsr" },
- #else /* !I386 */
- #ifdef M68K
- { 4*PT_D1, "4*PT_D1" },
-diff -ur strace-4.4-orig/syscall.c strace-4.4/syscall.c
---- strace-4.4-orig/syscall.c Fri Jul 13 23:07:45 2001
-+++ strace-4.4/syscall.c Sat Jun 15 18:11:45 2002
-@@ -658,7 +658,7 @@
- #elif defined (M68K)
- static int d0;
- #elif defined (ARM)
-- static int r0;
-+ static struct pt_regs regs; /* should be in tcb */
- #elif defined (ALPHA)
- static long r0;
- static long a3;
-@@ -729,11 +729,54 @@
- return -1;
- }
- #elif defined (ARM)
-- {
-- long pc;
-- upeek(pid, 4*15, &pc);
-- umoven(tcp, pc-4, 4, (char *)&scno);
-- scno &= 0x000fffff;
-+ /*
-+ * Read complete register set in one go.
-+ */
-+ if (ptrace(PTRACE_GETREGS, pid, 0, (void *)&regs) < 0)
-+ return -1;
-+
-+ /*
-+ * We only need to grab the syscall number on syscall entry.
-+ */
-+ if (regs.ARM_ip == 0) {
-+ /*
-+ * Note: we only deal with only 32-bit CPUs here.
-+ */
-+ if (regs.ARM_cpsr & 0x20) {
-+ /*
-+ * Get the Thumb-mode system call number
-+ */
-+ scno = regs.ARM_r7;
-+ } else {
-+ /*
-+ * Get the ARM-mode system call number
-+ */
-+ errno = 0;
-+ scno = ptrace(PTRACE_PEEKTEXT, pid, regs.ARM_pc - 4, 0);
-+ if (errno)
-+ return -1;
-+
-+ if ((scno & 0x0ff00000) != 0x0f900000) {
-+ fprintf(stderr, "syscall: unknown syscall trap 0x%08lx\n",
-+ scno);
-+ return -1;
-+ }
-+
-+ /*
-+ * Fixup the syscall number
-+ */
-+ scno &= 0x000fffff;
-+ }
-+
-+ if (tcp->flags & TCB_INSYSCALL) {
-+ fprintf(stderr, "pid %d stray syscall entry\n", tcp->pid);
-+ tcp->flags &= ~TCB_INSYSCALL;
-+ }
-+ } else {
-+ if (!(tcp->flags & TCB_INSYSCALL)) {
-+ fprintf(stderr, "pid %d stray syscall exit\n", tcp->pid);
-+ tcp->flags |= TCB_INSYSCALL;
-+ }
- }
- #elif defined (M68K)
- if (upeek(pid, 4*PT_ORIG_D0, &scno) < 0)
-@@ -993,13 +1036,9 @@
- return 0;
- }
- #elif defined (ARM)
-- if (upeek(pid, 4*0, (long *)&r0) < 0)
-- return -1;
-- if ( 0 && r0 != -ENOSYS && !(tcp->flags & TCB_INSYSCALL)) {
-- if (debug)
-- fprintf(stderr, "stray syscall exit: d0 = %ld\n", r0);
-- return 0;
-- }
-+ /*
-+ * Nothing required
-+ */
- #elif defined (HPPA)
- if (upeek(pid, PT_GR28, &r28) < 0)
- return -1;
-@@ -1087,12 +1126,12 @@
- }
- #else /* !M68K */
- #ifdef ARM
-- if (r0 && (unsigned) -r0 < nerrnos) {
-+ if (regs.ARM_r0 && (unsigned) -regs.ARM_r0 < nerrnos) {
- tcp->u_rval = -1;
-- u_error = -r0;
-+ u_error = -regs.ARM_r0;
- }
- else {
-- tcp->u_rval = r0;
-+ tcp->u_rval = regs.ARM_r0;
- u_error = 0;
- }
- #else /* !ARM */
-@@ -1316,6 +1355,17 @@
- if (upeek(pid, PT_GR26-4*i, &tcp->u_arg[i]) < 0)
- return -1;
- }
-+ }
-+#elif defined(ARM)
-+ {
-+ int i;
-+
-+ if (tcp->scno >= 0 && tcp->scno < nsyscalls && sysent[tcp->scno].nargs != -1)
-+ tcp->u_nargs = sysent[tcp->scno].nargs;
-+ else
-+ tcp->u_nargs = MAX_ARGS;
-+ for (i = 0; i < tcp->u_nargs; i++)
-+ tcp->u_arg[i] = regs.uregs[i];
- }
- #else /* Other architecture (like i386) (32bits specific) */
- {
-diff -ur strace-4.4-orig/util.c strace-4.4/util.c
---- strace-4.4-orig/util.c Fri Jul 13 23:07:45 2001
-+++ strace-4.4/util.c Sat Jun 15 17:40:26 2002
-@@ -1169,6 +1169,47 @@
- }
- tcp->flags |= TCB_BPTSET;
- }
-+#elif defined(ARM)
-+ struct pt_regs regs;
-+
-+#define ARM_LOOP 0xeafffffe
-+
-+ if (tcp->flags & TCB_BPTSET) {
-+ fprintf(stderr, "PANIC: TCB already set in pid %u\n", tcp->pid);
-+ return -1;
-+ }
-+
-+ if (ptrace(PTRACE_GETREGS, tcp->pid, 0, &regs) < 0) {
-+ perror("setbpt: ptrace(PTRACE_GETREGS, ...)");
-+ return -1;
-+ }
-+
-+ /*
-+ * Again, we only support 32-bit CPUs
-+ */
-+ tcp->baddr = regs.ARM_pc;
-+
-+ if (debug)
-+ fprintf(stderr, "[%d] setting bpt at %lx\n", tcp->pid, tcp->baddr);
-+
-+ if (regs.ARM_cpsr & 0x20) {
-+ fprintf(stderr, "PANIC: can't handle thumb mode\n");
-+ return -1;
-+ } else {
-+ errno = 0;
-+ tcp->inst[0] = ptrace(PTRACE_PEEKTEXT, tcp->pid, (char *)tcp->baddr, 0);
-+ if (errno) {
-+ perror("setbpt: ptrace(PTRACE_PEEKTEXT, ...)");
-+ return -1;
-+ }
-+
-+ ptrace(PTRACE_POKETEXT, tcp->pid, (char *)tcp->baddr, ARM_LOOP);
-+ if (errno) {
-+ perror("setbpt: ptrace(PTRACE_POKETEXT, ...)");
-+ return -1;
-+ }
-+ tcp->flags |= TCB_BPTSET;
-+ }
- #else /* !IA64 */
-
- #if defined (I386)
-@@ -1179,8 +1220,6 @@
- #define LOOP 0xc3ffffff
- #elif defined (POWERPC)
- #define LOOP 0x0000feeb
--#elif defined(ARM)
--#define LOOP 0xEAFFFFFE
- #elif defined(MIPS)
- #define LOOP 0x1000ffff
- #elif defined(S390)
-@@ -1203,8 +1242,6 @@
- return -1;
- #elif defined (ALPHA)
- return -1;
--#elif defined (ARM)
-- return -1;
- #elif defined (MIPS)
- return -1; /* FIXME: I do not know what i do - Flo */
- #elif defined (POWERPC)
-@@ -1310,6 +1347,22 @@
-
- #ifdef SPARC
- /* Again, we borrow the SunOS breakpoint code. */
-+ if (!(tcp->flags & TCB_BPTSET)) {
-+ fprintf(stderr, "PANIC: TCB not set in pid %u\n", tcp->pid);
-+ return -1;
-+ }
-+ errno = 0;
-+ ptrace(PTRACE_POKETEXT, tcp->pid, (char *) tcp->baddr, tcp->inst[0]);
-+ if(errno) {
-+ perror("clearbtp: ptrace(PTRACE_POKETEXT, ...)");
-+ return -1;
-+ }
-+ tcp->flags &= ~TCB_BPTSET;
-+#elif defined(ARM)
-+ /*
-+ * Gratuitously copied from SPARC. Replace the breakpoint
-+ * instruction with the original instruction we saved earlier.
-+ */
- if (!(tcp->flags & TCB_BPTSET)) {
- fprintf(stderr, "PANIC: TCB not set in pid %u\n", tcp->pid);
- return -1;
-
-
-
-
---__--__--
-
-_______________________________________________
-Linux-arm mailing list
-Linux-arm@lists.arm.linux.org.uk
-http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
-
-
-End of Linux-arm Digest
diff --git a/dev-util/strace/files/strace-4.4.93-configure.ac.patch b/dev-util/strace/files/strace-4.4.93-configure.ac.patch
deleted file mode 100644
index e92c52b53a7d..000000000000
--- a/dev-util/strace/files/strace-4.4.93-configure.ac.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- strace/configure.ac.old 2003-01-21 21:29:56.000000000 +0100
-+++ strace/configure.ac 2003-04-13 21:45:02.000000000 +0200
-@@ -1,5 +1,5 @@
- dnl Process this file with autoconf to create configure. Use autoreconf.
--AC_PREREQ(2.57)
-+AC_PREREQ(2.54)
- AC_INIT([strace],[4.4.93])
- AC_CONFIG_SRCDIR([strace.c])
- AM_CONFIG_HEADER([config.h])
diff --git a/dev-util/strace/strace-4.4-r1.ebuild b/dev-util/strace/strace-4.4-r1.ebuild
deleted file mode 100644
index dd14f7ca9ff0..000000000000
--- a/dev-util/strace/strace-4.4-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.4-r1.ebuild,v 1.10 2003/09/06 20:28:41 msterret Exp $
-
-# NOTE: For some reason, upstream has changed the naming scheme
-# for the tarballs to something quite lame:
-# strace_version-revision.tar.gz
-# This makes it difficult for us to deal with, because portage
-# is supposed to glean the package version information from the
-# filename of the ebuild. Grr
-# Thus, *MAINTAINER*: change the *revision* in the SRC_URI below
-# by hand. Sorry, couldn't think of a better way.
-# - Jon Nelson, 27 Apr 2002
-
-DESCRIPTION="A usefull diagnostic, instructional, and debugging tool"
-SRC_URI="mirror://sourceforge/strace/strace_4.4-1.tar.gz
- selinux? mirror://gentoo/${P}-selinux.patch.bz2"
-HOMEPAGE="http://www.wi.leidenuniv.nl/~wichert/strace/"
-
-SLOT="0"
-LICENSE="as-is"
-KEYWORDS="x86 ~ppc sparc alpha hppa arm"
-IUSE="static selinux"
-inherit eutils
-
-DEPEND="virtual/glibc
- sys-devel/autoconf
- selinux? ( sys-apps/selinux-small )"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- use selinux && epatch ${DISTDIR}/${P}-selinux.patch.bz2
-
- if [ "${ARCH}" = "arm" ]; then
- epatch ${FILESDIR}/${P}-arm.patch
- epatch ${FILESDIR}/${P}-arm-configure.patch
- fi
-}
-
-src_compile() {
- # Compile fails with -O3 on but works on x86, sparc untested
- if [ "${ARCH}" == "sparc" -o "${ARCH}" == "" ]; then
- if [ -n "${CFLAGS}" ]; then
- CFLAGS=`echo ${CFLAGS} | sed -e 's:-O3:-O2:'`
- fi
- fi
-
- # -DHPPA need to be provided to gcc for compiling on hppa
- if [ "${ARCH}" = "hppa" ]
- then
- CFLAGS="${CFLAGS} -DHPPA"
- fi
-
-
- # configure is broken by default for sparc and possibly others, regen
- # from configure.in
- use static && export LDFLAGS="${LDFLAGS} -static"
- autoconf
- ./configure --prefix=/usr || die
- emake || die
-}
-
-src_install() {
- doman strace.1
- dobin strace strace-graph
- dodoc ChangeLog COPYRIGHT CREDITS NEWS PORTING README* TODO
-}
diff --git a/dev-util/strace/strace-4.4.93.ebuild b/dev-util/strace/strace-4.4.93.ebuild
deleted file mode 100644
index 21bb6ed0c1b2..000000000000
--- a/dev-util/strace/strace-4.4.93.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.4.93.ebuild,v 1.6 2003/09/06 20:28:41 msterret Exp $
-
-inherit eutils
-
-S=${WORKDIR}/${P}
-DESCRIPTION="A usefull diagnostic, instructional, and debugging tool"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-HOMEPAGE="http://www.wi.leidenuniv.nl/~wichert/strace/"
-
-IUSE=""
-SLOT="0"
-LICENSE="as-is"
-KEYWORDS="x86 ~ppc ~sparc alpha ~hppa mips"
-
-DEPEND="virtual/glibc >=sys-devel/autoconf-2.54"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- # the patch change the autoconf dep to 2.54
- epatch ${FILESDIR}/${P}-configure.ac.patch
-}
-
-src_compile() {
- # Compile fails with -O3 on but works on x86, sparc untested
-# if [ "${ARCH}" == "sparc" -o "${ARCH}" == "" ]; then
-# if [ -n "${CFLAGS}" ]; then
-# CFLAGS=`echo ${CFLAGS} | sed -e 's:-O3:-O2:'`
-# fi
-# fi
- # configure is broken by default for sparc and possibly others, regen
- # from configure.in
- autoconf
- ./configure --prefix=/usr || die
- emake || die
-}
-
-src_install () {
- # Can't use make install because it is stupid and
- # doesn't make leading directories before trying to
- # install. Thus, one would have to make /usr/bin
- # and /usr/man/man1 (at least).
- # So, we do it by hand.
- doman strace.1
- dobin strace
- dobin strace-graph
- dodoc ChangeLog COPYRIGHT CREDITS NEWS PORTING README* TODO
-}
diff --git a/dev-util/strace/strace-4.4.94.ebuild b/dev-util/strace/strace-4.4.94.ebuild
index ed11e1ab1973..32a67158ec14 100644
--- a/dev-util/strace/strace-4.4.94.ebuild
+++ b/dev-util/strace/strace-4.4.94.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.4.94.ebuild,v 1.5 2003/07/12 14:28:13 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.4.94.ebuild,v 1.6 2003/09/25 16:40:49 mholzer Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A usefull diagnostic, instructional, and debugging tool"
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.wi.leidenuniv.nl/~wichert/strace/"
IUSE=""
SLOT="0"
LICENSE="as-is"
-KEYWORDS="x86 ~ppc ~sparc alpha ~hppa mips"
+KEYWORDS="x86 ppc ~sparc alpha ~hppa mips"
inherit flag-o-matic
DEPEND="virtual/glibc >=sys-devel/autoconf-2.54"
diff --git a/dev-util/strace/strace-4.4.ebuild b/dev-util/strace/strace-4.4.ebuild
deleted file mode 100644
index c99f5dcb3816..000000000000
--- a/dev-util/strace/strace-4.4.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.4.ebuild,v 1.15 2003/06/13 07:27:55 msterret Exp $
-
-# NOTE: For some reason, upstream has changed the naming scheme
-# for the tarballs to something quite lame:
-# strace_version-revision.tar.gz
-# This makes it difficult for us to deal with, because portage
-# is supposed to glean the package version information from the
-# filename of the ebuild. Grr
-# Thus, *MAINTAINER*: change the *revision* in the SRC_URI below
-# by hand. Sorry, couldn't think of a better way.
-# - Jon Nelson, 27 Apr 2002
-
-S=${WORKDIR}/${P}
-DESCRIPTION="A usefull diagnostic, instructional, and debugging tool"
-SRC_URI="mirror://sourceforge/strace/strace_4.4-1.tar.gz"
-HOMEPAGE="http://www.wi.leidenuniv.nl/~wichert/strace/"
-
-IUSE=""
-SLOT="0"
-LICENSE="as-is"
-KEYWORDS="x86 ppc sparc alpha"
-
-DEPEND="virtual/glibc sys-devel/autoconf"
-
-src_compile() {
- # Compile fails with -O3 on but works on x86, sparc untested
- if [ "${ARCH}" == "sparc" -o "${ARCH}" == "" ]; then
- if [ -n "${CFLAGS}" ]; then
- CFLAGS=`echo ${CFLAGS} | sed -e 's:-O3:-O2:'`
- fi
- fi
- # configure is broken by default for sparc and possibly others, regen
- # from configure.in
- autoconf
- ./configure --prefix=/usr || die
- emake || die
-}
-
-src_install () {
- # Can't use make install because it is stupid and
- # doesn't make leading directories before trying to
- # install. Thus, one would have to make /usr/bin
- # and /usr/man/man1 (at least).
- # So, we do it by hand.
- doman strace.1
- dobin strace
- dobin strace-graph
- dodoc ChangeLog COPYRIGHT CREDITS NEWS PORTING README* TODO
-}