]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Revert "nftables: New package"
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 18 Jan 2026 12:23:33 +0000 (12:23 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 18 Jan 2026 12:26:48 +0000 (12:26 +0000)
This reverts commit 837aa9472b727a49fa8927223f211b2044640060.

We cannot migrate to nftables, yet, as collectd does not support it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/nftables [deleted file]
lfs/nftables [deleted file]
make.sh

diff --git a/config/rootfiles/common/nftables b/config/rootfiles/common/nftables
deleted file mode 100644 (file)
index cb8a5bb..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#etc/nftables
-#etc/nftables/osf
-etc/nftables/osf/pf.os
-#usr/include/nftables
-#usr/include/nftables/libnftables.h
-#usr/lib/libnftables.la
-#usr/lib/libnftables.so
-usr/lib/libnftables.so.1
-usr/lib/libnftables.so.1.1.0
-#usr/lib/pkgconfig/libnftables.pc
-usr/sbin/nft
-#usr/share/doc/nftables
-#usr/share/doc/nftables/examples
-#usr/share/doc/nftables/examples/ct_helpers.nft
-#usr/share/doc/nftables/examples/load_balancing.nft
-#usr/share/doc/nftables/examples/secmark.nft
-#usr/share/doc/nftables/examples/sets_and_maps.nft
-#usr/share/doc/nftables/main.nft
-#usr/share/man/man3/libnftables.3
-#usr/share/man/man5/libnftables-json.5
-#usr/share/man/man8/nft.8
-#usr/share/man/man8/nftables.service.8
-#usr/share/nftables
-#usr/share/nftables/all-in-one.nft
-#usr/share/nftables/arp-filter.nft
-#usr/share/nftables/bridge-filter.nft
-#usr/share/nftables/inet-filter.nft
-#usr/share/nftables/inet-nat.nft
-#usr/share/nftables/ipv4-filter.nft
-#usr/share/nftables/ipv4-mangle.nft
-#usr/share/nftables/ipv4-nat.nft
-#usr/share/nftables/ipv4-raw.nft
-#usr/share/nftables/ipv6-filter.nft
-#usr/share/nftables/ipv6-mangle.nft
-#usr/share/nftables/ipv6-nat.nft
-#usr/share/nftables/ipv6-raw.nft
-#usr/share/nftables/netdev-ingress.nft
diff --git a/lfs/nftables b/lfs/nftables
deleted file mode 100644 (file)
index f2d37b8..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-VER        = 1.1.5
-
-THISAPP    = nftables-$(VER)
-DL_FILE    = $(THISAPP).tar.xz
-DL_FROM    = $(URL_IPFIRE)
-DIR_APP    = $(DIR_SRC)/$(THISAPP)
-TARGET     = $(DIR_INFO)/$(THISAPP)
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-
-$(DL_FILE)_BLAKE2 = 4c391e316f5c04cffe16a64df60217d74e37ab4f87c614003e2d2f702b8a4fe81c2ca7f42b3429e948078b2b0ecf0ad61b8cc2f7b95384fff9c004bcc3837317
-
-install : $(TARGET)
-
-check : $(patsubst %,$(DIR_CHK)/%,$(objects))
-
-download :$(patsubst %,$(DIR_DL)/%,$(objects))
-
-b2 : $(subst %,%_BLAKE2,$(objects))
-
-###############################################################################
-# Downloading, checking, b2sum
-###############################################################################
-
-$(patsubst %,$(DIR_CHK)/%,$(objects)) :
-       @$(CHECK)
-
-$(patsubst %,$(DIR_DL)/%,$(objects)) :
-       @$(LOAD)
-
-$(subst %,%_BLAKE2,$(objects)) :
-       @$(B2SUM)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
-       @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && \
-               ./configure \
-                       --prefix=/usr \
-                       --sysconfdir=/etc \
-                       --without-xtables \
-                       --with-json
-       cd $(DIR_APP) && make $(MAKETUNING)
-       cd $(DIR_APP) && make install
-       @rm -rf $(DIR_APP)
-       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 433bd70f787d1eeb1afb35753f08e8a8d209e59d..c3454921389516c75f9af43a92d06983e2d9fbe4 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1551,7 +1551,6 @@ build_system() {
        lfsmake2 libnetfilter_cthelper
        lfsmake2 libnetfilter_cttimeout
        lfsmake2 libnftnl
-       lfsmake2 nftables
        lfsmake2 iptables
        lfsmake2 iproute2
        lfsmake2 screen