commit:     1a256c401b7fcd98ff536a4f01616aa8a1114eba
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 03:33:28 2026 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 03:41:12 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a256c40

sys-apps/systemd: remove iptables USE and configure option

It is now a no-op as the feature was removed in 259.0:
https://github.com/systemd/systemd/commit/114c4b95df49e194da3610a5f4a6bbeeddaddd0f

With meson's -Werror feature, it fails to build:
```
DEPRECATION: Option "libiptc" is deprecated

../systemd-259.3/meson.build:3:0: ERROR: Fatal warnings enabled, aborting

A full log can be found at 
/var/tmp/portage/sys-apps/systemd-259.3-r1/work/systemd-259.3-abi_x86_64.amd64/meson-logs/meson-log.txt
 * ERROR: sys-apps/systemd-259.3-r1::gentoo failed (configure phase):
```

Acked-by: Mike Gilbert <floppym <AT> gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sys-apps/systemd/{systemd-259.3-r1.ebuild => systemd-259.3-r2.ebuild} | 4 +---
 sys-apps/systemd/{systemd-259.4.ebuild => systemd-259.4-r1.ebuild}    | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/sys-apps/systemd/systemd-259.3-r1.ebuild 
b/sys-apps/systemd/systemd-259.3-r2.ebuild
similarity index 99%
rename from sys-apps/systemd/systemd-259.3-r1.ebuild
rename to sys-apps/systemd/systemd-259.3-r2.ebuild
index 9438aa392e86..7cfa9a473212 100644
--- a/sys-apps/systemd/systemd-259.3-r1.ebuild
+++ b/sys-apps/systemd/systemd-259.3-r2.ebuild
@@ -34,7 +34,7 @@ LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
 SLOT="0/2"
 IUSE="
        acl apparmor audit boot bpf cgroup-hybrid cryptsetup curl +dns-over-tls 
elfutils
-       fido2 +gcrypt gnutls homed http idn importd iptables +kernel-install 
+kmod
+       fido2 +gcrypt gnutls homed http idn importd +kernel-install +kmod
        +lz4 lzma +openssl pam passwdqc pcre pkcs11 policykit pwquality qrcode
        +resolvconf +seccomp selinux split-usr +sysv-utils test tpm ukify 
vanilla xkb +zstd
 "
@@ -79,7 +79,6 @@ COMMON_DEPEND="
        kmod? ( >=sys-apps/kmod-15:0= )
        lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] )
        lzma? ( >=app-arch/xz-utils-5.0.5-r1:0=[${MULTILIB_USEDEP}] )
-       iptables? ( net-firewall/iptables:0= )
        openssl? ( >=dev-libs/openssl-1.1.0:0= )
        pam? ( sys-libs/pam:=[${MULTILIB_USEDEP}] )
        passwdqc? ( sys-auth/passwdqc:0= )
@@ -347,7 +346,6 @@ multilib_src_configure() {
                $(meson_feature lz4)
                $(meson_feature lzma xz)
                $(meson_feature zstd)
-               $(meson_native_use_feature iptables libiptc)
                $(meson_native_use_feature openssl)
                $(meson_feature pam)
                $(meson_native_use_feature passwdqc)

diff --git a/sys-apps/systemd/systemd-259.4.ebuild 
b/sys-apps/systemd/systemd-259.4-r1.ebuild
similarity index 99%
rename from sys-apps/systemd/systemd-259.4.ebuild
rename to sys-apps/systemd/systemd-259.4-r1.ebuild
index c341de61f9ce..0d6c0e7ae67e 100644
--- a/sys-apps/systemd/systemd-259.4.ebuild
+++ b/sys-apps/systemd/systemd-259.4-r1.ebuild
@@ -34,7 +34,7 @@ LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
 SLOT="0/2"
 IUSE="
        acl apparmor audit boot bpf cgroup-hybrid cryptsetup curl +dns-over-tls 
elfutils
-       fido2 +gcrypt gnutls homed http idn importd iptables +kernel-install 
+kmod
+       fido2 +gcrypt gnutls homed http idn importd +kernel-install +kmod
        +lz4 lzma +openssl pam passwdqc pcre pkcs11 policykit pwquality qrcode
        +resolvconf +seccomp selinux split-usr +sysv-utils test tpm ukify 
vanilla xkb +zstd
 "
@@ -79,7 +79,6 @@ COMMON_DEPEND="
        kmod? ( >=sys-apps/kmod-15:0= )
        lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] )
        lzma? ( >=app-arch/xz-utils-5.0.5-r1:0=[${MULTILIB_USEDEP}] )
-       iptables? ( net-firewall/iptables:0= )
        openssl? ( >=dev-libs/openssl-1.1.0:0= )
        pam? ( sys-libs/pam:=[${MULTILIB_USEDEP}] )
        passwdqc? ( sys-auth/passwdqc:0= )
@@ -347,7 +346,6 @@ multilib_src_configure() {
                $(meson_feature lz4)
                $(meson_feature lzma xz)
                $(meson_feature zstd)
-               $(meson_native_use_feature iptables libiptc)
                $(meson_native_use_feature openssl)
                $(meson_feature pam)
                $(meson_native_use_feature passwdqc)

Reply via email to