default snmptrapd.conf added Resolves: #243536
This commit is contained in:
parent
7573a412ff
commit
8b2dfcc94b
5
net-snmp-trapd.redhat.conf
Normal file
5
net-snmp-trapd.redhat.conf
Normal file
@ -0,0 +1,5 @@
|
||||
# Example configuration file for snmptrapd
|
||||
#
|
||||
# No traps are handled by default, you must edit this file!
|
||||
#
|
||||
# traphandle SNMPv2-MIB::coldStart /usr/bin/bin/my_great_script cold
|
@ -21,6 +21,7 @@ Source4: net-snmpd.logrotate
|
||||
Source5: ucd5820stat
|
||||
Source6: net-snmp-config.h
|
||||
Source7: net-snmp-config
|
||||
Source8: net-snmp-trapd.redhat.conf
|
||||
Patch1: ucd-snmp-4.2.4.pre3-mnttab.patch
|
||||
#Patch2: net-snmp-5.0.6-libtool.patch
|
||||
Patch2: net-snmp-5.0.8-ipv6-sock-close.patch
|
||||
@ -51,12 +52,12 @@ Requires(preun): /bin/rm
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: openssl-devel, bzip2-devel, beecrypt-devel, elfutils-devel
|
||||
BuildRequires: libselinux-devel, elfutils-libelf-devel
|
||||
BuildRequires: perl-devel
|
||||
#BuildRequires: perl-devel
|
||||
%ifarch %{ix86} x86_64
|
||||
BuildRequires: lm_sensors-devel
|
||||
%endif
|
||||
%if %{tcp_wrappers}
|
||||
BuildRequires: tcp_wrappers-devel
|
||||
#BuildRequires: tcp_wrappers-devel
|
||||
%endif
|
||||
BuildRequires: perl, coreutils, grep, sed, findutils
|
||||
|
||||
@ -239,6 +240,7 @@ rm ${RPM_BUILD_ROOT}%{_libdir}/*.la
|
||||
|
||||
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/snmp
|
||||
install -m 644 %SOURCE1 ${RPM_BUILD_ROOT}%{_sysconfdir}/snmp/snmpd.conf
|
||||
install -m 644 %SOURCE8 ${RPM_BUILD_ROOT}%{_sysconfdir}/snmp/snmptrapd.conf
|
||||
|
||||
install -d ${RPM_BUILD_ROOT}%{_initrddir}
|
||||
install -m 755 %SOURCE2 ${RPM_BUILD_ROOT}%{_initrddir}/snmpd
|
||||
@ -325,6 +327,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_initrddir}/snmptrapd
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/snmpd
|
||||
%config(noreplace,missingok) %{_sysconfdir}/snmp/snmpd.conf
|
||||
%config(noreplace,missingok) %{_sysconfdir}/snmp/snmptrapd.conf
|
||||
%{_datadir}/snmp
|
||||
%{_bindir}/ucd5820stat
|
||||
%{_sbindir}/*
|
||||
@ -371,6 +374,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
- fix snmptrapd hostname logging (#238587)
|
||||
- fix udpEndpointProcess remote IP address (#236551)
|
||||
- fix -M option of net-snmp-utils (#244784)
|
||||
- default snmptrapd.conf added (#243536)
|
||||
|
||||
* Mon Mar 12 2007 Radek Vokál <rvokal@redhat.com> - 1:5.4-13
|
||||
- fix overly verbose log message (#221911)
|
||||
|
Loading…
Reference in New Issue
Block a user