51 Commits

Author SHA256 Message Date
d2a004f7d4 Accepting request 1298956 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1298956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=19
2025-08-12 15:04:58 +00:00
a4d9474cda sending the lost stuff
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=49
2025-08-12 04:58:58 +00:00
f874ac49ef - Disable glusterfs backend.
- Delete libtcmu-runner-devel; the .so file is not generally
  usable without some headers files describing the API.
- Trim idempotent %if..%endif guards.
- Remove implicit %defattr, BuildRoot lines from spec.

OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=48
2025-08-11 15:55:32 +00:00
fcdcb77fc6 Accepting request 1255280 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1255280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=18
2025-03-24 12:30:38 +00:00
3b12a46716 Accepting request 1255176 from home:sfalken:branches:Base:System
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS in cmake4
- Remove Group: declarations, no longer used

OBS-URL: https://build.opensuse.org/request/show/1255176
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=46
2025-03-22 15:22:08 +00:00
d7a91f378a Accepting request 1154644 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1154644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=17
2024-03-04 20:25:41 +00:00
825d3c2c7b Accepting request 1151253 from home:pgajdos:t
- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1151253
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=44
2024-02-29 01:50:15 +00:00
2858606ddf Accepting request 1099566 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1099566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=16
2023-07-24 16:25:29 +00:00
3285e7198f Accepting request 1099565 from home:lee_duncan:branches:Base:System
- Update to latest upstream version 1.6.2:
  * Bump version to 1.6.2
  * tcmur_device: skip reporting events if the device is closed
  * Bump version to 1.6.1
  * tcmur_device: fix racy between reopening devices and reporting events
  Also, remove patch no longer needed ,since SUSE RPM macros have
  been updated (bsc#1212636):
  * tcmu-runner-remove-handler-path-install-prefix.patch

OBS-URL: https://build.opensuse.org/request/show/1099565
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=42
2023-07-19 18:16:16 +00:00
184cec5b9c Accepting request 1029798 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1029798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=15
2022-10-19 11:17:42 +00:00
cfc2aecf64 Accepting request 1029794 from home:lee_duncan:branches:Base:System
Correctly name the devel library as requested.

OBS-URL: https://build.opensuse.org/request/show/1029794
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=40
2022-10-18 17:05:49 +00:00
d899d653c8 Accepting request 1011003 from home:lee_duncan:branches:Base:System
- Update to version 1.6.0 from upstream:
  * Bump version to 1.6.0
  * Use get_unaligned_be*() to avoid UB
  * libtcmu: add support for write protect
  * rbd: make it to be compatible to the old blacklist style
  * rbd: switch to blocklist
  * rbd: switch strtok to strtok_r
  * tcmur_device: rename the state_lock to rdev_lock
  * tcmur_device: rename lock to cmds_list_lock
  * rbd: fix and add more debug logs
  * rbd: fix the possible warning of incorrect return value type
  * rbd: remove the reduntant logs
  * rbd: fix memory leak when fails to get the address
  * Revert "Create codeql-analysis.yml"
  * rbd: fix use-after-free of addr
  * Create codeql-analysis.yml
  * main: fix g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  * remove pthread_getname_np calls
  * implicitly cast pthread_t to long unsigned int
  * add missing pthread.h include
  * replace assert_perror with assert
  * cast time_t to intmax_t when printing
  * spec: make dist tag optional (#659)
  * install-dep.sh: do not install multiple packages in one single line (#657)
  * tcmu_read_config() check read() return value. (#656)
  The 3 current patches, which are SUSE-specific, stay.
  Note that this update moves libtcmu.so (a symlink) to a new
  package: libtcmu2-devel, as suggested by rpmlint.

OBS-URL: https://build.opensuse.org/request/show/1011003
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=39
2022-10-18 13:57:19 +00:00
1de0f82fce Accepting request 962479 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/962479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=14
2022-03-19 21:20:29 +00:00
c119b72813 Add reference to jsc#SLE-7751 for 1.5.2 changelog entry, as carried in
the SLE changelog.

OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=37
2022-03-10 13:06:00 +00:00
f37c0db130 Merge a couple of changelog entries from SLE
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=36
2022-03-09 13:45:10 +00:00
8ab807969c Accepting request 920892 from Base:System
OBS-URL: https://build.opensuse.org/request/show/920892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=13
2021-09-26 19:48:20 +00:00
9dad9d0676 Accepting request 920891 from home:lee_duncan:branches:Base:System
- Updated to latest upstream (jsc#SLE-17360). Added file:
  * tcmu-runner-updates-since-v1.5.4.xz
  with latest upstream changes since v1.5.4:
  * rbd: switch strtok to strtok_r
  * tcmur_device: rename the state_lock to rdev_lock
  * tcmur_device: rename lock to cmds_list_lock
  * rbd: fix and add more debug logs
  * rbd: fix the possible warning of incorrect return value type
  * rbd: remove the reduntant logs
  * rbd: fix memory leak when fails to get the address
  * Revert "Create codeql-analysis.yml"
  * rbd: fix use-after-free of addr
  * Create codeql-analysis.yml
  * main: fix g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  * remove pthread_getname_np calls
  * implicitly cast pthread_t to long unsigned int
  * add missing pthread.h include
  * replace assert_perror with assert
  * cast time_t to intmax_t when printing
  * spec: make dist tag optional (#659)
  * install-dep.sh: do not install multiple packages in one single line (#657)
  * tcmu_read_config() check read() return value. (#656)
  And added these changes in v1.5.4 from v1.5.3:
  * Bump version to 1.5.4 (#652)
  * handler: add writesame/caw hooks support
  * tcmur: fall back to writesame without unmap if not aligned
  * tcmur: clean up the code
  * rbd: fix the unmap align and granularity size
  * rbd: use the new format of the daemon name
  * file_zbc: Remove unnecessary zone boundary check

OBS-URL: https://build.opensuse.org/request/show/920891
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=35
2021-09-22 14:19:38 +00:00
c170ff5993 Accepting request 868022 from Base:System
- Update to version 1.5.3 from 1.5.2

OBS-URL: https://build.opensuse.org/request/show/868022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=12
2021-02-04 19:21:58 +00:00
d1d8cef349 - Update to version 1.5.3
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=33
2021-01-30 19:40:07 +00:00
facada8c0f Accepting request 760730 from Base:System
OBS-URL: https://build.opensuse.org/request/show/760730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=11
2020-01-04 18:21:08 +00:00
f8547d8ed9 Accepting request 760729 from home:lee_duncan:branches:Base:System
- Fixed i586 compilation complaint in tcmur_cmd_handler.c, adding:
  * tcmu-runner-fix-i586-size_t-error.patch
  (which came from David Disseldorp). Also, added requirement for
  libnl3-devel version that supports signed network functions,
  such as nla_put_s32().

OBS-URL: https://build.opensuse.org/request/show/760729
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=31
2020-01-03 18:07:35 +00:00
a3be69e0ad Accepting request 760506 from Base:System
OBS-URL: https://build.opensuse.org/request/show/760506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=10
2020-01-03 16:37:30 +00:00
a1ceb5a236 Accepting request 760505 from home:lee_duncan:branches:Base:System
- Update to version 1.5.2:
  * Bump version to 1.5.2
  * ... (see changes file)

OBS-URL: https://build.opensuse.org/request/show/760505
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=29
2020-01-02 23:31:15 +00:00
50e14bf4a3 Accepting request 710604 from Base:System
OBS-URL: https://build.opensuse.org/request/show/710604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=9
2019-06-19 19:09:04 +00:00
6368ce0a9f Accepting request 710597 from home:dmdiss:bsc1038712_tcmu_fixes
- Move tcmu.conf into main package; (bsc#1138443)

OBS-URL: https://build.opensuse.org/request/show/710597
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=27
2019-06-18 17:59:14 +00:00
17dbef5c30 Accepting request 706357 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/706357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=8
2019-06-01 07:55:50 +00:00
09872a4085 - Add explicit libtcmu package dependency to avoid incorrect upstream
.so versioning; (bsc#1135815)

OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=25
2019-05-22 14:13:20 +00:00
6ce9a6122a Rename openSUSE zbc patches
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=24
2019-05-21 13:52:31 +00:00
c9e55798ee Changelog only:
* support custom cephx credentials; (bsc#1135369)

OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=23
2019-05-20 10:04:47 +00:00
33c984c510 Accepting request 643274 from Base:System
OBS-URL: https://build.opensuse.org/request/show/643274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=7
2018-10-22 09:25:03 +00:00
ebae037a63 Accepting request 643273 from home:lee_duncan:branches:Base:System
- Update to version 1.4.0:
  * tcmu-runner: bump version to 1.4.0
  * Disable explicit alua support.
  * logger: notification on changing the options for dynamic reloading
  * logger: update .gitignore for logrotate.conf_install.cmake
  * logger: fix the return value
  * Sync sig handler naming.
  * Add logrotate support
  * Move starting log message.
  * Allow log file restart from SIGHUP
  * Simplify log outputs
  Replacing tcmu-runner-1.3.0.tar.gz with tcmu-runner-1.4.0.tar.xz,
  updating the SPEC file, and removing patches:
  * api-avoid-compiler-Werror-return-type-failures.patch
  * build-drop-versionless-libtcmu.so-symlink.patch
  * tcmu-runner-remove-uio-include-for-iovec.patch

OBS-URL: https://build.opensuse.org/request/show/643273
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=21
2018-10-19 21:54:27 +00:00
106183113b Accepting request 575856 from Base:System
OBS-URL: https://build.opensuse.org/request/show/575856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=6
2018-02-14 08:45:57 +00:00
c61aaac207 Accepting request 575820 from home:dmdiss:tcmu-runner-1.3
- Update to version 1.3.0; (fate#322524)
  + Improved Ceph RBD integration
  + Support XCOPY copy-offload commands
  + Support COMPARE_AND_WRITE, with Ceph OSD request mapping
  + Asynchronous I/O improvements and bug fixes
- Remove a number of downstream patches now carried upstream:
  + glfs-discard-glfs_check_config
  + fixed-local-dos-when-unregisterhandler-was-called-for-a-not-existing-handler
  + only-allow-dynamic-unregisterhandler-for-external-handlers-thereby-fixing-dos
  + fixed-a-number-of-memory-leaks-with-deregistering-of-dbus-handlers
  + removed-all-check_config-callback-implementations-to-avoid-security-issues
  + tcmu-runner-add-local-target_core_user-h
- Remove development packages (bsc#1080619)
  + API discontinued upstream
- Add fix for -Werror-return-type failures:
  + api-avoid-compiler-Werror-return-type-failures.patch
- Add fix for library versioning:
  + build-drop-versionless-libtcmu.so-symlink.patch

OBS-URL: https://build.opensuse.org/request/show/575820
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=19
2018-02-12 18:34:17 +00:00
dbd2b1be85 Accepting request 537761 from Base:System
OBS-URL: https://build.opensuse.org/request/show/537761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=5
2017-10-31 14:44:40 +00:00
685d1ea8ee Accepting request 537760 from home:lee_duncan:branches:Base:System
Add new patch unconditionally but apply conditionally

OBS-URL: https://build.opensuse.org/request/show/537760
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=17
2017-10-31 02:45:23 +00:00
778d25e43a Accepting request 537207 from home:lee_duncan:branches:Base:System
- Add two patches: make target_core_user.h local, to insulate
  tcmu-runner from kernel version/data structure/naming
  changes, and add include of <sys/uio.h> to that file,
  to fix "stuct iovec" not defined issue  (bsc#1058303),
  adding patches:
  * tcmu-runner-add-local-target_core_user-h
  * tcmu-runner-remove-uio-include-for-iovec.patch
  The latter patch is added only for SUSE version >= 13.3,
  since it is only needed there.

OBS-URL: https://build.opensuse.org/request/show/537207
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=16
2017-10-27 17:39:08 +00:00
481e1f6590 Accepting request 515820 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/515820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=4
2017-08-16 14:13:30 +00:00
9e707342d2 Accepting request 515815 from home:lee_duncan:branches:Base:System
- Remove install prefix from beginning of install libdir when
  setting tcmu-runner plugin path (bsc#1052795), adding
  SUSE-specific patch:
  * tcmu-runner-remove-handler-path-install-prefix.patch

OBS-URL: https://build.opensuse.org/request/show/515815
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=14
2017-08-09 22:29:36 +00:00
017756411b Accepting request 511671 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/511671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=3
2017-07-21 20:50:24 +00:00
10ea67131e Accepting request 511669 from home:lee_duncan:branches:Base:System
- One more update from Security Audit, adding one more patch:
  - removed-all-check_config-callback-implementations-to-avoid-security-issues
    (bsc#1049491)

OBS-URL: https://build.opensuse.org/request/show/511669
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=12
2017-07-20 14:36:10 +00:00
9d4c213aaf Accepting request 511504 from home:lee_duncan:branches:Base:System
- Updates based on Security Audit, adding 4 patches:
  * glfs-discard-glfs_check_config (bsc#1049485)
  * fixed-local-dos-when-unregisterhandler-was-called-for-a-not-existing-handler
    (bsc#1049488)
  * only-allow-dynamic-unregisterhandler-for-external-handlers-thereby-fixing-dos
    (bsc#1049489)
  * fixed-a-number-of-memory-leaks-with-deregistering-of-dbus-handlers
    (bsc#1049490)

OBS-URL: https://build.opensuse.org/request/show/511504
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=11
2017-07-20 01:41:52 +00:00
1a5dd73f70 Accepting request 494985 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/494985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=2
2017-05-17 08:54:21 +00:00
7bc6ec30a5 Accepting request 494983 from home:dmdiss:bsc1038712_tcmu_fixes
- Make Ceph RBD handler aarch64 and x86-64 only for now
  + librbd isn't yet available for all platforms

OBS-URL: https://build.opensuse.org/request/show/494983
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=9
2017-05-15 16:26:38 +00:00
3c6343a36d Accepting request 494733 from home:dmdiss:bsc1038712_tcmu_fixes
- Build the Ceph RBD handler and package separately; (fate#322524).
- Split the GlusterFS handler into a separate package
  + avoid adding an unnecessary dependencies to tcmu-runner core

- Explicitly disable the GlusterFS handler for SLE builds.

- Update to upstream version 1.2.0; (bsc#1038712).
  + Add remove devices when tcmulib teardown
  + fix builds done outside of source directory
  + free tcmu_device after dev->fd is closed
  + fix Read_Capacity_16
  + detect INQURY response truncation
  + fix incorrect memcpy length
  + fix inquiry buffer length calculations
  + add tcmu.conf for log level configuration
- Remove upstreamed fixes:
  + tcmu-runner-include-falloc-in-qcow.patch
  + tcmu-runner-let-cmake-install-man-page.patch
  + tcmu-runner-Use-CMake-FULL-library-directory-for-SOs.patch
  + include-tcmu-runner-h-in-install.patch

OBS-URL: https://build.opensuse.org/request/show/494733
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=8
2017-05-11 22:30:14 +00:00
a4b1f89a9e Accepting request 437481 from Base:System
Resubmitting package, as suggested in Request#419540.

This package is needed, on top of targetcli-fb, to
enable user-level storage back-ends.

OBS-URL: https://build.opensuse.org/request/show/437481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcmu-runner?expand=0&rev=1
2016-10-31 08:55:52 +00:00
023cfd9192 Accepting request 420908 from home:jengelh:branches:Base:System
- rename libtcmu1-devel to libtcmu-devel
- drop unnecessary %oname indirect macro

OBS-URL: https://build.opensuse.org/request/show/420908
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=6
2016-08-29 22:24:46 +00:00
13f512402f Accepting request 419539 from home:lee_duncan:branches:Base:System
- Updated SPEC file to break library into separate packages
- Install tcmu-runner.h, adding:
  * include-tcmu-runner-h-in-install.patch

OBS-URL: https://build.opensuse.org/request/show/419539
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=5
2016-08-16 03:50:17 +00:00
22b860cf7e Accepting request 415876 from home:jengelh:branches:Base:System
- Drop silly buildrequires on libgfapi0/libglib-2_0-0.
  Abolish old macros.

OBS-URL: https://build.opensuse.org/request/show/415876
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=4
2016-07-31 00:28:17 +00:00
e368b24c73 Accepting request 398619 from home:lee_duncan:branches:Base:System
- Updated SPEC file to install LICENSE file (bsc#982130)

OBS-URL: https://build.opensuse.org/request/show/398619
OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=3
2016-05-29 00:19:46 +00:00
721d92ee49 OBS-URL: https://build.opensuse.org/package/show/Base:System/tcmu-runner?expand=0&rev=2 2016-05-23 14:58:10 +00:00