Commit Graph

49 Commits

Author SHA256 Message Date
Dominique Leuenberger
8d24299cc1 Accepting request 899083 from Base:System
OBS-URL: https://build.opensuse.org/request/show/899083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=22
2021-06-10 22:19:01 +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
Dominique Leuenberger
2c43b1ac19 Accepting request 866426 from Base:System
OBS-URL: https://build.opensuse.org/request/show/866426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=21
2021-01-25 17:24:18 +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
Dominique Leuenberger
3430e89dc5 Accepting request 817944 from Base:System
OBS-URL: https://build.opensuse.org/request/show/817944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=20
2020-07-01 12:26:55 +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
Dominique Leuenberger
7c7d7a1d30 Accepting request 813264 from Base:System
OBS-URL: https://build.opensuse.org/request/show/813264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=19
2020-06-11 08:09:30 +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
Yuchen Lin
fc6f35fed7 Accepting request 808062 from Base:System
OBS-URL: https://build.opensuse.org/request/show/808062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=18
2020-05-26 15:19:09 +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
Dominique Leuenberger
831dfa9d69 Accepting request 775445 from Base:System
OBS-URL: https://build.opensuse.org/request/show/775445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=17
2020-02-19 11:41:23 +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
Dominique Leuenberger
1ffa3f2e49 Accepting request 770062 from Base:System
OBS-URL: https://build.opensuse.org/request/show/770062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=16
2020-02-04 18:58:00 +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
Dominique Leuenberger
dba7249e49 Accepting request 724877 from Base:System
OBS-URL: https://build.opensuse.org/request/show/724877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=15
2019-08-22 08:53:11 +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
Dominique Leuenberger
05411aa66c Accepting request 724620 from Base:System
- Added the following upstream patches:
  * targetcli-fb-fix-raise-exception-error-in-save_backups
  * iscsi-discovery_auth-enable-is-a-number-not-a-string (bsc#1145685)
  * saveconfig-compress-the-backup-config-files
  * do-not-remove-the-first-digit-when-auto-completing-the-tpg-tag
  * add-emulate_pr-backstore-attribute

OBS-URL: https://build.opensuse.org/request/show/724620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=14
2019-08-20 08:59:30 +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
Dominique Leuenberger
dbbbcfefc6 Accepting request 704410 from Base:System
OBS-URL: https://build.opensuse.org/request/show/704410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=13
2019-05-22 09:16:19 +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
Stephan Kulow
e08a6f036e Accepting request 672535 from Base:System
OBS-URL: https://build.opensuse.org/request/show/672535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=12
2019-02-08 11:14:58 +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
Dominique Leuenberger
c5f7f220ef Accepting request 656081 from Base:System
OBS-URL: https://build.opensuse.org/request/show/656081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=11
2018-12-08 10:22:02 +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
Dominique Leuenberger
666b7c8eef Accepting request 643051 from Base:System
OBS-URL: https://build.opensuse.org/request/show/643051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=10
2018-10-22 09:23:11 +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
Dominique Leuenberger
608dd514b7 Accepting request 599503 from Base:System
OBS-URL: https://build.opensuse.org/request/show/599503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=9
2018-04-22 12:40:48 +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
Dominique Leuenberger
7e2f6dd10b Accepting request 597223 from Base:System
OBS-URL: https://build.opensuse.org/request/show/597223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=8
2018-04-19 13:29:20 +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
Dominique Leuenberger
515b45682e Accepting request 579974 from Base:System
OBS-URL: https://build.opensuse.org/request/show/579974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=7
2018-02-26 22:25:32 +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
Dominique Leuenberger
ab11fb40c2 Accepting request 573103 from Base:System
OBS-URL: https://build.opensuse.org/request/show/573103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=6
2018-02-06 15:49:14 +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
Dominique Leuenberger
d4fb9a3ecf Accepting request 564462 from Base:System
OBS-URL: https://build.opensuse.org/request/show/564462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=5
2018-01-16 08:42:55 +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
Dominique Leuenberger
c4e316d22e Accepting request 518172 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/518172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=4
2017-08-23 09:55:04 +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
Dominique Leuenberger
ecca63a152 Accepting request 491077 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/491077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=3
2017-04-28 07:13:38 +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
Dominique Leuenberger
4b40a342bc Accepting request 438194 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/438194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=2
2016-11-05 20:25:23 +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