From f0bec092221a05080d9fca9ffbf9d7cc04c7ceda Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 9 Mar 2009 17:26:06 -0500 Subject: add in strace --- abs/extra-testing/strace/PKGBUILD | 21 +++++++++++++++++++++ abs/extra-testing/strace/no_linux_socket_h.patch | 22 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 abs/extra-testing/strace/PKGBUILD create mode 100644 abs/extra-testing/strace/no_linux_socket_h.patch diff --git a/abs/extra-testing/strace/PKGBUILD b/abs/extra-testing/strace/PKGBUILD new file mode 100644 index 0000000..c965f24 --- /dev/null +++ b/abs/extra-testing/strace/PKGBUILD @@ -0,0 +1,21 @@ +# $Id: PKGBUILD 13699 2008-09-27 22:25:37Z giovanni $ +# Maintainer: Giovanni Scafora +# Contributor: Tom Newsom +pkgname=strace +pkgver=4.5.18 +pkgrel=1 +pkgdesc="A useful diagnositic, instructional, and debugging tool" +arch=('i686' 'x86_64') +license=('custom') +url="http://sourceforge.net/projects/strace/" +depends=('glibc') +source=(http://downloads.sourceforge.net/sourceforge/strace/strace-$pkgver.tar.bz2) +md5sums=('e9449fcee97e6a8ed73934c883c870e0') + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + make DESTDIR=$startdir/pkg install + install -Dm644 COPYRIGHT ${startdir}/pkg/usr/share/licenses/strace/COPYRIGHT +} diff --git a/abs/extra-testing/strace/no_linux_socket_h.patch b/abs/extra-testing/strace/no_linux_socket_h.patch new file mode 100644 index 0000000..f1c3598 --- /dev/null +++ b/abs/extra-testing/strace/no_linux_socket_h.patch @@ -0,0 +1,22 @@ +--- strace-4.5.12.orig/configure.ac ++++ strace-4.5.12/configure.ac +@@ -193,8 +193,7 @@ + + AC_CHECK_FUNCS(sigaction strerror strsignal pread sys_siglist _sys_siglist getdents mctl prctl sendmsg inet_ntop if_indextoname) + AC_CHECK_HEADERS([sys/reg.h sys/filio.h sys/acl.h sys/asynch.h sys/door.h stropts.h sys/conf.h sys/stream.h sys/tihdr.h sys/tiuser.h sys/sysconfig.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/reg.h sys/uio.h sys/aio.h poll.h sys/poll.h sys/vfs.h asm/sysmips.h linux/utsname.h sys/nscsys.h mqueue.h sys/epoll.h libaio.h], [], []) +-AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h], +- [], [], [#include ]) ++AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h]) + AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include ]) + AC_CHECK_HEADERS([netinet/tcp.h netinet/udp.h],,, [#include ]) + +--- strace-4.5.12.orig/configure ++++ strace-4.5.12/configure +@@ -6945,7 +6945,6 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include + + #include <$ac_header> + _ACEOF -- cgit v0.12