Blame SPECS/iscsi-initiator-utils.spec

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