- new net-snmp-5.2, patch clean-up, new mib added
This commit is contained in:
parent
bb2ccb0535
commit
75b178ec53
@ -1 +1 @@
|
||||
net-snmp-5.1.2.tar.gz
|
||||
net-snmp-5.2.tar.gz
|
||||
|
@ -2,10 +2,11 @@
|
||||
|
||||
Summary: A collection of SNMP protocol tools and libraries.
|
||||
Name: net-snmp
|
||||
Version: 5.1.2
|
||||
Release: 12
|
||||
Version: 5.2
|
||||
Release: 1
|
||||
License: BSDish
|
||||
Group: System Environment/Daemons
|
||||
URL: http://net-snmp.sourceforge.net/
|
||||
Source0: ftp://net-snmp.sourceforge.net/net-snmp-%{version}.tar.gz
|
||||
Source1: net-snmp.redhat.conf
|
||||
Source2: net-snmpd.init
|
||||
@ -13,31 +14,18 @@ Source3: net-snmptrapd.init
|
||||
Source4: net-snmpd.logrotate
|
||||
Source5: ucd5820stat
|
||||
Patch1: ucd-snmp-4.2.4.pre3-mnttab.patch
|
||||
# Drop for 5.1.3
|
||||
# Drop for 5.3
|
||||
Patch2: net-snmp-5.0.6-syslog.patch
|
||||
Patch3: net-snmp-5.0.6-compat.patch
|
||||
Patch4: net-snmp-5.0.6-libtool.patch
|
||||
# Drop for 5.1.3
|
||||
# Drop for 5.3
|
||||
Patch5: net-snmp-5.0.8-ipv6-sock-close.patch
|
||||
Patch6: net-snmp-5.0.8-readonly.patch
|
||||
Patch7: net-snmp-5.1.2-libwrap.patch
|
||||
# Drop for 5.1.3
|
||||
Patch9: net-snmp-5.1-xs-label-iid.patch
|
||||
Patch10: net-snmp-5.1-async-getnext.patch
|
||||
# Drop for 5.1.3
|
||||
Patch11: net-snmp-5.1.1-hr_storage-mbuf-v2.patch
|
||||
Patch12: net-snmp-5.1.1-pie.patch
|
||||
Patch13: net-snmp-5.1.2-bsdcompat.patch
|
||||
Patch14: net-snmp-5.1-64bit.patch
|
||||
Patch15: net-snmp-5.1.1-ipAdEntIfIndex.patch
|
||||
Patch16: net-snmp-5.1.1-quiet-memshared.patch
|
||||
# Drop for 5.1.3
|
||||
Patch17: net-snmp-5.0.9-smux-stack-var.patch
|
||||
Patch18: net-snmp-5.1.2.rc1-agentx-little64.patch
|
||||
Patch19: net-snmp-5.1.2-lelf.patch
|
||||
# Drop for 5.1.3
|
||||
Patch20: net-snmp-5.0.9-HUP_doublefree.patch
|
||||
Patch21: net-snmp-5.1.2-null.patch
|
||||
Patch22: net-snmp-5.1.2-dir-fix.patch
|
||||
Prereq: /sbin/chkconfig
|
||||
Obsoletes: ucd-snmp
|
||||
@ -124,44 +112,24 @@ and applications.
|
||||
%setup -q
|
||||
%patch1 -p1 -b .mnttab
|
||||
|
||||
# Drop for 5.1.3
|
||||
# Drop for 5.3?
|
||||
%patch2 -p1 -b .syslog
|
||||
|
||||
#%patch3 -p1 -b .compat
|
||||
%patch4 -p1 -b .libtool
|
||||
|
||||
# Drop for 5.1.3
|
||||
# Drop for 5.3?
|
||||
%patch5 -p1 -b .ipv6-sock-close
|
||||
|
||||
%patch6 -p1 -b .readonly
|
||||
%patch7 -p1 -b .libwrap
|
||||
|
||||
# Drop for 5.1.3
|
||||
%patch9 -p1 -b .xs-label-iid
|
||||
|
||||
%patch10 -p1 -b .async-getnext
|
||||
|
||||
# Drop for 5.1.3
|
||||
%patch11 -p1 -b .hr_storage-mbuf-v2
|
||||
|
||||
%ifnarch ia64
|
||||
%patch12 -p1 -b .pie
|
||||
%endif
|
||||
%patch13 -p1 -b .bsdcompat
|
||||
|
||||
%patch14 -p1 -b .64bit
|
||||
%patch15 -p1 -b .ipAdEntIfIndex
|
||||
%patch16 -p1 -b .quiet-memshared
|
||||
|
||||
# Drop for 5.1.3
|
||||
%patch17 -p1 -b .stack
|
||||
|
||||
%patch18 -p1 -b .agentx-little64
|
||||
%patch19 -p1 -b .lelf
|
||||
|
||||
# Drop for 5.1.3
|
||||
%patch20 -p1 -b .hup
|
||||
%patch21 -p1 -b .null
|
||||
|
||||
%patch22 -p1 -b .dir-fix
|
||||
|
||||
# Do this patch with a perl hack...
|
||||
@ -178,7 +146,7 @@ export LDFLAGS="-L%{_libdir}"
|
||||
--with-logfile="/var/log/snmpd.log" \
|
||||
--with-persistent-directory="/var/net-snmp" \
|
||||
%ifarch %{ix86} x86_64
|
||||
--with-mib-modules="host agentx smux ucd-snmp/lmSensors" \
|
||||
--with-mib-modules="host agentx smux ucd-snmp/lmSensors ucd-snmp/diskio" \
|
||||
%else
|
||||
--with-mib-modules="host agentx smux " \
|
||||
%endif
|
||||
@ -317,6 +285,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_bindir}/encode_keychange
|
||||
%{_bindir}/snmp*
|
||||
%{_bindir}/traptoemail
|
||||
%{_bindir}/mib2c-update
|
||||
%attr(0644,root,root) %{_mandir}/man1/snmp*.1*
|
||||
|
||||
%files devel
|
||||
@ -339,6 +308,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_libdir}/*.la
|
||||
|
||||
%changelog
|
||||
* Tue Nov 30 2004 Radek Vokal <rvokal@redhat.com> 5.2-1
|
||||
- net-snmp-5.2, patch clean-up
|
||||
|
||||
* Mon Nov 15 2004 Radek Vokal <rvokal@redhat.com> 5.1.2-12
|
||||
- snmpd crash with 'interfaces' directives in snmpd.conf fixed #139010
|
||||
- rather dirty patch fixing conf directory for net-snmp-config
|
||||
|
Loading…
Reference in New Issue
Block a user