add support of lm_sensors v3 Resolves: #351991
This commit is contained in:
parent
ac80096944
commit
e4531699f5
1326
net-snmp-5.4.1-sensors3.patch
Normal file
1326
net-snmp-5.4.1-sensors3.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -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}
|
Version: %{major_ver}
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD and CMU
|
License: BSD and CMU
|
||||||
@ -37,6 +37,7 @@ Patch12: net-snmp-5.4.1-hostname.patch
|
|||||||
Patch13: net-snmp-5.4.1-shared-ip.patch
|
Patch13: net-snmp-5.4.1-shared-ip.patch
|
||||||
Patch14: net-snmp-5.4-exec-crash.patch
|
Patch14: net-snmp-5.4-exec-crash.patch
|
||||||
Patch15: net-snmp-5.1.2-snmpconf-selinux.patch
|
Patch15: net-snmp-5.1.2-snmpconf-selinux.patch
|
||||||
|
Patch16: net-snmp-5.4.1-sensors3.patch
|
||||||
|
|
||||||
Requires(pre): /sbin/chkconfig
|
Requires(pre): /sbin/chkconfig
|
||||||
Requires(post): /sbin/chkconfig
|
Requires(post): /sbin/chkconfig
|
||||||
@ -163,6 +164,7 @@ and applications.
|
|||||||
%patch13 -p1 -b .shared-ip
|
%patch13 -p1 -b .shared-ip
|
||||||
%patch14 -p1 -b .exec
|
%patch14 -p1 -b .exec
|
||||||
%patch15 -p1 -b .selinux
|
%patch15 -p1 -b .selinux
|
||||||
|
%patch16 -p0 -b .sensors
|
||||||
|
|
||||||
# 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
|
||||||
@ -178,13 +180,13 @@ MIBS="host agentx smux \
|
|||||||
ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable \
|
ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable \
|
||||||
ip-mib/ipAddressPrefixTable/ipAddressPrefixTable"
|
ip-mib/ipAddressPrefixTable/ipAddressPrefixTable"
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
MIBS="$MIBS ucd-snmp/lmSensors"
|
MIBS="$MIBS ucd-snmp/lmsensorsMib"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-static --enable-shared \
|
--enable-static --enable-shared \
|
||||||
--with-cflags="$RPM_OPT_FLAGS" \
|
--with-cflags="$RPM_OPT_FLAGS" \
|
||||||
--with-ldflags="$LDFLAGS -lcrypto" \
|
--with-ldflags="$LDFLAGS -lcrypto -lsensors" \
|
||||||
--with-sys-location="Unknown" \
|
--with-sys-location="Unknown" \
|
||||||
--with-logfile="/var/log/snmpd.log" \
|
--with-logfile="/var/log/snmpd.log" \
|
||||||
--with-persistent-directory="/var/net-snmp" \
|
--with-persistent-directory="/var/net-snmp" \
|
||||||
@ -375,6 +377,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 14 2007 Jan Safranek <jsafranek@redhat.com> 5.4.1-6
|
||||||
|
- add support of lm_sensors v3
|
||||||
|
|
||||||
* Thu Oct 25 2007 Jan Safranek <jsafranek@redhat.com> 5.4.1-5
|
* Thu Oct 25 2007 Jan Safranek <jsafranek@redhat.com> 5.4.1-5
|
||||||
- move mib2c-update from net-snmp-utils to net-snmp-perl, where
|
- move mib2c-update from net-snmp-utils to net-snmp-perl, where
|
||||||
mib2c is located
|
mib2c is located
|
||||||
|
Loading…
Reference in New Issue
Block a user