pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/strace add strace. This only works for NetBSD...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ece3f973386
branches:  trunk
changeset: 509179:4ece3f973386
user:      christos <christos%pkgsrc.org@localhost>
date:      Sun Mar 05 08:17:49 2006 +0000

description:
add strace. This only works for NetBSD/i386 thus far.

diffstat:

 sysutils/strace/DESCR            |     1 +
 sysutils/strace/Makefile         |    19 +
 sysutils/strace/PLIST            |     4 +
 sysutils/strace/distinfo         |    23 +
 sysutils/strace/patches/patch-aa |   773 ++++++
 sysutils/strace/patches/patch-ab |    51 +
 sysutils/strace/patches/patch-ac |   152 +
 sysutils/strace/patches/patch-ad |    75 +
 sysutils/strace/patches/patch-ae |    22 +
 sysutils/strace/patches/patch-af |    66 +
 sysutils/strace/patches/patch-ag |  4873 ++++++++++++++++++++++++++++++++++++++
 sysutils/strace/patches/patch-ah |   124 +
 sysutils/strace/patches/patch-ai |    40 +
 sysutils/strace/patches/patch-aj |    60 +
 sysutils/strace/patches/patch-ak |    50 +
 sysutils/strace/patches/patch-al |   113 +
 sysutils/strace/patches/patch-am |    31 +
 sysutils/strace/patches/patch-an |   209 +
 sysutils/strace/patches/patch-ao |    32 +
 sysutils/strace/patches/patch-ap |    69 +
 sysutils/strace/patches/patch-aq |    31 +
 sysutils/strace/patches/patch-ar |    10 +
 22 files changed, 6828 insertions(+), 0 deletions(-)

diffs (truncated from 6916 to 300 lines):

diff -r aac536b05c73 -r 4ece3f973386 sysutils/strace/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/strace/DESCR     Sun Mar 05 08:17:49 2006 +0000
@@ -0,0 +1,1 @@
+strace is a system call tracing program similar to ktruss that uses PT_SYSCALL
diff -r aac536b05c73 -r 4ece3f973386 sysutils/strace/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/strace/Makefile  Sun Mar 05 08:17:49 2006 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2006/03/05 08:17:49 christos Exp $
+#
+
+DISTNAME=              strace-4.5.14
+CATEGORIES=            sysutils
+MASTER_SITES=          http://voxel.dl.sourceforge.net/sourceforge/strace/
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            christos%NetBSD.org@localhost
+HOMEPAGE=              http://www.liacs.nl/~wichert/strace/
+COMMENT=               Trace system calls
+
+WRKSRC=                        ${WRKDIR}/${DISTNAME}/${SRCBALL_NAME}
+HAS_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --prefix=${PREFIX:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r aac536b05c73 -r 4ece3f973386 sysutils/strace/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/strace/PLIST     Sun Mar 05 08:17:49 2006 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2006/03/05 08:17:49 christos Exp $
+bin/strace
+bin/strace-graph
+man/man1/strace.1.gz
diff -r aac536b05c73 -r 4ece3f973386 sysutils/strace/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/strace/distinfo  Sun Mar 05 08:17:49 2006 +0000
@@ -0,0 +1,23 @@
+$NetBSD: distinfo,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+SHA1 (strace-4.5.14.tar.bz2) = 72c17d1dd6786d22ca0aaaa7292b8edcd70a27de
+RMD160 (strace-4.5.14.tar.bz2) = cb42cac34d1624dd24842ada0dbb9dfff67e8e93
+Size (lsof_4.76.tar.bz2) = 445134 bytes
+SHA1 (patch-aa) = da710e96ca8c992916de0776f21d1113ba59d8f5
+SHA1 (patch-ab) = e5a96fe1eb136bc4a7bbae5c1bff30a87b0553d5
+SHA1 (patch-ac) = 16b9b2a0e40932088c5eb9ccd08e26cc6ce199e2
+SHA1 (patch-ad) = 998676d8a5940370f51e038885188ebec9c6f880
+SHA1 (patch-ae) = 9fc9a8d3e5646f3d00e617280eacd243efb257c7
+SHA1 (patch-af) = ce3080cf69d4cb8201b22f797b8d9025e90b4df0
+SHA1 (patch-ag) = 41e1a88691257ad0b9db24a0d3a0a6b7f6cc9511
+SHA1 (patch-ah) = bb0b7e6b53fa63a0da777c5238adc4762bbbea8c
+SHA1 (patch-ai) = b5aaf112a458c6354ea55b3cee59309f567a10c4
+SHA1 (patch-aj) = e9963c4adec7be0552e945f33558eb83f6542f52
+SHA1 (patch-ak) = e315a9647eca8d5704ec07efd5f7195fa77baa4c
+SHA1 (patch-al) = 74eb0fbe7ffe137461c318e2670d03776b8633f6
+SHA1 (patch-am) = 47cd69731cbe0ff374f747fc8fedc4c2f06479b5
+SHA1 (patch-an) = b980eaf033e3625f9e1ae532d5fa59c5652a413e
+SHA1 (patch-ao) = 232675e1e9b3a6faf34860676c6cea00051086e9
+SHA1 (patch-ap) = ebd1af2b869602600262e76afb3d36c8123cd51d
+SHA1 (patch-aq) = 53486623021bfc4e376054119f637ce9a445df2b
+SHA1 (patch-ar) = 0045d6a9b8556c257aef7ea669e1529e14cd9cce
diff -r aac536b05c73 -r 4ece3f973386 sysutils/strace/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/strace/patches/patch-aa  Sun Mar 05 08:17:49 2006 +0000
@@ -0,0 +1,773 @@
+$NetBSD: patch-aa,v 1.1 2006/03/05 08:17:49 christos Exp $
+
+--- Makefile.in        2006-01-12 06:20:12.000000000 -0500
++++ Makefile.in        2006-03-04 19:18:23.000000000 -0500
+@@ -1,8 +1,8 @@
+-# Makefile.in generated by automake 1.9.5 from Makefile.am.
++# Makefile.in generated by automake 1.9.4 from Makefile.am.
+ # @configure_input@
+ 
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004, 2005  Free Software Foundation, Inc.
++# 2003, 2004  Free Software Foundation, Inc.
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+ # with or without modifications, as long as this notice is preserved.
+@@ -100,6 +100,8 @@
+ distuninstallcheck_listfiles = find . -type f -print
+ distcleancheck_listfiles = find . -type f -print
+ ACLOCAL = @ACLOCAL@
++ALLBSD_FALSE = @ALLBSD_FALSE@
++ALLBSD_TRUE = @ALLBSD_TRUE@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+ AMTAR = @AMTAR@
+@@ -138,6 +140,8 @@
+ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+ MAKEINFO = @MAKEINFO@
++NETBSD_FALSE = @NETBSD_FALSE@
++NETBSD_TRUE = @NETBSD_TRUE@
+ OBJEXT = @OBJEXT@
+ PACKAGE = @PACKAGE@
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+--- aclocal.m4 2006-01-12 06:20:05.000000000 -0500
++++ aclocal.m4 2006-03-04 19:18:16.000000000 -0500
+@@ -1,7 +1,7 @@
+-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
++# generated automatically by aclocal 1.9.4 -*- Autoconf -*-
+ 
+-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+-# 2005  Free Software Foundation, Inc.
++# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
++# Free Software Foundation, Inc.
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+ # with or without modifications, as long as this notice is preserved.
+@@ -11,11 +11,23 @@
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ # PARTICULAR PURPOSE.
+ 
+-# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++#                                                        -*- Autoconf -*-
++# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
++# Generated from amversion.in; do not edit by hand.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ 
+ # AM_AUTOMAKE_VERSION(VERSION)
+ # ----------------------------
+@@ -28,15 +40,26 @@
+ # Call AM_AUTOMAKE_VERSION so it can be traced.
+ # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+-       [AM_AUTOMAKE_VERSION([1.9.5])])
++       [AM_AUTOMAKE_VERSION([1.9.4])])
+ 
+-# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
++# AM_AUX_DIR_EXPAND
+ 
+-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+ # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+ # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
+@@ -83,16 +106,26 @@
+ am_aux_dir=`cd $ac_aux_dir && pwd`
+ ])
+ 
+-# AM_CONDITIONAL                                            -*- Autoconf -*-
++# AM_CONDITIONAL                                              -*- Autoconf -*-
+ 
+-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
+-# Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+ 
+-# serial 7
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
++# serial 6
+ 
+ # AM_CONDITIONAL(NAME, SHELL-CONDITION)
+ # -------------------------------------
+@@ -116,15 +149,26 @@
+ Usually this means the macro was only invoked conditionally.]])
+ fi])])
+ 
++# serial 7                                            -*- Autoconf -*-
+ 
+-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
+ # Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+ 
+-# serial 8
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
++
+ 
+ # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
+ # written in clear, in which case automake, when reading aclocal.m4,
+@@ -133,6 +177,7 @@
+ # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+ 
+ 
++
+ # _AM_DEPENDENCIES(NAME)
+ # ----------------------
+ # See how the compiler implements dependency checking.
+@@ -272,16 +317,27 @@
+ AC_SUBST([AMDEPBACKSLASH])
+ ])
+ 
+-# Generate code to set up dependency tracking.              -*- Autoconf -*-
++# Generate code to set up dependency tracking.   -*- Autoconf -*-
+ 
+-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
+-# Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
++#   Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
++# 02111-1307, USA.
+ 
+-#serial 3
++#serial 2
+ 
+ # _AM_OUTPUT_DEPENDENCY_COMMANDS
+ # ------------------------------
+@@ -340,31 +396,54 @@
+      [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+ ])
+ 
+-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
+-# Free Software Foundation, Inc.
+-#
+-# This file is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
++# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
+ 



Home | Main Index | Thread Index | Old Index