]> git.pld-linux.org Git - packages/ElectricFence.git/blame - ElectricFence.spec
Version: 2.2.4 from Debian
[packages/ElectricFence.git] / ElectricFence.spec
CommitLineData
bc6e372b 1Summary: A debugger which detects memory allocation violations
aae32c71
ER
2Summary(cs.UTF-8): Nástroj pro odhalování chyb při alokaci dynamické paměti
3Summary(da.UTF-8): En afluser som finder problemer ved hukommelsesallokering
4Summary(de.UTF-8): Debugger zum Erkennen von Speicherzugriffsverletzungen
5Summary(es.UTF-8): Electric Fence biblioteca de depuración de memoria en C
6Summary(fr.UTF-8): Bibliothèque C de débuggage mémoire Electric Fence
7Summary(id.UTF-8): Debugger untuk menditeksi memory allocation violations
8Summary(is.UTF-8): Aflúsunartól sem finnur villur í minnismeðhöndlun
9Summary(it.UTF-8): Debugger che rileva le violazioni dell'allocazione di memoria
10Summary(ja.UTF-8): メモリ割り当ての侵略を検出するデバッガ
11Summary(nb.UTF-8): Et avlusingsprogram som finner overtramp ved minneallokering
12Summary(pl.UTF-8): Biblioteka do wykrywania błędów alokacji pamięci
13Summary(pt.UTF-8): Um depurador que detecta violações à memória alocada
14Summary(pt_BR.UTF-8): Electric Fence biblioteca de depuração de memória em C
15Summary(ru.UTF-8): Отладчик, выявляющий ошибки в распределении памяти
16Summary(sk.UTF-8): Debugger pre vyhľadávanie chybných prístupov k alokovanej pamäti
17Summary(sl.UTF-8): Razhroščevalnik, ki najde prekoračitve dodeljenega pomnilnika
18Summary(sv.UTF-8): Ett avlusningsprogram som upptäcker minnesallokeringsfel
19Summary(tr.UTF-8): C için bellek hatası ayıklama kitaplığı
20Summary(zh_CN.UTF-8): 一种调试器用于检测内存分配错误
3194fd5c 21Name: ElectricFence
fc314852
JK
22Version: 2.2.4
23Release: 1
348e6e0b 24License: GPL
3194fd5c 25Group: Development/Debuggers
fc314852
JK
26Source0: http://ftp.debian.org/debian/pool/main/e/electric-fence/electric-fence_%{version}.tar.gz
27# Source0-md5: 78197d625452a9bc2d171e47bce0ddff
28Source1: ef.sh
6ef70dd7 29Obsoletes: libefence0
ef6e1574 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3194fd5c 31
32%description
bc6e372b 33If you know what malloc() violations are, you'll be interested in
348e6e0b 34ElectricFence. ElectricFence is a tool which can be used for C
35programming and debugging. It uses the virtual memory hardware of your
36system to detect when software overruns malloc() buffer boundaries,
37and/or to detect any accesses of memory released by free().
38ElectricFence will then stop the program on the first instruction that
39caused a bounds violation and you can use your favorite debugger to
40display the offending statement.
bc6e372b 41
f9746677 42%description -l de.UTF-8
348e6e0b 43Wenn Sie wissen, was malloc()-Verletzungen sind, sind Sie
44wahrscheinlich an ElectricFence interessiert. ElectricFence ist ein
45Tool, das zur C- Programmierung und zum Debugging benutzt werden kann.
46Es benutzt virtuelle Speicherhardware, um zu erkennen, wenn Software
f9746677 47malloc()-Buffergrenzen übersteigt, und wenn Speicher mit free()
348e6e0b 48freigegeben wird. ElectricFence beendet das Programm bei der
f9746677 49Instruktion, die die Speicherverletzung ausgelöst hat, und Sie können
348e6e0b 50Ihren Lieblingsdebugger benutzen, um den Befehl anzuzeigen.
3194fd5c 51
f9746677
JR
52%description -l es.UTF-8
53ElectricFence es una herramienta que puede usarse para programación y
54depuración en lenguaje C. A través del uso del hardware de memoria
55virtual del sistema, detecta accesos que sobrepasan los límites de la
6ef70dd7 56memoria asignada con malloc(), o acceso a la memoria liberada por
f9746677
JR
57free(). En esas situaciones, ElectricFence interrumpe la ejecución del
58programa en la primera instrucción que causó la violación, y puede
6ef70dd7 59usarse un debugger para verificar la causa del problema.
12cfd9c4 60
f9746677
JR
61%description -l fr.UTF-8
62Electric Fence est une bibliothéque utilisée pour la programmation en
63C et le débogage. Vous pouvez la lier à la compilation et elle vous
64avertira des problèmes éventuels de désallocation de mémoire, etc.
65
66%description -l pl.UTF-8
67Electric Fence jest biblioteką pomocną podczas programowania w języku
68C i "odpluskwiania". Pakiet zawiera bibliotekę współdzieloną, która
69może być załadowana przez zmienną LD_PRELOAD w trakcie uruchamiania
70dowolnego programu dzięki temu nie potrzeba konsolidować z tą
71biblioteką śledzonego programu. Pakiet zawiera także skrypt powłoki
72ef, który ładuje do pamięci przez LD_PRELOAD bibliotekę libefence i
4c38886e 73uruchamia program przekazany do tego skryptu jako parametr.
3194fd5c 74
f9746677
JR
75%description -l pt_BR.UTF-8
76ElectricFence é uma ferramenta que pode ser usada com programação e
77depuracao em linguagem C. Através do uso do hardware de memoria
78virtual do sistema, o ElectricFence detecta acessos além dos limites
79da memória alocada com malloc(), ou acesso a memória liberada por
80free(). Nessas situações, o ElectricFence interrompe a execução do
81programa na primeira instrução que causou a violação, e um debugger
6ef70dd7 82pode ser usado para verificar a causa do problema.
12cfd9c4 83
f9746677
JR
84%description -l tr.UTF-8
85Electric Fence, C'de programlama ve hata ayıklama için kullanılabilen
86bir kitaplıktır. Derleme esnasında programınıza bağlarsanız, sizi
87ortaya çıkabilecek sorunlar (var olmayan bir bellek parçasının serbest
88bırakılması gibi) konusunda uyarır.
3194fd5c 89
84f34a6d 90%package static
cc77c990 91Summary: Static Electric Fence library
aae32c71 92Summary(pl.UTF-8): Biblioteka statyczna Electric Fence
84f34a6d 93Group: Development/Debuggers
6ef70dd7 94Obsoletes: libefence0-devel
84f34a6d 95
96%description static
cc77c990 97Static Electric Fence library.
84f34a6d 98
f9746677 99%description static -l pl.UTF-8
84f34a6d 100Biblioteka statyczna Electric Fence.
101
3194fd5c 102%prep
fc314852 103%setup -qn electric-fence-2.2.3
3194fd5c 104
105%build
fc314852
JK
106%{__make} \
107 CFLAGS="%{rpmcflags} -DUSE_SEMAPHORE"
3194fd5c 108
109%install
110rm -rf $RPM_BUILD_ROOT
fc314852 111install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir}/man3}
3194fd5c 112
fc314852
JK
113install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/ef
114install libefence.a $RPM_BUILD_ROOT%{_libdir}
115install libefence.so.0.0 $RPM_BUILD_ROOT%{_libdir}
116ln -s libefence.so.0.0 $RPM_BUILD_ROOT%{_libdir}/libefence.so.0
117ln -s libefence.so.0.0 $RPM_BUILD_ROOT%{_libdir}/libefence.so
118install libefence.3 $RPM_BUILD_ROOT%{_mandir}/man3
3194fd5c 119
cb6a1b68 120%post -p /sbin/ldconfig
121%postun -p /sbin/ldconfig
122
3194fd5c 123%clean
124rm -rf $RPM_BUILD_ROOT
125
126%files
127%defattr(644,root,root,755)
fc314852 128%doc README CHANGES debian/changelog debian/README.debian debian/README.gdb
2e682e0d 129%attr(755,root,root) %{_bindir}/ef
fc314852
JK
130%attr(755,root,root) %{_libdir}/lib*.so.0.0
131%ghost %attr(755,root,root) %{_libdir}/lib*.so.0
d3e3c052 132%attr(755,root,root) %{_libdir}/lib*.so
492723d3 133%{_mandir}/man3/*
3194fd5c 134
84f34a6d 135%files static
136%defattr(644,root,root,755)
0308f226 137%{_libdir}/lib*.a
This page took 0.062144 seconds and 4 git commands to generate.