summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/pretrace/ChangeLog8
-rw-r--r--dev-util/pretrace/metadata.xml3
-rw-r--r--dev-util/pretrace/pretrace-0.3-r1.ebuild30
-rw-r--r--dev-util/pretrace/pretrace-0.3.ebuild88
-rw-r--r--dev-util/pretrace/pretrace-0.4.ebuild6
5 files changed, 11 insertions, 124 deletions
diff --git a/dev-util/pretrace/ChangeLog b/dev-util/pretrace/ChangeLog
index 88f3d14de0b6..6424df840cb6 100644
--- a/dev-util/pretrace/ChangeLog
+++ b/dev-util/pretrace/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/pretrace
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/ChangeLog,v 1.12 2007/12/25 15:58:23 phreak Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/ChangeLog,v 1.13 2008/09/25 14:32:29 hawking Exp $
+
+ 25 Sep 2008; Ali Polatel <hawking@gentoo.org> metadata.xml,
+ -pretrace-0.3.ebuild, -pretrace-0.3-r1.ebuild, pretrace-0.4.ebuild:
+ Drop old. Add myself to metadata.xml.
25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing taviso from metadata.xml as per #202471. Assigning to
diff --git a/dev-util/pretrace/metadata.xml b/dev-util/pretrace/metadata.xml
index 9f3fdee2246b..19e8323aa196 100644
--- a/dev-util/pretrace/metadata.xml
+++ b/dev-util/pretrace/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>hawking@gentoo.org</email>
+ <name>Ali Polatel</name>
</maintainer>
</pkgmetadata>
diff --git a/dev-util/pretrace/pretrace-0.3-r1.ebuild b/dev-util/pretrace/pretrace-0.3-r1.ebuild
deleted file mode 100644
index e544b40f20d2..000000000000
--- a/dev-util/pretrace/pretrace-0.3-r1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.3-r1.ebuild,v 1.5 2007/03/05 04:09:11 genone Exp $
-
-inherit toolchain-funcs flag-o-matic
-
-DESCRIPTION="Start dynamically linked applications under debugging environment"
-HOMEPAGE="http://www.gentoo.org/proj/en/security/index.xml"
-SRC_URI="http://dev.gentoo.org/~taviso/files/libpretrace-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug"
-DEPEND="virtual/libc"
-S="${WORKDIR}/lib${P}"
-
-src_compile() {
- use debug && append-flags -DDEBUG
- emake CC=$(tc-getCC) || die
-}
-
-src_install() {
- einstall LIBDIR=${D}/lib PREFIX=${D}/usr || die
- prepalldocs
-}
-
-pkg_postinst() {
- elog "See the documentation for instructions, configuration format and"
- elog "further indormation."
-}
diff --git a/dev-util/pretrace/pretrace-0.3.ebuild b/dev-util/pretrace/pretrace-0.3.ebuild
deleted file mode 100644
index b6c914551807..000000000000
--- a/dev-util/pretrace/pretrace-0.3.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.3.ebuild,v 1.3 2007/03/05 04:09:11 genone Exp $
-
-inherit toolchain-funcs flag-o-matic
-
-DESCRIPTION="Start dynamically linked applications under debugging environment"
-HOMEPAGE="http://dev.gentoo.org/~taviso/files/README.pretrace"
-SRC_URI="http://dev.gentoo.org/~taviso/files/lib${P}.c.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="debug"
-DEPEND="virtual/libc"
-S=${WORKDIR}
-
-src_compile() {
- use debug && append-flags -DDEBUG
-
- ebegin "[CC] lib${P}.c => libpretrace.so"
- $(tc-getCC) ${CFLAGS} ${ASFLAGS} ${LDFLAGS} -shared \
- -o ${S}/libpretrace.so ${S}/lib${P}.c || {
- 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
-
-# /full/path/to/application[:/full/path/to/debugger [arg1 arg2 ...]]
-
-/bin/ls:/usr/bin/strace -f -efile -o/home/user/ls.logfile
-/usr/bin/fetchmail:/usr/bin/ltrace -f
-/usr/bin/xcalc:/usr/bin/valgrind --tool=memcheck --trace-children=yes --log-file=xcalc
-/usr/bin/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 /lib/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
-/full/path/to/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() {
- insinto /lib
- doins libpretrace.so
-
- dodir /usr/lib
- dosym /lib/libpretrace.so /usr/lib/
-
- dodoc ${T}/pretrace.conf.example ${T}/README
- newdoc ${S}/lib${P}.c libpretrace.c
-}
-
-pkg_postinst() {
- elog "To use pretrace, please add /lib/libpretrace.so to /etc/ld.so.preload."
- elog "See the documentation for configuration file format and more information."
-}
diff --git a/dev-util/pretrace/pretrace-0.4.ebuild b/dev-util/pretrace/pretrace-0.4.ebuild
index c5549ad5f029..2b55af160305 100644
--- a/dev-util/pretrace/pretrace-0.4.ebuild
+++ b/dev-util/pretrace/pretrace-0.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.4.ebuild,v 1.4 2007/03/05 04:09:11 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.4.ebuild,v 1.5 2008/09/25 14:32:29 hawking Exp $
inherit toolchain-funcs flag-o-matic multilib
@@ -16,7 +16,7 @@ S="${WORKDIR}/lib${P}"
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/${P}--as-needed.diff
+ epatch "${FILESDIR}"/${P}--as-needed.diff
}
src_compile() {