Hello community,

here is the log from the commit of package OpenIPMI for openSUSE:Factory 
checked in at 2017-11-30 12:40:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old)
 and      /work/SRC/openSUSE:Factory/.OpenIPMI.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "OpenIPMI"

Thu Nov 30 12:40:30 2017 rev:42 rq:545085 version:2.0.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes        2017-07-04 
11:53:33.926142700 +0200
+++ /work/SRC/openSUSE:Factory/.OpenIPMI.new/OpenIPMI.changes   2017-11-30 
12:40:32.020515336 +0100
@@ -1,0 +2,17 @@
+Thu Nov 23 13:37:07 UTC 2017 - [email protected]
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+-------------------------------------------------------------------
+Mon Sep 25 12:58:32 UTC 2017 - [email protected]
+
+- Upgrade to 2.0.24
+  * Mainly code cleanup and small rewrites.
+  * Variable renaming IPMI_... to OPENIPMI_...
+  * Improved internal error handling
+  * IPv6 support added/completed.
+  [fate#322830, OpenIMPI-add-libncurses.patch,
+  OpenIPMI-no-return-in-nonvoid-function.patch]
+
+-------------------------------------------------------------------

Old:
----
  OpenIPMI-2.0.23.tar.gz

New:
----
  OpenIMPI-add-libncurses.patch
  OpenIPMI-2.0.24.tar.gz
  OpenIPMI-no-return-in-nonvoid-function.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ OpenIPMI.spec ++++++
--- /var/tmp/diff_new_pack.pOfNvP/_old  2017-11-30 12:40:33.192472725 +0100
+++ /var/tmp/diff_new_pack.pOfNvP/_new  2017-11-30 12:40:33.200472434 +0100
@@ -16,8 +16,13 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 Name:           OpenIPMI
-Version:        2.0.23
+Version:        2.0.24
 Release:        0
 Summary:        Provides access to service processors via IPMI
 License:        LGPL-2.1+
@@ -37,6 +42,10 @@
 Patch3:         0003-Apply-OpenIPMI-2.0.21-nobundle.patch.patch
 # PATCH-FIX-UPSTREAM detect tinfo from ncurses properly
 Patch4:         openipmi-tinfo.patch
+# link with ncurses
+Patch5:         OpenIMPI-add-libncurses.patch
+# some int functions do not return a value
+Patch6:         OpenIPMI-no-return-in-nonvoid-function.patch
 BuildRequires:  gd-devel
 BuildRequires:  gdbm-devel
 BuildRequires:  glib2-devel
@@ -122,10 +131,10 @@
 
 %install
 %make_install
-install -d %{buildroot}%{_localstatedir}/adm/fillup-templates
+install -d %{buildroot}%{_fillupdir}
 install -d %{buildroot}%{_unitdir}
 install -d %{buildroot}%{_sbindir}
-install -m 644 %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates
+install -m 644 %{SOURCE1} %{buildroot}%{_fillupdir}
 install -m 644 %{SOURCE2} %{buildroot}%{_unitdir}
 ln -sv service %{buildroot}%{_sbindir}/rcipmi
 install -d %{buildroot}%{_libexecdir}
@@ -158,7 +167,7 @@
 %defattr(-,root,root)
 %doc CONFIGURING_FOR_LAN COPYING COPYING.BSD COPYING.LIB FAQ
 %doc README README.Force README.MotorolaMXP
-%{_localstatedir}/adm/fillup-templates/sysconfig.ipmi
+%{_fillupdir}/sysconfig.ipmi
 %{_unitdir}/ipmi.service
 %{_sbindir}/rcipmi
 %{_libdir}/libOpenIPMI*.so.*

++++++ 0003-Apply-OpenIPMI-2.0.21-nobundle.patch.patch ++++++
--- /var/tmp/diff_new_pack.pOfNvP/_old  2017-11-30 12:40:33.256470398 +0100
+++ /var/tmp/diff_new_pack.pOfNvP/_new  2017-11-30 12:40:33.260470252 +0100
@@ -1,20 +1,7 @@
-From db70db7ddbbf34806927e279b969b6667005cd5b Mon Sep 17 00:00:00 2001
-From: Boris Ranto <[email protected]>
-Date: Thu, 2 Jun 2016 12:50:03 +0200
-Subject: [PATCH] Apply 'OpenIPMI-2.0.21-nobundle.patch'
-
-Signed-off-by: Boris Ranto <[email protected]>
----
- Makefile.am         | 4 ++--
- cmdlang/Makefile.am | 5 +++--
- configure.ac        | 1 -
- sample/Makefile.am  | 4 ++--
- 4 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index b1aacdf..660c693 100644
---- a/Makefile.am
-+++ b/Makefile.am
+Index: OpenIPMI-2.0.24/Makefile.am
+===================================================================
+--- OpenIPMI-2.0.24.orig/Makefile.am
++++ OpenIPMI-2.0.24/Makefile.am
 @@ -1,10 +1,10 @@
  RPM           = rpmbuild
  RPMFLAGS      = -ta
@@ -28,10 +15,10 @@
             ui lanserv sample doc man swig
  
  EXTRA_DIST = FAQ TODO README.Force README.MotorolaMXP OpenIPMI.spec.in \
-diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
-index e80090d..ae9c65a 100644
---- a/cmdlang/Makefile.am
-+++ b/cmdlang/Makefile.am
+Index: OpenIPMI-2.0.24/cmdlang/Makefile.am
+===================================================================
+--- OpenIPMI-2.0.24.orig/cmdlang/Makefile.am
++++ OpenIPMI-2.0.24/cmdlang/Makefile.am
 @@ -4,7 +4,8 @@ LD_VERSION = 0:5:0
  
  AM_CFLAGS = -Wall -Wsign-compare -I$(top_builddir)/include \
@@ -42,7 +29,7 @@
        $(TCL_CFLAGS)
  
  lib_LTLIBRARIES = libOpenIPMIcmdlang.la
-@@ -25,7 +26,7 @@ openipmish_LDADD =  libOpenIPMIcmdlang.la \
+@@ -25,7 +26,7 @@ openipmish_LDADD =  libOpenIPMIcmdlang.l
                $(top_builddir)/utils/libOpenIPMIutils.la \
                $(top_builddir)/lib/libOpenIPMI.la \
                $(top_builddir)/unix/libOpenIPMIposix.la \
@@ -51,11 +38,11 @@
                $(TERM_LIBS) \
                $(SNMPLIBS) $(GLIB_LIB) $(GLIB_LIBS) \
                $(TCL_LIB) $(TCL_LIBS) \
-diff --git a/configure.ac b/configure.ac
-index 5103556..ae86ac8 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -926,7 +926,6 @@ AC_OUTPUT(Makefile
+Index: OpenIPMI-2.0.24/configure.ac
+===================================================================
+--- OpenIPMI-2.0.24.orig/configure.ac
++++ OpenIPMI-2.0.24/configure.ac
+@@ -878,7 +878,6 @@ AC_OUTPUT(Makefile
          swig/perl/Makefile
          swig/python/Makefile
          swig/python/openipmigui/Makefile
@@ -63,21 +50,19 @@
          cmdlang/Makefile
          include/Makefile
          include/OpenIPMI/Makefile
-diff --git a/sample/Makefile.am b/sample/Makefile.am
-index 06278bd..91d1351 100644
---- a/sample/Makefile.am
-+++ b/sample/Makefile.am
-@@ -59,8 +59,8 @@ solterm_LDADD = $(POPTLIBS) 
$(top_builddir)/utils/libOpenIPMIutils.la \
- rmcp_ping_SOURCES = rmcp_ping.c
+Index: OpenIPMI-2.0.24/sample/Makefile.am
+===================================================================
+--- OpenIPMI-2.0.24.orig/sample/Makefile.am
++++ OpenIPMI-2.0.24/sample/Makefile.am
+@@ -71,9 +71,9 @@ rmcp_ping_SOURCES = rmcp_ping.c
+ rmcp_ping_LDADD = $(SOCKETLIB)
  
  ipmi_serial_bmc_emu_SOURCES = ipmi_serial_bmc_emu.c
--ipmi_serial_bmc_emu_LDADD = $(top_builddir)/libedit/libedit.a $(TERM_LIBS)
+-ipmi_serial_bmc_emu_LDADD = $(top_builddir)/libedit/libedit.a $(TERM_LIBS) \
++ipmi_serial_bmc_emu_LDADD = $(EDIT_LIBS) $(TERM_LIBS) \
+               $(SOCKETLIB)
 -ipmi_serial_bmc_emu_CFLAGS = -I $(top_srcdir)/libedit
-+ipmi_serial_bmc_emu_LDADD = $(EDIT_LIBS) $(TERM_LIBS)
 +ipmi_serial_bmc_emu_CFLAGS = $(EDIT_CFLAGS)
  
  EXTRA_DIST = example_oem.c
  
--- 
-2.7.4
-

++++++ OpenIMPI-add-libncurses.patch ++++++
Index: OpenIPMI-2.0.24/ui/Makefile.am
===================================================================
--- OpenIPMI-2.0.24.orig/ui/Makefile.am
+++ OpenIPMI-2.0.24/ui/Makefile.am
@@ -18,4 +18,4 @@ libOpenIPMIui_la_LIBADD =
 libOpenIPMIui_la_LDFLAGS = -version-info $(LD_VERSION)
 
 ipmi_ui_SOURCES = basic_ui.c
-ipmi_ui_LDADD = libOpenIPMIui.la $(top_builddir)/utils/libOpenIPMIutils.la 
$(top_builddir)/lib/libOpenIPMI.la $(top_builddir)/unix/libOpenIPMIposix.la 
$(TERM_LIBS) $(SNMPLIBS) $(OPENSSLLIBS) $(GDBM_LIB)
+ipmi_ui_LDADD = libOpenIPMIui.la $(top_builddir)/utils/libOpenIPMIutils.la 
$(top_builddir)/lib/libOpenIPMI.la $(top_builddir)/unix/libOpenIPMIposix.la 
$(TERM_LIBS) $(SNMPLIBS) $(OPENSSLLIBS) $(GDBM_LIB) -lncurses
++++++ OpenIPMI-2.0.23.tar.gz -> OpenIPMI-2.0.24.tar.gz ++++++
++++ 11927 lines of diff (skipped)

++++++ OpenIPMI-no-return-in-nonvoid-function.patch ++++++
Index: OpenIPMI-2.0.24/swig/OpenIPMI.i
===================================================================
--- OpenIPMI-2.0.24.orig/swig/OpenIPMI.i
+++ OpenIPMI-2.0.24/swig/OpenIPMI.i
@@ -3123,6 +3123,7 @@ init_glib(void)
     init_lang();
 #endif
     swig_os_hnd = init_glib_shim("");
+    return 0;
 #else
     return ENOSYS;
 #endif
@@ -3160,6 +3161,7 @@ init_tcl(void)
     swig_os_hnd->set_log_handler(swig_os_hnd, openipmi_swig_vlog);
     ipmi_init(swig_os_hnd);
     ipmi_cmdlang_init(swig_os_hnd);
+    return 0;
 #else
     return ENOSYS;
 #endif

Reply via email to