- update to release candidate 4
- fix lib dependencies on 64bit archs - supress perl build
This commit is contained in:
parent
c6dd4cc31a
commit
46e6ce6673
@ -1 +1 @@
|
||||
net-snmp-5.3.1.pre3.tar.gz
|
||||
net-snmp-5.3.1.rc4.tar.gz
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
Summary: A collection of SNMP protocol tools and libraries.
|
||||
Name: net-snmp
|
||||
Version: 5.3.1.pre3
|
||||
Release: 2
|
||||
Version: 5.3.1.rc4
|
||||
Release: 1
|
||||
|
||||
License: BSDish
|
||||
Group: System Environment/Daemons
|
||||
@ -141,7 +141,7 @@ and applications.
|
||||
%patch23 -p1 -b .proc_if
|
||||
%patch24 -p1 -b .size_t
|
||||
%patch25 -p1 -b .retrans_ms
|
||||
%patch26 -p0
|
||||
#%patch26 -p0
|
||||
%patch27 -p1 -b .multilib
|
||||
|
||||
# Do this patch with a perl hack...
|
||||
@ -159,7 +159,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 ucd-snmp/diskio disman/event-mib tcp-mib" \
|
||||
--with-mib-modules="host agentx smux ucd-snmp/lmSensors ucd-snmp/diskio disman/event-mib tcp-mib udp-mib" \
|
||||
%else
|
||||
--with-mib-modules="host agentx smux " \
|
||||
%endif
|
||||
@ -181,6 +181,7 @@ make
|
||||
|
||||
pushd perl
|
||||
# Use just built libs for perl module building, not the system libs.
|
||||
export NETSNMP_DONT_CHECK_VERSION=1
|
||||
perl Makefile.PL -NET-SNMP-IN-SOURCE=true PREFIX=${RPM_BUILD_ROOT}/%{_prefix} INSTALLDIRS=vendor -NET-SNMP-CONFIG="sh ../../net-snmp-config"
|
||||
perl -pi -e 's/^LD_RUN_PATH.*//;s/LD_RUN_PATH=\".*\" //;' default_store/Makefile OID/Makefile agent/Makefile agent/default_store/Makefile ASN/Makefile SNMP/Makefile
|
||||
make
|
||||
@ -343,6 +344,11 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_libdir}/*.a
|
||||
|
||||
%changelog
|
||||
* Mon Jul 10 2006 Radek Vokal <rvokal@redhat.com> 5.3.1.rc4-1
|
||||
- update to release candidate 4
|
||||
- fix lib dependencies on 64bit archs
|
||||
- supress perl build
|
||||
|
||||
* Tue Jun 13 2006 Radek Vokal <rvokal@redhat.com> 5.3.1.pre3-2
|
||||
- add tcp-mib (#194856)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user