Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37399934
en ru br
ALT Linux repositórios
S:2.5.15-alt4
5.0: 2.5.14-alt1
4.1: 2.5.11-alt1

Group :: Desenvolvimento/Outros
RPM: duma

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# $Id: duma.spec 6105 2008-01-21 09:55:51Z dries $
# Authority: dries
# Upstream:  Hayati Ayguen <h_ayguen$web,de>

%define real_version 2_5_15

Summary: Detect Unintended Memory Access
Name: duma
Version: 2.5.15
Release: alt4
License: GPLv2
Group: Development/Other
Url: http://duma.sourceforge.net/

Source: http://dl.sf.net/duma/duma_%real_version.tar.gz
Patch: duma-LEAKDETECTION.patch

BuildRequires: gcc-c++

%description
DUMA (Detect Unintended Memory Access) stops your program on the exact
instruction that overruns (or underruns) a malloc() memory buffer. GDB
will then display the source-code line that causes the bug. It works by
using the virtual-memory hardware to create a red-zone at the border of
each buffer: touch that, and your program stops. It can catch formerly
impossible-to-catch overrun bugs.

DUMA is a fork of Bruce Perens' Electric Fence library.

%package devel
Summary: Header files, libraries and development documentation for %name
Group: Development/Other
Requires: %name = %version-%release

%package devel-static
Summary: Static libraries for %name
Group: Development/Other
Requires: %name-devel = %version-%release

%description devel
This package contains the header files, static libraries and development
documentation for %name. If you like to develop programs using %name,
you will need to install %name-devel.

%description devel-static
Static libraries for %name

%prep
%setup -n duma_%real_version
%patch -p0
find . -depth -name CVS -exec rm -rf {} \;
sed -i 's at [.]/libduma at %_libdir/libduma at g' duma.sh
sed -i 's at %_lib/ at %_libdir at g' gdbinit.rc

%build
# duma doesn't build with _smp_mflags
%make all OS=linux CXX="g++ -std=c++98"

%install
%makeinstall

%check
%make test

%files
%doc INSTALL README.txt TODO gdbinit.rc
%_man3dir/duma.3*
%_bindir/duma
%_libdir/libduma.so.*

%files devel-static
%_libdir/libduma.a

%files devel
%doc comparisons example*
%_libdir/libduma.so
%_includedir/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009