nvme-cli/nvme-cli.spec

189 lines
5.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package nvme-cli
#
Accepting request 1146580 from home:wagi:branches:Base:System - Update to version 2.8: * nvme-print-json: append array object in json_support_log * sed: Add plugin for basic SED Opal operations (jsc#PED-5061) * don't include newlines in already wrapped text * nvme: do not include meta data for PRACT=1 and MD=8 (version 2) * create-ns: align the namespaces to 1Mib boundaries when using SI suffixes * doc: Fix config-schema.json's URL * plugins/solidigm: Compressing vs-internal-log log files into zip file. * nbft: do not issue an error if ACPI tables are missing * nbft: fixup include for libnvme * doc: Fix short option name for cfg-file * completions: added Solidigm plugin to autocomplete scripts * nvme: Remove unused cfg argument from NVME_ARGS() macro * nvme: fix directive receive identify offsets * nvme-fabrics: enable option 'concat' * build: Update libnvme wrap * plugins/wdc: Add Debug Log Collection Support * nbft: fix tcp/dhcp address fallback retry (bsc#1218873) * nvme: use correct telemetry log size * nvme-print: fix typo in list verbose output (bsc#1219086) * nvme: print inserted tls key for check-tls-key (bsc#1219086) * plugins/wdc: Plugin fixes and updates * fabrics: move hostid/hostnqn warnings to verbose level (bsc#1219086) * nvme-print-stdout: enhance connect message (bsc#1219086) * fabrics: fix connect error if hostid file does not exist (bsc#1219086) * fabrics: fix invalid output format error during nvme connect (bsc#1219086) * nvme: restric hmac options for gen-tls-key (bsc#1219086) * udev-rules: rename netapp udev rule (bsc#1219086) * udev-rules: set ctrl_loss_tmo to -1 for ONTAP NVMe/TCP (bsc#1219086) OBS-URL: https://build.opensuse.org/request/show/1146580 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=155
2024-02-14 14:45:25 +01:00
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_without check
Name: nvme-cli
Accepting request 1171771 from home:wagi:branches:Base:System - Update to version 2.9.1: * plugins/spdk: drop the plugin - Update to version 2.9: * nvme-print: expand the maximum field length to prevent misalignment * plugins/spdk: plugin to list SPDK subsystems * nvme-print: check if controller belong to SPDK * plugins/spdk: plugin to list SPDK controllers * nvme-print-stdout: fix ASQB, ACQB and BMBBA prints * build: bump libnvme wrap * nvmf-autoconnect: fix string encoding * nvme: identify primary ctrl do not accept nsid * nvme-wrap: remove unused nvme_cli_get_log_ana_groups() * nvme-print-json: use admin queue attributes definitions * nvme-print-json: use CSTS definitions * nvme-print-stdout: use POWER_OF_TWO macro * nvme-print-json: use controller configuration definitions * nvme-print-json, nvme-print-stdout: add tertiary version number * nvme-print-json: use NVME_MAJOR and NVME_MINOR definitions * nvme-print-json: use NVME_BOOT_PARTITION_INFO field definitions * nvme-print-json: add support telemetry log create event in PEL * nvme-print-json: add support set feature event in PEL * nvme-print-json: add obj_d() function * nvme-print-json: add obj_add_uint_0nx() function * meson.build: Fix spelling of sed-opal.h filename * sed_opal: Only build when we really have sed_opal headers * nvme: fix error path if write() fails in get_telemetry_log() * plugins/solidigm: Additional LID for temperature statistics. * plugins/solidigm: Improved Solidigm UUID index detection. * nvme-print-stdout: Add CSTS.ST register stdout print * nvme-print-stdout: Use NVME_CMIC definitions * nvme-print: Use NVME_UNIT definitions * nvme-print-stdout: Use NVME_CMBMSC/STS/EBS/SWTP definitions * plugins/ssstc: add a new plugin for SSSTC driver * nvmf-connect: systemd hardening effort * plugins/ocp: Adjusted variable type size carrying UUID index to 8 bit. * nvme: fix security buffer allocation size * nvme: Change fw-download xfer initialization to set 0 * nvme: Add fw-download warning message for FWUG alignment error * plugins/ocp: Split ocp_get_uuid_index() into find and get functions. * nvme: fix mem leak in multiple key related functions (bsc#1223331) * fabrics: fix mem leak in nvmf_check_hostid_and_hostnqn() (bsc#1223331) * nvme-print-stdout: Use NVME_BPRSEL definitions * nvme-print-stdout: Use NVME_BPINFO definitions * nvme-print-stdout: Use NVME_CMBSZ definitions * nvme-print-stdout: Use NVME_CMBLOC definitions * Revert "logging: fix error handling for ioctl passthru wrappers" * fabrics: align identify command payload * ocp: Unify line start spacing as tabs * ocp: support OCP DSSD Async Event Config feature * nvme: Add support for get-reg and set-reg commands * nvme-print-json: Add register print functions * nvme-print-stdout: Add register print functions * nvme-print: Add register print functions * nvme: Refactor mmap_registers to add writable parameter * nvme-print: Change PMRSZU string function as unit string * nvme-print: Refactor CMBLOC and PMRSTS registers function * logging: fix error handling for ioctl passthru wrappers * nbft: Fix scandir() error check * nbft: Refactor connection attempt out * nvme-print: Use EOM optional data present macros changed * nvme-print: Print cntlid number for controller * nvme: check-tls-key fails despite having hostnqn file (bsc#1223331) * nvme: print retained key for gen-tls-key's -i option too (bsc#1223331) * fabrics : allow host to create duplicate connections to target * fabrics: Fix fast_io_fail_tmo option * nvme-print-stdout: use admin queue attributes definitions * nvme-print-stdout: use CSTS definitions * nvme-print-stdout: use controller configuration definitions * nvme-print-stdout: use NVME_MAJOR and NVME_MINOR definitions * nvme-print-stdout: use FDP configuration attributes definitions * nvme: add new function 'tls_key' * nvme: use library functions for importing and exporting TLS keys (bsc#1216982) * nvme: extend error message for ns scan failures * nvme-print-json: Bugfix status json key of sanitize-log * sed: update SED password when initalizing (bsc#1222168) * plugins/memblaze: add performance stats * plugins/memblaze: fix code mis-type error * plugins/memblaze: code refactor on applying __packed on more structs * plugins/memblaze: code refactor on using cleanup_nvme_dev * nvme: Fix to cleanup free raw_secret memory allocated * plugins/memblaze: code-format on leading indent and align * plugins/wdc: Fix narrow index variable type in for loop to __u32 * plugins/wdc: Whitespace changes * nvme: Delete unused nvme root scanned * ocp: support OCP 2.5 Set Telemetry Profile feature * nvme: Don't seg fault if given device is not char/block device * nbft: Include SSNS index in error messages (bsc#1222026) * nbft: Pause logging for expected connection failures (bsc#1222026) * nbft: Silence connection failures for unavailable SSNS (bsc#1222026) * nbft: Fix 'verbose' argument type (bsc#1222026) * plugins/nbft: Implement verbose logging * plugins/nbft: Print the new SSNS flags * nbft: Fix uninitialized variable * plugins/nbft: Fix uninitialized variables * plugins/sed: Fix uninitialized variable * nvme-print-stdout: Fix uninitialized variable * nvme-print-json: Fix uninitialized variable * build: Switch default meson buildtype to 'debugoptimized' * nvme: do not scan topology when mmaping registers * nvme-print-stdout: Use NVME_BOOT_PARTITION_INFO field definitions * nvme-print-stdout: Use NVME_GET for MI commands supported and effects CSP * nvme-print-stdout: Use NVME_GET for FID supported and effects FSP * nvme-print-stdout: Use NVME_SET_FEAT_EVENT register definitions * nvme-print: Add PEL EHAI port identifier type printf function * build: bump libnvme wrap * ocp: fix for power-state argument checking * nvme: do not issue warning when nvme_core module is not loaded * wdc: Review changes and build fixes * wdc: Fix timestamp displayed by vs-firmware-activate-history command * logging: Split to output ioctl latency by log info level * nvme-print-stdout: Change hexadecimal value 0x prefix to use %#x * nvme-print-stdout: Fix LBA status DSLBA output as hexadecimal * nvme-print-stdout: Split line length exceeded 100 columns * nvme-print-stdout: Use NVME_PMRMSC register definitions to print * nvme-print-stdout: Use NVME_PMRSWTP register definitions to print * nvme-print-stdout: Use NVME_PMREBS register definitions to print * nvme-print-stdout: Use NVME_PMRSTS register definitions to print * nvme-print-stdout: Use NVME_PMRCTL_EN register definition to print * nvme-print-stdout: Use NVME_PMRCAP register definition to print * doc: Fix admin and io passthru cdw parameters description * doc: Add get-feature cdw11 and set-feature cdw12 parameters * micron-nvme: Unuse stat() to check if strMainDirName exists * doc: Fix get-property and set-property offset and value descriptions * doc: Fix documentation file mode 100755 to 100644 * nvme-print-stdout: Fix channel configuration descriptors pointer * nvme-print-stdout: Check sscanf return value * nvme-print-stdout: Fix linux kernel check patch errors * nvme: Delete unusual fallthrough for cases have no body * nvme: Delete duplicated semicolon * nvme-print, common: Fix for whitespace change * logging: output ioctl debugging info * nvme: track verbose level * logging: track log level globally * logging: move logging code to a new file * nvme: update include for libnvme * nvme: remove unused declaration * build: bump libnvme wrap * nvme-netapp: add nspath tlv handling (bsc#1220971) * rpm: Add missing rule and service files * nvme-print-json, nvme-print-stdout: Use CHAR_BIT definition * nvme-print-stdout: Delete duplicated if condition checking line * ocp: Fix timestamp displayed by fw-activate-history command * wdc: Add support for the get-drive-status command to SN861 * nvme-print: Fix nvme_host_metadata_type_to_string() indentation errors * nvme-print: Add PEL RCI port identifier type printf function * nvme-print-stdout: Use persistent event log RCI definitions * build: bump libnvme wrap * nvme: Add show-regs and get-property commands NSSD print outputs * nvme-print: print more details in ns-descs verbose output (bsc#1223331) * Revert "nvme-print-json: remove obj_print helper" * sed: Confirm entered password before initialization. - drop systemd service harden file, upstream ships this patch. * remove 0100-harden_nvmf-connect@.service.patch OBS-URL: https://build.opensuse.org/request/show/1171771 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=157
2024-05-03 16:21:24 +02:00
Version: 2.9.1
Release: 0
Summary: NVM Express user space tools
License: GPL-2.0-only
Group: Hardware/Other
URL: https://github.com/linux-nvme/nvme-cli/
Source0: nvme-cli-%{version}.tar.gz
Accepting request 1116606 from home:wagi:branches:Base:System - Use fixed timestamps for documentation allowing reproducable builds - Announce nvmeof-boot-support support via Provides - Filter rpmlint warnings for systemd-service-without-service_ macros - Add missing service files for NBFT feature * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch - Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061): * json: fix seg. fault converting NULL to JSON string (bsc#1213762) * nvme-print: Show subsystem iopolicy (bsc#1124564) * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598) * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598) * ccan: Add htable, strset and dependencies (bsc#1212598) * ccan: Remove unused documentation (bsc#1212598) * nvme-print: fix counter while looping through uuid_list (bsc#1212598) * fabrics: fix fc config JSON file handling (bsc#1210089) Refresh 0100-harden_nvmf-connect@.service.patch - Update to version 2.4 (jsc#PED-553 jsc#PED-3884): * nvme-print: sanitize supported-log-pages output (bsc#1209550) * nvme: fix block count and data size logic (bsc#1209564) * nvme-doc: update man page for supported-log-pages (bsc#1209550) * fabrics: Fix ordering for auto connect services (bsc#1208075) * json_discovery_log: avoid buffer overrun (bsc#1207435) * Fix connect nbft regressions (bsc#1209905) * Fix auto connect conditions (bsc#1210105) * Fix auto boot for NBFT connections (bsc#1211647) * fabrics: Honor JSON config file in connect-all command (bsc#1199504) * udev: Add HOST_IFACE to udev rule (bsc#1208001) * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) OBS-URL: https://build.opensuse.org/request/show/1116606 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 09:41:58 +02:00
Source1: nvme-cli-rpmlintrc
BuildRequires: asciidoc
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libjson-c-devel
BuildRequires: libnvme-devel
BuildRequires: meson
BuildRequires: pkgconfig
Accepting request 1116606 from home:wagi:branches:Base:System - Use fixed timestamps for documentation allowing reproducable builds - Announce nvmeof-boot-support support via Provides - Filter rpmlint warnings for systemd-service-without-service_ macros - Add missing service files for NBFT feature * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch - Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061): * json: fix seg. fault converting NULL to JSON string (bsc#1213762) * nvme-print: Show subsystem iopolicy (bsc#1124564) * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598) * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598) * ccan: Add htable, strset and dependencies (bsc#1212598) * ccan: Remove unused documentation (bsc#1212598) * nvme-print: fix counter while looping through uuid_list (bsc#1212598) * fabrics: fix fc config JSON file handling (bsc#1210089) Refresh 0100-harden_nvmf-connect@.service.patch - Update to version 2.4 (jsc#PED-553 jsc#PED-3884): * nvme-print: sanitize supported-log-pages output (bsc#1209550) * nvme: fix block count and data size logic (bsc#1209564) * nvme-doc: update man page for supported-log-pages (bsc#1209550) * fabrics: Fix ordering for auto connect services (bsc#1208075) * json_discovery_log: avoid buffer overrun (bsc#1207435) * Fix connect nbft regressions (bsc#1209905) * Fix auto connect conditions (bsc#1210105) * Fix auto boot for NBFT connections (bsc#1211647) * fabrics: Honor JSON config file in connect-all command (bsc#1199504) * udev: Add HOST_IFACE to udev rule (bsc#1208001) * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) OBS-URL: https://build.opensuse.org/request/show/1116606 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 09:41:58 +02:00
BuildRequires: systemd-rpm-macros
BuildRequires: xmlto
BuildRequires: zlib-devel
BuildRequires: pkgconfig(bash-completion)
BuildRequires: pkgconfig(libudev)
Accepting request 1116606 from home:wagi:branches:Base:System - Use fixed timestamps for documentation allowing reproducable builds - Announce nvmeof-boot-support support via Provides - Filter rpmlint warnings for systemd-service-without-service_ macros - Add missing service files for NBFT feature * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch - Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061): * json: fix seg. fault converting NULL to JSON string (bsc#1213762) * nvme-print: Show subsystem iopolicy (bsc#1124564) * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598) * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598) * ccan: Add htable, strset and dependencies (bsc#1212598) * ccan: Remove unused documentation (bsc#1212598) * nvme-print: fix counter while looping through uuid_list (bsc#1212598) * fabrics: fix fc config JSON file handling (bsc#1210089) Refresh 0100-harden_nvmf-connect@.service.patch - Update to version 2.4 (jsc#PED-553 jsc#PED-3884): * nvme-print: sanitize supported-log-pages output (bsc#1209550) * nvme: fix block count and data size logic (bsc#1209564) * nvme-doc: update man page for supported-log-pages (bsc#1209550) * fabrics: Fix ordering for auto connect services (bsc#1208075) * json_discovery_log: avoid buffer overrun (bsc#1207435) * Fix connect nbft regressions (bsc#1209905) * Fix auto connect conditions (bsc#1210105) * Fix auto boot for NBFT connections (bsc#1211647) * fabrics: Honor JSON config file in connect-all command (bsc#1199504) * udev: Add HOST_IFACE to udev rule (bsc#1208001) * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) OBS-URL: https://build.opensuse.org/request/show/1116606 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 09:41:58 +02:00
# nvme-cli API for NBFT support.
Provides: nvmeof-boot-support = 0.1
%systemd_ordering
%description
NVM Express (NVMe) is a direct attached storage interface. The
nvme-cli package contains core management tools with minimal
dependencies.
%package -n nvme-cli-regress-script
Summary: A small script to test the nvme binary for regressions
Group: Hardware/Other
Requires: nvme-cli
BuildArch: noarch
%description -n nvme-cli-regress-script
A small shell script to test the nvme binary for regressions. It requires an
NVMe device for testing purposes. Do NOT use in a production environment.
%package bash-completion
Summary: NVM Express user space tools bash completion
Group: System/Shells
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (nvme-cli and bash-completion)
BuildArch: noarch
%description bash-completion
Optional dependency offering bash completion for NVM Express user space tools
%package zsh-completion
Summary: NVM Express user space tools zsh completion
Group: System/Shells
Requires: %{name} = %{version}
Requires: zsh
Supplements: (nvme-cli and zsh)
BuildArch: noarch
%description zsh-completion
Optional dependency offering zsh completion for NVM Express user space tools
%prep
%autosetup -p1
%build
Accepting request 1116606 from home:wagi:branches:Base:System - Use fixed timestamps for documentation allowing reproducable builds - Announce nvmeof-boot-support support via Provides - Filter rpmlint warnings for systemd-service-without-service_ macros - Add missing service files for NBFT feature * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch - Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061): * json: fix seg. fault converting NULL to JSON string (bsc#1213762) * nvme-print: Show subsystem iopolicy (bsc#1124564) * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598) * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598) * ccan: Add htable, strset and dependencies (bsc#1212598) * ccan: Remove unused documentation (bsc#1212598) * nvme-print: fix counter while looping through uuid_list (bsc#1212598) * fabrics: fix fc config JSON file handling (bsc#1210089) Refresh 0100-harden_nvmf-connect@.service.patch - Update to version 2.4 (jsc#PED-553 jsc#PED-3884): * nvme-print: sanitize supported-log-pages output (bsc#1209550) * nvme: fix block count and data size logic (bsc#1209564) * nvme-doc: update man page for supported-log-pages (bsc#1209550) * fabrics: Fix ordering for auto connect services (bsc#1208075) * json_discovery_log: avoid buffer overrun (bsc#1207435) * Fix connect nbft regressions (bsc#1209905) * Fix auto connect conditions (bsc#1210105) * Fix auto boot for NBFT connections (bsc#1211647) * fabrics: Honor JSON config file in connect-all command (bsc#1199504) * udev: Add HOST_IFACE to udev rule (bsc#1208001) * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) OBS-URL: https://build.opensuse.org/request/show/1116606 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 09:41:58 +02:00
export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)}
%meson \
-Dudevrulesdir=%{_udevrulesdir} \
-Ddracutrulesdir=%{_sysconfdir}/dracut/dracut.conf.d \
-Dsystemddir=%{_unitdir} \
-Ddocs=man \
%{?_with_docs_build:-Ddocs-build=true} \
-Dsystemctl=%{_bindir}/systemctl \
-Dversion-tag=%{version}
%meson_build
%if %{with check}
%check
%meson_test
%endif
%install
%meson_install
install -m 644 -D /dev/null %{buildroot}%{_sysconfdir}/nvme/hostnqn
install -m 644 -D /dev/null %{buildroot}%{_sysconfdir}/nvme/hostid
install -m 644 -D /dev/null %{buildroot}%{_sysconfdir}/nvme/discovery.conf
rm %{buildroot}%{_sysconfdir}/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
# for subpackage nvme-cli-regress-script:
Accepting request 1114409 from home:wagi:branches:Base:System - Update to version 2.6: * nvme: allocate payload buffer in create-ns command * nvme-print-stdout: Add CAP.CPS and CAP.NSSS human readable outputs * nvme: Add output-format default option instead of argconfig json option * nvme: fw-download offset only describes FW offset, not file offset * unit: add locale number test * util: handle utf-8 thousend separators correctly * nvme: Change to use NVME_ARGS verbose default option from OPT_ARGS * fabrics: Fix NVMF_ARGS macro to use parameter n correctly * nvme: Add verbose default option to show command debug output * util: Fix to set argconfig output format json option correctly * util: Split argconfig output format json function to set and get * nvme: Spport Phy Rx Eye Opening Measurement Log * nvme: Introduce nvme_realloc function * nvme: Fix for fdpa reserved field printing * completion: add 'version' and 'help' to list * udev-rule: apply round-robin iopolicy on i/o subsystems alone * nvme: Add support for the OAQD ID controller field * plugins/solidigm: use static log macro to calc bitmask * plugins/ocp: Rename FW activation history command * nvme: auto free nvme_dev resource * nvme: allocate aligned payloads for all nvme commands * nvme: introduce alloc helper with alignment support * util: add cleanup function for generic memory allocations * nvme: append huge to nvme_{alloc|free} function * nvme: fw_download use nvme_alloc only * fabrics: Removing duplicate code and moving to libnvme * nvme-print: omit size of protection information * tree: Modify label name close_fd to close_dev * fabrics: For TCP/RDMA, compare IP addresses with nvme_ipaddrs_eq() OBS-URL: https://build.opensuse.org/request/show/1114409 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=140
2023-09-29 18:19:36 +02:00
install -m 744 -D scripts/regress %{buildroot}%{_sbindir}/nvme-regress
Accepting request 669055 from home:hreinecke:branches:Base:System - Update to version 1.7 - Drop obsolete patches: - 0001-Use-tnvmcap-register-for-creating-namespace.patch - 0002-don-t-execute-a-command-if-dry-run-is-supplied.patch - 0003-Remove-trailing-n-so-that-the-output-is-valid-json.patch - 0004-nvme-cli-remove-unnecessary-assignments.patch - 0005-nvme-print.c-fix-ns-descs-JSON-output.patch - 0006-nvme-cli-fix-typo-in-json_print_list_items.patch - 0007-nvme-get-property-Add-documentation.patch - 0008-fabrics-write-ctrl_loss_tmo-to-fabrics-device-on-con.patch - 0009-fabrics-write-keep-alive-timeout-to-fabrics-device-o.patch - 0010-nvme-models.c-search-for-pci.ids.patch - 0011-nvme-cli-add-ns-write-protect-feature-support.patch - 0012-nvme-cli-add-minimal-ana-log-page-support.patch - 0013-nvme-cli-add-ana-log-documentation.patch - 0014-Fix-print-format-specifier-for-64-bit.patch - 0015-nvme-ana-log-fixup-compiler-warning-in-show_ana_log.patch - 0016-nvme-vendor-fixup-c99-declaration-in-huawei-plugin.patch - 0017-nvme-discover-sanitize-options.patch - 0018-Fix-nvme-id-namespace-struct.patch - 0019-nvme-cli-make-show_registers_cap-static.patch - 0020-nvme-cli-wdc-plugin-mark-array-static-declaration.patch - 0021-nvme-cli-fix-sparse-warnings-for-declaration.patch - 0022-nvme-cli-don-t-use-unsigned-for-fd-in-lnvm-nvme.c.patch - 0023-nvme-cli-remove-always-true-condition-for-u8.patch - 0024-nvme-cli-fix-dead-code-nvmf-log-page-discovery.patch - 0025-nvme-cli-code-cleanup-for-passthru-handlers.patch - 0026-nvme-cli-fix-scaandir-return-value.patch - 0027-nvme-cli-netapp-plugin-handle-empty-strings.patch - 0028-nvme-cli-Fix-the-displayed-metadata-length-value-on-.patch OBS-URL: https://build.opensuse.org/request/show/669055 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=64
2019-01-28 13:12:59 +01:00
Accepting request 1033046 from home:wagi:branches:Base:System - Update to version 2.2.1: * Added parsing for Solidigm telemetry observable data. * add item ddr_ecc_err_cnt in smart-log-add * build: Drop dependency on libuuid * build: Fix endian check for cross build * build: Remove unused uuid.wrap file * build: Remove unusned uuid.h include * completions: Add show-topology tab completion * fabrics: Honor JSON config file in connect-all command * fabrics: Trigger auto connect if config.json exists * fabrics: fix 'persistent' handling during connect-all with JSON file * fabrics: nvme config --modify depends on -n and -t argument * fabrics: re-read the discovery log page when a discovery controller reconnected * json: Support uint64 types serialization for older json-c versions * nvme, plugins: fix __u64 -> unsigned long long assumptions * nvme-print: Add missing values in id-ctrl for JSON output * nvme-print: Handle NULL hostid in JSON output * nvme-print: Output 128bit values as uint128 type instead of double * nvme-print: Print fguid as a UUID * nvme-print: Use uint128 JSON function for media_units_written * nvme-print: decode MI status values * nvme-print: decode status types * nvme-print: fix wrong json key * nvme: Add helper function to parse 16-bit comma separated list * nvme: Add nvme_cmd wrapper for get_features * nvme: Add show-topology command * nvme: Add wrapper for Format NVM * nvme: Add wrapper for Sanitize NVM * nvme: Add wrappers for Get Log page helpers * nvme: Add wrappers for Identify controller lists * nvme: Add wrappers for NS attach/detach * nvme: Add wrappers for NS management functions * nvme: Add wrappers for basic NS identify * nvme: Add wrappers for firmware commands * nvme: Fix set feature command to get feature identifier 0Dh length as zero * nvme: Introduce a union in struct nvme_dev for different transport types * nvme: Introduce nvme_cli_ wrappers, wrap identify and identify_ctrl * nvme: Make static nvme_dev private to open_dev(), use locals elsewhere * nvme: Masks SSTAT in sanize-log output * nvme: Remove static nvme_dev, allocate on open instead * nvme: Use correct print format specifier for sizeof arguments * nvme: Use local struct nvme_dev for show_registers & map_registers * nvme: check if cfg.metadata is NULL before passing it to strlen() * nvme: use helpers for checking status types * plugins/innogrit: Include timer.h * plugins/innogrit: add smart items for smart-log-add * plugins/micron-nvme: Use correct print format specifier for sizeof arguments * plugins/ocp: Include timer.h * plugins/ocp: Output 128bit values as uint128 type instead of double * plugins/ocp: pass struct nvme_dev to internal functions * plugins/seagate: Add support for OCP * plugins/toshiba: pass struct nvme_dev rather than fd + name * plugins/virtium: Output 128bit values as uint128 type instead of double * plugins/wdc: Add support for SN660 drive * plugins/wdc: Add type case for feature id * plugins/wdc: Output 128bit values as uint128 type instead of double * plugins/wdc: pass a struct nvme_dev around rather than a fd * plugins/wdc: pass struct nvme_dev rather than using global nvme_dev * plugins/ytmc: pass struct nvme_dev rather than fd + name * plugins: Use PRIu64 format specifier for 64bit types * print: Add Controller Ready Timeout Exceeded HW error code * solidgm: fix initialization warning * solidigm: Added parsing for telemetry customer screenable data * solidigm: Fix printf format for size_t variable * solidigm: Updated Telemetry parsing code to MIT license. * subprojects/libnvme: update for MI admin command coverage * tests: Update license to GPL-2.0-or-later * tree: Add NVMe-MI support * tree: Add dev_fd() helper * tree: Change nvme_dev from global to static * tree: Combine NVMe file descriptor into struct nvme_dev * tree: Move global device info to a single struct * tree: fail on non-negative return values from parse_and_open * udev: Add HOST_IFACE to udev rule * util/json.h: Add json_object_get_uint64 fallback implementation * util/json: Add 128 bit JSON helpers * util/types: Add 128 bit conversion helpers * util: Fix le128_to_cpu on big-endian * util: Fix le128_to_cpu on little-endian * util: Move common type conversion helpers into util section * utils/json: Add json_object_new_uint64 for json-c < 0.14 * utils: Fix uint128_t usage * wdc: OCP Log page updates and fixes * zns.c: report zones should be started after retrieved zone - Handle suse-missing-rclink lint warnings by providing the symlinks - Drop rpmlintrc as it is not needed anymore OBS-URL: https://build.opensuse.org/request/show/1033046 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=131
2022-11-03 12:32:41 +01:00
mkdir -p %{buildroot}%{_sbindir}
pushd %{buildroot}%{_sbindir}
ln -s service rcnvmefc-boot-connections
ln -s service rcnvmf-autoconnect
Accepting request 1116606 from home:wagi:branches:Base:System - Use fixed timestamps for documentation allowing reproducable builds - Announce nvmeof-boot-support support via Provides - Filter rpmlint warnings for systemd-service-without-service_ macros - Add missing service files for NBFT feature * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch - Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061): * json: fix seg. fault converting NULL to JSON string (bsc#1213762) * nvme-print: Show subsystem iopolicy (bsc#1124564) * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598) * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598) * ccan: Add htable, strset and dependencies (bsc#1212598) * ccan: Remove unused documentation (bsc#1212598) * nvme-print: fix counter while looping through uuid_list (bsc#1212598) * fabrics: fix fc config JSON file handling (bsc#1210089) Refresh 0100-harden_nvmf-connect@.service.patch - Update to version 2.4 (jsc#PED-553 jsc#PED-3884): * nvme-print: sanitize supported-log-pages output (bsc#1209550) * nvme: fix block count and data size logic (bsc#1209564) * nvme-doc: update man page for supported-log-pages (bsc#1209550) * fabrics: Fix ordering for auto connect services (bsc#1208075) * json_discovery_log: avoid buffer overrun (bsc#1207435) * Fix connect nbft regressions (bsc#1209905) * Fix auto connect conditions (bsc#1210105) * Fix auto boot for NBFT connections (bsc#1211647) * fabrics: Honor JSON config file in connect-all command (bsc#1199504) * udev: Add HOST_IFACE to udev rule (bsc#1208001) * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) OBS-URL: https://build.opensuse.org/request/show/1116606 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 09:41:58 +02:00
ln -s service rcnvmf-connect
ln -s service rcnvmf-connect-nbft
Accepting request 1033046 from home:wagi:branches:Base:System - Update to version 2.2.1: * Added parsing for Solidigm telemetry observable data. * add item ddr_ecc_err_cnt in smart-log-add * build: Drop dependency on libuuid * build: Fix endian check for cross build * build: Remove unused uuid.wrap file * build: Remove unusned uuid.h include * completions: Add show-topology tab completion * fabrics: Honor JSON config file in connect-all command * fabrics: Trigger auto connect if config.json exists * fabrics: fix 'persistent' handling during connect-all with JSON file * fabrics: nvme config --modify depends on -n and -t argument * fabrics: re-read the discovery log page when a discovery controller reconnected * json: Support uint64 types serialization for older json-c versions * nvme, plugins: fix __u64 -> unsigned long long assumptions * nvme-print: Add missing values in id-ctrl for JSON output * nvme-print: Handle NULL hostid in JSON output * nvme-print: Output 128bit values as uint128 type instead of double * nvme-print: Print fguid as a UUID * nvme-print: Use uint128 JSON function for media_units_written * nvme-print: decode MI status values * nvme-print: decode status types * nvme-print: fix wrong json key * nvme: Add helper function to parse 16-bit comma separated list * nvme: Add nvme_cmd wrapper for get_features * nvme: Add show-topology command * nvme: Add wrapper for Format NVM * nvme: Add wrapper for Sanitize NVM * nvme: Add wrappers for Get Log page helpers * nvme: Add wrappers for Identify controller lists * nvme: Add wrappers for NS attach/detach * nvme: Add wrappers for NS management functions * nvme: Add wrappers for basic NS identify * nvme: Add wrappers for firmware commands * nvme: Fix set feature command to get feature identifier 0Dh length as zero * nvme: Introduce a union in struct nvme_dev for different transport types * nvme: Introduce nvme_cli_ wrappers, wrap identify and identify_ctrl * nvme: Make static nvme_dev private to open_dev(), use locals elsewhere * nvme: Masks SSTAT in sanize-log output * nvme: Remove static nvme_dev, allocate on open instead * nvme: Use correct print format specifier for sizeof arguments * nvme: Use local struct nvme_dev for show_registers & map_registers * nvme: check if cfg.metadata is NULL before passing it to strlen() * nvme: use helpers for checking status types * plugins/innogrit: Include timer.h * plugins/innogrit: add smart items for smart-log-add * plugins/micron-nvme: Use correct print format specifier for sizeof arguments * plugins/ocp: Include timer.h * plugins/ocp: Output 128bit values as uint128 type instead of double * plugins/ocp: pass struct nvme_dev to internal functions * plugins/seagate: Add support for OCP * plugins/toshiba: pass struct nvme_dev rather than fd + name * plugins/virtium: Output 128bit values as uint128 type instead of double * plugins/wdc: Add support for SN660 drive * plugins/wdc: Add type case for feature id * plugins/wdc: Output 128bit values as uint128 type instead of double * plugins/wdc: pass a struct nvme_dev around rather than a fd * plugins/wdc: pass struct nvme_dev rather than using global nvme_dev * plugins/ytmc: pass struct nvme_dev rather than fd + name * plugins: Use PRIu64 format specifier for 64bit types * print: Add Controller Ready Timeout Exceeded HW error code * solidgm: fix initialization warning * solidigm: Added parsing for telemetry customer screenable data * solidigm: Fix printf format for size_t variable * solidigm: Updated Telemetry parsing code to MIT license. * subprojects/libnvme: update for MI admin command coverage * tests: Update license to GPL-2.0-or-later * tree: Add NVMe-MI support * tree: Add dev_fd() helper * tree: Change nvme_dev from global to static * tree: Combine NVMe file descriptor into struct nvme_dev * tree: Move global device info to a single struct * tree: fail on non-negative return values from parse_and_open * udev: Add HOST_IFACE to udev rule * util/json.h: Add json_object_get_uint64 fallback implementation * util/json: Add 128 bit JSON helpers * util/types: Add 128 bit conversion helpers * util: Fix le128_to_cpu on big-endian * util: Fix le128_to_cpu on little-endian * util: Move common type conversion helpers into util section * utils/json: Add json_object_new_uint64 for json-c < 0.14 * utils: Fix uint128_t usage * wdc: OCP Log page updates and fixes * zns.c: report zones should be started after retrieved zone - Handle suse-missing-rclink lint warnings by providing the symlinks - Drop rpmlintrc as it is not needed anymore OBS-URL: https://build.opensuse.org/request/show/1033046 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=131
2022-11-03 12:32:41 +01:00
popd
Accepting request 1116606 from home:wagi:branches:Base:System - Use fixed timestamps for documentation allowing reproducable builds - Announce nvmeof-boot-support support via Provides - Filter rpmlint warnings for systemd-service-without-service_ macros - Add missing service files for NBFT feature * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch - Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061): * json: fix seg. fault converting NULL to JSON string (bsc#1213762) * nvme-print: Show subsystem iopolicy (bsc#1124564) * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598) * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598) * ccan: Add htable, strset and dependencies (bsc#1212598) * ccan: Remove unused documentation (bsc#1212598) * nvme-print: fix counter while looping through uuid_list (bsc#1212598) * fabrics: fix fc config JSON file handling (bsc#1210089) Refresh 0100-harden_nvmf-connect@.service.patch - Update to version 2.4 (jsc#PED-553 jsc#PED-3884): * nvme-print: sanitize supported-log-pages output (bsc#1209550) * nvme: fix block count and data size logic (bsc#1209564) * nvme-doc: update man page for supported-log-pages (bsc#1209550) * fabrics: Fix ordering for auto connect services (bsc#1208075) * json_discovery_log: avoid buffer overrun (bsc#1207435) * Fix connect nbft regressions (bsc#1209905) * Fix auto connect conditions (bsc#1210105) * Fix auto boot for NBFT connections (bsc#1211647) * fabrics: Honor JSON config file in connect-all command (bsc#1199504) * udev: Add HOST_IFACE to udev rule (bsc#1208001) * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) OBS-URL: https://build.opensuse.org/request/show/1116606 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 09:41:58 +02:00
%define services nvmefc-boot-connections.service nvmf-autoconnect.service nvmf-connect.target nvmf-connect-nbft.service
Accepting request 669055 from home:hreinecke:branches:Base:System - Update to version 1.7 - Drop obsolete patches: - 0001-Use-tnvmcap-register-for-creating-namespace.patch - 0002-don-t-execute-a-command-if-dry-run-is-supplied.patch - 0003-Remove-trailing-n-so-that-the-output-is-valid-json.patch - 0004-nvme-cli-remove-unnecessary-assignments.patch - 0005-nvme-print.c-fix-ns-descs-JSON-output.patch - 0006-nvme-cli-fix-typo-in-json_print_list_items.patch - 0007-nvme-get-property-Add-documentation.patch - 0008-fabrics-write-ctrl_loss_tmo-to-fabrics-device-on-con.patch - 0009-fabrics-write-keep-alive-timeout-to-fabrics-device-o.patch - 0010-nvme-models.c-search-for-pci.ids.patch - 0011-nvme-cli-add-ns-write-protect-feature-support.patch - 0012-nvme-cli-add-minimal-ana-log-page-support.patch - 0013-nvme-cli-add-ana-log-documentation.patch - 0014-Fix-print-format-specifier-for-64-bit.patch - 0015-nvme-ana-log-fixup-compiler-warning-in-show_ana_log.patch - 0016-nvme-vendor-fixup-c99-declaration-in-huawei-plugin.patch - 0017-nvme-discover-sanitize-options.patch - 0018-Fix-nvme-id-namespace-struct.patch - 0019-nvme-cli-make-show_registers_cap-static.patch - 0020-nvme-cli-wdc-plugin-mark-array-static-declaration.patch - 0021-nvme-cli-fix-sparse-warnings-for-declaration.patch - 0022-nvme-cli-don-t-use-unsigned-for-fd-in-lnvm-nvme.c.patch - 0023-nvme-cli-remove-always-true-condition-for-u8.patch - 0024-nvme-cli-fix-dead-code-nvmf-log-page-discovery.patch - 0025-nvme-cli-code-cleanup-for-passthru-handlers.patch - 0026-nvme-cli-fix-scaandir-return-value.patch - 0027-nvme-cli-netapp-plugin-handle-empty-strings.patch - 0028-nvme-cli-Fix-the-displayed-metadata-length-value-on-.patch OBS-URL: https://build.opensuse.org/request/show/669055 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=64
2019-01-28 13:12:59 +01:00
%pre
%service_add_pre %{services} nvmf-connect@.service
%post
if [ ! -s %{_sysconfdir}/nvme/hostnqn ]; then
%{_bindir}/echo "Generating host NQN."
%{_sbindir}/nvme gen-hostnqn > %{_sysconfdir}/nvme/hostnqn
fi
if [ ! -s %{_sysconfdir}/nvme/hostid ]; then
Accepting request 1033046 from home:wagi:branches:Base:System - Update to version 2.2.1: * Added parsing for Solidigm telemetry observable data. * add item ddr_ecc_err_cnt in smart-log-add * build: Drop dependency on libuuid * build: Fix endian check for cross build * build: Remove unused uuid.wrap file * build: Remove unusned uuid.h include * completions: Add show-topology tab completion * fabrics: Honor JSON config file in connect-all command * fabrics: Trigger auto connect if config.json exists * fabrics: fix 'persistent' handling during connect-all with JSON file * fabrics: nvme config --modify depends on -n and -t argument * fabrics: re-read the discovery log page when a discovery controller reconnected * json: Support uint64 types serialization for older json-c versions * nvme, plugins: fix __u64 -> unsigned long long assumptions * nvme-print: Add missing values in id-ctrl for JSON output * nvme-print: Handle NULL hostid in JSON output * nvme-print: Output 128bit values as uint128 type instead of double * nvme-print: Print fguid as a UUID * nvme-print: Use uint128 JSON function for media_units_written * nvme-print: decode MI status values * nvme-print: decode status types * nvme-print: fix wrong json key * nvme: Add helper function to parse 16-bit comma separated list * nvme: Add nvme_cmd wrapper for get_features * nvme: Add show-topology command * nvme: Add wrapper for Format NVM * nvme: Add wrapper for Sanitize NVM * nvme: Add wrappers for Get Log page helpers * nvme: Add wrappers for Identify controller lists * nvme: Add wrappers for NS attach/detach * nvme: Add wrappers for NS management functions * nvme: Add wrappers for basic NS identify * nvme: Add wrappers for firmware commands * nvme: Fix set feature command to get feature identifier 0Dh length as zero * nvme: Introduce a union in struct nvme_dev for different transport types * nvme: Introduce nvme_cli_ wrappers, wrap identify and identify_ctrl * nvme: Make static nvme_dev private to open_dev(), use locals elsewhere * nvme: Masks SSTAT in sanize-log output * nvme: Remove static nvme_dev, allocate on open instead * nvme: Use correct print format specifier for sizeof arguments * nvme: Use local struct nvme_dev for show_registers & map_registers * nvme: check if cfg.metadata is NULL before passing it to strlen() * nvme: use helpers for checking status types * plugins/innogrit: Include timer.h * plugins/innogrit: add smart items for smart-log-add * plugins/micron-nvme: Use correct print format specifier for sizeof arguments * plugins/ocp: Include timer.h * plugins/ocp: Output 128bit values as uint128 type instead of double * plugins/ocp: pass struct nvme_dev to internal functions * plugins/seagate: Add support for OCP * plugins/toshiba: pass struct nvme_dev rather than fd + name * plugins/virtium: Output 128bit values as uint128 type instead of double * plugins/wdc: Add support for SN660 drive * plugins/wdc: Add type case for feature id * plugins/wdc: Output 128bit values as uint128 type instead of double * plugins/wdc: pass a struct nvme_dev around rather than a fd * plugins/wdc: pass struct nvme_dev rather than using global nvme_dev * plugins/ytmc: pass struct nvme_dev rather than fd + name * plugins: Use PRIu64 format specifier for 64bit types * print: Add Controller Ready Timeout Exceeded HW error code * solidgm: fix initialization warning * solidigm: Added parsing for telemetry customer screenable data * solidigm: Fix printf format for size_t variable * solidigm: Updated Telemetry parsing code to MIT license. * subprojects/libnvme: update for MI admin command coverage * tests: Update license to GPL-2.0-or-later * tree: Add NVMe-MI support * tree: Add dev_fd() helper * tree: Change nvme_dev from global to static * tree: Combine NVMe file descriptor into struct nvme_dev * tree: Move global device info to a single struct * tree: fail on non-negative return values from parse_and_open * udev: Add HOST_IFACE to udev rule * util/json.h: Add json_object_get_uint64 fallback implementation * util/json: Add 128 bit JSON helpers * util/types: Add 128 bit conversion helpers * util: Fix le128_to_cpu on big-endian * util: Fix le128_to_cpu on little-endian * util: Move common type conversion helpers into util section * utils/json: Add json_object_new_uint64 for json-c < 0.14 * utils: Fix uint128_t usage * wdc: OCP Log page updates and fixes * zns.c: report zones should be started after retrieved zone - Handle suse-missing-rclink lint warnings by providing the symlinks - Drop rpmlintrc as it is not needed anymore OBS-URL: https://build.opensuse.org/request/show/1033046 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=131
2022-11-03 12:32:41 +01:00
sed -nr 's/.*:uuid:(.*?)$/\1/p' %{_sysconfdir}/nvme/hostnqn > %{_sysconfdir}/nvme/hostid
fi
%service_add_post %{services} nvmf-connect@.service
Accepting request 669055 from home:hreinecke:branches:Base:System - Update to version 1.7 - Drop obsolete patches: - 0001-Use-tnvmcap-register-for-creating-namespace.patch - 0002-don-t-execute-a-command-if-dry-run-is-supplied.patch - 0003-Remove-trailing-n-so-that-the-output-is-valid-json.patch - 0004-nvme-cli-remove-unnecessary-assignments.patch - 0005-nvme-print.c-fix-ns-descs-JSON-output.patch - 0006-nvme-cli-fix-typo-in-json_print_list_items.patch - 0007-nvme-get-property-Add-documentation.patch - 0008-fabrics-write-ctrl_loss_tmo-to-fabrics-device-on-con.patch - 0009-fabrics-write-keep-alive-timeout-to-fabrics-device-o.patch - 0010-nvme-models.c-search-for-pci.ids.patch - 0011-nvme-cli-add-ns-write-protect-feature-support.patch - 0012-nvme-cli-add-minimal-ana-log-page-support.patch - 0013-nvme-cli-add-ana-log-documentation.patch - 0014-Fix-print-format-specifier-for-64-bit.patch - 0015-nvme-ana-log-fixup-compiler-warning-in-show_ana_log.patch - 0016-nvme-vendor-fixup-c99-declaration-in-huawei-plugin.patch - 0017-nvme-discover-sanitize-options.patch - 0018-Fix-nvme-id-namespace-struct.patch - 0019-nvme-cli-make-show_registers_cap-static.patch - 0020-nvme-cli-wdc-plugin-mark-array-static-declaration.patch - 0021-nvme-cli-fix-sparse-warnings-for-declaration.patch - 0022-nvme-cli-don-t-use-unsigned-for-fd-in-lnvm-nvme.c.patch - 0023-nvme-cli-remove-always-true-condition-for-u8.patch - 0024-nvme-cli-fix-dead-code-nvmf-log-page-discovery.patch - 0025-nvme-cli-code-cleanup-for-passthru-handlers.patch - 0026-nvme-cli-fix-scaandir-return-value.patch - 0027-nvme-cli-netapp-plugin-handle-empty-strings.patch - 0028-nvme-cli-Fix-the-displayed-metadata-length-value-on-.patch OBS-URL: https://build.opensuse.org/request/show/669055 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=64
2019-01-28 13:12:59 +01:00
%preun
%service_del_preun %{services}
Accepting request 669055 from home:hreinecke:branches:Base:System - Update to version 1.7 - Drop obsolete patches: - 0001-Use-tnvmcap-register-for-creating-namespace.patch - 0002-don-t-execute-a-command-if-dry-run-is-supplied.patch - 0003-Remove-trailing-n-so-that-the-output-is-valid-json.patch - 0004-nvme-cli-remove-unnecessary-assignments.patch - 0005-nvme-print.c-fix-ns-descs-JSON-output.patch - 0006-nvme-cli-fix-typo-in-json_print_list_items.patch - 0007-nvme-get-property-Add-documentation.patch - 0008-fabrics-write-ctrl_loss_tmo-to-fabrics-device-on-con.patch - 0009-fabrics-write-keep-alive-timeout-to-fabrics-device-o.patch - 0010-nvme-models.c-search-for-pci.ids.patch - 0011-nvme-cli-add-ns-write-protect-feature-support.patch - 0012-nvme-cli-add-minimal-ana-log-page-support.patch - 0013-nvme-cli-add-ana-log-documentation.patch - 0014-Fix-print-format-specifier-for-64-bit.patch - 0015-nvme-ana-log-fixup-compiler-warning-in-show_ana_log.patch - 0016-nvme-vendor-fixup-c99-declaration-in-huawei-plugin.patch - 0017-nvme-discover-sanitize-options.patch - 0018-Fix-nvme-id-namespace-struct.patch - 0019-nvme-cli-make-show_registers_cap-static.patch - 0020-nvme-cli-wdc-plugin-mark-array-static-declaration.patch - 0021-nvme-cli-fix-sparse-warnings-for-declaration.patch - 0022-nvme-cli-don-t-use-unsigned-for-fd-in-lnvm-nvme.c.patch - 0023-nvme-cli-remove-always-true-condition-for-u8.patch - 0024-nvme-cli-fix-dead-code-nvmf-log-page-discovery.patch - 0025-nvme-cli-code-cleanup-for-passthru-handlers.patch - 0026-nvme-cli-fix-scaandir-return-value.patch - 0027-nvme-cli-netapp-plugin-handle-empty-strings.patch - 0028-nvme-cli-Fix-the-displayed-metadata-length-value-on-.patch OBS-URL: https://build.opensuse.org/request/show/669055 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=64
2019-01-28 13:12:59 +01:00
%postun
%service_del_postun %{services}
%posttrans
if [ -f /sys/class/fc/fc_udev_device/nvme_discovery ]; then
%{_bindir}/echo add > /sys/class/fc/fc_udev_device/nvme_discovery
fi
%pre -n nvme-cli-bash-completion
if [ -d %{_datadir}/bash-completion/completions/nvme ]; then
rm -r %{_datadir}/bash-completion/completions/nvme;
fi
%files
%license LICENSE
%doc README.md
%{_sbindir}/nvme
Accepting request 1033046 from home:wagi:branches:Base:System - Update to version 2.2.1: * Added parsing for Solidigm telemetry observable data. * add item ddr_ecc_err_cnt in smart-log-add * build: Drop dependency on libuuid * build: Fix endian check for cross build * build: Remove unused uuid.wrap file * build: Remove unusned uuid.h include * completions: Add show-topology tab completion * fabrics: Honor JSON config file in connect-all command * fabrics: Trigger auto connect if config.json exists * fabrics: fix 'persistent' handling during connect-all with JSON file * fabrics: nvme config --modify depends on -n and -t argument * fabrics: re-read the discovery log page when a discovery controller reconnected * json: Support uint64 types serialization for older json-c versions * nvme, plugins: fix __u64 -> unsigned long long assumptions * nvme-print: Add missing values in id-ctrl for JSON output * nvme-print: Handle NULL hostid in JSON output * nvme-print: Output 128bit values as uint128 type instead of double * nvme-print: Print fguid as a UUID * nvme-print: Use uint128 JSON function for media_units_written * nvme-print: decode MI status values * nvme-print: decode status types * nvme-print: fix wrong json key * nvme: Add helper function to parse 16-bit comma separated list * nvme: Add nvme_cmd wrapper for get_features * nvme: Add show-topology command * nvme: Add wrapper for Format NVM * nvme: Add wrapper for Sanitize NVM * nvme: Add wrappers for Get Log page helpers * nvme: Add wrappers for Identify controller lists * nvme: Add wrappers for NS attach/detach * nvme: Add wrappers for NS management functions * nvme: Add wrappers for basic NS identify * nvme: Add wrappers for firmware commands * nvme: Fix set feature command to get feature identifier 0Dh length as zero * nvme: Introduce a union in struct nvme_dev for different transport types * nvme: Introduce nvme_cli_ wrappers, wrap identify and identify_ctrl * nvme: Make static nvme_dev private to open_dev(), use locals elsewhere * nvme: Masks SSTAT in sanize-log output * nvme: Remove static nvme_dev, allocate on open instead * nvme: Use correct print format specifier for sizeof arguments * nvme: Use local struct nvme_dev for show_registers & map_registers * nvme: check if cfg.metadata is NULL before passing it to strlen() * nvme: use helpers for checking status types * plugins/innogrit: Include timer.h * plugins/innogrit: add smart items for smart-log-add * plugins/micron-nvme: Use correct print format specifier for sizeof arguments * plugins/ocp: Include timer.h * plugins/ocp: Output 128bit values as uint128 type instead of double * plugins/ocp: pass struct nvme_dev to internal functions * plugins/seagate: Add support for OCP * plugins/toshiba: pass struct nvme_dev rather than fd + name * plugins/virtium: Output 128bit values as uint128 type instead of double * plugins/wdc: Add support for SN660 drive * plugins/wdc: Add type case for feature id * plugins/wdc: Output 128bit values as uint128 type instead of double * plugins/wdc: pass a struct nvme_dev around rather than a fd * plugins/wdc: pass struct nvme_dev rather than using global nvme_dev * plugins/ytmc: pass struct nvme_dev rather than fd + name * plugins: Use PRIu64 format specifier for 64bit types * print: Add Controller Ready Timeout Exceeded HW error code * solidgm: fix initialization warning * solidigm: Added parsing for telemetry customer screenable data * solidigm: Fix printf format for size_t variable * solidigm: Updated Telemetry parsing code to MIT license. * subprojects/libnvme: update for MI admin command coverage * tests: Update license to GPL-2.0-or-later * tree: Add NVMe-MI support * tree: Add dev_fd() helper * tree: Change nvme_dev from global to static * tree: Combine NVMe file descriptor into struct nvme_dev * tree: Move global device info to a single struct * tree: fail on non-negative return values from parse_and_open * udev: Add HOST_IFACE to udev rule * util/json.h: Add json_object_get_uint64 fallback implementation * util/json: Add 128 bit JSON helpers * util/types: Add 128 bit conversion helpers * util: Fix le128_to_cpu on big-endian * util: Fix le128_to_cpu on little-endian * util: Move common type conversion helpers into util section * utils/json: Add json_object_new_uint64 for json-c < 0.14 * utils: Fix uint128_t usage * wdc: OCP Log page updates and fixes * zns.c: report zones should be started after retrieved zone - Handle suse-missing-rclink lint warnings by providing the symlinks - Drop rpmlintrc as it is not needed anymore OBS-URL: https://build.opensuse.org/request/show/1033046 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=131
2022-11-03 12:32:41 +01:00
%{_sbindir}/rcnvmefc-boot-connections
%{_sbindir}/rcnvmf-autoconnect
Accepting request 1116606 from home:wagi:branches:Base:System - Use fixed timestamps for documentation allowing reproducable builds - Announce nvmeof-boot-support support via Provides - Filter rpmlint warnings for systemd-service-without-service_ macros - Add missing service files for NBFT feature * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch - Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061): * json: fix seg. fault converting NULL to JSON string (bsc#1213762) * nvme-print: Show subsystem iopolicy (bsc#1124564) * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598) * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598) * ccan: Add htable, strset and dependencies (bsc#1212598) * ccan: Remove unused documentation (bsc#1212598) * nvme-print: fix counter while looping through uuid_list (bsc#1212598) * fabrics: fix fc config JSON file handling (bsc#1210089) Refresh 0100-harden_nvmf-connect@.service.patch - Update to version 2.4 (jsc#PED-553 jsc#PED-3884): * nvme-print: sanitize supported-log-pages output (bsc#1209550) * nvme: fix block count and data size logic (bsc#1209564) * nvme-doc: update man page for supported-log-pages (bsc#1209550) * fabrics: Fix ordering for auto connect services (bsc#1208075) * json_discovery_log: avoid buffer overrun (bsc#1207435) * Fix connect nbft regressions (bsc#1209905) * Fix auto connect conditions (bsc#1210105) * Fix auto boot for NBFT connections (bsc#1211647) * fabrics: Honor JSON config file in connect-all command (bsc#1199504) * udev: Add HOST_IFACE to udev rule (bsc#1208001) * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) OBS-URL: https://build.opensuse.org/request/show/1116606 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 09:41:58 +02:00
%{_sbindir}/rcnvmf-connect
%{_sbindir}/rcnvmf-connect-nbft
%{_mandir}/man1/nvme*.1*%{?ext_man}
Accepting request 1116606 from home:wagi:branches:Base:System - Use fixed timestamps for documentation allowing reproducable builds - Announce nvmeof-boot-support support via Provides - Filter rpmlint warnings for systemd-service-without-service_ macros - Add missing service files for NBFT feature * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch - Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061): * json: fix seg. fault converting NULL to JSON string (bsc#1213762) * nvme-print: Show subsystem iopolicy (bsc#1124564) * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598) * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598) * ccan: Add htable, strset and dependencies (bsc#1212598) * ccan: Remove unused documentation (bsc#1212598) * nvme-print: fix counter while looping through uuid_list (bsc#1212598) * fabrics: fix fc config JSON file handling (bsc#1210089) Refresh 0100-harden_nvmf-connect@.service.patch - Update to version 2.4 (jsc#PED-553 jsc#PED-3884): * nvme-print: sanitize supported-log-pages output (bsc#1209550) * nvme: fix block count and data size logic (bsc#1209564) * nvme-doc: update man page for supported-log-pages (bsc#1209550) * fabrics: Fix ordering for auto connect services (bsc#1208075) * json_discovery_log: avoid buffer overrun (bsc#1207435) * Fix connect nbft regressions (bsc#1209905) * Fix auto connect conditions (bsc#1210105) * Fix auto boot for NBFT connections (bsc#1211647) * fabrics: Honor JSON config file in connect-all command (bsc#1199504) * udev: Add HOST_IFACE to udev rule (bsc#1208001) * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) OBS-URL: https://build.opensuse.org/request/show/1116606 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 09:41:58 +02:00
%{_udevrulesdir}/65-persistent-net-nbft.rules
Accepting request 749536 from home:hreinecke:branches:Base:System - Add libhugetlbfs to the list of build requirements - Update to version 1.9+git122.c5097d5: * [NVMe-CLI] Get DUI for SN-340 failing with Data Area 4 - Buffer Misalignment * Minor intel-nvme print refactor * Use simpler nvme ioctl api for admin * Relocate functions and constants to the files that use them * Move all spec defined structs to single file * Update build rules for .c with no .h * Update my email address * Makefile: fix cleaning subdirectories * remove unused "paths" controller field * reign in line lengths * Add print for directive receive * Unify print routines * regenerate documentation * fix fw-download reference to committing fw * argconfig: Remove unused paramters * fix huawei filter to search all namespaces * nvme-cli: Support for hugetlbfs * Remove all 'struct nvme_command' usage * nvme-cli: Update PMR Capability and PMR Status 1. Adding Controller Memory Space Supported(CMSS) in PMRCAP 2. Adding Persistent Memory Region Status(CBAI) in PMRSTS * nvme-cli: Update Controller Capabilities Register 1. Add Controller Memory Buffer Supported (CMBS) * nvme-cli: Update NVMe Registers 1. Add Controller Memory Buffer Memory Space Control (CMBMSC) 2. Add Controller Memory Buffer Status (CMBSTS) 3. Add Persistent Memory Region Memory Space Control (PMRMSC) * fixup attach-ns documentation * Add files via upload * [NVMe-CLI] Updates and fixes to WDC plugin command vs-internal-log for the SN340 drive. * Regen docs, add host-nqn man page * [NVMe-ClI] Add Documentation files for clear-fw-activate-history command * [NVMe-CLI] Add clear-fw-activate-history WDC plugin command OBS-URL: https://build.opensuse.org/request/show/749536 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=79
2019-11-19 15:15:45 +01:00
%{_udevrulesdir}/70-nvmf-autoconnect.rules
Accepting request 1134174 from home:wagi:branches:Base:System - Update to version 2.7: * nvme-print-json: include vs for identify namespace * nvme-print-stdout: enhance connect message * fabrics: fix connect error if hostid file does not exist * fabrics: fix invalid output format error during nvme connect * wdc: Fix vs-smart-add-log Command for SN650 and SN655 * nvme: restric hmac options for gen-tls-key * wdc: Fix UUID index fallback mechanism * plugins/ocp: Add OCP Telemetry String log page, Telemetry log page * completions: Add bash completions for telemetry string log page * plugins/solidigm: Added OCP 2.0 compatibility version command * plugins/solidigm: Added OCP 2.0 vs-drive-info command. * plugins/ocp: Fix printing order of various Latency Monitor Log buckets * nvme: validate output format split status from flag return value * nvme: simplify cleanup_nvme_dev() * cleanup: remove unused cleanup_charp() * wdc: Add support for SN861 2nd pci device id * nvme: replace libhugetlbfs with mmap and madvise * util/mem: move alloc helper to util section * nvme: auto cleanup filedescriptors * nvme: auto cleanup buffers * nvme: return error code in get_persistent_event_log * nvme: sanitize nvme-gen-tls-key * nvme: print out the resulting TLS identity for 'nvme check-tls-key' * nvme: Add version '1' identifier for nvme-gen-tls-key * subprojects/libnvme: update wrapper for TP8018 * plugins/solidigm: Added re_sku_count smart atrribute * doc: Fix nvme-connect manpage --application option string * plugins/ocp: changed command clear-pcie-correctable-error-counters to match OCP 2.0 spec. * plugins/solidigm: Added command to clear PCIe Correctable Error Counters according to OCP 2.0 OBS-URL: https://build.opensuse.org/request/show/1134174 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=150
2023-12-20 11:20:18 +01:00
%{_udevrulesdir}/71-nvmf-netapp.rules
Accepting request 669055 from home:hreinecke:branches:Base:System - Update to version 1.7 - Drop obsolete patches: - 0001-Use-tnvmcap-register-for-creating-namespace.patch - 0002-don-t-execute-a-command-if-dry-run-is-supplied.patch - 0003-Remove-trailing-n-so-that-the-output-is-valid-json.patch - 0004-nvme-cli-remove-unnecessary-assignments.patch - 0005-nvme-print.c-fix-ns-descs-JSON-output.patch - 0006-nvme-cli-fix-typo-in-json_print_list_items.patch - 0007-nvme-get-property-Add-documentation.patch - 0008-fabrics-write-ctrl_loss_tmo-to-fabrics-device-on-con.patch - 0009-fabrics-write-keep-alive-timeout-to-fabrics-device-o.patch - 0010-nvme-models.c-search-for-pci.ids.patch - 0011-nvme-cli-add-ns-write-protect-feature-support.patch - 0012-nvme-cli-add-minimal-ana-log-page-support.patch - 0013-nvme-cli-add-ana-log-documentation.patch - 0014-Fix-print-format-specifier-for-64-bit.patch - 0015-nvme-ana-log-fixup-compiler-warning-in-show_ana_log.patch - 0016-nvme-vendor-fixup-c99-declaration-in-huawei-plugin.patch - 0017-nvme-discover-sanitize-options.patch - 0018-Fix-nvme-id-namespace-struct.patch - 0019-nvme-cli-make-show_registers_cap-static.patch - 0020-nvme-cli-wdc-plugin-mark-array-static-declaration.patch - 0021-nvme-cli-fix-sparse-warnings-for-declaration.patch - 0022-nvme-cli-don-t-use-unsigned-for-fd-in-lnvm-nvme.c.patch - 0023-nvme-cli-remove-always-true-condition-for-u8.patch - 0024-nvme-cli-fix-dead-code-nvmf-log-page-discovery.patch - 0025-nvme-cli-code-cleanup-for-passthru-handlers.patch - 0026-nvme-cli-fix-scaandir-return-value.patch - 0027-nvme-cli-netapp-plugin-handle-empty-strings.patch - 0028-nvme-cli-Fix-the-displayed-metadata-length-value-on-.patch OBS-URL: https://build.opensuse.org/request/show/669055 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=64
2019-01-28 13:12:59 +01:00
%{_unitdir}/nvmefc-boot-connections.service
Accepting request 1116606 from home:wagi:branches:Base:System - Use fixed timestamps for documentation allowing reproducable builds - Announce nvmeof-boot-support support via Provides - Filter rpmlint warnings for systemd-service-without-service_ macros - Add missing service files for NBFT feature * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch - Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061): * json: fix seg. fault converting NULL to JSON string (bsc#1213762) * nvme-print: Show subsystem iopolicy (bsc#1124564) * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598) * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598) * ccan: Add htable, strset and dependencies (bsc#1212598) * ccan: Remove unused documentation (bsc#1212598) * nvme-print: fix counter while looping through uuid_list (bsc#1212598) * fabrics: fix fc config JSON file handling (bsc#1210089) Refresh 0100-harden_nvmf-connect@.service.patch - Update to version 2.4 (jsc#PED-553 jsc#PED-3884): * nvme-print: sanitize supported-log-pages output (bsc#1209550) * nvme: fix block count and data size logic (bsc#1209564) * nvme-doc: update man page for supported-log-pages (bsc#1209550) * fabrics: Fix ordering for auto connect services (bsc#1208075) * json_discovery_log: avoid buffer overrun (bsc#1207435) * Fix connect nbft regressions (bsc#1209905) * Fix auto connect conditions (bsc#1210105) * Fix auto boot for NBFT connections (bsc#1211647) * fabrics: Honor JSON config file in connect-all command (bsc#1199504) * udev: Add HOST_IFACE to udev rule (bsc#1208001) * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) OBS-URL: https://build.opensuse.org/request/show/1116606 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 09:41:58 +02:00
%{_unitdir}/nvmf-autoconnect.service
%{_unitdir}/nvmf-connect-nbft.service
Accepting request 749536 from home:hreinecke:branches:Base:System - Add libhugetlbfs to the list of build requirements - Update to version 1.9+git122.c5097d5: * [NVMe-CLI] Get DUI for SN-340 failing with Data Area 4 - Buffer Misalignment * Minor intel-nvme print refactor * Use simpler nvme ioctl api for admin * Relocate functions and constants to the files that use them * Move all spec defined structs to single file * Update build rules for .c with no .h * Update my email address * Makefile: fix cleaning subdirectories * remove unused "paths" controller field * reign in line lengths * Add print for directive receive * Unify print routines * regenerate documentation * fix fw-download reference to committing fw * argconfig: Remove unused paramters * fix huawei filter to search all namespaces * nvme-cli: Support for hugetlbfs * Remove all 'struct nvme_command' usage * nvme-cli: Update PMR Capability and PMR Status 1. Adding Controller Memory Space Supported(CMSS) in PMRCAP 2. Adding Persistent Memory Region Status(CBAI) in PMRSTS * nvme-cli: Update Controller Capabilities Register 1. Add Controller Memory Buffer Supported (CMBS) * nvme-cli: Update NVMe Registers 1. Add Controller Memory Buffer Memory Space Control (CMBMSC) 2. Add Controller Memory Buffer Status (CMBSTS) 3. Add Persistent Memory Region Memory Space Control (PMRMSC) * fixup attach-ns documentation * Add files via upload * [NVMe-CLI] Updates and fixes to WDC plugin command vs-internal-log for the SN340 drive. * Regen docs, add host-nqn man page * [NVMe-ClI] Add Documentation files for clear-fw-activate-history command * [NVMe-CLI] Add clear-fw-activate-history WDC plugin command OBS-URL: https://build.opensuse.org/request/show/749536 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=79
2019-11-19 15:15:45 +01:00
%{_unitdir}/nvmf-connect.target
Accepting request 1116606 from home:wagi:branches:Base:System - Use fixed timestamps for documentation allowing reproducable builds - Announce nvmeof-boot-support support via Provides - Filter rpmlint warnings for systemd-service-without-service_ macros - Add missing service files for NBFT feature * add 0001-fabrics-autoconnect-add-service-unit-for-connecting-.patch * add 0002-fabrics-add-udev-rule-to-avoid-renaming-nbft-interfa.patch - Update to version 2.6 (jsc#PED-3610 jsc#PED-4879 jsc#PED-5061): * json: fix seg. fault converting NULL to JSON string (bsc#1213762) * nvme-print: Show subsystem iopolicy (bsc#1124564) * nvme-print-stdout: Do not show non reachable ns in namespace topology (bsc#1212598) * nvme-print-stdout: List only ctrls which are part of ns (bsc#1212598) * nvme-print-stdout: Support subsys reachable from several hosts (bsc#1212598) * ccan: Add htable, strset and dependencies (bsc#1212598) * ccan: Remove unused documentation (bsc#1212598) * nvme-print: fix counter while looping through uuid_list (bsc#1212598) * fabrics: fix fc config JSON file handling (bsc#1210089) Refresh 0100-harden_nvmf-connect@.service.patch - Update to version 2.4 (jsc#PED-553 jsc#PED-3884): * nvme-print: sanitize supported-log-pages output (bsc#1209550) * nvme: fix block count and data size logic (bsc#1209564) * nvme-doc: update man page for supported-log-pages (bsc#1209550) * fabrics: Fix ordering for auto connect services (bsc#1208075) * json_discovery_log: avoid buffer overrun (bsc#1207435) * Fix connect nbft regressions (bsc#1209905) * Fix auto connect conditions (bsc#1210105) * Fix auto boot for NBFT connections (bsc#1211647) * fabrics: Honor JSON config file in connect-all command (bsc#1199504) * udev: Add HOST_IFACE to udev rule (bsc#1208001) * fabrics: Remove dhchap-ctrl-secret from discover/connect-all (bsc#1201701) OBS-URL: https://build.opensuse.org/request/show/1116606 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=144
2023-10-10 09:41:58 +02:00
%{_unitdir}/nvmf-connect@.service
%dir %{_sysconfdir}/nvme/
%ghost %{_sysconfdir}/nvme/hostnqn
%ghost %{_sysconfdir}/nvme/hostid
%ghost %{_sysconfdir}/nvme/discovery.conf
%files -n nvme-cli-regress-script
%{_sbindir}/nvme-regress
%files bash-completion
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/nvme
%files zsh-completion
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_nvme
%changelog