Hello community,
here is the log from the commit of package net-snmp for openSUSE:Factory checked in at 2012-11-02 07:31:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
and /work/SRC/openSUSE:Factory/.net-snmp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "net-snmp", Maintainer is "LChiquitto@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes 2012-09-25 14:18:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp.changes 2012-11-02 07:31:15.000000000 +0100
@@ -1,0 +2,30 @@
+Wed Oct 10 18:21:19 UTC 2012 - lchiquitto@suse.com
+
+- update to version 5.7.2: several bug fixes in the agent, client
+ utilities and libraries. The CHANGES file shipped with the
+ package contains a comprehensive list of fixes and improvements
+- rebase patches to apply cleanly:
+ * net-snmp-5.7.2-perl-tk-warning.patch
+ * net-snmp-5.7.2-socket-path.patch
+ * net-snmp-5.7.2-testing-empty-arptable.patch
+ * net-snmp-5.7.2-pie.patch
+ * net-snmp-5.7.2-velocity-mib.patch
+ * net-snmp-5.7.2-fix-snmpd-crashing-when-an-agentx-disconnects.patch
+- remove patches that are now present in the upstream release:
+ * net-snmp-5.7.0-recognize-reiserfs.patch
+ * net-snmp-5.7.1-snmplib-zero-timeout.patch
+ * net-snmp-5.7.1-old-api-double-free.patch
+ * net-snmp-5.7.1-use-pclose-to-close-pipes.patch
+ * net-snmp-5.7.1-fix-handling-of-large-filesystems.patch
+ * net-snmp-5.7.1-snmplib-default-retries.patch
+ * net-snmp-5.7.1-fsys-memory-leak.patch
+ * net-snmp-5.7.1-adjust-copyright-in-agent-txt-file.patch
+ * net-snmp-5.7.1-recognize-ocfs2.patch
+ * net-snmp-5.7.1-properly-clean-up-old-requests-in-subagents.patch
+ * net-snmp-5.7.1-reduce-code-duplication-in-agentx.patch
+ * net-snmp-5.7.1-log-agentx-disconnections.patch
+ * net-snmp-5.7.1-more-robust-handling-of-agentx-errors.patch
+ * net-snmp-5.7.1-report-problems-with-setundo-processing.patch
+ * net-snmp-5.7.1-fix-array-index-error.patch
+
+-------------------------------------------------------------------
Old:
----
net-snmp-5.5.0-perl-tk-warning.patch
net-snmp-5.5.0-socket-path.patch
net-snmp-5.5.0-testing-empty-arptable.patch
net-snmp-5.6.1-net-snmp-config-headercheck.patch
net-snmp-5.7.0-pie.patch
net-snmp-5.7.0-recognize-reiserfs.patch
net-snmp-5.7.0-velocity-mib.patch
net-snmp-5.7.1-adjust-copyright-in-agent-txt-file.patch
net-snmp-5.7.1-fix-array-index-error.patch
net-snmp-5.7.1-fix-handling-of-large-filesystems.patch
net-snmp-5.7.1-fix-snmpd-crashing-when-an-agentx-disconnects.patch
net-snmp-5.7.1-fsys-memory-leak.patch
net-snmp-5.7.1-log-agentx-disconnections.patch
net-snmp-5.7.1-more-robust-handling-of-agentx-errors.patch
net-snmp-5.7.1-old-api-double-free.patch
net-snmp-5.7.1-properly-clean-up-old-requests-in-subagents.patch
net-snmp-5.7.1-recognize-ocfs2.patch
net-snmp-5.7.1-reduce-code-duplication-in-agentx.patch
net-snmp-5.7.1-report-problems-with-setundo-processing.patch
net-snmp-5.7.1-snmplib-default-retries.patch
net-snmp-5.7.1-snmplib-zero-timeout.patch
net-snmp-5.7.1-use-pclose-to-close-pipes.patch
net-snmp-5.7.1.tar.bz2
New:
----
net-snmp-5.7.2-fix-snmpd-crashing-when-an-agentx-disconnects.patch
net-snmp-5.7.2-net-snmp-config-headercheck.patch
net-snmp-5.7.2-perl-tk-warning.patch
net-snmp-5.7.2-pie.patch
net-snmp-5.7.2-socket-path.patch
net-snmp-5.7.2-testing-empty-arptable.patch
net-snmp-5.7.2-velocity-mib.patch
net-snmp-5.7.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ net-snmp.spec ++++++
--- /var/tmp/diff_new_pack.2qlYwT/_old 2012-11-02 07:31:18.000000000 +0100
+++ /var/tmp/diff_new_pack.2qlYwT/_new 2012-11-02 07:31:18.000000000 +0100
@@ -26,7 +26,7 @@
%define netsnmp_agentx_socket_dir_rfc /var/agentx
Name: net-snmp
-Version: 5.7.1
+Version: 5.7.2
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel
@@ -55,31 +55,16 @@
Source7: net-snmp.sysconfig
Source8: net-snmp-rpmlintrc
Source9: baselibs.conf
-Patch1: net-snmp-5.5.0-socket-path.patch
-Patch2: net-snmp-5.5.0-testing-empty-arptable.patch
-Patch3: net-snmp-5.7.0-pie.patch
-Patch5: net-snmp-5.6.1-net-snmp-config-headercheck.patch
-Patch6: net-snmp-5.5.0-perl-tk-warning.patch
-Patch7: net-snmp-5.7.0-velocity-mib.patch
-Patch8: net-snmp-5.7.0-recognize-reiserfs.patch
-Patch10: net-snmp-5.7.1-snmplib-zero-timeout.patch
-Patch11: net-snmp-5.7.1-old-api-double-free.patch
-Patch12: net-snmp-5.7.1-use-pclose-to-close-pipes.patch
-Patch13: net-snmp-5.7.1-fix-handling-of-large-filesystems.patch
-Patch14: net-snmp-5.7.1-snmplib-default-retries.patch
-Patch15: net-snmp-5.7.1-fsys-memory-leak.patch
-Patch16: net-snmp-5.7.1-adjust-copyright-in-agent-txt-file.patch
-Patch17: net-snmp-5.7.1-recognize-ocfs2.patch
-Patch18: net-snmp-5.7.1-properly-clean-up-old-requests-in-subagents.patch
-Patch19: net-snmp-5.7.1-reduce-code-duplication-in-agentx.patch
-Patch20: net-snmp-5.7.1-log-agentx-disconnections.patch
-Patch21: net-snmp-5.7.1-more-robust-handling-of-agentx-errors.patch
-Patch22: net-snmp-5.7.1-report-problems-with-setundo-processing.patch
-Patch23: net-snmp-5.7.1-fix-snmpd-crashing-when-an-agentx-disconnects.patch
-Patch24: net-snmp-5.7.1-fix-array-index-error.patch
+Patch1: net-snmp-5.7.2-socket-path.patch
+Patch2: net-snmp-5.7.2-testing-empty-arptable.patch
+Patch3: net-snmp-5.7.2-pie.patch
+Patch5: net-snmp-5.7.2-net-snmp-config-headercheck.patch
+Patch6: net-snmp-5.7.2-perl-tk-warning.patch
+Patch7: net-snmp-5.7.2-velocity-mib.patch
+Patch23: net-snmp-5.7.2-fix-snmpd-crashing-when-an-agentx-disconnects.patch
#
Summary: SNMP Daemon
-License: BSD-3-Clause ; MIT
+License: BSD-3-Clause and MIT
Group: Productivity/Networking/Other
%description
@@ -110,7 +95,7 @@
Requires: snmp-mibs = %{version}
#
Summary: Shared Libraries from net-snmp
-License: BSD-3-Clause ; MIT
+License: BSD-3-Clause and MIT
Group: Productivity/Networking/Other
%description -n libsnmp30
@@ -151,7 +136,7 @@
%endif
#
Summary: Development files from net-snmp
-License: BSD-3-Clause ; MIT
+License: BSD-3-Clause and MIT
Group: Development/Libraries/C and C++
%description devel
@@ -177,7 +162,7 @@
%package -n snmp-mibs
#
Summary: MIB files from net-snmp
-License: BSD-3-Clause ; MIT
+License: BSD-3-Clause and MIT
Group: Productivity/Networking/Other
%description -n snmp-mibs
@@ -223,22 +208,7 @@
%patch5 -p1
%patch6 -p1
%patch7 -p1
-%patch8 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1
%patch23 -p1
-%patch24 -p1
%build
MIBS="misc/ipfwacc ucd-snmp/diskio etherlike-mib rmon-mib velocity smux \
@@ -328,7 +298,7 @@
%files
%defattr(-,root,root)
%doc AGENT.txt COPYING EXAMPLE.conf EXAMPLE.conf.def
-%doc FAQ NEWS TODO
+%doc FAQ NEWS TODO CHANGES
%doc README README.agent-mibs README.agentx README.krb5 README.snmpv3 README.thread
%dir /etc/snmp
%config(noreplace) /etc/snmp/snmpd.conf
++++++ net-snmp-5.7.1-fix-snmpd-crashing-when-an-agentx-disconnects.patch -> net-snmp-5.7.2-fix-snmpd-crashing-when-an-agentx-disconnects.patch ++++++
--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp-5.7.1-fix-snmpd-crashing-when-an-agentx-disconnects.patch 2012-04-17 22:00:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp-5.7.2-fix-snmpd-crashing-when-an-agentx-disconnects.patch 2012-11-02 07:31:15.000000000 +0100
@@ -6,10 +6,10 @@
I fixed also the memory leak reported in the tracker comments.
-Index: net-snmp-5.7.1/agent/mibgroup/agentx/master.c
+Index: net-snmp-5.7.2/agent/mibgroup/agentx/master.c
===================================================================
---- net-snmp-5.7.1.orig/agent/mibgroup/agentx/master.c
-+++ net-snmp-5.7.1/agent/mibgroup/agentx/master.c
+--- net-snmp-5.7.2.orig/agent/mibgroup/agentx/master.c
++++ net-snmp-5.7.2/agent/mibgroup/agentx/master.c
@@ -219,6 +219,9 @@ agentx_got_response(int operation,
if (!cache) {
DEBUGMSGTL(("agentx/master", "response too late on session %8p\n",
@@ -29,11 +29,11 @@
}
return SNMP_ERR_NOERROR;
-Index: net-snmp-5.7.1/agent/mibgroup/agentx/master_admin.c
+Index: net-snmp-5.7.2/agent/mibgroup/agentx/master_admin.c
===================================================================
---- net-snmp-5.7.1.orig/agent/mibgroup/agentx/master_admin.c
-+++ net-snmp-5.7.1/agent/mibgroup/agentx/master_admin.c
-@@ -135,11 +135,16 @@ close_agentx_session(netsnmp_session * s
+--- net-snmp-5.7.2.orig/agent/mibgroup/agentx/master_admin.c
++++ net-snmp-5.7.2/agent/mibgroup/agentx/master_admin.c
+@@ -133,11 +133,16 @@ close_agentx_session(netsnmp_session * s
* requests, so that the delegated request will be completed and
* further requests can be processed
*/
++++++ net-snmp-5.6.1-net-snmp-config-headercheck.patch -> net-snmp-5.7.2-net-snmp-config-headercheck.patch ++++++
--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp-5.6.1-net-snmp-config-headercheck.patch 2011-09-23 02:14:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp-5.7.2-net-snmp-config-headercheck.patch 2012-11-02 07:31:15.000000000 +0100
@@ -1,7 +1,7 @@
-Index: net-snmp-5.6.1/net-snmp-config.in
+Index: net-snmp-5.7.2/net-snmp-config.in
===================================================================
---- net-snmp-5.6.1.orig/net-snmp-config.in
-+++ net-snmp-5.6.1/net-snmp-config.in
+--- net-snmp-5.7.2.orig/net-snmp-config.in
++++ net-snmp-5.7.2/net-snmp-config.in
@@ -41,6 +41,14 @@ count()
echo $#
}
@@ -50,7 +50,7 @@
;;
--external-libs)
+ check_devel_files
- echo $NSC_LDFLAGS $NSC_LNETSNMPLIBS $NSC_LIBS
+ echo $NSC_LDFLAGS $NSC_LNETSNMPLIBS $NSC_LIBS @PERLLDOPTS_FOR_APPS@
;;
#################################################### agent lib
--base-agent-libs)
++++++ net-snmp-5.5.0-perl-tk-warning.patch -> net-snmp-5.7.2-perl-tk-warning.patch ++++++
--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp-5.5.0-perl-tk-warning.patch 2011-09-23 02:14:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp-5.7.2-perl-tk-warning.patch 2012-11-02 07:31:15.000000000 +0100
@@ -1,7 +1,7 @@
-Index: net-snmp-5.5/local/tkmib
+Index: net-snmp-5.7.2/local/tkmib
===================================================================
---- net-snmp-5.5.orig/local/tkmib
-+++ net-snmp-5.5/local/tkmib
+--- net-snmp-5.7.2.orig/local/tkmib
++++ net-snmp-5.7.2/local/tkmib
@@ -27,10 +27,9 @@ instructions.
if (!$havetk) {
++++++ net-snmp-5.7.0-pie.patch -> net-snmp-5.7.2-pie.patch ++++++
--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp-5.7.0-pie.patch 2011-09-23 02:14:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp-5.7.2-pie.patch 2012-11-02 07:31:15.000000000 +0100
@@ -1,26 +1,26 @@
-Index: net-snmp-5.7/agent/Makefile.in
+Index: net-snmp-5.7.2/agent/Makefile.in
===================================================================
---- net-snmp-5.7.orig/agent/Makefile.in
-+++ net-snmp-5.7/agent/Makefile.in
+--- net-snmp-5.7.2.orig/agent/Makefile.in
++++ net-snmp-5.7.2/agent/Makefile.in
@@ -294,7 +294,7 @@ getmibstat.o: mibgroup/kernel_sunos5.c
$(CC) $(CFLAGS) -o $@ -D_GETMIBSTAT_TEST -DDODEBUG -c $?
- snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(MIBLIB) $(LIBTARG)
-- $(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
-+ $(LINK) $(CFLAGS) -o $@ -pie ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
-
+ snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(HELPERLIB) $(MIBLIB) $(LIBTARG)
+- $(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} ${LDFLAGS} ${OUR_AGENT_LIBS}
++ $(LINK) $(CFLAGS) -o $@ -pie ${LAGENTOBJS} ${LDFLAGS} ${OUR_AGENT_LIBS}
libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} $(USELIBS)
-Index: net-snmp-5.7/apps/Makefile.in
+ $(LIB_LD_CMD) $(AGENTLIB) ${LLIBAGENTOBJS} $(USELIBS) ${LAGENTLIBS} @LD_NO_UNDEFINED@ $(LDFLAGS) $(PERLLDOPTS_FOR_LIBS) $(LIB_LD_LIBS) @AGENTLIBS@
+Index: net-snmp-5.7.2/apps/Makefile.in
===================================================================
---- net-snmp-5.7.orig/apps/Makefile.in
-+++ net-snmp-5.7/apps/Makefile.in
-@@ -173,7 +173,7 @@ snmptest$(EXEEXT): snmptest.$(OSUFFIX
- $(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
+--- net-snmp-5.7.2.orig/apps/Makefile.in
++++ net-snmp-5.7.2/apps/Makefile.in
+@@ -170,7 +170,7 @@ snmptest$(EXEEXT): snmptest.$(OSUFFIX
+ $(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) ${LDFLAGS} ${LIBS}
snmptrapd$(EXEEXT): $(TRAPD_OBJECTS) $(USETRAPLIBS) $(INSTALLLIBS)
-- $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
-+ $(LINK) ${CFLAGS} -o $@ -pie $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
+- $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS}
++ $(LINK) ${CFLAGS} -o $@ -pie $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS}
snmptrap$(EXEEXT): snmptrap.$(OSUFFIX) $(USELIBS)
- $(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
+ $(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) ${LDFLAGS} ${LIBS}
++++++ net-snmp-5.5.0-socket-path.patch -> net-snmp-5.7.2-socket-path.patch ++++++
--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp-5.5.0-socket-path.patch 2011-09-23 02:14:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp-5.7.2-socket-path.patch 2012-11-02 07:31:15.000000000 +0100
@@ -1,7 +1,7 @@
-Index: net-snmp-5.5/agent/mibgroup/agentx/protocol.h
+Index: net-snmp-5.7.2/agent/mibgroup/agentx/protocol.h
===================================================================
---- net-snmp-5.5.orig/agent/mibgroup/agentx/protocol.h
-+++ net-snmp-5.5/agent/mibgroup/agentx/protocol.h
+--- net-snmp-5.7.2.orig/agent/mibgroup/agentx/protocol.h
++++ net-snmp-5.7.2/agent/mibgroup/agentx/protocol.h
@@ -13,7 +13,7 @@ extern "C" {
#define AGENTX_PORT 705
++++++ net-snmp-5.5.0-testing-empty-arptable.patch -> net-snmp-5.7.2-testing-empty-arptable.patch ++++++
--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp-5.5.0-testing-empty-arptable.patch 2011-09-23 02:14:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp-5.7.2-testing-empty-arptable.patch 2012-11-02 07:31:15.000000000 +0100
@@ -1,7 +1,7 @@
-Index: net-snmp-5.5/testing/rfc1213/snmpfun.sh
+Index: net-snmp-5.7.2/testing/rfc1213/snmpfun.sh
===================================================================
---- net-snmp-5.5.orig/testing/rfc1213/snmpfun.sh
-+++ net-snmp-5.5/testing/rfc1213/snmpfun.sh
+--- net-snmp-5.7.2.orig/testing/rfc1213/snmpfun.sh
++++ net-snmp-5.7.2/testing/rfc1213/snmpfun.sh
@@ -1,4 +1,3 @@
-
# functions used by RFC-1213 MIB test modules
@@ -78,10 +78,10 @@
}
+
-Index: net-snmp-5.5/testing/rfc1213/test_fun
+Index: net-snmp-5.7.2/testing/rfc1213/test_fun
===================================================================
---- net-snmp-5.5.orig/testing/rfc1213/test_fun
-+++ net-snmp-5.5/testing/rfc1213/test_fun
+--- net-snmp-5.7.2.orig/testing/rfc1213/test_fun
++++ net-snmp-5.7.2/testing/rfc1213/test_fun
@@ -51,6 +51,9 @@ test_finish()
if [ x$1 == x"PASS" ];then
pass_num=`expr $pass_num + 1`
++++++ net-snmp-5.7.0-velocity-mib.patch -> net-snmp-5.7.2-velocity-mib.patch ++++++
--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp-5.7.0-velocity-mib.patch 2011-09-23 02:14:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp-5.7.2-velocity-mib.patch 2012-11-02 07:31:15.000000000 +0100
@@ -1,7 +1,7 @@
-Index: net-snmp-5.5/LICENSE.VELOCITY
+Index: net-snmp-5.7.2/LICENSE.VELOCITY
===================================================================
--- /dev/null
-+++ net-snmp-5.5/LICENSE.VELOCITY
++++ net-snmp-5.7.2/LICENSE.VELOCITY
@@ -0,0 +1,41 @@
+/* Portions of these files are subject to the following copyright(s). See
+ * the Net-SNMP's COPYING file for more details and other copyrights
@@ -44,10 +44,10 @@
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
-Index: net-snmp-5.5/agent/mibgroup/velocity.h
+Index: net-snmp-5.7.2/agent/mibgroup/velocity.h
===================================================================
--- /dev/null
-+++ net-snmp-5.5/agent/mibgroup/velocity.h
++++ net-snmp-5.7.2/agent/mibgroup/velocity.h
@@ -0,0 +1,28 @@
+/*
+ * Velocity 'wrapper' interface which is an extension of the host resources
@@ -77,10 +77,10 @@
+config_add_mib(UCD-SNMP-MIB)
+config_add_mib(VELOCITY-MIB)
+config_add_mib(VELOCITY-TYPES)
-Index: net-snmp-5.5/agent/mibgroup/velocity/velocity_app.c
+Index: net-snmp-5.7.2/agent/mibgroup/velocity/velocity_app.c
===================================================================
--- /dev/null
-+++ net-snmp-5.5/agent/mibgroup/velocity/velocity_app.c
++++ net-snmp-5.7.2/agent/mibgroup/velocity/velocity_app.c
@@ -0,0 +1,499 @@
+#include