bda814b
%global open_iscsi_version	2.1
261a1a1
%global open_iscsi_build	4
578a105
%global commit0			2a8f9d81d0d6b5094c3fe9c686e2afb2ec27058a
2abe1f9
%global shortcommit0		%(c=%{commit0}; echo ${c:0:7})
0e55d5b
8e38b27
# Disable python2 build by default
8e38b27
%bcond_with python2
8e38b27
cvsdist 2734589
Summary: iSCSI daemon and utility programs
cvsdist 2734589
Name: iscsi-initiator-utils
0e55d5b
Version: 6.%{open_iscsi_version}.%{open_iscsi_build}
5b7575d
Release: 9.git%{shortcommit0}%{?dist}
be68e03
License: GPLv2+
261a1a1
URL: https://github.com/open-iscsi/open-iscsi
7c06f46
Source0: https://github.com/open-iscsi/open-iscsi/archive/%{commit0}.tar.gz#/open-iscsi-%{shortcommit0}.tar.gz
0e55d5b
Source4: 04-iscsi
3c58b16
Source5: iscsi-tmpfiles.conf
0e55d5b
fdf0455
Patch0001: 0001-unit-file-tweaks.patch
bda814b
Patch0002: 0002-idmb_rec_write-check-for-tpgt-first.patch
bda814b
Patch0003: 0003-idbm_rec_write-seperate-old-and-new-style-writes.patch
bda814b
Patch0004: 0004-idbw_rec_write-pick-tpgt-from-existing-record.patch
bda814b
Patch0005: 0005-update-initscripts-and-docs.patch
bda814b
Patch0006: 0006-use-var-for-config.patch
bda814b
Patch0007: 0007-use-red-hat-for-name.patch
bda814b
Patch0008: 0008-libiscsi.patch
bda814b
Patch0009: 0009-Add-macros-to-release-GIL-lock.patch
bda814b
Patch0010: 0010-libiscsi-introduce-sessions-API.patch
bda814b
Patch0011: 0011-libiscsi-fix-discovery-request-timeout-regression.patch
bda814b
Patch0012: 0012-libiscsi-format-security-build-errors.patch
bda814b
Patch0013: 0013-libiscsi-fix-build-to-use-libopeniscsiusr.patch
bda814b
Patch0014: 0014-libiscsi-fix-build-against-latest-upstream-again.patch
bda814b
Patch0015: 0015-remove-the-offload-boot-supported-ifdef.patch
bda814b
Patch0016: 0016-Revert-iscsiadm-return-error-when-login-fails.patch
bda814b
Patch0017: 0017-dont-install-scripts.patch
bda814b
Patch0018: 0018-use-var-lib-iscsi-in-libopeniscsiusr.patch
bda814b
Patch0019: 0019-Coverity-scan-fixes.patch
bda814b
Patch0020: 0020-fix-upstream-build-breakage-of-iscsiuio-LDFLAGS.patch
fdf0455
Patch0021: 0021-use-Red-Hat-version-string-to-match-RPM-package-vers.patch
fdf0455
Patch0022: 0022-iscsi_if.h-replace-zero-length-array-with-flexible-a.patch
ddde1bd
Patch0023: 0023-stop-using-Werror-for-now.patch
c055794
Patch0024: 0024-minor-service-file-updates.patch
86c1407
Patch0025: 0001-Remove-dependences-from-iscsi-init.service.patch
1e689cd
Patch0026: 0026-try-not-to-require-network-online.patch
252a956
8e38b27
BuildRequires: flex bison doxygen kmod-devel systemd-units
6a62714
BuildRequires: autoconf automake libtool libmount-devel openssl-devel
f434b57
BuildRequires: isns-utils-devel
bda814b
BuildRequires: systemd-devel
eb7ab1c
Requires: %{name}-iscsiuio >= %{version}-%{release}
5b7575d
Requires: (fedora-release >= 38-0.23 if fedora-release)
6c1aaf9
Requires(post): systemd
6c1aaf9
Requires(preun): systemd
6c1aaf9
Requires(postun): systemd
cvsdist 2734589
e806329
# Old NetworkManager expects the dispatcher scripts in a different place
e806329
Conflicts: NetworkManager < 1.20
e806329
c2d5d21
%global _hardened_build 1
2789480
%global __provides_exclude_from ^(%{python2_sitearch}/.*\\.so|%{python3_sitearch}/.*\\.so)$
c2d5d21
cvsdist 2734589
%description
cvsdist 2734589
The iscsi package provides the server daemon for the iSCSI protocol,
cvsdist 2734589
as well as the utility programs used to manage it. iSCSI is a protocol
cvsdist 2734589
for distributed disk access using SCSI commands sent over Internet
cvsdist 2734589
Protocol networks.
cvsdist 2734589
eb7ab1c
%package iscsiuio
eb7ab1c
Summary: Userspace configuration daemon required for some iSCSI hardware
eb7ab1c
License: BSD
eb7ab1c
Requires: %{name} = %{version}-%{release}
eb7ab1c
eb7ab1c
%description iscsiuio
eb7ab1c
The iscsiuio configuration daemon provides network configuration help
eb7ab1c
for some iSCSI offload hardware.
eb7ab1c
7f6313a
%package devel
7f6313a
Summary: Development files for %{name}
7f6313a
Requires: %{name} = %{version}-%{release}
7f6313a
7f6313a
%description devel
7f6313a
The %{name}-devel package contains libraries and header files for
7f6313a
developing applications that use %{name}.
7f6313a
8e38b27
%if %{with python2}
4a83794
%package -n python2-%{name}
4a83794
%{?python_provide:%python_provide python2-%{name}}
929689a
Summary: Python %{python2_version} bindings to %{name}
bda814b
Requires: %{name} = %{version}-%{release}
8e38b27
BuildRequires: python2-devel
8e38b27
BuildRequires: python2-setuptools
8e38b27
4a83794
%description -n python2-%{name}
929689a
The %{name}-python2 package contains Python %{python2_version} bindings to the
929689a
libiscsi interface for interacting with %{name}
fdf0455
%endif
fdf0455
# ended with python2
929689a
929689a
%package -n python3-%{name}
8e38b27
%{?python_provide:%python_provide python3-%{name}}
929689a
Summary: Python %{python3_version} bindings to %{name}
bda814b
Requires: %{name} = %{version}-%{release}
8e38b27
BuildRequires: python3-devel
8e38b27
BuildRequires: python3-setuptools
018936f
BuildRequires: make
8e38b27
929689a
%description -n python3-%{name}
929689a
The %{name}-python3 package contains Python %{python3_version} bindings to the
929689a
libiscsi interface for interacting with %{name}
929689a
cvsdist 2734589
%prep
8e38b27
%autosetup -p1 -n open-iscsi-%{commit0}
0e55d5b
974636d
# change exec_prefix, there's no easy way to override
974636d
%{__sed} -i -e 's|^exec_prefix = /$|exec_prefix = %{_exec_prefix}|' Makefile
31786f0
cvsdist 2734589
%build
29101fc
# avoid undefined references linking failures
29101fc
%undefine _ld_as_needed
31786f0
31786f0
# configure sub-packages from here
31786f0
# letting the top level Makefile do it will lose setting from rpm
31786f0
cd iscsiuio
929689a
autoreconf --install
31786f0
%{configure}
31786f0
cd ..
31786f0
bda814b
%{__make} OPTFLAGS="%{optflags} %{?__global_ldflags}"
7f6313a
pushd libiscsi
8e38b27
%if %{with python2}
8e38b27
%py2_build
fdf0455
%endif
fdf0455
# ended with python2
8e38b27
%py3_build
cedd464
touch -r libiscsi.doxy html/*
7f6313a
popd
cvsdist 2734589
cedd464
cvsdist 2734589
%install
54e364e
%{__make} DESTDIR=%{?buildroot} install_programs install_doc install_etc install_libopeniscsiusr
c2d5d21
# upstream makefile doesn't get everything the way we like it
fdf0455
#rm $RPM_BUILD_ROOT%%{_sbindir}/iscsi_discovery
c2d5d21
rm $RPM_BUILD_ROOT%{_mandir}/man8/iscsi_discovery.8
e8d2112
rm $RPM_BUILD_ROOT%{_mandir}/man8/iscsi_fw_login.8
974636d
%{__install} -pm 755 usr/iscsistart $RPM_BUILD_ROOT%{_sbindir}
974636d
%{__install} -pm 644 doc/iscsistart.8 $RPM_BUILD_ROOT%{_mandir}/man8
974636d
%{__install} -pm 644 doc/iscsi-iname.8 $RPM_BUILD_ROOT%{_mandir}/man8
974636d
%{__install} -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
974636d
%{__install} -pm 644 iscsiuio/iscsiuiolog $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
974636d
974636d
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi
974636d
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/nodes
974636d
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/send_targets
974636d
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/static
974636d
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/isns
974636d
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/slp
974636d
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/ifaces
7f6313a
2d4a526
# for %%ghost
fdf0455
%{__install} -d $RPM_BUILD_ROOT%{_rundir}/lock/iscsi
fdf0455
touch $RPM_BUILD_ROOT%{_rundir}/lock/iscsi/lock
2d4a526
3b954e8
974636d
%{__install} -d $RPM_BUILD_ROOT%{_unitdir}
974636d
%{__install} -pm 644 etc/systemd/iscsi.service $RPM_BUILD_ROOT%{_unitdir}
1e689cd
%{__install} -pm 644 etc/systemd/iscsi-starter.service $RPM_BUILD_ROOT%{_unitdir}
fdf0455
%{__install} -pm 644 etc/systemd/iscsi-init.service $RPM_BUILD_ROOT%{_unitdir}
ddde1bd
%{__install} -pm 644 etc/systemd/iscsi-onboot.service $RPM_BUILD_ROOT%{_unitdir}
2789480
%{__install} -pm 644 etc/systemd/iscsi-shutdown.service $RPM_BUILD_ROOT%{_unitdir}
974636d
%{__install} -pm 644 etc/systemd/iscsid.service $RPM_BUILD_ROOT%{_unitdir}
974636d
%{__install} -pm 644 etc/systemd/iscsid.socket $RPM_BUILD_ROOT%{_unitdir}
974636d
%{__install} -pm 644 etc/systemd/iscsiuio.service $RPM_BUILD_ROOT%{_unitdir}
974636d
%{__install} -pm 644 etc/systemd/iscsiuio.socket $RPM_BUILD_ROOT%{_unitdir}
c2d5d21
974636d
%{__install} -d $RPM_BUILD_ROOT%{_libexecdir}
974636d
%{__install} -pm 755 etc/systemd/iscsi-mark-root-nodes $RPM_BUILD_ROOT%{_libexecdir}
c2d5d21
e806329
%{__install} -d $RPM_BUILD_ROOT%{_prefix}/lib/NetworkManager/dispatcher.d
e806329
%{__install} -pm 755 %{SOURCE4} $RPM_BUILD_ROOT%{_prefix}/lib/NetworkManager/dispatcher.d
c2d5d21
974636d
%{__install} -d $RPM_BUILD_ROOT%{_tmpfilesdir}
974636d
%{__install} -pm 644 %{SOURCE5} $RPM_BUILD_ROOT%{_tmpfilesdir}/iscsi.conf
c2d5d21
974636d
%{__install} -d $RPM_BUILD_ROOT%{_libdir}
974636d
%{__install} -pm 755 libiscsi/libiscsi.so.0 $RPM_BUILD_ROOT%{_libdir}
974636d
%{__ln_s}    libiscsi.so.0 $RPM_BUILD_ROOT%{_libdir}/libiscsi.so
974636d
%{__install} -d $RPM_BUILD_ROOT%{_includedir}
974636d
%{__install} -pm 644 libiscsi/libiscsi.h $RPM_BUILD_ROOT%{_includedir}
c2d5d21
8e38b27
%if %{with python2}
2789480
%{__install} -d $RPM_BUILD_ROOT%{python2_sitearch}
fdf0455
%endif
fdf0455
# ended with python2
2789480
%{__install} -d $RPM_BUILD_ROOT%{python3_sitearch}
2789480
pushd libiscsi
8e38b27
%if %{with python2}
8e38b27
%py2_install
fdf0455
%endif
fdf0455
# ended with python2
8e38b27
%py3_install
2789480
popd
c2d5d21
c2d5d21
cvsdist 2734589
%post
1e689cd
%systemd_post iscsi.service iscsi-starter.service iscsid.service iscsid.socket iscsi-onboot.service iscsi-init.service iscsi-shutdown.service
c055794
c055794
%preun
1e689cd
%systemd_preun iscsi.service iscsi-starter.service iscsid.service iscsid.socket iscsi-onboot.service iscsi-init.service iscsi-shutdown.service
c055794
c055794
%postun
1e689cd
%systemd_postun iscsi.service iscsi-starter.service iscsid.service iscsid.socket iscsi-onboot.service iscsi-init.service iscsi-shutdown.service
3c948fa
6ac03db
%post iscsiuio
6ac03db
%systemd_post iscsiuio.service iscsiuio.socket
6ac03db
6ac03db
%preun iscsiuio
6ac03db
%systemd_preun iscsiuio.service iscsiuio.socket
6ac03db
6ac03db
%postun iscsiuio
0b4246d
%systemd_postun iscsiuio.service iscsiuio.socket
6ac03db
1e689cd
%triggerun -- %{name} < 6.2.1.4-8
1e689cd
# This is for upgrades from previous versions before iscsi-starter.service was added.
1e689cd
systemctl --no-reload preset iscsi.service iscsi-starter.service &>/dev/null || :
cb43579
cvsdist 2734589
%files
3b954e8
%doc README
c2d5d21
%dir %{_sharedstatedir}/iscsi
c2d5d21
%dir %{_sharedstatedir}/iscsi/nodes
c2d5d21
%dir %{_sharedstatedir}/iscsi/isns
c2d5d21
%dir %{_sharedstatedir}/iscsi/static
c2d5d21
%dir %{_sharedstatedir}/iscsi/slp
c2d5d21
%dir %{_sharedstatedir}/iscsi/ifaces
c2d5d21
%dir %{_sharedstatedir}/iscsi/send_targets
261a1a1
%ghost %attr(0700, root, root) %{_rundir}/lock/iscsi
261a1a1
%ghost %attr(0600, root, root) %{_rundir}/lock/iscsi/lock
6c1aaf9
%{_unitdir}/iscsi.service
1e689cd
%{_unitdir}/iscsi-starter.service
ddde1bd
%{_unitdir}/iscsi-onboot.service
fdf0455
%{_unitdir}/iscsi-init.service
2789480
%{_unitdir}/iscsi-shutdown.service
6c1aaf9
%{_unitdir}/iscsid.service
6c1aaf9
%{_unitdir}/iscsid.socket
2a4a67d
%{_libexecdir}/iscsi-mark-root-nodes
e806329
%{_prefix}/lib/NetworkManager
c2d5d21
%{_tmpfilesdir}/iscsi.conf
a5f731e
%dir %{_sysconfdir}/iscsi
fc80682
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/iscsi/iscsid.conf
eb7ab1c
%{_sbindir}/iscsi-iname
eb7ab1c
%{_sbindir}/iscsiadm
eb7ab1c
%{_sbindir}/iscsid
eb7ab1c
%{_sbindir}/iscsistart
7f6313a
%{_libdir}/libiscsi.so.0
eb7ab1c
%{_mandir}/man8/iscsi-iname.8.gz
eb7ab1c
%{_mandir}/man8/iscsiadm.8.gz
eb7ab1c
%{_mandir}/man8/iscsid.8.gz
eb7ab1c
%{_mandir}/man8/iscsistart.8.gz
54e364e
%{_libdir}/libopeniscsiusr.so.*
eb7ab1c
eb7ab1c
%files iscsiuio
eb7ab1c
%{_sbindir}/iscsiuio
eb7ab1c
%{_unitdir}/iscsiuio.service
eb7ab1c
%{_unitdir}/iscsiuio.socket
c2d5d21
%config(noreplace) %{_sysconfdir}/logrotate.d/iscsiuiolog
eb7ab1c
%{_mandir}/man8/iscsiuio.8.gz
cvsdist 2734589
7f6313a
%files devel
7f6313a
%doc libiscsi/html
7f6313a
%{_libdir}/libiscsi.so
7f6313a
%{_includedir}/libiscsi.h
9f9048a
%{_libdir}/libopeniscsiusr.so
9f9048a
%{_includedir}/libopeniscsiusr.h
9f9048a
%{_includedir}/libopeniscsiusr_common.h
9f9048a
%{_includedir}/libopeniscsiusr_iface.h
9f9048a
%{_includedir}/libopeniscsiusr_node.h
9f9048a
%{_includedir}/libopeniscsiusr_session.h
9f9048a
%{_libdir}/pkgconfig/libopeniscsiusr.pc
5a3872e
8e38b27
%if %{with python2}
4a83794
%files -n python2-%{name}
929689a
%{python2_sitearch}/*
fdf0455
%endif
fdf0455
# ended with python2
929689a
929689a
%files -n python3-%{name}
929689a
%{python3_sitearch}/*
929689a
cvsdist 2734589
%changelog
5b7575d
* Mon Feb 06 2023 Gordon Messmer <gordon.messmer@gmail.com> - 6.2.1.4-9.git2a8f9d8
5b7575d
- Fix fedora-release requirement.
5b7575d
1e689cd
* Sun Jan 22 2023 Gordon Messmer <gordon.messmer@gmail.com> - 6.2.1.4-8.git2a8f9d8
1e689cd
- Avoid forcing remote-fs-pre after network-online if possible.
1e689cd
6affcd7
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.1.4-7.git2a8f9d8
6affcd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
6affcd7
52a2e54
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.1.4-6.git2a8f9d8
52a2e54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
52a2e54
41a9a20
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 6.2.1.4-5.git2a8f9d8
41a9a20
- Rebuilt for Python 3.11
41a9a20
ea0f1b1
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.1.4-4.git2a8f9d8
ea0f1b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
ea0f1b1
86c1407
* Mon Nov 01 2021 Chris Leech <cleech@redhat.com> - 6.2.1.4-3.git2a8f9d8
86c1407
- fix iscsi-init.service running in initramfs (DefaultDependencies=no)
86c1407
2bbfd3f
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 6.2.1.4-2.git2a8f9d8
2bbfd3f
- Rebuilt with OpenSSL 3.0.0
2bbfd3f
578a105
* Wed Aug 11 2021 Chris Leech <cleech@redhat.com> - 6.2.1.4-1.git2a8f9d8
578a105
- new upstream
578a105
- iscsiuio fixes for newer upstream bnx2x driver having version removed
578a105
756d456
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.1.4-0.git095f59c.2
756d456
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
756d456
e532795
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 6.2.1.4-0.git095f59c.1
e532795
- Rebuilt for Python 3.10
e532795
686eb25
* Tue Apr 13 2021 Chris Leech <cleech@redhat.com> - 6.2.1.4-0.git095f59c
686eb25
- rebase to upstream 2.1.4
686eb25
- copy CI gating tests from RHEL
686eb25
c055794
* Thu Feb 18 2021 Chris Leech <cleech@redhat.com> - 6.2.1.2-5.gita8fcb37
c055794
- unit file changes
c055794
eecc7a5
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.1.2-4.gita8fcb37
eecc7a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
eecc7a5
9f9048a
* Thu Nov 05 2020 Chris Leech <cleech@redhat.com> - 6.2.1.2-3.gita8fcb37
9f9048a
- add libopeniscsiusr content to iscsi-initiator-utils-devel
9f9048a
a2e117b
* Mon Sep 21 2020 Chris Leech <cleech@redhat.com> - 6.2.1.2-1.git13e7f58
a2e117b
- iscsiadm overflow regression when discovering many targets at once
a2e117b
- check for invalid session id during stop connection
a2e117b
- add ability to attempt target logins asynchronously
a2e117b
0b630fa
* Tue Aug 11 2020 Christian Glombek <cglombek@redhat.com> - 6.2.1.2-0.git802688d
fdf0455
- Update to upstream v2.1.2
fdf0455
- Remove systemctl enable calls, as this is now handled by Fedora presets
fdf0455
- per the guidelines
fdf0455
- Remove initiator name generation, as this is now handled by an init service
fdf0455
- Install ghost lockfile and dir to /run instead of /var
fdf0455
- Rebased/fixed up patches
fdf0455
- Fixed macros in comments and comments after macros
fdf0455
- Merged service-file-tweaks.patch and
fdf0455
- improve-systemd-service-files-for-boot-session-handl.patch
fdf0455
- into unit-file-tweaks.patch 
fdf0455
- Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1493296
fdf0455
- Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1729740
fdf0455
- Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1834509
fdf0455
c6f979b
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.1.1-0.gitac87641.2
c6f979b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c6f979b
6e6c59b
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 6.2.1.1-0.gitac87641.1
6e6c59b
- Rebuilt for Python 3.9
6e6c59b
0b630fa
* Mon Mar 02 2020 Chris Leech <cleech@redhat.com> - 6.2.1.1-0.gitac87641
2c41582
- rebase to new upstream v2.1.1
2c41582
- enhanced CHAP options are now a configuration to deal with broken targets (#1774746)
2c41582
252a956
* Sun Mar 01 2020 Adam Williamson <awilliam@redhat.com> - 6.2.1.0-2.git4440e57
252a956
- Backport upstream d3daa7a2 to fix bz #1774746
252a956
3ce6ddf
* Mon Feb 24 2020 Than Ngo <than@redhat.com> - 6.2.1.0-1.git4440e57
3ce6ddf
- upstream patch to support gcc -fno-common option
3ce6ddf
fcf7fad
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.1.0-0.git4440e57.1
fcf7fad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
fcf7fad
bda814b
* Tue Nov 19 2019 Chris Leech <cleech@redhat.com> - 6.2.1.0-0.git4440e57
bda814b
- update to upstream v2.1.0
bda814b
e806329
* Thu Aug 22 2019 Lubomir Rintel <lkundrak@v3.sk> - 6.2.0.876-12.gitf3c8e90
e806329
- Move the NetworkManager dispatcher script out of /etc
e806329
f4c400c
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 6.2.0.876-11.gitf3c8e90
f4c400c
- Rebuilt for Python 3.8
f4c400c
ba8447c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0.876-10.gitf3c8e90
ba8447c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ba8447c
0b4246d
* Thu May 30 2019 Chris Leech <cleech@redhat.com> - 6.2.0.876-9.gitf3c8e90
fdf0455
- FTBFS: %%systemd_postun scriptlets need service files as an argument
0b4246d
44927bf
* Tue Feb 12 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.2.0.876-8.gitf3c8e90
44927bf
- Remove obsolete scriptlets
44927bf
afd6175
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0.876-7.gitf3c8e90
afd6175
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
afd6175
29101fc
* Thu Jan 10 2019 Miro Hrončok <mhroncok@redhat.com> - 6.2.0.876-6.gitf3c8e90
29101fc
- Disable python2 build
29101fc
7f68a1c
* Tue Jul 10 2018 Chris Leech <cleech@redhat.com> - 6.2.0.876-5.gitf3c8e90
7f68a1c
- iscsiuio: add mutex to protect netlink buffer for pass-through xmit
7f68a1c
- iscsid: get gateway information from sysfs when recovering sessions
7f68a1c
- enabled MaxOustandingR2T negotiation during login
7f68a1c
f06c07d
* Mon Jun 25 2018 Adam Williamson <awilliam@redhat.com> - 6.2.0.876-4.git4ef9261
f06c07d
- Rebuilt for Python 3.7, again
f06c07d
2609792
* Mon Jun 25 2018 Adam Williamson <awilliam@redhat.com> - 6.2.0.876-3.git4ef9261
2609792
- Link libiscsi against libopeniscsiusr (bz #1594946) (python 3.6 build)
2609792
5aefa61
* Wed Jun 20 2018 Miro Hrončok <mhroncok@redhat.com> - 6.2.0.876-2.git4ef9261
5aefa61
- Rebuilt for Python 3.7
5aefa61
54e364e
* Tue Jun 19 2018 Chris Leech <cleech@redhat.com> - 6.2.0.876-1.git4ef9261
54e364e
- pull in post 2.0.876 tagged fixes from upstream git
54e364e
- minimal packaging of libopeniscsiusr (internal use only, no dev package yet)
8e38b27
- Conditionalize the python2 subpackage [Charalampos Stratakis <cstratak@redhat.com>]
54e364e
e8d2112
* Tue Jun 19 2018 Chris Leech <cleech@redhat.com> - 6.2.0.876-1.git24580ad
e8d2112
- rebase to upstream 2.0.876
e8d2112
833bc01
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 6.2.0.874-10.git86e8892
833bc01
- Rebuilt for Python 3.7
833bc01
cd75228
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0.874-9.git86e8892
cd75228
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cd75228
23423d1
* Fri Jan 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 6.2.0.874-8.git86e8892
23423d1
- Update Python 2 dependency declarations to new packaging standards
23423d1
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
23423d1
4a83794
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 6.2.0.874-7.git86e8892
4a83794
- Python 2 binary package renamed to python2-iscsi-initiator-utils
4a83794
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
4a83794
617de98
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0.874-6.git86e8892
617de98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
617de98
3b54831
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0.874-5.git86e8892
3b54831
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3b54831
f434b57
* Wed Apr 12 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-4.git86e8892
f434b57
- rebuild to use shared libisns
f434b57
3e84e8c
* Tue Feb 28 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-3.git86e8892
3e84e8c
- libiscsi: fix discovery command timeout regression
3e84e8c
- libiscsi: fix format security build errors
3e84e8c
569cde1
* Thu Feb 16 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-2.git86e8892
569cde1
- fix regression with iscsiadm discoverydb commands having a 0 timeout
569cde1
7c06f46
* Thu Feb 09 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-1
7c06f46
- update to 2.0.874
7c06f46
7bc51f9
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 6.2.0.873-35.git4c1f2d9
7bc51f9
- Rebuild for Python 3.6
7bc51f9
643c276
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-34.git4c1f2d9
643c276
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
643c276
949addd
* Fri Feb 19 2016 Chris Leech <cleech@redhat.com> - 6.2.0.873-33.git4c1f2d9
949addd
- sync with upstream
949addd
- sysfs handling changes to speed up operations over large number of sessions
949addd
870cad9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0.873-32.git4c9d6f9
870cad9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
870cad9
6a62714
* Wed Feb  3 2016 Michael Schwendt <mschwendt@fedoraproject.org> - 6.2.0.873-31.git4c9d6f9
6a62714
- BuildRequires: isns-utils-static for -lisns (bz #1291913)
6a62714
Robert Kuska e55ef4c
* Tue Nov 03 2015 Robert Kuska <rkuska@redhat.com> - 6.2.0.873-30.git4c9d6f9
Robert Kuska e55ef4c
- Rebuilt for Python3.5 rebuild
Robert Kuska e55ef4c
2abe1f9
* Tue Oct 06 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-29.git4c9d6f9
2abe1f9
- rebase with upstream, change Source0 url to github
2abe1f9
- build with external isns-utils
2abe1f9
cb43579
* Mon Oct 05 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-28.git6aa2c9b
cb43579
- fixed broken multiple trigger scripts, removed old pre-systemd migration triggers
cb43579
- added libiscsi session API patch (bz #1262279)
cb43579
91ce8a8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-27.git6aa2c9b
91ce8a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
91ce8a8
929689a
* Wed Jun 10 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-26.git6aa2c9b
929689a
- rebase to upstream snapshot
929689a
- add patch to improve GIL lock performance in libiscsi
929689a
- Split Python 2 and Python 3 bindings out into subpackages
929689a
2789480
* Wed Jan 28 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-25.gitc9d830b
2789480
- split out session logout on shutdown to a separate service
2789480
- 985321 roll up libiscsi patches, update python bindings to support python3
16c8479
- scriptlets were never split out properly for the iscsiuio subpackage
16c8479
- fix regression in network interface binding
16c8479
- created iscsi-shutdown.service to ensure that session cleanup happens
16c8479
- Add --with-slp=no
16c8479
- segfault from unexpected netlink event during discovery
0047874
- inhibit strict aliasing optimizations in iscsiuio, rpmdiff error
2789480
c30d436
* Thu Oct 23 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-24.gitc9d830b
c30d436
- sync with upstream v2.0.873-84-gc9d830b
c30d436
- ignore iscsiadm return in iscsi.service
c30d436
- make sure systemd order against remote mounts is correct
c30d436
- add discovery as a valid mode in iscsiadm.8
c30d436
- make sure to pass --with-security=no to isns configure
c30d436
8bdd644
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-23
8bdd644
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8bdd644
460963b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-22
460963b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
460963b
f8da4ee
* Mon Apr 14 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-21
fbd8563
- boot session handling improvements
f8da4ee
- split out iscsiuio into a seperate sub-package
f8da4ee
- sync with new upstream additions
f8da4ee
- revert change to return code when calling login_portal for sessions
4b292f8
  that already exist, as it impacts users scripting around iscsiadm
4b292f8
5d97fd1
* Tue Dec 10 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-17
695b8c9
- fix regression in glob use, inappropriate error code escape
5d97fd1
- clean up dead node links from discovery when reusing tpgt
695b8c9
a47be9a
* Mon Nov 25 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-16
a47be9a
- fix iscsiuio socket activation
e4192b1
- have systemd start socket units on iscsiadm use, if not already listening
a47be9a
974636d
* Sun Sep 15 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-15
974636d
- move /sbin to /usr/sbin
974636d
- use rpm macros in install rules
974636d
31786f0
* Fri Sep 13 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-14
31786f0
- fix iscsiuio hardened build and other compiler flags
31786f0
f9b971f
* Fri Aug 23 2013 Andy Grover <agrover@redhat.com> - 6.2.0.873-13
f9b971f
- Fix patch 0041 to check session != NULL before calling iscsi_sysfs_read_boot()
f9b971f
241a29f
* Tue Aug 20 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-12
241a29f
- fix regression in last build, database records can't be accessed
241a29f
2a4a67d
* Mon Aug 19 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-11
2a4a67d
- iscsi boot related fixes
2a4a67d
  make sure iscsid gets started if there are any boot sessions running
2a4a67d
  add reload target to fix double session problem when restarting from NM
2a4a67d
  don't rely on session list passed from initrd, never got fully implemented
2a4a67d
  remove patches related to running iscsid from initrd, possible to revisit later
2a4a67d
c2d5d21
* Sun Aug 18 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-10
c2d5d21
- sync with upstream git, minor context fixes after rebase of out-of-tree patches
c2d5d21
- iscsiuio is merged upstream, remove old source archive and patches
c2d5d21
- spec cleanups to fix rpmlint issues
c2d5d21
be68e03
* Sun Aug  4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 6.2.0.873-9
be68e03
- Fix FTBFS, cleanup spec
be68e03
74e8695
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-8
74e8695
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
74e8695
3c58b16
* Tue Jun 11 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-7
3c58b16
- Use the systemd tmpfiles service to recreate lockfiles in /var/lock
643ff5c
- 955167 build as a position independent executable
a6ea154
- 894576 fix order of setuid/setgid and drop additional groups
3c58b16
631ea07
* Tue May 28 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-6
631ea07
- Don't have iscsiadm scan for autostart record if node db is empty (bug #951951)
631ea07
3bd762b
* Tue Apr 30 2013 Orion Poplawski <orion@cora.nwra.com> - 6.2.0.873-5
3bd762b
- Fix typo in NM dispatcher script (bug #917058)
3bd762b
3c948fa
* Thu Feb 21 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-4
3c948fa
- build with libkmod support, instead of calling out to modprobe
3c948fa
- enable socket activation by default
3c948fa
31b81b6
* Thu Jan 24 2013 Kalev Lember <kalevlember@gmail.com> - 6.2.0.873-3
31b81b6
- Fix the postun script to not use ldconfig as the interpreter
31b81b6
f19f928
* Wed Jan 23 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-2
f19f928
- package iscsi_mark_root_nodes script, it's being referenced by the unit files
f19f928
6c1aaf9
* Tue Jan 22 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-1
6c1aaf9
- rebase to new upstream code
6c1aaf9
- systemd conversion
259ee6b
- 565245 Fix multilib issues caused by timestamp in doxygen footers
6c1aaf9
9cb10dd
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-19
9cb10dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9cb10dd
be68e03
* Tue Feb 14 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.18
Mike Christie 1d09df9
- 789683 Fix boot slow down when the iscsi service is started
Mike Christie 1d09df9
  (regression added in 6.2.0.872.16 when the nm wait was added).
Mike Christie 1d09df9
be68e03
* Mon Feb 6 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.17
Mike Christie 658ff4f
- 786174 Change iscsid/iscsi service startup, so it always starts
Mike Christie 658ff4f
  when called.
Mike Christie 658ff4f
Mike Christie c6e1f6b
* Sat Feb 4 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.16
Mike Christie c6e1f6b
- 747479 Fix iscsidevs handling of network requirement
Mike Christie c6e1f6b
1c4f613
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-15
1c4f613
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1c4f613
Mike Christie 8c735fc
* Wed Nov 30 2011 Mike Christie <mcrhsit@redhat.com> 6.2.0.872.14
Mike Christie 8c735fc
- Fix version string to reflect fedora and not rhel.
Mike Christie 8c735fc
Mike Christie 3949e15
* Tue Oct 18 2011 Mike Christie <mcrhsit@redhat.com> 6.2.0.872.13
Mike Christie 3949e15
- Update iscsi tools.
Mike Christie 3949e15
f149ee2
* Sat Apr 30 2011 Hans de Goede <hdegoede@redhat.com> - 6.2.0.872-12
f149ee2
- Change iscsi init scripts to check for networking being actually up, rather
f149ee2
  then for NetworkManager being started (#692230)
f149ee2
2d4a526
* Tue Apr 26 2011 Hans de Goede <hdegoede@redhat.com> - 6.2.0.872-11
2d4a526
- Fix iscsid autostarting when upgrading from an older version
2d4a526
  (add iscsid.startup key to iscsid.conf on upgrade)
2d4a526
- Fix printing of [ OK ] when successfully stopping iscsid
2d4a526
- systemd related fixes:
2d4a526
 - Add Should-Start/Stop tgtd to iscsi init script to fix (re)boot from
2d4a526
   hanging when using locally hosted targets
2d4a526
 - %%ghost /var/lock/iscsi and contents (#656605)
2d4a526
2d4a526
* Mon Apr 25 2011 Mike Christie <mchristi@redhat.com> 6.2.0.872-10
2d4a526
- Fix iscsi init scripts check for networking being up (#692230)
Mike Christie a04b98f
832199a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-9
832199a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild