summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/valgrind')
-rw-r--r--dev-util/valgrind/ChangeLog8
-rw-r--r--dev-util/valgrind/Manifest26
-rw-r--r--dev-util/valgrind/files/digest-valgrind-3.2.33
-rw-r--r--dev-util/valgrind/files/valgrind-3.2.3-pkg-config.patch19
-rw-r--r--dev-util/valgrind/valgrind-3.2.3.ebuild86
5 files changed, 134 insertions, 8 deletions
diff --git a/dev-util/valgrind/ChangeLog b/dev-util/valgrind/ChangeLog
index 8f4a5f17877c..ac25bc31ba6a 100644
--- a/dev-util/valgrind/ChangeLog
+++ b/dev-util/valgrind/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/valgrind
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.71 2007/02/13 17:35:12 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.72 2007/02/19 19:00:11 griffon26 Exp $
+
+*valgrind-3.2.3 (19 Feb 2007)
+
+ 19 Feb 2007; Maurice van der Pot <griffon26@gentoo.org>
+ +files/valgrind-3.2.3-pkg-config.patch, +valgrind-3.2.3.ebuild:
+ Added new valgrind release 3.2.3 (closes bug #163509).
13 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> valgrind-3.2.1.ebuild:
Stable on amd64/ppc wrt bug #166121 due to glibc-2.5 being stable there, too.
diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 316e21b21ac9..f853f989d05d 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -13,8 +13,13 @@ AUX valgrind-3.2.1-pkg-config.patch 599 RMD160 29c25e514438ae24c4e83be97bf270737
MD5 b6bffc35d2312ad25f95a208de6647b1 files/valgrind-3.2.1-pkg-config.patch 599
RMD160 29c25e514438ae24c4e83be97bf27073788b2cdd files/valgrind-3.2.1-pkg-config.patch 599
SHA256 a5175ee4cf32fef8ef521a7eeed346c4cf9761906147a4ad23076e30e02dd4ae files/valgrind-3.2.1-pkg-config.patch 599
+AUX valgrind-3.2.3-pkg-config.patch 670 RMD160 26d8f37182da50110e4c40c5be0ec9d06185d7fd SHA1 83bda9ceebc7c13586c5bcd49c809c72e2e7511d SHA256 ffd44e653b95326ef1915f406e35cca9a0898ba3e101965d0f6e4229c72c38d5
+MD5 56c668771fc165efb41e30605881b474 files/valgrind-3.2.3-pkg-config.patch 670
+RMD160 26d8f37182da50110e4c40c5be0ec9d06185d7fd files/valgrind-3.2.3-pkg-config.patch 670
+SHA256 ffd44e653b95326ef1915f406e35cca9a0898ba3e101965d0f6e4229c72c38d5 files/valgrind-3.2.3-pkg-config.patch 670
DIST valgrind-3.2.0.tar.bz2 4059114 RMD160 06cebcfacece9f6bac8fd72c13022d3440d243e9 SHA1 086d138368d2d4361ef1bcfe624ff879d71e6447 SHA256 e13b81b733697736b5d220c04fb853c1113d11867c7fb96028bee9d2584b638e
DIST valgrind-3.2.1.tar.bz2 4052885 RMD160 eecd339f962b1657c377569650d435795638cc86 SHA1 76ab86ffdbccd97d6333eb6286761970cdf23120 SHA256 7f9a15d7be16ca03a0912191e8d55a486bf69690e11bb76ccece3eaff3730a33
+DIST valgrind-3.2.3.tar.bz2 4016265 RMD160 62579fc7f1f3c39038b32467b2d098eeb8f77c79 SHA1 550195a913997ff15f12eea484bd3fe636b25472 SHA256 1bca920527f43fd0c68e8f8eb16a7996b34f415e73af54de0f2cd43a8247c441
EBUILD valgrind-3.2.0.ebuild 2472 RMD160 baca21d789e6b5b1432bacb8b5b9732df9a88165 SHA1 464d4f171d1bc5db805512edeb8791501b12c9e5 SHA256 c2cdcd9192b0fc468b2fd91c43b6801325433af5e30fc69a0f9df376551f86f5
MD5 4f6b8d70936f487a308b8a35e59e7901 valgrind-3.2.0.ebuild 2472
RMD160 baca21d789e6b5b1432bacb8b5b9732df9a88165 valgrind-3.2.0.ebuild 2472
@@ -23,10 +28,14 @@ EBUILD valgrind-3.2.1.ebuild 2929 RMD160 632c4c65d6db3990c928bc6fbedae53186d77f6
MD5 93e35cff29ddec69a408a7ee2c12d689 valgrind-3.2.1.ebuild 2929
RMD160 632c4c65d6db3990c928bc6fbedae53186d77f65 valgrind-3.2.1.ebuild 2929
SHA256 9917d44352078f6c43eb092a92a67b00bbb4394a62bdec3d4f608676fa2d983e valgrind-3.2.1.ebuild 2929
-MISC ChangeLog 10201 RMD160 7c4f6cf8365550ba8e09d82c3ebe5a68e76757be SHA1 e922561ce4f6b91982fd3dd381077fabd64d84ef SHA256 07da5e2336033d3b4921fba61e5de51f495480ee12c0d5aaabe53abc9b05af5d
-MD5 33efaa978c48d5b003dd746e3e043544 ChangeLog 10201
-RMD160 7c4f6cf8365550ba8e09d82c3ebe5a68e76757be ChangeLog 10201
-SHA256 07da5e2336033d3b4921fba61e5de51f495480ee12c0d5aaabe53abc9b05af5d ChangeLog 10201
+EBUILD valgrind-3.2.3.ebuild 2866 RMD160 3efc005a1b33d2b949d016d31874e7409c2a80e8 SHA1 52990916dfc8167233a16611a414bd39f62ee31d SHA256 9fd3339701d092f6ab86fcfd8854277cf9e6ae1564a7ee302f5138648cb766d7
+MD5 95b8613a7acfbc354a1274076f1f84ab valgrind-3.2.3.ebuild 2866
+RMD160 3efc005a1b33d2b949d016d31874e7409c2a80e8 valgrind-3.2.3.ebuild 2866
+SHA256 9fd3339701d092f6ab86fcfd8854277cf9e6ae1564a7ee302f5138648cb766d7 valgrind-3.2.3.ebuild 2866
+MISC ChangeLog 10415 RMD160 6ffeeec00bbc7dba06e02348200772f31a3f7c5a SHA1 3c144fc15fc9ffa1b80dbbfae2643bdff57764b2 SHA256 dadb890255bd7cc988c7ff7b9fc8c4cb38a175143035bc23d0ff167d40976a77
+MD5 37664755ed9db51ef11a674cbefa09d9 ChangeLog 10415
+RMD160 6ffeeec00bbc7dba06e02348200772f31a3f7c5a ChangeLog 10415
+SHA256 dadb890255bd7cc988c7ff7b9fc8c4cb38a175143035bc23d0ff167d40976a77 ChangeLog 10415
MISC metadata.xml 1003 RMD160 e8ef4473e3545a4b98d46101edb49923112ac9e0 SHA1 f76bd7adb86b156832175f968d60c6372fcf8968 SHA256 2bf62ba94d772ac968485392127cf4f4303cccf5a1e6d0733d80507005ca7847
MD5 799f0b61a3a686b4074bd61acc572c5c metadata.xml 1003
RMD160 e8ef4473e3545a4b98d46101edb49923112ac9e0 metadata.xml 1003
@@ -37,10 +46,13 @@ SHA256 1ba63845b7f8fb25dc46455242f49a78dd7ef8a8e4515be2939712d7184f2b74 files/di
MD5 d1f8d4d834e9c06cdd463e5cfee7109f files/digest-valgrind-3.2.1 250
RMD160 2cee048df21be4b40b0b470ce77b022871b78e31 files/digest-valgrind-3.2.1 250
SHA256 4ce1d531330a2a0af6e45dc2758c22e9053b93a53f740a97ce6a2f3c9e7ac4f2 files/digest-valgrind-3.2.1 250
+MD5 ded6e2e906dd6407d3c38a1f207baba8 files/digest-valgrind-3.2.3 250
+RMD160 ef9bb48abce2a7d73e29e5809b37df230fdf397e files/digest-valgrind-3.2.3 250
+SHA256 c8597bd67dd8460be263e80557d2accb57b4a820c93aa802de76f2c8bd649352 files/digest-valgrind-3.2.3 250
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)
-iD8DBQFF0fbXkT4lNIS36YERAoOoAJ9+h3xACMvZuesqcRXhoctw14HCgwCfV1Bb
-frt3qB12htLgSMjbbSW6PE4=
-=Yi3X
+iD8DBQFF2fPJMGnpIbeahxwRAhEeAJwOLG7llDMs9JAaJna/k9M7dcNmSwCffeti
++h2D9sqaLfaC72NN2LsoX/c=
+=kPDe
-----END PGP SIGNATURE-----
diff --git a/dev-util/valgrind/files/digest-valgrind-3.2.3 b/dev-util/valgrind/files/digest-valgrind-3.2.3
new file mode 100644
index 000000000000..3b2649bca577
--- /dev/null
+++ b/dev-util/valgrind/files/digest-valgrind-3.2.3
@@ -0,0 +1,3 @@
+MD5 978847992b136c8d8cb5c6559a91df1c valgrind-3.2.3.tar.bz2 4016265
+RMD160 62579fc7f1f3c39038b32467b2d098eeb8f77c79 valgrind-3.2.3.tar.bz2 4016265
+SHA256 1bca920527f43fd0c68e8f8eb16a7996b34f415e73af54de0f2cd43a8247c441 valgrind-3.2.3.tar.bz2 4016265
diff --git a/dev-util/valgrind/files/valgrind-3.2.3-pkg-config.patch b/dev-util/valgrind/files/valgrind-3.2.3-pkg-config.patch
new file mode 100644
index 000000000000..b6df4ab2b35a
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.2.3-pkg-config.patch
@@ -0,0 +1,19 @@
+diff -ruN valgrind-3.2.2/valgrind.pc.in valgrind-3.2.2-fixed/valgrind.pc.in
+--- valgrind-3.2.2/valgrind.pc.in 2007-01-02 15:52:30.000000000 +0100
++++ valgrind-3.2.2-fixed/valgrind.pc.in 2007-01-25 18:54:13.478053000 +0100
+@@ -4,13 +4,13 @@
+ includedir=@includedir@/valgrind
+ arch=@VG_ARCH@
+ os=@VG_OS@
+-platform=@VG_PLATFORM_PRI@
++platform=@VG_ARCH@-@VG_OS@
+ valt_load_address=@VALT_LOAD_ADDRESS@
+
+ Name: Valgrind
+ Description: A dynamic binary instrumentation framework
+ Version: @VERSION@
+ Requires:
+-Libs: -L${libdir}/valgrind/@VG_PLATFORM_PRI@ -lcoregrind -lvex -lgcc
++Libs: -L${libdir}/valgrind/@VG_ARCH@-@VG_OS@ -lcoregrind -lvex -lgcc
+ Cflags: -I${includedir}
+
diff --git a/dev-util/valgrind/valgrind-3.2.3.ebuild b/dev-util/valgrind/valgrind-3.2.3.ebuild
new file mode 100644
index 000000000000..5ea627b95731
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.2.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.2.3.ebuild,v 1.1 2007/02/19 19:00:11 griffon26 Exp $
+
+inherit autotools eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="http://www.valgrind.org"
+SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
+IUSE="X"
+
+# bug #49147 (bogus stacktrace in gdb with --db-attach=yes) does not seem to be applicable anymore
+#RESTRICT="strip"
+
+RDEPEND="!dev-util/callgrind"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # make sure our CFLAGS are respected
+ einfo "Changing configure.in to respect CFLAGS"
+ sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in
+
+ # undefined references to __guard and __stack_smash_handler in VEX (bug #114347)
+ einfo "Changing Makefile.flags.am to disable SSP"
+ sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' Makefile.flags.am
+
+ # Correct hard coded doc location
+ sed -i -e "s:doc/valgrind:doc/${P}:" docs/Makefile.am
+
+ # Fix incorrect --libs output in valgrind.pc (bug #147904)
+ epatch "${FILESDIR}/${P}-pkg-config.patch"
+
+ # Remove defaulting to ppc32-linux on ppc64 without multilib
+ # "valgrind: failed to start tool 'memcheck' for platform 'ppc32-linux':
+ # No such file or directory"
+ if use ppc64 && ! has_multilib_profile; then
+ epatch "${FILESDIR}/${P}-only64bit.patch"
+ fi
+
+ # Regenerate autotools files
+ eautoreconf
+}
+
+src_compile() {
+ local myconf
+
+ # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression"
+ # while compiling insn_sse.c in none/tests/x86
+ # -fpie valgrind seemingly hangs when built with pie on
+ # amd64 (bug #102157)
+ # -fstack-protector more undefined references to __guard and __stack_smash_handler
+ # because valgrind doesn't link to glibc (bug #114347)
+ # -ggdb3 segmentation fault on startup
+ filter-flags -fomit-frame-pointer
+ filter-flags -fpie
+ filter-flags -fstack-protector
+ replace-flags -ggdb3 -ggdb2
+
+ # gcc 3.3.x fails to compile valgrind with -O3 (bug #129776)
+ if [ "$(gcc-version)" == "3.3" ] && is-flagq -O3; then
+ ewarn "GCC 3.3 cannot compile valgrind with -O3 in CFLAGS, using -O2 instead."
+ replace-flags -O3 -O2
+ fi
+
+ # Optionally build in X suppression files
+ use X && myconf="--with-x" || myconf="--with-x=no"
+
+ if use amd64 || use ppc64; then
+ ! has_multilib_profile && myconf="${myconf} --enable-only64bit"
+ fi
+
+ econf ${myconf} || die "Configure failed!"
+ emake || die "Make failed!"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "Install failed!"
+ dodoc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README*
+}
+