Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kismet for openSUSE:Factory checked 
in at 2022-06-27 11:25:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kismet (Old)
 and      /work/SRC/openSUSE:Factory/.kismet.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kismet"

Mon Jun 27 11:25:47 2022 rev:54 rq:985223 version:2022_02_R1

Changes:
--------
--- /work/SRC/openSUSE:Factory/kismet/kismet.changes    2022-03-04 
00:19:11.212304785 +0100
+++ /work/SRC/openSUSE:Factory/.kismet.new.1548/kismet.changes  2022-06-27 
11:25:51.710617330 +0200
@@ -1,0 +2,8 @@
+Tue Jun 21 15:53:44 UTC 2022 - Martin Hauke <[email protected]>
+
+- Add missing Requires: python-websockets
+- Use setcap (group kismet) for the capture binaries
+  * kismet_cap_linux_wifi
+  * kismet_cap_linux_bluetooth
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kismet.spec ++++++
--- /var/tmp/diff_new_pack.0pOA6S/_old  2022-06-27 11:25:53.126619427 +0200
+++ /var/tmp/diff_new_pack.0pOA6S/_new  2022-06-27 11:25:53.134619438 +0200
@@ -69,6 +69,9 @@
 Recommends:     kismet-capture-sdr-rtlamr
 Recommends:     kismet-capture-ti-cc2540
 Recommends:     kismet-logtools
+Requires(pre):  permissions
+Requires(pre):  shadow
+Provides:       group(kismet)
 %if 0%{with ubertooth}
 Recommends:     kismet-capture-ubertooth-one
 %endif
@@ -122,6 +125,7 @@
 Summary:        Kismet SDR rtl433 capture helper
 Group:          Productivity/Networking/Diagnostic
 Requires:       python3-protobuf >= 3.0.0
+Requires:       python3-websockets
 Requires:       rtl_433
 
 %description capture-sdr-rtl433
@@ -136,6 +140,7 @@
 Group:          Productivity/Networking/Diagnostic
 Requires:       python3-numpy
 Requires:       python3-protobuf >= 3.0.0
+Requires:       python3-websockets
 Recommends:     rtl_amr
 
 %description capture-sdr-rtlamr
@@ -150,6 +155,7 @@
 Group:          Productivity/Networking/Diagnostic
 Requires:       python3-numpy
 Requires:       python3-protobuf >= 3.0.0
+Requires:       python3-websockets
 Requires:       rtl-sdr
 
 %description capture-sdr-rtladsb
@@ -316,12 +322,20 @@
 
 %pre
 %service_add_pre %{name}.service
+getent group kismet >/dev/null || groupadd -r kismet
+
+%verifyscript
+%verify_permissions -e %{_bindir}/kismet_cap_linux_bluetooth
+%verify_permissions -e %{_bindir}/kismet_cap_linux_wifi
 
 %preun
 %service_del_preun %{name}.service
 
 %post
 %service_add_post %{name}.service
+%set_permissions %{_bindir}/kismet_cap_linux_bluetooth
+%set_permissions %{_bindir}/kismet_cap_linux_wifi
+exit 0
 
 %postun
 %service_del_postun %{name}.service
@@ -364,10 +378,10 @@
 %{_bindir}/kismetdb_to_wiglecsv
 
 %files capture-linux-bluetooth
-%{_bindir}/kismet_cap_linux_bluetooth
+%verify(not mode caps) %attr(0750,root,kismet) 
%caps(cap_net_raw,cap_net_admin=ep) %{_bindir}/kismet_cap_linux_bluetooth
 
 %files capture-linux-wifi
-%{_bindir}/kismet_cap_linux_wifi
+%verify(not mode caps) %attr(0750,root,kismet) 
%caps(cap_net_raw,cap_net_admin=ep) %{_bindir}/kismet_cap_linux_wifi
 
 %files capture-nrf-mousejack
 %{_bindir}/kismet_cap_nrf_mousejack

Reply via email to