3 # %{_datadir}/snmp/snmp_perl.pl
6 %bcond_without autodeps # don't BR packages only for deps resolving
7 %bcond_without rpm # don't include RPM support
8 %bcond_without kerberos5 # don't include kerberos support
9 %bcond_without lm_sensors # don't include sensors support
10 %bcond_without perl # don't include Perl modules and utils
11 %bcond_without python # don't include Python modules
12 %bcond_without static_libs # don't build static library
14 %include /usr/lib/rpm/macros.perl
15 Summary: A collection of SNMP protocol tools
16 Summary(es.UTF-8): Agente SNMP de la UCD
17 Summary(pl.UTF-8): Kolekcja narzędzi do obsługi protokołu SNMP
18 Summary(pt_BR.UTF-8): Agente SNMP da UCD
19 Summary(ru.UTF-8): Набор утилит для протокола SNMP от UC-Davis
20 Summary(uk.UTF-8): Набір утиліт для протоколу SNMP від UC-Davis
25 Group: Networking/Daemons
26 Source0: http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
27 # Source0-md5: 984932520143f0c8bf7b7ce1fc9e1da1
28 Source1: %{name}d.init
29 Source2: %{name}d.conf
30 Source3: %{name}d.sysconfig
31 Source4: %{name}trapd.init
32 Source5: %{name}trapd.conf
33 Source6: %{name}trapd.sysconfig
34 Source7: ucd-ipchains.tar.gz
35 # Source7-md5: 29949f1008f1a04d6efefd5b3ea607da
36 Patch0: %{name}-acfix.patch
37 Patch1: %{name}-rpm-implicit-libs.patch
38 Patch2: %{name}-config-noflags.patch
39 Patch3: %{name}-manpage.patch
40 Patch4: %{name}-link.patch
41 Patch5: %{name}-llinterfaces.patch
42 Patch6: %{name}-kernel_headers.patch
43 Patch7: %{name}-rpmpath.patch
44 Patch8: %{name}-snmpksm.patch
45 Patch9: %{name}-python.patch
46 Patch10: %{name}-lvalue.patch
47 Patch11: %{name}-defaultconfig.patch
48 Patch12: %{name}-use-rpm-hrmib.patch
49 Patch14: %{name}-lm_sensors_3.patch
50 URL: http://www.net-snmp.org/
51 BuildRequires: autoconf >= 2.61-3
52 BuildRequires: automake
53 BuildRequires: elfutils-devel
54 %{?with_kerberos5:BuildRequires: krb5-devel}
55 BuildRequires: libtool >= 1.4
56 BuildRequires: libwrap-devel
57 %{?with_lm_sensors:BuildRequires: lm_sensors-devel >= 3.0.1}
58 BuildRequires: openssl-devel >= 0.9.7d
59 %{?with_autodeps:BuildRequires: perl-Term-ReadKey}
60 BuildRequires: perl-devel >= 1:5.8.0
62 BuildRequires: python-devel >= 1:2.5
63 BuildRequires: python-setuptools
67 BuildRequires: rpm-perlprov >= 3.0.3-16
69 BuildRequires: rpmbuild(macros) >= 1.268
70 Requires(post,preun): /sbin/chkconfig
71 Requires: %{name}-libs = %{version}-%{release}
72 Requires: %{name}-mibs = %{version}-%{release}
73 Requires: /usr/bin/setsid
74 Requires: rc-scripts >= 0.2.0
79 Conflicts: rpm < 4.4.9-43.11
80 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
82 %define logfile /var/log/snmpd.log
85 SNMP (Simple Network Management Protocol) is a protocol used for
86 network management (hence the name). The net-snmp project includes
87 various SNMP tools: an extensible agent, an SNMP library, tools for
88 requesting or setting information from SNMP agents, tools for
89 generating and handling SNMP traps, a version of the netstat command
90 which uses SNMP, and a Tk/Perl mib browser. This package contains the
91 snmpd daemon, documentation, etc.
93 %description -l es.UTF-8
94 Este paquete se deriva de la implementación del Protocolo Simple de
95 Gestión de Redes versión 2 (SNMPv2) de la Universidad Carnegie Mellon.
96 Útil para administrar redes y hacer contabilidad.
98 %description -l pl.UTF-8
99 SNMP (Simple Network Management Protocol) jest protokołem używanym do
100 zarządzania sieciami. Pakiet zawiera narzędzia: rozbudowywalnego
101 agenta, bibliotekę SNMP, narzędzia do odpytywania oraz ustawiania
102 informacji poprzez agentów SNMP, narzędzia do generowania i obsługi
103 pułapek SNMP, wersję komendy netstat używającą SNMP, przeglądarkę mib
104 w Tk/Perl, demona, dokumentację itp.
106 %description -l pt_BR.UTF-8
107 Este pacote é derivado da implementação do Protocolo Simples de
108 Gerenciamento de Redes versão 2 (SNMPv2) da Universidade Carnegie
109 Mellon. Útil para gerenciar redes e fazer contabilidade.
111 %description -l ru.UTF-8
112 SNMP (Simple Network Management Protocol) - это протокол, используемый
113 для управления сетью (отсюда и название). Проект net-snmp включает
114 разнообразные SNMP-утилиты: расширяемый агент, библиотека SNMP,
115 утилиты для запроса или установки информации от SNMP-агентов, утилиты
116 для генерации и обработки SNMP-трапов, версия команды netstat,
117 использующей SNMP, и mib-браузер на Tk/Perl. Этот пакет содержит
118 демоны snmpd и snmptrapd, документацию и т.д.
120 %description -l uk.UTF-8
121 SNMP (Simple Network Management Protocol) - це протокол, який
122 використовують для керування мережею (звідси і назва). Проект net-snmp
123 містить різноманітні SNMP-утиліти: розширюваний агент, бібліотека
124 SNMP, утиліти для запросу та встановлення інформації від NMP-агентів,
125 утиліти для генерації та обробки SNMP-трапів, версія команди netstat,
126 яка використовує SNMP, та mib-браузер на Tk/Perl. Цей пакет містить
127 демони snmpd та snmptrapd, документацію і т.і.
130 Summary: NET SNMP libraries
131 Summary(pl.UTF-8): Biblioteki SNMP
133 Requires: %{name}-mibs
134 Obsoletes: net-snmp-compat-libs
135 Obsoletes: ucd-snmp-libs
140 %description libs -l pl.UTF-8
144 Summary: The development environment for the net-snmp project
145 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
146 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek net-snmp
147 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
148 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
149 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
150 Group: Development/Libraries
151 Requires: %{name}-libs = %{version}-%{release}
152 Requires: elfutils-devel
153 %{?with_kerberos5:Requires: krb5-devel}
154 Requires: libwrap-devel
155 %{?with_lm_sensors:Requires: lm_sensors-devel >= 3.0.1}
156 Requires: openssl-devel >= 0.9.7c
157 Obsoletes: ucd-snmp-devel
160 The ucd-snmp-devel package contains the development libraries and
161 header files for use with the net-snmp project's network management
164 %description devel -l es.UTF-8
165 Estas son las bibliotecas y archivos de inclusión para desarrollo con
166 el SNMP de la UCD. Con este paquete es posible la creación de
167 programas para uso en la gestión de redes.
169 %description devel -l pl.UTF-8
170 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
171 aplikacji używających protokołu SNMP.
173 %description devel -l pt_BR.UTF-8
174 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
175 com o SNMP da UCD. Com este pacote é possível a criação de programas
176 para uso no gerenciamento de redes.
178 %description devel -l ru.UTF-8
179 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
180 использования с утилитами управления сетью проекта net-snmp.
182 %description devel -l uk.UTF-8
183 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
184 використання з утилітами керування мережею проекту net-snmp.
187 Summary: Static net-snmp libraries
188 Summary(pl.UTF-8): Statyczne biblioteki net-snmp
189 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
190 Summary(ru.UTF-8): Статические библиотеки для проекта net-snmp
191 Summary(uk.UTF-8): Статичні бібліотеки для проекту net-snmp
192 Group: Development/Libraries
193 Requires: %{name}-devel = %{version}-%{release}
194 Obsoletes: ucd-snmp-static
197 Static net-snmp libraries.
199 %description static -l pl.UTF-8
200 Statyczne biblioteki net-snmp.
202 %description static -l pt_BR.UTF-8
203 Bibliotecas estáticas para desenvolvimento com net-snmp.
205 %package compat-devel
206 Summary: The development environment for the UCD-SNMP project
207 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
208 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek UCD-SNMP
209 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
210 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
211 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
212 Group: Development/Libraries
213 Requires: %{name}-libs = %{version}-%{release}
214 Requires: openssl-devel >= 0.9.7d
215 Obsoletes: cmu-snmp-devel
216 Obsoletes: ucd-snmp-devel
218 %description compat-devel
219 The ucd-snmp-devel package contains the development libraries and
220 header files for use with the UCD-SNMP project's network management
223 %description compat-devel -l es.UTF-8
224 Estas son las bibliotecas y archivos de inclusión para desarrollo con
225 el SNMP de la UCD. Con este paquete es posible la creación de
226 programas para uso en la gestión de redes.
228 %description compat-devel -l pl.UTF-8
229 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
230 aplikacji używających protokołu SNMP.
232 %description compat-devel -l pt_BR.UTF-8
233 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
234 com o SNMP da UCD. Com este pacote é possível a criação de programas
235 para uso no gerenciamento de redes.
237 %description compat-devel -l ru.UTF-8
238 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
239 использования с утилитами управления сетью проекта UCD-SNMP.
241 %description compat-devel -l uk.UTF-8
242 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
243 використання з утилітами керування мережею проекту UCD-SNMP.
245 %package compat-static
246 Summary: Static UCD-SNMP libraries
247 Summary(pl.UTF-8): Statyczne biblioteki UCD-SNMP
248 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
249 Summary(ru.UTF-8): Статические библиотеки для проекта UCD-SNMP
250 Summary(uk.UTF-8): Статичні бібліотеки для проекту UCD-SNMP
251 Group: Development/Libraries
252 Requires: %{name}-compat-devel = %{version}-%{release}
253 Obsoletes: ucd-snmp-static
255 %description compat-static
256 Static UCD-SNMP libraries.
258 %description compat-static -l pl.UTF-8
259 Statyczne biblioteki UCD-SNMP.
261 %description compat-static -l pt_BR.UTF-8
262 Bibliotecas estáticas para desenvolvimento com ucd-snmp.
265 Summary: MIB database
266 Summary(pl.UTF-8): Baza danych MIB
267 Group: Applications/System
268 Conflicts: ucd-snmp-libs
273 %description mibs -l pl.UTF-8
277 Summary: SNMP trap daemon
278 Summary(pl.UTF-8): Demon obsługujący pułapki SNMP
279 Group: Applications/System
280 Requires(post,preun): /sbin/chkconfig
281 Requires: %{name} = %{version}-%{release}
282 Requires: rc-scripts >= 0.2.0
283 Obsoletes: cmu-snmp-utils
284 Obsoletes: ucd-snmp-snmptrapd
286 %description snmptrapd
287 The ucd-snmp-snmptrapd package contains snmp trap daemon.
289 %description snmptrapd -l pl.UTF-8
290 Pakiet zawiera demon obsługujący pułapki SNMP.
293 Summary: Network management utilities using SNMP, from the NET-SNMP project
294 Summary(es.UTF-8): Utilitarios del SNMP de la UCD
295 Summary(pl.UTF-8): Narzędzia używające protokołu SNMP
296 Summary(pt_BR.UTF-8): Utilitários do SNMP da UCD
297 Summary(ru.UTF-8): Утилиты управления сетью по SNMP из проекта NET-SNMP
298 Summary(uk.UTF-8): Утиліти керування мережею по SNMP з проекту NET-SNMP
299 Group: Applications/System
300 Requires: %{name}-libs = %{version}-%{release}
301 Requires: %{name}-mibs = %{version}-%{release}
302 Obsoletes: cmu-snmp-utils
303 Obsoletes: ucd-snmp-utils
306 This package contains various utilities for managing your network
307 using the SNMP protocol.
309 %description utils -l es.UTF-8
310 Varios utilitarios para uso con el SNMP de la UCD. Contiene
311 utilitarios como: snmpwalk, snmptest y otros.
313 %description utils -l pl.UTF-8
314 Różnego rodzaju narzędzia do zarządzania siecią przy użyciu protokołu
317 %description utils -l pt_BR.UTF-8
318 Vários utilitários para uso com o SNMP da UCD. Contém utilitários
319 como: snmpwalk, snmptest e outros.
321 %description utils -l ru.UTF-8
322 Пакет ucd-snmp-utils содержит разнообразные утилиты для использования
323 в проекте управления сетью net-snmp.
325 %description utils -l uk.UTF-8
326 Пакет ucd-snmp-utils містить різноманітні утиліти для використання в
327 проекті керування мережею net-snmp.
329 %package -n perl-SNMP
330 Summary: SNMP and NetSNMP::* Perl modules
331 Summary(pl.UTF-8): Moduły Perla SNMP oraz NetSNMP::*
332 Group: Development/Languages/Perl
333 Requires: %{name}-libs = %{version}-%{release}
334 Conflicts: ucd-snmp-utils-perl
336 %description -n perl-SNMP
337 SNMP and NetSNMP::* Perl modules - Perl interface to net-snmp.
339 %description -n perl-SNMP -l pl.UTF-8
340 Moduły Perla SNMP oraz NetSNMP::* - perlowy interfejs do net-snmp.
343 Summary: Perl utilities for network management using SNMP
344 Summary(pl.UTF-8): Perlowe narzędzia używające protokołu SNMP
345 Group: Applications/System
346 Requires: perl-SNMP = %{version}-%{release}
347 Obsoletes: cmu-snmp-utils
348 Obsoletes: ucd-snmp-utils-perl
350 %description utils-perl
351 This package contains various Perl utilities for managing your network
352 using the SNMP protocol.
354 %description utils-perl -l pl.UTF-8
355 Perlowe narzędzia do zarządzania siecią przy użyciu protokołu SNMP.
358 Summary: snmpconf - creating and modifying SNMP configuration files
359 Summary(pl.UTF-8): snmpconf - tworzenie i modyfikowanie plików konfiguracyjnych SNMP
360 Group: Applications/System
361 Requires: %{name} = %{version}-%{release}
362 Requires: perl-SNMP = %{version}-%{release}
364 %description snmpconf
365 snmpconf is a simple Perl script that walks you through setting up a
366 configuration file step by step. It should be fairly straight forward
369 %description snmpconf -l pl.UTF-8
370 snmpconf to prosty skrypt Perla pozwalający na tworzenie pliku
371 konfiguracyjnego krok po kroku. Powinien być w miarę prosty w użyciu.
374 Summary: MIB browser in Tk
375 Summary(pl.UTF-8): Przeglądarka MIB-ów w Tk
376 Group: Applications/System
377 Requires: perl-SNMP = %{version}-%{release}
383 %description tkmib -l pl.UTF-8
384 Przeglądarka MIB-ów w Tk.
386 %package -n python-netsnmp
387 Summary: Python netsnmp extension module
388 Summary(pl.UTF-8): Moduł rozszerzenia netsnmp dla Pythona
389 Group: Libraries/Python
390 Requires: %{name}-libs = %{version}-%{release}
392 %description -n python-netsnmp
393 The 'netsnmp' Python extension module provides a full featured,
394 tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API.
396 %description -n python-netsnmp -l pl.UTF-8
397 Moduł rozszerzenia netsnmp dla Pythona udostępnia pełne API klienckie
398 SNMP dla trzech wersji tego protokołu (SNMPv3, SNMPv2c, SNMPv1).
422 cp -f /usr/share/automake/config.sub .
424 --disable-debugging \
426 %{!?with_static_libs:--disable-static} \
427 --with-cflags="%{rpmcflags} -I/usr/include/et" \
428 --with-ldflags="%{rpmldflags}" \
430 --with-default-snmp-version=3 \
431 %{?with_kerberos5:--with-krb5=%{_prefix}} \
432 %{!?with_kerberos5:--without-krb5} \
433 --with-openssl=%{_prefix} \
434 --with-libwrap=%{_prefix} \
435 --with-logfile="%{logfile}" \
436 --with-zlib=%{_prefix} \
437 --with-bzip2=%{_prefix} \
438 --with%{!?with_perl:out}-perl-modules \
439 --with%{!?with_python:out}-python-modules \
440 --enable-local-smux \
441 --with-mib-modules="host agentx smux mibII/mta_sendmail \
442 %ifarch %{ix86} %{x8664}
443 %if %{with lm_sensors}
444 ucd-snmp/lmsensorsMib \
447 disman/event disman/schedule ucd-snmp/diskio \
448 target misc/ipfwacc" \
449 %{?with_kerberos5:--with-security-modules="ksm"} \
450 --with-sys-contact="root@localhost" \
451 --with-sys-location="Unknown" \
452 --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback" \
453 --with-persistent-directory="/var/lib/net-snmp" \
454 --enable-ucd-snmp-compatibility \
456 --with%{!?with_rpm:out}-rpm
462 %{__perl} Makefile.PL \
463 -NET-SNMP-IN-SOURCE=true \
465 OPTIMIZE="%{rpmcflags}" \
468 # avoid rpaths generated by MakeMaker
469 perl -pi -e 's@LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
472 LDFLAGS="%{rpmldflags}"
475 rm -rf $RPM_BUILD_ROOT
476 install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log}
479 DESTDIR=$RPM_BUILD_ROOT
481 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
482 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
483 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmp.conf
484 :> $RPM_BUILD_ROOT%{logfile}
486 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
487 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
488 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/snmpd
490 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmptrapd
491 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
492 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
494 #install agent/mibgroup/ipfwchains/IPFWCHAINS-MIB.txt \
495 # $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
499 DESTDIR=$RPM_BUILD_ROOT
501 install -d $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
502 install SNMP/examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
505 # IP-Filter (non-Linux)
506 rm -f $RPM_BUILD_ROOT%{_bindir}/ipf-mod.pl
508 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
509 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Bundle/Makefile.subs.pl
510 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Bundle/NetSNMP/.packlist
512 %if %{with static_libs}
513 # hack: convert DynaLoader.a inside .a file to .o, as strip(1) would otherwise say invalid argument
514 for a in $RPM_BUILD_ROOT%{_libdir}/libnet*.a; do
517 if [ -f DynaLoader.a ]; then
519 ar cr $a DynaLoader.o
521 # remove second file too
526 rm -f $RPM_BUILD_ROOT%{_libdir}/libsnmp.a
530 %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/netsnmp/tests
531 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/netsnmp/*.py
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}/libnetsnmp.so.*.*
596 %attr(755,root,root) %{_libdir}/libnetsnmpagent.so.*.*
597 %attr(755,root,root) %{_libdir}/libnetsnmphelpers.so.*.*
598 %attr(755,root,root) %{_libdir}/libnetsnmpmibs.so.*.*
599 %attr(755,root,root) %{_libdir}/libnetsnmptrapd.so.*.*
600 %attr(755,root,root) %ghost %{_libdir}/libnetsnmp.so.15
601 %attr(755,root,root) %ghost %{_libdir}/libnetsnmpagent.so.15
602 %attr(755,root,root) %ghost %{_libdir}/libnetsnmphelpers.so.15
603 %attr(755,root,root) %ghost %{_libdir}/libnetsnmpmibs.so.15
604 %attr(755,root,root) %ghost %{_libdir}/libnetsnmptrapd.so.15
607 %defattr(644,root,root,755)
608 %attr(755,root,root) %{_bindir}/mib2c
609 %attr(755,root,root) %{_bindir}/mib2c-update
610 %attr(755,root,root) %{_bindir}/net-snmp-config
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 %{_libdir}/libnetsnmp.la
617 %{_libdir}/libnetsnmpagent.la
618 %{_libdir}/libnetsnmphelpers.la
619 %{_libdir}/libnetsnmpmibs.la
620 %{_libdir}/libnetsnmptrapd.la
621 %{_includedir}/net-snmp
622 %{_datadir}/snmp/mib2c*
623 %{_mandir}/man1/mib2c.1*
624 %{_mandir}/man1/mib2c-update.1*
625 %{_mandir}/man1/net-snmp-config.1*
626 %{_mandir}/man3/[!NS]*
627 %{_mandir}/man5/mib2c.conf.5*
629 %if %{with static_libs}
631 %defattr(644,root,root,755)
636 %defattr(644,root,root,755)
637 %attr(755,root,root) %{_libdir}/libsnmp.so
638 %{_libdir}/libsnmp.la
639 %{_includedir}/ucd-snmp
641 %if %{with static_libs}
643 %defattr(644,root,root,755)
648 %defattr(644,root,root,755)
649 %dir %{_datadir}/snmp
650 %{_datadir}/snmp/mibs
653 %defattr(644,root,root,755)
654 %attr(755,root,root) %{_sbindir}/snmptrapd
655 %attr(754,root,root) /etc/rc.d/init.d/snmptrapd
656 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmptrapd
657 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmptrapd.conf
659 %attr(755,root,root) %{_datadir}/snmp/snmp_perl_trapd.pl
661 %{_mandir}/man5/snmptrapd.conf.5*
662 %{_mandir}/man8/snmptrapd.8*
665 %defattr(644,root,root,755)
666 %attr(755,root,root) %{_bindir}/encode_keychange
667 %attr(755,root,root) %{_bindir}/snmpbulkget
668 %attr(755,root,root) %{_bindir}/snmpbulkwalk
669 %attr(755,root,root) %{_bindir}/snmpdelta
670 %attr(755,root,root) %{_bindir}/snmpdf
671 %attr(755,root,root) %{_bindir}/snmpget
672 %attr(755,root,root) %{_bindir}/snmpgetnext
673 %attr(755,root,root) %{_bindir}/snmpinform
674 %attr(755,root,root) %{_bindir}/snmpnetstat
675 %attr(755,root,root) %{_bindir}/snmpset
676 %attr(755,root,root) %{_bindir}/snmpstatus
677 %attr(755,root,root) %{_bindir}/snmptable
678 %attr(755,root,root) %{_bindir}/snmptest
679 %attr(755,root,root) %{_bindir}/snmptranslate
680 %attr(755,root,root) %{_bindir}/snmptrap
681 %attr(755,root,root) %{_bindir}/snmpusm
682 %attr(755,root,root) %{_bindir}/snmpvacm
683 %attr(755,root,root) %{_bindir}/snmpwalk
684 %{_mandir}/man1/encode_keychange.1*
685 %{_mandir}/man1/snmpbulkget.1*
686 %{_mandir}/man1/snmpbulkwalk.1*
687 %{_mandir}/man1/snmpcmd.1*
688 %{_mandir}/man1/snmpdelta.1*
689 %{_mandir}/man1/snmpdf.1*
690 %{_mandir}/man1/snmpget.1*
691 %{_mandir}/man1/snmpgetnext.1*
692 %{_mandir}/man1/snmpinform.1*
693 %{_mandir}/man1/snmpnetstat.1*
694 %{_mandir}/man1/snmpset.1*
695 %{_mandir}/man1/snmpstatus.1*
696 %{_mandir}/man1/snmptable.1*
697 %{_mandir}/man1/snmptest.1*
698 %{_mandir}/man1/snmptranslate.1*
699 %{_mandir}/man1/snmptrap.1*
700 %{_mandir}/man1/snmpusm.1*
701 %{_mandir}/man1/snmpvacm.1*
702 %{_mandir}/man1/snmpwalk.1*
703 %{_mandir}/man5/snmp.conf.5*
704 %{_mandir}/man5/snmp_config.5*
706 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmp.conf
710 %defattr(644,root,root,755)
711 %doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
712 %{perl_vendorarch}/SNMP.pm
713 %{perl_vendorarch}/NetSNMP
714 %dir %{perl_vendorarch}/auto/SNMP
715 %{perl_vendorarch}/auto/SNMP/autosplit.ix
716 %{perl_vendorarch}/auto/SNMP/SNMP.bs
717 %attr(755,root,root) %{perl_vendorarch}/auto/SNMP/SNMP.so
718 %dir %{perl_vendorarch}/auto/NetSNMP
719 %dir %{perl_vendorarch}/auto/NetSNMP/*
720 %{perl_vendorarch}/auto/NetSNMP/*/autosplit.ix
721 %{perl_vendorarch}/auto/NetSNMP/*/*.bs
722 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/*/*.so
723 %dir %{perl_vendorarch}/auto/NetSNMP/agent/default_store
724 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/autosplit.ix
725 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.bs
726 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.so
727 %{_mandir}/man3/NetSNMP::*.3*
728 %{_mandir}/man3/SNMP.3*
729 %{_examplesdir}/perl-SNMP-%{version}
732 %defattr(644,root,root,755)
733 %attr(755,root,root) %{_bindir}/fixproc
734 %attr(755,root,root) %{_bindir}/snmpcheck
735 %attr(755,root,root) %{_bindir}/traptoemail
736 %{_mandir}/man1/fixproc.1*
737 %{_mandir}/man1/traptoemail.1*
741 %defattr(644,root,root,755)
742 %attr(755,root,root) %{_bindir}/snmpconf
743 %{_mandir}/man1/snmpconf.1*
744 %{_datadir}/snmp/snmpconf-data
748 %defattr(644,root,root,755)
749 %attr(755,root,root) %{_bindir}/tkmib
750 %{_mandir}/man1/tkmib.1*
754 %files -n python-netsnmp
755 %defattr(644,root,root,755)
756 %dir %{py_sitedir}/netsnmp
757 %attr(755,root,root) %{py_sitedir}/netsnmp/*.so
758 %{py_sitedir}/netsnmp/*.py[co]
759 %{py_sitedir}/netsnmp_python-*.egg-info