systemd: remove iptables dependency

Since https://github.com/systemd/systemd/pull/17026 (v248 in 2020),
systemd can use nftables without any new dependency!

In 259, systemd plans to remove iptables suport altogether.
This commit is contained in:
nikstur
2025-08-08 22:37:17 +02:00
parent 5211a3ecb2
commit c70f154403
2 changed files with 1 additions and 4 deletions

View File

@@ -114,7 +114,6 @@
withHostnamed ? true,
withHwdb ? true,
withImportd ? !stdenv.hostPlatform.isMusl,
withIptables ? true,
withKmod ? true,
withLibBPF ?
lib.versionAtLeast buildPackages.llvmPackages.clang.version "10.0"
@@ -427,7 +426,6 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optional withKmod kmod
++ lib.optional withLibidn2 libidn2
++ lib.optional withLibseccomp libseccomp
++ lib.optional withIptables iptables
++ lib.optional withPam pam
++ lib.optional withPCRE2 pcre2
++ lib.optional withSelinux libselinux
@@ -566,7 +564,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.mesonEnable "libcurl" wantCurl)
(lib.mesonEnable "libidn" false)
(lib.mesonEnable "libidn2" withLibidn2)
(lib.mesonEnable "libiptc" withIptables)
(lib.mesonEnable "libiptc" false)
(lib.mesonEnable "repart" withRepart)
(lib.mesonEnable "sysupdate" withSysupdate)
(lib.mesonEnable "sysupdated" withSysupdate)

View File

@@ -11099,7 +11099,6 @@ with pkgs;
withHomed = false;
withHwdb = false;
withImportd = false;
withIptables = false;
withLibBPF = false;
withLibidn2 = false;
withLocaled = false;