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: 2dfcf97d65f3b7d34b78c8d4be11fc83
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 Patch13: %{name}-duplicate-ip.patch
50 Patch14: %{name}-lm_sensors_3.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: krb5-devel}
56 BuildRequires: libtool >= 1.4
57 BuildRequires: libwrap-devel
58 %{?with_lm_sensors:BuildRequires: lm_sensors-devel >= 3.0.1}
59 BuildRequires: openssl-devel >= 0.9.7d
60 %{?with_autodeps:BuildRequires: perl-Term-ReadKey}
61 BuildRequires: perl-devel >= 1:5.8.0
63 BuildRequires: python-devel >= 1:2.5
64 BuildRequires: python-setuptools
68 BuildRequires: rpm-perlprov >= 3.0.3-16
70 BuildRequires: rpmbuild(macros) >= 1.268
71 Requires(post,preun): /sbin/chkconfig
72 Requires: %{name}-libs = %{version}-%{release}
73 Requires: %{name}-mibs = %{version}-%{release}
74 Requires: /usr/bin/setsid
75 Requires: rc-scripts >= 0.2.0
80 Conflicts: rpm < 4.4.9-43.11
81 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
83 %define logfile /var/log/snmpd.log
86 SNMP (Simple Network Management Protocol) is a protocol used for
87 network management (hence the name). The net-snmp project includes
88 various SNMP tools: an extensible agent, an SNMP library, tools for
89 requesting or setting information from SNMP agents, tools for
90 generating and handling SNMP traps, a version of the netstat command
91 which uses SNMP, and a Tk/Perl mib browser. This package contains the
92 snmpd daemon, documentation, etc.
94 %description -l es.UTF-8
95 Este paquete se deriva de la implementación del Protocolo Simple de
96 Gestión de Redes versión 2 (SNMPv2) de la Universidad Carnegie Mellon.
97 Útil para administrar redes y hacer contabilidad.
99 %description -l pl.UTF-8
100 SNMP (Simple Network Management Protocol) jest protokołem używanym do
101 zarządzania sieciami. Pakiet zawiera narzędzia: rozbudowywalnego
102 agenta, bibliotekę SNMP, narzędzia do odpytywania oraz ustawiania
103 informacji poprzez agentów SNMP, narzędzia do generowania i obsługi
104 pułapek SNMP, wersję komendy netstat używającą SNMP, przeglądarkę mib
105 w Tk/Perl, demona, dokumentację itp.
107 %description -l pt_BR.UTF-8
108 Este pacote é derivado da implementação do Protocolo Simples de
109 Gerenciamento de Redes versão 2 (SNMPv2) da Universidade Carnegie
110 Mellon. Útil para gerenciar redes e fazer contabilidade.
112 %description -l ru.UTF-8
113 SNMP (Simple Network Management Protocol) - это протокол, используемый
114 для управления сетью (отсюда и название). Проект net-snmp включает
115 разнообразные SNMP-утилиты: расширяемый агент, библиотека SNMP,
116 утилиты для запроса или установки информации от SNMP-агентов, утилиты
117 для генерации и обработки SNMP-трапов, версия команды netstat,
118 использующей SNMP, и mib-браузер на Tk/Perl. Этот пакет содержит
119 демоны snmpd и snmptrapd, документацию и т.д.
121 %description -l uk.UTF-8
122 SNMP (Simple Network Management Protocol) - це протокол, який
123 використовують для керування мережею (звідси і назва). Проект net-snmp
124 містить різноманітні SNMP-утиліти: розширюваний агент, бібліотека
125 SNMP, утиліти для запросу та встановлення інформації від NMP-агентів,
126 утиліти для генерації та обробки SNMP-трапів, версія команди netstat,
127 яка використовує SNMP, та mib-браузер на Tk/Perl. Цей пакет містить
128 демони snmpd та snmptrapd, документацію і т.і.
131 Summary: NET SNMP libraries
132 Summary(pl.UTF-8): Biblioteki SNMP
134 Requires: %{name}-mibs
135 Obsoletes: net-snmp-compat-libs
136 Obsoletes: ucd-snmp-libs
141 %description libs -l pl.UTF-8
145 Summary: The development environment for the net-snmp project
146 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
147 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek net-snmp
148 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
149 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
150 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
151 Group: Development/Libraries
152 Requires: %{name}-libs = %{version}-%{release}
153 Requires: elfutils-devel
154 %{?with_kerberos5:Requires: krb5-devel}
155 Requires: libwrap-devel
156 %{?with_lm_sensors:Requires: lm_sensors-devel >= 3.0.1}
157 Requires: openssl-devel >= 0.9.7c
158 Obsoletes: ucd-snmp-devel
161 The ucd-snmp-devel package contains the development libraries and
162 header files for use with the net-snmp project's network management
165 %description devel -l es.UTF-8
166 Estas son las bibliotecas y archivos de inclusión para desarrollo con
167 el SNMP de la UCD. Con este paquete es posible la creación de
168 programas para uso en la gestión de redes.
170 %description devel -l pl.UTF-8
171 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
172 aplikacji używających protokołu SNMP.
174 %description devel -l pt_BR.UTF-8
175 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
176 com o SNMP da UCD. Com este pacote é possível a criação de programas
177 para uso no gerenciamento de redes.
179 %description devel -l ru.UTF-8
180 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
181 использования с утилитами управления сетью проекта net-snmp.
183 %description devel -l uk.UTF-8
184 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
185 використання з утилітами керування мережею проекту net-snmp.
188 Summary: Static net-snmp libraries
189 Summary(pl.UTF-8): Statyczne biblioteki net-snmp
190 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
191 Summary(ru.UTF-8): Статические библиотеки для проекта net-snmp
192 Summary(uk.UTF-8): Статичні бібліотеки для проекту net-snmp
193 Group: Development/Libraries
194 Requires: %{name}-devel = %{version}-%{release}
195 Obsoletes: ucd-snmp-static
198 Static net-snmp libraries.
200 %description static -l pl.UTF-8
201 Statyczne biblioteki net-snmp.
203 %description static -l pt_BR.UTF-8
204 Bibliotecas estáticas para desenvolvimento com net-snmp.
206 %package compat-devel
207 Summary: The development environment for the UCD-SNMP project
208 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
209 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek UCD-SNMP
210 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
211 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
212 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
213 Group: Development/Libraries
214 Requires: %{name}-libs = %{version}-%{release}
215 Requires: openssl-devel >= 0.9.7d
216 Obsoletes: cmu-snmp-devel
217 Obsoletes: ucd-snmp-devel
219 %description compat-devel
220 The ucd-snmp-devel package contains the development libraries and
221 header files for use with the UCD-SNMP project's network management
224 %description compat-devel -l es.UTF-8
225 Estas son las bibliotecas y archivos de inclusión para desarrollo con
226 el SNMP de la UCD. Con este paquete es posible la creación de
227 programas para uso en la gestión de redes.
229 %description compat-devel -l pl.UTF-8
230 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
231 aplikacji używających protokołu SNMP.
233 %description compat-devel -l pt_BR.UTF-8
234 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
235 com o SNMP da UCD. Com este pacote é possível a criação de programas
236 para uso no gerenciamento de redes.
238 %description compat-devel -l ru.UTF-8
239 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
240 использования с утилитами управления сетью проекта UCD-SNMP.
242 %description compat-devel -l uk.UTF-8
243 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
244 використання з утилітами керування мережею проекту UCD-SNMP.
246 %package compat-static
247 Summary: Static UCD-SNMP libraries
248 Summary(pl.UTF-8): Statyczne biblioteki UCD-SNMP
249 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
250 Summary(ru.UTF-8): Статические библиотеки для проекта UCD-SNMP
251 Summary(uk.UTF-8): Статичні бібліотеки для проекту UCD-SNMP
252 Group: Development/Libraries
253 Requires: %{name}-compat-devel = %{version}-%{release}
254 Obsoletes: ucd-snmp-static
256 %description compat-static
257 Static UCD-SNMP libraries.
259 %description compat-static -l pl.UTF-8
260 Statyczne biblioteki UCD-SNMP.
262 %description compat-static -l pt_BR.UTF-8
263 Bibliotecas estáticas para desenvolvimento com ucd-snmp.
266 Summary: MIB database
267 Summary(pl.UTF-8): Baza danych MIB
268 Group: Applications/System
269 Conflicts: ucd-snmp-libs
274 %description mibs -l pl.UTF-8
278 Summary: SNMP trap daemon
279 Summary(pl.UTF-8): Demon obsługujący pułapki SNMP
280 Group: Applications/System
281 Requires(post,preun): /sbin/chkconfig
282 Requires: %{name} = %{version}-%{release}
283 Requires: rc-scripts >= 0.2.0
284 Obsoletes: cmu-snmp-utils
285 Obsoletes: ucd-snmp-snmptrapd
287 %description snmptrapd
288 The ucd-snmp-snmptrapd package contains snmp trap daemon.
290 %description snmptrapd -l pl.UTF-8
291 Pakiet zawiera demon obsługujący pułapki SNMP.
294 Summary: Network management utilities using SNMP, from the NET-SNMP project
295 Summary(es.UTF-8): Utilitarios del SNMP de la UCD
296 Summary(pl.UTF-8): Narzędzia używające protokołu SNMP
297 Summary(pt_BR.UTF-8): Utilitários do SNMP da UCD
298 Summary(ru.UTF-8): Утилиты управления сетью по SNMP из проекта NET-SNMP
299 Summary(uk.UTF-8): Утиліти керування мережею по SNMP з проекту NET-SNMP
300 Group: Applications/System
301 Requires: %{name}-libs = %{version}-%{release}
302 Requires: %{name}-mibs = %{version}-%{release}
303 Obsoletes: cmu-snmp-utils
304 Obsoletes: ucd-snmp-utils
307 This package contains various utilities for managing your network
308 using the SNMP protocol.
310 %description utils -l es.UTF-8
311 Varios utilitarios para uso con el SNMP de la UCD. Contiene
312 utilitarios como: snmpwalk, snmptest y otros.
314 %description utils -l pl.UTF-8
315 Różnego rodzaju narzędzia do zarządzania siecią przy użyciu protokołu
318 %description utils -l pt_BR.UTF-8
319 Vários utilitários para uso com o SNMP da UCD. Contém utilitários
320 como: snmpwalk, snmptest e outros.
322 %description utils -l ru.UTF-8
323 Пакет ucd-snmp-utils содержит разнообразные утилиты для использования
324 в проекте управления сетью net-snmp.
326 %description utils -l uk.UTF-8
327 Пакет ucd-snmp-utils містить різноманітні утиліти для використання в
328 проекті керування мережею net-snmp.
330 %package -n perl-SNMP
331 Summary: SNMP and NetSNMP::* Perl modules
332 Summary(pl.UTF-8): Moduły Perla SNMP oraz NetSNMP::*
333 Group: Development/Languages/Perl
334 Requires: %{name}-libs = %{version}-%{release}
335 Conflicts: ucd-snmp-utils-perl
337 %description -n perl-SNMP
338 SNMP and NetSNMP::* Perl modules - Perl interface to net-snmp.
340 %description -n perl-SNMP -l pl.UTF-8
341 Moduły Perla SNMP oraz NetSNMP::* - perlowy interfejs do net-snmp.
344 Summary: Perl utilities for network management using SNMP
345 Summary(pl.UTF-8): Perlowe narzędzia używające protokołu SNMP
346 Group: Applications/System
347 Requires: perl-SNMP = %{version}-%{release}
348 Obsoletes: cmu-snmp-utils
349 Obsoletes: ucd-snmp-utils-perl
351 %description utils-perl
352 This package contains various Perl utilities for managing your network
353 using the SNMP protocol.
355 %description utils-perl -l pl.UTF-8
356 Perlowe narzędzia do zarządzania siecią przy użyciu protokołu SNMP.
359 Summary: snmpconf - creating and modifying SNMP configuration files
360 Summary(pl.UTF-8): snmpconf - tworzenie i modyfikowanie plików konfiguracyjnych SNMP
361 Group: Applications/System
362 Requires: %{name} = %{version}-%{release}
363 Requires: perl-SNMP = %{version}-%{release}
365 %description snmpconf
366 snmpconf is a simple Perl script that walks you through setting up a
367 configuration file step by step. It should be fairly straight forward
370 %description snmpconf -l pl.UTF-8
371 snmpconf to prosty skrypt Perla pozwalający na tworzenie pliku
372 konfiguracyjnego krok po kroku. Powinien być w miarę prosty w użyciu.
375 Summary: MIB browser in Tk
376 Summary(pl.UTF-8): Przeglądarka MIB-ów w Tk
377 Group: Applications/System
378 Requires: perl-SNMP = %{version}-%{release}
384 %description tkmib -l pl.UTF-8
385 Przeglądarka MIB-ów w Tk.
387 %package -n python-netsnmp
388 Summary: Python netsnmp extension module
389 Summary(pl.UTF-8): Moduł rozszerzenia netsnmp dla Pythona
390 Group: Libraries/Python
391 Requires: %{name}-libs = %{version}-%{release}
393 %description -n python-netsnmp
394 The 'netsnmp' Python extension module provides a full featured,
395 tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API.
397 %description -n python-netsnmp -l pl.UTF-8
398 Moduł rozszerzenia netsnmp dla Pythona udostępnia pełne API klienckie
399 SNMP dla trzech wersji tego protokołu (SNMPv3, SNMPv2c, SNMPv1).
424 cp -f /usr/share/automake/config.sub .
426 --disable-debugging \
428 %{!?with_static_libs:--disable-static} \
429 --with-cflags="%{rpmcflags} -I/usr/include/et" \
430 --with-ldflags="%{rpmldflags}" \
432 --with-default-snmp-version=3 \
433 %{?with_kerberos5:--with-krb5=%{_prefix}} \
434 %{!?with_kerberos5:--without-krb5} \
435 --with-openssl=%{_prefix} \
436 --with-libwrap=%{_prefix} \
437 --with-logfile="%{logfile}" \
438 --with-zlib=%{_prefix} \
439 --with-bzip2=%{_prefix} \
440 --with%{!?with_perl:out}-perl-modules \
441 --with%{!?with_python:out}-python-modules \
442 --with-mib-modules="host agentx smux mibII/mta_sendmail \
443 %ifarch %{ix86} %{x8664}
444 %if %{with lm_sensors}
445 ucd-snmp/lmsensorsMib \
448 disman/event disman/schedule ucd-snmp/diskio \
449 target misc/ipfwacc" \
450 %{?with_kerberos5:--with-security-modules="ksm"} \
451 --with-sys-contact="root@localhost" \
452 --with-sys-location="Unknown" \
453 --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback " \
454 --with-persistent-directory="/var/lib/net-snmp" \
455 --enable-ucd-snmp-compatibility \
457 --with%{!?with_rpm:out}-rpm
463 %{__perl} Makefile.PL \
464 -NET-SNMP-IN-SOURCE=true \
466 OPTIMIZE="%{rpmcflags}" \
469 # avoid rpaths generated by MakeMaker
470 perl -pi -e 's@LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
473 LDFLAGS="%{rpmldflags}"
476 rm -rf $RPM_BUILD_ROOT
477 install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log}
480 DESTDIR=$RPM_BUILD_ROOT
482 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
483 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
484 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmp.conf
485 :> $RPM_BUILD_ROOT%{logfile}
487 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
488 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
489 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/snmpd
491 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmptrapd
492 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
493 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
495 #install agent/mibgroup/ipfwchains/IPFWCHAINS-MIB.txt \
496 # $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
500 DESTDIR=$RPM_BUILD_ROOT
502 install -d $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
503 install SNMP/examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
506 # IP-Filter (non-Linux)
507 rm -f $RPM_BUILD_ROOT%{_bindir}/ipf-mod.pl
509 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
510 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Bundle/Makefile.subs.pl
511 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Bundle/NetSNMP/.packlist
513 %if %{with static_libs}
514 # hack: convert DynaLoader.a inside .a file to .o, as strip(1) would otherwise say invalid argument
515 for a in $RPM_BUILD_ROOT%{_libdir}/libnet*.a; do
518 if [ -f DynaLoader.a ]; then
520 ar cr $a DynaLoader.o
522 # remove second file too
527 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
534 rm -rf $RPM_BUILD_ROOT
539 /sbin/chkconfig --add snmpd
540 %service snmpd restart "snmpd daemon"
543 if [ "$1" = "0" ]; then
545 /sbin/chkconfig --del snmpd
548 %post libs -p /sbin/ldconfig
549 %postun libs -p /sbin/ldconfig
551 %triggerpostun -- ucd-snmp
552 /sbin/chkconfig --add snmpd
557 /sbin/chkconfig --add snmptrapd
558 %service snmptrapd restart "snmp trap daemon"
561 if [ "$1" = "0" ]; then
562 %service snmptrapd stop
563 /sbin/chkconfig --del snmptrapd
566 %triggerpostun snmptrapd -- ucd-snmp-snmptrapd
567 /sbin/chkconfig --add snmptrapd
570 %defattr(644,root,root,755)
572 %doc ChangeLog EXAMPLE.conf.def EXAMPLE.conf
573 %doc FAQ NEWS PORTING README.snmpv3 TODO AGENT.txt
575 %attr(754,root,root) /etc/rc.d/init.d/snmpd
576 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmpd
578 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.conf
579 %attr(640,root,root) %config(missingok,noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.local.conf
581 %attr(755,root,root) %{_sbindir}/snmpd
583 %{_mandir}/man5/snmpd.conf.5*
584 %{_mandir}/man5/snmpd.examples.5*
585 %{_mandir}/man5/snmpd.internal.5*
586 %{_mandir}/man5/variables.5*
587 %{_mandir}/man8/snmpd.8*
589 %attr(640,root,root) %ghost %{logfile}
592 %defattr(644,root,root,755)
593 %dir %{_sysconfdir}/snmp
594 %attr(755,root,root) %{_libdir}/libnetsnmp.so.*.*
595 %attr(755,root,root) %{_libdir}/libnetsnmpagent.so.*.*
596 %attr(755,root,root) %{_libdir}/libnetsnmphelpers.so.*.*
597 %attr(755,root,root) %{_libdir}/libnetsnmpmibs.so.*.*
598 %attr(755,root,root) %{_libdir}/libnetsnmptrapd.so.*.*
599 %attr(755,root,root) %ghost %{_libdir}/libnetsnmp.so.15
600 %attr(755,root,root) %ghost %{_libdir}/libnetsnmpagent.so.15
601 %attr(755,root,root) %ghost %{_libdir}/libnetsnmphelpers.so.15
602 %attr(755,root,root) %ghost %{_libdir}/libnetsnmpmibs.so.15
603 %attr(755,root,root) %ghost %{_libdir}/libnetsnmptrapd.so.15
606 %defattr(644,root,root,755)
607 %attr(755,root,root) %{_bindir}/mib2c
608 %attr(755,root,root) %{_bindir}/mib2c-update
609 %attr(755,root,root) %{_bindir}/net-snmp-config
610 %attr(755,root,root) %{_libdir}/libnetsnmp.so
611 %attr(755,root,root) %{_libdir}/libnetsnmpagent.so
612 %attr(755,root,root) %{_libdir}/libnetsnmphelpers.so
613 %attr(755,root,root) %{_libdir}/libnetsnmpmibs.so
614 %attr(755,root,root) %{_libdir}/libnetsnmptrapd.so
615 %{_libdir}/libnetsnmp.la
616 %{_libdir}/libnetsnmpagent.la
617 %{_libdir}/libnetsnmphelpers.la
618 %{_libdir}/libnetsnmpmibs.la
619 %{_libdir}/libnetsnmptrapd.la
620 %{_includedir}/net-snmp
621 %{_datadir}/snmp/mib2c*
622 %{_mandir}/man1/mib2c.1*
623 %{_mandir}/man1/mib2c-update.1*
624 %{_mandir}/man1/net-snmp-config.1*
625 %{_mandir}/man3/[!NS]*
626 %{_mandir}/man5/mib2c.conf.5*
628 %if %{with static_libs}
630 %defattr(644,root,root,755)
635 %defattr(644,root,root,755)
636 %attr(755,root,root) %{_libdir}/libsnmp.so
637 %{_libdir}/libsnmp.la
638 %{_includedir}/ucd-snmp
640 %if %{with static_libs}
642 %defattr(644,root,root,755)
647 %defattr(644,root,root,755)
648 %dir %{_datadir}/snmp
649 %{_datadir}/snmp/mibs
652 %defattr(644,root,root,755)
653 %attr(755,root,root) %{_sbindir}/snmptrapd
654 %attr(754,root,root) /etc/rc.d/init.d/snmptrapd
655 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmptrapd
656 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmptrapd.conf
658 %attr(755,root,root) %{_datadir}/snmp/snmp_perl_trapd.pl
660 %{_mandir}/man5/snmptrapd.conf.5*
661 %{_mandir}/man8/snmptrapd.8*
664 %defattr(644,root,root,755)
665 %attr(755,root,root) %{_bindir}/encode_keychange
666 %attr(755,root,root) %{_bindir}/snmpbulkget
667 %attr(755,root,root) %{_bindir}/snmpbulkwalk
668 %attr(755,root,root) %{_bindir}/snmpdelta
669 %attr(755,root,root) %{_bindir}/snmpdf
670 %attr(755,root,root) %{_bindir}/snmpget
671 %attr(755,root,root) %{_bindir}/snmpgetnext
672 %attr(755,root,root) %{_bindir}/snmpinform
673 %attr(755,root,root) %{_bindir}/snmpnetstat
674 %attr(755,root,root) %{_bindir}/snmpset
675 %attr(755,root,root) %{_bindir}/snmpstatus
676 %attr(755,root,root) %{_bindir}/snmptable
677 %attr(755,root,root) %{_bindir}/snmptest
678 %attr(755,root,root) %{_bindir}/snmptranslate
679 %attr(755,root,root) %{_bindir}/snmptrap
680 %attr(755,root,root) %{_bindir}/snmpusm
681 %attr(755,root,root) %{_bindir}/snmpvacm
682 %attr(755,root,root) %{_bindir}/snmpwalk
683 %{_mandir}/man1/encode_keychange.1*
684 %{_mandir}/man1/snmpbulkget.1*
685 %{_mandir}/man1/snmpbulkwalk.1*
686 %{_mandir}/man1/snmpcmd.1*
687 %{_mandir}/man1/snmpdelta.1*
688 %{_mandir}/man1/snmpdf.1*
689 %{_mandir}/man1/snmpget.1*
690 %{_mandir}/man1/snmpgetnext.1*
691 %{_mandir}/man1/snmpinform.1*
692 %{_mandir}/man1/snmpnetstat.1*
693 %{_mandir}/man1/snmpset.1*
694 %{_mandir}/man1/snmpstatus.1*
695 %{_mandir}/man1/snmptable.1*
696 %{_mandir}/man1/snmptest.1*
697 %{_mandir}/man1/snmptranslate.1*
698 %{_mandir}/man1/snmptrap.1*
699 %{_mandir}/man1/snmpusm.1*
700 %{_mandir}/man1/snmpvacm.1*
701 %{_mandir}/man1/snmpwalk.1*
702 %{_mandir}/man5/snmp.conf.5*
703 %{_mandir}/man5/snmp_config.5*
705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmp.conf
709 %defattr(644,root,root,755)
710 %doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
711 %{perl_vendorarch}/SNMP.pm
712 %{perl_vendorarch}/NetSNMP
713 %dir %{perl_vendorarch}/auto/SNMP
714 %{perl_vendorarch}/auto/SNMP/autosplit.ix
715 %{perl_vendorarch}/auto/SNMP/SNMP.bs
716 %attr(755,root,root) %{perl_vendorarch}/auto/SNMP/SNMP.so
717 %dir %{perl_vendorarch}/auto/NetSNMP
718 %dir %{perl_vendorarch}/auto/NetSNMP/*
719 %{perl_vendorarch}/auto/NetSNMP/*/autosplit.ix
720 %{perl_vendorarch}/auto/NetSNMP/*/*.bs
721 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/*/*.so
722 %dir %{perl_vendorarch}/auto/NetSNMP/agent/default_store
723 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/autosplit.ix
724 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.bs
725 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.so
726 %{_mandir}/man3/NetSNMP::*.3*
727 %{_mandir}/man3/SNMP.3*
728 %{_examplesdir}/perl-SNMP-%{version}
731 %defattr(644,root,root,755)
732 %attr(755,root,root) %{_bindir}/fixproc
733 %attr(755,root,root) %{_bindir}/snmpcheck
734 %attr(755,root,root) %{_bindir}/traptoemail
735 %{_mandir}/man1/fixproc.1*
736 %{_mandir}/man1/traptoemail.1*
740 %defattr(644,root,root,755)
741 %attr(755,root,root) %{_bindir}/snmpconf
742 %{_mandir}/man1/snmpconf.1*
743 %{_datadir}/snmp/snmpconf-data
747 %defattr(644,root,root,755)
748 %attr(755,root,root) %{_bindir}/tkmib
749 %{_mandir}/man1/tkmib.1*
753 %files -n python-netsnmp
754 %defattr(644,root,root,755)
755 %dir %{py_sitedir}/netsnmp
756 %attr(755,root,root) %{py_sitedir}/netsnmp/*.so
757 %{py_sitedir}/netsnmp/*.py[co]
758 %{py_sitedir}/netsnmp_python-*.egg-info