3 %bcond_without autodeps # don't BR packages only for deps resolving
4 %bcond_without rpm # don't include RPM support
5 %bcond_without kerberos5 # don't include kerberos support
6 %bcond_without lm_sensors # don't include sensors support
7 %bcond_without perl # don't include Perl modules and utils
8 %bcond_without python # don't include Python modules
9 %bcond_without static_libs # don't build static library
11 %include /usr/lib/rpm/macros.perl
12 Summary: A collection of SNMP protocol tools
13 Summary(es.UTF-8): Agente SNMP de la UCD
14 Summary(pl.UTF-8): Kolekcja narzędzi do obsługi protokołu SNMP
15 Summary(pt_BR.UTF-8): Agente SNMP da UCD
16 Summary(ru.UTF-8): Набор утилит для протокола SNMP от UC-Davis
17 Summary(uk.UTF-8): Набір утиліт для протоколу SNMP від UC-Davis
22 Group: Networking/Daemons
23 Source0: http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
24 # Source0-md5: 984932520143f0c8bf7b7ce1fc9e1da1
25 Source1: %{name}d.init
26 Source2: %{name}d.conf
27 Source3: %{name}d.sysconfig
28 Source4: %{name}trapd.init
29 Source5: %{name}trapd.conf
30 Source6: %{name}trapd.sysconfig
31 Source7: ucd-ipchains.tar.gz
32 # Source7-md5: 29949f1008f1a04d6efefd5b3ea607da
33 Patch0: %{name}-acfix.patch
34 Patch1: %{name}-rpm-implicit-libs.patch
35 Patch2: %{name}-config-noflags.patch
36 Patch3: %{name}-manpage.patch
37 Patch4: %{name}-link.patch
38 Patch5: %{name}-llinterfaces.patch
39 Patch6: %{name}-kernel_headers.patch
40 Patch7: %{name}-rpmpath.patch
41 Patch8: %{name}-snmpksm.patch
42 Patch9: %{name}-python.patch
43 Patch10: %{name}-lvalue.patch
44 Patch11: %{name}-defaultconfig.patch
45 Patch12: %{name}-use-rpm-hrmib.patch
46 Patch14: %{name}-lm_sensors_3.patch
47 Patch15: %{name}-subcontainer.patch
48 Patch16: %{name}-netlink.patch
49 Patch17: %{name}-TCP_STATS_CACHE_TIMEOUT.patch
50 Patch18: %{name}-src-dst-confusion.patch
51 URL: http://www.net-snmp.org/
52 BuildRequires: autoconf >= 2.61-3
53 BuildRequires: automake
54 BuildRequires: elfutils-devel
55 %{?with_kerberos5:BuildRequires: heimdal-devel}
56 BuildRequires: libnl-devel >= 1:1.1
57 BuildRequires: libtool >= 1.4
58 BuildRequires: libwrap-devel
59 %{?with_lm_sensors:BuildRequires: lm_sensors-devel >= 3.0.1}
60 BuildRequires: openssl-devel >= 0.9.7d
61 %{?with_autodeps:BuildRequires: perl-Term-ReadKey}
62 BuildRequires: perl-devel >= 1:5.8.0
64 BuildRequires: python-devel
65 BuildRequires: python-modules
66 BuildRequires: python-setuptools
67 BuildRequires: rpm-pythonprov
71 BuildRequires: rpm-perlprov >= 3.0.3-16
73 BuildRequires: rpmbuild(macros) >= 1.268
74 Requires(post,preun): /sbin/chkconfig
75 Requires: %{name}-libs = %{version}-%{release}
76 Requires: %{name}-mibs = %{version}-%{release}
77 Requires: /usr/bin/setsid
78 Requires: rc-scripts >= 0.2.0
83 Conflicts: rpm < 4.4.9-43.11
84 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86 # linking libraries is ugly in this package
87 %define no_install_post_check_so 1
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: heimdal-devel}
161 Requires: libwrap-devel
162 %{?with_lm_sensors:Requires: lm_sensors-devel >= 3.0.1}
163 Requires: openssl-devel >= 0.9.7c
164 Obsoletes: ucd-snmp-devel
167 The ucd-snmp-devel package contains the development libraries and
168 header files for use with the net-snmp project's network management
171 %description devel -l es.UTF-8
172 Estas son las bibliotecas y archivos de inclusión para desarrollo con
173 el SNMP de la UCD. Con este paquete es posible la creación de
174 programas para uso en la gestión de redes.
176 %description devel -l pl.UTF-8
177 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
178 aplikacji używających protokołu SNMP.
180 %description devel -l pt_BR.UTF-8
181 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
182 com o SNMP da UCD. Com este pacote é possível a criação de programas
183 para uso no gerenciamento de redes.
185 %description devel -l ru.UTF-8
186 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
187 использования с утилитами управления сетью проекта net-snmp.
189 %description devel -l uk.UTF-8
190 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
191 використання з утилітами керування мережею проекту net-snmp.
194 Summary: Static net-snmp libraries
195 Summary(pl.UTF-8): Statyczne biblioteki net-snmp
196 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
197 Summary(ru.UTF-8): Статические библиотеки для проекта net-snmp
198 Summary(uk.UTF-8): Статичні бібліотеки для проекту net-snmp
199 Group: Development/Libraries
200 Requires: %{name}-devel = %{version}-%{release}
201 Obsoletes: ucd-snmp-static
204 Static net-snmp libraries.
206 %description static -l pl.UTF-8
207 Statyczne biblioteki net-snmp.
209 %description static -l pt_BR.UTF-8
210 Bibliotecas estáticas para desenvolvimento com net-snmp.
212 %package compat-devel
213 Summary: The development environment for the UCD-SNMP project
214 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
215 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek UCD-SNMP
216 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
217 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
218 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
219 Group: Development/Libraries
220 Requires: %{name}-libs = %{version}-%{release}
221 Requires: openssl-devel >= 0.9.7d
222 Obsoletes: cmu-snmp-devel
223 Obsoletes: ucd-snmp-devel
225 %description compat-devel
226 The ucd-snmp-devel package contains the development libraries and
227 header files for use with the UCD-SNMP project's network management
230 %description compat-devel -l es.UTF-8
231 Estas son las bibliotecas y archivos de inclusión para desarrollo con
232 el SNMP de la UCD. Con este paquete es posible la creación de
233 programas para uso en la gestión de redes.
235 %description compat-devel -l pl.UTF-8
236 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
237 aplikacji używających protokołu SNMP.
239 %description compat-devel -l pt_BR.UTF-8
240 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
241 com o SNMP da UCD. Com este pacote é possível a criação de programas
242 para uso no gerenciamento de redes.
244 %description compat-devel -l ru.UTF-8
245 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
246 использования с утилитами управления сетью проекта UCD-SNMP.
248 %description compat-devel -l uk.UTF-8
249 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
250 використання з утилітами керування мережею проекту UCD-SNMP.
252 %package compat-static
253 Summary: Static UCD-SNMP libraries
254 Summary(pl.UTF-8): Statyczne biblioteki UCD-SNMP
255 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
256 Summary(ru.UTF-8): Статические библиотеки для проекта UCD-SNMP
257 Summary(uk.UTF-8): Статичні бібліотеки для проекту UCD-SNMP
258 Group: Development/Libraries
259 Requires: %{name}-compat-devel = %{version}-%{release}
260 Obsoletes: ucd-snmp-static
262 %description compat-static
263 Static UCD-SNMP libraries.
265 %description compat-static -l pl.UTF-8
266 Statyczne biblioteki UCD-SNMP.
268 %description compat-static -l pt_BR.UTF-8
269 Bibliotecas estáticas para desenvolvimento com ucd-snmp.
272 Summary: MIB database
273 Summary(pl.UTF-8): Baza danych MIB
274 Group: Applications/System
275 Conflicts: ucd-snmp-libs
280 %description mibs -l pl.UTF-8
284 Summary: SNMP trap daemon
285 Summary(pl.UTF-8): Demon obsługujący pułapki SNMP
286 Group: Applications/System
287 Requires(post,preun): /sbin/chkconfig
288 Requires: %{name} = %{version}-%{release}
289 Requires: rc-scripts >= 0.2.0
290 Obsoletes: cmu-snmp-utils
291 Obsoletes: ucd-snmp-snmptrapd
293 %description snmptrapd
294 The ucd-snmp-snmptrapd package contains snmp trap daemon.
296 %description snmptrapd -l pl.UTF-8
297 Pakiet zawiera demon obsługujący pułapki SNMP.
300 Summary: Network management utilities using SNMP, from the NET-SNMP project
301 Summary(es.UTF-8): Utilitarios del SNMP de la UCD
302 Summary(pl.UTF-8): Narzędzia używające protokołu SNMP
303 Summary(pt_BR.UTF-8): Utilitários do SNMP da UCD
304 Summary(ru.UTF-8): Утилиты управления сетью по SNMP из проекта NET-SNMP
305 Summary(uk.UTF-8): Утиліти керування мережею по SNMP з проекту NET-SNMP
306 Group: Applications/System
307 Requires: %{name}-libs = %{version}-%{release}
308 Requires: %{name}-mibs = %{version}-%{release}
309 Obsoletes: cmu-snmp-utils
310 Obsoletes: ucd-snmp-utils
313 This package contains various utilities for managing your network
314 using the SNMP protocol.
316 %description utils -l es.UTF-8
317 Varios utilitarios para uso con el SNMP de la UCD. Contiene
318 utilitarios como: snmpwalk, snmptest y otros.
320 %description utils -l pl.UTF-8
321 Różnego rodzaju narzędzia do zarządzania siecią przy użyciu protokołu
324 %description utils -l pt_BR.UTF-8
325 Vários utilitários para uso com o SNMP da UCD. Contém utilitários
326 como: snmpwalk, snmptest e outros.
328 %description utils -l ru.UTF-8
329 Пакет ucd-snmp-utils содержит разнообразные утилиты для использования
330 в проекте управления сетью net-snmp.
332 %description utils -l uk.UTF-8
333 Пакет ucd-snmp-utils містить різноманітні утиліти для використання в
334 проекті керування мережею net-snmp.
336 %package -n perl-SNMP
337 Summary: SNMP and NetSNMP::* Perl modules
338 Summary(pl.UTF-8): Moduły Perla SNMP oraz NetSNMP::*
339 Group: Development/Languages/Perl
340 Requires: %{name}-libs = %{version}-%{release}
341 Conflicts: ucd-snmp-utils-perl
343 %description -n perl-SNMP
344 SNMP and NetSNMP::* Perl modules - Perl interface to net-snmp.
346 %description -n perl-SNMP -l pl.UTF-8
347 Moduły Perla SNMP oraz NetSNMP::* - perlowy interfejs do net-snmp.
350 Summary: Perl utilities for network management using SNMP
351 Summary(pl.UTF-8): Perlowe narzędzia używające protokołu SNMP
352 Group: Applications/System
353 Requires: perl-SNMP = %{version}-%{release}
354 Obsoletes: cmu-snmp-utils
355 Obsoletes: ucd-snmp-utils-perl
357 %description utils-perl
358 This package contains various Perl utilities for managing your network
359 using the SNMP protocol.
361 %description utils-perl -l pl.UTF-8
362 Perlowe narzędzia do zarządzania siecią przy użyciu protokołu SNMP.
365 Summary: snmpconf - creating and modifying SNMP configuration files
366 Summary(pl.UTF-8): snmpconf - tworzenie i modyfikowanie plików konfiguracyjnych SNMP
367 Group: Applications/System
368 Requires: %{name} = %{version}-%{release}
369 Requires: perl-SNMP = %{version}-%{release}
371 %description snmpconf
372 snmpconf is a simple Perl script that walks you through setting up a
373 configuration file step by step. It should be fairly straight forward
376 %description snmpconf -l pl.UTF-8
377 snmpconf to prosty skrypt Perla pozwalający na tworzenie pliku
378 konfiguracyjnego krok po kroku. Powinien być w miarę prosty w użyciu.
381 Summary: MIB browser in Tk
382 Summary(pl.UTF-8): Przeglądarka MIB-ów w Tk
383 Group: Applications/System
384 Requires: perl-SNMP = %{version}-%{release}
390 %description tkmib -l pl.UTF-8
391 Przeglądarka MIB-ów w Tk.
393 %package -n python-netsnmp
394 Summary: Python netsnmp extension module
395 Summary(pl.UTF-8): Moduł rozszerzenia netsnmp dla Pythona
396 Group: Libraries/Python
397 Requires: %{name}-libs = %{version}-%{release}
399 %description -n python-netsnmp
400 The 'netsnmp' Python extension module provides a full featured,
401 tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API.
403 %description -n python-netsnmp -l pl.UTF-8
404 Moduł rozszerzenia netsnmp dla Pythona udostępnia pełne API klienckie
405 SNMP dla trzech wersji tego protokołu (SNMPv3, SNMPv2c, SNMPv1).
433 cp -f /usr/share/automake/config.sub .
435 --disable-debugging \
437 %{!?with_static_libs:--disable-static} \
438 --with-cflags="%{rpmcflags} -I/usr/include/et" \
439 --with-ldflags="%{rpmldflags}" \
441 --with-default-snmp-version=3 \
442 %{?with_kerberos5:--with-krb5=%{_prefix}} \
443 %{!?with_kerberos5:--without-krb5} \
444 --with-openssl=%{_prefix} \
445 --with-libwrap=%{_prefix} \
446 --with-logfile="%{logfile}" \
447 --with-zlib=%{_prefix} \
448 --with-bzip2=%{_prefix} \
449 --with%{!?with_perl:out}-perl-modules \
450 --with%{!?with_python:out}-python-modules \
451 --enable-local-smux \
452 --with-mib-modules="host agentx smux mibII/mta_sendmail \
453 %ifarch %{ix86} %{x8664}
454 %if %{with lm_sensors}
455 ucd-snmp/lmsensorsMib \
458 disman/event disman/schedule ucd-snmp/diskio \
459 target misc/ipfwacc" \
460 %{?with_kerberos5:--with-security-modules="ksm"} \
461 --with-sys-contact="root@localhost" \
462 --with-sys-location="Unknown" \
463 --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback" \
464 --with-persistent-directory="/var/lib/net-snmp" \
465 --enable-ucd-snmp-compatibility \
467 --with%{!?with_rpm:out}-rpm
473 %{__perl} Makefile.PL \
474 -NET-SNMP-IN-SOURCE=true \
476 OPTIMIZE="%{rpmcflags}" \
479 # avoid rpaths generated by MakeMaker
480 perl -pi -e 's@LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
483 LDFLAGS="%{rpmldflags}"
486 rm -rf $RPM_BUILD_ROOT
487 install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log,%{_libdir}/snmp/dlmod}
489 %{__make} -j1 install \
490 DESTDIR=$RPM_BUILD_ROOT
492 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
493 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
494 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmp.conf
495 :> $RPM_BUILD_ROOT%{logfile}
497 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
498 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
499 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/snmpd
501 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmptrapd
502 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
503 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
505 #install agent/mibgroup/ipfwchains/IPFWCHAINS-MIB.txt \
506 # $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
509 %{__make} -j1 install \
510 DESTDIR=$RPM_BUILD_ROOT
512 install -d $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
513 install SNMP/examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
516 # IP-Filter (non-Linux)
517 rm -f $RPM_BUILD_ROOT%{_bindir}/ipf-mod.pl
519 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
520 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Bundle/Makefile.subs.pl
521 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Bundle/NetSNMP/.packlist
523 %if %{with static_libs}
524 # hack: convert DynaLoader.a inside .a file to .o, as strip(1) would otherwise say invalid argument
525 for a in $RPM_BUILD_ROOT%{_libdir}/libnet*.a; do
528 if [ -f DynaLoader.a ]; then
530 ar cr $a DynaLoader.o
532 # remove second file too
537 rm -f $RPM_BUILD_ROOT%{_libdir}/libsnmp.a
541 %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/netsnmp/tests
542 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/netsnmp/*.py
545 touch $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/.index
548 rm -rf $RPM_BUILD_ROOT
553 /sbin/chkconfig --add snmpd
554 %service snmpd restart "snmpd daemon"
557 if [ "$1" = "0" ]; then
559 /sbin/chkconfig --del snmpd
562 %post libs -p /sbin/ldconfig
563 %postun libs -p /sbin/ldconfig
565 %triggerpostun -- ucd-snmp
566 /sbin/chkconfig --add snmpd
571 /sbin/chkconfig --add snmptrapd
572 %service snmptrapd restart "snmp trap daemon"
575 if [ "$1" = "0" ]; then
576 %service snmptrapd stop
577 /sbin/chkconfig --del snmptrapd
580 %triggerpostun snmptrapd -- ucd-snmp-snmptrapd
581 /sbin/chkconfig --add snmptrapd
584 %defattr(644,root,root,755)
586 %doc ChangeLog EXAMPLE.conf.def EXAMPLE.conf
587 %doc FAQ NEWS PORTING README.snmpv3 TODO AGENT.txt
589 %attr(754,root,root) /etc/rc.d/init.d/snmpd
590 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmpd
592 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.conf
593 %attr(640,root,root) %config(missingok,noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.local.conf
595 %attr(755,root,root) %{_sbindir}/snmpd
598 %dir %{_libdir}/snmp/dlmod
600 %{_mandir}/man5/snmpd.conf.5*
601 %{_mandir}/man5/snmpd.examples.5*
602 %{_mandir}/man5/snmpd.internal.5*
603 %{_mandir}/man5/variables.5*
604 %{_mandir}/man8/snmpd.8*
606 %attr(640,root,root) %ghost %{logfile}
609 %defattr(644,root,root,755)
610 %dir %{_sysconfdir}/snmp
611 %attr(755,root,root) %{_libdir}/libnetsnmp.so.*.*
612 %attr(755,root,root) %{_libdir}/libnetsnmpagent.so.*.*
613 %attr(755,root,root) %{_libdir}/libnetsnmphelpers.so.*.*
614 %attr(755,root,root) %{_libdir}/libnetsnmpmibs.so.*.*
615 %attr(755,root,root) %{_libdir}/libnetsnmptrapd.so.*.*
616 %attr(755,root,root) %ghost %{_libdir}/libnetsnmp.so.15
617 %attr(755,root,root) %ghost %{_libdir}/libnetsnmpagent.so.15
618 %attr(755,root,root) %ghost %{_libdir}/libnetsnmphelpers.so.15
619 %attr(755,root,root) %ghost %{_libdir}/libnetsnmpmibs.so.15
620 %attr(755,root,root) %ghost %{_libdir}/libnetsnmptrapd.so.15
623 %defattr(644,root,root,755)
624 %attr(755,root,root) %{_bindir}/mib2c
625 %attr(755,root,root) %{_bindir}/mib2c-update
626 %attr(755,root,root) %{_bindir}/net-snmp-config
627 %attr(755,root,root) %{_libdir}/libnetsnmp.so
628 %attr(755,root,root) %{_libdir}/libnetsnmpagent.so
629 %attr(755,root,root) %{_libdir}/libnetsnmphelpers.so
630 %attr(755,root,root) %{_libdir}/libnetsnmpmibs.so
631 %attr(755,root,root) %{_libdir}/libnetsnmptrapd.so
632 %{_libdir}/libnetsnmp.la
633 %{_libdir}/libnetsnmpagent.la
634 %{_libdir}/libnetsnmphelpers.la
635 %{_libdir}/libnetsnmpmibs.la
636 %{_libdir}/libnetsnmptrapd.la
637 %{_includedir}/net-snmp
638 %{_datadir}/snmp/mib2c*
639 %{_mandir}/man1/mib2c.1*
640 %{_mandir}/man1/mib2c-update.1*
641 %{_mandir}/man1/net-snmp-config.1*
642 %{_mandir}/man3/[!NS]*
643 %{_mandir}/man5/mib2c.conf.5*
645 %if %{with static_libs}
647 %defattr(644,root,root,755)
652 %defattr(644,root,root,755)
653 %attr(755,root,root) %{_libdir}/libsnmp.so
654 %{_libdir}/libsnmp.la
655 %{_includedir}/ucd-snmp
657 %if %{with static_libs}
659 %defattr(644,root,root,755)
664 %defattr(644,root,root,755)
665 %dir %{_datadir}/snmp
666 %{_datadir}/snmp/mibs
667 %ghost %{_datadir}/snmp/mibs/.index
670 %defattr(644,root,root,755)
671 %attr(755,root,root) %{_sbindir}/snmptrapd
672 %attr(754,root,root) /etc/rc.d/init.d/snmptrapd
673 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmptrapd
674 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmptrapd.conf
676 %attr(755,root,root) %{_datadir}/snmp/snmp_perl_trapd.pl
678 %{_mandir}/man5/snmptrapd.conf.5*
679 %{_mandir}/man8/snmptrapd.8*
682 %defattr(644,root,root,755)
683 %attr(755,root,root) %{_bindir}/encode_keychange
684 %attr(755,root,root) %{_bindir}/snmpbulkget
685 %attr(755,root,root) %{_bindir}/snmpbulkwalk
686 %attr(755,root,root) %{_bindir}/snmpdelta
687 %attr(755,root,root) %{_bindir}/snmpdf
688 %attr(755,root,root) %{_bindir}/snmpget
689 %attr(755,root,root) %{_bindir}/snmpgetnext
690 %attr(755,root,root) %{_bindir}/snmpinform
691 %attr(755,root,root) %{_bindir}/snmpnetstat
692 %attr(755,root,root) %{_bindir}/snmpset
693 %attr(755,root,root) %{_bindir}/snmpstatus
694 %attr(755,root,root) %{_bindir}/snmptable
695 %attr(755,root,root) %{_bindir}/snmptest
696 %attr(755,root,root) %{_bindir}/snmptranslate
697 %attr(755,root,root) %{_bindir}/snmptrap
698 %attr(755,root,root) %{_bindir}/snmpusm
699 %attr(755,root,root) %{_bindir}/snmpvacm
700 %attr(755,root,root) %{_bindir}/snmpwalk
701 %{_mandir}/man1/encode_keychange.1*
702 %{_mandir}/man1/snmpbulkget.1*
703 %{_mandir}/man1/snmpbulkwalk.1*
704 %{_mandir}/man1/snmpcmd.1*
705 %{_mandir}/man1/snmpdelta.1*
706 %{_mandir}/man1/snmpdf.1*
707 %{_mandir}/man1/snmpget.1*
708 %{_mandir}/man1/snmpgetnext.1*
709 %{_mandir}/man1/snmpinform.1*
710 %{_mandir}/man1/snmpnetstat.1*
711 %{_mandir}/man1/snmpset.1*
712 %{_mandir}/man1/snmpstatus.1*
713 %{_mandir}/man1/snmptable.1*
714 %{_mandir}/man1/snmptest.1*
715 %{_mandir}/man1/snmptranslate.1*
716 %{_mandir}/man1/snmptrap.1*
717 %{_mandir}/man1/snmpusm.1*
718 %{_mandir}/man1/snmpvacm.1*
719 %{_mandir}/man1/snmpwalk.1*
720 %{_mandir}/man5/snmp.conf.5*
721 %{_mandir}/man5/snmp_config.5*
723 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmp.conf
727 %defattr(644,root,root,755)
728 %doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
729 %{perl_vendorarch}/SNMP.pm
730 %{perl_vendorarch}/NetSNMP
731 %dir %{perl_vendorarch}/auto/SNMP
732 %{perl_vendorarch}/auto/SNMP/autosplit.ix
733 %{perl_vendorarch}/auto/SNMP/SNMP.bs
734 %attr(755,root,root) %{perl_vendorarch}/auto/SNMP/SNMP.so
735 %dir %{perl_vendorarch}/auto/NetSNMP
736 %dir %{perl_vendorarch}/auto/NetSNMP/*
737 %{perl_vendorarch}/auto/NetSNMP/*/autosplit.ix
738 %{perl_vendorarch}/auto/NetSNMP/*/*.bs
739 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/*/*.so
740 %dir %{perl_vendorarch}/auto/NetSNMP/agent/default_store
741 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/autosplit.ix
742 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.bs
743 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.so
744 %{_mandir}/man3/NetSNMP::*.3*
745 %{_mandir}/man3/SNMP.3*
746 %{_examplesdir}/perl-SNMP-%{version}
749 %defattr(644,root,root,755)
750 %attr(755,root,root) %{_bindir}/fixproc
751 %attr(755,root,root) %{_bindir}/snmpcheck
752 %attr(755,root,root) %{_bindir}/traptoemail
753 %{_mandir}/man1/fixproc.1*
754 %{_mandir}/man1/traptoemail.1*
758 %defattr(644,root,root,755)
759 %attr(755,root,root) %{_bindir}/snmpconf
760 %{_mandir}/man1/snmpconf.1*
761 %{_datadir}/snmp/snmpconf-data
765 %defattr(644,root,root,755)
766 %attr(755,root,root) %{_bindir}/tkmib
767 %{_mandir}/man1/tkmib.1*
771 %files -n python-netsnmp
772 %defattr(644,root,root,755)
773 %dir %{py_sitedir}/netsnmp
774 %attr(755,root,root) %{py_sitedir}/netsnmp/*.so
775 %{py_sitedir}/netsnmp/*.py[co]
776 %{py_sitedir}/netsnmp_python-*.egg-info