SPECS: net-snmp.spec - rel 3; enable lm_sensors and diskio on x86/...

arekm arekm at pld-linux.org
Mon Oct 10 10:44:03 CEST 2005


Author: arekm                        Date: Mon Oct 10 08:44:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 3; enable lm_sensors and diskio on x86/x86_64; add snmp.config

---- Files affected:
SPECS:
   net-snmp.spec (1.60 -> 1.61) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.60 SPECS/net-snmp.spec:1.61
--- SPECS/net-snmp.spec:1.60	Thu Oct  6 15:06:14 2005
+++ SPECS/net-snmp.spec	Mon Oct 10 10:43:58 2005
@@ -12,7 +12,7 @@
 Summary(uk):	îÁÂŚŇ ŐÔÉĚŚÔ ÄĚŃ ĐŇĎÔĎËĎĚŐ SNMP ×ŚÄ UC-Davis
 Name:		net-snmp
 Version:	5.2.1.2
-Release:	2
+Release:	3
 License:	BSD-like
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -45,6 +45,7 @@
 BuildRequires:	elfutils-devel
 BuildRequires:	libtool >= 1.4
 BuildRequires:	libwrap-devel
+BuildRequires:	lm_sensors-devel
 BuildRequires:	openssl-devel >= 0.9.7d
 %{?with_autodeps:BuildRequires:	perl-Term-ReadKey}
 BuildRequires:	perl-devel >= 1:5.8.0
@@ -388,6 +389,9 @@
 	--with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback " \
 	--with-sys-location="Unknown" \
 	--with-mib-modules="host disman/event-mib smux mibII/mta_sendmail \
+%ifarch %{ix86} %{x8664}
+		ucd-snmp/lmSensors ucd-snmp/diskio \
+%endif
 		agentx target misc/ipfwacc tunnel" \
 	--with-libwrap \
 	--with-openssl \
@@ -451,6 +455,7 @@
 
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
+:> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmp.conf
 :> $RPM_BUILD_ROOT%{logfile}
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
@@ -638,6 +643,8 @@
 %{_mandir}/man5/snmp.conf.5*
 %{_mandir}/man5/snmp_config.5*
 
+%attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmp.conf
+
 %files -n perl-SNMP
 %defattr(644,root,root,755)
 %doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
@@ -682,6 +689,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2005/10/10 08:43:58  arekm
+- rel 3; enable lm_sensors and diskio on x86/x86_64; add snmp.config
+
 Revision 1.60  2005/10/06 13:06:14  glen
 - build agent/mibgroup first (to fix compile desynch which was not caused by parallel make)
 - rel 2 for fixed juniper mibs deps (added standardmibs to -mibs package)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/net-snmp.spec?r1=1.60&r2=1.61&f=u




More information about the pld-cvs-commit mailing list