2 # Copyright (C) 2021 Jo-Philipp Wich <jo@mein.io>
5 include $(TOPDIR
)/rules.mk
11 PKG_SOURCE_URL
=$(PROJECT_GIT
)/project
/firewall4.git
12 PKG_SOURCE_DATE
:=2023-09-01
13 PKG_SOURCE_VERSION
:=598d9fbb5179667aa0c525040eaa41bc7f2dc015
14 PKG_MIRROR_HASH
:=038b5b5611425e3c0fcc3ef4a0aea37296733300766d787909a689d16d4f39b4
15 PKG_MAINTAINER
:=Jo-Philipp Wich
<jo@mein.io
>
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/firewall4
23 TITLE
:=OpenWrt
4th gen firewall
25 +kmod-nft-core
+kmod-nft-fib
+kmod-nft-offload \
28 +ucode
+ucode-mod-fs
+ucode-mod-ubus
+ucode-mod-uci
29 EXTRA_DEPENDS
:=ucode
(>= 2022-03-22)
30 PROVIDES
:=uci-firewall
33 define Package
/firewall4
/description
34 This package provides an nftables-based implementation of the UCI firewall
35 sharing the same configuration format.
38 define Package
/firewall4
/conffiles
43 define Package
/firewall4
/install
44 $(CP
) -a
$(PKG_BUILD_DIR
)/root
/* $(1)/
50 $(eval
$(call BuildPackage
,firewall4
))