commit net-snmp for openSUSE:Factory
Hello community,
here is the log from the commit of package net-snmp for openSUSE:Factory
checked in at Mon Jun 21 18:02:24 CEST 2010.
--------
--- net-snmp/net-snmp.changes 2010-04-30 18:03:30.000000000 +0200
+++ net-snmp/net-snmp.changes 2010-06-03 13:47:19.000000000 +0200
@@ -1,0 +2,15 @@
+Thu Jun 3 11:43:52 UTC 2010 - lchiquitto@novell.com
+
+- update upstream patches from branch V5-5-patches to 20100602:
+ fixed potential buffer overflow in parsing OIDs in config files
+
+-------------------------------------------------------------------
+Mon May 31 13:48:27 UTC 2010 - lchiquitto@novell.com
+
+- update upstream patches from branch V5-5-patches to 20100531
+- add net-snmp-5.5.0-rpmdb-h-detect.patch:
+ workaround for autoconf failing to detect rpm/rpmdb.h
+- remove patches that are no longer needed:
+ net-snmp-5.5.0-use-lmsensors-v3.patch
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
net-snmp-5.5.0-upstream-20100428.patch.bz2
net-snmp-5.5.0-use-lmsensors-v3.patch
New:
----
net-snmp-5.5.0-rpmdb-h-detect.patch
net-snmp-5.5.0-upstream-20100602.patch.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ net-snmp.spec ++++++
--- /var/tmp/diff_new_pack.wdOkxc/_old 2010-06-21 18:00:47.000000000 +0200
+++ /var/tmp/diff_new_pack.wdOkxc/_new 2010-06-21 18:00:47.000000000 +0200
@@ -17,24 +17,23 @@
# norootforbuild
-
-Name: net-snmp
-Version: 5.5
-Release: 6
-License: BSD3c(or similar) ; MIT License (or similar)
-Group: Productivity/Networking/Other
-#
%define pkg_name net-snmp
%ifnarch s390 s390x
-%define with_sensors 1
+%define netsnmp_with_sensors 1
%endif
+%define netsnmp_check 1
%define netsnmp_logfile /var/log/net-snmpd.log
%define netsnmp_agentx_socket_dir_fhs /var/run/agentx
%define netsnmp_agentx_socket_dir_rfc /var/agentx
-#
+
+Name: net-snmp
+Version: 5.5
+Release: 7
+License: BSD3c(or similar) ; MIT License (or similar)
+Group: Productivity/Networking/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel rpm-devel tcpd-devel
-%if 0%{?with_sensors}
+%if 0%{?netsnmp_with_sensors}
BuildRequires: libsensors4-devel
%endif
Requires: perl-TermReadKey logrotate
@@ -59,7 +58,7 @@
Source7: net-snmp.sysconfig
Source8: net-snmp-rpmlintrc
Source9: baselibs.conf
-Patch0: net-snmp-5.5.0-upstream-20100428.patch.bz2
+Patch0: net-snmp-5.5.0-upstream-20100602.patch.bz2
# unused patch atm
Patch1: net-snmp-5.5.0-socket-path.patch
Patch2: net-snmp-5.5.0-testing-empty-arptable.patch
@@ -68,7 +67,7 @@
Patch5: net-snmp-5.5.0-net-snmp-config-headercheck.patch
Patch6: net-snmp-5.5.0-perl-tk-warning.patch
Patch7: net-snmp-5.5.0-velocity-mib.patch
-Patch8: net-snmp-5.5.0-use-lmsensors-v3.patch
+Patch8: net-snmp-5.5.0-rpmdb-h-detect.patch
#
Summary: SNMP Daemon
@@ -134,7 +133,7 @@
# for mib2c
Requires: perl-SNMP = %{version}
Requires: libopenssl-devel rpm-devel tcpd-devel perl zlib-devel
-%if 0%{?with_sensors}
+%if 0%{?netsnmp_with_sensors}
Requires: libsensors4-devel
%endif
#
@@ -227,7 +226,7 @@
ucd-snmp/diskio \
etherlike-mib rmon-mib \
velocity \
-%if 0%{?with_sensors}
+%if 0%{?netsnmp_with_sensors}
ucd-snmp/lmsensorsMib \
%endif
smux \
@@ -250,6 +249,7 @@
%{__make} all
%check
+%if 0%{?netsnmp_check}
%ifnarch %arm
ulimit -c unlimited
%{__make} test ||:
@@ -257,6 +257,7 @@
%endif
%{__make} perlmodules ||:
LD_RUN_PATH="$PWD/snmplib/.libs" LD_LIBRARY_PATH="${PWD}/snmplib/.libs:${PWD}/agent/.libs:${PWD}/agent/helpers/.libs" %{__make} perltest ||:
+%endif
%install
%makeinstall INSTALL_PREFIX=%{buildroot}
++++++ net-snmp-5.5.0-rpmdb-h-detect.patch ++++++
Index: net-snmp-5.5/agent/mibgroup/host/hr_swinst.c
===================================================================
--- net-snmp-5.5.orig/agent/mibgroup/host/hr_swinst.c
+++ net-snmp-5.5/agent/mibgroup/host/hr_swinst.c
@@ -53,6 +53,7 @@
#include
participants (1)
-
root@hilbert.suse.de