summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kuleshov <sergey@gentoo.org>2003-09-08 18:06:37 +0000
committerSergey Kuleshov <sergey@gentoo.org>2003-09-08 18:06:37 +0000
commit458754a183622bc37bb765899b34df1f21985b2b (patch)
treeccb40994eeafd9008a6ce093085fea96ce3166d2 /dev-util/leaktracer
parentRenamed from LeakTracer to leaktracer. (diff)
downloadgentoo-2-458754a183622bc37bb765899b34df1f21985b2b.tar.gz
gentoo-2-458754a183622bc37bb765899b34df1f21985b2b.tar.bz2
gentoo-2-458754a183622bc37bb765899b34df1f21985b2b.zip
Renamed from LeakTracer to leaktracer.
Diffstat (limited to 'dev-util/leaktracer')
-rw-r--r--dev-util/leaktracer/ChangeLog17
-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
-rw-r--r--dev-util/leaktracer/leaktracer-2.3.ebuild37
5 files changed, 68 insertions, 2 deletions
diff --git a/dev-util/leaktracer/ChangeLog b/dev-util/leaktracer/ChangeLog
new file mode 100644
index 000000000000..4f33181e7acd
--- /dev/null
+++ b/dev-util/leaktracer/ChangeLog
@@ -0,0 +1,17 @@
+# 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/08 18:06:29 sergey Exp $
+
+*leaktracer-2.3 (08 Sep 2003)
+
+ 08 Sep 2003; Sergey Kuleshov <svyatogor@gentoo.org> leaktracer-2.3.ebuild,
+ files/LeakCheck-gentoo.patch:
+ Renamed from LeakTracer to leaktracer to conform with the policy.
+
+*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/Manifest b/dev-util/leaktracer/Manifest
index decb736a88ea..98ee248ee124 100644
--- a/dev-util/leaktracer/Manifest
+++ b/dev-util/leaktracer/Manifest
@@ -1,4 +1,4 @@
-MD5 fae33ffd2bcfe0b6c07e6b4c1ab83c7a ChangeLog 472
-MD5 b990b02a592981de8ee739a2d315159d leaktracer-2.3.ebuild 892
+MD5 9333dbed204f0ad864157d466b28ac91 ChangeLog 681
+MD5 f94bff6647eeef298830ab2ba2ca8e73 leaktracer-2.3.ebuild 892
MD5 33c69089859fd02bcf44f3047740462e files/LeakCheck-gentoo.patch 349
MD5 3ec26bff5600172f896f21ca4e6b4259 files/digest-leaktracer-2.3 61
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
diff --git a/dev-util/leaktracer/leaktracer-2.3.ebuild b/dev-util/leaktracer/leaktracer-2.3.ebuild
new file mode 100644
index 000000000000..84fbf00f7747
--- /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/08 18:06:29 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."
+}