Hello community,
here is the log from the commit of package net-snmp
checked in at Mon Aug 6 18:48:39 CEST 2007.
--------
--- net-snmp/net-snmp.changes 2006-11-15 17:35:48.000000000 +0100
+++ /mounts/work_src_done/STABLE/net-snmp/net-snmp.changes 2007-08-05 20:19:58.920598000 +0200
@@ -1,0 +2,14 @@
+Thu Aug 2 00:46:50 CEST 2007 - mrueckert@suse.de
+
+- update to 5.4.1
+ many small fixes. the highlights:
+ - link only needed libraries
+ - memleaks fixed
+ - python bindings (not yet packaged)
+- rediffed net-snmp-5.4.rc1-autoconf.diff
+ new name net-snmp-5.4.1-autoconf.diff
+- no longer build against lm_sensors on s390
+- split out new packages:
+ libsnmp15, snmp-mibs
+
+-------------------------------------------------------------------
Old:
----
net-snmp-5.4.rc1-autoconf.diff
net-snmp-5.4.rc2_perl_SNMP_size_t.patch
net-snmp-5.4.rc2.tar.bz2
New:
----
net-snmp-5.4.1-autoconf.diff
net-snmp-5.4.1.tar.bz2
net-snmp-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ net-snmp.spec ++++++
--- /var/tmp/diff_new_pack.Vcs736/_old 2007-08-06 18:44:49.000000000 +0200
+++ /var/tmp/diff_new_pack.Vcs736/_new 2007-08-06 18:44:49.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package net-snmp (Version 5.4.rc2)
+# spec file for package net-snmp (Version 5.4.1)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -11,22 +11,29 @@
# norootforbuild
Name: net-snmp
-%define pkg_name net-snmp
-Version: 5.4.rc2
+Version: 5.4.1
Release: 1
#
-License: BSD License and BSD-like, Other License(s), see package
+License: BSD 3-Clause, X11/MIT
Group: Productivity/Networking/Other
#
+%define pkg_name net-snmp
+%ifnarch s390 s390x
+%define with_sensors 1
+%endif
+%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
+#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: openssl-devel rpm-devel sensors tcpd-devel
+BuildRequires: openssl-devel rpm-devel tcpd-devel
+%if 0%{?with_sensors}
+BuildRequires: sensors
+%endif
Requires: perl-TermReadKey logrotate
PreReq: %insserv_prereq %fillup_prereq /sbin/chkconfig
Provides: snmp ucdsnmp
Obsoletes: snmp ucdsnmp
-%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
#
URL: http://sourceforge.net/projects/net-snmp
Source: %{pkg_name}-%{version}.tar.bz2
@@ -37,8 +44,9 @@
Source5: net-snmp.logrotate
Source6: test_installed
Source7: net-snmp.sysconfig
+Source8: net-snmp-rpmlintrc
Patch: net-snmp-5.3.0.1-audit.diff
-Patch1: net-snmp-5.4.rc1-autoconf.diff
+Patch1: net-snmp-5.4.1-autoconf.diff
# unused patch atm
Patch2: net-snmp-5.2.1-socket_path.diff
Patch3: net-snmp-5.4.rc2-versinfo.diff
@@ -47,7 +55,6 @@
Patch6: net-snmp-5.1.1-pie.patch
Patch7: net-snmp-5.3_vendorperl.patch
Patch8: net-snmp-5.4_net-snmp-config_headercheck.patch
-Patch9: net-snmp-5.4.rc2_perl_SNMP_size_t.patch
#
Summary: SNMP Daemon
@@ -65,8 +72,12 @@
Wes Hardaker
%package devel
-Group: Productivity/Networking/Other
-Requires: %{pkg_name} = %{version}, openssl-devel, rpm-devel, sensors, tcpd-devel
+Group: Development/Libraries/C and C++
+Requires: %{pkg_name} = %{version}
+Requires: openssl-devel rpm-devel tcpd-devel perl
+%if 0%{?with_sensors}
+Requires: sensors
+%endif
#
Summary: SNMP Daemon
@@ -83,9 +94,55 @@
--------
Wes Hardaker
+%package -n libsnmp15
+Group: Productivity/Networking/Other
+Requires: snmp-mibs = %{version}
+#
+Summary: Shared Libraries from net-snmp
+
+%description -n libsnmp15
+This package was originally based on the CMU 2.1.2.1 snmp code. It has
+been greatly modified, restructured, enhanced, and fixed. It hardly
+looks the same as anything that CMU has ever released. It was renamed
+from cmu-snmp to ucd-snmp in 1995 and later renamed from ucd-snmp to
+net-snmp in November 2000.
+
+This package holds the shared libraries from the net-snmp package.
+
+
+
+Authors:
+--------
+ Wes Hardaker
+
+%package -n snmp-mibs
+Group: Productivity/Networking/Other
+#
+Summary: MIB files from net-snmp
+
+%description -n snmp-mibs
+This package was originally based on the CMU 2.1.2.1 snmp code. It has
+been greatly modified, restructured, enhanced, and fixed. It hardly
+looks the same as anything that CMU has ever released. It was renamed
+from cmu-snmp to ucd-snmp in 1995 and later renamed from ucd-snmp to
+net-snmp in November 2000.
+
+This package holds the MIB files from the net-snmp package.
+
+
+
+Authors:
+--------
+ Wes Hardaker
+
%package -n perl-SNMP
Group: Development/Libraries/Perl
Requires: %{pkg_name} = %{version}
+%if 0%{?suse_version} > 1020
+Requires: perl-base = %{perl_version}
+%else
+Requires: perl = %{perl_version}
+%endif
#
Summary: Perl-SNMP
@@ -102,14 +159,13 @@
%setup -q -n %{pkg_name}-%{version}
%patch0
%patch1
-##%patch2
+%patch2
%patch3
%patch4
%patch5
%patch6
%patch7
%patch8
-%patch9
find -name "CVS" -type d | xargs -r %{__rm} -rfv
find -name ".cvsignore" | xargs -r %{__rm} -fv
find -name "*.orig" | xargs -r %{__rm} -fv
@@ -117,14 +173,21 @@
%build
#autoconf
# possibly add later
+# --with-python-modules \ => need python-setuptools
# ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable
+export CFLAGS="%{optflags} -fno-strict-aliasing -DNETSNMP_NO_INLINE"
export CFLAGS="%{optflags} -fno-strict-aliasing"
%if 0%{?suse_version} > 1000
export CFLAGS="$CFLAGS -fstack-protector-all"
%endif
%configure \
--with-sys-contact="root@localhost" \
- --with-mib-modules="misc/ipfwacc smux ucd-snmp/diskio ucd-snmp/lmSensors" \
+ --with-mib-modules="misc/ipfwacc \
+ ucd-snmp/diskio \
+%if 0%{?with_sensors}
+ ucd-snmp/lmSensors \
+%endif
+ smux" \
--with-persistent-directory=/var/lib/net-snmp \
--with-agentx-socket=%{netsnmp_agentx_socket_dir_fhs}/master \
--with-sys-location="unknown" \
@@ -139,6 +202,8 @@
--enable-ipv6 \
--enable-ucd-snmp-compatibility
%{__make} all
+
+%check
%ifnarch %arm
ulimit -c unlimited
%{__make} test ||:
@@ -170,6 +235,7 @@
%{buildroot}/var/adm/fillup-templates/sysconfig.%{pkg_name}
#
%{__ln_s} -f %{netsnmp_agentx_socket_dir_fhs} %{buildroot}%{netsnmp_agentx_socket_dir_rfc}
+#
%clean
%{__rm} -rf %{buildroot}
@@ -214,10 +280,15 @@
%restart_on_update snmpd
%{insserv_cleanup}
+%post -n libsnmp15 -p /sbin/ldconfig
+
+%postun -n libsnmp15 -p /sbin/ldconfig
+
%files
%defattr(-,root,root)
%doc AGENT.txt COPYING EXAMPLE.conf EXAMPLE.conf.def
-%doc README* FAQ NEWS TODO rc.snmptrapd
+%doc FAQ NEWS TODO rc.snmptrapd
+%doc README README.agent-mibs README.agentx README.krb5 README.snmpv3 README.thread
%dir /etc/snmp
%config(noreplace) /etc/snmp/snmpd.conf
%config /etc/init.d/snmpd
@@ -247,11 +318,8 @@
%{_bindir}/traptoemail
%dir %{_prefix}/lib/net-snmp
%dir %{_prefix}/lib/net-snmp/agents
-%{_libdir}/libsnmp*.so.*
-%{_libdir}/libnetsnmp*.so.*
%{_mandir}/man[158]/*
%{_sbindir}/*
-%{_datadir}/snmp
/var/lib/net-snmp
%dir %attr(700,root,root) %{netsnmp_agentx_socket_dir_fhs}
%ghost %{netsnmp_logfile}
@@ -259,15 +327,24 @@
/var/adm/fillup-templates/sysconfig.%{pkg_name}
%{netsnmp_agentx_socket_dir_rfc}
+%files -n snmp-mibs
+%defattr(-,root,root)
+%{_datadir}/snmp
+
+%files -n libsnmp15
+%defattr(-,root,root)
+%{_libdir}/libsnmp*.so.*
+%{_libdir}/libnetsnmp*.so.*
+
%files devel
%defattr(-,root,root)
-%doc ChangeLog PORTING testing
+%doc ChangeLog PORTING
%{_mandir}/man3/*
%{_includedir}/ucd-snmp
%{_includedir}/net-snmp
-%{_libdir}/libsnmp*.*a
+%{_libdir}/libsnmp*.la
%{_libdir}/libsnmp*.so
-%{_libdir}/libnetsnmp*.*a
+%{_libdir}/libnetsnmp*.la
%{_libdir}/libnetsnmp*.so
%files -n perl-SNMP
@@ -282,7 +359,18 @@
%{_bindir}/mib2c
%{_bindir}/mib2c-update
-%changelog -n net-snmp
+%changelog
+* Thu Aug 02 2007 - mrueckert@suse.de
+- update to 5.4.1
+ many small fixes. the highlights:
+ - link only needed libraries
+ - memleaks fixed
+ - python bindings (not yet packaged)
+- rediffed net-snmp-5.4.rc1-autoconf.diff
+ new name net-snmp-5.4.1-autoconf.diff
+- no longer build against lm_sensors on s390
+- split out new packages:
+ libsnmp15, snmp-mibs
* Mon Nov 13 2006 - mrueckert@suse.de
- update to 5.4.rc2:
tons of bugfixes, and new features. just to name a few:
++++++ net-snmp-5.1.1-pie.patch ++++++
--- /var/tmp/diff_new_pack.Vcs736/_old 2007-08-06 18:44:49.000000000 +0200
+++ /var/tmp/diff_new_pack.Vcs736/_new 2007-08-06 18:44:49.000000000 +0200
@@ -1,26 +1,26 @@
Index: apps/Makefile.in
===================================================================
---- apps/Makefile.in.orig
-+++ apps/Makefile.in
-@@ -111,7 +111,7 @@
- $(LINK) -o $@ snmptest.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
+--- apps/Makefile.in.orig 2007-06-30 00:18:27.000000000 +0200
++++ apps/Makefile.in 2007-07-02 19:29:01.672262509 +0200
+@@ -115,7 +115,7 @@ snmptest$(EXEEXT): snmptest.$(OSUFFIX
+ $(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
snmptrapd$(EXEEXT): $(TRAPD_OBJECTS) $(USETRAPLIBS) $(INSTALLLIBS)
-- $(LINK) -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
-+ $(LINK) -o $@ -pie $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
+- $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
++ $(LINK) ${CFLAGS} -o $@ -pie $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
snmptrap$(EXEEXT): snmptrap.$(OSUFFIX) $(USELIBS)
- $(LINK) -o $@ snmptrap.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
+ $(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
Index: agent/Makefile.in
===================================================================
---- agent/Makefile.in.orig
-+++ agent/Makefile.in
-@@ -129,7 +129,7 @@
+--- agent/Makefile.in.orig 2007-06-30 00:18:27.000000000 +0200
++++ agent/Makefile.in 2007-07-02 19:29:28.297866574 +0200
+@@ -139,7 +139,7 @@ getmibstat.o: mibgroup/kernel_sunos5.c
$(CC) $(CFLAGS) -o $@ -D_GETMIBSTAT_TEST -DDODEBUG -c $?
- snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(HELPERLIB) $(LIBTARG) ${INSTALLLIBS}
+ snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(HELPERLIB) $(MIBLIB) $(LIBTARG)
- $(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
+ $(LINK) $(CFLAGS) -o $@ -pie ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
- libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS}
+ libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} $(USELIBS)
++++++ net-snmp-5.4.rc1-autoconf.diff -> net-snmp-5.4.1-autoconf.diff ++++++
--- net-snmp/net-snmp-5.4.rc1-autoconf.diff 2006-11-14 18:23:18.000000000 +0100
+++ /mounts/work_src_done/STABLE/net-snmp/net-snmp-5.4.1-autoconf.diff 2007-08-02 00:45:28.603924000 +0200
@@ -1,17 +1,17 @@
Index: configure.in
===================================================================
---- configure.in.orig
-+++ configure.in
-@@ -1037,7 +1037,7 @@
-
+--- configure.in.orig 2007-08-02 00:45:15.851154004 +0200
++++ configure.in 2007-08-02 00:45:23.287603014 +0200
+@@ -1009,7 +1009,7 @@ AC_SUBST(LINKCC)
+ AC_AIX
# system check
-AC_CANONICAL_TARGET
+AC_CANONICAL_TARGET([])
changequote(, )
PARTIALTARGETOS=`echo $target_os | sed 's/[-._].*//'`
- if test "x$PARTIALTARGETOS" = "xmingw32msvc"; then
-@@ -2332,8 +2332,6 @@
+ changequote([, ])
+@@ -2737,8 +2737,6 @@ AC_ARG_WITH(libwrap,
[
AC_MSG_RESULT([no])
# Linux RedHat 6.1 won't link libwrap without libnsl
@@ -20,7 +20,7 @@
AC_MSG_CHECKING([for TCP wrappers library -lwrap linked with -lnsl])
AC_TRY_LINK([#include
#include
-@@ -3754,7 +3752,7 @@
+@@ -4521,7 +4519,7 @@ fi
# we need to have a local variable `hz' in scope and set to a useful
# value whenever we use one of these constants.
#
@@ -29,7 +29,7 @@
[AC_EGREP_CPP(hz,
[#include
TCPTV_SRTTDFLT
-@@ -3808,7 +3806,7 @@
+@@ -4575,7 +4573,7 @@ fi
ME=`$WHOAMI`
if test -f /etc/resolv.conf; then
++++++ net-snmp-5.4.rc2.tar.bz2 -> net-snmp-5.4.1.tar.bz2 ++++++
++++ 95761 lines of diff (skipped)
++++++ rc.net-snmp ++++++
--- net-snmp/rc.net-snmp 2006-11-14 18:23:18.000000000 +0100
+++ /mounts/work_src_done/STABLE/net-snmp/rc.net-snmp 2007-08-02 01:02:42.234297000 +0200
@@ -7,11 +7,12 @@
#
### BEGIN INIT INFO
# Provides: net-snmp snmp
-# Required-Start: $network
+# Required-Start: $remote_fs
# Required-Stop:
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
-# Description: start net-snmpd
+# Description: Net-SNMP snmpd
+# Short-Description: Net-SNMP snmpd
### END INIT INFO
SNMPD=/usr/sbin/snmpd
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org