Blame SPECS/iscsi-initiator-utils.spec

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