2 # Copyright (C) 2021 Jo-Philipp Wich <jo@mein.io>
5 include $(TOPDIR
)/rules.mk
8 PKG_RELEASE
:=$(AUTORELEASE
)
11 PKG_SOURCE_URL
=$(PROJECT_GIT
)/project
/firewall4.git
12 PKG_SOURCE_DATE
:=2022-01-06
13 PKG_SOURCE_VERSION
:=be5f4e33c6388935651e6a87c4e5348ade0bd714
14 PKG_MIRROR_HASH
:=771ca10763754772eb3c420612a109bf7bb1eab240835c74c8e87e198b2beb95
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 \
26 +kmod-nft-nat
+kmod-nft-nat6 \
28 +ucode
+ucode-mod-fs
+ucode-mod-ubus
+ucode-mod-uci
29 PROVIDES
:=uci-firewall
32 define Package
/firewall4
/description
33 This package provides an nftables-based implementation of the UCI firewall
34 sharing the same configuration format.
37 define Package
/firewall4
/conffiles
42 define Package
/firewall4
/install
43 $(CP
) -a
$(PKG_BUILD_DIR
)/root
/* $(1)/
49 $(eval
$(call BuildPackage
,firewall4
))