summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2008-06-05 03:04:58 +0000
committerSteve Arnold <nerdboy@gentoo.org>2008-06-05 03:04:58 +0000
commite6dcde25148f2656c311baea14ab1e5fa9a392f1 (patch)
treef448136a4374533d11e80e3b3bcbdf6409ae1169 /dev-util/duma
parentInitial commit. Fixes bug #217449 (diff)
downloadhistorical-e6dcde25148f2656c311baea14ab1e5fa9a392f1.tar.gz
historical-e6dcde25148f2656c311baea14ab1e5fa9a392f1.tar.bz2
historical-e6dcde25148f2656c311baea14ab1e5fa9a392f1.zip
Added latest version and fixed some QA issues; closes bug #219011
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'dev-util/duma')
-rw-r--r--dev-util/duma/ChangeLog11
-rw-r--r--dev-util/duma/Manifest8
-rw-r--r--dev-util/duma/duma-2.4.27.ebuild6
-rw-r--r--dev-util/duma/duma-2.5.13.ebuild81
-rw-r--r--dev-util/duma/duma-2.5.8.ebuild6
5 files changed, 101 insertions, 11 deletions
diff --git a/dev-util/duma/ChangeLog b/dev-util/duma/ChangeLog
index 09123b60f51b..8e0cba1fc104 100644
--- a/dev-util/duma/ChangeLog
+++ b/dev-util/duma/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/duma
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v 1.3 2007/10/10 00:35:22 nerdboy Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v 1.4 2008/06/05 03:04:58 nerdboy Exp $
+
+*duma-2.5.13 (05 Jun 2008)
+
+ 05 Jun 2008; Steve Arnold <nerdboy@gentoo.org> +duma-2.5.13.ebuild,
+ duma-2.5.8.ebuild, duma-2.4.27.ebuild:
+ Added latest version; removed patch, and simplified install function.
+ Closes bug #219011. Also fixed minor QA issues in all three versions.
*duma-2.5.8 (10 Oct 2007)
diff --git a/dev-util/duma/Manifest b/dev-util/duma/Manifest
index a1a991d0eff3..aae3a17929cb 100644
--- a/dev-util/duma/Manifest
+++ b/dev-util/duma/Manifest
@@ -2,8 +2,10 @@ AUX duma-2.4.27-make.patch 1706 RMD160 0a0e0c30871fddca18ed714c4138d43a1cd57224
AUX duma-2.4.27-types.patch 1118 RMD160 7495dd75ff286e1c5e18151c88928c49dab4e5e7 SHA1 3dd9923e284c061c5daf04389969429306ca56b8 SHA256 8dee22387d1d64bcb965caa15f931707f10b79bc6b229fb71a4afb6897dca89c
AUX duma-2.5.8-soname.patch 479 RMD160 05d9aea99fa01fd5144cdd7d88ec3e876814d138 SHA1 0bd36c7a4d76acc34ceb05aedb244745b555d8d5 SHA256 0c7be0ecc6bfe1c3625a03619e77d447d015a5b1e1d7831f0d9793c1707ed9ad
DIST duma_2_4_27.tar.gz 89150 RMD160 97031490edb832d325243ed09b0132393faa730d SHA1 1d0521b01188e9ee05c40124ee2382d40da9b6c4 SHA256 4993373c7f0241e8e247e510335157c22b113a9cb449fd7d346d6f494c6211d8
+DIST duma_2_5_13.tar.gz 233157 RMD160 4e6ab25727e49582a9d9d59087e624a2b9e1e260 SHA1 873740941b8c8a00421bb04f2d0321f858408ee6 SHA256 338757d68f580b38d0680f21151c55e705abf5c933d959410be90fe5c5248777
DIST duma_2_5_8.tar.gz 219961 RMD160 37a1cefa853b15ea5ec9da92a8deeca500ca34b9 SHA1 f2b071b9ea5264829a009901f744f24f2e571807 SHA256 43a96d92384c22c191fbc6f935d0ed4ae378a561776dc7fcdf64763728c65770
-EBUILD duma-2.4.27.ebuild 2014 RMD160 114adb7f43615c83070356a2315fabda17fa41c6 SHA1 3d6828d2298c990f2e8488ba0a24d77d8d0dca5a SHA256 a18c49b57d657041b4a633431bd1e466c886fb61c59d11053bb25b9945dfed32
-EBUILD duma-2.5.8.ebuild 2162 RMD160 4d46b9fb4ee92f0176e5e200fa3f69e83dd61fe2 SHA1 2f83447b424807d6a04d469dba51ec19254ae800 SHA256 cd258d0f4290098a1ac71652ae1821e93ce5a8b2a5177c93a26ddc300f2c6573
-MISC ChangeLog 880 RMD160 0ea062ebae26bafe991e5202300a5087d55c0e6b SHA1 a854b0d5fdf47561bad38afc042735c0774ebd44 SHA256 20f26b1c65829ea7835fea4d728aadc12f24efc3c73205a4caf9c725d8a1d23a
+EBUILD duma-2.4.27.ebuild 2012 RMD160 e9f3200d98841a4839c1bb88731df19de1fb930d SHA1 d758a4f180049df7472f762de76ae448b554bd1a SHA256 eb020d980bd2aff66546787396d141909d67857e4c567056c4fc6be20eaebbed
+EBUILD duma-2.5.13.ebuild 2188 RMD160 2374bb45d9a0d64870493cdd2070557ee550f63a SHA1 0d58a93d8e0d76b98051dff95c527bb19ba733c0 SHA256 40b235e1863a5197ee639ef9be567eec0d5954373cf53b1fb3efd140fd6f962e
+EBUILD duma-2.5.8.ebuild 2160 RMD160 030ab4203fba122f6d304c8488597404fbc6743f SHA1 9873deeb683c637e48a858cf1e0af60e5084b955 SHA256 27d4e623b599e37891c3186bfb2604315456f2832f1350b8f16c658a96d597d5
+MISC ChangeLog 1165 RMD160 1fd2f9d67b7dab30f871cc80d72c1b854dc1c0c5 SHA1 0d9e065cf99891414347987a67993f790238ed81 SHA256 0099e896d5324f37aade9199337c7015c02bed741bd8c831b70329b51966df74
MISC metadata.xml 571 RMD160 7503a42ba65123b48155aa20812e1f76165843af SHA1 57e85da85b7fcd90018216e371fed033cac76ee7 SHA256 5a422de5cb204ec5f8cc4631fb5c54721f27e929e290e9fa494bcd15351cf107
diff --git a/dev-util/duma/duma-2.4.27.ebuild b/dev-util/duma/duma-2.4.27.ebuild
index 692a1a4f131d..4a324b1087ba 100644
--- a/dev-util/duma/duma-2.4.27.ebuild
+++ b/dev-util/duma/duma-2.4.27.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/duma/duma-2.4.27.ebuild,v 1.3 2007/10/10 00:35:22 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.4.27.ebuild,v 1.4 2008/06/05 03:04:58 nerdboy Exp $
inherit eutils versionator multilib toolchain-funcs
# flag-o-matic
@@ -38,7 +38,7 @@ pkg_setup() {
}
src_unpack(){
- unpack "${A}"
+ unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-types.patch"
epatch "${FILESDIR}/${P}-make.patch"
diff --git a/dev-util/duma/duma-2.5.13.ebuild b/dev-util/duma/duma-2.5.13.ebuild
new file mode 100644
index 000000000000..3bec0d288bdc
--- /dev/null
+++ b/dev-util/duma/duma-2.5.13.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.13.ebuild,v 1.1 2008/06/05 03:04:58 nerdboy Exp $
+
+inherit eutils toolchain-funcs versionator
+
+MY_P="${PN}_$(replace_all_version_separators '_')"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="DUMA (Detect Unintended Memory Access) is a memory debugging library."
+HOMEPAGE="http://duma.sourceforge.net/"
+
+SRC_URI="mirror://sourceforge/duma/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="examples"
+
+DEPEND="virtual/libc"
+RDEPEND="${DEPEND}
+ app-shells/bash"
+
+pkg_setup() {
+ #DUMA_OPTIONS="-DDUMA_LIB_NO_LEAKDETECTION"
+ DUMA_OPTIONS="-DDUMA_USE_FRAMENO"
+ if [ -n "${DUMA_OPTIONS}" ]; then
+ ewarn ""
+ elog "Custom build options are ${DUMA_OPTIONS}."
+ else
+ ewarn ""
+ elog "Custom build options are not set!"
+ fi
+ elog "See the package Makefile for for more options (also installed"
+ elog "with package docs as Makefile.duma)."
+ ewarn ""
+}
+
+src_unpack(){
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s:(prefix)/lib:(prefix)/$(get_libdir):g" Makefile
+ sed -i -e "s:share/doc/duma:share/doc/${P}:g" Makefile
+}
+
+src_compile(){
+ use amd64 && export DUMA_ALIGNMENT=16
+ # append-flags doesn't work here (stupid static makefile) and neither
+ # does distcc :(
+ make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" CC=$(tc-getCC) \
+ || die "make failed"
+}
+
+src_test() {
+ ewarn "Control-C now if you want to disable tests..."
+ epause 5
+
+ cd "${S}"
+ use amd64 && export DUMA_ALIGNMENT=16
+ make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" \
+ CC=$(tc-getCC) test || die "make test failed"
+
+ elog ""
+ ewarn "Check output above to verify all tests have passed. Both"
+ ewarn "static and dynamic confidence tests should say PASSED."
+ elog ""
+}
+
+src_install(){
+ # make install fails nicely here on the first file...
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc CHANGELOG TODO
+ # All the good comments on duma build options are in the Makefile
+ newdoc Makefile Makefile.duma
+
+ if use examples; then
+ insinto /usr/share/doc/${P}/examples
+ doins example[1-6].cpp
+ doins example_makes/ex6/Makefile
+ fi
+}
diff --git a/dev-util/duma/duma-2.5.8.ebuild b/dev-util/duma/duma-2.5.8.ebuild
index b229149e8fff..b03ec8f3bb39 100644
--- a/dev-util/duma/duma-2.5.8.ebuild
+++ b/dev-util/duma/duma-2.5.8.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/duma/duma-2.5.8.ebuild,v 1.1 2007/10/10 00:35:22 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.8.ebuild,v 1.2 2008/06/05 03:04:58 nerdboy Exp $
inherit eutils toolchain-funcs versionator
@@ -37,7 +37,7 @@ pkg_setup() {
}
src_unpack(){
- unpack "${A}"
+ unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-soname.patch"
}