summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/LeakTracer/ChangeLog11
-rw-r--r--dev-util/LeakTracer/LeakTracer-2.3.ebuild37
-rw-r--r--dev-util/LeakTracer/Manifest4
-rw-r--r--dev-util/LeakTracer/files/LeakCheck-gentoo.patch11
-rw-r--r--dev-util/LeakTracer/files/digest-LeakTracer-2.31
5 files changed, 62 insertions, 2 deletions
diff --git a/dev-util/LeakTracer/ChangeLog b/dev-util/LeakTracer/ChangeLog
new file mode 100644
index 000000000000..b4d61d1f37f1
--- /dev/null
+++ b/dev-util/LeakTracer/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-util/LeakTracer
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/LeakTracer/ChangeLog,v 1.1 2003/09/06 10:26:39 sergey Exp $
+
+*LeakTracer-2.3 (06 Sep 2003)
+
+ 06 Sep 2003; Sergey Kuleshov <svyatogor@gentoo.org> LeakTracer-2.3.ebuild,
+ files/LeakCheck-gentoo.patch:
+ Initial commit, thus closing bug #13761. Thanks to Michael Labhard
+ <m.labhard@comcast.net> for the ebuild.
+
diff --git a/dev-util/LeakTracer/LeakTracer-2.3.ebuild b/dev-util/LeakTracer/LeakTracer-2.3.ebuild
new file mode 100644
index 000000000000..75a85388c6fa
--- /dev/null
+++ b/dev-util/LeakTracer/LeakTracer-2.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/LeakTracer/LeakTracer-2.3.ebuild,v 1.1 2003/09/06 10:26:39 sergey Exp $
+
+DESCRIPTION="LeakTracer - trace and analyze memory leaks in C++ programs."
+
+S=${WORKDIR}/${PN}
+HOMEPAGE="http://www.andreasen.org/LeakTracer/"
+SRC_URI="http://www.andreasen.org/${PN}/${PN}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND="virtual/glibc
+ >=dev-lang/perl-5
+ sys-devel/gdb"
+
+src_compile() {
+ epatch ${FILESDIR}/LeakCheck-gentoo.patch
+ make
+}
+
+src_install() {
+ dobin LeakCheck
+ dobin leak-analyze
+ dolib.so LeakTracer.so
+ dohtml README.html
+ dodoc README VERSION
+}
+
+pkg_postinst() {
+ einfo "To use LeakTracer, run LeakCheck my_prog and then leak-analyze my_prog leak.out"
+ einfo "Please refferto README file for more info."
+}
diff --git a/dev-util/LeakTracer/Manifest b/dev-util/LeakTracer/Manifest
index 9e1c03811393..859533a3c440 100644
--- a/dev-util/LeakTracer/Manifest
+++ b/dev-util/LeakTracer/Manifest
@@ -1,4 +1,4 @@
-MD5 3939cd8b175eba38d5068155cad8b4c7 LeakTracer-2.3.ebuild 788
-MD5 63d1e8012e58d9fd42cd3245185cf450 ChangeLog 380
+MD5 b990b02a592981de8ee739a2d315159d LeakTracer-2.3.ebuild 892
+MD5 fae33ffd2bcfe0b6c07e6b4c1ab83c7a ChangeLog 472
MD5 3ec26bff5600172f896f21ca4e6b4259 files/digest-LeakTracer-2.3 61
MD5 33c69089859fd02bcf44f3047740462e files/LeakCheck-gentoo.patch 349
diff --git a/dev-util/LeakTracer/files/LeakCheck-gentoo.patch b/dev-util/LeakTracer/files/LeakCheck-gentoo.patch
new file mode 100644
index 000000000000..fc88ba6d16a4
--- /dev/null
+++ b/dev-util/LeakTracer/files/LeakCheck-gentoo.patch
@@ -0,0 +1,11 @@
+--- LeakCheck.orig 2003-09-06 13:24:05.000000000 +0300
++++ LeakCheck 2003-09-06 13:24:36.000000000 +0300
+@@ -7,7 +7,7 @@
+ # this looks in the same directory, this
+ # LeakCheck script resides; modify to your
+ # needs:
+-SHLIB=`dirname $0`/LeakTracer.so
++SHLIB=/usr/lib/LeakTracer.so
+ if [ ! -x $SHLIB ] ; then
+ echo "$SHLIB not found"
+ exit 1
diff --git a/dev-util/LeakTracer/files/digest-LeakTracer-2.3 b/dev-util/LeakTracer/files/digest-LeakTracer-2.3
new file mode 100644
index 000000000000..46bc14c75c9f
--- /dev/null
+++ b/dev-util/LeakTracer/files/digest-LeakTracer-2.3
@@ -0,0 +1 @@
+MD5 c772da5dc8b03e10db4a58135057a302 LeakTracer.tar.gz 10617