diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2007-12-24 09:56:31 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2007-12-24 09:56:31 +0000 |
commit | f165cdb25bbfc05fca3bf287861c1bc94ab66a1f (patch) | |
tree | c8285b46855db1c3036477b1769daec135dfb277 /dev-util/leaktracer | |
parent | Added hppa to KEYWORDS. (diff) | |
download | historical-f165cdb25bbfc05fca3bf287861c1bc94ab66a1f.tar.gz historical-f165cdb25bbfc05fca3bf287861c1bc94ab66a1f.tar.bz2 historical-f165cdb25bbfc05fca3bf287861c1bc94ab66a1f.zip |
Added to-be-included multi-stack patch. Fixed various compilation issues. Added patch to fix possible output problems on 64bit. Fixed bug #189399 by disabling tests (see comment)
Package-Manager: portage-2.1.4_rc11
Diffstat (limited to 'dev-util/leaktracer')
-rw-r--r-- | dev-util/leaktracer/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/leaktracer/Manifest | 26 | ||||
-rw-r--r-- | dev-util/leaktracer/files/digest-leaktracer-2.4-r1 | 3 | ||||
-rw-r--r-- | dev-util/leaktracer/leaktracer-2.4-r1.ebuild | 57 |
4 files changed, 81 insertions, 15 deletions
diff --git a/dev-util/leaktracer/ChangeLog b/dev-util/leaktracer/ChangeLog index c458b594c24a..87610b2f113a 100644 --- a/dev-util/leaktracer/ChangeLog +++ b/dev-util/leaktracer/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-util/leaktracer # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/leaktracer/ChangeLog,v 1.10 2007/03/05 03:52:55 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/leaktracer/ChangeLog,v 1.11 2007/12/24 09:56:30 dev-zero Exp $ + +*leaktracer-2.4-r1 (24 Dec 2007) + + 24 Dec 2007; Tiziano Müller <dev-zero@gentoo.org> + +leaktracer-2.4-r1.ebuild: + Added to-be-included multi-stack patch. Fixed various compilation issues. + Added patch to fix possible output problems on 64bit. Fixed bug #189399 by + disabling tests (see comment) 05 Mar 2007; Marius Mauch <genone@gentoo.org> leaktracer-2.4.ebuild: Replacing einfo with elog diff --git a/dev-util/leaktracer/Manifest b/dev-util/leaktracer/Manifest index fc759fe191a0..2bb6a1f95908 100644 --- a/dev-util/leaktracer/Manifest +++ b/dev-util/leaktracer/Manifest @@ -1,19 +1,21 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX LeakCheck-gentoo.patch 349 RMD160 2f43c6497a10b4dbe93bd3de1ee058155ecace31 SHA1 f491748b1aa9b030eb46d4422ac5c443e0d02728 SHA256 95363730e17accf80e1c645d866f2053f394ab86061fc62f67c133468aead7a7 MD5 33c69089859fd02bcf44f3047740462e files/LeakCheck-gentoo.patch 349 RMD160 2f43c6497a10b4dbe93bd3de1ee058155ecace31 files/LeakCheck-gentoo.patch 349 SHA256 95363730e17accf80e1c645d866f2053f394ab86061fc62f67c133468aead7a7 files/LeakCheck-gentoo.patch 349 +DIST leaktracer-2.4-gentoo_p1.tbz2 18392 RMD160 57f5264766d553f599044a4d2f0f010d91a2927c SHA1 8d6b741888fa255ba0bbf49f22813f1c8365134d SHA256 f29c4b0b9ff57602bcfc37cdd3e574085882ba1a8f32c381d05f6acedd91fb75 DIST leaktracer-2.4.tbz2 11223 RMD160 5c4d4568b1dcf4941bdc3940f24799dfe12b45a5 SHA1 fe55ff466a266e8de1b817681d61de96ac0746c2 SHA256 114598f7f54afe9922ef92a255f8ecfb5e7cf0cda8756ac06d077682915e9ea7 +EBUILD leaktracer-2.4-r1.ebuild 1540 RMD160 ee22adbebd5179eddb594afab28eef4274366a6f SHA1 fe83f6f59150f5eecf9e3cd8e28a3b079c37e508 SHA256 7b94152f2cf99afc15723cd70033eb9f6c0da3d4d28ea6a866ff90921c712d5f +MD5 4524314a3e6f41b2f20956531775e7b5 leaktracer-2.4-r1.ebuild 1540 +RMD160 ee22adbebd5179eddb594afab28eef4274366a6f leaktracer-2.4-r1.ebuild 1540 +SHA256 7b94152f2cf99afc15723cd70033eb9f6c0da3d4d28ea6a866ff90921c712d5f leaktracer-2.4-r1.ebuild 1540 EBUILD leaktracer-2.4.ebuild 901 RMD160 37b81867ebfffc0a2c94a44bffd0cbdb61864a93 SHA1 8bf380beaa092cded02a8414170c55c9510bf266 SHA256 97d4eb436612a5d295d0661a82ed6cc39002fbf65f267e8681e90d0bfca10ef9 MD5 8d5cd08d3add2b62c88c7014e5db81cf leaktracer-2.4.ebuild 901 RMD160 37b81867ebfffc0a2c94a44bffd0cbdb61864a93 leaktracer-2.4.ebuild 901 SHA256 97d4eb436612a5d295d0661a82ed6cc39002fbf65f267e8681e90d0bfca10ef9 leaktracer-2.4.ebuild 901 -MISC ChangeLog 1632 RMD160 5162f83f3faac8bb2f25c29d299c606c527effbb SHA1 fb875edd3bacfc1b4a0c35c9c23c1ecbc629b6e3 SHA256 adbbe0c0f1cb555cb24ebef46ffc162835eb9e1fd47bde5c9fe34b241d1cf702 -MD5 46274636858cc2f2118c1c63a4c1ff9d ChangeLog 1632 -RMD160 5162f83f3faac8bb2f25c29d299c606c527effbb ChangeLog 1632 -SHA256 adbbe0c0f1cb555cb24ebef46ffc162835eb9e1fd47bde5c9fe34b241d1cf702 ChangeLog 1632 +MISC ChangeLog 1936 RMD160 3e80e37ada15d2df91b9dd0136482bb988410a5c SHA1 d6e89bb556de28834e3190aa1f6900855f71077d SHA256 ae42245f55310ddf7b482c3b6fb567b144d8dcf61f2cd4c401299d7cacbb1628 +MD5 fb47943ac1eeb0748825ff1a4dbcccd1 ChangeLog 1936 +RMD160 3e80e37ada15d2df91b9dd0136482bb988410a5c ChangeLog 1936 +SHA256 ae42245f55310ddf7b482c3b6fb567b144d8dcf61f2cd4c401299d7cacbb1628 ChangeLog 1936 MISC metadata.xml 156 RMD160 537178ef5a820896e97475fb9aded47d50474bef SHA1 2a4ef4879b918a28132d21cd6d1bbaa2a30dccde SHA256 0e8490f9c62cb74e5894b52f643a02de0024d97dbfebad43082dce6bcb39555f MD5 41d7ac32dc54956e937401bb5a2c3810 metadata.xml 156 RMD160 537178ef5a820896e97475fb9aded47d50474bef metadata.xml 156 @@ -21,10 +23,6 @@ SHA256 0e8490f9c62cb74e5894b52f643a02de0024d97dbfebad43082dce6bcb39555f metadata MD5 40f90ac756b0798275e13195bf854471 files/digest-leaktracer-2.4 235 RMD160 97482b8ad25561cca6f37ef74e7cc39134191620 files/digest-leaktracer-2.4 235 SHA256 c19d800d567fb6d509b26e7583faa8d80183bc99b8099bd1f4d36570b69c802d files/digest-leaktracer-2.4 235 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) - -iD8DBQFF65UH6J2i8a8J4okRAjfOAJ4w3ysGe34WF3JzasUxa54cBXzjlACdGgTK -7OB9ocaRbAUwYY4k/zsornA= -=zd/5 ------END PGP SIGNATURE----- +MD5 150bcc7e7fedd631f9eed3a9b931b1e8 files/digest-leaktracer-2.4-r1 265 +RMD160 3bcf48908f2563777acf46fc8ca7ba3ccd7bab82 files/digest-leaktracer-2.4-r1 265 +SHA256 81b3f4ccb1560897939a10ea61cc298f3ac12d88d86cffc198a8d23ba0fda1f0 files/digest-leaktracer-2.4-r1 265 diff --git a/dev-util/leaktracer/files/digest-leaktracer-2.4-r1 b/dev-util/leaktracer/files/digest-leaktracer-2.4-r1 new file mode 100644 index 000000000000..176a91e62a71 --- /dev/null +++ b/dev-util/leaktracer/files/digest-leaktracer-2.4-r1 @@ -0,0 +1,3 @@ +MD5 6e00ade602757621f7147e24ebbaf1c7 leaktracer-2.4-gentoo_p1.tbz2 18392 +RMD160 57f5264766d553f599044a4d2f0f010d91a2927c leaktracer-2.4-gentoo_p1.tbz2 18392 +SHA256 f29c4b0b9ff57602bcfc37cdd3e574085882ba1a8f32c381d05f6acedd91fb75 leaktracer-2.4-gentoo_p1.tbz2 18392 diff --git a/dev-util/leaktracer/leaktracer-2.4-r1.ebuild b/dev-util/leaktracer/leaktracer-2.4-r1.ebuild new file mode 100644 index 000000000000..413d772d1ac3 --- /dev/null +++ b/dev-util/leaktracer/leaktracer-2.4-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/leaktracer/leaktracer-2.4-r1.ebuild,v 1.1 2007/12/24 09:56:30 dev-zero Exp $ + +inherit eutils multilib toolchain-funcs + +# Upstream-package has no version in it's name. +# We therefore repackage it directly, together with the patches. +PATCH_LEVEL="1" + +DESCRIPTION="trace and analyze memory leaks in C++ programs" +HOMEPAGE="http://www.andreasen.org/LeakTracer/" +SRC_URI="mirror://gentoo/${P}-gentoo_p${PATCH_LEVEL}.tbz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=">=dev-lang/perl-5 + sys-devel/gdb" +RDEPEND="${DEPEND}" + +# leaktracer is being realized using LD_PRELOAD and segfaults +# when being run in the sandbox and the library is _not_ in +# /usr/$(get_libdir) which is not possible before installation +RESTRICT="test" + +src_unpack() { + unpack ${A} + cd "${S}" + + EPATCH_SOURCE="${WORKDIR}/patches" + EPATCH_SUFFIX="patch" + epatch + + sed -i \ + -e "s|%LIB%|$(get_libdir)|" \ + LeakCheck || die "sed for setting lib path failed" +} + +src_compile() { + emake CXX=$(tc-getCXX) LDFLAGS=${LDFLAGS} || die "emake failed" +} + +src_install() { + dobin LeakCheck leak-analyze || die "dobin failed" + dolib.so LeakTracer.so || die "dolib.so failed" + dohtml README.html + dodoc README "${WORKDIR}/patches/multi-stack.readme" +} + +pkg_postinst() { + elog "To use LeakTracer, run LeakCheck my_prog and then leak-analyze my_prog leak.out" + elog "Please reffer to README file for more info." +} + |