]>
Commit | Line | Data |
---|---|---|
bc6e372b | 1 | Summary: A debugger which detects memory allocation violations |
aae32c71 ER |
2 | Summary(cs.UTF-8): Nástroj pro odhalování chyb při alokaci dynamické paměti |
3 | Summary(da.UTF-8): En afluser som finder problemer ved hukommelsesallokering | |
4 | Summary(de.UTF-8): Debugger zum Erkennen von Speicherzugriffsverletzungen | |
5 | Summary(es.UTF-8): Electric Fence biblioteca de depuración de memoria en C | |
6 | Summary(fr.UTF-8): Bibliothèque C de débuggage mémoire Electric Fence | |
7 | Summary(id.UTF-8): Debugger untuk menditeksi memory allocation violations | |
8 | Summary(is.UTF-8): Aflúsunartól sem finnur villur í minnismeðhöndlun | |
9 | Summary(it.UTF-8): Debugger che rileva le violazioni dell'allocazione di memoria | |
10 | Summary(ja.UTF-8): メモリ割り当ての侵略を検出するデバッガ | |
11 | Summary(nb.UTF-8): Et avlusingsprogram som finner overtramp ved minneallokering | |
12 | Summary(pl.UTF-8): Biblioteka do wykrywania błędów alokacji pamięci | |
13 | Summary(pt.UTF-8): Um depurador que detecta violações à memória alocada | |
14 | Summary(pt_BR.UTF-8): Electric Fence biblioteca de depuração de memória em C | |
15 | Summary(ru.UTF-8): Отладчик, выявляющий ошибки в распределении памяти | |
16 | Summary(sk.UTF-8): Debugger pre vyhľadávanie chybných prístupov k alokovanej pamäti | |
17 | Summary(sl.UTF-8): Razhroščevalnik, ki najde prekoračitve dodeljenega pomnilnika | |
18 | Summary(sv.UTF-8): Ett avlusningsprogram som upptäcker minnesallokeringsfel | |
19 | Summary(tr.UTF-8): C için bellek hatası ayıklama kitaplığı | |
20 | Summary(zh_CN.UTF-8): 一种调试器用于检测内存分配错误 | |
3194fd5c | 21 | Name: ElectricFence |
ca45e4a0 | 22 | Version: 2.2.2 |
1877a3e7 | 23 | Release: 16 |
348e6e0b | 24 | License: GPL |
3194fd5c | 25 | Group: Development/Debuggers |
d3282857 | 26 | Source0: ftp://ftp.perens.com/pub/ElectricFence/Beta/%{name}-%{version}.tar.gz |
dbe25b8e | 27 | # Source0-md5: 56a3cbfdbf65f916988787c789c63e80 |
30260151 | 28 | Patch0: %{name}-longjmp.patch |
ef6e1574 | 29 | Patch1: %{name}-no_bash.patch |
30260151 | 30 | Patch2: %{name}-va_arg.patch |
31 | Patch3: %{name}-ac_am.patch | |
2a4a15b4 | 32 | Patch4: %{name}-pthread.patch |
30260151 | 33 | BuildRequires: autoconf |
34 | BuildRequires: automake | |
35 | BuildRequires: libtool | |
6ef70dd7 | 36 | Obsoletes: libefence0 |
ef6e1574 | 37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3194fd5c | 38 | |
39 | %description | |
bc6e372b | 40 | If you know what malloc() violations are, you'll be interested in |
348e6e0b | 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. | |
bc6e372b | 48 | |
f9746677 | 49 | %description -l de.UTF-8 |
348e6e0b | 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 | |
f9746677 | 54 | malloc()-Buffergrenzen übersteigt, und wenn Speicher mit free() |
348e6e0b | 55 | freigegeben wird. ElectricFence beendet das Programm bei der |
f9746677 | 56 | Instruktion, die die Speicherverletzung ausgelöst hat, und Sie können |
348e6e0b | 57 | Ihren Lieblingsdebugger benutzen, um den Befehl anzuzeigen. |
3194fd5c | 58 | |
f9746677 JR |
59 | %description -l es.UTF-8 |
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 | |
6ef70dd7 | 63 | memoria asignada con malloc(), o acceso a la memoria liberada por |
f9746677 JR |
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 | |
6ef70dd7 | 66 | usarse un debugger para verificar la causa del problema. |
12cfd9c4 | 67 | |
f9746677 JR |
68 | %description -l fr.UTF-8 |
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.UTF-8 | |
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 | |
4c38886e | 80 | uruchamia program przekazany do tego skryptu jako parametr. |
3194fd5c | 81 | |
f9746677 JR |
82 | %description -l pt_BR.UTF-8 |
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 | |
6ef70dd7 | 89 | pode ser usado para verificar a causa do problema. |
12cfd9c4 | 90 | |
f9746677 JR |
91 | %description -l tr.UTF-8 |
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. | |
3194fd5c | 96 | |
84f34a6d | 97 | %package static |
cc77c990 | 98 | Summary: Static Electric Fence library |
aae32c71 | 99 | Summary(pl.UTF-8): Biblioteka statyczna Electric Fence |
84f34a6d | 100 | Group: Development/Debuggers |
6ef70dd7 | 101 | Obsoletes: libefence0-devel |
84f34a6d | 102 | |
103 | %description static | |
cc77c990 | 104 | Static Electric Fence library. |
84f34a6d | 105 | |
f9746677 | 106 | %description static -l pl.UTF-8 |
84f34a6d | 107 | Biblioteka statyczna Electric Fence. |
108 | ||
3194fd5c | 109 | %prep |
110 | %setup -q | |
111 | %patch0 -p1 | |
cb6a1b68 | 112 | %patch1 -p1 |
d3282857 | 113 | %patch2 -p1 |
30260151 | 114 | %patch3 -p1 |
2a4a15b4 | 115 | %patch4 -p1 |
3194fd5c | 116 | |
117 | %build | |
0f91eed8 | 118 | %{__libtoolize} |
32d205fc | 119 | %{__aclocal} |
0ddb0799 | 120 | %{__autoconf} |
2a4a15b4 | 121 | %{__autoheader} |
0ddb0799 | 122 | %{__automake} |
ef242460 | 123 | CFLAGS="%{rpmcflags} -DUSE_SEMAPHORE" |
30260151 | 124 | %configure |
125 | %{__make} | |
3194fd5c | 126 | |
127 | %install | |
128 | rm -rf $RPM_BUILD_ROOT | |
3194fd5c | 129 | |
cc77c990 | 130 | %{__make} install \ |
30260151 | 131 | DESTDIR=$RPM_BUILD_ROOT |
3194fd5c | 132 | |
cb6a1b68 | 133 | %post -p /sbin/ldconfig |
134 | %postun -p /sbin/ldconfig | |
135 | ||
3194fd5c | 136 | %clean |
137 | rm -rf $RPM_BUILD_ROOT | |
138 | ||
139 | %files | |
140 | %defattr(644,root,root,755) | |
f0150742 | 141 | %doc README NEWS |
2e682e0d | 142 | %attr(755,root,root) %{_bindir}/ef |
0308f226 | 143 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
d3e3c052 | 144 | %attr(755,root,root) %{_libdir}/lib*.so |
492723d3 | 145 | %{_mandir}/man3/* |
3194fd5c | 146 | |
84f34a6d | 147 | %files static |
148 | %defattr(644,root,root,755) | |
0308f226 | 149 | %{_libdir}/lib*.a |