- snmpd crash with 'interfaces' directives in snmpd.conf fixed #139010
- rather dirty patch fixing conf directory for net-snmp-config
This commit is contained in:
parent
45bcf953ba
commit
bb2ccb0535
11
net-snmp-5.1.2-dir-fix.patch
Normal file
11
net-snmp-5.1.2-dir-fix.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- net-snmp-5.1.2/net-snmp-config.in.dir-fix 2004-06-17 15:39:28.000000000 +0200
|
||||
+++ net-snmp-5.1.2/net-snmp-config.in 2004-11-16 10:26:28.928414992 +0100
|
||||
@@ -249,7 +249,7 @@
|
||||
echo " " $line
|
||||
echo $line >> $outfile
|
||||
|
||||
- outfile="@datadir@/snmp/snmpd.conf"
|
||||
+ outfile="/etc/snmp/snmpd.conf"
|
||||
line="$token $user"
|
||||
echo "adding the following line to $outfile:"
|
||||
echo " " $line
|
@ -3,7 +3,7 @@
|
||||
Summary: A collection of SNMP protocol tools and libraries.
|
||||
Name: net-snmp
|
||||
Version: 5.1.2
|
||||
Release: 11
|
||||
Release: 12
|
||||
License: BSDish
|
||||
Group: System Environment/Daemons
|
||||
Source0: ftp://net-snmp.sourceforge.net/net-snmp-%{version}.tar.gz
|
||||
@ -37,6 +37,8 @@ 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
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
@ -158,6 +160,9 @@ and applications.
|
||||
|
||||
# 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...
|
||||
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
|
||||
@ -334,6 +339,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_libdir}/*.la
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Fri Oct 15 2004 Radek Vokal <rvokal@redhat.com> 5.1.2-11
|
||||
- Logrotate support added (#125004)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user