4 # - review %%files (add missing)
8 # - review ucd patches:
10 # -- init_master-libwrap
11 # - /usr/local/bin/perl fix
12 %include /usr/lib/rpm/macros.perl
13 Summary: A collection of SNMP protocol tools
14 Summary(es): Agente SNMP de la UCD
15 Summary(pl): Kolekcja narzêdzi do obs³ugi protoko³u SNMP
16 Summary(pt_BR): Agente SNMP da UCD
17 Summary(ru): îÁÂÏÒ ÕÔÉÌÉÔ ÄÌÑ ÐÒÏÔÏËÏÌÁ SNMP ÏÔ UC-Davis
18 Summary(uk): îÁÂ¦Ò ÕÔÉÌ¦Ô ÄÌÑ ÐÒÏÔÏËÏÌÕ SNMP ×¦Ä UC-Davis
23 Group: Networking/Daemons
24 Source0: http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
25 Source1: %{name}d.init
26 Source2: %{name}d.conf
27 Source3: %{name}d.sysconfig
28 Source4: %{name}trapd.init
29 Source5: %{name}trapd.conf
30 Source6: %{name}trapd.sysconfig
31 Source7: ftp://ucd-snmp.ucdavis.edu/contrib/ucd-ipchains.tar.gz
32 Patch0: %{name}-acinclude.patch
33 Patch1: %{name}-acfix.patch
34 Patch2: %{name}-rpm-implicit-libs.patch
35 Patch3: %{name}-DESTDIR.patch
36 Patch4: %{name}-config-noflags.patch
37 Patch5: %{name}-dlopen-fix.patch
38 Patch6: %{name}-manpage.patch
39 Patch7: %{name}-link.patch
40 URL: http://www.net-snmp.org/
41 BuildRequires: autoconf >= 2.57-3
42 BuildRequires: automake
43 BuildRequires: libtool >= 1.4
44 BuildRequires: libwrap-devel
45 BuildRequires: openssl-devel >= 0.9.7
46 %{!?_without_autodeps:BuildRequires: perl-Term-ReadKey}
47 BuildRequires: perl-devel >= 5.6.1
48 BuildRequires: rpm-devel >= 4.0
49 BuildRequires: rpm-perlprov >= 3.0.3-16
50 PreReq: rc-scripts >= 0.2.0
51 PreReq: %{name}-libs = %{version}
52 Requires(post,preun): /sbin/chkconfig
53 Requires: /usr/bin/setsid
55 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
60 %define logfile /var/log/snmpd.log
63 SNMP (Simple Network Management Protocol) is a protocol used for
64 network management (hence the name). The net-snmp project includes
65 various SNMP tools: an extensible agent, an SNMP library, tools for
66 requesting or setting information from SNMP agents, tools for
67 generating and handling SNMP traps, a version of the netstat command
68 which uses SNMP, and a Tk/Perl mib browser. This package contains the
69 snmpd daemon, documentation, etc.
72 Este paquete se deriva de la implementación del Protocolo Simple de
73 Gestión de Redes versión 2 (SNMPv2) de la Universidad Carnegie Mellon.
74 Útil para administrar redes y hacer contabilidad.
77 SNMP (Simple Network Management Protocol) jest protoko³ej u¿ywanym do
78 zarz±dzania sieciami. Pakiet zawiera narzêdzia: rozbudowywalnego
79 agenta, bibliotekê SNMP, narzêdzia do odpytywania oraz ustawiania
80 informacji poprzez agentów SNMP, narzêdzia do generowania i obs³ugi
81 pu³apek SNMP, wersjê komendy netstat u¿ywaj±c± SNMP, przegl±darkê mib
82 w Tk/Perl, deamona, dokumentacjê itp.
85 Este pacote é derivado da implementação do Protocolo Simples de
86 Gerenciamento de Redes versão 2 (SNMPv2) da Universidade Carnegie
87 Mellon. Útil para gerenciar redes e fazer contabilidade.
90 SNMP (Simple Network Management Protocol) - ÜÔÏ ÐÒÏÔÏËÏÌ, ÉÓÐÏÌØÚÕÅÍÙÊ
91 ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ (ÏÔÓÀÄÁ É ÎÁÚ×ÁÎÉÅ). ðÒÏÅËÔ net-snmp ×ËÌÀÞÁÅÔ
92 ÒÁÚÎÏÏÂÒÁÚÎÙÅ SNMP-ÕÔÉÌÉÔÙ: ÒÁÓÛÉÒÑÅÍÙÊ ÁÇÅÎÔ, ÂÉÂÌÉÏÔÅËÁ SNMP,
93 ÕÔÉÌÉÔÙ ÄÌÑ ÚÁÐÒÏÓÁ ÉÌÉ ÕÓÔÁÎÏ×ËÉ ÉÎÆÏÒÍÁÃÉÉ ÏÔ SNMP-ÁÇÅÎÔÏ×, ÕÔÉÌÉÔÙ
94 ÄÌÑ ÇÅÎÅÒÁÃÉÉ É ÏÂÒÁÂÏÔËÉ SNMP-ÔÒÁÐÏ×, ×ÅÒÓÉÑ ËÏÍÁÎÄÙ netstat,
95 ÉÓÐÏÌØÚÕÀÝÅÊ SNMP, É mib-ÂÒÁÕÚÅÒ ÎÁ Tk/Perl. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ
96 ÄÅÍÏÎÙ snmpd É snmptrapd, ÄÏËÕÍÅÎÔÁÃÉÀ É Ô.Ä.
99 SNMP (Simple Network Management Protocol) - ÃÅ ÐÒÏÔÏËÏÌ, ÑËÉÊ
100 ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÄÌÑ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ (ÚצÄÓÉ ¦ ÎÁÚ×Á). ðÒÏÅËÔ net-snmp
101 ͦÓÔÉÔØ Ò¦ÚÎÏÍÁΦÔΦ SNMP-ÕÔÉ̦ÔÉ: ÒÏÚÛÉÒÀ×ÁÎÉÊ ÁÇÅÎÔ, ¦Â̦ÏÔÅËÁ
102 SNMP, ÕÔÉ̦ÔÉ ÄÌÑ ÚÁÐÒÏÓÕ ÔÁ ×ÓÔÁÎÏ×ÌÅÎÎÑ ¦ÎÆÏÒÍÁæ§ ×¦Ä NMP-ÁÇÅÎÔ¦×,
103 ÕÔÉ̦ÔÉ ÄÌÑ ÇÅÎÅÒÁæ§ ÔÁ ÏÂÒÏÂËÉ SNMP-ÔÒÁЦ×, ×ÅÒÓ¦Ñ ËÏÍÁÎÄÉ netstat,
104 ÑËÁ ×ÉËÏÒÉÓÔÏ×Õ¤ SNMP, ÔÁ mib-ÂÒÁÕÚÅÒ ÎÁ Tk/Perl. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ
105 ÄÅÍÏÎÉ snmpd ÔÁ snmptrapd, ÄÏËÕÍÅÎÔÁæÀ ¦ Ô.¦.
108 Summary: NET SNMP libraries
109 Summary(pl): Biblioteki SNMP
111 Obsoletes: ucd-snmp-libs
112 Requires: %{name}-mibs = %{version}
117 %description libs -l pl
121 Summary: The development environment for the net-snmp project
122 Summary(es): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
123 Summary(pl): Pliki dla programistów u¿ywaj±cych bibliotek net-snmp
124 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
125 Summary(ru): óÒÅÄÁ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
126 Summary(uk): óÅÒÅÄÏ×ÉÝÅ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
127 Group: Development/Libraries
128 Requires: %{name}-libs = %{version}
129 Requires: openssl-devel >= 0.9.7
130 Obsoletes: ucd-snmp-devel
133 The ucd-snmp-devel package contains the development libraries and
134 header files for use with the net-snmp project's network management
137 %description devel -l es
138 Estas son las bibliotecas y archivos de inclusión para desarrollo con
139 el SNMP de la UCD. Con este paquete es posible la creación de
140 programas para uso en la gestión de redes.
142 %description devel -l pl
143 Pakiet zawiera pliki nag³ówkowe i bilioteki potrzebne do rozwoju
144 aplikacji u¿ywaj±cych protoko³u SNMP.
146 %description devel -l pt_BR
147 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
148 com o SNMP da UCD. Com este pacote é possível a criação de programas
149 para uso no gerenciamento de redes.
151 %description devel -l ru
152 ðÁËÅÔ ucd-snmp-devel ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ
153 ÉÓÐÏÌØÚÏ×ÁÎÉÑ Ó ÕÔÉÌÉÔÁÍÉ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÐÒÏÅËÔÁ net-snmp.
155 %description devel -l uk
156 ðÁËÅÔ ucd-snmp-devel ͦÓÔÉÔØ Â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ
157 ×ÉËÏÒÉÓÔÁÎÎÑ Ú ÕÔÉ̦ÔÁÍÉ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ ÐÒÏÅËÔÕ net-snmp.
160 Summary: Static net-snmp libraries
161 Summary(pl): Statyczne biblioteki net-snmp
162 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com ucd-snmp
163 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÁ net-snmp
164 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÕ net-snmp
165 Group: Development/Libraries
166 Requires: %{name}-devel = %{version}
167 Obsoletes: ucd-snmp-static
170 Static net-snmp libraries.
172 %description static -l pl
173 Statyczne biblioteki net-snmp.
175 %description static -l pt_BR
176 Bibliotecas estáticas para desenvolvimento com net-snmp.
179 Summary: UCD SNMP libraries
180 Summary(pl): Biblioteki UCD SNMP
182 Obsoletes: ucd-snmp-libs
183 Requires: %{name}-mibs = %{version}
185 %description compat-libs
188 %description compat-libs -l pl
191 %package compat-devel
192 Summary: The development environment for the UCD-SNMP project
193 Summary(es): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
194 Summary(pl): Pliki dla programistów u¿ywaj±cych bibliotek UCD-SNMP
195 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
196 Summary(ru): óÒÅÄÁ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
197 Summary(uk): óÅÒÅÄÏ×ÉÝÅ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
198 Group: Development/Libraries
199 Requires: %{name}-compat-libs = %{version}
200 Requires: openssl-devel >= 0.9.7
201 Obsoletes: cmu-snmp-devel
202 Obsoletes: ucd-snmp-devel
204 %description compat-devel
205 The ucd-snmp-devel package contains the development libraries and
206 header files for use with the UCD-SNMP project's network management
209 %description compat-devel -l es
210 Estas son las bibliotecas y archivos de inclusión para desarrollo con
211 el SNMP de la UCD. Con este paquete es posible la creación de
212 programas para uso en la gestión de redes.
214 %description compat-devel -l pl
215 Pakiet zawiera pliki nag³ówkowe i bilioteki potrzebne do rozwoju
216 aplikacji u¿ywaj±cych protoko³u SNMP.
218 %description compat-devel -l pt_BR
219 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
220 com o SNMP da UCD. Com este pacote é possível a criação de programas
221 para uso no gerenciamento de redes.
223 %description compat-devel -l ru
224 ðÁËÅÔ ucd-snmp-devel ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ
225 ÉÓÐÏÌØÚÏ×ÁÎÉÑ Ó ÕÔÉÌÉÔÁÍÉ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÐÒÏÅËÔÁ UCD-SNMP.
227 %description compat-devel -l uk
228 ðÁËÅÔ ucd-snmp-devel ͦÓÔÉÔØ Â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ
229 ×ÉËÏÒÉÓÔÁÎÎÑ Ú ÕÔÉ̦ÔÁÍÉ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ ÐÒÏÅËÔÕ UCD-SNMP.
231 %package compat-static
232 Summary: Static UCD-SNMP libraries
233 Summary(pl): Statyczne biblioteki UCD-SNMP
234 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com ucd-snmp
235 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
236 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
237 Group: Development/Libraries
238 Requires: %{name}-compat-devel = %{version}
239 Obsoletes: ucd-snmp-static
241 %description compat-static
242 Static UCD-SNMP libraries.
244 %description compat-static -l pl
245 Statyczne biblioteki UCD-SNMP.
247 %description compat-static -l pt_BR
248 Bibliotecas estáticas para desenvolvimento com ucd-snmp.
251 Summary: MIB database
252 Summary(pl): Baza danych MIB
253 Group: Applications/System
258 %description mibs -l pl
262 Summary: SNMP trap daemon
263 Summary(pl): Demon obs³uguj±cy pu³apki SNMP
264 Group: Applications/System
265 PreReq: %{name} = %{version}
266 PreReq: rc-scripts >= 0.2.0
267 Requires(post,preun): /sbin/chkconfig
268 Obsoletes: cmu-snmp-utils
269 Obsoletes: ucd-snmp-snmptrapd
271 %description snmptrapd
272 The ucd-snmp-snmptrapd package contains snmp trap daemon.
274 %description snmptrapd -l pl
275 Pakiet zawiera demon obs³uguj±cy pu³apki SNMP.
278 Summary: Network management utilities using SNMP, from the NET-SNMP project
279 Summary(es): Utilitarios del SNMP de la UCD
280 Summary(pl): Narzêdzia u¿ywaj±ce protoko³u SNMP
281 Summary(pt_BR): Utilitários do SNMP da UCD
282 Summary(ru): õÔÉÌÉÔÙ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÐÏ SNMP ÉÚ ÐÒÏÅËÔÁ NET-SNMP
283 Summary(uk): õÔÉ̦ÔÉ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ ÐÏ SNMP Ú ÐÒÏÅËÔÕ NET-SNMP
284 Group: Applications/System
285 Requires: %{name}-libs = %{version}
286 Obsoletes: cmu-snmp-utils
287 Obsoletes: ucd-snmp-utils
290 This package contains various utilities for managing your network
291 using the SNMP protocol.
293 %description utils -l es
294 Varios utilitarios para uso con el SNMP de la UCD. Contiene
295 utilitarios como: snmpwalk, snmptest y otros.
297 %description utils -l pl
298 Ró¿nego rodzaju narzêdzia do zarz±dzania sieci± przy u¿yciu protoko³u
301 %description utils -l pt_BR
302 Vários utilitários para uso com o SNMP da UCD. Contém utilitários
303 como: snmpwalk, snmptest e outros.
305 %description utils -l ru
306 ðÁËÅÔ ucd-snmp-utils ÓÏÄÅÒÖÉÔ ÒÁÚÎÏÏÂÒÁÚÎÙÅ ÕÔÉÌÉÔÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ
307 × ÐÒÏÅËÔÅ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ net-snmp.
309 %description utils -l uk
310 ðÁËÅÔ ucd-snmp-utils ͦÓÔÉÔØ Ò¦ÚÎÏÍÁΦÔΦ ÕÔÉ̦ÔÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ ×
311 ÐÒÏÅËÔ¦ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ net-snmp.
313 %package -n perl-SNMP
314 Summary: SNMP and NetSNMP::* Perl modules
315 Summary(pl): Modu³y Perla SNMP oraz NetSNMP::*
316 Group: Development/Languages/Perl
317 Requires: %{name}-libs = %{version}
319 %description -n perl-SNMP
320 SNMP and NetSNMP::* Perl modules - Perl interface to net-snmp.
322 %description -n perl-SNMP -l pl
323 Modu³y Perla SNMP oraz NetSNMP::* - perlowy interfejs do net-snmp.
326 Summary: Perl utilities for network management using SNMP
327 Summary(pl): Perlowe narzêdzia u¿ywaj±ce protoko³u SNMP
328 Group: Applications/System
329 Requires: perl-SNMP = %{version}
330 Obsoletes: cmu-snmp-utils
331 Obsoletes: ucd-snmp-utils-perl
333 %description utils-perl
334 This package contains various Perl utilities for managing your network
335 using the SNMP protocol.
337 %description utils-perl -l pl
338 Perlowe narzêdzia do zarz±dzania sieci± przy u¿yciu protoko³u SNMP.
341 Summary: snmpconf - creating and modifying SNMP configuration files
342 Summary(pl): snmpconf - tworzenie i modyfikowanie plików konfiguracyjnych SNMP
343 Group: Applications/System
344 Requires: %{name} = %{version}
345 Requires: perl-SNMP = %{version}
347 %description snmpconf
348 snmpconf is a simple Perl script that walks you through setting up a
349 configuration file step by step. It should be fairly straight forward
352 %description snmpconf -l pl
353 snmpconf to prosty skrypt Perla pozwalaj±cy na tworzenie pliku
354 konfiguracyjnego krok po kroku. Powinien byæ w miarê prosty w u¿yciu.
357 Summary: MIB browser in TK
358 Summary(pl): Przegl±darka MIB-ów w TK
359 Group: Applications/System
360 Requires: perl-SNMP = %{version}
366 %description tkmib -l pl
367 Przegl±darka MIB-ów w TK.
386 --with-logfile="%{logfile}" \
387 --with-cflags="%{rpmcflags} -I%{_includedir}/rpm" \
388 --with-ldflags="%{rpmldflags}" \
389 --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback " \
390 --with-sys-location="Unknown" \
391 --with-mib-modules="host disman/event-mib smux mibII/mta_sendmail \
392 agentx target misc/ipfwacc tunnel" \
393 --with-libwrap=%{_prefix} \
394 --with-openssl=%{_prefix} \
395 --disable-debugging \
396 --with-persistent-directory="/var/lib/net-snmp" \
399 --with-sys-contact="root@localhost" \
400 --enable-ucd-snmp-compatibility \
402 --with-default-snmp-version=3 \
408 sed -e "s@-L/usr/lib@-L${TDIR}/snmplib/.libs -L${TDIR}/agent/.libs -L${TDIR}/agent/helpers/.libs@" \
409 ../net-snmp-config > net-snmp-config
410 chmod +x net-snmp-config
413 %{__perl} Makefile.PL \
415 OPTIMIZE="%{rpmcflags} -I`pwd`/../include" \
417 # avoid rpaths generated by MakeMaker
418 perl -pi -e 's@LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
423 rm -rf $RPM_BUILD_ROOT
424 install -d $RPM_BUILD_ROOT/{etc/{snmp,rc.d/init.d,sysconfig},/var/log}
426 %{__make} install DESTDIR=$RPM_BUILD_ROOT
428 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
429 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
430 :> $RPM_BUILD_ROOT%{logfile}
432 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
433 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
434 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/snmpd
436 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmptrapd
437 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
438 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
440 #install agent/mibgroup/ipfwchains/IPFWCHAINS-MIB.txt \
441 # $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
445 DESTDIR=$RPM_BUILD_ROOT
446 install -d $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
447 install SNMP/examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
450 rm -rf $RPM_BUILD_ROOT
453 /sbin/chkconfig --add snmpd
454 if [ -f /var/lock/subsys/snmpd ]; then
455 /etc/rc.d/init.d/snmpd restart >&2
457 echo "Run \"/etc/rc.d/init.d/snmpd start\" to start snmpd daemon." >&2
463 if [ "$1" = "0" ]; then
464 if [ -f /var/lock/subsys/snmpd ]; then
465 /etc/rc.d/init.d/snmpd stop >&2
467 /sbin/chkconfig --del snmpd
470 %post libs -p /sbin/ldconfig
471 %postun libs -p /sbin/ldconfig
473 %post compat-libs -p /sbin/ldconfig
474 %postun compat-libs -p /sbin/ldconfig
477 /sbin/chkconfig --add snmptrapd
478 if [ -f /var/lock/subsys/snmptrapd ]; then
479 /etc/rc.d/init.d/snmptrapd restart >&2
481 echo "Run \"/etc/rc.d/init.d/snmptrapd start\" to start snmp trap daemon." >&2
487 if [ "$1" = "0" ]; then
488 if [ -f /var/lock/subsys/snmptrapd ]; then
489 /etc/rc.d/init.d/snmptrapd stop >&2
491 /sbin/chkconfig --del snmptrapd
495 %defattr(644,root,root,755)
497 %doc ChangeLog EXAMPLE.conf.def EXAMPLE.conf
498 %doc FAQ NEWS PORTING README.snmpv3 TODO AGENT.txt
500 %attr(754,root,root) /etc/rc.d/init.d/snmpd
501 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/snmpd
503 %dir %{_sysconfdir}/snmp
504 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/snmp/snmpd.conf
505 %attr(640,root,root) %config(missingok,noreplace) %verify(not md5 size mtime) %{_sysconfdir}/snmp/snmpd.local.conf
507 %attr(755,root,root) %{_sbindir}/snmpd
509 %{_mandir}/man5/snmpd.conf.5*
510 %{_mandir}/man5/variables.5*
511 %{_mandir}/man8/snmpd.8*
513 %attr(640,root,root) %ghost %{logfile}
516 %defattr(644,root,root,755)
517 %attr(755,root,root) %{_libdir}/libnet*.so.*.*
520 %defattr(644,root,root,755)
521 %attr(755,root,root) %{_bindir}/mib2c
522 %attr(755,root,root) %{_bindir}/net-snmp-config
523 %attr(755,root,root) %{_libdir}/libnet*[a-z].so
524 %{_libdir}/libnet*.la
525 %{_includedir}/net-snmp
526 %{_datadir}/snmp/mib2c*
527 %{_mandir}/man1/mib2c.1*
531 %defattr(644,root,root,755)
535 %defattr(644,root,root,755)
536 %attr(755,root,root) %{_libdir}/libsnmp.so.*.*
539 %defattr(644,root,root,755)
540 %attr(755,root,root) %{_libdir}/libsnmp.so
541 %{_libdir}/libsnmp.la
542 %{_includedir}/ucd-snmp
545 %defattr(644,root,root,755)
549 %defattr(644,root,root,755)
550 %dir %{_datadir}/snmp
551 %{_datadir}/snmp/mibs
554 %defattr(644,root,root,755)
555 %attr(755,root,root) %{_sbindir}/snmptrapd
556 %attr(754,root,root) /etc/rc.d/init.d/snmptrapd
557 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/snmptrapd
558 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/snmp/snmptrapd.conf
559 %{_mandir}/man5/snmptrapd.conf.5*
560 %{_mandir}/man8/snmptrapd.8*
563 %defattr(644,root,root,755)
564 %attr(755,root,root) %{_bindir}/encode_keychange
565 %attr(755,root,root) %{_bindir}/snmpbulkget
566 %attr(755,root,root) %{_bindir}/snmpbulkwalk
567 %attr(755,root,root) %{_bindir}/snmpdelta
568 %attr(755,root,root) %{_bindir}/snmpget
569 %attr(755,root,root) %{_bindir}/snmpgetnext
570 %attr(755,root,root) %{_bindir}/snmpnetstat
571 %attr(755,root,root) %{_bindir}/snmpset
572 %attr(755,root,root) %{_bindir}/snmpstatus
573 %attr(755,root,root) %{_bindir}/snmptable
574 %attr(755,root,root) %{_bindir}/snmptest
575 %attr(755,root,root) %{_bindir}/snmptranslate
576 %attr(755,root,root) %{_bindir}/snmptrap
577 %attr(755,root,root) %{_bindir}/snmpusm
578 %attr(755,root,root) %{_bindir}/snmpwalk
579 %attr(755,root,root) %{_bindir}/snmpdf
580 %attr(755,root,root) %{_bindir}/snmpinform
581 %attr(755,root,root) %{_bindir}/snmpvacm
583 #%%{_datadir}/snmp/snmpconf/snmp.conf
585 %{_mandir}/man1/snmpbulkget.1*
586 %{_mandir}/man1/snmpbulkwalk.1*
587 %{_mandir}/man1/snmpcmd.1*
588 %{_mandir}/man1/snmpdelta.1*
589 %{_mandir}/man1/snmpget.1*
590 %{_mandir}/man1/snmpgetnext.1*
591 %{_mandir}/man1/snmpnetstat.1*
592 %{_mandir}/man1/snmpset.1*
593 %{_mandir}/man1/snmpstatus.1*
594 %{_mandir}/man1/snmptable.1*
595 %{_mandir}/man1/snmptest.1*
596 %{_mandir}/man1/snmptranslate.1*
597 %{_mandir}/man1/snmptrap.1*
598 %{_mandir}/man1/snmpusm.1*
599 %{_mandir}/man1/snmpwalk.1*
600 %{_mandir}/man1/snmpdf.1*
601 %{_mandir}/man1/snmpinform.1*
602 %{_mandir}/man5/snmp.conf.5*
603 %{_mandir}/man5/snmp_config.5*
606 %defattr(644,root,root,755)
607 %doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
608 %{perl_vendorarch}/SNMP.pm
609 %{perl_vendorarch}/NetSNMP
610 %dir %{perl_vendorarch}/auto/SNMP
611 %{perl_vendorarch}/auto/SNMP/autosplit.ix
612 %{perl_vendorarch}/auto/SNMP/SNMP.bs
613 %attr(755,root,root) %{perl_vendorarch}/auto/SNMP/SNMP.so
614 %dir %{perl_vendorarch}/auto/NetSNMP
615 %dir %{perl_vendorarch}/auto/NetSNMP/*
616 %{perl_vendorarch}/auto/NetSNMP/*/autosplit.ix
617 %{perl_vendorarch}/auto/NetSNMP/*/*.bs
618 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/*/*.so
619 %dir %{perl_vendorarch}/auto/NetSNMP/agent/default_store
620 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/autosplit.ix
621 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.bs
622 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.so
623 %{_mandir}/man3/NetSNMP::*.3*
624 %{_mandir}/man3/SNMP.3*
625 %{_examplesdir}/perl-SNMP-%{version}
628 %defattr(644,root,root,755)
629 %attr(755,root,root) %{_bindir}/snmpcheck
630 %attr(755,root,root) %{_bindir}/traptoemail
633 %attr(755,root,root) %{_bindir}/snmpconf
634 %{_mandir}/man1/snmpconf.1*
635 %{_datadir}/snmp/snmpconf-data
638 %defattr(644,root,root,755)
639 %attr(0755,root,root) %{_bindir}/tkmib