|
|
@ -1,14 +1,11 @@
|
|
|
|
%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.36
|
|
|
|
Version: 2.0.32
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
License: LGPL-2.1-or-later AND GPL-2.0-or-later OR BSD-3-Clause
|
|
|
|
License: LGPLv2+ and GPLv2+ or BSD
|
|
|
|
URL: http://sourceforge.net/projects/openipmi/
|
|
|
|
URL: http://sourceforge.net/projects/openipmi/
|
|
|
|
Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
|
|
|
|
Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
|
|
|
|
Source1: openipmi.sysconf
|
|
|
|
Source1: openipmi.sysconf
|
|
|
@ -16,20 +13,11 @@ Source2: openipmi-helper
|
|
|
|
Source3: ipmi.service
|
|
|
|
Source3: ipmi.service
|
|
|
|
Patch1: 0001-man.patch
|
|
|
|
Patch1: 0001-man.patch
|
|
|
|
Patch2: include-config-h-cmdlang.patch
|
|
|
|
Patch2: include-config-h-cmdlang.patch
|
|
|
|
Patch5: OpenIPMI-py313compat.patch
|
|
|
|
Patch3: OpenIPMI-CVE-2024-42934.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: gdbm-devel glib2-devel net-snmp-devel ncurses-devel
|
|
|
|
BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
|
|
|
%if %{with python} || %{with perl}
|
|
|
|
BuildRequires: openssl-devel python3-devel perl-devel perl-generators
|
|
|
|
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
|
|
|
@ -55,16 +43,14 @@ 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}
|
|
|
@ -77,7 +63,6 @@ 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
|
|
|
@ -109,15 +94,8 @@ 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
|
|
|
|
|
|
|
|
|
|
|
@ -194,17 +172,13 @@ 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.*
|
|
|
@ -228,85 +202,37 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1
|
|
|
|
%{_mandir}/man5/ipmi_sim_cmd.5*
|
|
|
|
%{_mandir}/man5/ipmi_sim_cmd.5*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.0.36-2
|
|
|
|
* Thu Oct 10 2024 Pavel Cahyna <pcahyna@redhat.com> - 2.0.32-5
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Update the patch for CVE-2024-42934 to add a missing upstream
|
|
|
|
|
|
|
|
commit from 2.0.36: 663e3cd3
|
|
|
|
* Mon Aug 26 2024 Pavel Cahyna <pcahyna@redhat.com> - 2.0.36-2
|
|
|
|
|
|
|
|
- Correct SPDX expression syntax - operators must be uppercase
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 26 2024 Pavel Cahyna <pcahyna@redhat.com> - 2.0.36-1
|
|
|
|
* Thu Sep 26 2024 Pavel Cahyna <pcahyna@redhat.com> - 2.0.32-4
|
|
|
|
- Update to 2.0.36
|
|
|
|
- Backport two commits from 2.0.36 to add checks in ipmi_sim
|
|
|
|
|
|
|
|
and ipmilan (CVE-2024-42934)
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.0.34-2
|
|
|
|
* Fri Jan 28 2022 Pavel Cahyna <pcahyna@redhat.com> - 2.0.32-3
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
- Add a patch to resolve one more issue found by rpmdiff/rpminspect:
|
|
|
|
|
|
|
|
fix getaddrinfo detection to avoid using gethostbyname.
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 11 2024 Pavel Cahyna <pcahyna@redhat.com> - 2.0.34-1
|
|
|
|
* Wed Jan 26 2022 Pavel Cahyna <pcahyna@redhat.com> - 2.0.32-2
|
|
|
|
- Update to 2.0.34 (rhbz#2105023)
|
|
|
|
|
|
|
|
- Resolve issues found by rpmdiff
|
|
|
|
- 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
|
|
|
|
- add explicit Requires: on subpackages to avoid the need to test
|
|
|
|
interoperability between the various combinations of old and new
|
|
|
|
interoperability between the various combinations of old and new
|
|
|
|
subpackages
|
|
|
|
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
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 10 2022 Josef Ridky <jridky@redhat.com> - 2.0.32-1
|
|
|
|
|
|
|
|
- new upstream release 2.0.32 (#2020717)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 2.0.31-8
|
|
|
|
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 02 2021 Josef Ridky <jridky@redhat.com> - 2.0.31-7
|
|
|
|
|
|
|
|
- replace distutils and fix FTBFS (#1948437)
|
|
|
|
|
|
|
|
- fix collectd-ipmi crash (#1927022)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.31-6
|
|
|
|
* Sun Jan 23 2022 Igor Raits <igor.raits@gmail.com> - 2.0.32-1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Update to 2.0.32 (rhbz#1990072)
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.31-5
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.31-5
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.0.31-4
|
|
|
|
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.31-4
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.31-3
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.31-3
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.31-2
|
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.31-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|