Hello community, here is the log from the commit of package open-iscsi for openSUSE:Factory checked in at 2018-02-23 15:28:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old) and /work/SRC/openSUSE:Factory/.open-iscsi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "open-iscsi" Fri Feb 23 15:28:39 2018 rev:69 rq:578855 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes 2018-01-31 19:48:23.903223260 +0100 +++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes 2018-02-23 15:28:40.428959660 +0100 @@ -1,0 +2,22 @@ +Wed Feb 21 19:19:13 UTC 2018 - ldun...@suse.com + +- Ensure correct dependencies: main package must depend + on (new) libopeniscsiusr package, and devel package + must depend on main package (updating spec file) + +------------------------------------------------------------------- +Tue Feb 20 19:40:58 UTC 2018 - ldun...@suse.com + +- Fix ARP booting issue with different subnets + (bsc#1058463), updating: + * open-iscsi-SUSE-latest.diff.bz2 + +------------------------------------------------------------------- +Wed Feb 7 17:50:15 UTC 2018 - jeng...@inai.de + +- Trim filler wording from description. + Update old commands/RPM variables to macros. +- Implement shared library packaging guideline. +- Do not let fdupes run across partitions. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ open-iscsi.spec ++++++ --- /var/tmp/diff_new_pack.7nd6uC/_old 2018-02-23 15:28:41.400924545 +0100 +++ /var/tmp/diff_new_pack.7nd6uC/_new 2018-02-23 15:28:41.404924399 +0100 @@ -20,7 +20,7 @@ Name: open-iscsi Version: 2.0.876 Release: 0 -Summary: Linux* Open-iSCSI Software Initiator +Summary: Linux Open-iSCSI Software Initiator License: GPL-2.0+ Group: Productivity/Networking/Other Url: http://www.open-iscsi.com @@ -40,26 +40,31 @@ BuildRequires: suse-module-tools BuildRequires: systemd Requires(post): coreutils +Requires: libopeniscsiusr0_1_0 = %{version} %{?systemd_requires} %description -Open-iSCSI is a high-performance, transport independent, multi-platform -implementation of RFC3720 iSCSI. +Open-iSCSI is a transport independent implementation of RFC 3720 +iSCSI. It is partitioned into user and kernel parts. -Open-iSCSI is partitioned into user and kernel parts. +The kernel portion of Open-iSCSI implements the iSCSI data path (that +is, iSCSI Read and iSCSI Write), and consists of two loadable +modules: iscsi_if.ko and iscsi_tcp.ko. + +The user space part contains the entire control plane: configuration +manager, iSCSI Discovery, Login and Logout processing, +connection-level error processing, Nop-In and Nop-Out handling. It +comes with a daemon process called iscsid, and a management utility, +iscsiadm. -The kernel portion of Open-iSCSI is a from-scratch code licensed under -GPL. The kernel part implements iSCSI data path (that is, iSCSI Read -and iSCSI Write), and consists of two loadable modules: iscsi_if.ko and -iscsi_tcp.ko. - -User space contains the entire control plane: configuration manager, -iSCSI Discovery, Login and Logout processing, connection-level error -processing, Nop-In and Nop-Out handling, and (in the future:) Text -processing, iSNS, SLP, Radius, etc. +%package -n libopeniscsiusr0_1_0 +Version: 2.0.876 +Release: 0 +Summary: iSCSI userspace API +Group: System/Libraries -The user space Open-iSCSI consists of a daemon process called iscsid, -and a management utility iscsiadm. +%description -n libopeniscsiusr0_1_0 +The iSCSI userspace API from the open-iscsi project. %package -n iscsiuio Version: 0.7.8.2 @@ -70,17 +75,18 @@ %description -n iscsiuio This tool is to be used in conjunction with the Broadcom NetXtreme II Linux -driver (Kernel module name: 'bnx2' and 'bnx2x'), Broadcom CNIC driver, -and the Broadcom iSCSI driver (Kernel module name: 'bnx2i'). +driver (Kernel module name: "bnx2" and "bnx2x"), Broadcom CNIC driver, +and the Broadcom iSCSI driver (Kernel module name: "bnx2i"). This user space tool is used in conjunction with the following Broadcom Network Controllers: - bnx2: BCM5706, BCM5708, BCM5709 devices - bnx2x: BCM57710, BCM57711, BCM57711E, BCM57712, BCM57712E, + +* bnx2: BCM5706, BCM5708, BCM5709 devices +* bnx2x: BCM57710, BCM57711, BCM57711E, BCM57712, BCM57712E, BCM57800, BCM57810, BCM57840 devices This utility will provide the ARP and DHCP functionality for the iSCSI offload. The communication to the driver is done via Userspace I/O (Kernel module name -'uio'). +"uio"). %package devel Version: 2.0.876 @@ -101,8 +107,7 @@ %build make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing -DOFFLOAD_BOOT_SUPPORTED -DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" LDFLAGS="" user cd iscsiuio -touch NEWS -touch AUTHORS +touch AUTHORS NEWS autoreconf --install %configure --sbindir=/sbin make %{?_smp_mflags} CFLAGS="%{optflags}" @@ -119,22 +124,20 @@ (cd %{buildroot}/etc; ln -sf iscsi/iscsid.conf iscsid.conf) touch %{buildroot}%{_sysconfdir}/iscsi/initiatorname.iscsi install -m 0755 usr/iscsistart %{buildroot}/sbin -make DESTDIR=%{buildroot} -C iscsiuio install -%fdupes %{buildroot} +%make_install -C iscsiuio +%fdupes %{buildroot}/%{_prefix} %post %{?regenerate_initrd_post} if [ ! -f %{_sysconfdir}/iscsi/initiatorname.iscsi ] ; then /sbin/iscsi-gen-initiatorname fi -%{run_ldconfig} %{service_add_post iscsid.socket iscsid.service iscsi.service} %posttrans %{?regenerate_initrd_posttrans} %postun -%{run_ldconfig} %{service_del_postun iscsid.socket iscsid.service iscsi.service} %pre @@ -143,6 +146,9 @@ %preun %{service_del_preun iscsid.socket iscsid.service iscsi.service} +%post -n libopeniscsiusr0_1_0 -p /sbin/ldconfig +%postun -n libopeniscsiusr0_1_0 -p /sbin/ldconfig + %post -n iscsiuio %{service_add_post iscsiuio.socket iscsiuio.service} @@ -184,6 +190,8 @@ %{_mandir}/man8/iscsi-iname.8%{ext_man} %{_mandir}/man8/iscsi_fw_login.8%{ext_man} %{_udevrulesdir}/50-iscsi-firmware-login.rules + +%files -n libopeniscsiusr0_1_0 %{_libdir}/libopeniscsiusr.so* %files -n iscsiuio ++++++ open-iscsi-SUSE-latest.diff.bz2 ++++++ --- /var/tmp/diff_new_pack.7nd6uC/_old 2018-02-23 15:28:41.436923244 +0100 +++ /var/tmp/diff_new_pack.7nd6uC/_new 2018-02-23 15:28:41.440923099 +0100 @@ -50,6 +50,22 @@ depend: for dir in usr utils utils/fwparam_ibft; do \ +diff --git a/iscsiuio/src/unix/libs/cnic.c b/iscsiuio/src/unix/libs/cnic.c +index 9662f024041b..86fb1889db5c 100644 +--- a/iscsiuio/src/unix/libs/cnic.c ++++ b/iscsiuio/src/unix/libs/cnic.c +@@ -359,9 +359,8 @@ int cnic_handle_ipv4_iscsi_path_req(nic_t *nic, int fd, + &nic_iface->ustack.default_route_addr, + sizeof(dst_addr)); + } else { +- arp_retry = MAX_ARP_RETRY; +- LOG_DEBUG(PFX "%s: no default", nic->log_name); +- goto done; ++ LOG_DEBUG(PFX "%s: no default route address", ++ nic->log_name); + } + } + arp_retry = 0; diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile index 8b9b523c1d96..748ec6e6e24b 100644 --- a/libopeniscsiusr/Makefile