From 7f5559911baccd121a77c50111aeda190e71f374 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 11:45:39 +0000 Subject: [PATCH 01/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 9bfbc91..49ba66e 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.25 -Release: 8%{?dist} +Release: 9%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -208,6 +208,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 2.0.25-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Wed Sep 05 2018 Josef Ridky - 2.0.25-8 - Fix man page self referencing error (#1612159) From ba598c7e552b4e5c47ef480d0fafff948d93d7a4 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Fri, 31 May 2019 06:47:12 +0200 Subject: [PATCH 02/58] Perl 5.30 rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 49ba66e..ead97e8 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.25 -Release: 9%{?dist} +Release: 10%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -208,6 +208,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Fri May 31 2019 Jitka Plesnikova - 2.0.25-10 +- Perl 5.30 rebuild + * Thu Jan 31 2019 Fedora Release Engineering - 2.0.25-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 3212f5b44add34d9bb3316718e43e2502063eb70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 19 Jun 2019 09:57:50 +0200 Subject: [PATCH 03/58] Drop use of __* macros that were removed in rpm-4.15 --- OpenIPMI.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index ead97e8..70ce04a 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -89,11 +89,11 @@ export EDIT_CFLAGS=`pkg-config --cflags libedit` export EDIT_LIBS=`pkg-config --libs libedit` # generate new configure script we need this since we removed the libedit directory -%{__libtoolize} --copy --force --automake -%{__aclocal} -%{__autoheader} -%{__automake} --add-missing --copy --foreign --force-missing -%{__autoconf} +libtoolize --copy --force --automake +aclocal +autoheader +automake --add-missing --copy --foreign --force-missing +autoconf # libedit end %configure \ From 18a10dc445673cb7a3674cb8022d91ff3abfc665 Mon Sep 17 00:00:00 2001 From: Vaclav Dolezal Date: Wed, 26 Jun 2019 14:00:38 +0200 Subject: [PATCH 04/58] New upstream release 2.0.27 - readline replaced bundled libedit in upstream --- .gitignore | 1 + ...nIPMI-2.0.18-pthread-pkgconfig.patch.patch | 26 --- 0002-nobundle.patch | 59 ------- 0002-readline-includes.patch | 30 ++++ 0003-Python3.patch | 149 ------------------ OpenIPMI.spec | 27 ++-- sources | 2 +- 7 files changed, 41 insertions(+), 253 deletions(-) delete mode 100644 0001-Apply-OpenIPMI-2.0.18-pthread-pkgconfig.patch.patch delete mode 100644 0002-nobundle.patch create mode 100644 0002-readline-includes.patch delete mode 100644 0003-Python3.patch diff --git a/.gitignore b/.gitignore index 06183e6..60a5886 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ OpenIPMI-2.0.18.tar.gz /OpenIPMI-2.0.23.tar.gz /OpenIPMI-2.0.24.tar.gz /OpenIPMI-2.0.25.tar.gz +/OpenIPMI-2.0.27.tar.gz diff --git a/0001-Apply-OpenIPMI-2.0.18-pthread-pkgconfig.patch.patch b/0001-Apply-OpenIPMI-2.0.18-pthread-pkgconfig.patch.patch deleted file mode 100644 index 5c92eb9..0000000 --- a/0001-Apply-OpenIPMI-2.0.18-pthread-pkgconfig.patch.patch +++ /dev/null @@ -1,26 +0,0 @@ -From d058bc9be5ef521882e3226a27e81cca8aded5ce Mon Sep 17 00:00:00 2001 -From: Boris Ranto -Date: Thu, 2 Jun 2016 12:46:39 +0200 -Subject: [PATCH] Apply 'OpenIPMI-2.0.18-pthread-pkgconfig.patch' - -Signed-off-by: Boris Ranto ---- - OpenIPMIpthread.pc.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/OpenIPMIpthread.pc.in b/OpenIPMIpthread.pc.in -index 59b52e5..fffa0d0 100644 ---- a/OpenIPMIpthread.pc.in -+++ b/OpenIPMIpthread.pc.in -@@ -6,6 +6,6 @@ includedir=@includedir@ - Name: OpenIPMIpthread - Description: Pthread OS handler for OpenIPMI - Version: @VERSION@ --Requires: OpenIPMI pthread -+Requires: OpenIPMI - Libs: -L${libdir} -lOpenIPMIutils -lOpenIPMIpthread --Cflags: -I${includedir} -+Cflags: -I${includedir} -pthread --- -2.7.4 - diff --git a/0002-nobundle.patch b/0002-nobundle.patch deleted file mode 100644 index 2515e0e..0000000 --- a/0002-nobundle.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,10 +1,10 @@ - RPM = rpmbuild - RPMFLAGS = -ta - --SUBDIRS = include utils lib unix $(GLIB_DIR) $(TCL_DIR) libedit cmdlang \ -+SUBDIRS = include utils lib unix $(GLIB_DIR) $(TCL_DIR) cmdlang \ - ui lanserv sample doc man $(SWIG_DIR) - --DIST_SUBDIRS = include utils lib unix glib tcl libedit cmdlang \ -+DIST_SUBDIRS = include utils lib unix glib tcl cmdlang \ - ui lanserv sample doc man swig - - EXTRA_DIST = FAQ TODO README.Force README.MotorolaMXP OpenIPMI.spec.in \ ---- a/cmdlang/Makefile.am -+++ b/cmdlang/Makefile.am -@@ -4,7 +4,8 @@ LD_VERSION = 0:5:0 - - AM_CFLAGS = -Wall -Wsign-compare -I$(top_builddir)/include \ - -I$(top_srcdir)/include \ -- -I$(top_srcdir)/libedit -DIPMI_CHECK_LOCKS $(GLIB_CFLAGS) \ -+ -DIPMI_CHECK_LOCKS $(GLIB_CFLAGS) \ -+ $(EDIT_CFLAGS) \ - $(TCL_CFLAGS) - - lib_LTLIBRARIES = libOpenIPMIcmdlang.la -@@ -25,7 +26,7 @@ openipmish_LDADD = libOpenIPMIcmdlang.la \ - $(top_builddir)/utils/libOpenIPMIutils.la \ - $(top_builddir)/lib/libOpenIPMI.la \ - $(top_builddir)/unix/libOpenIPMIposix.la \ -- $(top_builddir)/libedit/libedit.a \ -+ $(EDIT_LIBS) \ - $(TERM_LIBS) \ - $(SNMPLIBS) $(GLIB_LIB) $(GLIB_LIBS) \ - $(TCL_LIB) $(TCL_LIBS) \ ---- a/configure.ac -+++ b/configure.ac -@@ -926,7 +926,6 @@ AC_OUTPUT(Makefile - swig/perl/Makefile - swig/python/Makefile - swig/python/openipmigui/Makefile -- libedit/Makefile - cmdlang/Makefile - include/Makefile - include/OpenIPMI/Makefile ---- OpenIPMI-2.0.24/sample/Makefile.am~ 2017-07-27 23:01:19.000000000 +0100 -+++ OpenIPMI-2.0.24/sample/Makefile.am 2017-12-19 07:52:45.368954855 +0000 -@@ -73,7 +73,8 @@ - ipmi_serial_bmc_emu_SOURCES = ipmi_serial_bmc_emu.c - ipmi_serial_bmc_emu_LDADD = $(top_builddir)/libedit/libedit.a $(TERM_LIBS) \ - $(SOCKETLIB) --ipmi_serial_bmc_emu_CFLAGS = -I $(top_srcdir)/libedit -+ipmi_serial_bmc_emu_LDADD = $(EDIT_LIBS) -+ipmi_serial_bmc_emu_CFLAGS = $(EDIT_CFLAGS) - - EXTRA_DIST = example_oem.c - - diff --git a/0002-readline-includes.patch b/0002-readline-includes.patch new file mode 100644 index 0000000..84c6770 --- /dev/null +++ b/0002-readline-includes.patch @@ -0,0 +1,30 @@ +Fix including readline and readline history headers in OpenIPMI 2.0.27 + +It will probably be fixed in next release + +diff --git a/cmdlang/ipmish.c b/cmdlang/ipmish.c +index 139da67b..a4b8f0ba 100644 +--- a/cmdlang/ipmish.c ++++ b/cmdlang/ipmish.c +@@ -51,6 +51,7 @@ + #include + #include + #include ++#include + + #ifdef HAVE_GLIB + #include +diff --git a/sample/ipmi_serial_bmc_emu.c b/sample/ipmi_serial_bmc_emu.c +index e0ae0197..184745ef 100644 +--- a/sample/ipmi_serial_bmc_emu.c ++++ b/sample/ipmi_serial_bmc_emu.c +@@ -42,7 +42,8 @@ + #include + #include + #include +-#include ++#include ++#include + + #define _GNU_SOURCE + #include diff --git a/0003-Python3.patch b/0003-Python3.patch deleted file mode 100644 index 702d976..0000000 --- a/0003-Python3.patch +++ /dev/null @@ -1,149 +0,0 @@ -diff -urNp a/configure b/configure ---- a/configure 2018-04-17 08:47:58.528284066 +0200 -+++ b/configure 2018-04-17 10:00:24.091372864 +0200 -@@ -13406,7 +13406,7 @@ if test "x$pythoncflags" = "x" -o "x$pyt - pythonprog= - if test "x$trypython" != "xno"; then - # Extract the first word of "python", so it can be a program name with args. --set dummy python; ac_word=$2 -+set dummy python3; ac_word=$2 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 - $as_echo_n "checking for $ac_word... " >&6; } - if ${ac_cv_path_pythonprog+:} false; then : -@@ -13500,12 +13500,12 @@ if test "x$pythonprog" != "x"; then - if test "x$pythonusepthreads" = "x"; then - cat - <<_ACEOF >conftest.py - try: -- import thread -+ import threading - print('yes') - except: - print('no') - _ACEOF -- pythonusepthreads=`python conftest.py` -+ pythonusepthreads=`python3 conftest.py` - rm -f conftest.py - fi - echo "checking for python threads... $pythonusepthreads" -@@ -13537,7 +13537,7 @@ try: - except: - print('no') - _ACEOF -- tkinter=`python conftest.py` -+ tkinter=`python3 conftest.py` - rm -f conftest.py - fi - fi -diff -urNp a/configure.ac b/configure.ac ---- a/configure.ac 2018-04-17 08:47:58.529284062 +0200 -+++ b/configure.ac 2018-04-17 10:01:02.115576922 +0200 -@@ -526,7 +526,7 @@ AC_SUBST(PERL_POSIX_SO) - if test "x$pythoncflags" = "x" -o "x$pythoninstalldir" = "x"; then - pythonprog= - if test "x$trypython" != "xno"; then -- AC_PATH_PROG(pythonprog, python) -+ AC_PATH_PROG(pythonprog, python3) - fi - if test "x$pythonprog" != "x"; then - # Now find a proper installation location. -@@ -578,12 +578,12 @@ if test "x$pythonprog" != "x"; then - if test "x$pythonusepthreads" = "x"; then - cat - <<_ACEOF >conftest.py - try: -- import thread -+ import threading - print('yes') - except: - print('no') - _ACEOF -- pythonusepthreads=`python conftest.py` -+ pythonusepthreads=`python3 conftest.py` - rm -f conftest.py - fi - echo "checking for python threads... $pythonusepthreads" -@@ -615,7 +615,7 @@ try: - except: - print('no') - _ACEOF -- tkinter=`python conftest.py` -+ tkinter=`python3 conftest.py` - rm -f conftest.py - fi - fi -diff -urNp a/swig/python/Makefile.am b/swig/python/Makefile.am ---- a/swig/python/Makefile.am 2018-04-17 08:47:58.547283986 +0200 -+++ b/swig/python/Makefile.am 2018-04-17 14:43:01.703963727 +0200 -@@ -22,19 +22,14 @@ EXTRA_DIST = OpenIPMI_lang.i OpenIPMI.h - OpenIPMI.pyc: OpenIPMI.py _OpenIPMI.la - -PYTHONPATH=$(PYPATH) $(pythonprog) -c 'import OpenIPMI.py' - --OpenIPMI.pyo: OpenIPMI.py _OpenIPMI.la -- -PYTHONPATH=$(PYPATH) $(pythonprog) -O -c 'import OpenIPMI.py' -- - OpenIPMI_wrap.c OpenIPMI.py: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i - $(SWIG) $(DEFS) -python -o OpenIPMI_wrap.c -I$(top_srcdir)/swig/python $< - --CLEANFILES = OpenIPMI_wrap.c OpenIPMI.py OpenIPMI.pyo OpenIPMI.pyc -+CLEANFILES = OpenIPMI_wrap.c OpenIPMI.py - --install-exec-local: _OpenIPMI.la OpenIPMI.py OpenIPMI.pyc OpenIPMI.pyo -+install-exec-local: _OpenIPMI.la OpenIPMI.py - $(INSTALL) -d $(DESTDIR)$(PYTHON_INSTALL_DIR) - $(INSTALL_DATA) OpenIPMI.py "$(DESTDIR)$(PYTHON_INSTALL_DIR)" -- $(INSTALL_DATA) OpenIPMI.pyc "$(DESTDIR)$(PYTHON_INSTALL_DIR)" -- $(INSTALL_DATA) OpenIPMI.pyo "$(DESTDIR)$(PYTHON_INSTALL_DIR)" - if test "x$(PYTHON_GUI_DIR)" = "xopenipmigui"; then \ - $(INSTALL) -d $(DESTDIR)$(bindir); \ - $(INSTALL_SCRIPT) $(srcdir)/openipmigui.py "$(DESTDIR)$(bindir)/openipmigui";\ -@@ -43,8 +38,6 @@ install-exec-local: _OpenIPMI.la OpenIPM - uninstall-local: - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(PYTHON_INSTALL_LIB_DIR)/_OpenIPMI.so" - rm -f "$(DESTDIR)$(PYTHON_INSTALL_DIR)/OpenIPMI.py" -- rm -f "$(DESTDIR)$(PYTHON_INSTALL_DIR)/OpenIPMI.pyc" -- rm -f "$(DESTDIR)$(PYTHON_INSTALL_DIR)/OpenIPMI.pyo" - rm -f "$(DESTDIR)$(bindir)/openipmigui" - - rungui: -diff -urNp a/swig/python/Makefile.in b/swig/python/Makefile.in ---- a/swig/python/Makefile.in 2018-04-17 08:47:58.547283986 +0200 -+++ b/swig/python/Makefile.in 2018-04-17 14:43:28.969899859 +0200 -@@ -443,7 +443,7 @@ nodist__OpenIPMI_la_SOURCES = OpenIPMI_w - _OpenIPMI_la_LDFLAGS = -module -avoid-version - _OpenIPMI_la_LIBADD = $(OPENIPMI_SWIG_LIBS) $(PYTHON_POSIX_LIB) - EXTRA_DIST = OpenIPMI_lang.i OpenIPMI.h openipmigui.py sample.py sample2.py --CLEANFILES = OpenIPMI_wrap.c OpenIPMI.py OpenIPMI.pyo OpenIPMI.pyc -+CLEANFILES = OpenIPMI_wrap.c OpenIPMI.py - all: all-recursive - - .SUFFIXES: -@@ -837,20 +837,12 @@ uninstall-am: uninstall-local uninstall- - .PRECIOUS: Makefile - - --OpenIPMI.pyc: OpenIPMI.py _OpenIPMI.la -- -PYTHONPATH=$(PYPATH) $(pythonprog) -c 'import OpenIPMI.py' -- --OpenIPMI.pyo: OpenIPMI.py _OpenIPMI.la -- -PYTHONPATH=$(PYPATH) $(pythonprog) -O -c 'import OpenIPMI.py' -- - OpenIPMI_wrap.c OpenIPMI.py: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i - $(SWIG) $(DEFS) -python -o OpenIPMI_wrap.c -I$(top_srcdir)/swig/python $< - --install-exec-local: _OpenIPMI.la OpenIPMI.py OpenIPMI.pyc OpenIPMI.pyo -+install-exec-local: _OpenIPMI.la OpenIPMI.py - $(INSTALL) -d $(DESTDIR)$(PYTHON_INSTALL_DIR) - $(INSTALL_DATA) OpenIPMI.py "$(DESTDIR)$(PYTHON_INSTALL_DIR)" -- $(INSTALL_DATA) OpenIPMI.pyc "$(DESTDIR)$(PYTHON_INSTALL_DIR)" -- $(INSTALL_DATA) OpenIPMI.pyo "$(DESTDIR)$(PYTHON_INSTALL_DIR)" - if test "x$(PYTHON_GUI_DIR)" = "xopenipmigui"; then \ - $(INSTALL) -d $(DESTDIR)$(bindir); \ - $(INSTALL_SCRIPT) $(srcdir)/openipmigui.py "$(DESTDIR)$(bindir)/openipmigui";\ -@@ -859,8 +851,6 @@ install-exec-local: _OpenIPMI.la OpenIPM - uninstall-local: - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(PYTHON_INSTALL_LIB_DIR)/_OpenIPMI.so" - rm -f "$(DESTDIR)$(PYTHON_INSTALL_DIR)/OpenIPMI.py" -- rm -f "$(DESTDIR)$(PYTHON_INSTALL_DIR)/OpenIPMI.pyc" -- rm -f "$(DESTDIR)$(PYTHON_INSTALL_DIR)/OpenIPMI.pyo" - rm -f "$(DESTDIR)$(bindir)/openipmigui" - - rungui: diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 70ce04a..54eb530 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -3,8 +3,8 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI -Version: 2.0.25 -Release: 10%{?dist} +Version: 2.0.27 +Release: 1%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -12,20 +12,18 @@ Source1: openipmi.sysconf Source2: openipmi-helper Source3: ipmi.service Patch1: 0001-man.patch -Patch2: 0002-nobundle.patch -Patch3: 0003-Python3.patch +Patch2: 0002-readline-includes.patch BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel BuildRequires: openssl-devel python3-devel perl-devel perl-generators BuildRequires: pkgconfig -BuildRequires: libedit-devel +BuildRequires: readline-devel BuildRequires: automake BuildRequires: autoconf BuildRequires: libtool %{?systemd_requires} BuildRequires: systemd -Requires: libedit Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -82,19 +80,8 @@ This package contains a network IPMI listener. %prep %autosetup -p1 -rm -rf ./libedit %build -export EDIT_CFLAGS=`pkg-config --cflags libedit` -export EDIT_LIBS=`pkg-config --libs libedit` - -# generate new configure script we need this since we removed the libedit directory -libtoolize --copy --force --automake -aclocal -autoheader -automake --add-missing --copy --foreign --force-missing -autoconf -# libedit end %configure \ CFLAGS="-fPIC %{optflags} -z now -fno-strict-aliasing" \ @@ -102,6 +89,7 @@ autoconf --disable-dependency-tracking \ --disable-static \ --with-pythoninstall=%{python3_sitearch} \ + --with-python=%{__python3} \ --with-tcl=no \ --with-tkinter=no @@ -110,7 +98,7 @@ autoconf sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make # not %{?_smp_mflags} safe +make # not %%{?_smp_mflags} safe %install make install DESTDIR=%{buildroot} @@ -208,6 +196,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Wed Jun 26 2019 Vaclav Dolezal - 2.0.27-1 +- New upstream release 2.0.27 + * Fri May 31 2019 Jitka Plesnikova - 2.0.25-10 - Perl 5.30 rebuild diff --git a/sources b/sources index 26a13b2..253db02 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OpenIPMI-2.0.25.tar.gz) = 5d89deb5d0d0ff44d6f62a9759577dba92aa58c208477e317aecbd01e71ccf7ba0dab138a1d8feff22d523c85d6ceaee9e478e26834ffcd91949b81d2d9c1f86 +SHA512 (OpenIPMI-2.0.27.tar.gz) = 44aa2eb97559514d61654434f24bf8e87c3f89ea7095fd3d46c1a889e16c128f29ca19cfb9747afc7fd432ada84406ee884bc8b9c65e28b8bd033d368b744fe3 From 3c63b526a44c27cf32240109e6d94d5e969f776d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 16:02:48 +0000 Subject: [PATCH 05/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 54eb530..0a816b9 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.27 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -196,6 +196,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 2.0.27-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Wed Jun 26 2019 Vaclav Dolezal - 2.0.27-1 - New upstream release 2.0.27 From 6fcbd97ea05901f8aaf3fba751fe2cf5e74f1846 Mon Sep 17 00:00:00 2001 From: Vaclav Dolezal Date: Thu, 1 Aug 2019 09:47:26 +0200 Subject: [PATCH 06/58] Prevent bogus Provides of libOpenIPMI.so.0 Resolves: #1734407 --- OpenIPMI.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 0a816b9..30c55c2 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.27 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -26,6 +26,8 @@ BuildRequires: systemd Requires: %{name}-libs%{?_isa} = %{version}-%{release} +# Prevent bogus provides of private libs from perl +%global __provides_exclude_from %{?__provides_exclude_from:%{__provides_exclude_from}|}^%{perl_vendorarch}/auto/.*\\.so$ %description The Open IPMI project aims to develop an open code base to allow access to @@ -196,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Thu Aug 01 2019 Vaclav Dolezal - 2.0.27-3 +- Prevent bogus Provides of libOpenIPMI.so.0 by OpenIPMI-perl (#1734407) + * Wed Jul 24 2019 Fedora Release Engineering - 2.0.27-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 765db84b19c90c27dfbd91aaa31cd523f35d501f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:00:19 +0200 Subject: [PATCH 07/58] Rebuilt for Python 3.8 --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 30c55c2..cd53af2 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.27 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Aug 19 2019 Miro Hrončok - 2.0.27-4 +- Rebuilt for Python 3.8 + * Thu Aug 01 2019 Vaclav Dolezal - 2.0.27-3 - Prevent bogus Provides of libOpenIPMI.so.0 by OpenIPMI-perl (#1734407) From 849c0b43fa43c315350f8fa3ef9aaa23d93f9393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 13:49:37 +0200 Subject: [PATCH 08/58] Rebuilt for Python 3.8.0rc1 (#1748018) --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index cd53af2..d243c78 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.27 -Release: 4%{?dist} +Release: 5%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Thu Oct 03 2019 Miro Hrončok - 2.0.27-5 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Mon Aug 19 2019 Miro Hrončok - 2.0.27-4 - Rebuilt for Python 3.8 From d4e1908b4326035d50ce035988d88d29ac75b0a6 Mon Sep 17 00:00:00 2001 From: Vaclav Dolezal Date: Mon, 16 Dec 2019 11:49:30 +0100 Subject: [PATCH 09/58] New upstream release 2.0.28 --- .gitignore | 1 + 0002-readline-includes.patch | 14 ++++---------- OpenIPMI.spec | 7 +++++-- sources | 1 + 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 60a5886..f4ebde5 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ OpenIPMI-2.0.18.tar.gz /OpenIPMI-2.0.24.tar.gz /OpenIPMI-2.0.25.tar.gz /OpenIPMI-2.0.27.tar.gz +/OpenIPMI-2.0.28.tar.gz diff --git a/0002-readline-includes.patch b/0002-readline-includes.patch index 84c6770..b4927b4 100644 --- a/0002-readline-includes.patch +++ b/0002-readline-includes.patch @@ -1,9 +1,5 @@ -Fix including readline and readline history headers in OpenIPMI 2.0.27 - -It will probably be fixed in next release - diff --git a/cmdlang/ipmish.c b/cmdlang/ipmish.c -index 139da67b..a4b8f0ba 100644 +index 139da67..a4b8f0b 100644 --- a/cmdlang/ipmish.c +++ b/cmdlang/ipmish.c @@ -51,6 +51,7 @@ @@ -15,15 +11,13 @@ index 139da67b..a4b8f0ba 100644 #ifdef HAVE_GLIB #include diff --git a/sample/ipmi_serial_bmc_emu.c b/sample/ipmi_serial_bmc_emu.c -index e0ae0197..184745ef 100644 +index 1b8bb9a..184745e 100644 --- a/sample/ipmi_serial_bmc_emu.c +++ b/sample/ipmi_serial_bmc_emu.c -@@ -42,7 +42,8 @@ - #include +@@ -43,6 +43,7 @@ #include #include --#include -+#include + #include +#include #define _GNU_SOURCE diff --git a/OpenIPMI.spec b/OpenIPMI.spec index d243c78..ff88526 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -3,8 +3,8 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI -Version: 2.0.27 -Release: 5%{?dist} +Version: 2.0.28 +Release: 1%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Dec 16 2019 Vaclav Dolezal - 2.0.28-1 +- New upstream release 2.0.28 + * Thu Oct 03 2019 Miro Hrončok - 2.0.27-5 - Rebuilt for Python 3.8.0rc1 (#1748018) diff --git a/sources b/sources index 253db02..bdf74ce 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (OpenIPMI-2.0.27.tar.gz) = 44aa2eb97559514d61654434f24bf8e87c3f89ea7095fd3d46c1a889e16c128f29ca19cfb9747afc7fd432ada84406ee884bc8b9c65e28b8bd033d368b744fe3 +SHA512 (OpenIPMI-2.0.28.tar.gz) = faaca335f7ff582f396d588c6b3736b4e2756a9914becba75550878a10d7acce55e85912bcf5cd9e482c3e646eb472a8a055c520f2dcba7a874f0c0f120502da From 5d7705c6c376452fe692042098781153f059886b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 09:37:22 +0000 Subject: [PATCH 10/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index ff88526..c54982d 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.28 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 2.0.28-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Mon Dec 16 2019 Vaclav Dolezal - 2.0.28-1 - New upstream release 2.0.28 From 89be3f89ee81e350c41153f1b85e28b20856b3f9 Mon Sep 17 00:00:00 2001 From: Vaclav Dolezal Date: Thu, 9 Jan 2020 11:46:33 +0100 Subject: [PATCH 11/58] Cleanup of openipmi-helper script Removed some legacy stuff including branches handling systems with no udev. Resolves: #1579773 --- OpenIPMI.spec | 5 ++++- openipmi-helper | 57 +++++++------------------------------------------ 2 files changed, 12 insertions(+), 50 deletions(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index c54982d..99bb2a9 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.28 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Feb 03 2020 Vaclav Dolezal - 2.0.28-3 +- Cleanup of openipmi-helper script; removed no-udev branch (#1579773) + * Tue Jan 28 2020 Fedora Release Engineering - 2.0.28-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/openipmi-helper b/openipmi-helper index 4cebfb9..4f3d3d9 100644 --- a/openipmi-helper +++ b/openipmi-helper @@ -4,6 +4,7 @@ # ipmi: OpenIPMI Driver helper script # # Authors: Jan Safranek +# Václav Doležal # # Based on IPMI init script by: # Matt Domsch @@ -30,11 +31,6 @@ INTF_NUM=0 IPMI_SMB_MODULE_NAME="ipmi_smb" IPMI_SI_MODULE_NAME="ipmi_si" -kernel=`uname -r | cut -d. -f1-2` -if [ "${kernel}" == "2.4" ]; then - IPMI_SMB_MODULE_NAME="ipmi_smb_intf" - IPMI_SI_MODULE_NAME="ipmi_si_drv" -fi MODULES_INTERFACES="" [ "${DEV_IPMI}" = "yes" ] && MODULES_INTERFACES="${MODULES_INTERFACES} ipmi_devintf" @@ -55,17 +51,6 @@ RETVAL=0 LOCKFILE=/var/lock/subsys/ipmi DEV_IPMI_TIMEOUT=150 -UDEV_EXISTS=0 -if [ -e /sbin/udev -o -e /sbin/udevd ]; then - UDEV_EXISTS=1 -fi - -############################################################################# -# NOTES: -# * /dev/ipmi0 is unconditionally deleted here on ipmi_devintf unload, -# because SLES9 and RHEL4 kernels don't send a message for udev to delete -# it for us. -# ############################################################################# modules_loaded_verbose() @@ -73,7 +58,7 @@ modules_loaded_verbose() OnePlusLoaded=0 OnePlusUnloaded=0 for m in $@; do - if /sbin/lsmod | grep $m >/dev/null 2>&1 ; then + if /sbin/lsmod | grep -q $m ; then echo "$m module loaded." OnePlusLoaded=1 else @@ -88,7 +73,7 @@ modules_loaded() OnePlusLoaded=0 OnePlusUnloaded=0 for m in $@; do - if /sbin/lsmod | grep $m >/dev/null 2>&1 ; then + if /sbin/lsmod | grep -q $m ; then OnePlusLoaded=1 else OnePlusUnloaded=1 @@ -154,13 +139,6 @@ start_watchdog_common() RETVAL=$((RETVAL | 2)) && echo "Watchdog startup failed: cannot load ipmi_watchdog module" && return - if [ ${UDEV_EXISTS} -eq 0 -a ! -e /dev/watchdog ]; then - mknod -m 0600 /dev/watchdog c 10 130 - [ $? -ne 0 ] && - RETVAL=$((RETVAL | 8)) && - echo "Watchdog startup failed: cannot create /dev/watchdog" && - return - fi } start_watchdog_quiet() @@ -186,10 +164,6 @@ stop_watchdog() if [ ${OnePlusLoaded} -ne 0 ]; then RETVAL=$((RETVAL | 32)) echo "Watchog shutdown failed: cannot unload ipmi_watchdog module" - else - if [ "${IPMI_WATCHDOG}" = "yes" ]; then - [ ${UDEV_EXISTS} -eq 0 ] && rm -f /dev/watchdog - fi fi } @@ -199,10 +173,6 @@ stop_watchdog_quiet() modules_loaded ipmi_watchdog if [ ${OnePlusLoaded} -ne 0 ]; then RETVAL=$((RETVAL | 32)) - else - if [ "${IPMI_WATCHDOG}" = "yes" ]; then - [ ${UDEV_EXISTS} -eq 0 ] && rm -f /dev/watchdog - fi fi } @@ -211,9 +181,9 @@ start_powercontrol_common() local poweroff_opts="" load_hw_modules if [ "${IPMI_POWERCYCLE}" == "yes" ]; then - modinfo ipmi_poweroff 2>/dev/null | grep poweroff_control > /dev/null 2>&1 && \ + modinfo ipmi_poweroff 2>/dev/null | grep -q poweroff_control && \ poweroff_opts="poweroff_control=2" - modinfo ipmi_poweroff 2>/dev/null | grep poweroff_powercycle > /dev/null 2>&1 && \ + modinfo ipmi_poweroff 2>/dev/null | grep -q poweroff_powercycle && \ poweroff_opts="poweroff_powercycle=1" fi modprobe ipmi_poweroff "${poweroff_opts}" > /dev/null 2>&1 @@ -265,9 +235,6 @@ unload_all_ipmi_modules() for m in ${MODULES}; do modprobe -q -r ${m} > /dev/null 2>&1 done - # delete interface node ONLY if ipmi_devintf is unloaded - [ `lsmod | grep -c "ipmi_devintf"` -eq 0 ] && - rm -f "/dev/ipmi${INTF_NUM}" } unload_ipmi_modules_leave_features() @@ -275,10 +242,7 @@ unload_ipmi_modules_leave_features() for m in ${MODULES_INTERFACES}; do modprobe -q -r ${m} > /dev/null 2>&1 done - # delete interface node ONLY if ipmi_devintf is unloaded - [ `lsmod | grep -c "ipmi_devintf"` -eq 0 ] && - rm -f "/dev/ipmi${INTF_NUM}" - lsmod | egrep -q "ipmi_(poweroff|watchdog)" > /dev/null 2>&1 + lsmod | grep -Eq "ipmi_(poweroff|watchdog)" if [ "$?" -ne "0" ]; then stop_watchdog_quiet stop_powercontrol_quiet @@ -302,14 +266,7 @@ load_ipmi_modules () modprobe ipmi_devintf > /dev/null 2>&1 modules_loaded ipmi_devintf RETVAL=$((RETVAL & ~2)) - [ ${OnePlusLoaded} -eq 0 ] && RETVAL=$((RETVAL | 2)) if [ ${OnePlusLoaded} -eq 1 ]; then - if [ ${UDEV_EXISTS} -eq 0 ]; then - DEVMAJOR=`cat /proc/devices | awk '/ipmidev/{print $1}'` - rm -f /dev/ipmi${INTF_NUM} - mknod -m 0600 /dev/ipmi${INTF_NUM} c ${DEVMAJOR} 0 || RETVAL=$((RETVAL | 4)) - fi - # udev can take several seconds to create /dev/ipmi0, # but it happens asynchronously, so delay here locdelay=${DEV_IPMI_TIMEOUT} @@ -317,6 +274,8 @@ load_ipmi_modules () locdelay=$((locdelay - 1)) sleep 0.1 done + else + RETVAL=$((RETVAL | 2)) fi fi From 7c1c3da08499a687d27f117b1d16a4f270d24f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 02:39:26 +0200 Subject: [PATCH 12/58] Rebuilt for Python 3.9 --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 99bb2a9..81d8a03 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.28 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Tue May 26 2020 Miro Hrončok - 2.0.28-4 +- Rebuilt for Python 3.9 + * Mon Feb 03 2020 Vaclav Dolezal - 2.0.28-3 - Cleanup of openipmi-helper script; removed no-udev branch (#1579773) From a2551c9ef0caa6604fc7734c50f976c869eeff24 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 23 Jun 2020 11:03:49 +0200 Subject: [PATCH 13/58] Perl 5.32 rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 81d8a03..300ded7 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.28 -Release: 4%{?dist} +Release: 5%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Tue Jun 23 2020 Jitka Plesnikova - 2.0.28-5 +- Perl 5.32 rebuild + * Tue May 26 2020 Miro Hrončok - 2.0.28-4 - Rebuilt for Python 3.9 From 03895d321f86e662079480ede7833c35c0a0f2b8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 10:32:23 +0000 Subject: [PATCH 14/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 300ded7..ebb46e4 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.28 -Release: 5%{?dist} +Release: 6%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 2.0.28-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jun 23 2020 Jitka Plesnikova - 2.0.28-5 - Perl 5.32 rebuild From 4d5c157bc8392251a8c85c9db97c79f7573ff114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= Date: Thu, 27 Aug 2020 14:13:47 +0200 Subject: [PATCH 15/58] Rebuilt for new net-snmp release --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index ebb46e4..fe311d1 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.28 -Release: 6%{?dist} +Release: 7%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Thu Aug 27 2020 Josef Řídký - 2.0.28-7 +- Rebuilt for new net-snmp release + * Mon Jul 27 2020 Fedora Release Engineering - 2.0.28-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 083420d40250989c07e6b4836900c3580af2b841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= Date: Thu, 17 Sep 2020 09:52:40 +0200 Subject: [PATCH 16/58] Resolves: #1846675 - new upstream release 2.0.29 --- .gitignore | 1 + 0002-readline-includes.patch | 24 ------------------------ OpenIPMI.spec | 8 +++++--- sources | 3 +-- 4 files changed, 7 insertions(+), 29 deletions(-) delete mode 100644 0002-readline-includes.patch diff --git a/.gitignore b/.gitignore index f4ebde5..51bd777 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ OpenIPMI-2.0.18.tar.gz /OpenIPMI-2.0.25.tar.gz /OpenIPMI-2.0.27.tar.gz /OpenIPMI-2.0.28.tar.gz +/OpenIPMI-2.0.29.tar.gz diff --git a/0002-readline-includes.patch b/0002-readline-includes.patch deleted file mode 100644 index b4927b4..0000000 --- a/0002-readline-includes.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/cmdlang/ipmish.c b/cmdlang/ipmish.c -index 139da67..a4b8f0b 100644 ---- a/cmdlang/ipmish.c -+++ b/cmdlang/ipmish.c -@@ -51,6 +51,7 @@ - #include - #include - #include -+#include - - #ifdef HAVE_GLIB - #include -diff --git a/sample/ipmi_serial_bmc_emu.c b/sample/ipmi_serial_bmc_emu.c -index 1b8bb9a..184745e 100644 ---- a/sample/ipmi_serial_bmc_emu.c -+++ b/sample/ipmi_serial_bmc_emu.c -@@ -43,6 +43,7 @@ - #include - #include - #include -+#include - - #define _GNU_SOURCE - #include diff --git a/OpenIPMI.spec b/OpenIPMI.spec index fe311d1..49ef4b7 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -3,8 +3,8 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI -Version: 2.0.28 -Release: 7%{?dist} +Version: 2.0.29 +Release: 1%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -12,7 +12,6 @@ Source1: openipmi.sysconf Source2: openipmi-helper Source3: ipmi.service Patch1: 0001-man.patch -Patch2: 0002-readline-includes.patch BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel BuildRequires: openssl-devel python3-devel perl-devel perl-generators @@ -198,6 +197,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Thu Sep 17 2020 Josef Řídký - 2.0.29-1 +- New upstream release 2.0.29 (#1846675) + * Thu Aug 27 2020 Josef Řídký - 2.0.28-7 - Rebuilt for new net-snmp release diff --git a/sources b/sources index bdf74ce..ba5326e 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (OpenIPMI-2.0.27.tar.gz) = 44aa2eb97559514d61654434f24bf8e87c3f89ea7095fd3d46c1a889e16c128f29ca19cfb9747afc7fd432ada84406ee884bc8b9c65e28b8bd033d368b744fe3 -SHA512 (OpenIPMI-2.0.28.tar.gz) = faaca335f7ff582f396d588c6b3736b4e2756a9914becba75550878a10d7acce55e85912bcf5cd9e482c3e646eb472a8a055c520f2dcba7a874f0c0f120502da +SHA512 (OpenIPMI-2.0.29.tar.gz) = ff23aadfe4b9002574d1f06dda3d61f7a03ef1df2c61855516b7d67bd6d3272c53af74e3412e1045242dcb845f50b7c542083e918805c0efac424dd86e720a10 From 0aa5ab4378723ec776a4da90624f371af28b586d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 7 Jan 2021 06:33:02 +0000 Subject: [PATCH 17/58] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- OpenIPMI.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 49ef4b7..32148bf 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -13,6 +13,7 @@ Source2: openipmi-helper Source3: ipmi.service Patch1: 0001-man.patch +BuildRequires: make BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel BuildRequires: openssl-devel python3-devel perl-devel perl-generators BuildRequires: pkgconfig From f33012cb54aa7437da5a2f6a6e84f1879b9a5821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= Date: Mon, 25 Jan 2021 10:24:37 +0100 Subject: [PATCH 18/58] Resolves: #1905768 - new upstream release 2.0.31 --- .gitignore | 1 + OpenIPMI.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 51bd777..cac54fc 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ OpenIPMI-2.0.18.tar.gz /OpenIPMI-2.0.27.tar.gz /OpenIPMI-2.0.28.tar.gz /OpenIPMI-2.0.29.tar.gz +/OpenIPMI-2.0.31.tar.gz diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 49ef4b7..79729da 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -3,7 +3,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI -Version: 2.0.29 +Version: 2.0.31 Release: 1%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ @@ -197,6 +197,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Jan 25 2021 Josef Ridky - 2.0.31-1 +- New upstream release 2.0.31 (#1905768) + * Thu Sep 17 2020 Josef Řídký - 2.0.29-1 - New upstream release 2.0.29 (#1846675) diff --git a/sources b/sources index ba5326e..f58fa1e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OpenIPMI-2.0.29.tar.gz) = ff23aadfe4b9002574d1f06dda3d61f7a03ef1df2c61855516b7d67bd6d3272c53af74e3412e1045242dcb845f50b7c542083e918805c0efac424dd86e720a10 +SHA512 (OpenIPMI-2.0.31.tar.gz) = de1b364315e97daffb4c601bcf3bf33591795449d71690496ae368bd0730a117c1716508ecaddef5d55498f56e73481a32f509791185e80e2475667d7abd73e7 From 6f4a94c4f2e5dc5ae79d0640cfaa4e92b1ceaf67 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 25 Jan 2021 22:34:24 +0000 Subject: [PATCH 19/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 99e2e98..eaf8eeb 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.31 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Jan 25 2021 Fedora Release Engineering - 2.0.31-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jan 25 2021 Josef Ridky - 2.0.31-1 - New upstream release 2.0.31 (#1905768) From ce8bd9d67bfcb12ffc96b47d87e8e64945924cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Mar 2021 16:13:09 +0100 Subject: [PATCH 20/58] Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. --- OpenIPMI.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index eaf8eeb..2ad9c37 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.31 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,10 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 2.0.31-3 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + * Mon Jan 25 2021 Fedora Release Engineering - 2.0.31-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 27cbe4b8d6903b7fea35e6067cd68e3c5a3dac70 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Fri, 21 May 2021 22:41:29 +0200 Subject: [PATCH 21/58] Perl 5.34 rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 2ad9c37..8a08231 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.31 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Fri May 21 2021 Jitka Plesnikova - 2.0.31-4 +- Perl 5.34 rebuild + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 2.0.31-3 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. From 5101433ed83d310d0bac540c59638133f84e3662 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:13:55 +0200 Subject: [PATCH 22/58] Rebuilt for Python 3.10 --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 8a08231..5e5c1f5 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.31 -Release: 4%{?dist} +Release: 5%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Fri Jun 04 2021 Python Maint - 2.0.31-5 +- Rebuilt for Python 3.10 + * Fri May 21 2021 Jitka Plesnikova - 2.0.31-4 - Perl 5.34 rebuild From d67acfa593486a914e617334deadb5ae6908c2d7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 11:03:25 +0000 Subject: [PATCH 23/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 6ae83e6e9bddb502c975bf1675bd9b0c7de409d5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 15:57:54 +0000 Subject: [PATCH 24/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 5e5c1f5..e842177 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.31 -Release: 5%{?dist} +Release: 6%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -198,6 +198,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 2.0.31-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 2.0.31-5 - Rebuilt for Python 3.10 From 4a7c04fd6983eedda56c52550e3241160b08e017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= Date: Mon, 2 Aug 2021 15:36:38 +0200 Subject: [PATCH 25/58] Resolves: #1948437 - fix FTBFS due of distutils issue --- OpenIPMI-ax-python.patch | 12 ++ OpenIPMI-sysconfig.patch | 239 +++++++++++++++++++++++++++++++++++++++ OpenIPMI.spec | 7 +- 3 files changed, 257 insertions(+), 1 deletion(-) create mode 100644 OpenIPMI-ax-python.patch create mode 100644 OpenIPMI-sysconfig.patch diff --git a/OpenIPMI-ax-python.patch b/OpenIPMI-ax-python.patch new file mode 100644 index 0000000..9c74546 --- /dev/null +++ b/OpenIPMI-ax-python.patch @@ -0,0 +1,12 @@ +diff -urNp a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 +--- a/m4/ax_python_devel.m4 2021-08-02 13:15:04.122972905 +0200 ++++ b/m4/ax_python_devel.m4 2021-08-02 13:16:17.407749535 +0200 +@@ -143,7 +143,7 @@ variable to configure. See ``configure - + # + AC_MSG_CHECKING([for the distutils Python package]) + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) diff --git a/OpenIPMI-sysconfig.patch b/OpenIPMI-sysconfig.patch new file mode 100644 index 0000000..bfd56d3 --- /dev/null +++ b/OpenIPMI-sysconfig.patch @@ -0,0 +1,239 @@ +diff -urNp a/configure b/configure +--- a/configure 2021-08-02 13:38:21.012807239 +0200 ++++ b/configure 2021-08-02 14:32:29.884167376 +0200 +@@ -13535,20 +13535,20 @@ variable to configure. See \`\`configure + fi + + # +- # Check if you have distutils, else fail ++ # Check if you have sysconfig, else fail + # +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 +-$as_echo_n "checking for the distutils Python package... " >&6; } +- ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the sysconfig Python package" >&5 ++$as_echo_n "checking for the sysconfig Python package... " >&6; } ++ ac_sysconfig_result=`$PYTHON -c "import sysconfig" 2>&1` ++ if test -z "$ac_sysconfig_result"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } +- as_fn_error $? "cannot import Python module \"distutils\". ++ as_fn_error $? "cannot import Python module \"sysconfig\". + Please check your Python installation. The error was: +-$ac_distutils_result" "$LINENO" 5 ++$ac_sysconfig_result" "$LINENO" 5 + PYTHON_VERSION="" + fi + +@@ -13558,10 +13558,10 @@ $ac_distutils_result" "$LINENO" 5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5 + $as_echo_n "checking for Python include path... " >&6; } + if test -z "$PYTHON_CPPFLAGS"; then +- python_path=`$PYTHON -c "import distutils.sysconfig; \ +- print (distutils.sysconfig.get_python_inc ());"` +- plat_python_path=`$PYTHON -c "import distutils.sysconfig; \ +- print (distutils.sysconfig.get_python_inc (plat_specific=1));"` ++ python_path=`$PYTHON -c "import sysconfig; \ ++ print (sysconfig.get_path('include'));"` ++ plat_python_path=`$PYTHON -c "import sysconfig; \ ++ print (sysconfig.get_path('include'));"` + if test -n "${python_path}"; then + if test "${plat_python_path}" != "${python_path}"; then + python_path="-I$python_path -I$plat_python_path" +@@ -13587,7 +13587,7 @@ $as_echo_n "checking for Python library + + # join all versioning strings, on some systems + # major/minor numbers could be in different list elements +-from distutils.sysconfig import * ++from sysconfig import * + e = get_config_var('VERSION') + if e is not None: + print(e) +@@ -13613,8 +13613,8 @@ _ACEOF + ac_python_libdir=`cat<&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5 + $as_echo_n "checking for Python site-packages path... " >&6; } + if test -z "$PYTHON_SITE_PKG"; then +- PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \ +- print (distutils.sysconfig.get_python_lib(0,0));"` ++ PYTHON_SITE_PKG=`$PYTHON -c "import sysconfig; \ ++ print (sysconfig.get_path('platlib'));"` + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5 + $as_echo "$PYTHON_SITE_PKG" >&6; } +@@ -13678,8 +13678,8 @@ $as_echo "$PYTHON_SITE_PKG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra libraries" >&5 + $as_echo_n "checking python extra libraries... " >&6; } + if test -z "$PYTHON_EXTRA_LDFLAGS"; then +- PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \ +- conf = distutils.sysconfig.get_config_var; \ ++ PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import sysconfig; \ ++ conf = sysconfig.get_config_var; \ + print (conf('LIBS') + ' ' + conf('SYSLIBS'))"` + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LDFLAGS" >&5 +@@ -13692,8 +13692,8 @@ $as_echo "$PYTHON_EXTRA_LDFLAGS" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra linking flags" >&5 + $as_echo_n "checking python extra linking flags... " >&6; } + if test -z "$PYTHON_EXTRA_LIBS"; then +- PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \ +- conf = distutils.sysconfig.get_config_var; \ ++ PYTHON_EXTRA_LIBS=`$PYTHON -c "import sysconfig; \ ++ conf = sysconfig.get_config_var; \ + print (conf('LINKFORSHARED'))"` + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LIBS" >&5 +diff -urNp a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 +--- a/m4/ax_python_devel.m4 2021-08-02 13:38:21.025807373 +0200 ++++ b/m4/ax_python_devel.m4 2021-08-02 14:36:33.262720424 +0200 +@@ -139,17 +139,17 @@ variable to configure. See ``configure - + fi + + # +- # Check if you have distutils, else fail ++ # Check if you have sysconfig, else fail + # +- AC_MSG_CHECKING([for the distutils Python package]) +- ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` ++ AC_MSG_CHECKING([for the sysconfig Python package]) ++ ac_sysconfig_result=`$PYTHON -c "import sysconfig" 2>&1` + if test $? -eq 0; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +- AC_MSG_ERROR([cannot import Python module "distutils". ++ AC_MSG_ERROR([cannot import Python module "sysconfig". + Please check your Python installation. The error was: +-$ac_distutils_result]) ++$ac_sysconfig_result]) + PYTHON_VERSION="" + fi + +@@ -158,10 +158,10 @@ $ac_distutils_result]) + # + AC_MSG_CHECKING([for Python include path]) + if test -z "$PYTHON_CPPFLAGS"; then +- python_path=`$PYTHON -c "import distutils.sysconfig; \ +- print (distutils.sysconfig.get_python_inc ());"` +- plat_python_path=`$PYTHON -c "import distutils.sysconfig; \ +- print (distutils.sysconfig.get_python_inc (plat_specific=1));"` ++ python_path=`$PYTHON -c "import sysconfig; \ ++ print (sysconfig.get_path('include'));"` ++ plat_python_path=`$PYTHON -c "import sysconfig; \ ++ print (sysconfig.get_path('include'));"` + if test -n "${python_path}"; then + if test "${plat_python_path}" != "${python_path}"; then + python_path="-I$python_path -I$plat_python_path" +@@ -185,7 +185,7 @@ $ac_distutils_result]) + + # join all versioning strings, on some systems + # major/minor numbers could be in different list elements +-from distutils.sysconfig import * ++from sysconfig import * + e = get_config_var('VERSION') + if e is not None: + print(e) +@@ -208,8 +208,8 @@ EOD` + ac_python_libdir=`cat< %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Aug 02 2021 Josef Ridky - 2.0.31-7 +- replace distutils and fix FTBFS (#1948437) + * Wed Jul 21 2021 Fedora Release Engineering - 2.0.31-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 11093c905cb23c382428933303586a5b07606c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= Date: Mon, 2 Aug 2021 15:51:32 +0200 Subject: [PATCH 26/58] Resolves: #1927022 - fix collectd-ipmi crash --- OpenIPMI-collectd.patch | 12 ++++++++++++ OpenIPMI.spec | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 OpenIPMI-collectd.patch diff --git a/OpenIPMI-collectd.patch b/OpenIPMI-collectd.patch new file mode 100644 index 0000000..0ddfaf8 --- /dev/null +++ b/OpenIPMI-collectd.patch @@ -0,0 +1,12 @@ +diff -urNp a/unix/posix_thread_os_hnd.c b/unix/posix_thread_os_hnd.c +--- a/unix/posix_thread_os_hnd.c 2021-08-02 15:36:49.536860558 +0200 ++++ b/unix/posix_thread_os_hnd.c 2021-08-02 15:38:48.990041616 +0200 +@@ -140,8 +140,6 @@ add_fd(os_handler_t *handler, + fd_data->data_ready = data_ready; + fd_data->handler = handler; + fd_data->freed = freed; +- sel_set_fd_write_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED); +- sel_set_fd_except_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED); + rv = sel_set_fd_handlers(posix_sel, fd, fd_data, fd_handler, NULL, NULL, + free_fd_data); + if (rv) { diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 40578f6..ecb223a 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -14,6 +14,7 @@ Source3: ipmi.service Patch1: 0001-man.patch Patch2: OpenIPMI-ax-python.patch Patch3: OpenIPMI-sysconfig.patch +Patch4: OpenIPMI-collectd.patch BuildRequires: make BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel @@ -202,6 +203,7 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %changelog * Mon Aug 02 2021 Josef Ridky - 2.0.31-7 - replace distutils and fix FTBFS (#1948437) +- fix collectd-ipmi crash (#1927022) * Wed Jul 21 2021 Fedora Release Engineering - 2.0.31-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From a23218efd41563b7775d0f9717d4abb95091b441 Mon Sep 17 00:00:00 2001 From: Sahana Prasad Date: Tue, 14 Sep 2021 19:09:50 +0200 Subject: [PATCH 27/58] Rebuilt with OpenSSL 3.0.0 --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index ecb223a..08af653 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.31 -Release: 7%{?dist} +Release: 8%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -201,6 +201,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Tue Sep 14 2021 Sahana Prasad - 2.0.31-8 +- Rebuilt with OpenSSL 3.0.0 + * Mon Aug 02 2021 Josef Ridky - 2.0.31-7 - replace distutils and fix FTBFS (#1948437) - fix collectd-ipmi crash (#1927022) From e6099d1eb8f22750aaf6bd1c50aaa07b3ff0db28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= Date: Mon, 10 Jan 2022 09:14:19 +0100 Subject: [PATCH 28/58] Resolves: #2020717 - new upstream release 2.0.32 --- .gitignore | 1 + OpenIPMI-collectd.patch | 12 ------------ OpenIPMI.spec | 10 ++++++---- sources | 2 +- 4 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 OpenIPMI-collectd.patch diff --git a/.gitignore b/.gitignore index cac54fc..d61324c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ OpenIPMI-2.0.18.tar.gz /OpenIPMI-2.0.28.tar.gz /OpenIPMI-2.0.29.tar.gz /OpenIPMI-2.0.31.tar.gz +/OpenIPMI-2.0.32.tar.gz diff --git a/OpenIPMI-collectd.patch b/OpenIPMI-collectd.patch deleted file mode 100644 index 0ddfaf8..0000000 --- a/OpenIPMI-collectd.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urNp a/unix/posix_thread_os_hnd.c b/unix/posix_thread_os_hnd.c ---- a/unix/posix_thread_os_hnd.c 2021-08-02 15:36:49.536860558 +0200 -+++ b/unix/posix_thread_os_hnd.c 2021-08-02 15:38:48.990041616 +0200 -@@ -140,8 +140,6 @@ add_fd(os_handler_t *handler, - fd_data->data_ready = data_ready; - fd_data->handler = handler; - fd_data->freed = freed; -- sel_set_fd_write_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED); -- sel_set_fd_except_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED); - rv = sel_set_fd_handlers(posix_sel, fd, fd_data, fd_handler, NULL, NULL, - free_fd_data); - if (rv) { diff --git a/OpenIPMI.spec b/OpenIPMI.spec index ecb223a..98d7f18 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -3,8 +3,8 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI -Version: 2.0.31 -Release: 7%{?dist} +Version: 2.0.32 +Release: 1%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -14,7 +14,6 @@ Source3: ipmi.service Patch1: 0001-man.patch Patch2: OpenIPMI-ax-python.patch Patch3: OpenIPMI-sysconfig.patch -Patch4: OpenIPMI-collectd.patch BuildRequires: make BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel @@ -201,7 +200,10 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog -* Mon Aug 02 2021 Josef Ridky - 2.0.31-7 +* Mon Jan 10 2022 Josef Ridky - 2.0.32-1 +- new upstream release 2.0.32 (#2020717) + +* Mon Aug 02 2021 Josef Ridky - 2.0.31-7 - replace distutils and fix FTBFS (#1948437) - fix collectd-ipmi crash (#1927022) diff --git a/sources b/sources index f58fa1e..ec51f6c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OpenIPMI-2.0.31.tar.gz) = de1b364315e97daffb4c601bcf3bf33591795449d71690496ae368bd0730a117c1716508ecaddef5d55498f56e73481a32f509791185e80e2475667d7abd73e7 +SHA512 (OpenIPMI-2.0.32.tar.gz) = e409f32e6bbf26756338ada386fa394d48d734b4d6ba4beca700ce60bc3af3d0f41e972a328c4e076ae014f4fbd8598d05d3f879f9c6d76198e6ae1a2ba03e95 From cf82f72dc52b704e656b164251f47d8546a01290 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 19:33:05 +0000 Subject: [PATCH 29/58] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 3e43b6f..ab90d99 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -200,6 +200,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 2.0.32-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Jan 10 2022 Josef Ridky - 2.0.32-1 - new upstream release 2.0.32 (#2020717) From 3cc1d3c09ecbd5733cae04663a56b1b188ad7def Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 31 May 2022 09:07:31 +0200 Subject: [PATCH 30/58] Perl 5.36 rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index ab90d99..3f03fe3 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -200,6 +200,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Tue May 31 2022 Jitka Plesnikova - 2.0.32-3 +- Perl 5.36 rebuild + * Wed Jan 19 2022 Fedora Release Engineering - 2.0.32-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From ae314e06e91d19da845d1d124d2ed9b8406148d9 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:12:15 +0200 Subject: [PATCH 31/58] Rebuilt for Python 3.11 --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 3f03fe3..291331f 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -200,6 +200,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Jun 13 2022 Python Maint - 2.0.32-4 +- Rebuilt for Python 3.11 + * Tue May 31 2022 Jitka Plesnikova - 2.0.32-3 - Perl 5.36 rebuild From c829d162033fff21f215a4cc161ccbadba71247e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 18:53:01 +0000 Subject: [PATCH 32/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 291331f..d30230b 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 4%{?dist} +Release: 5%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -200,6 +200,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 2.0.32-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 2.0.32-4 - Rebuilt for Python 3.11 From c9e3c09f14db22c982e15c6a97e6c369f5f60e91 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Fri, 13 Jan 2023 09:52:42 +0100 Subject: [PATCH 33/58] Remove perl(MODULE_COMPAT), it will be replaced by generators --- OpenIPMI.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index d30230b..70ac6ab 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -45,7 +45,6 @@ and applications. %package perl Summary: IPMI Perl language bindings -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description perl From 03040baf1129459531b2ebe07b6d64f62c8a0ae1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 19:58:44 +0000 Subject: [PATCH 34/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 70ac6ab..6a39cf9 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 5%{?dist} +Release: 6%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -199,6 +199,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 2.0.32-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Wed Jul 20 2022 Fedora Release Engineering - 2.0.32-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From eef65171de36076490d9bb5c1d1ab2fe3ae01694 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:46:20 +0200 Subject: [PATCH 35/58] Rebuilt for Python 3.12 --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 6a39cf9..934eb0b 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 6%{?dist} +Release: 7%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -199,6 +199,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Tue Jun 13 2023 Python Maint - 2.0.32-7 +- Rebuilt for Python 3.12 + * Wed Jan 18 2023 Fedora Release Engineering - 2.0.32-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 8baac995e5326d11d817b63d58b6eca0408c355b Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 11 Jul 2023 16:15:47 +0200 Subject: [PATCH 36/58] Perl 5.38 rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 934eb0b..88415e4 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 7%{?dist} +Release: 8%{?dist} License: LGPLv2+ and GPLv2+ or BSD URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -199,6 +199,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Tue Jul 11 2023 Jitka Plesnikova - 2.0.32-8 +- Perl 5.38 rebuild + * Tue Jun 13 2023 Python Maint - 2.0.32-7 - Rebuilt for Python 3.12 From 6d1c795f87d438b882efe57965a397f06b8c8963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= Date: Tue, 18 Jul 2023 09:54:36 +0200 Subject: [PATCH 37/58] Migrate to the SPDX license format --- OpenIPMI.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 88415e4..ed498c3 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,8 +4,8 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 8%{?dist} -License: LGPLv2+ and GPLv2+ or BSD +Release: 9%{?dist} +License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz Source1: openipmi.sysconf @@ -199,6 +199,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Tue Jul 18 2023 Josef Ridky - 2.0.32-9 +- Migrate to SPDX license format + * Tue Jul 11 2023 Jitka Plesnikova - 2.0.32-8 - Perl 5.38 rebuild From 630761c4fea19a60589395016c29c546bb41abd3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 11:20:03 +0000 Subject: [PATCH 38/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index ed498c3..e77e46b 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 9%{?dist} +Release: 10%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -199,6 +199,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 2.0.32-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jul 18 2023 Josef Ridky - 2.0.32-9 - Migrate to SPDX license format From 2a28c71178662b3f4a674599dd48ef45e36fcb2d Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 8 Jan 2024 16:10:31 +0100 Subject: [PATCH 39/58] Fix C compatibility issues Related to: --- OpenIPMI-c99.patch | 60 ++++++++++++++++++++++++++++++++++++++++++++++ OpenIPMI.spec | 6 ++++- 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 OpenIPMI-c99.patch diff --git a/OpenIPMI-c99.patch b/OpenIPMI-c99.patch new file mode 100644 index 0000000..40cb5c4 --- /dev/null +++ b/OpenIPMI-c99.patch @@ -0,0 +1,60 @@ +C type errors in the SWIG-generated Perl bindings + +The first change fixes an error with newer compilers: + +OpenIPMI_wrap.c: In function ‘_wrap_strconstarray_val_set’: +OpenIPMI_wrap.c:10491:27: error: assignment to ‘const char **’ from incompatible pointer type ‘char **’ +10491 | if (arg1) (arg1)->val = arg2; + | ^ + +The second change is also about a compiler error: + +In file included from /usr/lib64/perl5/CORE/perl.h:4530, + from OpenIPMI_wrap.c:751: +OpenIPMI_wrap.c: In function ‘_wrap_ipmi_sol_conn_t_write’: +/usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of ‘Perl_SvPV_helper’ from incompatible pointer type + 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ +/usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’ + 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) + | ^~~~~~~~~~ +OpenIPMI_wrap.c:27664:24: note: in expansion of macro ‘SvPV’ +27664 | (&arg2)->val = SvPV(tempsv, (&arg2)->len); + | ^~~~ +In file included from /usr/lib64/perl5/CORE/perl.h:7812: +/usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’ + 908 | STRLEN * const lp, + | ~~~~~~~~~~~~~~~^~ + +But the existing code looks broken on big-endian 64-bit architectures, +too. + +Submitted upstream: + +diff --git a/swig/OpenIPMI.i b/swig/OpenIPMI.i +index 8e674a94e6f85f62..db2aa1b5292a276f 100644 +--- a/swig/OpenIPMI.i ++++ b/swig/OpenIPMI.i +@@ -359,7 +359,7 @@ typedef struct iargarray + %} + typedef struct strconstarray + { +- char **val; ++ const char **val; + int len; + } strconstarray; + typedef struct argarray +diff --git a/swig/perl/OpenIPMI_lang.i b/swig/perl/OpenIPMI_lang.i +index d13b62f09e69e02a..d7482d1135cdc3e4 100644 +--- a/swig/perl/OpenIPMI_lang.i ++++ b/swig/perl/OpenIPMI_lang.i +@@ -292,7 +292,9 @@ + $1.val = NULL; + $1.len = 0; + } else { +- $1.val = SvPV(tempsv, $1.len); ++ STRLEN len; ++ $1.val = SvPV(tempsv, len); ++ $1.len = len; + } + } + diff --git a/OpenIPMI.spec b/OpenIPMI.spec index e77e46b..83755ff 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 10%{?dist} +Release: 11%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -14,6 +14,7 @@ Source3: ipmi.service Patch1: 0001-man.patch Patch2: OpenIPMI-ax-python.patch Patch3: OpenIPMI-sysconfig.patch +Patch4: OpenIPMI-c99.patch BuildRequires: make BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel @@ -199,6 +200,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Jan 08 2024 Florian Weimer - 2.0.32-11 +- Fix C compatibility issues + * Wed Jul 19 2023 Fedora Release Engineering - 2.0.32-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From cf38984dec9371cb73a3e34910607e2d607e648c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 10:08:58 +0000 Subject: [PATCH 40/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 83755ff..2cd4e02 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 11%{?dist} +Release: 12%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -200,6 +200,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 2.0.32-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Jan 08 2024 Florian Weimer - 2.0.32-11 - Fix C compatibility issues From 2a25afb580af39b041a849ba901b6c7e0e018205 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 21:08:40 +0000 Subject: [PATCH 41/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 2cd4e02..8edb0de 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -4,7 +4,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.32 -Release: 12%{?dist} +Release: 13%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: http://sourceforge.net/projects/openipmi/ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -200,6 +200,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 2.0.32-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 2.0.32-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From cfc50baa6a7d8d77f10843f8c4ae5716e229be16 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Sun, 11 Feb 2024 20:29:10 +0100 Subject: [PATCH 42/58] Resolve one Python 3.13 compatibility issue Include in SWIG code to prevent errors about implicit declaration of function 'isspace' & 'isxdigit'. bz#2245793 --- OpenIPMI-py313compat.patch | 12 ++++++++++++ OpenIPMI.spec | 1 + 2 files changed, 13 insertions(+) create mode 100644 OpenIPMI-py313compat.patch diff --git a/OpenIPMI-py313compat.patch b/OpenIPMI-py313compat.patch new file mode 100644 index 0000000..60845b4 --- /dev/null +++ b/OpenIPMI-py313compat.patch @@ -0,0 +1,12 @@ +diff -ur OpenIPMI-2.0.34/swig/OpenIPMI.i OpenIPMI-2.0.34-python/swig/OpenIPMI.i +--- OpenIPMI-2.0.34/swig/OpenIPMI.i 2024-02-11 19:52:41.555777279 +0100 ++++ OpenIPMI-2.0.34-python/swig/OpenIPMI.i 2024-02-11 20:11:59.061132776 +0100 +@@ -38,6 +38,7 @@ + #include + #include + #include ++#include + + #ifdef HAVE_GETADDRINFO + #include +Only in OpenIPMI-2.0.34-python/swig: OpenIPMI.i~ diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 8edb0de..1aedd17 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -15,6 +15,7 @@ Patch1: 0001-man.patch Patch2: OpenIPMI-ax-python.patch Patch3: OpenIPMI-sysconfig.patch Patch4: OpenIPMI-c99.patch +Patch5: OpenIPMI-py313compat.patch BuildRequires: make BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel From 595d9c22313a17c22638fea070f482055daa90f6 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Sun, 11 Feb 2024 20:46:55 +0100 Subject: [PATCH 43/58] Update to 2.0.34 and drop unneeded patches --- .gitignore | 1 + OpenIPMI-ax-python.patch | 12 -- OpenIPMI-sysconfig.patch | 239 --------------------------------------- OpenIPMI.spec | 11 +- sources | 2 +- 5 files changed, 8 insertions(+), 257 deletions(-) delete mode 100644 OpenIPMI-ax-python.patch delete mode 100644 OpenIPMI-sysconfig.patch diff --git a/.gitignore b/.gitignore index d61324c..60c81c3 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ OpenIPMI-2.0.18.tar.gz /OpenIPMI-2.0.29.tar.gz /OpenIPMI-2.0.31.tar.gz /OpenIPMI-2.0.32.tar.gz +/OpenIPMI-2.0.34.tar.gz diff --git a/OpenIPMI-ax-python.patch b/OpenIPMI-ax-python.patch deleted file mode 100644 index 9c74546..0000000 --- a/OpenIPMI-ax-python.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urNp a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 ---- a/m4/ax_python_devel.m4 2021-08-02 13:15:04.122972905 +0200 -+++ b/m4/ax_python_devel.m4 2021-08-02 13:16:17.407749535 +0200 -@@ -143,7 +143,7 @@ variable to configure. See ``configure - - # - AC_MSG_CHECKING([for the distutils Python package]) - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) diff --git a/OpenIPMI-sysconfig.patch b/OpenIPMI-sysconfig.patch deleted file mode 100644 index bfd56d3..0000000 --- a/OpenIPMI-sysconfig.patch +++ /dev/null @@ -1,239 +0,0 @@ -diff -urNp a/configure b/configure ---- a/configure 2021-08-02 13:38:21.012807239 +0200 -+++ b/configure 2021-08-02 14:32:29.884167376 +0200 -@@ -13535,20 +13535,20 @@ variable to configure. See \`\`configure - fi - - # -- # Check if you have distutils, else fail -+ # Check if you have sysconfig, else fail - # -- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 --$as_echo_n "checking for the distutils Python package... " >&6; } -- ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the sysconfig Python package" >&5 -+$as_echo_n "checking for the sysconfig Python package... " >&6; } -+ ac_sysconfig_result=`$PYTHON -c "import sysconfig" 2>&1` -+ if test -z "$ac_sysconfig_result"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 - $as_echo "no" >&6; } -- as_fn_error $? "cannot import Python module \"distutils\". -+ as_fn_error $? "cannot import Python module \"sysconfig\". - Please check your Python installation. The error was: --$ac_distutils_result" "$LINENO" 5 -+$ac_sysconfig_result" "$LINENO" 5 - PYTHON_VERSION="" - fi - -@@ -13558,10 +13558,10 @@ $ac_distutils_result" "$LINENO" 5 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5 - $as_echo_n "checking for Python include path... " >&6; } - if test -z "$PYTHON_CPPFLAGS"; then -- python_path=`$PYTHON -c "import distutils.sysconfig; \ -- print (distutils.sysconfig.get_python_inc ());"` -- plat_python_path=`$PYTHON -c "import distutils.sysconfig; \ -- print (distutils.sysconfig.get_python_inc (plat_specific=1));"` -+ python_path=`$PYTHON -c "import sysconfig; \ -+ print (sysconfig.get_path('include'));"` -+ plat_python_path=`$PYTHON -c "import sysconfig; \ -+ print (sysconfig.get_path('include'));"` - if test -n "${python_path}"; then - if test "${plat_python_path}" != "${python_path}"; then - python_path="-I$python_path -I$plat_python_path" -@@ -13587,7 +13587,7 @@ $as_echo_n "checking for Python library - - # join all versioning strings, on some systems - # major/minor numbers could be in different list elements --from distutils.sysconfig import * -+from sysconfig import * - e = get_config_var('VERSION') - if e is not None: - print(e) -@@ -13613,8 +13613,8 @@ _ACEOF - ac_python_libdir=`cat<&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5 - $as_echo_n "checking for Python site-packages path... " >&6; } - if test -z "$PYTHON_SITE_PKG"; then -- PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \ -- print (distutils.sysconfig.get_python_lib(0,0));"` -+ PYTHON_SITE_PKG=`$PYTHON -c "import sysconfig; \ -+ print (sysconfig.get_path('platlib'));"` - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5 - $as_echo "$PYTHON_SITE_PKG" >&6; } -@@ -13678,8 +13678,8 @@ $as_echo "$PYTHON_SITE_PKG" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra libraries" >&5 - $as_echo_n "checking python extra libraries... " >&6; } - if test -z "$PYTHON_EXTRA_LDFLAGS"; then -- PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \ -- conf = distutils.sysconfig.get_config_var; \ -+ PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import sysconfig; \ -+ conf = sysconfig.get_config_var; \ - print (conf('LIBS') + ' ' + conf('SYSLIBS'))"` - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LDFLAGS" >&5 -@@ -13692,8 +13692,8 @@ $as_echo "$PYTHON_EXTRA_LDFLAGS" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra linking flags" >&5 - $as_echo_n "checking python extra linking flags... " >&6; } - if test -z "$PYTHON_EXTRA_LIBS"; then -- PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \ -- conf = distutils.sysconfig.get_config_var; \ -+ PYTHON_EXTRA_LIBS=`$PYTHON -c "import sysconfig; \ -+ conf = sysconfig.get_config_var; \ - print (conf('LINKFORSHARED'))"` - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LIBS" >&5 -diff -urNp a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 ---- a/m4/ax_python_devel.m4 2021-08-02 13:38:21.025807373 +0200 -+++ b/m4/ax_python_devel.m4 2021-08-02 14:36:33.262720424 +0200 -@@ -139,17 +139,17 @@ variable to configure. See ``configure - - fi - - # -- # Check if you have distutils, else fail -+ # Check if you have sysconfig, else fail - # -- AC_MSG_CHECKING([for the distutils Python package]) -- ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -+ AC_MSG_CHECKING([for the sysconfig Python package]) -+ ac_sysconfig_result=`$PYTHON -c "import sysconfig" 2>&1` - if test $? -eq 0; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) -- AC_MSG_ERROR([cannot import Python module "distutils". -+ AC_MSG_ERROR([cannot import Python module "sysconfig". - Please check your Python installation. The error was: --$ac_distutils_result]) -+$ac_sysconfig_result]) - PYTHON_VERSION="" - fi - -@@ -158,10 +158,10 @@ $ac_distutils_result]) - # - AC_MSG_CHECKING([for Python include path]) - if test -z "$PYTHON_CPPFLAGS"; then -- python_path=`$PYTHON -c "import distutils.sysconfig; \ -- print (distutils.sysconfig.get_python_inc ());"` -- plat_python_path=`$PYTHON -c "import distutils.sysconfig; \ -- print (distutils.sysconfig.get_python_inc (plat_specific=1));"` -+ python_path=`$PYTHON -c "import sysconfig; \ -+ print (sysconfig.get_path('include'));"` -+ plat_python_path=`$PYTHON -c "import sysconfig; \ -+ print (sysconfig.get_path('include'));"` - if test -n "${python_path}"; then - if test "${plat_python_path}" != "${python_path}"; then - python_path="-I$python_path -I$plat_python_path" -@@ -185,7 +185,7 @@ $ac_distutils_result]) - - # join all versioning strings, on some systems - # major/minor numbers could be in different list elements --from distutils.sysconfig import * -+from sysconfig import * - e = get_config_var('VERSION') - if e is not None: - print(e) -@@ -208,8 +208,8 @@ EOD` - ac_python_libdir=`cat< %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Sun Feb 11 2024 Fedora Release Monitoring - 2.0.34-1 +- Update to 2.0.34 (rhbz#2105023) + * Mon Jan 22 2024 Fedora Release Engineering - 2.0.32-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index ec51f6c..bf85804 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OpenIPMI-2.0.32.tar.gz) = e409f32e6bbf26756338ada386fa394d48d734b4d6ba4beca700ce60bc3af3d0f41e972a328c4e076ae014f4fbd8598d05d3f879f9c6d76198e6ae1a2ba03e95 +SHA512 (OpenIPMI-2.0.34.tar.gz) = 25402019a4ee243effca30b7e0bfd4934f2e505a25009ea6330c4c9317299fde937ab3640f2dcb48aaabc9919d3a8f064807c368c0c0e6bca341e3c19ec82edd From e144f3ad661277522887f609defeb8d7123505d1 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Sun, 11 Feb 2024 21:10:57 +0100 Subject: [PATCH 44/58] Add a patch from C9S Include config.h in cmdlang to avoid gethostbyname cmdlang.c uses a configure macro to determine getaddrinfo support. Without the macro defined, it uses gethostbyname instead of getaddrinfo. This was actually happening erroneously, because the code did not include config.h. Fix that. Avoids one rpminspect/rpmdiff warning. --- OpenIPMI.spec | 1 + include-config-h-cmdlang.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 include-config-h-cmdlang.patch diff --git a/OpenIPMI.spec b/OpenIPMI.spec index a41c95e..8843778 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -12,6 +12,7 @@ Source1: openipmi.sysconf Source2: openipmi-helper Source3: ipmi.service Patch1: 0001-man.patch +Patch2: include-config-h-cmdlang.patch Patch4: OpenIPMI-c99.patch Patch5: OpenIPMI-py313compat.patch diff --git a/include-config-h-cmdlang.patch b/include-config-h-cmdlang.patch new file mode 100644 index 0000000..4f9fcab --- /dev/null +++ b/include-config-h-cmdlang.patch @@ -0,0 +1,12 @@ +diff -up OpenIPMI-2.0.32/cmdlang/cmdlang.c~ OpenIPMI-2.0.32/cmdlang/cmdlang.c +--- OpenIPMI-2.0.32/cmdlang/cmdlang.c~ 2021-01-22 19:51:28.000000000 +0100 ++++ OpenIPMI-2.0.32/cmdlang/cmdlang.c 2022-01-28 11:55:42.375470392 +0100 +@@ -32,6 +32,8 @@ + */ + + ++#include ++ + #include + #include + #include From c88325940a8a630c5685004734478a3e5fa4eeb3 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Mon, 12 Feb 2024 09:14:48 +0100 Subject: [PATCH 45/58] Resolve a minor issue found by rpmdiff (from C9S) "Subpackage OpenIPMI-lanserv on aarch64 x86_64 ppc64le s390x consumes libraries libOpenIPMIposix.so.0()(64bit) libOpenIPMIutils.so.0()(64bit) from subpackage OpenIPMI-libs but does not have explicit package version requirement. Please add Requires: OpenIPMI-libs = %{version}-%{release} to OpenIPMI-lanserv in the specfile to avoid the need to test interoperability between the various combinations of old and new subpackages." "Subpackage OpenIPMI-devel on aarch64 x86_64 ppc64le s390x consumes library libIPMIlanserv.so.0()(64bit) from subpackage OpenIPMI-lanserv but does not have explicit package version requirement. Please add Requires: OpenIPMI-lanserv = %{version}-%{release} to OpenIPMI-devel in the specfile to avoid the need to test interoperability between the various combinations of old and new subpackages." --- OpenIPMI.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 8843778..ebdc868 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -69,6 +69,7 @@ Summary: The development environment for the OpenIPMI project Requires: pkgconfig Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: %{name}-lanserv%{?_isa} = %{version}-%{release} %description devel The OpenIPMI-devel package contains the development libraries and header files @@ -77,6 +78,7 @@ of the OpenIPMI project. %package lanserv Summary: Emulates an IPMI network listener Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description lanserv This package contains a network IPMI listener. From a2170f0b388e47de9b2ec998d0f166c9c89c0c10 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Mon, 12 Feb 2024 11:23:56 +0100 Subject: [PATCH 46/58] Conditional Perl & Python module build By default disabled - seem to be unused. Debian has them disabled too. Related: rhbz#2245793 --- OpenIPMI.spec | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index ebdc868..ea82550 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -1,5 +1,8 @@ %global _hardened_build 1 +%bcond_with python +%bcond_with perl + Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI @@ -17,8 +20,17 @@ Patch4: OpenIPMI-c99.patch Patch5: OpenIPMI-py313compat.patch BuildRequires: make -BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel -BuildRequires: openssl-devel python3-devel perl-devel perl-generators +BuildRequires: gdbm-devel glib2-devel net-snmp-devel ncurses-devel +%if %{with python} || %{with perl} +BuildRequires: swig +%endif +BuildRequires: openssl-devel +%if %{with python} +BuildRequires: python3-devel +%endif +%if %{with perl} +BuildRequires: perl-devel perl-generators +%endif BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: automake @@ -44,13 +56,16 @@ Summary: The OpenIPMI runtime libraries The OpenIPMI-libs package contains the runtime libraries for shared binaries and applications. +%if %{with perl} %package perl Summary: IPMI Perl language bindings Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description perl The OpenIPMI-perl package contains the Perl language bindings for OpenIPMI. +%endif +%if %{with python} %package -n python3-openipmi %{?python_provide:%python_provide python3-openipmi} %{?python_provide:%python_provide python3-OpenIPMI} @@ -63,6 +78,7 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description -n python3-openipmi The OpenIPMI-python package contains the Python language bindings for OpenIPMI. +%endif %package devel Summary: The development environment for the OpenIPMI project @@ -94,8 +110,15 @@ This package contains a network IPMI listener. LDFLAGS="%{__global_ldflags} -Wl,--as-needed" \ --disable-dependency-tracking \ --disable-static \ +%if %{with python} --with-pythoninstall=%{python3_sitearch} \ --with-python=%{__python3} \ +%else + --with-python=no \ +%endif +%if %{without perl} + --with-perl=no \ +%endif --with-tcl=no \ --with-tkinter=no @@ -172,13 +195,17 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man7/ipmi_cmdlang* %{_mandir}/man7/openipmi_conparms* +%if %{with perl} %files perl %attr(644,root,root) %{perl_vendorarch}/OpenIPMI.pm %{perl_vendorarch}/auto/OpenIPMI +%endif +%if %{with python} %files -n python3-openipmi %{python3_sitearch}/*OpenIPMI* %{python3_sitearch}/__pycache__/OpenIPMI.*.pyc +%endif %files libs %{_libdir}/libOpenIPMI*.so.* From d6d15f112717645a2af45657bd0cf5ca83764afb Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Mon, 12 Feb 2024 09:20:58 +0100 Subject: [PATCH 47/58] Update %changelog --- OpenIPMI.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index ea82550..fa57e01 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -229,8 +229,14 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog -* Sun Feb 11 2024 Fedora Release Monitoring - 2.0.34-1 +* Sun Feb 11 2024 Pavel Cahyna - 2.0.34-1 - Update to 2.0.34 (rhbz#2105023) +- Resolve issues found by rpmdiff + - add a patch to fix getaddrinfo detection to avoid using gethostbyname + - add explicit Requires: on subpackages to avoid the need to test + interoperability between the various combinations of old and new + subpackages +- Conditional Perl & Python module build, by default disabled * Mon Jan 22 2024 Fedora Release Engineering - 2.0.32-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 3a18f154a6a471bd47848ce39531f3b04ab0abf0 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Tue, 7 May 2024 12:21:35 +0200 Subject: [PATCH 48/58] Remove patch integrated upstream Related: bz2278007 --- OpenIPMI-c99.patch | 60 ---------------------------------------------- OpenIPMI.spec | 1 - 2 files changed, 61 deletions(-) delete mode 100644 OpenIPMI-c99.patch diff --git a/OpenIPMI-c99.patch b/OpenIPMI-c99.patch deleted file mode 100644 index 40cb5c4..0000000 --- a/OpenIPMI-c99.patch +++ /dev/null @@ -1,60 +0,0 @@ -C type errors in the SWIG-generated Perl bindings - -The first change fixes an error with newer compilers: - -OpenIPMI_wrap.c: In function ‘_wrap_strconstarray_val_set’: -OpenIPMI_wrap.c:10491:27: error: assignment to ‘const char **’ from incompatible pointer type ‘char **’ -10491 | if (arg1) (arg1)->val = arg2; - | ^ - -The second change is also about a compiler error: - -In file included from /usr/lib64/perl5/CORE/perl.h:4530, - from OpenIPMI_wrap.c:751: -OpenIPMI_wrap.c: In function ‘_wrap_ipmi_sol_conn_t_write’: -/usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of ‘Perl_SvPV_helper’ from incompatible pointer type - 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ -/usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’ - 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) - | ^~~~~~~~~~ -OpenIPMI_wrap.c:27664:24: note: in expansion of macro ‘SvPV’ -27664 | (&arg2)->val = SvPV(tempsv, (&arg2)->len); - | ^~~~ -In file included from /usr/lib64/perl5/CORE/perl.h:7812: -/usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’ - 908 | STRLEN * const lp, - | ~~~~~~~~~~~~~~~^~ - -But the existing code looks broken on big-endian 64-bit architectures, -too. - -Submitted upstream: - -diff --git a/swig/OpenIPMI.i b/swig/OpenIPMI.i -index 8e674a94e6f85f62..db2aa1b5292a276f 100644 ---- a/swig/OpenIPMI.i -+++ b/swig/OpenIPMI.i -@@ -359,7 +359,7 @@ typedef struct iargarray - %} - typedef struct strconstarray - { -- char **val; -+ const char **val; - int len; - } strconstarray; - typedef struct argarray -diff --git a/swig/perl/OpenIPMI_lang.i b/swig/perl/OpenIPMI_lang.i -index d13b62f09e69e02a..d7482d1135cdc3e4 100644 ---- a/swig/perl/OpenIPMI_lang.i -+++ b/swig/perl/OpenIPMI_lang.i -@@ -292,7 +292,9 @@ - $1.val = NULL; - $1.len = 0; - } else { -- $1.val = SvPV(tempsv, $1.len); -+ STRLEN len; -+ $1.val = SvPV(tempsv, len); -+ $1.len = len; - } - } - diff --git a/OpenIPMI.spec b/OpenIPMI.spec index fa57e01..e0d1030 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -16,7 +16,6 @@ Source2: openipmi-helper Source3: ipmi.service Patch1: 0001-man.patch Patch2: include-config-h-cmdlang.patch -Patch4: OpenIPMI-c99.patch Patch5: OpenIPMI-py313compat.patch BuildRequires: make From a31e92343fea7cca2c96a9d03c73c170ebe1594c Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Tue, 7 May 2024 14:45:00 +0200 Subject: [PATCH 49/58] Update to 2.0.35 (#2278007) --- .gitignore | 1 + OpenIPMI.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 60c81c3..74b8b02 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ OpenIPMI-2.0.18.tar.gz /OpenIPMI-2.0.31.tar.gz /OpenIPMI-2.0.32.tar.gz /OpenIPMI-2.0.34.tar.gz +/OpenIPMI-2.0.35.tar.gz diff --git a/OpenIPMI.spec b/OpenIPMI.spec index e0d1030..a3c74c7 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -6,7 +6,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI -Version: 2.0.34 +Version: 2.0.35 Release: 1%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: http://sourceforge.net/projects/openipmi/ diff --git a/sources b/sources index bf85804..8bbc09d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OpenIPMI-2.0.34.tar.gz) = 25402019a4ee243effca30b7e0bfd4934f2e505a25009ea6330c4c9317299fde937ab3640f2dcb48aaabc9919d3a8f064807c368c0c0e6bca341e3c19ec82edd +SHA512 (OpenIPMI-2.0.35.tar.gz) = 95a662fbdc5f799b37ce2987cad9305160032f566164032de0495fd9bafe80a423d18b4dcf91937155f853fece1d71fcc3f7eef52f6c48d2eceb68d020ca79f2 From 9a0ad87fac1d30c42f187bd790ca7cb3bacf5160 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Tue, 7 May 2024 14:41:18 +0200 Subject: [PATCH 50/58] Switch to https --- OpenIPMI.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index a3c74c7..39e7873 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -9,8 +9,8 @@ Name: OpenIPMI Version: 2.0.35 Release: 1%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause -URL: http://sourceforge.net/projects/openipmi/ -Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz +URL: https://sourceforge.net/projects/openipmi/ +Source: https://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz Source1: openipmi.sysconf Source2: openipmi-helper Source3: ipmi.service From 88ae7665857c17ac5f00a3f892291e7a5ae6c532 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Tue, 7 May 2024 14:45:25 +0200 Subject: [PATCH 51/58] Update changelog --- OpenIPMI.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 39e7873..8cc47c3 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -228,6 +228,11 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Tue May 7 2024 Pavel Cahyna - 2.0.35-1 +- Switch to https +- Update to 2.0.35 (rhbz#2278007) + drop patch integrated upstream + * Sun Feb 11 2024 Pavel Cahyna - 2.0.34-1 - Update to 2.0.34 (rhbz#2105023) - Resolve issues found by rpmdiff From 664ac6d0ffced21d9ca31f2359ce0ba6032ea57d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 15:04:33 +0000 Subject: [PATCH 52/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 8cc47c3..55bc6b0 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -7,7 +7,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.35 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: https://sourceforge.net/projects/openipmi/ Source: https://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -228,6 +228,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 2.0.35-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue May 7 2024 Pavel Cahyna - 2.0.35-1 - Switch to https - Update to 2.0.35 (rhbz#2278007) From 45b2ff20f8166ec829ba1555440d95d9f21ae0f2 Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Thu, 22 Aug 2024 21:55:17 +0200 Subject: [PATCH 53/58] Update to 2.0.36 (#2302353) Resolves CVE-2024-42934 --- .gitignore | 1 + OpenIPMI.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 74b8b02..18dbbc6 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ OpenIPMI-2.0.18.tar.gz /OpenIPMI-2.0.32.tar.gz /OpenIPMI-2.0.34.tar.gz /OpenIPMI-2.0.35.tar.gz +/OpenIPMI-2.0.36.tar.gz diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 55bc6b0..fb04edb 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -6,8 +6,8 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI -Version: 2.0.35 -Release: 2%{?dist} +Version: 2.0.36 +Release: 1%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: https://sourceforge.net/projects/openipmi/ Source: https://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -228,6 +228,10 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Thu Aug 22 2024 Fedora Release Monitoring - 2.0.36-1 +- Update to 2.0.36 (#2302353) +- Resolves CVE-2024-42934 + * Wed Jul 17 2024 Fedora Release Engineering - 2.0.35-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 8bbc09d..1870111 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OpenIPMI-2.0.35.tar.gz) = 95a662fbdc5f799b37ce2987cad9305160032f566164032de0495fd9bafe80a423d18b4dcf91937155f853fece1d71fcc3f7eef52f6c48d2eceb68d020ca79f2 +SHA512 (OpenIPMI-2.0.36.tar.gz) = a47725308336f200e88a1eb8641ed5ef03fc8bb43ee47f7a99e39df68640ff912b6842c1710d7e767aeb724fc41fa4ed3b244685812ee985e5200003a45f4015 From dccfce06e679e26fd2c4d69cd2f7cb6c094338d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 15 Feb 2024 19:23:44 +0100 Subject: [PATCH 54/58] Update the Python 3.13 compatibility patch - the ctypes.h changes in not necessary any more (still valuable upstream) - the PyEval_InitThreads() function was removed and does nothing since 3.7 (upstream might need a more complex patch to support Python 3.6 etc.) Fixes https://bugzilla.redhat.com/2245793 --- OpenIPMI-py313compat.patch | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/OpenIPMI-py313compat.patch b/OpenIPMI-py313compat.patch index 60845b4..fccde75 100644 --- a/OpenIPMI-py313compat.patch +++ b/OpenIPMI-py313compat.patch @@ -1,12 +1,13 @@ -diff -ur OpenIPMI-2.0.34/swig/OpenIPMI.i OpenIPMI-2.0.34-python/swig/OpenIPMI.i ---- OpenIPMI-2.0.34/swig/OpenIPMI.i 2024-02-11 19:52:41.555777279 +0100 -+++ OpenIPMI-2.0.34-python/swig/OpenIPMI.i 2024-02-11 20:11:59.061132776 +0100 -@@ -38,6 +38,7 @@ - #include - #include - #include -+#include - - #ifdef HAVE_GETADDRINFO - #include -Only in OpenIPMI-2.0.34-python/swig: OpenIPMI.i~ +diff --git a/swig/python/OpenIPMI_lang.i b/swig/python/OpenIPMI_lang.i +index 67221fd..d150d81 100644 +--- a/swig/python/OpenIPMI_lang.i ++++ b/swig/python/OpenIPMI_lang.i +@@ -541,7 +541,7 @@ static void OI_put_py_state(int current) + #else + static void init_lang(void) + { +- PyEval_InitThreads(); ++ /* nothing */ + } + #define OI_PY_STATE PyGILState_STATE + #define OI_PY_STATE_GET() PyGILState_Ensure() From eab46d052724d69ae5e5a364f1eaedd673fa7641 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 08:49:45 +0000 Subject: [PATCH 55/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index fb04edb..a4016f2 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -7,7 +7,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.36 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: https://sourceforge.net/projects/openipmi/ Source: https://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -228,6 +228,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 2.0.36-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Aug 22 2024 Fedora Release Monitoring - 2.0.36-1 - Update to 2.0.36 (#2302353) - Resolves CVE-2024-42934 From e81dec8ae9526bdd4b23c5ff739edb5b037891cc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 15:54:03 +0000 Subject: [PATCH 56/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index a4016f2..6c5caf9 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -7,7 +7,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.36 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: https://sourceforge.net/projects/openipmi/ Source: https://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -228,6 +228,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 2.0.36-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 16 2025 Fedora Release Engineering - 2.0.36-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 2edc97063dc61b500d01430ef454c5b9cde006e5 Mon Sep 17 00:00:00 2001 From: Josef Ridky Date: Mon, 12 Jan 2026 18:33:24 +0100 Subject: [PATCH 57/58] Rebuild for new net-snmp release Signed-off-by: Josef Ridky --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 6c5caf9..eb73792 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -7,7 +7,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.36 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: https://sourceforge.net/projects/openipmi/ Source: https://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -228,6 +228,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Mon Jan 12 2026 Josef Ridky - 2.0.36-4 +- rebuild for new net-snmp release + * Wed Jul 23 2025 Fedora Release Engineering - 2.0.36-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 32e6b7566bdcf7cdc0f26c522377ee214c8f2644 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 02:39:45 +0000 Subject: [PATCH 58/58] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- OpenIPMI.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index eb73792..7016dc2 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -7,7 +7,7 @@ Summary: IPMI (Intelligent Platform Management Interface) library and tools Name: OpenIPMI Version: 2.0.36 -Release: 4%{?dist} +Release: 5%{?dist} License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause URL: https://sourceforge.net/projects/openipmi/ Source: https://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz @@ -228,6 +228,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1 %{_mandir}/man5/ipmi_sim_cmd.5* %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 2.0.36-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Mon Jan 12 2026 Josef Ridky - 2.0.36-4 - rebuild for new net-snmp release