SPECS (AC-branch): net-snmp.spec - rel 6; lm sensors bcond; fix 64...

arekm arekm at pld-linux.org
Thu Feb 1 15:22:07 CET 2007


Author: arekm                        Date: Thu Feb  1 14:22:07 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- rel 6; lm sensors bcond; fix 64bit counters (from gentoo)

---- Files affected:
SPECS:
   net-snmp.spec (1.66.2.4 -> 1.66.2.5) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.66.2.4 SPECS/net-snmp.spec:1.66.2.5
--- SPECS/net-snmp.spec:1.66.2.4	Fri Jan 27 14:04:57 2006
+++ SPECS/net-snmp.spec	Thu Feb  1 15:22:01 2007
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	autodeps	# don't BR packages only for deps resolving
+%bcond_without	lm_sensors
 #
 %include	/usr/lib/rpm/macros.perl
 Summary:	A collection of SNMP protocol tools
@@ -12,7 +13,7 @@
 Summary(uk):	îÁÂŚŇ ŐÔÉĚŚÔ ÄĚŃ ĐŇĎÔĎËĎĚŐ SNMP ×ŚÄ UC-Davis
 Name:		net-snmp
 Version:	5.2.1.2
-Release:	5
+Release:	6
 License:	BSD-like
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -37,13 +38,14 @@
 Patch9:		%{name}-kernel_headers.patch
 Patch10:	%{name}-syntax.patch
 Patch11:	%{name}-fix-insecure-fixproc.patch
+Patch12:	%{name}-fix-64bit-interface-counters.patch
 URL:		http://www.net-snmp.org/
 BuildRequires:	autoconf >= 2.57-3
 BuildRequires:	automake
 BuildRequires:	elfutils-devel
 BuildRequires:	libtool >= 1.4
 BuildRequires:	libwrap-devel
-BuildRequires:	lm_sensors-devel
+%{?with_lm_sensors:BuildRequires:	lm_sensors-devel}
 BuildRequires:	openssl-devel >= 0.9.7d
 %{?with_autodeps:BuildRequires:	perl-Term-ReadKey}
 BuildRequires:	perl-devel >= 1:5.8.0
@@ -376,6 +378,7 @@
 %patch9 -p1
 %patch10 -p1
 %patch11 -p0
+%patch12 -p0
 
 %build
 %{__libtoolize}
@@ -390,7 +393,7 @@
 	--with-sys-location="Unknown" \
 	--with-mib-modules="host disman/event-mib smux mibII/mta_sendmail \
 %ifarch %{ix86} %{x8664}
-		ucd-snmp/lmSensors ucd-snmp/diskio \
+		%{?with_lm_sensors:ucd-snmp/lmSensors} ucd-snmp/diskio \
 %endif
 		agentx target misc/ipfwacc tunnel" \
 	--with-libwrap \
@@ -686,6 +689,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.66.2.5  2007/02/01 14:22:01  arekm
+- rel 6; lm sensors bcond; fix 64bit counters (from gentoo)
+
 Revision 1.66.2.4  2006/01/27 13:04:57  qboosh
 - triggers to readd snmpd/snmptrapd services after upgrade from ucd-snmp
 - release 5
================================================================

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



More information about the pld-cvs-commit mailing list