Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package netavark for openSUSE:Factory 
checked in at 2024-11-29 00:08:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netavark (Old)
 and      /work/SRC/openSUSE:Factory/.netavark.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netavark"

Fri Nov 29 00:08:44 2024 rev:15 rq:1227107 version:1.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/netavark/netavark.changes        2024-10-31 
16:08:38.469245468 +0100
+++ /work/SRC/openSUSE:Factory/.netavark.new.28523/netavark.changes     
2024-11-29 00:08:52.889429226 +0100
@@ -1,0 +2,12 @@
+Wed Nov 27 19:17:10 UTC 2024 - Alexandre Vicenzi <[email protected]>
+
+- Fix source definition for netavark-iptables.conf and netavark-nftables.conf
+
+-------------------------------------------------------------------
+Fri Nov  1 09:58:34 UTC 2024 - Alexandre Vicenzi <[email protected]>
+
+- Set default firewall driver based on the project configuration (bsc#1231424)
+  * Require correct dependencies
+  * Add netavark-iptables.conf and netavark-nftables.conf
+
+-------------------------------------------------------------------

New:
----
  netavark-iptables.conf
  netavark-nftables.conf

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

Other differences:
------------------
++++++ netavark.spec ++++++
--- /var/tmp/diff_new_pack.GVcf9D/_old  2024-11-29 00:08:54.813509688 +0100
+++ /var/tmp/diff_new_pack.GVcf9D/_new  2024-11-29 00:08:54.829510357 +0100
@@ -26,6 +26,8 @@
 URL:            https://github.com/containers/%{name}
 Source0:        %{name}-%{version}.tar.gz
 Source1:        vendor.tar.gz
+Source2:        netavark-iptables.conf
+Source3:        netavark-nftables.conf
 BuildRequires:  cargo-packaging
 BuildRequires:  go-md2man
 BuildRequires:  protobuf-devel
@@ -34,6 +36,7 @@
 # aardvark-dns and %%{name} are usually released in sync
 Requires:       aardvark-dns >= %{major_minor}
 # Provides: container-network-stack = 2
+Requires:       %{?default_firewall_backend}
 
 %description
 Netavark is a rust based network stack for containers. It is being
@@ -56,7 +59,7 @@
 %autosetup -a1
 
 %build
-cargo build --release
+NETAVARK_DEFAULT_FW=%{?default_firewall_backend} cargo build --release
 mkdir -p bin
 cp target/release/%{name} bin/
 
@@ -66,6 +69,8 @@
 %install
 %make_install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBEXECDIR=%{_libexecdir}
 
+install -D -m 0644 ${RPM_SOURCE_DIR}/netavark-%{default_firewall_backend}.conf 
%{buildroot}%{_prefix}/lib/modules-load.d/netavark-%{default_firewall_backend}.conf
+
 %files
 %license LICENSE
 %dir %{_libexecdir}/podman
@@ -74,6 +79,8 @@
 %{_unitdir}/%{name}-dhcp-proxy.service
 %{_unitdir}/%{name}-dhcp-proxy.socket
 %{_unitdir}/%{name}-firewalld-reload.service
+%dir %{_prefix}/lib/modules-load.d
+%{_prefix}/lib/modules-load.d/netavark-%{?default_firewall_backend}.conf
 
 %pre
 %service_add_pre %{name}-dhcp-proxy.service %{name}-dhcp-proxy.socket 
%{name}-firewalld-reload.service

++++++ netavark-iptables.conf ++++++
# A rootless user has no permsissions to load kernel modules.
# If iptables is using nftables as a backend this might not be needed.
ip_tables
ip6_tables

++++++ netavark-nftables.conf ++++++
# A rootless user has no permsissions to load kernel modules.
nf_tables

Reply via email to