[packages/openhpi] - updated to 3.8.0, added ipmi fix from Fedora

hawk hawk at pld-linux.org
Fri Aug 31 19:44:42 CEST 2018


commit 34facee31070fe5002949c525ee1c965adf33db1
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Fri Aug 31 17:44:07 2018 +0000

    - updated to 3.8.0, added ipmi fix from Fedora

 ipmi.patch   | 15 +++++++++++++++
 openhpi.spec |  9 +++++++--
 2 files changed, 22 insertions(+), 2 deletions(-)
---
diff --git a/openhpi.spec b/openhpi.spec
index f0d18cb..95aa416 100644
--- a/openhpi.spec
+++ b/openhpi.spec
@@ -2,12 +2,12 @@
 Summary:	Service Availability Forum's Hardware Platform Interface (HPI) implementation
 Summary(pl.UTF-8):	Implementacja HPI (Hardware Platform Interface) Service Availability Forum
 Name:		openhpi
-Version:	3.6.1
+Version:	3.8.0
 Release:	1
 License:	BSD
 Group:		Applications/System
 Source0:	http://downloads.sourceforge.net/openhpi/%{name}-%{version}.tar.gz
-# Source0-md5:	4718b16e0f749b5ad214a9b04f45dd23
+# Source0-md5:	fffda3deea8a0d3671a72eea9d13a4df
 Patch0:		%{name}-types.patch
 Patch1:		%{name}-sh.patch
 Patch2:		%{name}-proto.patch
@@ -16,6 +16,7 @@ Patch4:		%{name}-c++.patch
 Patch5:		%{name}-install.patch
 Patch6:		%{name}-link.patch
 Patch7:		%{name}-config-echo.patch
+Patch8:		ipmi.patch
 URL:		http://www.openhpi.org/
 BuildRequires:	OpenIPMI-devel >= 1.4.20
 BuildRequires:	autoconf >= 2.57
@@ -37,6 +38,7 @@ BuildRequires:	net-snmp-devel
 BuildRequires:	openssl-devel
 BuildRequires:	perl-tools-pod
 BuildRequires:	pkgconfig
+BuildRequires:	rabbitmq-c-devel
 BuildRequires:	sqlite3-devel
 BuildRequires:	sysfsutils-devel >= 1.3.0-3
 Requires:	%{name}-libs = %{version}-%{release}
@@ -189,6 +191,7 @@ Wtyczka sysfs dla OpenHPI.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 %{__libtoolize}
@@ -239,6 +242,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/%{name}/libilo2_ribcl.la
 %attr(755,root,root) %{_libdir}/%{name}/liboa_soap.so*
 %{_libdir}/%{name}/liboa_soap.la
+%attr(755,root,root) %{_libdir}/%{name}/libov_rest.so*
+%{_libdir}/%{name}/libov_rest.la
 %attr(755,root,root) %{_libdir}/%{name}/libslave.so*
 %{_libdir}/%{name}/libslave.la
 %attr(755,root,root) %{_libdir}/%{name}/libtest_agent.so*
diff --git a/ipmi.patch b/ipmi.patch
new file mode 100644
index 0000000..cfae228
--- /dev/null
+++ b/ipmi.patch
@@ -0,0 +1,15 @@
+The openipmi package made backward imcompatible changes.
+This patch fixes the effects in openhpi ipmi plugin
+by changing selector_t to struct selector_s
+
+--- a/plugins/ipmi/ipmi.h
++++ b/plugins/ipmi/ipmi.h
+@@ -82,7 +82,7 @@
+ 	ipmi_con_t *cons[2];
+ 	unsigned int num_cons;
+ 
+-	selector_t *ohoi_sel;
++	struct selector_s *ohoi_sel;
+ 
+ 	char *entity_root;
+ 	int connected;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openhpi.git/commitdiff/34facee31070fe5002949c525ee1c965adf33db1



More information about the pld-cvs-commit mailing list