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