- better patch for depreciated sysctl call

This commit is contained in:
Radek Vokál 2006-08-03 09:59:22 +00:00
parent 49c69d9439
commit 36b04047fd

View File

@ -7,7 +7,7 @@
Summary: A collection of SNMP protocol tools and libraries. Summary: A collection of SNMP protocol tools and libraries.
Name: net-snmp Name: net-snmp
Version: %{major_ver}.0 Version: %{major_ver}.0
Release: 1 Release: 2
License: BSDish License: BSDish
Group: System Environment/Daemons Group: System Environment/Daemons
@ -35,9 +35,9 @@ Patch19: net-snmp-5.2.1-file_offset.patch
Patch21: net-snmp-5.3.0.1-maxsensors.patch Patch21: net-snmp-5.3.0.1-maxsensors.patch
Patch23: net-snmp-5.3-proc_if_inet6.patch Patch23: net-snmp-5.3-proc_if_inet6.patch
Patch24: net-snmp-5.3-size_t.patch Patch24: net-snmp-5.3-size_t.patch
Patch25: net-snmp-5.3-ipv6_retrans_ms.patch
Patch26: net-snmp-5.3_vendorperl.patch Patch26: net-snmp-5.3_vendorperl.patch
Patch27: net-snmp-5.3.1-multilib.patch Patch27: net-snmp-5.3.1-multilib.patch
Patch28: net-snmp-5.3.1-retrans_time.patch
Prereq: /sbin/chkconfig Prereq: /sbin/chkconfig
Obsoletes: ucd-snmp Obsoletes: ucd-snmp
@ -138,12 +138,10 @@ and applications.
%patch12 -p1 -b .dir-fix %patch12 -p1 -b .dir-fix
%patch19 -p1 -b .file_offset %patch19 -p1 -b .file_offset
%patch21 -p1 -b .maxsensors %patch21 -p1 -b .maxsensors
#%patch22 -p0
%patch23 -p1 -b .proc_if %patch23 -p1 -b .proc_if
%patch24 -p1 -b .size_t %patch24 -p1 -b .size_t
%patch25 -p1 -b .retrans_ms
#%patch26 -p0
%patch27 -p1 -b .multilib %patch27 -p1 -b .multilib
%patch28 -p0 -b .retrans_ms
# Do this patch with a perl hack... # Do this patch with a perl hack...
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
@ -345,6 +343,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/*.a %{_libdir}/*.a
%changelog %changelog
* Thu Aug 3 2006 Radek Vokal <rvokal@redhat.com> 5.3.1.0-2
- better patch for depreciated sysctl call
* Mon Jul 17 2006 Radek Vokal <rvokal@redhat.com> 5.3.1.0-1 * Mon Jul 17 2006 Radek Vokal <rvokal@redhat.com> 5.3.1.0-1
- update to 5.3.1 final version, fix version number - update to 5.3.1 final version, fix version number