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 Patch14: %{name}-lm_sensors_3.patch
59 URL: http://www.net-snmp.org/
60 BuildRequires: autoconf >= 2.61-3
61 BuildRequires: automake
62 BuildRequires: elfutils-devel
63 %{?with_kerberos5:BuildRequires: krb5-devel}
64 BuildRequires: libtool >= 1.4
65 BuildRequires: libwrap-devel
66 %{?with_lm_sensors:BuildRequires: lm_sensors-devel >= 3.0.1}
67 BuildRequires: openssl-devel >= 0.9.7d
68 %{?with_autodeps:BuildRequires: perl-Term-ReadKey}
69 BuildRequires: perl-devel >= 1:5.8.0
71 BuildRequires: python-devel >= 1:2.5
72 BuildRequires: python-setuptools
75 BuildRequires: rpm-devel >= 4.0
76 BuildRequires: rpm-perlprov >= 3.0.3-16
78 BuildRequires: rpmbuild(macros) >= 1.268
79 Requires(post,preun): /sbin/chkconfig
80 Requires: %{name}-libs = %{version}-%{release}
81 Requires: %{name}-mibs = %{version}-%{release}
82 Requires: /usr/bin/setsid
83 Requires: rc-scripts >= 0.2.0
88 Conflicts: rpm < 4.4.9-43.11
89 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91 %define logfile /var/log/snmpd.log
94 SNMP (Simple Network Management Protocol) is a protocol used for
95 network management (hence the name). The net-snmp project includes
96 various SNMP tools: an extensible agent, an SNMP library, tools for
97 requesting or setting information from SNMP agents, tools for
98 generating and handling SNMP traps, a version of the netstat command
99 which uses SNMP, and a Tk/Perl mib browser. This package contains the
100 snmpd daemon, documentation, etc.
102 %description -l es.UTF-8
103 Este paquete se deriva de la implementación del Protocolo Simple de
104 Gestión de Redes versión 2 (SNMPv2) de la Universidad Carnegie Mellon.
105 Útil para administrar redes y hacer contabilidad.
107 %description -l pl.UTF-8
108 SNMP (Simple Network Management Protocol) jest protokołem używanym do
109 zarządzania sieciami. Pakiet zawiera narzędzia: rozbudowywalnego
110 agenta, bibliotekę SNMP, narzędzia do odpytywania oraz ustawiania
111 informacji poprzez agentów SNMP, narzędzia do generowania i obsługi
112 pułapek SNMP, wersję komendy netstat używającą SNMP, przeglądarkę mib
113 w Tk/Perl, demona, dokumentację itp.
115 %description -l pt_BR.UTF-8
116 Este pacote é derivado da implementação do Protocolo Simples de
117 Gerenciamento de Redes versão 2 (SNMPv2) da Universidade Carnegie
118 Mellon. Útil para gerenciar redes e fazer contabilidade.
120 %description -l ru.UTF-8
121 SNMP (Simple Network Management Protocol) - это протокол, используемый
122 для управления сетью (отсюда и название). Проект net-snmp включает
123 разнообразные SNMP-утилиты: расширяемый агент, библиотека SNMP,
124 утилиты для запроса или установки информации от SNMP-агентов, утилиты
125 для генерации и обработки SNMP-трапов, версия команды netstat,
126 использующей SNMP, и mib-браузер на Tk/Perl. Этот пакет содержит
127 демоны snmpd и snmptrapd, документацию и т.д.
129 %description -l uk.UTF-8
130 SNMP (Simple Network Management Protocol) - це протокол, який
131 використовують для керування мережею (звідси і назва). Проект net-snmp
132 містить різноманітні SNMP-утиліти: розширюваний агент, бібліотека
133 SNMP, утиліти для запросу та встановлення інформації від NMP-агентів,
134 утиліти для генерації та обробки SNMP-трапів, версія команди netstat,
135 яка використовує SNMP, та mib-браузер на Tk/Perl. Цей пакет містить
136 демони snmpd та snmptrapd, документацію і т.і.
139 Summary: NET SNMP libraries
140 Summary(pl.UTF-8): Biblioteki SNMP
142 Requires: %{name}-mibs
143 Obsoletes: net-snmp-compat-libs
144 Obsoletes: ucd-snmp-libs
149 %description libs -l pl.UTF-8
153 Summary: The development environment for the net-snmp project
154 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
155 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek net-snmp
156 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
157 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
158 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
159 Group: Development/Libraries
160 Requires: %{name}-libs = %{version}-%{release}
161 Requires: elfutils-devel
162 %{?with_kerberos5:Requires: krb5-devel}
163 Requires: libwrap-devel
164 %{?with_lm_sensors:Requires: lm_sensors-devel >= 3.0.1}
165 Requires: openssl-devel >= 0.9.7c
166 %{?with_rpm:Requires: rpm-devel}
167 Obsoletes: ucd-snmp-devel
170 The ucd-snmp-devel package contains the development libraries and
171 header files for use with the net-snmp project's network management
174 %description devel -l es.UTF-8
175 Estas son las bibliotecas y archivos de inclusión para desarrollo con
176 el SNMP de la UCD. Con este paquete es posible la creación de
177 programas para uso en la gestión de redes.
179 %description devel -l pl.UTF-8
180 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
181 aplikacji używających protokołu SNMP.
183 %description devel -l pt_BR.UTF-8
184 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
185 com o SNMP da UCD. Com este pacote é possível a criação de programas
186 para uso no gerenciamento de redes.
188 %description devel -l ru.UTF-8
189 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
190 использования с утилитами управления сетью проекта net-snmp.
192 %description devel -l uk.UTF-8
193 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
194 використання з утилітами керування мережею проекту net-snmp.
197 Summary: Static net-snmp libraries
198 Summary(pl.UTF-8): Statyczne biblioteki net-snmp
199 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
200 Summary(ru.UTF-8): Статические библиотеки для проекта net-snmp
201 Summary(uk.UTF-8): Статичні бібліотеки для проекту net-snmp
202 Group: Development/Libraries
203 Requires: %{name}-devel = %{version}-%{release}
204 Obsoletes: ucd-snmp-static
207 Static net-snmp libraries.
209 %description static -l pl.UTF-8
210 Statyczne biblioteki net-snmp.
212 %description static -l pt_BR.UTF-8
213 Bibliotecas estáticas para desenvolvimento com net-snmp.
215 %package compat-devel
216 Summary: The development environment for the UCD-SNMP project
217 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
218 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek UCD-SNMP
219 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
220 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
221 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
222 Group: Development/Libraries
223 Requires: %{name}-libs = %{version}-%{release}
224 Requires: openssl-devel >= 0.9.7d
225 Obsoletes: cmu-snmp-devel
226 Obsoletes: ucd-snmp-devel
228 %description compat-devel
229 The ucd-snmp-devel package contains the development libraries and
230 header files for use with the UCD-SNMP project's network management
233 %description compat-devel -l es.UTF-8
234 Estas son las bibliotecas y archivos de inclusión para desarrollo con
235 el SNMP de la UCD. Con este paquete es posible la creación de
236 programas para uso en la gestión de redes.
238 %description compat-devel -l pl.UTF-8
239 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
240 aplikacji używających protokołu SNMP.
242 %description compat-devel -l pt_BR.UTF-8
243 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
244 com o SNMP da UCD. Com este pacote é possível a criação de programas
245 para uso no gerenciamento de redes.
247 %description compat-devel -l ru.UTF-8
248 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
249 использования с утилитами управления сетью проекта UCD-SNMP.
251 %description compat-devel -l uk.UTF-8
252 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
253 використання з утилітами керування мережею проекту UCD-SNMP.
255 %package compat-static
256 Summary: Static UCD-SNMP libraries
257 Summary(pl.UTF-8): Statyczne biblioteki UCD-SNMP
258 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
259 Summary(ru.UTF-8): Статические библиотеки для проекта UCD-SNMP
260 Summary(uk.UTF-8): Статичні бібліотеки для проекту UCD-SNMP
261 Group: Development/Libraries
262 Requires: %{name}-compat-devel = %{version}-%{release}
263 Obsoletes: ucd-snmp-static
265 %description compat-static
266 Static UCD-SNMP libraries.
268 %description compat-static -l pl.UTF-8
269 Statyczne biblioteki UCD-SNMP.
271 %description compat-static -l pt_BR.UTF-8
272 Bibliotecas estáticas para desenvolvimento com ucd-snmp.
275 Summary: MIB database
276 Summary(pl.UTF-8): Baza danych MIB
277 Group: Applications/System
278 Conflicts: ucd-snmp-libs
283 %description mibs -l pl.UTF-8
287 Summary: SNMP trap daemon
288 Summary(pl.UTF-8): Demon obsługujący pułapki SNMP
289 Group: Applications/System
290 Requires(post,preun): /sbin/chkconfig
291 Requires: %{name} = %{version}-%{release}
292 Requires: rc-scripts >= 0.2.0
293 Obsoletes: cmu-snmp-utils
294 Obsoletes: ucd-snmp-snmptrapd
296 %description snmptrapd
297 The ucd-snmp-snmptrapd package contains snmp trap daemon.
299 %description snmptrapd -l pl.UTF-8
300 Pakiet zawiera demon obsługujący pułapki SNMP.
303 Summary: Network management utilities using SNMP, from the NET-SNMP project
304 Summary(es.UTF-8): Utilitarios del SNMP de la UCD
305 Summary(pl.UTF-8): Narzędzia używające protokołu SNMP
306 Summary(pt_BR.UTF-8): Utilitários do SNMP da UCD
307 Summary(ru.UTF-8): Утилиты управления сетью по SNMP из проекта NET-SNMP
308 Summary(uk.UTF-8): Утиліти керування мережею по SNMP з проекту NET-SNMP
309 Group: Applications/System
310 Requires: %{name}-libs = %{version}-%{release}
311 Requires: %{name}-mibs = %{version}-%{release}
312 Obsoletes: cmu-snmp-utils
313 Obsoletes: ucd-snmp-utils
316 This package contains various utilities for managing your network
317 using the SNMP protocol.
319 %description utils -l es.UTF-8
320 Varios utilitarios para uso con el SNMP de la UCD. Contiene
321 utilitarios como: snmpwalk, snmptest y otros.
323 %description utils -l pl.UTF-8
324 Różnego rodzaju narzędzia do zarządzania siecią przy użyciu protokołu
327 %description utils -l pt_BR.UTF-8
328 Vários utilitários para uso com o SNMP da UCD. Contém utilitários
329 como: snmpwalk, snmptest e outros.
331 %description utils -l ru.UTF-8
332 Пакет ucd-snmp-utils содержит разнообразные утилиты для использования
333 в проекте управления сетью net-snmp.
335 %description utils -l uk.UTF-8
336 Пакет ucd-snmp-utils містить різноманітні утиліти для використання в
337 проекті керування мережею net-snmp.
339 %package -n perl-SNMP
340 Summary: SNMP and NetSNMP::* Perl modules
341 Summary(pl.UTF-8): Moduły Perla SNMP oraz NetSNMP::*
342 Group: Development/Languages/Perl
343 Requires: %{name}-libs = %{version}-%{release}
344 Conflicts: ucd-snmp-utils-perl
346 %description -n perl-SNMP
347 SNMP and NetSNMP::* Perl modules - Perl interface to net-snmp.
349 %description -n perl-SNMP -l pl.UTF-8
350 Moduły Perla SNMP oraz NetSNMP::* - perlowy interfejs do net-snmp.
353 Summary: Perl utilities for network management using SNMP
354 Summary(pl.UTF-8): Perlowe narzędzia używające protokołu SNMP
355 Group: Applications/System
356 Requires: perl-SNMP = %{version}-%{release}
357 Obsoletes: cmu-snmp-utils
358 Obsoletes: ucd-snmp-utils-perl
360 %description utils-perl
361 This package contains various Perl utilities for managing your network
362 using the SNMP protocol.
364 %description utils-perl -l pl.UTF-8
365 Perlowe narzędzia do zarządzania siecią przy użyciu protokołu SNMP.
368 Summary: snmpconf - creating and modifying SNMP configuration files
369 Summary(pl.UTF-8): snmpconf - tworzenie i modyfikowanie plików konfiguracyjnych SNMP
370 Group: Applications/System
371 Requires: %{name} = %{version}-%{release}
372 Requires: perl-SNMP = %{version}-%{release}
374 %description snmpconf
375 snmpconf is a simple Perl script that walks you through setting up a
376 configuration file step by step. It should be fairly straight forward
379 %description snmpconf -l pl.UTF-8
380 snmpconf to prosty skrypt Perla pozwalający na tworzenie pliku
381 konfiguracyjnego krok po kroku. Powinien być w miarę prosty w użyciu.
384 Summary: MIB browser in Tk
385 Summary(pl.UTF-8): Przeglądarka MIB-ów w Tk
386 Group: Applications/System
387 Requires: perl-SNMP = %{version}-%{release}
393 %description tkmib -l pl.UTF-8
394 Przeglądarka MIB-ów w Tk.
396 %package -n python-netsnmp
397 Summary: Python netsnmp extension module
398 Summary(pl.UTF-8): Moduł rozszerzenia netsnmp dla Pythona
399 Group: Libraries/Python
400 Requires: %{name}-libs = %{version}-%{release}
402 %description -n python-netsnmp
403 The 'netsnmp' Python extension module provides a full featured,
404 tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API.
406 %description -n python-netsnmp -l pl.UTF-8
407 Moduł rozszerzenia netsnmp dla Pythona udostępnia pełne API klienckie
408 SNMP dla trzech wersji tego protokołu (SNMPv3, SNMPv2c, SNMPv1).
434 --disable-debugging \
436 %{!?with_static_libs:--disable-static} \
437 --with-cflags="%{rpmcflags} -I/usr/include/et" \
438 --with-ldflags="%{rpmldflags}" \
440 --with-default-snmp-version=3 \
441 %{?with_kerberos5:--with-krb5=%{_prefix}} \
442 %{!?with_kerberos5:--without-krb5} \
443 --with-openssl=%{_prefix} \
444 --with-libwrap=%{_prefix} \
445 --with-logfile="%{logfile}" \
446 --with-zlib=%{_prefix} \
447 --with-bzip2=%{_prefix} \
448 --with%{!?with_perl:out}-perl-modules \
449 --with%{!?with_python:out}-python-modules \
450 --with-mib-modules="host agentx smux mibII/mta_sendmail \
451 %ifarch %{ix86} %{x8664}
452 %if %{with lm_sensors}
453 ucd-snmp/lmsensorsMib \
456 disman/event disman/schedule ucd-snmp/diskio \
457 target misc/ipfwacc" \
458 %{?with_kerberos5:--with-security-modules="ksm"} \
459 --with-sys-contact="root@localhost" \
460 --with-sys-location="Unknown" \
461 --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback " \
462 --with-persistent-directory="/var/lib/net-snmp" \
463 --enable-ucd-snmp-compatibility \
465 --with%{!?with_rpm:out}-rpm
471 %{__perl} Makefile.PL \
472 -NET-SNMP-IN-SOURCE=true \
474 OPTIMIZE="%{rpmcflags}" \
477 # avoid rpaths generated by MakeMaker
478 perl -pi -e 's@LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
481 LDFLAGS="%{rpmldflags}"
484 rm -rf $RPM_BUILD_ROOT
485 install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log}
488 DESTDIR=$RPM_BUILD_ROOT
490 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
491 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
492 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmp.conf
493 :> $RPM_BUILD_ROOT%{logfile}
495 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
496 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
497 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/snmpd
499 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmptrapd
500 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
501 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
503 #install agent/mibgroup/ipfwchains/IPFWCHAINS-MIB.txt \
504 # $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
508 DESTDIR=$RPM_BUILD_ROOT
510 install -d $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
511 install SNMP/examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
514 # IP-Filter (non-Linux)
515 rm -f $RPM_BUILD_ROOT%{_bindir}/ipf-mod.pl
517 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
518 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Bundle/Makefile.subs.pl
519 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Bundle/NetSNMP/.packlist
521 %if %{with static_libs}
522 # hack: convert DynaLoader.a inside .a file to .o, as strip(1) would otherwise say invalid argument
523 for a in $RPM_BUILD_ROOT%{_libdir}/libnet*.a; do
526 if [ -f DynaLoader.a ]; then
528 ar cr $a DynaLoader.o
530 # remove second file too
537 rm -rf $RPM_BUILD_ROOT
542 /sbin/chkconfig --add snmpd
543 %service snmpd restart "snmpd daemon"
546 if [ "$1" = "0" ]; then
548 /sbin/chkconfig --del snmpd
551 %post libs -p /sbin/ldconfig
552 %postun libs -p /sbin/ldconfig
554 %triggerpostun -- ucd-snmp
555 /sbin/chkconfig --add snmpd
560 /sbin/chkconfig --add snmptrapd
561 %service snmptrapd restart "snmp trap daemon"
564 if [ "$1" = "0" ]; then
565 %service snmptrapd stop
566 /sbin/chkconfig --del snmptrapd
569 %triggerpostun snmptrapd -- ucd-snmp-snmptrapd
570 /sbin/chkconfig --add snmptrapd
573 %defattr(644,root,root,755)
575 %doc ChangeLog EXAMPLE.conf.def EXAMPLE.conf
576 %doc FAQ NEWS PORTING README.snmpv3 TODO AGENT.txt
578 %attr(754,root,root) /etc/rc.d/init.d/snmpd
579 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmpd
581 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.conf
582 %attr(640,root,root) %config(missingok,noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.local.conf
584 %attr(755,root,root) %{_sbindir}/snmpd
586 %{_mandir}/man5/snmpd.conf.5*
587 %{_mandir}/man5/snmpd.examples.5*
588 %{_mandir}/man5/snmpd.internal.5*
589 %{_mandir}/man5/variables.5*
590 %{_mandir}/man8/snmpd.8*
592 %attr(640,root,root) %ghost %{logfile}
595 %defattr(644,root,root,755)
596 %dir %{_sysconfdir}/snmp
597 %attr(755,root,root) %{_libdir}/libnet*.so.*.*
600 %defattr(644,root,root,755)
601 %attr(755,root,root) %{_bindir}/mib2c
602 %attr(755,root,root) %{_bindir}/mib2c-update
603 %attr(755,root,root) %{_bindir}/net-snmp-config
604 %attr(755,root,root) %{_libdir}/libnet*[a-z].so
605 %{_libdir}/libnet*.la
606 %{_includedir}/net-snmp
607 %{_datadir}/snmp/mib2c*
608 %{_mandir}/man1/mib2c.1*
609 %{_mandir}/man1/mib2c-update.1*
610 %{_mandir}/man1/net-snmp-config.1*
611 %{_mandir}/man3/[!NS]*
612 %{_mandir}/man5/mib2c.conf.5*
614 %if %{with static_libs}
616 %defattr(644,root,root,755)
621 %defattr(644,root,root,755)
622 %attr(755,root,root) %{_libdir}/libsnmp.so
623 %{_libdir}/libsnmp.la
624 %{_includedir}/ucd-snmp
626 %if %{with static_libs}
628 %defattr(644,root,root,755)
633 %defattr(644,root,root,755)
634 %dir %{_datadir}/snmp
635 %{_datadir}/snmp/mibs
638 %defattr(644,root,root,755)
639 %attr(755,root,root) %{_sbindir}/snmptrapd
640 %attr(754,root,root) /etc/rc.d/init.d/snmptrapd
641 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmptrapd
642 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmptrapd.conf
644 %attr(755,root,root) %{_datadir}/snmp/snmp_perl_trapd.pl
646 %{_mandir}/man5/snmptrapd.conf.5*
647 %{_mandir}/man8/snmptrapd.8*
650 %defattr(644,root,root,755)
651 %attr(755,root,root) %{_bindir}/encode_keychange
652 %attr(755,root,root) %{_bindir}/snmpbulkget
653 %attr(755,root,root) %{_bindir}/snmpbulkwalk
654 %attr(755,root,root) %{_bindir}/snmpdelta
655 %attr(755,root,root) %{_bindir}/snmpdf
656 %attr(755,root,root) %{_bindir}/snmpget
657 %attr(755,root,root) %{_bindir}/snmpgetnext
658 %attr(755,root,root) %{_bindir}/snmpinform
659 %attr(755,root,root) %{_bindir}/snmpnetstat
660 %attr(755,root,root) %{_bindir}/snmpset
661 %attr(755,root,root) %{_bindir}/snmpstatus
662 %attr(755,root,root) %{_bindir}/snmptable
663 %attr(755,root,root) %{_bindir}/snmptest
664 %attr(755,root,root) %{_bindir}/snmptranslate
665 %attr(755,root,root) %{_bindir}/snmptrap
666 %attr(755,root,root) %{_bindir}/snmpusm
667 %attr(755,root,root) %{_bindir}/snmpvacm
668 %attr(755,root,root) %{_bindir}/snmpwalk
669 %{_mandir}/man1/encode_keychange.1*
670 %{_mandir}/man1/snmpbulkget.1*
671 %{_mandir}/man1/snmpbulkwalk.1*
672 %{_mandir}/man1/snmpcmd.1*
673 %{_mandir}/man1/snmpdelta.1*
674 %{_mandir}/man1/snmpdf.1*
675 %{_mandir}/man1/snmpget.1*
676 %{_mandir}/man1/snmpgetnext.1*
677 %{_mandir}/man1/snmpinform.1*
678 %{_mandir}/man1/snmpnetstat.1*
679 %{_mandir}/man1/snmpset.1*
680 %{_mandir}/man1/snmpstatus.1*
681 %{_mandir}/man1/snmptable.1*
682 %{_mandir}/man1/snmptest.1*
683 %{_mandir}/man1/snmptranslate.1*
684 %{_mandir}/man1/snmptrap.1*
685 %{_mandir}/man1/snmpusm.1*
686 %{_mandir}/man1/snmpvacm.1*
687 %{_mandir}/man1/snmpwalk.1*
688 %{_mandir}/man5/snmp.conf.5*
689 %{_mandir}/man5/snmp_config.5*
691 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmp.conf
695 %defattr(644,root,root,755)
696 %doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
697 %{perl_vendorarch}/SNMP.pm
698 %{perl_vendorarch}/NetSNMP
699 %dir %{perl_vendorarch}/auto/SNMP
700 %{perl_vendorarch}/auto/SNMP/autosplit.ix
701 %{perl_vendorarch}/auto/SNMP/SNMP.bs
702 %attr(755,root,root) %{perl_vendorarch}/auto/SNMP/SNMP.so
703 %dir %{perl_vendorarch}/auto/NetSNMP
704 %dir %{perl_vendorarch}/auto/NetSNMP/*
705 %{perl_vendorarch}/auto/NetSNMP/*/autosplit.ix
706 %{perl_vendorarch}/auto/NetSNMP/*/*.bs
707 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/*/*.so
708 %dir %{perl_vendorarch}/auto/NetSNMP/agent/default_store
709 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/autosplit.ix
710 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.bs
711 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.so
712 %{_mandir}/man3/NetSNMP::*.3*
713 %{_mandir}/man3/SNMP.3*
714 %{_examplesdir}/perl-SNMP-%{version}
717 %defattr(644,root,root,755)
718 %attr(755,root,root) %{_bindir}/fixproc
719 %attr(755,root,root) %{_bindir}/snmpcheck
720 %attr(755,root,root) %{_bindir}/traptoemail
721 %{_mandir}/man1/fixproc.1*
722 %{_mandir}/man1/traptoemail.1*
726 %defattr(644,root,root,755)
727 %attr(755,root,root) %{_bindir}/snmpconf
728 %{_mandir}/man1/snmpconf.1*
729 %{_datadir}/snmp/snmpconf-data
733 %defattr(644,root,root,755)
734 %attr(755,root,root) %{_bindir}/tkmib
735 %{_mandir}/man1/tkmib.1*
739 %files -n python-netsnmp
740 %defattr(644,root,root,755)
741 %dir %{py_sitedir}/netsnmp
742 %attr(755,root,root) %{py_sitedir}/netsnmp/*.so
743 %{py_sitedir}/netsnmp/*.py[co]
744 %{py_sitedir}/netsnmp_python-*.egg-info