Compare commits
30 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32e6b7566b | ||
|
|
2edc97063d | ||
|
|
e81dec8ae9 | ||
|
|
f6f0a11be2 | ||
|
|
eab46d0527 | ||
|
|
dccfce06e6 | ||
|
|
45b2ff20f8 | ||
|
|
664ac6d0ff | ||
|
|
88ae766585 | ||
|
|
9a0ad87fac | ||
|
|
a31e92343f | ||
|
|
3a18f154a6 | ||
|
|
d6d15f1127 | ||
|
|
a2170f0b38 | ||
|
|
c88325940a | ||
|
|
e144f3ad66 | ||
|
|
595d9c2231 | ||
|
|
cfc50baa6a | ||
|
|
2a25afb580 | ||
|
|
cf38984dec | ||
|
|
2a28c71178 | ||
|
|
630761c4fe | ||
|
|
6d1c795f87 | ||
|
|
8baac995e5 | ||
|
|
eef65171de | ||
|
|
03040baf11 | ||
|
|
c9e3c09f14 | ||
|
|
c829d16203 | ||
|
|
ae314e06e9 | ||
|
|
3cc1d3c09e |
7 changed files with 133 additions and 262 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -11,3 +11,6 @@ OpenIPMI-2.0.18.tar.gz
|
||||||
/OpenIPMI-2.0.29.tar.gz
|
/OpenIPMI-2.0.29.tar.gz
|
||||||
/OpenIPMI-2.0.31.tar.gz
|
/OpenIPMI-2.0.31.tar.gz
|
||||||
/OpenIPMI-2.0.32.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
|
||||||
|
|
|
||||||
|
|
@ -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])
|
|
||||||
13
OpenIPMI-py313compat.patch
Normal file
13
OpenIPMI-py313compat.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
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()
|
||||||
|
|
@ -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<<EOD | $PYTHON -
|
|
||||||
|
|
||||||
# There should be only one
|
|
||||||
-import distutils.sysconfig
|
|
||||||
-e = distutils.sysconfig.get_config_var('LIBDIR')
|
|
||||||
+import sysconfig
|
|
||||||
+e = sysconfig.get_config_var('LIBDIR')
|
|
||||||
if e is not None:
|
|
||||||
print (e)
|
|
||||||
EOD`
|
|
||||||
@@ -13622,8 +13622,8 @@ EOD`
|
|
||||||
# Now, for the library:
|
|
||||||
ac_python_library=`cat<<EOD | $PYTHON -
|
|
||||||
|
|
||||||
-import distutils.sysconfig
|
|
||||||
-c = distutils.sysconfig.get_config_vars()
|
|
||||||
+import sysconfig
|
|
||||||
+c = sysconfig.get_config_vars()
|
|
||||||
if 'LDVERSION' in c:
|
|
||||||
print ('python'+c['LDVERSION'])
|
|
||||||
else:
|
|
||||||
@@ -13642,9 +13642,9 @@ EOD`
|
|
||||||
else
|
|
||||||
# old way: use libpython from python_configdir
|
|
||||||
ac_python_libdir=`$PYTHON -c \
|
|
||||||
- "from distutils.sysconfig import get_python_lib as f; \
|
|
||||||
+ "from sysconfig import get_path as f; \
|
|
||||||
import os; \
|
|
||||||
- print (os.path.join(f(plat_specific=1, standard_lib=1), 'config'));"`
|
|
||||||
+ print (os.path.join(f('platstdlib'), 'config'));"`
|
|
||||||
PYTHON_LIBS="-L$ac_python_libdir -lpython$ac_python_version"
|
|
||||||
fi
|
|
||||||
|
|
||||||
@@ -13665,8 +13665,8 @@ $as_echo "$PYTHON_LIBS" >&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<<EOD | $PYTHON -
|
|
||||||
|
|
||||||
# There should be only one
|
|
||||||
-import distutils.sysconfig
|
|
||||||
-e = distutils.sysconfig.get_config_var('LIBDIR')
|
|
||||||
+import sysconfig
|
|
||||||
+e = sysconfig.get_config_var('LIBDIR')
|
|
||||||
if e is not None:
|
|
||||||
print (e)
|
|
||||||
EOD`
|
|
||||||
@@ -217,8 +217,8 @@ EOD`
|
|
||||||
# Now, for the library:
|
|
||||||
ac_python_library=`cat<<EOD | $PYTHON -
|
|
||||||
|
|
||||||
-import distutils.sysconfig
|
|
||||||
-c = distutils.sysconfig.get_config_vars()
|
|
||||||
+import sysconfig
|
|
||||||
+c = sysconfig.get_config_vars()
|
|
||||||
if 'LDVERSION' in c:
|
|
||||||
print ('python'+c[['LDVERSION']])
|
|
||||||
else:
|
|
||||||
@@ -237,9 +237,9 @@ EOD`
|
|
||||||
else
|
|
||||||
# old way: use libpython from python_configdir
|
|
||||||
ac_python_libdir=`$PYTHON -c \
|
|
||||||
- "from distutils.sysconfig import get_python_lib as f; \
|
|
||||||
+ "from sysconfig import get_path as f; \
|
|
||||||
import os; \
|
|
||||||
- print (os.path.join(f(plat_specific=1, standard_lib=1), 'config'));"`
|
|
||||||
+ print (os.path.join(f('platstdlib'), 'config'));"`
|
|
||||||
PYTHON_LIBS="-L$ac_python_libdir -lpython$ac_python_version"
|
|
||||||
fi
|
|
||||||
|
|
||||||
@@ -258,8 +258,8 @@ EOD`
|
|
||||||
#
|
|
||||||
AC_MSG_CHECKING([for Python site-packages path])
|
|
||||||
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
|
|
||||||
AC_MSG_RESULT([$PYTHON_SITE_PKG])
|
|
||||||
AC_SUBST([PYTHON_SITE_PKG])
|
|
||||||
@@ -269,8 +269,8 @@ EOD`
|
|
||||||
#
|
|
||||||
AC_MSG_CHECKING(python extra libraries)
|
|
||||||
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
|
|
||||||
AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS])
|
|
||||||
@@ -281,8 +281,8 @@ EOD`
|
|
||||||
#
|
|
||||||
AC_MSG_CHECKING(python extra linking flags)
|
|
||||||
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
|
|
||||||
AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
|
|
||||||
114
OpenIPMI.spec
114
OpenIPMI.spec
|
|
@ -1,23 +1,35 @@
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
|
||||||
|
%bcond_with python
|
||||||
|
%bcond_with perl
|
||||||
|
|
||||||
Summary: IPMI (Intelligent Platform Management Interface) library and tools
|
Summary: IPMI (Intelligent Platform Management Interface) library and tools
|
||||||
Name: OpenIPMI
|
Name: OpenIPMI
|
||||||
|
|
||||||
Version: 2.0.32
|
Version: 2.0.36
|
||||||
Release: 2%{?dist}
|
Release: 5%{?dist}
|
||||||
License: LGPLv2+ and GPLv2+ or BSD
|
License: LGPL-2.1-or-later and GPL-2.0-or-later or BSD-3-Clause
|
||||||
URL: http://sourceforge.net/projects/openipmi/
|
URL: https://sourceforge.net/projects/openipmi/
|
||||||
Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
|
Source: https://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
|
||||||
Source1: openipmi.sysconf
|
Source1: openipmi.sysconf
|
||||||
Source2: openipmi-helper
|
Source2: openipmi-helper
|
||||||
Source3: ipmi.service
|
Source3: ipmi.service
|
||||||
Patch1: 0001-man.patch
|
Patch1: 0001-man.patch
|
||||||
Patch2: OpenIPMI-ax-python.patch
|
Patch2: include-config-h-cmdlang.patch
|
||||||
Patch3: OpenIPMI-sysconfig.patch
|
Patch5: OpenIPMI-py313compat.patch
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
BuildRequires: gdbm-devel glib2-devel net-snmp-devel ncurses-devel
|
||||||
BuildRequires: openssl-devel python3-devel perl-devel perl-generators
|
%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: pkgconfig
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
|
@ -43,14 +55,16 @@ Summary: The OpenIPMI runtime libraries
|
||||||
The OpenIPMI-libs package contains the runtime libraries for shared binaries
|
The OpenIPMI-libs package contains the runtime libraries for shared binaries
|
||||||
and applications.
|
and applications.
|
||||||
|
|
||||||
|
%if %{with perl}
|
||||||
%package perl
|
%package perl
|
||||||
Summary: IPMI Perl language bindings
|
Summary: IPMI Perl language bindings
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description perl
|
%description perl
|
||||||
The OpenIPMI-perl package contains the Perl language bindings for OpenIPMI.
|
The OpenIPMI-perl package contains the Perl language bindings for OpenIPMI.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with python}
|
||||||
%package -n python3-openipmi
|
%package -n python3-openipmi
|
||||||
%{?python_provide:%python_provide python3-openipmi}
|
%{?python_provide:%python_provide python3-openipmi}
|
||||||
%{?python_provide:%python_provide python3-OpenIPMI}
|
%{?python_provide:%python_provide python3-OpenIPMI}
|
||||||
|
|
@ -63,12 +77,14 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n python3-openipmi
|
%description -n python3-openipmi
|
||||||
The OpenIPMI-python package contains the Python language bindings for OpenIPMI.
|
The OpenIPMI-python package contains the Python language bindings for OpenIPMI.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: The development environment for the OpenIPMI project
|
Summary: The development environment for the OpenIPMI project
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-lanserv%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The OpenIPMI-devel package contains the development libraries and header files
|
The OpenIPMI-devel package contains the development libraries and header files
|
||||||
|
|
@ -77,6 +93,7 @@ of the OpenIPMI project.
|
||||||
%package lanserv
|
%package lanserv
|
||||||
Summary: Emulates an IPMI network listener
|
Summary: Emulates an IPMI network listener
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description lanserv
|
%description lanserv
|
||||||
This package contains a network IPMI listener.
|
This package contains a network IPMI listener.
|
||||||
|
|
@ -92,8 +109,15 @@ This package contains a network IPMI listener.
|
||||||
LDFLAGS="%{__global_ldflags} -Wl,--as-needed" \
|
LDFLAGS="%{__global_ldflags} -Wl,--as-needed" \
|
||||||
--disable-dependency-tracking \
|
--disable-dependency-tracking \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
%if %{with python}
|
||||||
--with-pythoninstall=%{python3_sitearch} \
|
--with-pythoninstall=%{python3_sitearch} \
|
||||||
--with-python=%{__python3} \
|
--with-python=%{__python3} \
|
||||||
|
%else
|
||||||
|
--with-python=no \
|
||||||
|
%endif
|
||||||
|
%if %{without perl}
|
||||||
|
--with-perl=no \
|
||||||
|
%endif
|
||||||
--with-tcl=no \
|
--with-tcl=no \
|
||||||
--with-tkinter=no
|
--with-tkinter=no
|
||||||
|
|
||||||
|
|
@ -170,13 +194,17 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1
|
||||||
%{_mandir}/man7/ipmi_cmdlang*
|
%{_mandir}/man7/ipmi_cmdlang*
|
||||||
%{_mandir}/man7/openipmi_conparms*
|
%{_mandir}/man7/openipmi_conparms*
|
||||||
|
|
||||||
|
%if %{with perl}
|
||||||
%files perl
|
%files perl
|
||||||
%attr(644,root,root) %{perl_vendorarch}/OpenIPMI.pm
|
%attr(644,root,root) %{perl_vendorarch}/OpenIPMI.pm
|
||||||
%{perl_vendorarch}/auto/OpenIPMI
|
%{perl_vendorarch}/auto/OpenIPMI
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with python}
|
||||||
%files -n python3-openipmi
|
%files -n python3-openipmi
|
||||||
%{python3_sitearch}/*OpenIPMI*
|
%{python3_sitearch}/*OpenIPMI*
|
||||||
%{python3_sitearch}/__pycache__/OpenIPMI.*.pyc
|
%{python3_sitearch}/__pycache__/OpenIPMI.*.pyc
|
||||||
|
%endif
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%{_libdir}/libOpenIPMI*.so.*
|
%{_libdir}/libOpenIPMI*.so.*
|
||||||
|
|
@ -200,6 +228,72 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1
|
||||||
%{_mandir}/man5/ipmi_sim_cmd.5*
|
%{_mandir}/man5/ipmi_sim_cmd.5*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.36-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 12 2026 Josef Ridky <jridky@redhat.com> - 2.0.36-4
|
||||||
|
- rebuild for new net-snmp release
|
||||||
|
|
||||||
|
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.36-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.36-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 22 2024 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 2.0.36-1
|
||||||
|
- Update to 2.0.36 (#2302353)
|
||||||
|
- Resolves CVE-2024-42934
|
||||||
|
|
||||||
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.35-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 7 2024 Pavel Cahyna <pcahyna@redhat.com> - 2.0.35-1
|
||||||
|
- Switch to https
|
||||||
|
- Update to 2.0.35 (rhbz#2278007)
|
||||||
|
drop patch integrated upstream
|
||||||
|
|
||||||
|
* Sun Feb 11 2024 Pavel Cahyna <pcahyna@redhat.com> - 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 <releng@fedoraproject.org> - 2.0.32-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.32-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 08 2024 Florian Weimer <fweimer@redhat.com> - 2.0.32-11
|
||||||
|
- Fix C compatibility issues
|
||||||
|
|
||||||
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.32-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 18 2023 Josef Ridky <jridky@redhat.com> - 2.0.32-9
|
||||||
|
- Migrate to SPDX license format
|
||||||
|
|
||||||
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.0.32-8
|
||||||
|
- Perl 5.38 rebuild
|
||||||
|
|
||||||
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.0.32-7
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.32-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.32-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.32-4
|
||||||
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.0.32-3
|
||||||
|
- Perl 5.36 rebuild
|
||||||
|
|
||||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.32-2
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.32-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
12
include-config-h-cmdlang.patch
Normal file
12
include-config-h-cmdlang.patch
Normal file
|
|
@ -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 <config.h>
|
||||||
|
+
|
||||||
|
#include <errno.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <ctype.h>
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (OpenIPMI-2.0.32.tar.gz) = e409f32e6bbf26756338ada386fa394d48d734b4d6ba4beca700ce60bc3af3d0f41e972a328c4e076ae014f4fbd8598d05d3f879f9c6d76198e6ae1a2ba03e95
|
SHA512 (OpenIPMI-2.0.36.tar.gz) = a47725308336f200e88a1eb8641ed5ef03fc8bb43ee47f7a99e39df68640ff912b6842c1710d7e767aeb724fc41fa4ed3b244685812ee985e5200003a45f4015
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue