|
|
661ee5 |
%global oname targetcli-fb
|
|
|
661ee5 |
|
|
|
661ee5 |
Name: targetcli
|
|
|
661ee5 |
License: ASL 2.0
|
|
|
661ee5 |
Group: System Environment/Libraries
|
|
|
661ee5 |
Summary: An administration shell for storage targets
|
|
|
8fbc30 |
Version: 2.1.53
|
|
|
8fbc30 |
Release: 1%{?dist}
|
|
|
a135b2 |
URL: https://github.com/open-iscsi/%{oname}
|
|
|
a135b2 |
Source: %{url}/archive/v%{version}/%{oname}-%{version}.tar.gz
|
|
|
a135b2 |
Patch0: 0001-setup.py-add-the-socket-and-service-files-to-the-dat.patch
|
|
|
661ee5 |
BuildArch: noarch
|
|
|
661ee5 |
BuildRequires: python-devel python-setuptools
|
|
|
661ee5 |
Requires: python-rtslib >= 2.1.fb41, python-configshell, python-ethtool
|
|
|
661ee5 |
|
|
|
661ee5 |
|
|
|
661ee5 |
%description
|
|
|
661ee5 |
An administration shell for configuring iSCSI, FCoE, and other
|
|
|
661ee5 |
SCSI targets, using the TCM/LIO kernel target subsystem. FCoE
|
|
|
661ee5 |
users will also need to install and use fcoe-utils.
|
|
|
661ee5 |
|
|
|
661ee5 |
|
|
|
661ee5 |
%prep
|
|
|
661ee5 |
%setup -q -n %{oname}-%{version}
|
|
|
a135b2 |
%patch0 -p1
|
|
|
661ee5 |
|
|
|
661ee5 |
%build
|
|
|
661ee5 |
%{__python} setup.py build
|
|
|
661ee5 |
gzip --stdout targetcli.8 > targetcli.8.gz
|
|
|
a135b2 |
gzip --stdout targetclid.8 > targetclid.8.gz
|
|
|
661ee5 |
|
|
|
661ee5 |
%install
|
|
|
661ee5 |
%{__python} setup.py install --skip-build --root %{buildroot}
|
|
|
661ee5 |
mkdir -p %{buildroot}%{_sysconfdir}/target/backup
|
|
|
a135b2 |
mkdir -p %{buildroot}%{_sysconfdir}/target/pr
|
|
|
661ee5 |
mkdir -p %{buildroot}%{_mandir}/man8/
|
|
|
661ee5 |
install -m 644 targetcli.8.gz %{buildroot}%{_mandir}/man8/
|
|
|
a135b2 |
install -m 644 targetclid.8.gz %{buildroot}%{_mandir}/man8/
|
|
|
661ee5 |
|
|
|
661ee5 |
%files
|
|
|
661ee5 |
%{python_sitelib}/*
|
|
|
661ee5 |
%{_bindir}/targetcli
|
|
|
a135b2 |
%{_bindir}/targetclid
|
|
|
661ee5 |
%dir %{_sysconfdir}/target
|
|
|
661ee5 |
%dir %{_sysconfdir}/target/backup
|
|
|
a135b2 |
%dir %{_sysconfdir}/target/pr
|
|
|
661ee5 |
%doc COPYING README.md
|
|
|
661ee5 |
%{_mandir}/man8/targetcli.8.gz
|
|
|
a135b2 |
%{_mandir}/man8/targetclid.8.gz
|
|
|
a135b2 |
%{_usr}/lib/systemd/system/targetclid.service
|
|
|
a135b2 |
%{_usr}/lib/systemd/system/targetclid.socket
|
|
|
a135b2 |
|
|
|
661ee5 |
|
|
|
661ee5 |
%changelog
|
|
|
8fbc30 |
* Fri Oct 09 2020 Maurizio Lombardi <mlombard@redhat.com> - 2.1.53-1
|
|
|
8fbc30 |
- Rebase the targetcli package to fix some security issues
|
|
|
8fbc30 |
|
|
|
a135b2 |
* Mon Apr 06 2020 Maurizio Lombardi <mlombard@redhat.com> - 2.1.51-2
|
|
|
a135b2 |
- Add the interactive daemon console.
|
|
|
a135b2 |
|
|
|
a135b2 |
* Fri Apr 03 2020 Maurizio Lombardi <mlombard@redhat.com> - 2.1.fb51-1
|
|
|
a135b2 |
- Update to a new upstream version
|
|
|
a135b2 |
|
|
|
a135b2 |
* Wed Mar 25 2020 Maurizio Lombardi <mlombard@redhat.com> - 2.1.fb49-3
|
|
|
a135b2 |
- Respin a new release of targetcli.
|
|
|
a135b2 |
|
|
|
a135b2 |
* Mon Sep 09 2019 Maurizio Lombardi <mlombard@redhat.com> - 2.1.fb49-2
|
|
|
a135b2 |
- Get a lock to avoid the issues with concurrent backstore creation
|
|
|
a135b2 |
|
|
|
d8e09b |
* Tue Jan 29 2019 Maurizio Lombardi <mlombard@redhat.com> - 2.1.fb49-1
|
|
|
d8e09b |
- Rebase to latest upstream version
|
|
|
d8e09b |
|
|
|
e1dc77 |
* Wed Aug 08 2018 Maurizio Lombardi <mlombard@redhat.com> - 2.1.fb46-7
|
|
|
e1dc77 |
- Respin a new release of targetcli to avoid problems with TPS tests.
|
|
|
e1dc77 |
|
|
|
5cbafe |
* Wed Jun 13 2018 Maurizio Lombardi <mlombard@redhat.com> - 2.1.fb46-6
|
|
|
5cbafe |
- handle backups with block-level delete
|
|
|
5cbafe |
|
|
|
5cbafe |
* Mon Jun 04 2018 Maurizio Lombardi <mlombard@redhat.com> - 2.1.fb46-5
|
|
|
5cbafe |
- saveconfig: way for block-level save with delete command
|
|
|
5cbafe |
|
|
|
5c2807 |
* Mon Apr 23 2018 Maurizio Lombardi <mlombard@redhat.com> - 2.1.fb46-4
|
|
|
5c2807 |
- Properly detect errors when writing backup files. (Closes: #80) (#81)
|
|
|
5c2807 |
- Read number of backup files to keep from file
|
|
|
5c2807 |
- config: defend on '/etc/target/backup' directory
|
|
|
5c2807 |
- config: backup when current config is different from recent backup copy
|
|
|
5c2807 |
- config: rename key 'kept_backups' as 'max_backup_files'
|
|
|
5c2807 |
- backup: global option to tune max no. of backup conf files
|
|
|
5c2807 |
|
|
|
5c2807 |
* Fri Apr 13 2018 Maurizio Lombardi <mlombard@redhat.com> - 2.1.fb46-3
|
|
|
5c2807 |
- Support tcmu hw max sectors
|
|
|
5c2807 |
- create: add a way to set control string
|
|
|
5c2807 |
|
|
|
5c2807 |
* Wed Apr 11 2018 Maurizio Lombardi <mlombard@redhat.com> - 2.1.fb46-2
|
|
|
5c2807 |
- Add saveconfig command to StorageObject level
|
|
|
5c2807 |
|
|
|
7dc4a8 |
* Thu Mar 2 2017 Andy Grover <agrover@redhat.com> - 2.1.fb46-1
|
|
|
7dc4a8 |
- New upstream version
|
|
|
7dc4a8 |
- Drop no-model-alias.patch
|
|
|
7dc4a8 |
- Drop no-userbackstores.patch
|
|
|
7dc4a8 |
|
|
|
36e36b |
* Tue Aug 18 2015 Andy Grover <agrover@redhat.com> - 2.1.fb41-3
|
|
|
36e36b |
- add no-model-alias.patch, LIO no longer supports for pscsi
|
|
|
36e36b |
|
|
|
36e36b |
* Wed Jul 15 2015 Andy Grover <agrover@redhat.com> - 2.1.fb41-2
|
|
|
36e36b |
- add no-userbackstores.patch to not show, since not supported on RHEL
|
|
|
36e36b |
|
|
|
36e36b |
* Wed Jul 15 2015 Andy Grover <agrover@redhat.com> - 2.1.fb41-1
|
|
|
36e36b |
- Update to latest in Fedora
|
|
|
36e36b |
- Remove patches as fixes are in upstream version
|
|
|
36e36b |
|
|
|
49dea1 |
* Tue Nov 4 2014 Andy Grover <agrover@redhat.com> - 2.1.fb37-3
|
|
|
49dea1 |
- add tpg-invalid-tag.patch
|
|
|
49dea1 |
- add default-portal-pref.patch
|
|
|
49dea1 |
|
|
|
49dea1 |
* Tue Nov 4 2014 Andy Grover <agrover@redhat.com> - 2.1.fb37-2
|
|
|
49dea1 |
- add fix-session-detail.patch
|
|
|
49dea1 |
|
|
|
49dea1 |
* Thu Oct 9 2014 Andy Grover <agrover@redhat.com> - 2.1.fb37-1
|
|
|
49dea1 |
- New upstream version
|
|
|
49dea1 |
|
|
|
550229 |
* Mon Feb 24 2014 Andy Grover <agrover@redhat.com> - 2.1.fb34-1
|
|
|
550229 |
- New upstream version. Fixes rhbz #1066695
|
|
|
550229 |
|
|
|
550229 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.1.fb31-2
|
|
|
550229 |
- Mass rebuild 2013-12-27
|
|
|
550229 |
|
|
|
661ee5 |
* Fri Nov 1 2013 Andy Grover <agrover@redhat.com> - 2.1.fb31-1
|
|
|
661ee5 |
- New upstream version
|
|
|
661ee5 |
- Move service handling to python-rtslib
|
|
|
661ee5 |
- Remove old packaging bits: clean, buildroot, defattr
|
|
|
661ee5 |
|
|
|
550229 |
* Wed Sep 11 2013 Andy Grover <agrover@redhat.com> - 2.1.fb30-1
|
|
|
661ee5 |
- New upstream version
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Sep 10 2013 Andy Grover <agrover@redhat.com> - 2.1.fb29-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
- Remove no-longer-needed BuildRequires
|
|
|
661ee5 |
|
|
|
661ee5 |
* Mon Aug 5 2013 Andy Grover <agrover@redhat.com> - 2.1.fb28-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.fb27-2
|
|
|
661ee5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Jul 23 2013 Andy Grover <agrover@redhat.com> - 2.1.fb27-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
- License now Apache 2.0
|
|
|
661ee5 |
- Remove patch modules-not-loaded.patch
|
|
|
661ee5 |
|
|
|
550229 |
* Tue Jun 18 2013 Andy Grover <agrover@redhat.com> - 2.1.fb26-2
|
|
|
661ee5 |
- Add patch
|
|
|
661ee5 |
* modules-not-loaded.patch
|
|
|
661ee5 |
|
|
|
661ee5 |
* Fri Jun 7 2013 Andy Grover <agrover@redhat.com> - 2.1.fb26-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Thu May 9 2013 Andy Grover <agrover@redhat.com> - 2.1.fb25-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Thu May 2 2013 Andy Grover <agrover@redhat.com> - 2.1.fb24-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
- Update source URL
|
|
|
661ee5 |
|
|
|
661ee5 |
* Fri Apr 12 2013 Andy Grover <agrover@redhat.com> - 2.1.fb23-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Wed Apr 10 2013 Andy Grover <agrover@redhat.com> - 2.1.fb22-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Mon Mar 4 2013 Andy Grover <agrover@redhat.com> - 2.0.fb21-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Feb 26 2013 Andy Grover <agrover@redhat.com> - 2.0.fb20-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0rc1.fb19-2
|
|
|
661ee5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
661ee5 |
|
|
|
661ee5 |
* Mon Jan 7 2013 Andy Grover <agrover@redhat.com> - 2.0rc1.fb19-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Thu Jan 3 2013 Andy Grover <agrover@redhat.com> - 2.0rc1.fb18-2
|
|
|
661ee5 |
- Add python-ethtool BuildRequires
|
|
|
661ee5 |
|
|
|
661ee5 |
* Thu Dec 20 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb18-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
- Add python-ethtool requires
|
|
|
661ee5 |
- Update Source0 to use Github tar-from-tag instead of Downloads
|
|
|
661ee5 |
|
|
|
661ee5 |
* Thu Dec 13 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 2.0rc1.fb17-2
|
|
|
661ee5 |
- Scriptlets replaced with new systemd macros (#850335)
|
|
|
661ee5 |
|
|
|
661ee5 |
* Mon Nov 12 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb17-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Aug 7 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb16-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
- Update rtslib version dependency
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Jul 31 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb15-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0rc1.fb14-3
|
|
|
661ee5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
661ee5 |
|
|
|
661ee5 |
* Thu Jun 28 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb14-2
|
|
|
661ee5 |
- Fix %files to claim /etc/target, not claim sitelib
|
|
|
661ee5 |
|
|
|
661ee5 |
* Thu Jun 28 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb14-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Jun 12 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb13-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Wed May 30 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb12-1
|
|
|
661ee5 |
- Update Source URL to proper tarball
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Mon Apr 9 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb11-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Wed Feb 29 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb10-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Feb 21 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb9-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Thu Feb 16 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb8-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Wed Feb 8 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb7-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Fri Feb 3 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb6-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Jan 24 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb5-2
|
|
|
661ee5 |
- Update After= in service file to wait for localfs and network
|
|
|
661ee5 |
- Improve description in service file
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Jan 24 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb5-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Fri Jan 13 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb4-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Dec 13 2011 Andy Grover <agrover@redhat.com> - 2.0rc1.fb3-2
|
|
|
661ee5 |
- Fix service file to mount configfs before starting targetcli
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Dec 13 2011 Andy Grover <agrover@redhat.com> - 2.0rc1.fb3-1
|
|
|
661ee5 |
- New upstream release
|
|
|
661ee5 |
- Fixup service file for new start/stop targetcli commands
|
|
|
661ee5 |
|
|
|
661ee5 |
* Tue Dec 6 2011 Andy Grover <agrover@redhat.com> - 2.0rc1.fb2-1
|
|
|
661ee5 |
- New upstream source and release
|
|
|
661ee5 |
- Remove patches:
|
|
|
661ee5 |
* targetcli-git-version.patch
|
|
|
661ee5 |
* 0001-Remove-ads-from-cli-welcome-msg.-Mention-help-is-ava.patch
|
|
|
661ee5 |
* 0002-bundle-lio-utils.patch
|
|
|
661ee5 |
* 0003-Hack.-dump-scripts-aren-t-in-PATH-anymore-so-call-th.patch
|
|
|
661ee5 |
* 0004-ignore-errors-from-failure-to-set-device-attributes.patch
|
|
|
661ee5 |
* 0005-fix-spec_root-path.patch
|
|
|
661ee5 |
* 0006-add-docs.patch
|
|
|
661ee5 |
* 0007-all-start.patch
|
|
|
661ee5 |
|
|
|
661ee5 |
* Mon Nov 21 2011 Andy Grover <agrover@redhat.com> - 1.99.2.gitb03ec79-4
|
|
|
661ee5 |
- Update doc patch to include iscsi tutorial
|
|
|
661ee5 |
|
|
|
661ee5 |
* Wed Nov 2 2011 Andy Grover <agrover@redhat.com> - 1.99.2.gitb03ec79-3
|
|
|
661ee5 |
- Add buildrequires for systemd-units
|
|
|
661ee5 |
- use _unitdir
|
|
|
661ee5 |
- remove preun, modify post
|
|
|
661ee5 |
|
|
|
661ee5 |
* Wed Nov 2 2011 Andy Grover <agrover@redhat.com> - 1.99.2.gitb03ec79-2
|
|
|
661ee5 |
- Add patch
|
|
|
661ee5 |
* 0007-all-start.patch
|
|
|
661ee5 |
- Replace sysv init with systemd init
|
|
|
661ee5 |
|
|
|
661ee5 |
* Fri Oct 7 2011 Andy Grover <agrover@redhat.com> - 1.99.2.gitb03ec79-1
|
|
|
661ee5 |
- Initial Fedora packaging
|