]> git.pld-linux.org Git - packages/ElectricFence.git/blob - ElectricFence.spec
- added pthread patch from FC, updated ac_am patch (fixes crash on linuxthreads/2...
[packages/ElectricFence.git] / ElectricFence.spec
1 Summary:        A debugger which detects memory allocation violations
2 Summary(cs):    Nástroj pro odhalování chyb pøi alokaci dynamické pamìti
3 Summary(da):    En afluser som finder problemer ved hukommelsesallokering
4 Summary(de):    Debugger zum Erkennen von Speicherzugriffsverletzungen
5 Summary(es):    Electric Fence biblioteca de depuración de memoria en C
6 Summary(fr):    Bibliothèque C de débuggage mémoire Electric Fence
7 Summary(id):    Debugger untuk menditeksi memory allocation violations
8 Summary(is):    Aflúsunartól sem finnur villur í minnismeðhöndlun
9 Summary(it):    Debugger che rileva le violazioni dell'allocazione di memoria
10 Summary(ja):    ¥á¥â¥ê³ä¤êÅö¤Æ¤Î¿¯Î¬¤ò¸¡½Ð¤¹¤ë¥Ç¥Ð¥Ã¥¬
11 Summary(nb):    Et avlusingsprogram som finner overtramp ved minneallokering
12 Summary(pl):    Biblioteka do wykrywania b³êdów alokacji pamiêci
13 Summary(pt):    Um depurador que detecta violações à memória alocada
14 Summary(pt_BR): Electric Fence biblioteca de depuração de memória em C
15 Summary(ru):    ïÔÌÁÄÞÉË, ×ÙÑ×ÌÑÀÝÉÊ ÏÛÉÂËÉ × ÒÁÓÐÒÅÄÅÌÅÎÉÉ ÐÁÍÑÔÉ
16 Summary(sk):    Debugger pre vyhµadávanie chybných prístupov k alokovanej pamäti
17 Summary(sl):    Razhro¹èevalnik, ki najde prekoraèitve dodeljenega pomnilnika
18 Summary(sv):    Ett avlusningsprogram som upptäcker minnesallokeringsfel
19 Summary(tr):    C için bellek hatasý ayýklama kitaplýðý
20 Summary(zh_CN): Ò»ÖÖµ÷ÊÔÆ÷ÓÃÓÚ¼ì²âÄÚ´æ·ÖÅä´íÎó
21 Name:           ElectricFence
22 Version:        2.2.2
23 Release:        15
24 License:        GPL
25 Group:          Development/Debuggers
26 Source0:        ftp://ftp.perens.com/pub/ElectricFence/Beta/%{name}-%{version}.tar.gz
27 # Source0-md5:  56a3cbfdbf65f916988787c789c63e80
28 Patch0:         %{name}-longjmp.patch
29 Patch1:         %{name}-no_bash.spec
30 Patch2:         %{name}-va_arg.patch
31 Patch3:         %{name}-ac_am.patch
32 Patch4:         %{name}-pthread.patch
33 BuildRequires:  autoconf
34 BuildRequires:  automake
35 BuildRequires:  libtool
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 Obsoletes:      libefence0
38
39 %description
40 If you know what malloc() violations are, you'll be interested in
41 ElectricFence. ElectricFence is a tool which can be used for C
42 programming and debugging. It uses the virtual memory hardware of your
43 system to detect when software overruns malloc() buffer boundaries,
44 and/or to detect any accesses of memory released by free().
45 ElectricFence will then stop the program on the first instruction that
46 caused a bounds violation and you can use your favorite debugger to
47 display the offending statement.
48
49 %description -l de
50 Wenn Sie wissen, was malloc()-Verletzungen sind, sind Sie
51 wahrscheinlich an ElectricFence interessiert. ElectricFence ist ein
52 Tool, das zur C- Programmierung und zum Debugging benutzt werden kann.
53 Es benutzt virtuelle Speicherhardware, um zu erkennen, wenn Software
54 malloc()-Buffergrenzen übersteigt, und wenn Speicher mit free()
55 freigegeben wird. ElectricFence beendet das Programm bei der
56 Instruktion, die die Speicherverletzung ausgelöst hat, und Sie können
57 Ihren Lieblingsdebugger benutzen, um den Befehl anzuzeigen.
58
59 %description -l es
60 ElectricFence es una herramienta que puede usarse para programación y
61 depuración en lenguaje C. A través del uso del hardware de memoria
62 virtual del sistema, detecta accesos que sobrepasan los límites de la
63 memoria asignada con malloc(), o acceso a la memoria liberada por
64 free(). En esas situaciones, ElectricFence interrumpe la ejecución del
65 programa en la primera instrucción que causó la violación, y puede
66 usarse un debugger para verificar la causa del problema.
67
68 %description -l fr
69 Electric Fence est une bibliothéque utilisée pour la programmation en
70 C et le débogage. Vous pouvez la lier à la compilation et elle vous
71 avertira des problèmes éventuels de désallocation de mémoire, etc.
72
73 %description -l pl
74 Electric Fence jest bibliotek± pomocn± podczas programowania w jêzyku
75 C i "odpluskwiania". Pakiet zawiera bibliotekê wspó³dzielon±, która
76 mo¿e byæ za³adowana przez zmienn± LD_PRELOAD w trakcie uruchamiania
77 dowolnego programu dziêki temu nie potrzeba konsolidowaæ z t±
78 bibliotek± ¶ledzonego programu. Pakiet zawiera tak¿e skrypt pow³oki
79 ef, który ³aduje do pamiêci przez LD_PRELOAD bibliotekê libefence i
80 uruchamia program przekazany do tego skryptu jako parametr.
81
82 %description -l pt_BR
83 ElectricFence é uma ferramenta que pode ser usada com programação e
84 depuracao em linguagem C. Através do uso do hardware de memoria
85 virtual do sistema, o ElectricFence detecta acessos além dos limites
86 da memória alocada com malloc(), ou acesso a memória liberada por
87 free(). Nessas situações, o ElectricFence interrompe a execução do
88 programa na primeira instrução que causou a violação, e um debugger
89 pode ser usado para verificar a causa do problema.
90
91 %description -l tr
92 Electric Fence, C'de programlama ve hata ayýklama için kullanýlabilen
93 bir kitaplýktýr. Derleme esnasýnda programýnýza baðlarsanýz, sizi
94 ortaya çýkabilecek sorunlar (var olmayan bir bellek parçasýnýn serbest
95 býrakýlmasý gibi) konusunda uyarýr.
96
97 %package static
98 Summary:        Static Electric Fence library
99 Summary(pl):    Biblioteka statyczna Electric Fence
100 Group:          Development/Debuggers
101 Obsoletes:      libefence0-devel
102
103 %description static
104 Static Electric Fence library.
105
106 %description static -l pl
107 Biblioteka statyczna Electric Fence.
108
109 %prep
110 %setup -q
111 %patch0 -p1
112 %patch1 -p1
113 %patch2 -p1
114 %patch3 -p1
115 %patch4 -p1
116
117 %build
118 %{__libtoolize}
119 %{__aclocal}
120 %{__autoconf}
121 %{__autoheader}
122 %{__automake}
123 CFLAGS="%{rpmcflags} -DUSE_SEMAPHORE"
124 %configure
125 %{__make}
126
127 %install
128 rm -rf $RPM_BUILD_ROOT
129
130 %{__make} install \
131         DESTDIR=$RPM_BUILD_ROOT
132
133 %post   -p /sbin/ldconfig
134 %postun -p /sbin/ldconfig
135
136 %clean
137 rm -rf $RPM_BUILD_ROOT
138
139 %files
140 %defattr(644,root,root,755)
141 %doc README NEWS
142 %attr(755,root,root) %{_bindir}/ef
143 %attr(755,root,root) %{_libdir}/lib*.so.*.*
144 %attr(755,root,root) %{_libdir}/lib*.so
145 %{_mandir}/man3/*
146
147 %files static
148 %defattr(644,root,root,755)
149 %{_libdir}/lib*.a
This page took 0.036622 seconds and 4 git commands to generate.