Compare commits

1 Commits
main ... 1.1

5 changed files with 32 additions and 45 deletions

21
fix-build-errors.patch Normal file
View File

@@ -0,0 +1,21 @@
--- lib-zfcp-hbaapi-2.1.1.orig/fc_tools/zfcp_ping.c 2013-12-07 10:29:58.000000000 -0700
+++ lib-zfcp-hbaapi-2.1.1/fc_tools/zfcp_ping.c 2014-01-24 01:12:39.289462000 -0700
@@ -13,6 +13,7 @@
#include <signal.h>
#include <hbaapi.h>
#include <errno.h>
+#include <sys/time.h>
#include "include/zfcp_util.h"
#define FC_PNG_REV 0x00000001
--- lib-zfcp-hbaapi-2.1.1.orig/vlib_events.c 2013-12-07 10:29:58.000000000 -0700
+++ lib-zfcp-hbaapi-2.1.1/vlib_events.c 2014-01-24 01:17:48.569992000 -0700
@@ -200,7 +200,7 @@ static void dispatch_event(struct nlmsgh
process_event(fc_nle);
}
-static void *establish_listener()
+static void establish_listener()
{
struct msghdr msg;
struct sockaddr_nl src_addr, dest_addr;

BIN
lib-zfcp-hbaapi-2.2.0.tar.bz2 LFS Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,39 +1,3 @@
-------------------------------------------------------------------
Fri Jun 20 10:03:38 UTC 2025 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- contain fixes for coverity findings and small updates for building
(jsc#PED-3363, jsc#PED-3362, (jsc#IBM-1114) )
- removed obsolete patch
* fix-build-errors.patch
-------------------------------------------------------------------
Mon May 5 16:26:00 UTC 2025 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Updated the .spec file (bsc#1242420)
- Updated the patch (bsc#1234472)
* fix-build-errors.patch
-------------------------------------------------------------------
Fri Dec 13 07:08:01 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Update libzfcphbaapi0 to 3.0.2 (jsc#PED-11492)
* Version 3.0.2 contains small updates for building:
zfcp-hbaapi,zfcp_ping: fix -Wimplicit-function-declaration
- Updated patch fix-build-errors.patch
-------------------------------------------------------------------
Mon Dec 2 07:58:40 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Upgrade libzfcphbaapi0 to 3.0.1 (jsc#PED-11492)
*** Version 3.0.1 contains small updates for building:
* README: reflect that the code default for vendorlib build is "no"
* Makefile.am: fix dependency on libzfcphbaapi.la for zfcp_ping & zfcp_show
* Makefile.am: add subdir-objects for fc_tools/
* configure.in: remove AC_HEADER_STDC , replace AC_LANG_C with AC_LANG([C])
*** v3.0.0
* Version 3.0.0 re-licenses lib-zfcp-hbaapi to EPL-1.0.
* Source code is the same as the previously released v2.2.0.
-------------------------------------------------------------------
Wed Feb 6 13:19:00 CET 2019 - hare@suse.de

View File

@@ -26,16 +26,17 @@ BuildRequires: libsgutils-devel
BuildRequires: libtool
BuildRequires: linux-glibc-devel
BuildRequires: sysfsutils
Url: https://github.com/ibm-s390-linux/libzfcphbaapi
Url: http://hbaapi.sourceforge.net
Summary: zfcp HBA API library
License: EPL-1.0
License: CPL-1.0
Group: System/Libraries
Version: 3.0.3
Version: 2.2.0
Release: 0
Source: libzfcphbaapi-%{version}.tar.gz
Source: lib-zfcp-hbaapi-%{version}.tar.bz2
Patch0: fix-build-errors.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: s390 s390x
%define _zfcp_hbaapi libzfcphbaapi-%{version}
%define _zfcp_hbaapi lib-zfcp-hbaapi-%{version}
%description
The zfcp device driver is a FCP device driver for Linux for zSeries.
@@ -51,7 +52,8 @@ Authors:
%prep
if file /bin/bash | grep 32-bit.*390 && [ `arch` != s390 ]; then exit 1;fi
%autosetup -p1 -n %{_zfcp_hbaapi}
%setup -q -n %{_zfcp_hbaapi}
%patch0 -p1
chmod a-x README ChangeLog
autoreconf -iv