Blame SPECS/iscsi-initiator-utils.spec

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