]> git.pld-linux.org Git - packages/ElectricFence.git/blob - ElectricFence.spec
- massive attack: adding Source-md5
[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(no):    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:        13
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 BuildRequires:  autoconf
33 BuildRequires:  automake
34 BuildRequires:  libtool
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 Obsoletes:      libefence0
37
38 %description
39 If you know what malloc() violations are, you'll be interested in
40 ElectricFence. ElectricFence is a tool which can be used for C
41 programming and debugging. It uses the virtual memory hardware of your
42 system to detect when software overruns malloc() buffer boundaries,
43 and/or to detect any accesses of memory released by free().
44 ElectricFence will then stop the program on the first instruction that
45 caused a bounds violation and you can use your favorite debugger to
46 display the offending statement.
47
48 %description -l de
49 Wenn Sie wissen, was malloc()-Verletzungen sind, sind Sie
50 wahrscheinlich an ElectricFence interessiert. ElectricFence ist ein
51 Tool, das zur C- Programmierung und zum Debugging benutzt werden kann.
52 Es benutzt virtuelle Speicherhardware, um zu erkennen, wenn Software
53 malloc()-Buffergrenzen übersteigt, und wenn Speicher mit free()
54 freigegeben wird. ElectricFence beendet das Programm bei der
55 Instruktion, die die Speicherverletzung ausgelöst hat, und Sie können
56 Ihren Lieblingsdebugger benutzen, um den Befehl anzuzeigen.
57
58 %description -l es
59 ElectricFence es una herramienta que puede usarse para programación y
60 depuración en lenguaje C. A través del uso del hardware de memoria
61 virtual del sistema, detecta accesos que sobrepasan los límites de la
62 memoria asignada con malloc(), o acceso a la memoria liberada por
63 free(). En esas situaciones, ElectricFence interrumpe la ejecución del
64 programa en la primera instrucción que causó la violación, y puede
65 usarse un debugger para verificar la causa del problema.
66
67 %description -l fr
68 Electric Fence est une bibliothéque utilisée pour la programmation en
69 C et le débogage. Vous pouvez la lier à la compilation et elle vous
70 avertira des problèmes éventuels de désallocation de mémoire, etc.
71
72 %description -l pl
73 Electric Fence jest bibliotek± pomocn± podczas programowania w jêzyku
74 C i "odpluskwiania". Pakiet zawiera bibliotekê wspó³dzielon±, która
75 mo¿e byæ za³adowana przez zmienn± LD_PRELOAD w trakcie uruchamiania
76 dowolnego programu dziêki temu nie potrzeba linkowaæ z t± bibliotek±
77 ¶ledzonego programu. Pakiet zawiera tak¿e skrypt pow³oki ef, który
78 ³aduje do pamiêci przez LD_PRELOAD bibliotekê libefence i uruchamia
79 program przekazany do tego skryptu jako parametr.
80
81 %description -l pt_BR
82 ElectricFence é uma ferramenta que pode ser usada com programação e
83 depuracao em linguagem C. Através do uso do hardware de memoria
84 virtual do sistema, o ElectricFence detecta acessos além dos limites
85 da memória alocada com malloc(), ou acesso a memória liberada por
86 free(). Nessas situações, o ElectricFence interrompe a execução do
87 programa na primeira instrução que causou a violação, e um debugger
88 pode ser usado para verificar a causa do problema.
89
90 %description -l tr
91 Electric Fence, C'de programlama ve hata ayýklama için kullanýlabilen
92 bir kitaplýktýr. Derleme esnasýnda programýnýza baðlarsanýz, sizi
93 ortaya çýkabilecek sorunlar (var olmayan bir bellek parçasýnýn serbest
94 býrakýlmasý gibi) konusunda uyarýr.
95
96 %package static
97 Summary:        Static Electric Fence library
98 Summary(pl):    Biblioteka statyczna Electric Fence
99 Group:          Development/Debuggers
100 Obsoletes:      libefence0-devel
101
102 %description static
103 Static Electric Fence library.
104
105 %description -l pl static
106 Biblioteka statyczna Electric Fence.
107
108 %prep
109 %setup -q
110 %patch0 -p1
111 %patch1 -p1
112 %patch2 -p1
113 %patch3 -p1
114
115 %build
116 %{__libtoolize}
117 %{__aclocal}
118 %{__autoconf}
119 %{__automake}
120 CFLAGS="%{rpmcflags} -DUSE_SEMAPHORE"
121 %configure
122 %{__make}
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126
127 %{__make} install \
128         DESTDIR=$RPM_BUILD_ROOT
129
130 %post   -p /sbin/ldconfig
131 %postun -p /sbin/ldconfig
132
133 %clean
134 rm -rf $RPM_BUILD_ROOT
135
136 %files
137 %defattr(644,root,root,755)
138 %doc README NEWS
139 %attr(755,root,root) %{_bindir}/ef
140 %attr(755,root,root) %{_libdir}/lib*.so.*.*
141 %attr(755,root,root) %{_libdir}/lib*.so
142 %{_mandir}/man3/*
143
144 %files static
145 %defattr(644,root,root,755)
146 %{_libdir}/lib*.a
This page took 0.069917 seconds and 4 git commands to generate.