Commit Graph

32 Commits

Author SHA256 Message Date
Lee Duncan
79323e5342 Accepting request 1137721 from home:dmdiss:bsc1218634_targetcli_drop_rbd
- Drop downstream-only LIO target_core_rbd support (bsc#1218634)
  * Split-out-blockdev-readonly-state-detection-helper.patch
  * rbd-support.patch

OBS-URL: https://build.opensuse.org/request/show/1137721
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=57
2024-01-10 21:07:29 +00:00
Lee Duncan
a9c479c247 Accepting request 1120377 from home:lee_duncan:branches:Base:System
- Update to version 2.1.57:
  * version 2.1.57
  * target: remove the reference to MAX_LUN

OBS-URL: https://build.opensuse.org/request/show/1120377
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=55
2023-10-25 21:26:30 +00:00
Coly Li
b995bb190b Accepting request 1091113 from home:lee_duncan:branches:Base:System
- Update to version 2.1.56:
  * version 2.1.56
  * Revert "fix setting preference rollback error"
  * version 2.1.55
  * Fix changing savedir directory mode
  * targetcli: avoild Ctrl+C print error stack
  * fix setting preference rollback error
  Also, remove patch no longer needed (since it's upstream):
  * Fix-changing-savedir-directory-mode.patch

OBS-URL: https://build.opensuse.org/request/show/1091113
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=53
2023-06-06 15:50:03 +00:00
Lee Duncan
5426789916 Accepting request 1083878 from home:lee_duncan:branches:Base:System
- Added one upstream commit for CVE-2020-13867 (bsc#1172743),
  part 2. This time, only modify permisssions on directory where
  config is stored if it is /etc/target, adding patch:
  * Fix-changing-savedir-directory-mode.patch

OBS-URL: https://build.opensuse.org/request/show/1083878
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=51
2023-05-01 17:35:41 +00:00
Lee Duncan
874e0dfe65 Accepting request 898853 from home:lee_duncan:branches:Base:System
- Update to version 2.1.54:
  * version 2.1.54
  * fileio backstore: fix sparse file creation
  * Do not install systemd files in setup.py
  Removing the need for our patch fix-setup-install.patch,
  since that managed systemd file locations, now handled
  in the SPEC file. Also, fixed incorrect spelling of
  targetclid as targetcld for preun stop_on_removal.

OBS-URL: https://build.opensuse.org/request/show/898853
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=49
2021-06-10 16:32:52 +00:00
Lee Duncan
7cb5cef690 Accepting request 866425 from home:lee_duncan:branches:Base:System
- Updated SPEC file to support multiple python3 versions at
  the same time, and replaced deprecated %ifpython3 macro,
  as suggested by build service. Also updated "common" sub-
  package description.

OBS-URL: https://build.opensuse.org/request/show/866425
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=47
2021-01-24 22:53:13 +00:00
Lee Duncan
b86fd5c099 Accepting request 817943 from home:lee_duncan:branches:Base:System
- Update to version 2.1.53:
  * version 2.1.53
  * saveconfig: set right perms on /etc/target/ dir
  * saveconfig: set right perms on backup dir
  * saveconfig: set 0o600 perms on backupfiles
  * uds: set right permissions at bind() time
  This removed patches which are included upstream:
  * 0001-uds-set-right-permissions-at-bind-time.patch
  * 0002-saveconfig-set-0o600-perms-on-backupfiles.patch
  * 0003-saveconfig-set-right-perms-on-backup-dir.patch
  * 0004-saveconfig-set-right-perms-on-etc-target-dir.patch
  And replaced the tarball with targetcli-fb-2.1.53.tar.xz

OBS-URL: https://build.opensuse.org/request/show/817943
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=45
2020-06-30 21:06:27 +00:00
Lee Duncan
b0e48b3756 Accepting request 813263 from home:lee_duncan:branches:Base:System
- Added 4 upstream commits for CVE-2020-13867 (bsc#1172743),
  adding patches:
  * 0001-uds-set-right-permissions-at-bind-time.patch
  * 0002-saveconfig-set-0o600-perms-on-backupfiles.patch
  * 0003-saveconfig-set-right-perms-on-backup-dir.patch
  * 0004-saveconfig-set-right-perms-on-etc-target-dir.patch

OBS-URL: https://build.opensuse.org/request/show/813263
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=43
2020-06-10 14:50:07 +00:00
Lee Duncan
eca064f902 Accepting request 808061 from home:lee_duncan:branches:Base:System
Also, add a patch to move systemd unit files to /usr/lib/systemd/system:
  * fix-setup-install.patch

OBS-URL: https://build.opensuse.org/request/show/808061
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=41
2020-05-21 20:58:32 +00:00
Lee Duncan
0623cd0a24 Accepting request 808051 from home:lee_duncan:branches:Base:System
- Update to version 2.1.52:
  * version 2.1.52
  * daemon-interactive: do not allow clearing the prompt
  * daemon-interactive: show path on prompt
  * daemonized-mode: add interactive shell support
  * Use temp file objects for temporary storage area
  * Fix StringIO/BytesIO stuck issue
  * Fix targetclid daemon infinite stuck
  * targetclid.sock: change SocketMode to 0600
    (bsc#1168415 CVE-2020-10699)
  * setup.py: add the socket and service files to the data_files section
  * Use StringIO as a buffer instead of a file

OBS-URL: https://build.opensuse.org/request/show/808051
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=40
2020-05-21 18:50:43 +00:00
Lee Duncan
ddb82c3654 Accepting request 775439 from home:lee_duncan:branches:Base:System
- Update to version 2.1.51 from 2.1.49, which includes
  the addition of a targetcli daemon, which can be used
  to speed up batch processing. See changes file for
  details.

OBS-URL: https://build.opensuse.org/request/show/775439
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=38
2020-02-18 18:51:35 +00:00
Lee Duncan
2207f820d2 Accepting request 769729 from home:dimstar:Factory
Shortcut through -mini

OBS-URL: https://build.opensuse.org/request/show/769729
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=36
2020-02-04 17:55:34 +00:00
Lee Duncan
feaec56434 Accepting request 724876 from home:lee_duncan:branches:Base:System
Fix changes file by removing listing of patch not used.

OBS-URL: https://build.opensuse.org/request/show/724876
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=34
2019-08-20 17:43:27 +00:00
Lee Duncan
777dabc5a7 removing unused patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=31
2019-08-19 15:36:08 +00:00
Lee Duncan
0de3ab60e2 Update to close to the latest upstream.
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=30
2019-08-19 15:35:35 +00:00
Hannes Reinecke
28aaa7cf95 Accepting request 704402 from home:dmdiss:bsc1121998_emulate_pr
- support emulate_pr attribute changes (bsc#1121998)
  + Add-emulate_pr-backstore-attribute.patch
- changelog: fix typo bsc#11234233 -> bsc#1123423

OBS-URL: https://build.opensuse.org/request/show/704402
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=28
2019-05-21 10:08:17 +00:00
Lee Duncan
776fabd5ec Accepting request 672534 from home:lee_duncan:branches:Base:System
- Ensure this package and the deprecated lio-utils package
  do not run at the same time, in a sane way (bsc#11234233),
  updating the source file targetcli-fb.service. Also, updated
  the SPEC file with new year, updated URL, and http->https.

OBS-URL: https://build.opensuse.org/request/show/672534
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=26
2019-02-07 17:46:11 +00:00
Lee Duncan
ac583dfd5e Accepting request 656020 from home:dmdiss:bsc1118516_targetcli_rbd_15spx
- Enable RBD support for SLE/Leap 15+ (bsc#1118516)

OBS-URL: https://build.opensuse.org/request/show/656020
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=24
2018-12-07 14:59:19 +00:00
Lee Duncan
4a61c20fae Accepting request 643046 from home:lee_duncan:branches:Base:System
- Update to version 2.1.49:
  * version 2.1.fb49
  * targetcli-fb: Add support for media change
  * fix the parameter of define_config_group_param
  * saveconfig: handle backups with block-level delete
  * saveconfig: way for block-level save with delete command
  * create: add a way to set control string
  * fix amount of backup files in backup dir
  * config: add saveconfig command to StorageObject level
  * Allow to customize a home directory
  * Fix default max_backup_files in ui_command_saveconfig
  * MappedLuns and Luns max number is not the same anymore
  * Use signed char instead of char
  * version 2.1.fb48
  * remove wrong exit code from targetcli --version
  * backup: global option to tune max no. of backup conf files
  * config: rename key 'kept_backups' as 'max_backup_files'
  * config: backup when current config is different from recent backup copy
  * config: defend on '/etc/target/backup' directory
  * Auto-detect readonly state for iblock devices
  * Read number of backup files to keep from file
  * skip refreshing user backed storage object when it is null
  * Replace dbus-python with GObject Introspection
 This replaces targetcli-fb-2.1.47.tar.xz with targetcli-fb-2.1.49.tar.xz,
 and removes the following patches:
 * Auto-detect-readonly-state-for-iblock-devices.patch
 * Use-signed-char-instead-of-char.patch
 * targetcli-only-save-old-config-if-present.patch
 and updates the SPEC file.

OBS-URL: https://build.opensuse.org/request/show/643046
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=22
2018-10-19 00:45:23 +00:00
Lee Duncan
abfb49c9bf Accepting request 599502 from home:lee_duncan:branches:Base:System
- Only save current config to backup if current
  config exists (bsc#1090424), adding patch:
  * targetcli-only-save-old-config-if-present.patch

OBS-URL: https://build.opensuse.org/request/show/599502
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=20
2018-04-20 20:39:29 +00:00
Lee Duncan
f8c3097b3b Accepting request 596386 from home:dmdiss:bsc1079329_krbd
- Merge RBD support from non-fb version (bsc#1079329)
  + Split-out-blockdev-readonly-state-detection-helper.patch
  + rbd-support.patch (SLE/Leap only, due to LIO kernel dependency)
  + Add explicit Provides for "python-rtslib-rbd"
- Detect write-protected block devices (bsc#1070815)
  + Auto-detect-readonly-state-for-iblock-devices.patch
  + Use-signed-char-instead-of-char.patch

- Automatically generate version string from upstream tag
  + Retain current fb-removed version format used
  + Rename targetcli-fb-2.1.fb47.tar.xz to targetcli-fb-2.1.47.tar.xzar.xz
    and cleanup hardcoded duplicate name/version values in spec

OBS-URL: https://build.opensuse.org/request/show/596386
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=18
2018-04-16 20:19:01 +00:00
Lee Duncan
7c41168947 Accepting request 579902 from home:olh
- Fix upgrade path by provide/obsolete targetcli/targetcli-fb (bsc#1082693)

OBS-URL: https://build.opensuse.org/request/show/579902
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=16
2018-02-25 20:08:25 +00:00
Lee Duncan
6590a589b6 Accepting request 572871 from home:olh:branches:Base:System
- Fix upgrade path by provide/obsolete version-release

OBS-URL: https://build.opensuse.org/request/show/572871
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=14
2018-02-05 17:22:42 +00:00
Lee Duncan
3fd7c97323 Accepting request 564461 from home:lee_duncan:branches:Base:System
- Removed duplicate BuildRequires line, and add Conflicts for
  sub-package

OBS-URL: https://build.opensuse.org/request/show/564461
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=12
2018-01-15 04:15:54 +00:00
Lee Duncan
e8979ad2f3 Accepting request 563151 from home:lee_duncan:branches:Base:System
- Added dependency on dbus package to SPEC file (bsc#1073913)

- Converted RPM SPEC file to singlepsec format (bsc#1045332),
  updating SPEC file only. This breaks this package into two
  packages. The new base package is called targetcli-fb-common,
  and does not depend on the python version. The other package
  is python-version dependent, and is called either
  python2-targetcli-fb or python3-targetcli-fb, dpending on
  which version of Python you wish to use.

- Ran "spec-cleaner" over the SPEC file, to clean it up, before
  support for Python3 is added.

- Moved targetcli-fb-2.1.fb47.tar.gz to targetcli-fb-2.1.fb47.tar.xz,
  after appropriate decompression/compression, to match SPEC and
  _service file. Updated _servicedata to match.

OBS-URL: https://build.opensuse.org/request/show/563151
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=11
2018-01-09 22:18:46 +00:00
Lee Duncan
5e0b196071 Accepting request 518027 from home:LSZhu:branches:Base:System
Update to version 2.1.fb47,improve ALUA and TCMU support

OBS-URL: https://build.opensuse.org/request/show/518027
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=9
2017-08-22 17:43:11 +00:00
Lee Duncan
78f990e74c Accepting request 491074 from home:lee_duncan:branches:Base:System
Added SUSE bug number to latest changes entry

OBS-URL: https://build.opensuse.org/request/show/491074
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=7
2017-04-25 20:19:24 +00:00
Lee Duncan
69b7ad5aad Accepting request 487780 from home:hreinecke:branches:Base:System
- Update to version 2.1.fb46:
  * version 2.1.fb44
  * Remove build scripts for RPM and Debian packages
  * Add Gentoo to the list of distributions that ship targetcli-fb
  * Add support to create/delete ALUA groups on a storage object
  * Add support to set/get a LUN's ALUA group
  * version 2.1.fb45
  * Create ALUA dir and def group in UI with storage object
  * Clear backstore cache on refresh
  * version 2.1.fb46

OBS-URL: https://build.opensuse.org/request/show/487780
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=6
2017-04-13 17:32:06 +00:00
Lee Duncan
11de61a0cb Accepting request 437962 from home:jengelh:branches:Base:System
- Trim macro indirections and empty macros
%{?dist} is unused in opensuse, and %__sometool is just saltcoating for non-GNU systems (which is even more distant from what we do at opensuse.org)

OBS-URL: https://build.opensuse.org/request/show/437962
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=4
2016-11-01 23:17:15 +00:00
Dominique Leuenberger
7178dc2fe0 Accepting request 434240 from Base:System
Submitting to factory for the first time, it appears.

This is already in SLE 12 SP2, out of order, so it
would be great to get it into Factory (and then
Leap) as soon as possible.

OBS-URL: https://build.opensuse.org/request/show/434240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=1
2016-10-18 08:40:13 +00:00
Lee Duncan
9839a5b88b Accepting request 415157 from home:lee_duncan:branches:Base:System
-  updated spec file: removed Provides/Obsoletes of
   targetcli and python-targetcli, and added
   Conflicts with targetcli (bsc#986475)

OBS-URL: https://build.opensuse.org/request/show/415157
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=2
2016-07-27 20:47:33 +00:00
024ddec874 Accepting request 391476 from home:lee_duncan
New package, possible replacement for targetcli.

Requires the newly-added python-configshell-fb
package, as well as the newly-updated python-
rtslib-fb package.

OBS-URL: https://build.opensuse.org/request/show/391476
OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=1
2016-04-26 14:17:33 +00:00