3 # %{py_sitedir}/netsnmp/__init__.py
4 # %{py_sitedir}/netsnmp/client.py
5 # %{py_sitedir}/netsnmp/tests/__init__.py
6 # %{py_sitedir}/netsnmp/tests/__init__.pyc
7 # %{py_sitedir}/netsnmp/tests/__init__.pyo
8 # %{py_sitedir}/netsnmp/tests/test.py
9 # %{py_sitedir}/netsnmp/tests/test.pyc
10 # %{py_sitedir}/netsnmp/tests/test.pyo
11 # %{_datadir}/snmp/snmp_perl.pl
14 %bcond_without autodeps # don't BR packages only for deps resolving
15 %bcond_without rpm # don't include RPM support
16 %bcond_without kerberos5 # don't include kerberos support
17 %bcond_without lm_sensors # don't include sensors support
18 %bcond_without perl # don't include Perl modules and utils
19 %bcond_without python # don't include Python modules
20 %bcond_without static_libs # don't build static library
22 %include /usr/lib/rpm/macros.perl
23 Summary: A collection of SNMP protocol tools
24 Summary(es.UTF-8): Agente SNMP de la UCD
25 Summary(pl.UTF-8): Kolekcja narzędzi do obsługi protokołu SNMP
26 Summary(pt_BR.UTF-8): Agente SNMP da UCD
27 Summary(ru.UTF-8): Набор утилит для протокола SNMP от UC-Davis
28 Summary(uk.UTF-8): Набір утиліт для протоколу SNMP від UC-Davis
33 Group: Networking/Daemons
34 Source0: http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
35 # Source0-md5: 6c974df7a5a5b1579f72115e6b045bda
36 Source1: %{name}d.init
37 Source2: %{name}d.conf
38 Source3: %{name}d.sysconfig
39 Source4: %{name}trapd.init
40 Source5: %{name}trapd.conf
41 Source6: %{name}trapd.sysconfig
42 Source7: ucd-ipchains.tar.gz
43 # Source7-md5: 29949f1008f1a04d6efefd5b3ea607da
44 Patch0: %{name}-acfix.patch
45 Patch1: %{name}-rpm-implicit-libs.patch
46 Patch2: %{name}-config-noflags.patch
47 Patch3: %{name}-manpage.patch
48 Patch4: %{name}-link.patch
49 Patch5: %{name}-llinterfaces.patch
50 Patch6: %{name}-kernel_headers.patch
51 Patch7: %{name}-rpmpath.patch
52 Patch8: %{name}-snmpksm.patch
53 Patch9: %{name}-python.patch
54 Patch10: %{name}-lvalue.patch
55 Patch11: %{name}-defaultconfig.patch
56 Patch12: %{name}-use-rpm-hrmib.patch
57 Patch13: %{name}-duplicate-ip.patch
58 URL: http://www.net-snmp.org/
59 BuildRequires: autoconf >= 2.61-3
60 BuildRequires: automake
61 BuildRequires: elfutils-devel
62 %{?with_kerberos5:BuildRequires: krb5-devel}
63 BuildRequires: libtool >= 1.4
64 BuildRequires: libwrap-devel
65 %{?with_lm_sensors:BuildRequires: lm_sensors-devel}
66 BuildRequires: openssl-devel >= 0.9.7d
67 %{?with_autodeps:BuildRequires: perl-Term-ReadKey}
68 BuildRequires: perl-devel >= 1:5.8.0
70 BuildRequires: python-devel >= 1:2.5
71 BuildRequires: python-setuptools
74 BuildRequires: rpm-devel >= 4.0
75 BuildRequires: rpm-perlprov >= 3.0.3-16
77 BuildRequires: rpmbuild(macros) >= 1.268
78 Requires(post,preun): /sbin/chkconfig
79 Requires: %{name}-libs = %{version}-%{release}
80 Requires: %{name}-mibs = %{version}-%{release}
81 Requires: /usr/bin/setsid
82 Requires: rc-scripts >= 0.2.0
87 Conflicts: rpm < 4.4.9-43.11
88 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
90 %define logfile /var/log/snmpd.log
93 SNMP (Simple Network Management Protocol) is a protocol used for
94 network management (hence the name). The net-snmp project includes
95 various SNMP tools: an extensible agent, an SNMP library, tools for
96 requesting or setting information from SNMP agents, tools for
97 generating and handling SNMP traps, a version of the netstat command
98 which uses SNMP, and a Tk/Perl mib browser. This package contains the
99 snmpd daemon, documentation, etc.
101 %description -l es.UTF-8
102 Este paquete se deriva de la implementación del Protocolo Simple de
103 Gestión de Redes versión 2 (SNMPv2) de la Universidad Carnegie Mellon.
104 Útil para administrar redes y hacer contabilidad.
106 %description -l pl.UTF-8
107 SNMP (Simple Network Management Protocol) jest protokołem używanym do
108 zarządzania sieciami. Pakiet zawiera narzędzia: rozbudowywalnego
109 agenta, bibliotekę SNMP, narzędzia do odpytywania oraz ustawiania
110 informacji poprzez agentów SNMP, narzędzia do generowania i obsługi
111 pułapek SNMP, wersję komendy netstat używającą SNMP, przeglądarkę mib
112 w Tk/Perl, demona, dokumentację itp.
114 %description -l pt_BR.UTF-8
115 Este pacote é derivado da implementação do Protocolo Simples de
116 Gerenciamento de Redes versão 2 (SNMPv2) da Universidade Carnegie
117 Mellon. Útil para gerenciar redes e fazer contabilidade.
119 %description -l ru.UTF-8
120 SNMP (Simple Network Management Protocol) - это протокол, используемый
121 для управления сетью (отсюда и название). Проект net-snmp включает
122 разнообразные SNMP-утилиты: расширяемый агент, библиотека SNMP,
123 утилиты для запроса или установки информации от SNMP-агентов, утилиты
124 для генерации и обработки SNMP-трапов, версия команды netstat,
125 использующей SNMP, и mib-браузер на Tk/Perl. Этот пакет содержит
126 демоны snmpd и snmptrapd, документацию и т.д.
128 %description -l uk.UTF-8
129 SNMP (Simple Network Management Protocol) - це протокол, який
130 використовують для керування мережею (звідси і назва). Проект net-snmp
131 містить різноманітні SNMP-утиліти: розширюваний агент, бібліотека
132 SNMP, утиліти для запросу та встановлення інформації від NMP-агентів,
133 утиліти для генерації та обробки SNMP-трапів, версія команди netstat,
134 яка використовує SNMP, та mib-браузер на Tk/Perl. Цей пакет містить
135 демони snmpd та snmptrapd, документацію і т.і.
138 Summary: NET SNMP libraries
139 Summary(pl.UTF-8): Biblioteki SNMP
141 Requires: %{name}-mibs
142 Obsoletes: net-snmp-compat-libs
143 Obsoletes: ucd-snmp-libs
148 %description libs -l pl.UTF-8
152 Summary: The development environment for the net-snmp project
153 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
154 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek net-snmp
155 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
156 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
157 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
158 Group: Development/Libraries
159 Requires: %{name}-libs = %{version}-%{release}
160 Requires: elfutils-devel
161 %{?with_kerberos5:Requires: krb5-devel}
162 Requires: libwrap-devel
163 %{?with_lm_sensors:Requires: lm_sensors-devel}
164 Requires: openssl-devel >= 0.9.7c
165 %{?with_rpm:Requires: rpm-devel}
166 Obsoletes: ucd-snmp-devel
169 The ucd-snmp-devel package contains the development libraries and
170 header files for use with the net-snmp project's network management
173 %description devel -l es.UTF-8
174 Estas son las bibliotecas y archivos de inclusión para desarrollo con
175 el SNMP de la UCD. Con este paquete es posible la creación de
176 programas para uso en la gestión de redes.
178 %description devel -l pl.UTF-8
179 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
180 aplikacji używających protokołu SNMP.
182 %description devel -l pt_BR.UTF-8
183 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
184 com o SNMP da UCD. Com este pacote é possível a criação de programas
185 para uso no gerenciamento de redes.
187 %description devel -l ru.UTF-8
188 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
189 использования с утилитами управления сетью проекта net-snmp.
191 %description devel -l uk.UTF-8
192 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
193 використання з утилітами керування мережею проекту net-snmp.
196 Summary: Static net-snmp libraries
197 Summary(pl.UTF-8): Statyczne biblioteki net-snmp
198 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
199 Summary(ru.UTF-8): Статические библиотеки для проекта net-snmp
200 Summary(uk.UTF-8): Статичні бібліотеки для проекту net-snmp
201 Group: Development/Libraries
202 Requires: %{name}-devel = %{version}-%{release}
203 Obsoletes: ucd-snmp-static
206 Static net-snmp libraries.
208 %description static -l pl.UTF-8
209 Statyczne biblioteki net-snmp.
211 %description static -l pt_BR.UTF-8
212 Bibliotecas estáticas para desenvolvimento com net-snmp.
214 %package compat-devel
215 Summary: The development environment for the UCD-SNMP project
216 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
217 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek UCD-SNMP
218 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
219 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
220 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
221 Group: Development/Libraries
222 Requires: %{name}-libs = %{version}-%{release}
223 Requires: openssl-devel >= 0.9.7d
224 Obsoletes: cmu-snmp-devel
225 Obsoletes: ucd-snmp-devel
227 %description compat-devel
228 The ucd-snmp-devel package contains the development libraries and
229 header files for use with the UCD-SNMP project's network management
232 %description compat-devel -l es.UTF-8
233 Estas son las bibliotecas y archivos de inclusión para desarrollo con
234 el SNMP de la UCD. Con este paquete es posible la creación de
235 programas para uso en la gestión de redes.
237 %description compat-devel -l pl.UTF-8
238 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
239 aplikacji używających protokołu SNMP.
241 %description compat-devel -l pt_BR.UTF-8
242 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
243 com o SNMP da UCD. Com este pacote é possível a criação de programas
244 para uso no gerenciamento de redes.
246 %description compat-devel -l ru.UTF-8
247 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
248 использования с утилитами управления сетью проекта UCD-SNMP.
250 %description compat-devel -l uk.UTF-8
251 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
252 використання з утилітами керування мережею проекту UCD-SNMP.
254 %package compat-static
255 Summary: Static UCD-SNMP libraries
256 Summary(pl.UTF-8): Statyczne biblioteki UCD-SNMP
257 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
258 Summary(ru.UTF-8): Статические библиотеки для проекта UCD-SNMP
259 Summary(uk.UTF-8): Статичні бібліотеки для проекту UCD-SNMP
260 Group: Development/Libraries
261 Requires: %{name}-compat-devel = %{version}-%{release}
262 Obsoletes: ucd-snmp-static
264 %description compat-static
265 Static UCD-SNMP libraries.
267 %description compat-static -l pl.UTF-8
268 Statyczne biblioteki UCD-SNMP.
270 %description compat-static -l pt_BR.UTF-8
271 Bibliotecas estáticas para desenvolvimento com ucd-snmp.
274 Summary: MIB database
275 Summary(pl.UTF-8): Baza danych MIB
276 Group: Applications/System
277 Conflicts: ucd-snmp-libs
282 %description mibs -l pl.UTF-8
286 Summary: SNMP trap daemon
287 Summary(pl.UTF-8): Demon obsługujący pułapki SNMP
288 Group: Applications/System
289 Requires(post,preun): /sbin/chkconfig
290 Requires: %{name} = %{version}-%{release}
291 Requires: rc-scripts >= 0.2.0
292 Obsoletes: cmu-snmp-utils
293 Obsoletes: ucd-snmp-snmptrapd
295 %description snmptrapd
296 The ucd-snmp-snmptrapd package contains snmp trap daemon.
298 %description snmptrapd -l pl.UTF-8
299 Pakiet zawiera demon obsługujący pułapki SNMP.
302 Summary: Network management utilities using SNMP, from the NET-SNMP project
303 Summary(es.UTF-8): Utilitarios del SNMP de la UCD
304 Summary(pl.UTF-8): Narzędzia używające protokołu SNMP
305 Summary(pt_BR.UTF-8): Utilitários do SNMP da UCD
306 Summary(ru.UTF-8): Утилиты управления сетью по SNMP из проекта NET-SNMP
307 Summary(uk.UTF-8): Утиліти керування мережею по SNMP з проекту NET-SNMP
308 Group: Applications/System
309 Requires: %{name}-libs = %{version}-%{release}
310 Requires: %{name}-mibs = %{version}-%{release}
311 Obsoletes: cmu-snmp-utils
312 Obsoletes: ucd-snmp-utils
315 This package contains various utilities for managing your network
316 using the SNMP protocol.
318 %description utils -l es.UTF-8
319 Varios utilitarios para uso con el SNMP de la UCD. Contiene
320 utilitarios como: snmpwalk, snmptest y otros.
322 %description utils -l pl.UTF-8
323 Różnego rodzaju narzędzia do zarządzania siecią przy użyciu protokołu
326 %description utils -l pt_BR.UTF-8
327 Vários utilitários para uso com o SNMP da UCD. Contém utilitários
328 como: snmpwalk, snmptest e outros.
330 %description utils -l ru.UTF-8
331 Пакет ucd-snmp-utils содержит разнообразные утилиты для использования
332 в проекте управления сетью net-snmp.
334 %description utils -l uk.UTF-8
335 Пакет ucd-snmp-utils містить різноманітні утиліти для використання в
336 проекті керування мережею net-snmp.
338 %package -n perl-SNMP
339 Summary: SNMP and NetSNMP::* Perl modules
340 Summary(pl.UTF-8): Moduły Perla SNMP oraz NetSNMP::*
341 Group: Development/Languages/Perl
342 Requires: %{name}-libs = %{version}-%{release}
343 Conflicts: ucd-snmp-utils-perl
345 %description -n perl-SNMP
346 SNMP and NetSNMP::* Perl modules - Perl interface to net-snmp.
348 %description -n perl-SNMP -l pl.UTF-8
349 Moduły Perla SNMP oraz NetSNMP::* - perlowy interfejs do net-snmp.
352 Summary: Perl utilities for network management using SNMP
353 Summary(pl.UTF-8): Perlowe narzędzia używające protokołu SNMP
354 Group: Applications/System
355 Requires: perl-SNMP = %{version}-%{release}
356 Obsoletes: cmu-snmp-utils
357 Obsoletes: ucd-snmp-utils-perl
359 %description utils-perl
360 This package contains various Perl utilities for managing your network
361 using the SNMP protocol.
363 %description utils-perl -l pl.UTF-8
364 Perlowe narzędzia do zarządzania siecią przy użyciu protokołu SNMP.
367 Summary: snmpconf - creating and modifying SNMP configuration files
368 Summary(pl.UTF-8): snmpconf - tworzenie i modyfikowanie plików konfiguracyjnych SNMP
369 Group: Applications/System
370 Requires: %{name} = %{version}-%{release}
371 Requires: perl-SNMP = %{version}-%{release}
373 %description snmpconf
374 snmpconf is a simple Perl script that walks you through setting up a
375 configuration file step by step. It should be fairly straight forward
378 %description snmpconf -l pl.UTF-8
379 snmpconf to prosty skrypt Perla pozwalający na tworzenie pliku
380 konfiguracyjnego krok po kroku. Powinien być w miarę prosty w użyciu.
383 Summary: MIB browser in Tk
384 Summary(pl.UTF-8): Przeglądarka MIB-ów w Tk
385 Group: Applications/System
386 Requires: perl-SNMP = %{version}-%{release}
392 %description tkmib -l pl.UTF-8
393 Przeglądarka MIB-ów w Tk.
395 %package -n python-netsnmp
396 Summary: Python netsnmp extension module
397 Summary(pl.UTF-8): Moduł rozszerzenia netsnmp dla Pythona
398 Group: Libraries/Python
399 Requires: %{name}-libs = %{version}-%{release}
401 %description -n python-netsnmp
402 The 'netsnmp' Python extension module provides a full featured,
403 tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API.
405 %description -n python-netsnmp -l pl.UTF-8
406 Moduł rozszerzenia netsnmp dla Pythona udostępnia pełne API klienckie
407 SNMP dla trzech wersji tego protokołu (SNMPv3, SNMPv2c, SNMPv1).
432 --disable-debugging \
434 %{!?with_static_libs:--disable-static} \
435 --with-cflags="%{rpmcflags} -I/usr/include/et" \
436 --with-ldflags="%{rpmldflags}" \
438 --with-default-snmp-version=3 \
439 %{?with_kerberos5:--with-krb5=%{_prefix}} \
440 %{!?with_kerberos5:--without-krb5} \
441 --with-openssl=%{_prefix} \
442 --with-libwrap=%{_prefix} \
443 --with-logfile="%{logfile}" \
444 --with-zlib=%{_prefix} \
445 --with-bzip2=%{_prefix} \
446 --with%{!?with_perl:out}-perl-modules \
447 --with%{!?with_python:out}-python-modules \
448 --with-mib-modules="host agentx smux mibII/mta_sendmail \
449 %ifarch %{ix86} %{x8664}
450 %if %{with lm_sensors}
454 disman/event disman/schedule ucd-snmp/diskio \
455 target misc/ipfwacc" \
456 %{?with_kerberos5:--with-security-modules="ksm"} \
457 --with-sys-contact="root@localhost" \
458 --with-sys-location="Unknown" \
459 --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback " \
460 --with-persistent-directory="/var/lib/net-snmp" \
461 --enable-ucd-snmp-compatibility \
463 --with%{!?with_rpm:out}-rpm
469 %{__perl} Makefile.PL \
470 -NET-SNMP-IN-SOURCE=true \
472 OPTIMIZE="%{rpmcflags}" \
475 # avoid rpaths generated by MakeMaker
476 perl -pi -e 's@LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
479 LDFLAGS="%{rpmldflags}"
482 rm -rf $RPM_BUILD_ROOT
483 install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log}
486 DESTDIR=$RPM_BUILD_ROOT
488 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
489 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
490 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmp.conf
491 :> $RPM_BUILD_ROOT%{logfile}
493 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
494 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
495 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/snmpd
497 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmptrapd
498 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
499 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
501 #install agent/mibgroup/ipfwchains/IPFWCHAINS-MIB.txt \
502 # $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
506 DESTDIR=$RPM_BUILD_ROOT
508 install -d $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
509 install SNMP/examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
512 # IP-Filter (non-Linux)
513 rm -f $RPM_BUILD_ROOT%{_bindir}/ipf-mod.pl
515 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
516 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Bundle/Makefile.subs.pl
517 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Bundle/NetSNMP/.packlist
519 %if %{with static_libs}
520 # hack: convert DynaLoader.a inside .a file to .o, as strip(1) would otherwise say invalid argument
521 for a in $RPM_BUILD_ROOT%{_libdir}/libnet*.a; do
524 if [ -f DynaLoader.a ]; then
526 ar cr $a DynaLoader.o
528 # remove second file too
535 rm -rf $RPM_BUILD_ROOT
540 /sbin/chkconfig --add snmpd
541 %service snmpd restart "snmpd daemon"
544 if [ "$1" = "0" ]; then
546 /sbin/chkconfig --del snmpd
549 %post libs -p /sbin/ldconfig
550 %postun libs -p /sbin/ldconfig
552 %triggerpostun -- ucd-snmp
553 /sbin/chkconfig --add snmpd
558 /sbin/chkconfig --add snmptrapd
559 %service snmptrapd restart "snmp trap daemon"
562 if [ "$1" = "0" ]; then
563 %service snmptrapd stop
564 /sbin/chkconfig --del snmptrapd
567 %triggerpostun snmptrapd -- ucd-snmp-snmptrapd
568 /sbin/chkconfig --add snmptrapd
571 %defattr(644,root,root,755)
573 %doc ChangeLog EXAMPLE.conf.def EXAMPLE.conf
574 %doc FAQ NEWS PORTING README.snmpv3 TODO AGENT.txt
576 %attr(754,root,root) /etc/rc.d/init.d/snmpd
577 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmpd
579 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.conf
580 %attr(640,root,root) %config(missingok,noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.local.conf
582 %attr(755,root,root) %{_sbindir}/snmpd
584 %{_mandir}/man5/snmpd.conf.5*
585 %{_mandir}/man5/snmpd.examples.5*
586 %{_mandir}/man5/snmpd.internal.5*
587 %{_mandir}/man5/variables.5*
588 %{_mandir}/man8/snmpd.8*
590 %attr(640,root,root) %ghost %{logfile}
593 %defattr(644,root,root,755)
594 %dir %{_sysconfdir}/snmp
595 %attr(755,root,root) %{_libdir}/libnet*.so.*.*
598 %defattr(644,root,root,755)
599 %attr(755,root,root) %{_bindir}/mib2c
600 %attr(755,root,root) %{_bindir}/mib2c-update
601 %attr(755,root,root) %{_bindir}/net-snmp-config
602 %attr(755,root,root) %{_libdir}/libnet*[a-z].so
603 %{_libdir}/libnet*.la
604 %{_includedir}/net-snmp
605 %{_datadir}/snmp/mib2c*
606 %{_mandir}/man1/mib2c.1*
607 %{_mandir}/man1/mib2c-update.1*
608 %{_mandir}/man1/net-snmp-config.1*
609 %{_mandir}/man3/[!NS]*
610 %{_mandir}/man5/mib2c.conf.5*
612 %if %{with static_libs}
614 %defattr(644,root,root,755)
619 %defattr(644,root,root,755)
620 %attr(755,root,root) %{_libdir}/libsnmp.so
621 %{_libdir}/libsnmp.la
622 %{_includedir}/ucd-snmp
624 %if %{with static_libs}
626 %defattr(644,root,root,755)
631 %defattr(644,root,root,755)
632 %dir %{_datadir}/snmp
633 %{_datadir}/snmp/mibs
636 %defattr(644,root,root,755)
637 %attr(755,root,root) %{_sbindir}/snmptrapd
638 %attr(754,root,root) /etc/rc.d/init.d/snmptrapd
639 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmptrapd
640 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmptrapd.conf
642 %attr(755,root,root) %{_datadir}/snmp/snmp_perl_trapd.pl
644 %{_mandir}/man5/snmptrapd.conf.5*
645 %{_mandir}/man8/snmptrapd.8*
648 %defattr(644,root,root,755)
649 %attr(755,root,root) %{_bindir}/encode_keychange
650 %attr(755,root,root) %{_bindir}/snmpbulkget
651 %attr(755,root,root) %{_bindir}/snmpbulkwalk
652 %attr(755,root,root) %{_bindir}/snmpdelta
653 %attr(755,root,root) %{_bindir}/snmpdf
654 %attr(755,root,root) %{_bindir}/snmpget
655 %attr(755,root,root) %{_bindir}/snmpgetnext
656 %attr(755,root,root) %{_bindir}/snmpinform
657 %attr(755,root,root) %{_bindir}/snmpnetstat
658 %attr(755,root,root) %{_bindir}/snmpset
659 %attr(755,root,root) %{_bindir}/snmpstatus
660 %attr(755,root,root) %{_bindir}/snmptable
661 %attr(755,root,root) %{_bindir}/snmptest
662 %attr(755,root,root) %{_bindir}/snmptranslate
663 %attr(755,root,root) %{_bindir}/snmptrap
664 %attr(755,root,root) %{_bindir}/snmpusm
665 %attr(755,root,root) %{_bindir}/snmpvacm
666 %attr(755,root,root) %{_bindir}/snmpwalk
667 %{_mandir}/man1/encode_keychange.1*
668 %{_mandir}/man1/snmpbulkget.1*
669 %{_mandir}/man1/snmpbulkwalk.1*
670 %{_mandir}/man1/snmpcmd.1*
671 %{_mandir}/man1/snmpdelta.1*
672 %{_mandir}/man1/snmpdf.1*
673 %{_mandir}/man1/snmpget.1*
674 %{_mandir}/man1/snmpgetnext.1*
675 %{_mandir}/man1/snmpinform.1*
676 %{_mandir}/man1/snmpnetstat.1*
677 %{_mandir}/man1/snmpset.1*
678 %{_mandir}/man1/snmpstatus.1*
679 %{_mandir}/man1/snmptable.1*
680 %{_mandir}/man1/snmptest.1*
681 %{_mandir}/man1/snmptranslate.1*
682 %{_mandir}/man1/snmptrap.1*
683 %{_mandir}/man1/snmpusm.1*
684 %{_mandir}/man1/snmpvacm.1*
685 %{_mandir}/man1/snmpwalk.1*
686 %{_mandir}/man5/snmp.conf.5*
687 %{_mandir}/man5/snmp_config.5*
689 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmp.conf
693 %defattr(644,root,root,755)
694 %doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
695 %{perl_vendorarch}/SNMP.pm
696 %{perl_vendorarch}/NetSNMP
697 %dir %{perl_vendorarch}/auto/SNMP
698 %{perl_vendorarch}/auto/SNMP/autosplit.ix
699 %{perl_vendorarch}/auto/SNMP/SNMP.bs
700 %attr(755,root,root) %{perl_vendorarch}/auto/SNMP/SNMP.so
701 %dir %{perl_vendorarch}/auto/NetSNMP
702 %dir %{perl_vendorarch}/auto/NetSNMP/*
703 %{perl_vendorarch}/auto/NetSNMP/*/autosplit.ix
704 %{perl_vendorarch}/auto/NetSNMP/*/*.bs
705 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/*/*.so
706 %dir %{perl_vendorarch}/auto/NetSNMP/agent/default_store
707 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/autosplit.ix
708 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.bs
709 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.so
710 %{_mandir}/man3/NetSNMP::*.3*
711 %{_mandir}/man3/SNMP.3*
712 %{_examplesdir}/perl-SNMP-%{version}
715 %defattr(644,root,root,755)
716 %attr(755,root,root) %{_bindir}/fixproc
717 %attr(755,root,root) %{_bindir}/snmpcheck
718 %attr(755,root,root) %{_bindir}/traptoemail
719 %{_mandir}/man1/fixproc.1*
720 %{_mandir}/man1/traptoemail.1*
724 %defattr(644,root,root,755)
725 %attr(755,root,root) %{_bindir}/snmpconf
726 %{_mandir}/man1/snmpconf.1*
727 %{_datadir}/snmp/snmpconf-data
731 %defattr(644,root,root,755)
732 %attr(755,root,root) %{_bindir}/tkmib
733 %{_mandir}/man1/tkmib.1*
737 %files -n python-netsnmp
738 %defattr(644,root,root,755)
739 %dir %{py_sitedir}/netsnmp
740 %attr(755,root,root) %{py_sitedir}/netsnmp/*.so
741 %{py_sitedir}/netsnmp/*.py[co]
742 %{py_sitedir}/netsnmp_python-*.egg-info