diff options
author | Tavis Ormandy <taviso@gentoo.org> | 2005-04-06 16:02:15 +0000 |
---|---|---|
committer | Tavis Ormandy <taviso@gentoo.org> | 2005-04-06 16:02:15 +0000 |
commit | 8a7efe26e4edb734f2598a9c22ec427e3c6e58fc (patch) | |
tree | 51bb53920b74929555f529710f27c6d068b72a84 /dev-util/pretrace | |
parent | 3.6.3 stable on ppc thanks to JoseJX for testing (diff) | |
download | gentoo-2-8a7efe26e4edb734f2598a9c22ec427e3c6e58fc.tar.gz gentoo-2-8a7efe26e4edb734f2598a9c22ec427e3c6e58fc.tar.bz2 gentoo-2-8a7efe26e4edb734f2598a9c22ec427e3c6e58fc.zip |
remove stale ebuild
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-util/pretrace')
-rw-r--r-- | dev-util/pretrace/files/digest-pretrace-0.1 | 1 | ||||
-rw-r--r-- | dev-util/pretrace/pretrace-0.1.ebuild | 82 |
2 files changed, 0 insertions, 83 deletions
diff --git a/dev-util/pretrace/files/digest-pretrace-0.1 b/dev-util/pretrace/files/digest-pretrace-0.1 deleted file mode 100644 index 6e43727cb120..000000000000 --- a/dev-util/pretrace/files/digest-pretrace-0.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b6481ba2ba4ab5e382c228e3d6cb83b9 libpretrace.c.gz 2207 diff --git a/dev-util/pretrace/pretrace-0.1.ebuild b/dev-util/pretrace/pretrace-0.1.ebuild deleted file mode 100644 index d434a9599799..000000000000 --- a/dev-util/pretrace/pretrace-0.1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.1.ebuild,v 1.1 2005/04/06 12:16:19 taviso Exp $ - -inherit toolchain-funcs flag-o-matic - -DESCRIPTION="Start dynamically linked applications under debugging environment" -HOMEPAGE="http://dev.gentoo.org/~taviso/files/libpretrace.c" -SRC_URI="${HOMEPAGE}.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="debug" -DEPEND="virtual/libc" -S=${WORKDIR} - -src_compile() { - use debug && append-flags -DDEBUG - - ebegin "[CC] ${A//.gz/} => libpretrace.so" - $(tc-getCC) ${CFLAGS} ${ASFLAGS} ${LDFLAGS} -shared \ - -o ${S}/libpretrace.so ${S}/${A//.gz/} || { - eend 1 - die "compile failed" - } - eend 0 - - ebegin "[DOC] => pretrace.conf.example" -cat << EOF > ${T}/pretrace.conf.example -# example pretrace configuration file -# /etc/pretrace.conf - -# application[:/full/path/to/debugger [arg1 arg2 ...]] - -ls:/usr/bin/strace -f -efile -o/home/user/ls.logfile -fetchmail:/usr/bin/ltrace -f -xcalc:/usr/bin/valgrind --tool=memcheck --trace-children=yes --log-file=xcalc -xterm -EOF - eend $? - ebegin "[DOC] => README" -cat << EOF > ${T}/README -libpretrace is a preload library that allows specified (dynamically linked) -applications to always be executed under a debugging environment. To start -using pretrace, add libpretrace.so to your /etc/ld.so.preload. - - root# echo /usr/$(get_libdir)/libpretrace.so >> /etc/ld.so.preload - -You can now specify applications to trace in /etc/pretrace.conf, the format -is one application per line, if you would like to specify a debugger append -a colon, then the full path to the debugger and any arguments you would like -to pass. If you do not specify a debugger, you get the default, strace, which -saves the output to .logfile in the current working directory. - -# this is a comment -application[:/full/path/to/debugger [arg1 arg2 ...]] - -An example pretrace.conf is provided with this distribution. - -libpretrace is designed as a debugging utility for developers and auditors, -and should not be used in a production environment. - -libpretrace is released under GPL version 2, and was created by Rob Holland -and Tavis Ormandy of the Gentoo Linux Security Audit Team. - -taviso@gentoo.org -tigger@gentoo.org - -April, 2005. -EOF - eend $? -} - -src_install() { - dolib.so libpretrace.so - dodoc ${T}/pretrace.conf.example ${T}/README -} - -pkg_postinst() { - einfo "To use pretrace, please add /usr/$(get_libdir)/libpretrace.so to /etc/ld.so.preload." - einfo "Please see documentation for the configuration file format and more information." -} |