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 URL: http://www.net-snmp.org/
58 BuildRequires: autoconf >= 2.61-3
59 BuildRequires: automake
60 BuildRequires: elfutils-devel
61 %{?with_kerberos5:BuildRequires: krb5-devel}
62 BuildRequires: libtool >= 1.4
63 BuildRequires: libwrap-devel
64 %{?with_lm_sensors:BuildRequires: lm_sensors-devel}
65 BuildRequires: openssl-devel >= 0.9.7d
66 %{?with_autodeps:BuildRequires: perl-Term-ReadKey}
67 BuildRequires: perl-devel >= 1:5.8.0
69 BuildRequires: python-devel >= 1:2.5
70 BuildRequires: python-setuptools
73 BuildRequires: rpm-devel >= 4.0
74 BuildRequires: rpm-perlprov >= 3.0.3-16
76 BuildRequires: rpmbuild(macros) >= 1.268
77 Requires(post,preun): /sbin/chkconfig
78 Requires: %{name}-libs = %{version}-%{release}
79 Requires: %{name}-mibs = %{version}-%{release}
80 Requires: /usr/bin/setsid
81 Requires: rc-scripts >= 0.2.0
86 Conflicts: rpm < 4.4.9-43.11
87 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
89 %define logfile /var/log/snmpd.log
92 SNMP (Simple Network Management Protocol) is a protocol used for
93 network management (hence the name). The net-snmp project includes
94 various SNMP tools: an extensible agent, an SNMP library, tools for
95 requesting or setting information from SNMP agents, tools for
96 generating and handling SNMP traps, a version of the netstat command
97 which uses SNMP, and a Tk/Perl mib browser. This package contains the
98 snmpd daemon, documentation, etc.
100 %description -l es.UTF-8
101 Este paquete se deriva de la implementación del Protocolo Simple de
102 Gestión de Redes versión 2 (SNMPv2) de la Universidad Carnegie Mellon.
103 Útil para administrar redes y hacer contabilidad.
105 %description -l pl.UTF-8
106 SNMP (Simple Network Management Protocol) jest protokołem używanym do
107 zarządzania sieciami. Pakiet zawiera narzędzia: rozbudowywalnego
108 agenta, bibliotekę SNMP, narzędzia do odpytywania oraz ustawiania
109 informacji poprzez agentów SNMP, narzędzia do generowania i obsługi
110 pułapek SNMP, wersję komendy netstat używającą SNMP, przeglądarkę mib
111 w Tk/Perl, demona, dokumentację itp.
113 %description -l pt_BR.UTF-8
114 Este pacote é derivado da implementação do Protocolo Simples de
115 Gerenciamento de Redes versão 2 (SNMPv2) da Universidade Carnegie
116 Mellon. Útil para gerenciar redes e fazer contabilidade.
118 %description -l ru.UTF-8
119 SNMP (Simple Network Management Protocol) - это протокол, используемый
120 для управления сетью (отсюда и название). Проект net-snmp включает
121 разнообразные SNMP-утилиты: расширяемый агент, библиотека SNMP,
122 утилиты для запроса или установки информации от SNMP-агентов, утилиты
123 для генерации и обработки SNMP-трапов, версия команды netstat,
124 использующей SNMP, и mib-браузер на Tk/Perl. Этот пакет содержит
125 демоны snmpd и snmptrapd, документацию и т.д.
127 %description -l uk.UTF-8
128 SNMP (Simple Network Management Protocol) - це протокол, який
129 використовують для керування мережею (звідси і назва). Проект net-snmp
130 містить різноманітні SNMP-утиліти: розширюваний агент, бібліотека
131 SNMP, утиліти для запросу та встановлення інформації від NMP-агентів,
132 утиліти для генерації та обробки SNMP-трапів, версія команди netstat,
133 яка використовує SNMP, та mib-браузер на Tk/Perl. Цей пакет містить
134 демони snmpd та snmptrapd, документацію і т.і.
137 Summary: NET SNMP libraries
138 Summary(pl.UTF-8): Biblioteki SNMP
140 Requires: %{name}-mibs
141 Obsoletes: net-snmp-compat-libs
142 Obsoletes: ucd-snmp-libs
147 %description libs -l pl.UTF-8
151 Summary: The development environment for the net-snmp project
152 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
153 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek net-snmp
154 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
155 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
156 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
157 Group: Development/Libraries
158 Requires: %{name}-libs = %{version}-%{release}
159 Requires: elfutils-devel
160 %{?with_kerberos5:Requires: krb5-devel}
161 Requires: libwrap-devel
162 %{?with_lm_sensors:Requires: lm_sensors-devel}
163 Requires: openssl-devel >= 0.9.7c
164 %{?with_rpm:Requires: rpm-devel}
165 Obsoletes: ucd-snmp-devel
168 The ucd-snmp-devel package contains the development libraries and
169 header files for use with the net-snmp project's network management
172 %description devel -l es.UTF-8
173 Estas son las bibliotecas y archivos de inclusión para desarrollo con
174 el SNMP de la UCD. Con este paquete es posible la creación de
175 programas para uso en la gestión de redes.
177 %description devel -l pl.UTF-8
178 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
179 aplikacji używających protokołu SNMP.
181 %description devel -l pt_BR.UTF-8
182 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
183 com o SNMP da UCD. Com este pacote é possível a criação de programas
184 para uso no gerenciamento de redes.
186 %description devel -l ru.UTF-8
187 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
188 использования с утилитами управления сетью проекта net-snmp.
190 %description devel -l uk.UTF-8
191 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
192 використання з утилітами керування мережею проекту net-snmp.
195 Summary: Static net-snmp libraries
196 Summary(pl.UTF-8): Statyczne biblioteki net-snmp
197 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
198 Summary(ru.UTF-8): Статические библиотеки для проекта net-snmp
199 Summary(uk.UTF-8): Статичні бібліотеки для проекту net-snmp
200 Group: Development/Libraries
201 Requires: %{name}-devel = %{version}-%{release}
202 Obsoletes: ucd-snmp-static
205 Static net-snmp libraries.
207 %description static -l pl.UTF-8
208 Statyczne biblioteki net-snmp.
210 %description static -l pt_BR.UTF-8
211 Bibliotecas estáticas para desenvolvimento com net-snmp.
213 %package compat-devel
214 Summary: The development environment for the UCD-SNMP project
215 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
216 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek UCD-SNMP
217 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
218 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
219 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
220 Group: Development/Libraries
221 Requires: %{name}-libs = %{version}-%{release}
222 Requires: openssl-devel >= 0.9.7d
223 Obsoletes: cmu-snmp-devel
224 Obsoletes: ucd-snmp-devel
226 %description compat-devel
227 The ucd-snmp-devel package contains the development libraries and
228 header files for use with the UCD-SNMP project's network management
231 %description compat-devel -l es.UTF-8
232 Estas son las bibliotecas y archivos de inclusión para desarrollo con
233 el SNMP de la UCD. Con este paquete es posible la creación de
234 programas para uso en la gestión de redes.
236 %description compat-devel -l pl.UTF-8
237 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
238 aplikacji używających protokołu SNMP.
240 %description compat-devel -l pt_BR.UTF-8
241 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
242 com o SNMP da UCD. Com este pacote é possível a criação de programas
243 para uso no gerenciamento de redes.
245 %description compat-devel -l ru.UTF-8
246 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
247 использования с утилитами управления сетью проекта UCD-SNMP.
249 %description compat-devel -l uk.UTF-8
250 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
251 використання з утилітами керування мережею проекту UCD-SNMP.
253 %package compat-static
254 Summary: Static UCD-SNMP libraries
255 Summary(pl.UTF-8): Statyczne biblioteki UCD-SNMP
256 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
257 Summary(ru.UTF-8): Статические библиотеки для проекта UCD-SNMP
258 Summary(uk.UTF-8): Статичні бібліотеки для проекту UCD-SNMP
259 Group: Development/Libraries
260 Requires: %{name}-compat-devel = %{version}-%{release}
261 Obsoletes: ucd-snmp-static
263 %description compat-static
264 Static UCD-SNMP libraries.
266 %description compat-static -l pl.UTF-8
267 Statyczne biblioteki UCD-SNMP.
269 %description compat-static -l pt_BR.UTF-8
270 Bibliotecas estáticas para desenvolvimento com ucd-snmp.
273 Summary: MIB database
274 Summary(pl.UTF-8): Baza danych MIB
275 Group: Applications/System
276 Conflicts: ucd-snmp-libs
281 %description mibs -l pl.UTF-8
285 Summary: SNMP trap daemon
286 Summary(pl.UTF-8): Demon obsługujący pułapki SNMP
287 Group: Applications/System
288 Requires(post,preun): /sbin/chkconfig
289 Requires: %{name} = %{version}-%{release}
290 Requires: rc-scripts >= 0.2.0
291 Obsoletes: cmu-snmp-utils
292 Obsoletes: ucd-snmp-snmptrapd
294 %description snmptrapd
295 The ucd-snmp-snmptrapd package contains snmp trap daemon.
297 %description snmptrapd -l pl.UTF-8
298 Pakiet zawiera demon obsługujący pułapki SNMP.
301 Summary: Network management utilities using SNMP, from the NET-SNMP project
302 Summary(es.UTF-8): Utilitarios del SNMP de la UCD
303 Summary(pl.UTF-8): Narzędzia używające protokołu SNMP
304 Summary(pt_BR.UTF-8): Utilitários do SNMP da UCD
305 Summary(ru.UTF-8): Утилиты управления сетью по SNMP из проекта NET-SNMP
306 Summary(uk.UTF-8): Утиліти керування мережею по SNMP з проекту NET-SNMP
307 Group: Applications/System
308 Requires: %{name}-libs = %{version}-%{release}
309 Requires: %{name}-mibs = %{version}-%{release}
310 Obsoletes: cmu-snmp-utils
311 Obsoletes: ucd-snmp-utils
314 This package contains various utilities for managing your network
315 using the SNMP protocol.
317 %description utils -l es.UTF-8
318 Varios utilitarios para uso con el SNMP de la UCD. Contiene
319 utilitarios como: snmpwalk, snmptest y otros.
321 %description utils -l pl.UTF-8
322 Różnego rodzaju narzędzia do zarządzania siecią przy użyciu protokołu
325 %description utils -l pt_BR.UTF-8
326 Vários utilitários para uso com o SNMP da UCD. Contém utilitários
327 como: snmpwalk, snmptest e outros.
329 %description utils -l ru.UTF-8
330 Пакет ucd-snmp-utils содержит разнообразные утилиты для использования
331 в проекте управления сетью net-snmp.
333 %description utils -l uk.UTF-8
334 Пакет ucd-snmp-utils містить різноманітні утиліти для використання в
335 проекті керування мережею net-snmp.
337 %package -n perl-SNMP
338 Summary: SNMP and NetSNMP::* Perl modules
339 Summary(pl.UTF-8): Moduły Perla SNMP oraz NetSNMP::*
340 Group: Development/Languages/Perl
341 Requires: %{name}-libs = %{version}-%{release}
342 Conflicts: ucd-snmp-utils-perl
344 %description -n perl-SNMP
345 SNMP and NetSNMP::* Perl modules - Perl interface to net-snmp.
347 %description -n perl-SNMP -l pl.UTF-8
348 Moduły Perla SNMP oraz NetSNMP::* - perlowy interfejs do net-snmp.
351 Summary: Perl utilities for network management using SNMP
352 Summary(pl.UTF-8): Perlowe narzędzia używające protokołu SNMP
353 Group: Applications/System
354 Requires: perl-SNMP = %{version}-%{release}
355 Obsoletes: cmu-snmp-utils
356 Obsoletes: ucd-snmp-utils-perl
358 %description utils-perl
359 This package contains various Perl utilities for managing your network
360 using the SNMP protocol.
362 %description utils-perl -l pl.UTF-8
363 Perlowe narzędzia do zarządzania siecią przy użyciu protokołu SNMP.
366 Summary: snmpconf - creating and modifying SNMP configuration files
367 Summary(pl.UTF-8): snmpconf - tworzenie i modyfikowanie plików konfiguracyjnych SNMP
368 Group: Applications/System
369 Requires: %{name} = %{version}-%{release}
370 Requires: perl-SNMP = %{version}-%{release}
372 %description snmpconf
373 snmpconf is a simple Perl script that walks you through setting up a
374 configuration file step by step. It should be fairly straight forward
377 %description snmpconf -l pl.UTF-8
378 snmpconf to prosty skrypt Perla pozwalający na tworzenie pliku
379 konfiguracyjnego krok po kroku. Powinien być w miarę prosty w użyciu.
382 Summary: MIB browser in Tk
383 Summary(pl.UTF-8): Przeglądarka MIB-ów w Tk
384 Group: Applications/System
385 Requires: perl-SNMP = %{version}-%{release}
391 %description tkmib -l pl.UTF-8
392 Przeglądarka MIB-ów w Tk.
394 %package -n python-netsnmp
395 Summary: Python netsnmp extension module
396 Summary(pl.UTF-8): Moduł rozszerzenia netsnmp dla Pythona
397 Group: Libraries/Python
398 Requires: %{name}-libs = %{version}-%{release}
400 %description -n python-netsnmp
401 The 'netsnmp' Python extension module provides a full featured,
402 tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API.
404 %description -n python-netsnmp -l pl.UTF-8
405 Moduł rozszerzenia netsnmp dla Pythona udostępnia pełne API klienckie
406 SNMP dla trzech wersji tego protokołu (SNMPv3, SNMPv2c, SNMPv1).
430 --disable-debugging \
432 %{!?with_static_libs:--disable-static} \
433 --with-cflags="%{rpmcflags} -I/usr/include/et" \
434 --with-ldflags="%{rpmldflags}" \
436 --with-default-snmp-version=3 \
437 %{?with_kerberos5:--with-krb5=%{_prefix}} \
438 %{!?with_kerberos5:--without-krb5} \
439 --with-openssl=%{_prefix} \
440 --with-libwrap=%{_prefix} \
441 --with-logfile="%{logfile}" \
442 --with-zlib=%{_prefix} \
443 --with-bzip2=%{_prefix} \
444 --with%{!?with_rpm:out}-perl-modules \
445 --with%{!?with_rpm:out}-python-modules \
446 --with-mib-modules="host agentx smux mibII/mta_sendmail \
447 %ifarch %{ix86} %{x8664}
448 %if %{with lm_sensors}
452 disman/event disman/schedule ucd-snmp/diskio \
453 target misc/ipfwacc" \
454 %{?with_kerberos5:--with-security-modules="ksm"} \
455 --with-sys-contact="root@localhost" \
456 --with-sys-location="Unknown" \
457 --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback " \
458 --with-persistent-directory="/var/lib/net-snmp" \
459 --enable-ucd-snmp-compatibility \
461 --with%{!?with_rpm:out}-rpm
467 %{__perl} Makefile.PL \
468 -NET-SNMP-IN-SOURCE=true \
470 OPTIMIZE="%{rpmcflags}" \
473 # avoid rpaths generated by MakeMaker
474 perl -pi -e 's@LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
477 LDFLAGS="%{rpmldflags}"
480 rm -rf $RPM_BUILD_ROOT
481 install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log}
484 DESTDIR=$RPM_BUILD_ROOT
486 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
487 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
488 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmp.conf
489 :> $RPM_BUILD_ROOT%{logfile}
491 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
492 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
493 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/snmpd
495 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmptrapd
496 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
497 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
499 #install agent/mibgroup/ipfwchains/IPFWCHAINS-MIB.txt \
500 # $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
504 DESTDIR=$RPM_BUILD_ROOT
506 install -d $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
507 install SNMP/examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
510 # IP-Filter (non-Linux)
511 rm -f $RPM_BUILD_ROOT%{_bindir}/ipf-mod.pl
513 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
514 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Bundle/Makefile.subs.pl
515 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Bundle/NetSNMP/.packlist
517 %if %{with static_libs}
518 # hack: convert DynaLoader.a inside .a file to .o, as strip(1) would otherwise say invalid argument
519 for a in $RPM_BUILD_ROOT%{_libdir}/libnet*.a; do
522 if [ -f DynaLoader.a ]; then
524 ar cr $a DynaLoader.o
526 # remove second file too
533 rm -rf $RPM_BUILD_ROOT
538 /sbin/chkconfig --add snmpd
539 %service snmpd restart "snmpd daemon"
542 if [ "$1" = "0" ]; then
544 /sbin/chkconfig --del snmpd
547 %post libs -p /sbin/ldconfig
548 %postun libs -p /sbin/ldconfig
550 %triggerpostun -- ucd-snmp
551 /sbin/chkconfig --add snmpd
556 /sbin/chkconfig --add snmptrapd
557 %service snmptrapd restart "snmp trap daemon"
560 if [ "$1" = "0" ]; then
561 %service snmptrapd stop
562 /sbin/chkconfig --del snmptrapd
565 %triggerpostun snmptrapd -- ucd-snmp-snmptrapd
566 /sbin/chkconfig --add snmptrapd
569 %defattr(644,root,root,755)
571 %doc ChangeLog EXAMPLE.conf.def EXAMPLE.conf
572 %doc FAQ NEWS PORTING README.snmpv3 TODO AGENT.txt
574 %attr(754,root,root) /etc/rc.d/init.d/snmpd
575 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmpd
577 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.conf
578 %attr(640,root,root) %config(missingok,noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.local.conf
580 %attr(755,root,root) %{_sbindir}/snmpd
582 %{_mandir}/man5/snmpd.conf.5*
583 %{_mandir}/man5/snmpd.examples.5*
584 %{_mandir}/man5/snmpd.internal.5*
585 %{_mandir}/man5/variables.5*
586 %{_mandir}/man8/snmpd.8*
588 %attr(640,root,root) %ghost %{logfile}
591 %defattr(644,root,root,755)
592 %dir %{_sysconfdir}/snmp
593 %attr(755,root,root) %{_libdir}/libnet*.so.*.*
596 %defattr(644,root,root,755)
597 %attr(755,root,root) %{_bindir}/mib2c
598 %attr(755,root,root) %{_bindir}/mib2c-update
599 %attr(755,root,root) %{_bindir}/net-snmp-config
600 %attr(755,root,root) %{_libdir}/libnet*[a-z].so
601 %{_libdir}/libnet*.la
602 %{_includedir}/net-snmp
603 %{_datadir}/snmp/mib2c*
604 %{_mandir}/man1/mib2c.1*
605 %{_mandir}/man1/mib2c-update.1*
606 %{_mandir}/man1/net-snmp-config.1*
607 %{_mandir}/man3/[!NS]*
608 %{_mandir}/man5/mib2c.conf.5*
610 %if %{with static_libs}
612 %defattr(644,root,root,755)
617 %defattr(644,root,root,755)
618 %attr(755,root,root) %{_libdir}/libsnmp.so
619 %{_libdir}/libsnmp.la
620 %{_includedir}/ucd-snmp
622 %if %{with static_libs}
624 %defattr(644,root,root,755)
629 %defattr(644,root,root,755)
630 %dir %{_datadir}/snmp
631 %{_datadir}/snmp/mibs
634 %defattr(644,root,root,755)
635 %attr(755,root,root) %{_sbindir}/snmptrapd
636 %attr(754,root,root) /etc/rc.d/init.d/snmptrapd
637 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmptrapd
638 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmptrapd.conf
640 %attr(755,root,root) %{_datadir}/snmp/snmp_perl_trapd.pl
642 %{_mandir}/man5/snmptrapd.conf.5*
643 %{_mandir}/man8/snmptrapd.8*
646 %defattr(644,root,root,755)
647 %attr(755,root,root) %{_bindir}/encode_keychange
648 %attr(755,root,root) %{_bindir}/snmpbulkget
649 %attr(755,root,root) %{_bindir}/snmpbulkwalk
650 %attr(755,root,root) %{_bindir}/snmpdelta
651 %attr(755,root,root) %{_bindir}/snmpdf
652 %attr(755,root,root) %{_bindir}/snmpget
653 %attr(755,root,root) %{_bindir}/snmpgetnext
654 %attr(755,root,root) %{_bindir}/snmpinform
655 %attr(755,root,root) %{_bindir}/snmpnetstat
656 %attr(755,root,root) %{_bindir}/snmpset
657 %attr(755,root,root) %{_bindir}/snmpstatus
658 %attr(755,root,root) %{_bindir}/snmptable
659 %attr(755,root,root) %{_bindir}/snmptest
660 %attr(755,root,root) %{_bindir}/snmptranslate
661 %attr(755,root,root) %{_bindir}/snmptrap
662 %attr(755,root,root) %{_bindir}/snmpusm
663 %attr(755,root,root) %{_bindir}/snmpvacm
664 %attr(755,root,root) %{_bindir}/snmpwalk
665 %{_mandir}/man1/encode_keychange.1*
666 %{_mandir}/man1/snmpbulkget.1*
667 %{_mandir}/man1/snmpbulkwalk.1*
668 %{_mandir}/man1/snmpcmd.1*
669 %{_mandir}/man1/snmpdelta.1*
670 %{_mandir}/man1/snmpdf.1*
671 %{_mandir}/man1/snmpget.1*
672 %{_mandir}/man1/snmpgetnext.1*
673 %{_mandir}/man1/snmpinform.1*
674 %{_mandir}/man1/snmpnetstat.1*
675 %{_mandir}/man1/snmpset.1*
676 %{_mandir}/man1/snmpstatus.1*
677 %{_mandir}/man1/snmptable.1*
678 %{_mandir}/man1/snmptest.1*
679 %{_mandir}/man1/snmptranslate.1*
680 %{_mandir}/man1/snmptrap.1*
681 %{_mandir}/man1/snmpusm.1*
682 %{_mandir}/man1/snmpvacm.1*
683 %{_mandir}/man1/snmpwalk.1*
684 %{_mandir}/man5/snmp.conf.5*
685 %{_mandir}/man5/snmp_config.5*
687 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmp.conf
691 %defattr(644,root,root,755)
692 %doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
693 %{perl_vendorarch}/SNMP.pm
694 %{perl_vendorarch}/NetSNMP
695 %dir %{perl_vendorarch}/auto/SNMP
696 %{perl_vendorarch}/auto/SNMP/autosplit.ix
697 %{perl_vendorarch}/auto/SNMP/SNMP.bs
698 %attr(755,root,root) %{perl_vendorarch}/auto/SNMP/SNMP.so
699 %dir %{perl_vendorarch}/auto/NetSNMP
700 %dir %{perl_vendorarch}/auto/NetSNMP/*
701 %{perl_vendorarch}/auto/NetSNMP/*/autosplit.ix
702 %{perl_vendorarch}/auto/NetSNMP/*/*.bs
703 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/*/*.so
704 %dir %{perl_vendorarch}/auto/NetSNMP/agent/default_store
705 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/autosplit.ix
706 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.bs
707 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.so
708 %{_mandir}/man3/NetSNMP::*.3*
709 %{_mandir}/man3/SNMP.3*
710 %{_examplesdir}/perl-SNMP-%{version}
713 %defattr(644,root,root,755)
714 %attr(755,root,root) %{_bindir}/fixproc
715 %attr(755,root,root) %{_bindir}/snmpcheck
716 %attr(755,root,root) %{_bindir}/traptoemail
717 %{_mandir}/man1/fixproc.1*
718 %{_mandir}/man1/traptoemail.1*
722 %defattr(644,root,root,755)
723 %attr(755,root,root) %{_bindir}/snmpconf
724 %{_mandir}/man1/snmpconf.1*
725 %{_datadir}/snmp/snmpconf-data
729 %defattr(644,root,root,755)
730 %attr(755,root,root) %{_bindir}/tkmib
731 %{_mandir}/man1/tkmib.1*
735 %files -n python-netsnmp
736 %defattr(644,root,root,755)
737 %dir %{py_sitedir}/netsnmp
738 %attr(755,root,root) %{py_sitedir}/netsnmp/*.so
739 %{py_sitedir}/netsnmp/*.py[co]
740 %{py_sitedir}/netsnmp_python-*.egg-info