Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-util/duma
# 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
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)
10 Oct 2007; Steve Arnold
+files/duma-2.5.8-soname.patch, duma-2.4.27.ebuild, +duma-2.5.8.ebuild:
Version bump and stable bump (special case, since there was only one
unstable version to begin with). Closes bug 195203.
*duma-2.4.27 (03 Apr 2007)
03 Apr 2007; Steve Arnold
+files/duma-2.4.27-make.patch, +files/duma-2.4.27-types.patch,
+metadata.xml, +duma-2.4.27.ebuild:
Updated fork of electric fence (fixes bug 160695) as the latter is no longer
maintained. I jelled again and forgot the most important part; original
ebuild courtesy of Josef Reidinger
AUX duma-2.4.27-make.patch 1706 RMD160 0a0e0c30871fddca18ed714c4138d43a1cd57224 SHA1 78c81579035c7503a21c00b00369f94f28e6211a SHA256 3f04db181872f181aa3449cf5783285a2bf3efcc3d01ec8f21789a8d3769b81c
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 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
# 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.4 2008/06/05 03:04:58 nerdboy Exp $
inherit eutils versionator multilib toolchain-funcs
# flag-o-matic
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 x86"
IUSE=""
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}."
ewarn ""
else
ewarn ""
elog "Custom build options are not set!"
elog "See the package Makefile for more options."
ewarn ""
fi
}
src_unpack(){
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-types.patch"
epatch "${FILESDIR}/${P}-make.patch"
}
src_compile(){
# filter parallel make, because it generate header and that header needed
# for next part of compile
use amd64 && export DUMA_ALIGNMENT=16
# append-flags doesn't work here (stupid static makefile)
make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" CC=$(tc-getCC) \
|| die "emake failed"
}
src_test() {
einfo "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) check || die "make check failed"
einfo "Check output above to verify all tests have passed..."
}
src_install(){
make prefix="${D}usr" LIB_INSTALL_DIR="${D}usr/$(get_libdir)" install \
|| die "make install failed"
insinto /usr/include
doins duma.h duma_config.h duma_hlp.h dumapp.h noduma.h paging.h print.h \
sem_inc.h || die " failed install headers"
dodoc CHANGELOG README
}
# 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
}
# 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.2 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}."
ewarn ""
else
ewarn ""
elog "Custom build options are not set!"
elog "See the package Makefile for more options."
ewarn ""
fi
}
src_unpack(){
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-soname.patch"
}
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 "emake 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) check || die "make check failed"
ewarn "Check output above to verify all tests have passed..."
}
src_install(){
# make install fails nicely here on the first file...
newbin duma.sh duma
dolib.so libduma.so.0.0
dosym libduma.so.0.0 /usr/$(get_libdir)/libduma.so.0
dosym libduma.so.0.0 /usr/$(get_libdir)/libduma.so
dolib.a libduma.a
insinto /usr/include
doins duma.h dumapp.h sem_inc.h paging.h print.h duma_hlp.h noduma.h \
|| die "failed to install headers"
dodoc CHANGELOG README.txt TODO
doman duma.3
if use examples; then
insinto /usr/share/doc/${P}/examples
doins example[1-6].cpp
doins example_makes/ex6/Makefile
fi
}
DUMA is an open-source library (under GNU General Public License) to
detect buffer overruns and under-runs in C and C++ programs. This
library is a fork of Buce Perens Electric Fence library and adds
some new features to it.