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 Summary(pl): Baza danych MIB
144 Group: Applications/System
149 %description mibs -l pl
153 Summary: Network management utilities using SNMP, from the NET-SNMP project
154 Summary(es): Utilitarios del SNMP de la UCD
155 Summary(pl): Narzêdzia u¿ywaj±ce protoko³u SNMP
156 Summary(pt_BR): Utilitários do SNMP da UCD
157 Summary(ru): õÔÉÌÉÔÙ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÐÏ SNMP ÉÚ ÐÒÏÅËÔÁ NET-SNMP
158 Summary(uk): õÔÉ̦ÔÉ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ ÐÏ SNMP Ú ÐÒÏÅËÔÕ NET-SNMP
159 Group: Applications/System
160 Requires: %{name}-libs = %{version}
161 Obsoletes: cmu-snmp-utils
162 Obsoletes: ucd-snmp-utils
165 The ucd-snmp package contains various utilities for use with the
166 UCD-SNMP network management project.
168 Install this package if you need utilities for managing your network
169 using the SNMP protocol. You'll also need to install the ucd-snmp
172 %description utils -l es
173 Varios utilitarios para uso con el SNMP de la UCD. Contiene
174 utilitarios como: snmpwalk, snmptest y otros.
176 %description utils -l pl
177 Ró¿nego rodzaju narzêdzia do u¿ytku z programem %{name}.
179 %description utils -l pt_BR
180 Vários utilitários para uso com o SNMP da UCD. Contém utilitários
181 como: snmpwalk, snmptest e outros.
183 %description utils -l ru
184 ðÁËÅÔ ucd-snmp-utils ÓÏÄÅÒÖÉÔ ÒÁÚÎÏÏÂÒÁÚÎÙÅ ÕÔÉÌÉÔÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ
185 × ÐÒÏÅËÔÅ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ UCD-SNMP.
187 %description utils -l uk
188 ðÁËÅÔ ucd-snmp-utils ͦÓÔÉÔØ Ò¦ÚÎÏÍÁΦÔΦ ÕÔÉ̦ÔÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ ×
189 ÐÒÏÅËÔ¦ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ UCD-SNMP.
192 Summary: Network management utilities using SNMP, from the UCD-SNMP project
193 Summary(pl): Narzêdzia u¿ywaj±ce protoko³u SNMP
194 Group: Applications/System
195 Requires: perl-Term-ReadKey
197 Obsoletes: cmu-snmp-utils
198 Obsoletes: ucd-snmp-utils-perl
200 %description utils-perl
201 The ucd-snmp package contains various utilities for use with the
202 UCD-SNMP network management project.
204 Install this package if you need utilities for managing your network
205 using the SNMP protocol. You'll also need to install the ucd-snmp
208 %description utils-perl -l pl
209 Ró¿nego rodzaju narzêdzia do u¿ytku z programem %{name}.
212 Summary: SNMP trap daemon
213 Summary(pl): Demon obs³uguj±cy pu³apki SNMP
214 Group: Applications/System
215 PreReq: %{name} = %{version}
216 Requires(post,preun): /sbin/chkconfig
217 Requires: rc-scripts >= 0.2.0
218 Obsoletes: cmu-snmp-utils
219 Obsoletes: ucd-snmp-snmptrapd
221 %description snmptrapd
222 The ucd-snmp-snmptrapd package contains snmp trap daemon.
224 %description snmptrapd -l pl
225 Pakiet zawiera demon obs³uguj±cy pu³apki SNMP.
228 Summary: The development environment for the UCD-SNMP project
229 Summary(es): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
230 Summary(pl): Pliki dla developerów u¿ywaj±cych %{name}
231 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
232 Summary(ru): óÒÅÄÁ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
233 Summary(uk): óÅÒÅÄÏ×ÉÝÅ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
234 Group: Development/Libraries
235 Requires: %{name}-libs = %{version}
236 Requires: openssl-devel >= 0.9.7
237 Obsoletes: ucd-snmp-devel
240 The ucd-snmp-devel package contains the development libraries and
241 header files for use with the UCD-SNMP project's network management
244 Install the ucd-snmp-devel package if you would like to develop
245 applications for use with the UCD-SNMP project's network management
246 tools. You'll also need to have the ucd-snmp and ucd-snmp-utils
249 %description devel -l es
250 Estas son las bibliotecas y archivos de inclusión para desarrollo con
251 el SNMP de la UCD. Con este paquete es posible la creación de
252 programas para uso en la gestión de redes.
254 %description devel -l pl
255 Pakiet zawiera pliki nag³ówkowe i bilioteki potrzebne do rozwoju
256 aplikacji u¿ywaj±cych protoko³u SNMP.
258 %description devel -l pt_BR
259 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
260 com o SNMP da UCD. Com este pacote é possível a criação de programas
261 para uso no gerenciamento de redes.
263 %description devel -l ru
264 ðÁËÅÔ ucd-snmp-devel ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ
265 ÉÓÐÏÌØÚÏ×ÁÎÉÑ Ó ÕÔÉÌÉÔÁÍÉ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÐÒÏÅËÔÁ UCD-SNMP.
267 %description devel -l uk
268 ðÁËÅÔ ucd-snmp-devel ͦÓÔÉÔØ Â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ
269 ×ÉËÏÒÉÓÔÁÎÎÑ Ú ÕÔÉ̦ÔÁÍÉ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ ÐÒÏÅËÔÕ UCD-SNMP.
272 Summary: Static UCD-SNMP libraries
273 Summary(es): Static libraries for ucd-snmp development
274 Summary(pl): Statyczne biblioteki %{name}
275 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com ucd-snmp
276 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
277 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
278 Group: Development/Libraries
279 Requires: %{name}-devel = %{version}
280 Obsoletes: ucd-snmp-static
283 Static UCD-SNMP libraries.
285 %description static -l es
286 Static libraries for ucd-snmp development
288 %description static -l pl
289 Statyczne biblioteki %{name}.
291 %description static -l pt_BR
292 Bibliotecas estáticas para desenvolvimento com ucd-snmp
294 %package compat-devel
295 Summary: The development environment for the UCD-SNMP project
296 Summary(es): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
297 Summary(pl): Pliki dla developerów u¿ywaj±cych %{name}
298 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
299 Summary(ru): óÒÅÄÁ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
300 Summary(uk): óÅÒÅÄÏ×ÉÝÅ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
301 Group: Development/Libraries
302 Requires: %{name}-compat-libs = %{version}
303 Requires: openssl-devel >= 0.9.7
304 Obsoletes: cmu-snmp-devel
305 Obsoletes: ucd-snmp-devel
307 %description compat-devel
308 The ucd-snmp-devel package contains the development libraries and
309 header files for use with the UCD-SNMP project's network management
312 Install the ucd-snmp-devel package if you would like to develop
313 applications for use with the UCD-SNMP project's network management
314 tools. You'll also need to have the ucd-snmp and ucd-snmp-utils
317 %description compat-devel -l es
318 Estas son las bibliotecas y archivos de inclusión para desarrollo con
319 el SNMP de la UCD. Con este paquete es posible la creación de
320 programas para uso en la gestión de redes.
322 %description compat-devel -l pl
323 Pakiet zawiera pliki nag³ówkowe i bilioteki potrzebne do rozwoju
324 aplikacji u¿ywaj±cych protoko³u SNMP.
326 %description compat-devel -l pt_BR
327 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
328 com o SNMP da UCD. Com este pacote é possível a criação de programas
329 para uso no gerenciamento de redes.
331 %description compat-devel -l ru
332 ðÁËÅÔ ucd-snmp-devel ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ
333 ÉÓÐÏÌØÚÏ×ÁÎÉÑ Ó ÕÔÉÌÉÔÁÍÉ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÐÒÏÅËÔÁ UCD-SNMP.
335 %description compat-devel -l uk
336 ðÁËÅÔ ucd-snmp-devel ͦÓÔÉÔØ Â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ
337 ×ÉËÏÒÉÓÔÁÎÎÑ Ú ÕÔÉ̦ÔÁÍÉ ËÅÒÕ×ÁÎÎÑ ÍÅÒÅÖÅÀ ÐÒÏÅËÔÕ UCD-SNMP.
339 %package compat-static
340 Summary: Static UCD-SNMP libraries
341 Summary(es): Static libraries for ucd-snmp development
342 Summary(pl): Statyczne biblioteki %{name}
343 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com ucd-snmp
344 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÁ UCD-SNMP
345 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÕ UCD-SNMP
346 Group: Development/Libraries
347 Requires: %{name}-compat-devel = %{version}
348 Obsoletes: ucd-snmp-static
350 %description compat-static
351 Static UCD-SNMP libraries.
353 %description compat-static -l es
354 Static libraries for ucd-snmp development
356 %description compat-static -l pl
357 Statyczne biblioteki %{name}.
359 %description compat-static -l pt_BR
360 Bibliotecas estáticas para desenvolvimento com ucd-snmp
364 Group: Applications/System
366 %description snmpconf
370 Summary: MIB browser in TK
371 Group: Applications/System
390 --with-logfile="%{logfile}" \
391 --with-cflags="%{rpmcflags} -I%{_includedir}/rpm" \
392 --with-ldflags="%{rpmldflags}" \
393 --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback " \
394 --with-sys-location="Unknown" \
395 --with-mib-modules="host disman/event-mib smux mibII/mta_sendmail \
396 agentx target misc/ipfwacc tunnel" \
397 --with-libwrap=%{_prefix} \
398 --with-openssl=%{_prefix} \
399 --disable-debugging \
400 --with-persistent-directory="/var/lib/net-snmp" \
403 --with-sys-contact="root@localhost" \
404 --enable-ucd-snmp-compatibility \
406 --with-default-snmp-version=3 \
410 # symlinks to allow build perl module w/o installed ucd-snmp
411 #ln -sf snmplib ucd-snmp
412 #ln -sf ../ucd-snmp-config.h ucd-snmp/ucd-snmp-config.h
414 #echo "%{_datadir}/snmp/mibs" | perl Makefile.PL
415 #%%{__make} OPTIMIZE="%{rpmcflags}"
418 rm -rf $RPM_BUILD_ROOT
419 install -d $RPM_BUILD_ROOT/{etc/{snmp,rc.d/init.d,sysconfig},/var/log}
421 %{__make} install DESTDIR=$RPM_BUILD_ROOT
423 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
424 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
425 :> $RPM_BUILD_ROOT%{logfile}
427 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
428 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
429 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/snmpd
431 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmptrapd
432 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
433 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
435 #install agent/mibgroup/ipfwchains/IPFWCHAINS-MIB.txt \
436 # $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
439 #%%{__make} install DESTDIR=$RPM_BUILD_ROOT
442 rm -rf $RPM_BUILD_ROOT
445 /sbin/chkconfig --add snmpd
446 if [ -f /var/lock/subsys/snmpd ]; then
447 /etc/rc.d/init.d/snmpd restart >&2
449 echo "Run \"/etc/rc.d/init.d/snmpd start\" to start snmpd daemon." >&2
455 if [ "$1" = "0" ]; then
456 if [ -f /var/lock/subsys/snmpd ]; then
457 /etc/rc.d/init.d/snmpd stop >&2
459 /sbin/chkconfig --del snmpd
462 %post libs -p /sbin/ldconfig
463 %postun libs -p /sbin/ldconfig
466 /sbin/chkconfig --add snmptrapd
467 if [ -f /var/lock/subsys/snmptrapd ]; then
468 /etc/rc.d/init.d/snmptrapd restart >&2
470 echo "Run \"/etc/rc.d/init.d/snmptrapd start\" to start snmp trap daemon." >&2
476 if [ "$1" = "0" ]; then
477 if [ -f /var/lock/subsys/snmptrapd ]; then
478 /etc/rc.d/init.d/snmptrapd stop >&2
480 /sbin/chkconfig --del snmptrapd
484 %defattr(644,root,root,755)
486 %doc ChangeLog EXAMPLE.conf.def EXAMPLE.conf
487 %doc FAQ NEWS PORTING README.snmpv3 TODO AGENT.txt
489 %attr(754,root,root) /etc/rc.d/init.d/snmpd
490 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/snmpd
492 %dir %{_sysconfdir}/snmp
493 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/snmp/snmpd.conf
494 %attr(640,root,root) %config(missingok,noreplace) %verify(not md5 size mtime) %{_sysconfdir}/snmp/snmpd.local.conf
496 %attr(755,root,root) %{_sbindir}/snmpd
498 %{_mandir}/man1/snmpd.1*
499 %{_mandir}/man5/snmpd.conf.5*
500 %{_mandir}/man5/variables.5*
502 %attr(640,root,root) %ghost %{logfile}
505 %defattr(644,root,root,755)
506 %attr(755,root,root) %{_libdir}/libnet*.so.*.*
509 %defattr(644,root,root,755)
510 %dir %{_datadir}/snmp
511 %{_datadir}/snmp/mibs
514 %defattr(644,root,root,755)
515 %attr(755,root,root) %{_libdir}/libsnmp.so.*.*
518 %defattr(644,root,root,755)
519 %attr(755,root,root) %{_bindir}/encode_keychange
520 %attr(755,root,root) %{_bindir}/snmpbulkget
521 %attr(755,root,root) %{_bindir}/snmpbulkwalk
522 %attr(755,root,root) %{_bindir}/snmpdelta
523 %attr(755,root,root) %{_bindir}/snmpget
524 %attr(755,root,root) %{_bindir}/snmpgetnext
525 %attr(755,root,root) %{_bindir}/snmpnetstat
526 %attr(755,root,root) %{_bindir}/snmpset
527 %attr(755,root,root) %{_bindir}/snmpstatus
528 %attr(755,root,root) %{_bindir}/snmptable
529 %attr(755,root,root) %{_bindir}/snmptest
530 %attr(755,root,root) %{_bindir}/snmptranslate
531 %attr(755,root,root) %{_bindir}/snmptrap
532 %attr(755,root,root) %{_bindir}/snmpusm
533 %attr(755,root,root) %{_bindir}/snmpwalk
534 %attr(755,root,root) %{_bindir}/snmpdf
535 %attr(755,root,root) %{_bindir}/snmpinform
536 %attr(755,root,root) %{_bindir}/snmpvacm
538 #%%{_datadir}/snmp/snmpconf/snmp.conf
540 %{_mandir}/man1/snmpbulkget.1*
541 %{_mandir}/man1/snmpbulkwalk.1*
542 %{_mandir}/man1/snmpcmd.1*
543 %{_mandir}/man1/snmpdelta.1*
544 %{_mandir}/man1/snmpget.1*
545 %{_mandir}/man1/snmpgetnext.1*
546 %{_mandir}/man1/snmpnetstat.1*
547 %{_mandir}/man1/snmpset.1*
548 %{_mandir}/man1/snmpstatus.1*
549 %{_mandir}/man1/snmptable.1*
550 %{_mandir}/man1/snmptest.1*
551 %{_mandir}/man1/snmptranslate.1*
552 %{_mandir}/man1/snmptrap.1*
553 %{_mandir}/man1/snmpusm.1*
554 %{_mandir}/man1/snmpwalk.1*
555 %{_mandir}/man1/snmpdf.1*
556 %{_mandir}/man1/snmpinform.1*
557 %{_mandir}/man5/snmp.conf.5*
558 %{_mandir}/man5/snmp_config.5*
561 %defattr(644,root,root,755)
562 #%doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
563 %attr(755,root,root) %{_bindir}/snmpcheck
564 %attr(755,root,root) %{_bindir}/snmpconf
565 %attr(755,root,root) %{_bindir}/traptoemail
566 %{_mandir}/man1/snmpconf.1*
567 %{_datadir}/snmp/snmpconf-data
568 #%%{perl_sitearch}/SNMP.pm
569 #%dir %{perl_sitearch}/auto/SNMP
570 #%%{perl_sitearch}/auto/SNMP/autosplit.ix
571 #%%{perl_sitearch}/auto/SNMP/SNMP.bs
572 #%attr(755,root,root) %{perl_sitearch}/auto/SNMP/SNMP.so
575 %defattr(644,root,root,755)
576 %attr(755,root,root) %{_sbindir}/snmptrapd
577 %attr(754,root,root) /etc/rc.d/init.d/snmptrapd
578 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/snmptrapd
579 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/snmp/snmptrapd.conf
580 %{_mandir}/man5/snmptrapd.conf.5*
581 %{_mandir}/man8/snmptrapd.8*
584 %defattr(644,root,root,755)
585 %attr(755,root,root) %{_bindir}/mib2c
586 %attr(755,root,root) %{_bindir}/net-snmp-config
587 %attr(755,root,root) %{_libdir}/libnet*[a-z].so
588 %{_libdir}/libnet*.la
589 %{_includedir}/net-snmp
590 %{_datadir}/snmp/mib2c*
591 %{_mandir}/man1/mib2c.1*
595 %defattr(644,root,root,755)
596 %{_libdir}/libsnmp.la
597 %attr(755,root,root) %{_libdir}/libsnmp.so
598 %{_includedir}/ucd-snmp
601 %defattr(644,root,root,755)
605 %defattr(644,root,root,755)
609 %defattr(644,root,root,755)
610 %attr(0755,root,root) %{_bindir}/tkmib