commit nvmetcli for openSUSE:Factory

2024-03-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nvmetcli for openSUSE:Factory 
checked in at 2024-03-11 15:34:37

Comparing /work/SRC/openSUSE:Factory/nvmetcli (Old)
 and  /work/SRC/openSUSE:Factory/.nvmetcli.new.1770 (New)


Package is "nvmetcli"

Mon Mar 11 15:34:37 2024 rev:17 rq:1156861 version:0.8

Changes:

--- /work/SRC/openSUSE:Factory/nvmetcli/nvmetcli.changes2024-03-01 
23:37:44.214083772 +0100
+++ /work/SRC/openSUSE:Factory/.nvmetcli.new.1770/nvmetcli.changes  
2024-03-11 15:42:16.456852486 +0100
@@ -1,0 +2,6 @@
+Sun Mar 10 22:58:35 UTC 2024 - Steve Kowalik 
+
+- Migrate from kmod to kmodpy -- both are supported, kmodpy is now
+  packaged. 
+
+---



Other differences:
--
++ nvmetcli.spec ++
--- /var/tmp/diff_new_pack.DM3UnO/_old  2024-03-11 15:42:16.900868852 +0100
+++ /var/tmp/diff_new_pack.DM3UnO/_new  2024-03-11 15:42:16.904869000 +0100
@@ -33,7 +33,7 @@
 BuildRequires:  python3-setuptools
 BuildRequires:  python3-wheel
 Requires:   python3-configshell-fb
-Requires:   python3-kmod
+Requires:   python3-kmodpy
 Requires(post): systemd
 Requires(postun): systemd
 Requires(preun): systemd


commit nvmetcli for openSUSE:Factory

2024-03-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nvmetcli for openSUSE:Factory 
checked in at 2024-03-01 23:37:43

Comparing /work/SRC/openSUSE:Factory/nvmetcli (Old)
 and  /work/SRC/openSUSE:Factory/.nvmetcli.new.1770 (New)


Package is "nvmetcli"

Fri Mar  1 23:37:43 2024 rev:16 rq:1153869 version:0.8

Changes:

--- /work/SRC/openSUSE:Factory/nvmetcli/nvmetcli.changes2023-12-11 
21:51:21.065306262 +0100
+++ /work/SRC/openSUSE:Factory/.nvmetcli.new.1770/nvmetcli.changes  
2024-03-01 23:37:44.214083772 +0100
@@ -1,0 +2,5 @@
+Tue Feb 27 22:17:04 UTC 2024 - Jaime Marquínez Ferrándiz 

+
+- Add dependency on setuptools
+
+---



Other differences:
--
++ nvmetcli.spec ++
--- /var/tmp/diff_new_pack.xNKwd9/_old  2024-03-01 23:37:44.782104311 +0100
+++ /var/tmp/diff_new_pack.xNKwd9/_new  2024-03-01 23:37:44.786104456 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nvmetcli
 #
-# Copyright (c) 2023 SUSE LLC
+# 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
@@ -30,12 +30,13 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-pip
 BuildRequires:  python3-rpm-macros
+BuildRequires:  python3-setuptools
 BuildRequires:  python3-wheel
 Requires:   python3-configshell-fb
 Requires:   python3-kmod
 Requires(post): systemd
-Requires(postun):systemd
-Requires(preun):systemd
+Requires(postun): systemd
+Requires(preun): systemd
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 


commit nvmetcli for openSUSE:Factory

2023-12-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nvmetcli for openSUSE:Factory 
checked in at 2023-12-11 21:51:12

Comparing /work/SRC/openSUSE:Factory/nvmetcli (Old)
 and  /work/SRC/openSUSE:Factory/.nvmetcli.new.25432 (New)


Package is "nvmetcli"

Mon Dec 11 21:51:12 2023 rev:15 rq:1132420 version:0.8

Changes:

--- /work/SRC/openSUSE:Factory/nvmetcli/nvmetcli.changes2023-12-06 
23:47:02.572644026 +0100
+++ /work/SRC/openSUSE:Factory/.nvmetcli.new.25432/nvmetcli.changes 
2023-12-11 21:51:21.065306262 +0100
@@ -1,0 +2,10 @@
+Mon Dec 11 07:24:26 UTC 2023 - Daniel Wagner 
+
+- update old changelog entry so it mention that a patch has been removed
+
+---
+Fri Dec  8 15:17:30 UTC 2023 - Daniel Wagner 
+
+- add old changelog entry to changelog
+
+---
@@ -27,0 +38 @@
+- remove nvmetcli-ANA-configuration-support.patch
@@ -54,0 +66,6 @@
+
+---
+Fri Mar 29 12:45:17 CET 2019 - h...@suse.de
+
+- Add ANA support (bsc#1130981)
+  * nvmetcli-ANA-configuration-support.patch



Other differences:
--


commit nvmetcli for openSUSE:Factory

2023-12-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nvmetcli for openSUSE:Factory 
checked in at 2023-12-06 23:47:00

Comparing /work/SRC/openSUSE:Factory/nvmetcli (Old)
 and  /work/SRC/openSUSE:Factory/.nvmetcli.new.25432 (New)


Package is "nvmetcli"

Wed Dec  6 23:47:00 2023 rev:14 rq:1130991 version:0.8

Changes:

--- /work/SRC/openSUSE:Factory/nvmetcli/nvmetcli.changes2023-11-28 
22:20:16.347704763 +0100
+++ /work/SRC/openSUSE:Factory/.nvmetcli.new.25432/nvmetcli.changes 
2023-12-06 23:47:02.572644026 +0100
@@ -1,0 +2,5 @@
+Tue Dec  5 13:45:44 UTC 2023 - Daniel Wagner 
+
+- fix build on SLE15 code streams
+
+---



Other differences:
--
++ nvmetcli.spec ++
--- /var/tmp/diff_new_pack.y9NgTw/_old  2023-12-06 23:47:03.376673667 +0100
+++ /var/tmp/diff_new_pack.y9NgTw/_new  2023-12-06 23:47:03.380673814 +0100
@@ -55,7 +55,11 @@
 %python3_pyproject_install
 mkdir -p %{buildroot}%{_sysconfdir}/nvmet
 mkdir -p %{buildroot}%{_prefix}/sbin
-mv %{buildroot}%{_bindir}/nvmetcli %{buildroot}%{_sbindir}
+%if 0%{?suse_version} <= 1500
+  install -m 755 nvmetcli %{buildroot}%{_sbindir}/nvmetcli
+%else
+  mv %{buildroot}%{_bindir}/nvmetcli %{buildroot}%{_sbindir}
+%endif
 mkdir -p %{buildroot}%{_prefix}/usr/sbin
 ln -s /usr/sbin/service %{buildroot}/usr/sbin/rcnvmet
 mkdir -p %{buildroot}%{_unitdir}


commit nvmetcli for openSUSE:Factory

2022-12-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nvmetcli for openSUSE:Factory 
checked in at 2022-12-03 15:22:40

Comparing /work/SRC/openSUSE:Factory/nvmetcli (Old)
 and  /work/SRC/openSUSE:Factory/.nvmetcli.new.1835 (New)


Package is "nvmetcli"

Sat Dec  3 15:22:40 2022 rev:11 rq:1039820 version:0.7

Changes:

--- /work/SRC/openSUSE:Factory/nvmetcli/nvmetcli.changes2020-03-31 
17:16:04.759659379 +0200
+++ /work/SRC/openSUSE:Factory/.nvmetcli.new.1835/nvmetcli.changes  
2022-12-03 15:22:41.888038613 +0100
@@ -1,0 +2,6 @@
+Fri Nov 25 11:39:56 UTC 2022 - Johannes Segitz 
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_nvmet.service.patch
+
+---

New:

  harden_nvmet.service.patch



Other differences:
--
++ nvmetcli.spec ++
--- /var/tmp/diff_new_pack.yYOhPN/_old  2022-12-03 15:22:42.676043180 +0100
+++ /var/tmp/diff_new_pack.yYOhPN/_new  2022-12-03 15:22:42.680043203 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nvmetcli
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,17 +22,18 @@
 Summary:Command line interface for the kernel NVMe nvmet
 License:Apache-2.0
 Group:  System/Management
-Url:http://git.infradead.org/users/hch/nvmetcli.git
+URL:http://git.infradead.org/users/hch/nvmetcli.git
 Source: nvmetcli-v%{version}.tar.gz
 Patch1: %{name}-update-python-to-python3.patch
 Patch2: 0001-nvmetcli-don-t-remove-ANA-Group-1-on-clear.patch
+Patch3: harden_nvmet.service.patch
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
 Requires:   python3-configshell-fb
 Requires:   python3-kmod
 Requires(post): systemd
-Requires(postun): systemd
-Requires(preun): systemd
+Requires(postun):systemd
+Requires(preun):systemd
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
@@ -46,6 +47,7 @@
 %setup -q -n nvmetcli-v%{version}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 python3 setup.py build

++ harden_nvmet.service.patch ++
Index: nvmetcli-v0.7/nvmet.service
===
--- nvmetcli-v0.7.orig/nvmet.service
+++ nvmetcli-v0.7/nvmet.service
@@ -4,6 +4,16 @@ Requires=sys-kernel-config.mount
 After=sys-kernel-config.mount network.target local-fs.target
 
 [Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions 
 Type=oneshot
 RemainAfterExit=yes
 ExecStart=/usr/sbin/nvmetcli restore