1 Summary: A debugger which detects memory allocation violations
2 Summary(de): Debugger zum Erkennen von Speicherzugriffsverletzungen
3 Summary(fr): Bibliothèque C de débuggage mémoire Electric Fence
4 Summary(pl): Biblioteka do wykrywania b³edów alokacji pamiêci
5 Summary(tr): C için bellek hatasý ayýklama kitaplýðý
10 Group: Development/Debuggers
11 Group(pl): Programowanie/Odpluskwiacze
12 Source: ftp://perens.com/pub/ElectricFence/Beta/%{name}-%{version}.tar.gz
13 Patch0: ElectricFence-longjmp.patch
14 Patch1: ElectricFence-no_bash.spec
15 BuildRoot: /tmp/%{name}-%{version}-root
18 If you know what malloc() violations are, you'll be interested in
19 ElectricFence. ElectricFence is a tool which can be used for C programming
20 and debugging. It uses the virtual memory hardware of your system to detect
21 when software overruns malloc() buffer boundaries, and/or to detect any
22 accesses of memory released by free(). ElectricFence will then stop the
23 program on the first instruction that caused a bounds violation and you can
24 use your favorite debugger to display the offending statement.
26 This package will install ElectricFence, which you can use if you're
27 searching for a debugger to find malloc() violations.
30 Wenn Sie wissen, was malloc()-Verletzungen sind, sind Sie wahrscheinlich an
31 ElectricFence interessiert. ElectricFence ist ein Tool, das zur C-
32 Programmierung und zum Debugging benutzt werden kann. Es benutzt virtuelle
33 Speicherhardware, um zu erkennen, wenn Software malloc()-Buffergrenzen
34 übersteigt, und wenn Speicher mit free() freigegeben wird. ElectricFence
35 beendet das Programm bei der Instruktion, die die Speicherverletzung
36 ausgelöst hat, und Sie können Ihren Lieblingsdebugger benutzen, um den
40 Electric Fence est une bibliothéque utilisée pour la programmation en C et
41 le débogage. Vous pouvez la lier à la compilation et elle vous avertira des
42 problèmes éventuels de désallocation de mémoire, etc.
45 Electric Fence jest bibliotek± pomocn± podczas programowania w
46 jêzyku C i "odpluskwianiu".
47 Pakiet zawiera bibliotekê wspó³dzielon± która mo¿e byæ za³adowana przez
48 zmienn± LD_PRELOAD w trakcie uruchamiania dowolnego programu dziêki temu nie
49 potrzeba linkowaæ z t± bibliotek± ¶ledzonego programu. Pakiet zawiera tak¿e
50 skrypt shellowy ef, któremu mo¿na ³aduje do pamiêci przez LD_PRELOAD
51 libliotekê libefence i uruchamia program przekazyny do tego skryptu jako
55 Electric Fence, C'de programlama ve hata ayýklama için kullanýlabilen bir
56 kitaplýktýr. Derleme esnasýnda programýnýza baðlarsanýz, sizi ortaya
57 çýkabilecek sorunlar (var olmayan bir bellek parçasýnýn serbest býrakýlmasý
58 gibi) konusunda uyarýr.
61 Summary: Satatic Electric Fence library
62 Summary(pl): Biblioteka statyczna Electric Fence
63 Group: Development/Debuggers
64 Group(pl): Programowanie/Odpluskwiacze
67 Satatic Electric Fence library.
69 %description -l pl static
70 Biblioteka statyczna Electric Fence.
78 make CFLAGS="$RPM_OPT_FLAGS"
81 rm -rf $RPM_BUILD_ROOT
82 mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib,share/man/man3}
84 make BIN_INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir} \
85 LIB_INSTALL_DIR=$RPM_BUILD_ROOT%{_libdir} \
86 MAN_INSTALL_DIR=$RPM_BUILD_ROOT%{_mandir}/man3 \
89 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
91 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
98 rm -rf $RPM_BUILD_ROOT
101 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_bindir}/ef
104 %attr(755,root,root) %{_libdir}/lib*.so.*.*
108 %defattr(644,root,root,755)