2 # - Summary and %%description in all packages
6 # - review %%files (add missing)
10 # - review ucd patches:
11 # -- link_libsnmp_with_libcrypto
14 # -- include-netinet_in_h
19 # -- init_master-libwrap
20 %include /usr/lib/rpm/macros.perl
21 Summary: A collection of SNMP protocol tools
22 Summary(es): Agente SNMP de la UCD
23 Summary(pl): Kolekcja narzêdzi do obs³ugi protoko³u SNMP
24 Summary(pt_BR): Agente SNMP da UCD
25 Summary(ru): îÁÂÏÒ ÕÔÉÌÉÔ ÄÌÑ ÐÒÏÔÏËÏÌÁ SNMP ÏÔ UC-Davis
26 Summary(uk): îÁÂ¦Ò ÕÔÉÌ¦Ô ÄÌÑ ÐÒÏÔÏËÏÌÕ SNMP ×¦Ä UC-Davis
31 Group: Networking/Daemons
32 Source0: http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
33 Source1: %{name}d.init
34 Source2: %{name}d.conf
35 Source3: %{name}d.sysconfig
36 Source4: %{name}trapd.init
37 Source5: %{name}trapd.conf
38 Source6: %{name}trapd.sysconfig
39 Source7: ftp://ucd-snmp.ucdavis.edu/contrib/ucd-ipchains.tar.gz
40 Patch0: %{name}-acinclude.patch
41 Patch1: %{name}-acfix.patch
42 Patch2: %{name}-rpm-implicit-libs.patch
43 Patch3: %{name}-DESTDIR.patch
44 URL: http://www.net-snmp.org/
45 BuildRequires: autoconf >= 2.57-3
46 BuildRequires: automake
47 BuildRequires: libtool >= 1.4
48 BuildRequires: libwrap-devel
49 BuildRequires: openssl-devel >= 0.9.7
50 BuildRequires: perl-devel >= 5.6.1
51 BuildRequires: rpm-devel >= 4.0
52 BuildRequires: rpm-perlprov >= 3.0.3-16
53 PreReq: rc-scripts >= 0.2.0
54 PreReq: %{name}-libs = %{version}
55 Requires(post,preun): /sbin/chkconfig
56 Requires: /usr/bin/setsid
58 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
63 %define _sysconfdir /etc
64 %define logfile /var/log/snmpd.log
67 SNMP (Simple Network Management Protocol) is a protocol used for
68 network management (hence the name). The UCD-SNMP project includes
69 various SNMP tools: an extensible agent, an SNMP library, tools for
70 requesting or setting information from SNMP agents, tools for
71 generating and handling SNMP traps, a version of the netstat command
72 which uses SNMP, and a Tk/Perl mib browser. This package contains the
73 snmpd daemon, documentation, etc.
75 Install the ucd-snmp package if you need network management tools. You
76 will probably also want to install the ucd-snmp-utils package, which
77 contains UCD-SNMP utilities.
80 Este paquete se deriva de la implementación del Protocolo Simple de
81 Gestión de Redes versión 2 (SNMPv2) de la Universidad Carnegie Mellon.
82 Útil para administrar redes y hacer contabilidad.
85 SNMP (Simple Network Management Protocol) jest protoko³ej u¿ywanym do
86 zarz±dzania sieciami. Pakiet zawiera narzêdzia: rozbudowywalnego
87 agenta, bibliotekê SNMP, narzêdzia do odpytywania oraz ustawiania
88 informacji poprzez agentów SNMP, narzêdzia do generowania i obs³ugi
89 pu³apek SNMP, wersjê komendy netstat u¿ywaj±c± SNMP, przegl±darkê mib
90 w Tk/Perl, deamona, dokumentacjê itp.
93 Este pacote é derivado da implementação do Protocolo Simples de
94 Gerenciamento de Redes versão 2 (SNMPv2) da Universidade Carnegie
95 Mellon. Útil para gerenciar redes e fazer contabilidade.
98 SNMP (Simple Network Management Protocol) - ÜÔÏ ÐÒÏÔÏËÏÌ, ÉÓÐÏÌØÚÕÅÍÙÊ
99 ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ (ÏÔÓÀÄÁ É ÎÁÚ×ÁÎÉÅ). ðÒÏÅËÔ UCD-SNMP ×ËÌÀÞÁÅÔ
100 ÒÁÚÎÏÏÂÒÁÚÎÙÅ SNMP-ÕÔÉÌÉÔÙ: ÒÁÓÛÉÒÑÅÍÙÊ ÁÇÅÎÔ, ÂÉÂÌÉÏÔÅËÁ SNMP,
101 ÕÔÉÌÉÔÙ ÄÌÑ ÚÁÐÒÏÓÁ ÉÌÉ ÕÓÔÁÎÏ×ËÉ ÉÎÆÏÒÍÁÃÉÉ ÏÔ SNMP-ÁÇÅÎÔÏ×, ÕÔÉÌÉÔÙ
102 ÄÌÑ ÇÅÎÅÒÁÃÉÉ É ÏÂÒÁÂÏÔËÉ SNMP-ÔÒÁÐÏ×, ×ÅÒÓÉÑ ËÏÍÁÎÄÙ netstat,
103 ÉÓÐÏÌØÚÕÀÝÅÊ SNMP, É mib-ÂÒÁÕÚÅÒ ÎÁ Tk/Perl. üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ
104 ÄÅÍÏÎÙ snmpd É snmptrapd, ÄÏËÕÍÅÎÔÁÃÉÀ É Ô.Ä.
107 SNMP (Simple Network Management Protocol) - ÃÅ ÐÒÏÔÏËÏÌ, ÑËÉÊ
108 ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÄÌÑ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ (ÚצÄÓÉ ¦ ÎÁÚ×Á). ðÒÏÅËÔ UCD-SNMP
109 ͦÓÔÉÔØ Ò¦ÚÎÏÍÁΦÔΦ SNMP-ÕÔÉ̦ÔÉ: ÒÏÚÛÉÒÀ×ÁÎÉÊ ÁÇÅÎÔ, ¦Â̦ÏÔÅËÁ
110 SNMP, ÕÔÉ̦ÔÉ ÄÌÑ ÚÁÐÒÏÓÕ ÔÁ ×ÓÔÁÎÏ×ÌÅÎÎÑ ¦ÎÆÏÒÍÁæ§ ×¦Ä NMP-ÁÇÅÎÔ¦×,
111 ÕÔÉ̦ÔÉ ÄÌÑ ÇÅÎÅÒÁæ§ ÔÁ ÏÂÒÏÂËÉ SNMP-ÔÒÁЦ×, ×ÅÒÓ¦Ñ ËÏÍÁÎÄÉ netstat,
112 ÑËÁ ×ÉËÏÒÉÓÔÏ×Õ¤ SNMP, ÔÁ mib-ÂÒÁÕÚÅÒ ÎÁ Tk/Perl. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ
113 ÄÅÍÏÎÉ snmpd ÔÁ snmptrapd, ÄÏËÕÍÅÎÔÁæÀ ¦ Ô.¦.
116 Summary: NET SNMP libraries
117 Summary(pl): Biblioteki SNMP
119 Obsoletes: ucd-snmp-libs
120 Requires: %{name}-mibs = %{version}
125 %description libs -l pl
129 Summary: UCD SNMP libraries
130 Summary(pl): Biblioteki SNMP
132 Obsoletes: ucd-snmp-libs
133 Requires: %{name}-mibs = %{version}
135 %description compat-libs
138 %description compat-libs -l pl
142 Summary: MIB database
143 Group: Applications/System
149 Summary: Network management utilities using SNMP, from the NET-SNMP project
150 Summary(es): Utilitarios del SNMP de la UCD
151 Summary(pl): Narzêdzia u¿ywaj±ce protoko³u SNMP
152 Summary(pt_BR): Utilitários do SNMP da UCD
153 Summary(ru): õÔÉÌÉÔÙ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÐÏ SNMP ÉÚ ÐÒÏÅËÔÁ NET-SNMP
154 Summary(uk): õÔÉ̦ÔÉ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ ÐÏ SNMP Ú ÐÒÏÅËÔÕ NET-SNMP
155 Group: Applications/System
156 Requires: %{name}-libs = %{version}
157 Obsoletes: cmu-snmp-utils
158 Obsoletes: ucd-snmp-utils
161 The ucd-snmp package contains various utilities for use with the
162 UCD-SNMP network management project.
164 Install this package if you need utilities for managing your network
165 using the SNMP protocol. You'll also need to install the ucd-snmp
168 %description utils -l es
169 Varios utilitarios para uso con el SNMP de la UCD. Contiene
170 utilitarios como: snmpwalk, snmptest y otros.
172 %description utils -l pl
173 Ró¿nego rodzaju narzêdzia do u¿ytku z programem %{name}.
175 %description utils -l pt_BR
176 Vários utilitários para uso com o SNMP da UCD. Contém utilitários
177 como: snmpwalk, snmptest e outros.
179 %description utils -l ru
180 ðÁËÅÔ ucd-snmp-utils ÓÏÄÅÒÖÉÔ ÒÁÚÎÏÏÂÒÁÚÎÙÅ ÕÔÉÌÉÔÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ
181 × ÐÒÏÅËÔÅ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ UCD-SNMP.
183 %description utils -l uk
184 ðÁËÅÔ ucd-snmp-utils ͦÓÔÉÔØ Ò¦ÚÎÏÍÁΦÔΦ ÕÔÉ̦ÔÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ ×
185 ÐÒÏÅËÔ¦ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ UCD-SNMP.
188 Summary: Network management utilities using SNMP, from the UCD-SNMP project
189 Summary(pl): Narzêdzia u¿ywaj±ce protoko³u SNMP
190 Group: Applications/System
191 Requires: %{name} = %{version}
192 Requires: perl-Term-ReadKey
194 Obsoletes: cmu-snmp-utils
195 Obsoletes: ucd-snmp-utils-perl
197 %description utils-perl
198 The ucd-snmp package contains various utilities for use with the
199 UCD-SNMP network management project.
201 Install this package if you need utilities for managing your network
202 using the SNMP protocol. You'll also need to install the ucd-snmp
205 %description utils-perl -l pl
206 Ró¿nego rodzaju narzêdzia do u¿ytku z programem %{name}.
209 Summary: SNMP trap daemon
210 Summary(pl): Demon obs³uguj±cy pu³apki SNMP
211 Group: Applications/System
212 PreReq: %{name} = %{version}
213 Requires(post,preun): /sbin/chkconfig
214 Requires: rc-scripts >= 0.2.0
215 Obsoletes: cmu-snmp-utils
216 Obsoletes: ucd-snmp-snmptrapd
218 %description snmptrapd
219 The ucd-snmp-snmptrapd package contains snmp trap daemon.
221 %description snmptrapd -l pl
222 Pakiet zawiera demon obs³uguj±cy pu³apki SNMP.
225 Summary: The development environment for the UCD-SNMP project
226 Summary(es): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
227 Summary(pl): Pliki dla developerów u¿ywaj±cych %{name}
228 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
229 Summary(ru): óÒÅÄÁ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
230 Summary(uk): óÅÒÅÄÏ×ÉÝÅ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
231 Group: Development/Libraries
232 Requires: %{name}-libs = %{version}
233 Requires: openssl-devel >= 0.9.7
234 Obsoletes: ucd-snmp-devel
237 The ucd-snmp-devel package contains the development libraries and
238 header files for use with the UCD-SNMP project's network management
241 Install the ucd-snmp-devel package if you would like to develop
242 applications for use with the UCD-SNMP project's network management
243 tools. You'll also need to have the ucd-snmp and ucd-snmp-utils
246 %description devel -l es
247 Estas son las bibliotecas y archivos de inclusión para desarrollo con
248 el SNMP de la UCD. Con este paquete es posible la creación de
249 programas para uso en la gestión de redes.
251 %description devel -l pl
252 Pakiet zawiera pliki nag³ówkowe i bilioteki potrzebne do rozwoju
253 aplikacji u¿ywaj±cych protoko³u SNMP.
255 %description devel -l pt_BR
256 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
257 com o SNMP da UCD. Com este pacote é possível a criação de programas
258 para uso no gerenciamento de redes.
260 %description devel -l ru
261 ðÁËÅÔ ucd-snmp-devel ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ
262 ÉÓÐÏÌØÚÏ×ÁÎÉÑ Ó ÕÔÉÌÉÔÁÍÉ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÐÒÏÅËÔÁ UCD-SNMP.
264 %description devel -l uk
265 ðÁËÅÔ ucd-snmp-devel ͦÓÔÉÔØ Â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ
266 ×ÉËÏÒÉÓÔÁÎÎÑ Ú ÕÔÉ̦ÔÁÍÉ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ ÐÒÏÅËÔÕ UCD-SNMP.
269 Summary: Static UCD-SNMP libraries
270 Summary(es): Static libraries for ucd-snmp development
271 Summary(pl): Statyczne biblioteki %{name}
272 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com ucd-snmp
273 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
274 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
275 Group: Development/Libraries
276 Requires: %{name}-devel = %{version}
277 Obsoletes: ucd-snmp-static
280 Static UCD-SNMP libraries.
282 %description static -l es
283 Static libraries for ucd-snmp development
285 %description static -l pl
286 Statyczne biblioteki %{name}.
288 %description static -l pt_BR
289 Bibliotecas estáticas para desenvolvimento com ucd-snmp
291 %package compat-devel
292 Summary: The development environment for the UCD-SNMP project
293 Summary(es): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
294 Summary(pl): Pliki dla developerów u¿ywaj±cych %{name}
295 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
296 Summary(ru): óÒÅÄÁ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
297 Summary(uk): óÅÒÅÄÏ×ÉÝÅ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
298 Group: Development/Libraries
299 Requires: %{name}-compat-libs = %{version}
300 Requires: openssl-devel >= 0.9.7
301 Obsoletes: cmu-snmp-devel
302 Obsoletes: ucd-snmp-devel
304 %description compat-devel
305 The ucd-snmp-devel package contains the development libraries and
306 header files for use with the UCD-SNMP project's network management
309 Install the ucd-snmp-devel package if you would like to develop
310 applications for use with the UCD-SNMP project's network management
311 tools. You'll also need to have the ucd-snmp and ucd-snmp-utils
314 %description compat-devel -l es
315 Estas son las bibliotecas y archivos de inclusión para desarrollo con
316 el SNMP de la UCD. Con este paquete es posible la creación de
317 programas para uso en la gestión de redes.
319 %description compat-devel -l pl
320 Pakiet zawiera pliki nag³ówkowe i bilioteki potrzebne do rozwoju
321 aplikacji u¿ywaj±cych protoko³u SNMP.
323 %description compat-devel -l pt_BR
324 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
325 com o SNMP da UCD. Com este pacote é possível a criação de programas
326 para uso no gerenciamento de redes.
328 %description compat-devel -l ru
329 ðÁËÅÔ ucd-snmp-devel ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ
330 ÉÓÐÏÌØÚÏ×ÁÎÉÑ Ó ÕÔÉÌÉÔÁÍÉ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÐÒÏÅËÔÁ UCD-SNMP.
332 %description compat-devel -l uk
333 ðÁËÅÔ ucd-snmp-devel ͦÓÔÉÔØ Â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ
334 ×ÉËÏÒÉÓÔÁÎÎÑ Ú ÕÔÉ̦ÔÁÍÉ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ ÐÒÏÅËÔÕ UCD-SNMP.
336 %package compat-static
337 Summary: Static UCD-SNMP libraries
338 Summary(es): Static libraries for ucd-snmp development
339 Summary(pl): Statyczne biblioteki %{name}
340 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com ucd-snmp
341 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
342 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
343 Group: Development/Libraries
344 Requires: %{name}-compat-devel = %{version}
345 Obsoletes: ucd-snmp-static
347 %description compat-static
348 Static UCD-SNMP libraries.
350 %description compat-static -l es
351 Static libraries for ucd-snmp development
353 %description compat-static -l pl
354 Statyczne biblioteki %{name}.
356 %description compat-static -l pt_BR
357 Bibliotecas estáticas para desenvolvimento com ucd-snmp
361 Group: Applications/System
363 %description snmpconf
367 Summary: MIB browser in TK
368 Group: Applications/System
387 --with-logfile="%{logfile}" \
388 --with-cflags="%{rpmcflags} -I%{_includedir}/rpm" \
389 --with-ldflags="%{rpmldflags}" \
390 --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback " \
391 --with-sys-location="Unknown" \
392 --with-mib-modules="host disman/event-mib smux mibII/mta_sendmail \
393 agentx target misc/ipfwacc tunnel" \
394 --with-libwrap=%{_prefix} \
395 --with-openssl=%{_prefix} \
396 --disable-debugging \
397 --with-persistent-directory="/var/lib/net-snmp" \
400 --with-sys-contact="root@localhost" \
401 --enable-ucd-snmp-compatibility \
403 --with-default-snmp-version=3 \
408 # symlinks to allow build perl module w/o installed ucd-snmp
409 #ln -sf snmplib ucd-snmp
410 #ln -sf ../ucd-snmp-config.h ucd-snmp/ucd-snmp-config.h
412 #echo "%{_datadir}/snmp/mibs" | perl Makefile.PL
413 #%{__make} OPTIMIZE="%{rpmcflags}"
416 rm -rf $RPM_BUILD_ROOT
417 install -d $RPM_BUILD_ROOT/{etc/{snmp,rc.d/init.d,sysconfig},/var/log}
419 %{__make} install DESTDIR=$RPM_BUILD_ROOT
421 #install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
422 #:> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
423 :> $RPM_BUILD_ROOT%{logfile}
425 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
426 #install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
427 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/snmpd
429 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmptrapd
430 #install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
431 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
433 #install agent/mibgroup/ipfwchains/IPFWCHAINS-MIB.txt \
434 # $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
437 #%{__make} install DESTDIR=$RPM_BUILD_ROOT
440 rm -rf $RPM_BUILD_ROOT
443 /sbin/chkconfig --add snmpd
444 if [ -f /var/lock/subsys/snmpd ]; then
445 /etc/rc.d/init.d/snmpd restart >&2
447 echo "Run \"/etc/rc.d/init.d/snmpd start\" to start snmpd daemon." >&2
453 if [ "$1" = "0" ]; then
454 if [ -f /var/lock/subsys/snmpd ]; then
455 /etc/rc.d/init.d/snmpd stop >&2
457 /sbin/chkconfig --del snmpd
460 %post libs -p /sbin/ldconfig
461 %postun libs -p /sbin/ldconfig
464 /sbin/chkconfig --add snmptrapd
465 if [ -f /var/lock/subsys/snmptrapd ]; then
466 /etc/rc.d/init.d/snmptrapd restart >&2
468 echo "Run \"/etc/rc.d/init.d/snmptrapd start\" to start snmp trap daemon." >&2
474 if [ "$1" = "0" ]; then
475 if [ -f /var/lock/subsys/snmptrapd ]; then
476 /etc/rc.d/init.d/snmptrapd stop >&2
478 /sbin/chkconfig --del snmptrapd
482 %defattr(644,root,root,755)
484 %doc ChangeLog EXAMPLE.conf.def EXAMPLE.conf
485 %doc FAQ NEWS PORTING README.snmpv3 TODO AGENT.txt
487 %attr(754,root,root) /etc/rc.d/init.d/snmpd
488 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/snmpd
490 %dir %{_sysconfdir}/snmp
491 #%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/snmp/snmpd.conf
492 #%attr(640,root,root) %config(missingok,noreplace) %verify(not md5 size mtime) %{_sysconfdir}/snmp/snmpd.local.conf
494 %attr(755,root,root) %{_sbindir}/snmpd
496 %{_mandir}/man1/snmpd.1*
497 %{_mandir}/man5/snmpd.conf.5*
498 %{_mandir}/man5/variables.5*
500 %attr(640,root,root) %ghost %{logfile}
503 %defattr(644,root,root,755)
504 %attr(755,root,root) %{_libdir}/libnet*.so.*.*
506 %dir %{_datadir}/snmp
509 %defattr(644,root,root,755)
510 %{_datadir}/snmp/mibs
513 %defattr(644,root,root,755)
514 %attr(755,root,root) %{_libdir}/libsnmp.so.*.*
517 %defattr(644,root,root,755)
518 %attr(755,root,root) %{_bindir}/encode_keychange
519 %attr(755,root,root) %{_bindir}/snmpbulkget
520 %attr(755,root,root) %{_bindir}/snmpbulkwalk
521 %attr(755,root,root) %{_bindir}/snmpdelta
522 %attr(755,root,root) %{_bindir}/snmpget
523 %attr(755,root,root) %{_bindir}/snmpgetnext
524 %attr(755,root,root) %{_bindir}/snmpnetstat
525 %attr(755,root,root) %{_bindir}/snmpset
526 %attr(755,root,root) %{_bindir}/snmpstatus
527 %attr(755,root,root) %{_bindir}/snmptable
528 %attr(755,root,root) %{_bindir}/snmptest
529 %attr(755,root,root) %{_bindir}/snmptranslate
530 %attr(755,root,root) %{_bindir}/snmptrap
531 %attr(755,root,root) %{_bindir}/snmpusm
532 %attr(755,root,root) %{_bindir}/snmpwalk
533 %attr(755,root,root) %{_bindir}/snmpdf
534 %attr(755,root,root) %{_bindir}/snmpinform
535 %attr(755,root,root) %{_bindir}/snmpvacm
537 #%{_datadir}/snmp/snmpconf/snmp.conf
539 %{_mandir}/man1/snmpbulkget.1*
540 %{_mandir}/man1/snmpbulkwalk.1*
541 %{_mandir}/man1/snmpcmd.1*
542 %{_mandir}/man1/snmpdelta.1*
543 %{_mandir}/man1/snmpget.1*
544 %{_mandir}/man1/snmpgetnext.1*
545 %{_mandir}/man1/snmpnetstat.1*
546 %{_mandir}/man1/snmpset.1*
547 %{_mandir}/man1/snmpstatus.1*
548 %{_mandir}/man1/snmptable.1*
549 %{_mandir}/man1/snmptest.1*
550 %{_mandir}/man1/snmptranslate.1*
551 %{_mandir}/man1/snmptrap.1*
552 %{_mandir}/man1/snmpusm.1*
553 %{_mandir}/man1/snmpwalk.1*
554 %{_mandir}/man1/snmpdf.1*
555 %{_mandir}/man1/snmpinform.1*
556 %{_mandir}/man5/snmp.conf.5*
557 %{_mandir}/man5/snmp_config.5*
560 %defattr(644,root,root,755)
561 #%doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
562 %attr(755,root,root) %{_bindir}/snmpcheck
563 %attr(755,root,root) %{_bindir}/snmpconf
564 %{_mandir}/man1/snmpconf.1*
565 %{_datadir}/snmp/snmpconf-data
566 #%{perl_sitearch}/SNMP.pm
567 #%dir %{perl_sitearch}/auto/SNMP
568 #%{perl_sitearch}/auto/SNMP/autosplit.ix
569 #%{perl_sitearch}/auto/SNMP/SNMP.bs
570 #%attr(755,root,root) %{perl_sitearch}/auto/SNMP/SNMP.so
573 %defattr(644,root,root,755)
574 %attr(755,root,root) %{_sbindir}/snmptrapd
575 %attr(754,root,root) /etc/rc.d/init.d/snmptrapd
576 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/snmptrapd
577 #%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/snmp/snmptrapd.conf
578 %{_mandir}/man5/snmptrapd.conf.5*
579 %{_mandir}/man8/snmptrapd.8*
582 %defattr(644,root,root,755)
583 %attr(755,root,root) %{_bindir}/mib2c
584 %attr(755,root,root) %{_bindir}/net-snmp-config
585 %attr(755,root,root) %{_libdir}/libnet*[a-z].so
586 %{_libdir}/libnet*.la
587 %{_includedir}/net-snmp
588 %{_datadir}/snmp/mib2c*
589 %{_mandir}/man1/mib2c.1*
593 %defattr(644,root,root,755)
594 %{_libdir}/libsnmp.la
595 %attr(755,root,root) %{_libdir}/libsnmp.so
596 %{_includedir}/ucd-snmp
599 %defattr(644,root,root,755)
600 %attr(0644,root,root) %{_libdir}/libnet*.a
603 %defattr(644,root,root,755)
604 %attr(0644,root,root) %{_libdir}/libsnmp.a
607 %defattr(644,root,root,755)
608 %attr(0755,root,root) %{_bindir}/tkmib