Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nvme-cli for openSUSE:Factory checked in at 2026-11-13 20:12:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nvme-cli (Old) and /work/SRC/openSUSE:Factory/.nvme-cli.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nvme-cli" Fri Nov 13 20:12:32 2026 rev:93 rq:1396837 version:3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/nvme-cli/nvme-cli.changes 2026-09-19 22:20:33.937160656 +0200 +++ /work/SRC/openSUSE:Factory/.nvme-cli.new.1251/nvme-cli.changes 2026-11-13 20:12:47.789599286 +0100 @@ -1,0 +2,27 @@ +Tue Nov 10 20:16:00 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 3.2: + * nvme-discoverd is now built by default and replaces the legacy + autoconnect: discovery controllers stay connected + (--persistent=auto) and the host reacts to discovery AENs; + mDNS discovery is optional. + * Stricter command line: long options need two dashes and their + full name, numbers are parsed strictly and every command + checks its operand. + * Register commands reworked: show-regs, get-reg and set-reg use + the specification register names with one JSON shape. + * Security hardening: fix a root command injection in the WDC + and SanDisk plugins, path traversal, format string and many + out-of-bounds reads found by fuzzing; vendor plugins use + libarchive instead of spawning external tar/zip/dmesg. + * Many more fixes and improvements; see upstream's release notes + for the full list. +- Packaging: ship nvme-discoverd.service instead of the legacy + autoconnect units; new BuildRequires on libarchive and + libsystemd, upstream's minimum versions for json-c and openssl; + man pages ship pre-generated, doc tools dropped; mDNS discovery + only where libsystemd is at least 258; spec-cleaner. +- Skip the test suite on ppc64le, where the new sandbox-util + tests fail with no upstream fix; it runs on all other arches. + +------------------------------------------------------------------- Old: ---- nvme-cli-3.1.obscpio New: ---- nvme-cli-3.2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nvme-cli.spec ++++++ --- /var/tmp/diff_new_pack.WvyWZ4/_old 2026-11-13 20:12:49.184658338 +0100 +++ /var/tmp/diff_new_pack.WvyWZ4/_new 2026-11-13 20:12:49.188658507 +0100 @@ -17,39 +17,32 @@ %bcond_without check - Name: nvme-cli -Version: 3.1 +Version: 3.2 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 -BuildRequires: asciidoc -BuildRequires: dbus-1-devel BuildRequires: fdupes BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: keyutils-devel -BuildRequires: libjson-c-devel -BuildRequires: libjson-c-devel -BuildRequires: libkmod-devel BuildRequires: meson -BuildRequires: openssl-devel BuildRequires: pkgconfig -BuildRequires: python3-Sphinx -BuildRequires: python3-devel BuildRequires: swig BuildRequires: systemd-rpm-macros -BuildRequires: xmlto -BuildRequires: zlib-devel BuildRequires: pkgconfig(bash-completion) +BuildRequires: pkgconfig(json-c) >= 0.13 +BuildRequires: pkgconfig(libarchive) +BuildRequires: pkgconfig(libkeyutils) +BuildRequires: pkgconfig(libkmod) +BuildRequires: pkgconfig(libsystemd) >= 253 BuildRequires: pkgconfig(libudev) - +BuildRequires: pkgconfig(openssl) >= 3.0.0 +BuildRequires: pkgconfig(python3) +BuildRequires: pkgconfig(zlib) # nvme-cli API for NBFT support. Provides: nvmeof-boot-support = 0.1 - %systemd_ordering %description @@ -59,7 +52,7 @@ %package -n nvme-cli-regress-script Summary: A small script to test the nvme binary for regressions -Group: Hardware/Other +License: GPL-2.0-only Requires: nvme-cli BuildArch: noarch @@ -69,7 +62,7 @@ %package bash-completion Summary: NVM Express user space tools bash completion -Group: System/Shells +License: GPL-2.0-only Requires: %{name} = %{version} Requires: bash-completion Supplements: (nvme-cli and bash-completion) @@ -80,7 +73,7 @@ %package zsh-completion Summary: NVM Express user space tools zsh completion -Group: System/Shells +License: GPL-2.0-only Requires: %{name} = %{version} Requires: zsh Supplements: (nvme-cli and zsh) @@ -122,53 +115,52 @@ %build export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} +# kmip needs the unbuilt nvme-keysd daemon, legacy autoconnect is +# superseded by nvme-discoverd (auto would fail/build both); probe the +# build root for mDNS (libsystemd >= 258, SLE/Leap 16 ship 257). %meson \ -Dudevrulesdir=%{_udevrulesdir} \ -Ddracutrulesdir=%{_sysconfdir}/dracut/dracut.conf.d \ -Dsystemddir=%{_unitdir} \ -Ddocs=man \ - -Ddocs-build=true \ + -Dkmip=disabled \ + -Dnvmf-autoconnect=disabled \ + -Dmdns=$(if pkg-config --atleast-version=258 libsystemd 2>/dev/null; then echo enabled; else echo disabled; fi) \ -Dsystemctl=%{_bindir}/systemctl \ -Dversion-tag=%{version} %meson_build %if %{with check} %check +# sandbox-util tests are new in 3.2 and fail only on ppc64le (3.1 passes +# there); upstream has no fix and the ioctl numbers match, so skip tests. +%ifnarch ppc64le %meson_test %endif +%endif %install %meson_install -# Move nvme-fabrics.conf.sample to build directory to package as %doc +# Move samples to the build directory to ship them as documentation mv %{buildroot}%{_sysconfdir}/nvme/nvme-fabrics.conf.sample . +mv %{buildroot}%{_sysconfdir}/nvme/nvme-discoverd.conf.sample . 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: install -m 744 -D scripts/regress %{buildroot}%{_sbindir}/nvme-regress -%if 0%{?suse_version} < 1600 -mkdir -p %{buildroot}%{_sbindir} -pushd %{buildroot}%{_sbindir} -ln -s service rcnvmefc-boot-connections -ln -s service rcnvmf-autoconnect -ln -s service rcnvmf-connect -ln -s service rcnvmf-connect-nbft -popd -%endif - # 1. Manually compress man pages using '-n' to remove distinct timestamps/headers find %{buildroot}%{_mandir} -type f -name '*.[1-9]' -exec gzip -n -9 {} + # 2. Run fdupes on the entire buildroot to catch the identical .gz files %fdupes -s %{buildroot} -%define services nvmefc-boot-connections.service nvmf-autoconnect.service nvmf-connect.target nvmf-connect-nbft.service +%define services nvme-discoverd.service %pre -%service_add_pre %{services} [email protected] +%service_add_pre %{services} %post if [ ! -e /.buildenv ] && [ ! -e /image/config.xml ]; then @@ -183,7 +175,7 @@ else %{_bindir}/echo "Build environment detected, not generating host NQN." fi -%service_add_post %{services} [email protected] +%service_add_post %{services} %preun %service_del_preun %{services} @@ -201,38 +193,25 @@ rm -r %{_datadir}/bash-completion/completions/nvme; fi -%post -n libnvme3-1 -p /sbin/ldconfig - -%postun -n libnvme3-1 -p /sbin/ldconfig +%ldconfig_scriptlets -n libnvme3-1 %files %license LICENSE %doc README.md %doc nvme-fabrics.conf.sample +%doc nvme-discoverd.conf.sample %{_sbindir}/nvme -%if 0%{?suse_version} < 1600 -%{_sbindir}/rcnvmefc-boot-connections -%{_sbindir}/rcnvmf-autoconnect -%{_sbindir}/rcnvmf-connect -%{_sbindir}/rcnvmf-connect-nbft -%endif +%{_sbindir}/nvme-discoverd %{_mandir}/man1/nvme*.1*%{?ext_man} %{_mandir}/man5/nvme*.5*%{?ext_man} +%{_mandir}/man8/nvme-discoverd.8*%{?ext_man} %{_udevrulesdir}/65-persistent-net-nbft.rules %{_udevrulesdir}/70-nvmf-keys.rules -%{_udevrulesdir}/70-nvmf-autoconnect.rules %{_udevrulesdir}/70-nvmf-registry.rules %{_udevrulesdir}/71-nvmf-hpe.rules %{_udevrulesdir}/71-nvmf-netapp.rules %{_udevrulesdir}/71-nvmf-vastdata.rules -%{_unitdir}/nvmefc-boot-connections.service -%{_unitdir}/nvmf-autoconnect.service -%{_unitdir}/nvmf-connect-nbft.service -%{_unitdir}/nvmf-connect.target -%{_unitdir}/[email protected] -%dir %{_prefix}/lib/NetworkManager -%dir %{_prefix}/lib/NetworkManager/dispatcher.d -%{_prefix}/lib/NetworkManager/dispatcher.d/80-nvmf-connect-nbft.sh +%{_unitdir}/nvme-discoverd.service %dir %{_sysconfdir}/nvme/ %ghost %{_sysconfdir}/nvme/hostnqn %ghost %{_sysconfdir}/nvme/hostid ++++++ _service ++++++ --- /var/tmp/diff_new_pack.WvyWZ4/_old 2026-11-13 20:12:49.239660666 +0100 +++ /var/tmp/diff_new_pack.WvyWZ4/_new 2026-11-13 20:12:49.244660878 +0100 @@ -4,7 +4,7 @@ <param name="url">https://github.com/linux-nvme/nvme-cli.git</param> <param name="filename">nvme-cli</param> <param name="versionformat">@PARENT_TAG@+@[email protected]%h</param> - <param name="revision">v3.1</param> + <param name="revision">v3.2</param> <param name="versionrewrite-pattern">v([^+]*)(\+0.*$)?(\+[1-9].*$)?</param> <param name="versionrewrite-replacement">\1\3</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.WvyWZ4/_old 2026-11-13 20:12:49.279662360 +0100 +++ /var/tmp/diff_new_pack.WvyWZ4/_new 2026-11-13 20:12:49.283662529 +0100 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/linux-nvme/nvme-cli.git</param> - <param name="changesrevision">f73ecd53751cd74bc8e46b60c973ea63edf41403</param> + <param name="changesrevision">ce55132af26607e1904a0f449f94eeae028cfee5</param> </service> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/nvme-cli.git</param> ++++++ nvme-cli-3.1.obscpio -> nvme-cli-3.2.obscpio ++++++ ++++ 321559 lines of diff (skipped) ++++++ nvme-cli.obsinfo ++++++ --- /var/tmp/diff_new_pack.WvyWZ4/_old 2026-11-13 20:12:51.113739996 +0100 +++ /var/tmp/diff_new_pack.WvyWZ4/_new 2026-11-13 20:12:51.116740123 +0100 @@ -1,5 +1,5 @@ name: nvme-cli -version: 3.1 -mtime: 1789726662 -commit: f73ecd53751cd74bc8e46b60c973ea63edf41403 +version: 3.2 +mtime: 1793385111 +commit: ce55132af26607e1904a0f449f94eeae028cfee5
