Группа :: Разработка/Прочее
Пакет: ElectricFence
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: ElectricFence
Version: 2.2.2
Release: alt0.1
Summary: A debugger which detects memory allocation violations
License: GPL
Group: Development/Other
Url: http://perens.com/FreeSoftware/
Packager: Vitaly Lipatov <lav at altlinux.ru>
# restricted?
Source: ftp://ftp.perens.com/pub/ElectricFence/beta/%name-%version.tar.bz2
Patch1: ElectricFence-2.0.5-longjmp.patch
Patch2: ElectricFence-2.1-vaarg.patch
Patch3: ElectricFence-2.2.2-pthread.patch
Patch4: ElectricFence-2.2.2-madvise.patch
%description
ElectricFence is a utility for C programming and
debugging. ElectricFence uses the virtual memory hardware of your
system to detect when software overruns malloc() buffer boundaries,
and/or to detect any accesses of memory released by
free(). ElectricFence will then stop the program on the first
instruction that caused a bounds violation and you can use your
favorite debugger to display the offending statement.
Install ElectricFence if you need a debugger to find malloc()
violations.
%prep
%setup -q
%patch1 -p1 -b .longjmp
%patch2 -p1 -b .vaarg
%patch3 -p1 -b .pthread
%patch4 -p1 -b .madvise
%build
%make_build CFLAGS='${RPM_OPT_FLAGS} -DUSE_SEMAPHORE -fpic'
%install
mkdir -p %buildroot{%_bindir,%_libdir,%_man3dir}
%makeinstall MAN_INSTALL_DIR=%buildroot%_man3dir
echo ".so man3/efence.3" > %{buildroot}%{_mandir}/man3/libefence.3
%post -p %post_ldconfig
%postun -p %post_ldconfig
%files
%_bindir/*
%_libdir/*
%_mandir/man?/*
%doc README CHANGES
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.2.2
Release: alt0.1
Summary: A debugger which detects memory allocation violations
License: GPL
Group: Development/Other
Url: http://perens.com/FreeSoftware/
Packager: Vitaly Lipatov <lav at altlinux.ru>
# restricted?
Source: ftp://ftp.perens.com/pub/ElectricFence/beta/%name-%version.tar.bz2
Patch1: ElectricFence-2.0.5-longjmp.patch
Patch2: ElectricFence-2.1-vaarg.patch
Patch3: ElectricFence-2.2.2-pthread.patch
Patch4: ElectricFence-2.2.2-madvise.patch
%description
ElectricFence is a utility for C programming and
debugging. ElectricFence uses the virtual memory hardware of your
system to detect when software overruns malloc() buffer boundaries,
and/or to detect any accesses of memory released by
free(). ElectricFence will then stop the program on the first
instruction that caused a bounds violation and you can use your
favorite debugger to display the offending statement.
Install ElectricFence if you need a debugger to find malloc()
violations.
%prep
%setup -q
%patch1 -p1 -b .longjmp
%patch2 -p1 -b .vaarg
%patch3 -p1 -b .pthread
%patch4 -p1 -b .madvise
%build
%make_build CFLAGS='${RPM_OPT_FLAGS} -DUSE_SEMAPHORE -fpic'
%install
mkdir -p %buildroot{%_bindir,%_libdir,%_man3dir}
%makeinstall MAN_INSTALL_DIR=%buildroot%_man3dir
echo ".so man3/efence.3" > %{buildroot}%{_mandir}/man3/libefence.3
%post -p %post_ldconfig
%postun -p %post_ldconfig
%files
%_bindir/*
%_libdir/*
%_mandir/man?/*
%doc README CHANGES
%changelog
…
Полный changelog можно просмотреть здесь