summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2005-04-06 16:02:15 +0000
committerTavis Ormandy <taviso@gentoo.org>2005-04-06 16:02:15 +0000
commit9333d190aa87674fac42601fcfd339cd6bdbaf9b (patch)
tree589f7c5356bd3a44de4ec2dac46e9ba04134248a /dev-util/pretrace
parent3.6.3 stable on ppc thanks to JoseJX for testing (diff)
downloadhistorical-9333d190aa87674fac42601fcfd339cd6bdbaf9b.tar.gz
historical-9333d190aa87674fac42601fcfd339cd6bdbaf9b.tar.bz2
historical-9333d190aa87674fac42601fcfd339cd6bdbaf9b.zip
remove stale ebuild
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-util/pretrace')
-rw-r--r--dev-util/pretrace/Manifest2
-rw-r--r--dev-util/pretrace/files/digest-pretrace-0.11
-rw-r--r--dev-util/pretrace/pretrace-0.1.ebuild82
3 files changed, 0 insertions, 85 deletions
diff --git a/dev-util/pretrace/Manifest b/dev-util/pretrace/Manifest
index 1831c0a79135..6910f2836da2 100644
--- a/dev-util/pretrace/Manifest
+++ b/dev-util/pretrace/Manifest
@@ -1,6 +1,4 @@
MD5 0c8b5c76e2c40b9c673fb98662c4b614 pretrace-0.2.ebuild 2734
-MD5 ed76c57b17798d19725079a182880218 pretrace-0.1.ebuild 2610
MD5 f1fe2388dd321784eff6f4f6d8994df1 ChangeLog 469
MD5 c6ea7a07929a9d7924313374907810a4 metadata.xml 284
-MD5 c015b053460aa197aab1c7808192ca9f files/digest-pretrace-0.1 59
MD5 266e980d4a041439deffe0ed432433cf files/digest-pretrace-0.2 63
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."
-}